|
|
1.1.1.2 ! root 1: ROOTDEV= /dev/hd3 1.1 root 2: 3: AS86 =as -0 -a 4: CC86 =cc -0 5: LD86 =ld -0 6: 7: AS =gas 8: LD =gld 9: LDFLAGS =-s -x -M 10: CC =gcc 11: CFLAGS =-Wall -O -fstrength-reduce -fomit-frame-pointer -fcombine-regs 1.1.1.2 ! root 12: CPP =cpp -nostdinc -Iinclude 1.1 root 13: 14: ARCHIVES=kernel/kernel.o mm/mm.o fs/fs.o 1.1.1.2 ! root 15: DRIVERS =kernel/blk_drv/blk_drv.a kernel/chr_drv/chr_drv.a 1.1 root 16: LIBS =lib/lib.a 17: 18: .c.s: 19: $(CC) $(CFLAGS) \ 20: -nostdinc -Iinclude -S -o $*.s $< 21: .s.o: 22: $(AS) -c -o $*.o $< 23: .c.o: 24: $(CC) $(CFLAGS) \ 25: -nostdinc -Iinclude -c -o $*.o $< 26: 27: all: Image 28: 1.1.1.2 ! root 29: Image: boot/bootsect boot/setup tools/system tools/build ! 30: tools/build boot/bootsect boot/setup tools/system $(ROOTDEV) > Image 1.1 root 31: sync 32: 33: tools/build: tools/build.c 34: $(CC) $(CFLAGS) \ 35: -o tools/build tools/build.c 36: chmem +65000 tools/build 37: 38: boot/head.o: boot/head.s 39: 40: tools/system: boot/head.o init/main.o \ 1.1.1.2 ! root 41: $(ARCHIVES) $(DRIVERS) $(LIBS) 1.1 root 42: $(LD) $(LDFLAGS) boot/head.o init/main.o \ 43: $(ARCHIVES) \ 1.1.1.2 ! root 44: $(DRIVERS) \ 1.1 root 45: $(LIBS) \ 46: -o tools/system > System.map 47: 1.1.1.2 ! root 48: kernel/blk_drv/blk_drv.a: ! 49: (cd kernel/blk_drv; make) ! 50: ! 51: kernel/chr_drv/chr_drv.a: ! 52: (cd kernel/chr_drv; make) ! 53: 1.1 root 54: kernel/kernel.o: 55: (cd kernel; make) 56: 57: mm/mm.o: 58: (cd mm; make) 59: 60: fs/fs.o: 61: (cd fs; make) 62: 63: lib/lib.a: 64: (cd lib; make) 65: 1.1.1.2 ! root 66: #boot/setup: boot/setup.s ! 67: # $(AS86) -o boot/setup.o boot/setup.s ! 68: # $(LD86) -s -o boot/setup boot/setup.o ! 69: ! 70: #boot/bootsect: tmp.s ! 71: # $(AS86) -o boot/bootsect.o tmp.s ! 72: # rm -f tmp.s ! 73: # $(LD86) -s -o boot/bootsect boot/bootsect.o ! 74: ! 75: #tmp.s: boot/bootsect.s tools/system ! 76: # (echo -n "SYSSIZE = (";ls -l tools/system | grep system \ ! 77: # | cut -c25-31 | tr '\012' ' '; echo "+ 15 ) / 16") > tmp.s ! 78: # cat boot/bootsect.s >> tmp.s 1.1 root 79: 80: clean: 1.1.1.2 ! root 81: rm -f Image System.map tmp_make core 1.1 root 82: rm -f init/*.o boot/*.o tools/system tools/build 83: (cd mm;make clean) 84: (cd fs;make clean) 85: (cd kernel;make clean) 86: (cd lib;make clean) 87: 88: backup: clean 89: (cd .. ; tar cf - linux | compress16 - > backup.Z) 90: sync 91: 92: dep: 93: sed '/\#\#\# Dependencies/q' < Makefile > tmp_make 94: (for i in init/*.c;do echo -n "init/";$(CPP) -M $$i;done) >> tmp_make 95: cp tmp_make Makefile 96: (cd fs; make dep) 97: (cd kernel; make dep) 98: (cd mm; make dep) 99: 100: ### Dependencies: 101: init/main.o : init/main.c include/unistd.h include/sys/stat.h \ 102: include/sys/types.h include/sys/times.h include/sys/utsname.h \ 103: include/utime.h include/time.h include/linux/tty.h include/termios.h \ 104: include/linux/sched.h include/linux/head.h include/linux/fs.h \ 1.1.1.2 ! root 105: include/linux/mm.h include/signal.h include/asm/system.h include/asm/io.h \ ! 106: include/stddef.h include/stdarg.h include/fcntl.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.