Annotation of linux/kernel/Makefile, revision 1.1.1.11

1.1       root        1: #
1.1.1.5   root        2: # Makefile for the linux kernel.
1.1       root        3: #
                      4: # Note! Dependencies are done automagically by 'make dep', which also
                      5: # removes any old dependencies. DON'T put your own dependencies here
                      6: # unless it's something special (ie not a .c file).
                      7: #
1.1.1.6   root        8: # Note 2! The CFLAGS definitions are now in the main makefile...
1.1.1.5   root        9: 
1.1.1.7   root       10: .S.s:
                     11:        $(CPP) -traditional $< -o $*.s
1.1       root       12: .c.s:
1.1.1.9   root       13:        $(CC) $(CFLAGS) -S $<
1.1       root       14: .s.o:
                     15:        $(AS) -c -o $*.o $<
                     16: .c.o:
1.1.1.9   root       17:        $(CC) $(CFLAGS) -c $<
                     18: 
                     19: SUBDIRS        = chr_drv blk_drv math
1.1       root       20: 
1.1.1.10  root       21: OBJS  = sched.o sys_call.o traps.o irq.o fork.o \
1.1.1.2   root       22:        panic.o printk.o vsprintf.o sys.o exit.o \
1.1.1.8   root       23:        signal.o mktime.o ptrace.o ioport.o itimer.o
1.1       root       24: 
1.1.1.10  root       25: all: kernel.o kernelsubdirs
1.1.1.9   root       26: 
1.1       root       27: kernel.o: $(OBJS)
                     28:        $(LD) -r -o kernel.o $(OBJS)
                     29:        sync
                     30: 
1.1.1.10  root       31: kernelsubdirs: dummy
1.1.1.11! root       32:        @for i in $(SUBDIRS); do (cd $$i && echo $$i && $(MAKE)) || exit; done
1.1.1.9   root       33: 
1.1.1.7   root       34: sys_call.s: sys_call.S
                     35: 
                     36: sys_call.o: sys_call.s
                     37: 
1.1.1.6   root       38: sched.o: sched.c
1.1.1.11! root       39:        $(CC) $(CFLAGS) $(PROFILING) -fno-omit-frame-pointer -c $<
1.1.1.6   root       40: 
1.1       root       41: clean:
1.1.1.7   root       42:        rm -f core *.o *.a tmp_make sys_call.s
1.1       root       43:        for i in *.c;do rm -f `basename $$i .c`.s;done
1.1.1.11! root       44:        for i in $(SUBDIRS); do (cd $$i && $(MAKE) clean); done
1.1       root       45: 
                     46: dep:
                     47:        sed '/\#\#\# Dependencies/q' < Makefile > tmp_make
1.1.1.11! root       48:        $(CPP) -M *.c >> tmp_make
1.1       root       49:        cp tmp_make Makefile
1.1.1.11! root       50:        for i in $(SUBDIRS); do (cd $$i && $(MAKE) dep) || exit; done
1.1.1.9   root       51: 
                     52: dummy:
1.1       root       53: 
                     54: ### Dependencies:
