|
|
1.1.1.7 ! root 1: # ! 2: # Makefile for the linux memory manager. ! 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: # Note 2! The CFLAGS definition is now in the main makefile... ! 9: 1.1.1.5 root 10: AS =as 11: AR =ar 12: LD =ld 1.1.1.7 ! root 13: CC =gcc -nostdinc -I../include ! 14: CPP =cpp -nostdinc -I../include 1.1 root 15: 16: .c.o: 17: $(CC) $(CFLAGS) \ 18: -c -o $*.o $< 19: .s.o: 20: $(AS) -o $*.o $< 21: .c.s: 22: $(CC) $(CFLAGS) \ 23: -S -o $*.s $< 24: 1.1.1.5 root 25: OBJS = memory.o swap.o 1.1 root 26: 27: mm.o: $(OBJS) 28: $(LD) -r -o mm.o $(OBJS) 29: 30: clean: 31: rm -f core *.o *.a tmp_make 32: for i in *.c;do rm -f `basename $$i .c`.s;done 33: 34: dep: 35: sed '/\#\#\# Dependencies/q' < Makefile > tmp_make 36: (for i in *.c;do $(CPP) -M $$i;done) >> tmp_make 37: cp tmp_make Makefile 38: 39: ### Dependencies: 40: memory.o : memory.c ../include/signal.h ../include/sys/types.h \ 1.1.1.3 root 41: ../include/asm/system.h ../include/linux/sched.h ../include/linux/head.h \ 1.1.1.7 ! root 42: ../include/linux/fs.h ../include/sys/dirent.h ../include/limits.h \ ! 43: ../include/linux/mm.h ../include/linux/kernel.h ../include/sys/param.h \ ! 44: ../include/sys/time.h ../include/time.h ../include/sys/resource.h 1.1.1.5 root 45: swap.o : swap.c ../include/string.h ../include/errno.h \ 46: ../include/linux/mm.h ../include/linux/fs.h ../include/sys/types.h \ 1.1.1.7 ! root 47: ../include/sys/dirent.h ../include/limits.h ../include/linux/kernel.h \ ! 48: ../include/signal.h ../include/sys/stat.h ../include/linux/sched.h \ ! 49: ../include/linux/head.h ../include/sys/param.h ../include/sys/time.h \ ! 50: ../include/time.h ../include/sys/resource.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.