|
|
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: # 8: 1.1.1.5 ! root 9: # gcc2 doesn't have these: ! 10: #GCC_OPT = -fcombine-regs ! 11: ! 12: AR =ar ! 13: AS =as ! 14: LD =ld 1.1 root 15: LDFLAGS =-s -x 16: CC =gcc 1.1.1.5 ! root 17: CFLAGS =-Wall -O -fstrength-reduce -fomit-frame-pointer $(GCC_OPT) \ ! 18: -finline-functions -nostdinc -I../include 1.1 root 19: CPP =gcc -E -nostdinc -I../include 20: 21: .c.s: 22: $(CC) $(CFLAGS) \ 23: -S -o $*.s $< 24: .s.o: 25: $(AS) -c -o $*.o $< 26: .c.o: 27: $(CC) $(CFLAGS) \ 28: -c -o $*.o $< 29: 1.1.1.4 root 30: OBJS = sched.o sys_call.o traps.o asm.o fork.o \ 1.1.1.2 root 31: panic.o printk.o vsprintf.o sys.o exit.o \ 1.1.1.5 ! root 32: signal.o mktime.o ptrace.o 1.1 root 33: 34: kernel.o: $(OBJS) 35: $(LD) -r -o kernel.o $(OBJS) 36: sync 37: 38: clean: 1.1.1.2 root 39: rm -f core *.o *.a tmp_make keyboard.s 1.1 root 40: for i in *.c;do rm -f `basename $$i .c`.s;done 1.1.1.2 root 41: (cd chr_drv; make clean) 42: (cd blk_drv; make clean) 1.1.1.3 root 43: (cd math; make clean) 1.1 root 44: 45: dep: 46: sed '/\#\#\# Dependencies/q' < Makefile > tmp_make 47: (for i in *.c;do echo -n `echo $$i | sed 's,\.c,\.s,'`" "; \ 48: $(CPP) -M $$i;done) >> tmp_make 49: cp tmp_make Makefile 1.1.1.2 root 50: (cd chr_drv; make dep) 51: (cd blk_drv; make dep) 1.1 root 52: 53: ### Dependencies: 54: exit.s exit.o : exit.c ../include/errno.h ../include/signal.h \ 55: ../include/sys/types.h ../include/sys/wait.h ../include/linux/sched.h \ 56: ../include/linux/head.h ../include/linux/fs.h ../include/linux/mm.h \ 1.1.1.4 root 57: ../include/linux/kernel.h ../include/sys/param.h ../include/sys/time.h \ 58: ../include/time.h ../include/sys/resource.h ../include/linux/tty.h \ 59: ../include/termios.h ../include/asm/segment.h 1.1 root 60: fork.s fork.o : fork.c ../include/errno.h ../include/linux/sched.h \ 61: ../include/linux/head.h ../include/linux/fs.h ../include/sys/types.h \ 1.1.1.4 root 62: ../include/linux/mm.h ../include/linux/kernel.h ../include/signal.h \ 63: ../include/sys/param.h ../include/sys/time.h ../include/time.h \ 64: ../include/sys/resource.h ../include/asm/segment.h ../include/asm/system.h 1.1 root 65: mktime.s mktime.o : mktime.c ../include/time.h 1.1.1.2 root 66: panic.s panic.o : panic.c ../include/linux/kernel.h ../include/linux/sched.h \ 67: ../include/linux/head.h ../include/linux/fs.h ../include/sys/types.h \ 1.1.1.4 root 68: ../include/linux/mm.h ../include/signal.h ../include/sys/param.h \ 69: ../include/sys/time.h ../include/time.h ../include/sys/resource.h 1.1 root 70: printk.s printk.o : printk.c ../include/stdarg.h ../include/stddef.h \ 71: ../include/linux/kernel.h 1.1.1.5 ! root 72: ptrace.s ptrace.o : ptrace.c ../include/linux/head.h ../include/linux/kernel.h \ ! 73: ../include/linux/sched.h ../include/linux/fs.h ../include/sys/types.h \ ! 74: ../include/linux/mm.h ../include/signal.h ../include/sys/param.h \ ! 75: ../include/sys/time.h ../include/time.h ../include/sys/resource.h \ ! 76: ../include/errno.h ../include/asm/segment.h ../include/asm/system.h \ ! 77: ../include/sys/ptrace.h 1.1 root 78: sched.s sched.o : sched.c ../include/linux/sched.h ../include/linux/head.h \ 79: ../include/linux/fs.h ../include/sys/types.h ../include/linux/mm.h \ 1.1.1.4 root 80: ../include/linux/kernel.h ../include/signal.h ../include/sys/param.h \ 81: ../include/sys/time.h ../include/time.h ../include/sys/resource.h \ 1.1.1.5 ! root 82: ../include/linux/timer.h ../include/linux/sys.h ../include/linux/fdreg.h \ ! 83: ../include/asm/system.h ../include/asm/io.h ../include/asm/segment.h \ ! 84: ../include/errno.h 1.1.1.2 root 85: signal.s signal.o : signal.c ../include/linux/sched.h ../include/linux/head.h \ 86: ../include/linux/fs.h ../include/sys/types.h ../include/linux/mm.h \ 1.1.1.4 root 87: ../include/linux/kernel.h ../include/signal.h ../include/sys/param.h \ 88: ../include/sys/time.h ../include/time.h ../include/sys/resource.h \ 1.1.1.5 ! root 89: ../include/asm/segment.h ../include/sys/wait.h ../include/errno.h 1.1 root 90: sys.s sys.o : sys.c ../include/errno.h ../include/linux/sched.h \ 91: ../include/linux/head.h ../include/linux/fs.h ../include/sys/types.h \ 1.1.1.4 root 92: ../include/linux/mm.h ../include/linux/kernel.h ../include/signal.h \ 93: ../include/sys/param.h ../include/sys/time.h ../include/time.h \ 94: ../include/sys/resource.h ../include/linux/tty.h ../include/termios.h \ 95: ../include/linux/config.h ../include/asm/segment.h ../include/sys/times.h \ 96: ../include/sys/utsname.h ../include/string.h 1.1 root 97: traps.s traps.o : traps.c ../include/string.h ../include/linux/head.h \ 98: ../include/linux/sched.h ../include/linux/fs.h ../include/sys/types.h \ 1.1.1.4 root 99: ../include/linux/mm.h ../include/linux/kernel.h ../include/signal.h \ 100: ../include/sys/param.h ../include/sys/time.h ../include/time.h \ 101: ../include/sys/resource.h ../include/asm/system.h ../include/asm/segment.h \ 1.1.1.5 ! root 102: ../include/asm/io.h ../include/errno.h 1.1 root 103: vsprintf.s vsprintf.o : vsprintf.c ../include/stdarg.h ../include/string.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.