1.1.1.11! root       55: exit.o : exit.c /usr/include/linux/wait.h /usr/include/linux/limits.h /usr/include/linux/errno.h \
        !            56:   /usr/include/linux/signal.h /usr/include/linux/sched.h /usr/include/linux/head.h \
        !            57:   /usr/include/linux/fs.h /usr/include/linux/types.h /usr/include/linux/dirent.h \
        !            58:   /usr/include/linux/vfs.h /usr/include/linux/pipe_fs_i.h /usr/include/linux/minix_fs_i.h \
        !            59:   /usr/include/linux/ext_fs_i.h /usr/include/linux/msdos_fs_i.h /usr/include/linux/minix_fs_sb.h \
        !            60:   /usr/include/linux/ext_fs_sb.h /usr/include/linux/msdos_fs_sb.h /usr/include/linux/mm.h \
        !            61:   /usr/include/linux/kernel.h /usr/include/linux/time.h /usr/include/linux/param.h \
        !            62:   /usr/include/linux/resource.h /usr/include/linux/vm86.h /usr/include/linux/tty.h \
        !            63:   /usr/include/linux/termios.h /usr/include/asm/system.h /usr/include/asm/segment.h 
        !            64: fork.o : fork.c /usr/include/linux/errno.h /usr/include/linux/sched.h /usr/include/linux/head.h \
        !            65:   /usr/include/linux/fs.h /usr/include/linux/limits.h /usr/include/linux/wait.h \
        !            66:   /usr/include/linux/types.h /usr/include/linux/dirent.h /usr/include/linux/vfs.h \
        !            67:   /usr/include/linux/pipe_fs_i.h /usr/include/linux/minix_fs_i.h /usr/include/linux/ext_fs_i.h \
        !            68:   /usr/include/linux/msdos_fs_i.h /usr/include/linux/minix_fs_sb.h /usr/include/linux/ext_fs_sb.h \
        !            69:   /usr/include/linux/msdos_fs_sb.h /usr/include/linux/mm.h /usr/include/linux/kernel.h \
        !            70:   /usr/include/linux/signal.h /usr/include/linux/time.h /usr/include/linux/param.h \
        !            71:   /usr/include/linux/resource.h /usr/include/linux/vm86.h /usr/include/linux/stddef.h \
        !            72:   /usr/include/asm/segment.h /usr/include/asm/system.h 
        !            73: ioport.o : ioport.c /usr/include/linux/sched.h /usr/include/linux/head.h /usr/include/linux/fs.h \
        !            74:   /usr/include/linux/limits.h /usr/include/linux/wait.h /usr/include/linux/types.h \
        !            75:   /usr/include/linux/dirent.h /usr/include/linux/vfs.h /usr/include/linux/pipe_fs_i.h \
        !            76:   /usr/include/linux/minix_fs_i.h /usr/include/linux/ext_fs_i.h /usr/include/linux/msdos_fs_i.h \
        !            77:   /usr/include/linux/minix_fs_sb.h /usr/include/linux/ext_fs_sb.h /usr/include/linux/msdos_fs_sb.h \
        !            78:   /usr/include/linux/mm.h /usr/include/linux/kernel.h /usr/include/linux/signal.h \
        !            79:   /usr/include/linux/time.h /usr/include/linux/param.h /usr/include/linux/resource.h \
        !            80:   /usr/include/linux/vm86.h /usr/include/linux/errno.h 
        !            81: irq.o : irq.c /usr/include/linux/ptrace.h /usr/include/linux/errno.h /usr/include/linux/signal.h \
        !            82:   /usr/include/linux/sched.h /usr/include/linux/head.h /usr/include/linux/fs.h \
        !            83:   /usr/include/linux/limits.h /usr/include/linux/wait.h /usr/include/linux/types.h \
        !            84:   /usr/include/linux/dirent.h /usr/include/linux/vfs.h /usr/include/linux/pipe_fs_i.h \
        !            85:   /usr/include/linux/minix_fs_i.h /usr/include/linux/ext_fs_i.h /usr/include/linux/msdos_fs_i.h \
        !            86:   /usr/include/linux/minix_fs_sb.h /usr/include/linux/ext_fs_sb.h /usr/include/linux/msdos_fs_sb.h \
        !            87:   /usr/include/linux/mm.h /usr/include/linux/kernel.h /usr/include/linux/time.h \
        !            88:   /usr/include/linux/param.h /usr/include/linux/resource.h /usr/include/linux/vm86.h \
        !            89:   /usr/include/asm/system.h /usr/include/asm/io.h /usr/include/asm/irq.h 
        !            90: itimer.o : itimer.c /usr/include/linux/signal.h /usr/include/linux/sched.h /usr/include/linux/head.h \
        !            91:   /usr/include/linux/fs.h /usr/include/linux/limits.h /usr/include/linux/wait.h \
        !            92:   /usr/include/linux/types.h /usr/include/linux/dirent.h /usr/include/linux/vfs.h \
        !            93:   /usr/include/linux/pipe_fs_i.h /usr/include/linux/minix_fs_i.h /usr/include/linux/ext_fs_i.h \
        !            94:   /usr/include/linux/msdos_fs_i.h /usr/include/linux/minix_fs_sb.h /usr/include/linux/ext_fs_sb.h \
        !            95:   /usr/include/linux/msdos_fs_sb.h /usr/include/linux/mm.h /usr/include/linux/kernel.h \
        !            96:   /usr/include/linux/time.h /usr/include/linux/param.h /usr/include/linux/resource.h \
        !            97:   /usr/include/linux/vm86.h /usr/include/linux/string.h /usr/include/linux/errno.h \
        !            98:   /usr/include/asm/segment.h 
        !            99: mktime.o : mktime.c /usr/include/linux/mktime.h 
        !           100: panic.o : panic.c /usr/include/linux/kernel.h /usr/include/linux/sched.h /usr/include/linux/head.h \
        !           101:   /usr/include/linux/fs.h /usr/include/linux/limits.h /usr/include/linux/wait.h \
        !           102:   /usr/include/linux/types.h /usr/include/linux/dirent.h /usr/include/linux/vfs.h \
        !           103:   /usr/include/linux/pipe_fs_i.h /usr/include/linux/minix_fs_i.h /usr/include/linux/ext_fs_i.h \
        !           104:   /usr/include/linux/msdos_fs_i.h /usr/include/linux/minix_fs_sb.h /usr/include/linux/ext_fs_sb.h \
        !           105:   /usr/include/linux/msdos_fs_sb.h /usr/include/linux/mm.h /usr/include/linux/signal.h \
        !           106:   /usr/include/linux/time.h /usr/include/linux/param.h /usr/include/linux/resource.h \
        !           107:   /usr/include/linux/vm86.h 
        !           108: printk.o : printk.c /usr/lib/gcc-lib/i386-linux/2.2.2d/include/stdarg.h /usr/include/asm/segment.h \
        !           109:   /usr/include/asm/system.h /usr/include/linux/errno.h /usr/include/linux/sched.h \
        !           110:   /usr/include/linux/head.h /usr/include/linux/fs.h /usr/include/linux/limits.h \
        !           111:   /usr/include/linux/wait.h /usr/include/linux/types.h /usr/include/linux/dirent.h \
        !           112:   /usr/include/linux/vfs.h /usr/include/linux/pipe_fs_i.h /usr/include/linux/minix_fs_i.h \
        !           113:   /usr/include/linux/ext_fs_i.h /usr/include/linux/msdos_fs_i.h /usr/include/linux/minix_fs_sb.h \
        !           114:   /usr/include/linux/ext_fs_sb.h /usr/include/linux/msdos_fs_sb.h /usr/include/linux/mm.h \
        !           115:   /usr/include/linux/kernel.h /usr/include/linux/signal.h /usr/include/linux/time.h \
        !           116:   /usr/include/linux/param.h /usr/include/linux/resource.h /usr/include/linux/vm86.h 
        !           117: ptrace.o : ptrace.c /usr/include/linux/head.h /usr/include/linux/kernel.h /usr/include/linux/sched.h \
        !           118:   /usr/include/linux/fs.h /usr/include/linux/limits.h /usr/include/linux/wait.h \
        !           119:   /usr/include/linux/types.h /usr/include/linux/dirent.h /usr/include/linux/vfs.h \
        !           120:   /usr/include/linux/pipe_fs_i.h /usr/include/linux/minix_fs_i.h /usr/include/linux/ext_fs_i.h \
        !           121:   /usr/include/linux/msdos_fs_i.h /usr/include/linux/minix_fs_sb.h /usr/include/linux/ext_fs_sb.h \
        !           122:   /usr/include/linux/msdos_fs_sb.h /usr/include/linux/mm.h /usr/include/linux/signal.h \
        !           123:   /usr/include/linux/time.h /usr/include/linux/param.h /usr/include/linux/resource.h \
        !           124:   /usr/include/linux/vm86.h /usr/include/linux/errno.h /usr/include/linux/ptrace.h \
        !           125:   /usr/include/asm/segment.h /usr/include/asm/system.h 
        !           126: sched.o : sched.c /usr/include/linux/signal.h /usr/include/linux/sched.h /usr/include/linux/head.h \
        !           127:   /usr/include/linux/fs.h /usr/include/linux/limits.h /usr/include/linux/wait.h \
        !           128:   /usr/include/linux/types.h /usr/include/linux/dirent.h /usr/include/linux/vfs.h \
        !           129:   /usr/include/linux/pipe_fs_i.h /usr/include/linux/minix_fs_i.h /usr/include/linux/ext_fs_i.h \
        !           130:   /usr/include/linux/msdos_fs_i.h /usr/include/linux/minix_fs_sb.h /usr/include/linux/ext_fs_sb.h \
        !           131:   /usr/include/linux/msdos_fs_sb.h /usr/include/linux/mm.h /usr/include/linux/kernel.h \
        !           132:   /usr/include/linux/time.h /usr/include/linux/param.h /usr/include/linux/resource.h \
        !           133:   /usr/include/linux/vm86.h /usr/include/linux/timer.h /usr/include/linux/sys.h \
        !           134:   /usr/include/linux/fdreg.h /usr/include/linux/errno.h /usr/include/linux/ptrace.h \
        !           135:   /usr/include/asm/system.h /usr/include/asm/io.h /usr/include/asm/segment.h 
        !           136: signal.o : signal.c /usr/include/linux/sched.h /usr/include/linux/head.h /usr/include/linux/fs.h \
        !           137:   /usr/include/linux/limits.h /usr/include/linux/wait.h /usr/include/linux/types.h \
        !           138:   /usr/include/linux/dirent.h /usr/include/linux/vfs.h /usr/include/linux/pipe_fs_i.h \
        !           139:   /usr/include/linux/minix_fs_i.h /usr/include/linux/ext_fs_i.h /usr/include/linux/msdos_fs_i.h \
        !           140:   /usr/include/linux/minix_fs_sb.h /usr/include/linux/ext_fs_sb.h /usr/include/linux/msdos_fs_sb.h \
        !           141:   /usr/include/linux/mm.h /usr/include/linux/kernel.h /usr/include/linux/signal.h \
        !           142:   /usr/include/linux/time.h /usr/include/linux/param.h /usr/include/linux/resource.h \
        !           143:   /usr/include/linux/vm86.h /usr/include/linux/errno.h /usr/include/linux/ptrace.h \
        !           144:   /usr/include/asm/segment.h 
        !           145: sys.o : sys.c /usr/include/linux/errno.h /usr/include/linux/sched.h /usr/include/linux/head.h \
        !           146:   /usr/include/linux/fs.h /usr/include/linux/limits.h /usr/include/linux/wait.h \
        !           147:   /usr/include/linux/types.h /usr/include/linux/dirent.h /usr/include/linux/vfs.h \
        !           148:   /usr/include/linux/pipe_fs_i.h /usr/include/linux/minix_fs_i.h /usr/include/linux/ext_fs_i.h \
        !           149:   /usr/include/linux/msdos_fs_i.h /usr/include/linux/minix_fs_sb.h /usr/include/linux/ext_fs_sb.h \
        !           150:   /usr/include/linux/msdos_fs_sb.h /usr/include/linux/mm.h /usr/include/linux/kernel.h \
        !           151:   /usr/include/linux/signal.h /usr/include/linux/time.h /usr/include/linux/param.h \
        !           152:   /usr/include/linux/resource.h /usr/include/linux/vm86.h /usr/include/linux/tty.h \
        !           153:   /usr/include/linux/termios.h /usr/include/asm/system.h /usr/include/linux/config.h \
        !           154:   /usr/include/linux/config.dist.h /usr/include/linux/times.h /usr/include/linux/utsname.h \
        !           155:   /usr/include/linux/string.h /usr/include/linux/ptrace.h /usr/include/asm/segment.h 
        !           156: traps.o : traps.c /usr/include/linux/head.h /usr/include/linux/sched.h /usr/include/linux/fs.h \
        !           157:   /usr/include/linux/limits.h /usr/include/linux/wait.h /usr/include/linux/types.h \
        !           158:   /usr/include/linux/dirent.h /usr/include/linux/vfs.h /usr/include/linux/pipe_fs_i.h \
        !           159:   /usr/include/linux/minix_fs_i.h /usr/include/linux/ext_fs_i.h /usr/include/linux/msdos_fs_i.h \
        !           160:   /usr/include/linux/minix_fs_sb.h /usr/include/linux/ext_fs_sb.h /usr/include/linux/msdos_fs_sb.h \
        !           161:   /usr/include/linux/mm.h /usr/include/linux/kernel.h /usr/include/linux/signal.h \
        !           162:   /usr/include/linux/time.h /usr/include/linux/param.h /usr/include/linux/resource.h \
        !           163:   /usr/include/linux/vm86.h /usr/include/linux/string.h /usr/include/linux/errno.h \
        !           164:   /usr/include/asm/system.h /usr/include/asm/segment.h /usr/include/asm/io.h 
        !           165: vsprintf.o : vsprintf.c /usr/lib/gcc-lib/i386-linux/2.2.2d/include/stdarg.h \
        !           166:   /usr/include/linux/types.h /usr/include/linux/string.h 

unix.superglobalmegacorp.com