|
|
1.1 root 1: # 1.1.1.3 ! root 2: # Makefile for the kernel math emulation routines 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.3 ! root 9: AR =ar ! 10: AS =as ! 11: LD =ld 1.1 root 12: LDFLAGS =-s -x 13: CC =gcc 1.1.1.3 ! root 14: CFLAGS =-Wall -O -fstrength-reduce -fomit-frame-pointer \ ! 15: -finline-functions -nostdinc -I../../include 1.1 root 16: CPP =gcc -E -nostdinc -I../../include 17: 18: .c.s: 19: $(CC) $(CFLAGS) \ 20: -S -o $*.s $< 21: .s.o: 22: $(AS) -c -o $*.o $< 23: .c.o: 24: $(CC) $(CFLAGS) \ 25: -c -o $*.o $< 26: 1.1.1.2 root 27: OBJS = math_emulate.o error.o convert.o ea.o get_put.o \ 28: add.o mul.o div.o compare.o 1.1 root 29: 30: math.a: $(OBJS) 31: $(AR) rcs math.a $(OBJS) 32: sync 33: 34: clean: 35: rm -f core *.o *.a tmp_make 36: for i in *.c;do rm -f `basename $$i .c`.s;done 37: 38: dep: 39: sed '/\#\#\# Dependencies/q' < Makefile > tmp_make 40: (for i in *.c;do echo -n `echo $$i | sed 's,\.c,\.s,'`" "; \ 41: $(CPP) -M $$i;done) >> tmp_make 42: cp tmp_make Makefile 43: 44: ### Dependencies: 1.1.1.2 root 45: add.s add.o : add.c ../../include/linux/math_emu.h ../../include/linux/sched.h \ 46: ../../include/linux/head.h ../../include/linux/fs.h \ 47: ../../include/sys/types.h ../../include/linux/mm.h \ 1.1.1.3 ! root 48: ../../include/linux/kernel.h ../../include/signal.h \ ! 49: ../../include/sys/param.h ../../include/sys/time.h ../../include/time.h \ ! 50: ../../include/sys/resource.h 1.1.1.2 root 51: compare.s compare.o : compare.c ../../include/linux/math_emu.h \ 52: ../../include/linux/sched.h ../../include/linux/head.h \ 53: ../../include/linux/fs.h ../../include/sys/types.h ../../include/linux/mm.h \ 1.1.1.3 ! root 54: ../../include/linux/kernel.h ../../include/signal.h \ ! 55: ../../include/sys/param.h ../../include/sys/time.h ../../include/time.h \ ! 56: ../../include/sys/resource.h 1.1.1.2 root 57: convert.s convert.o : convert.c ../../include/linux/math_emu.h \ 58: ../../include/linux/sched.h ../../include/linux/head.h \ 59: ../../include/linux/fs.h ../../include/sys/types.h ../../include/linux/mm.h \ 1.1.1.3 ! root 60: ../../include/linux/kernel.h ../../include/signal.h \ ! 61: ../../include/sys/param.h ../../include/sys/time.h ../../include/time.h \ ! 62: ../../include/sys/resource.h 1.1.1.2 root 63: div.s div.o : div.c ../../include/linux/math_emu.h ../../include/linux/sched.h \ 64: ../../include/linux/head.h ../../include/linux/fs.h \ 65: ../../include/sys/types.h ../../include/linux/mm.h \ 1.1.1.3 ! root 66: ../../include/linux/kernel.h ../../include/signal.h \ ! 67: ../../include/sys/param.h ../../include/sys/time.h ../../include/time.h \ ! 68: ../../include/sys/resource.h 1.1.1.2 root 69: ea.s ea.o : ea.c ../../include/stddef.h ../../include/linux/math_emu.h \ 70: ../../include/linux/sched.h ../../include/linux/head.h \ 71: ../../include/linux/fs.h ../../include/sys/types.h ../../include/linux/mm.h \ 72: ../../include/linux/kernel.h ../../include/signal.h \ 1.1.1.3 ! root 73: ../../include/sys/param.h ../../include/sys/time.h ../../include/time.h \ ! 74: ../../include/sys/resource.h ../../include/asm/segment.h 1.1.1.2 root 75: error.s error.o : error.c ../../include/signal.h ../../include/sys/types.h \ 76: ../../include/linux/sched.h ../../include/linux/head.h \ 77: ../../include/linux/fs.h ../../include/linux/mm.h \ 1.1.1.3 ! root 78: ../../include/linux/kernel.h ../../include/sys/param.h \ ! 79: ../../include/sys/time.h ../../include/time.h ../../include/sys/resource.h 1.1.1.2 root 80: get_put.s get_put.o : get_put.c ../../include/signal.h ../../include/sys/types.h \ 81: ../../include/linux/math_emu.h ../../include/linux/sched.h \ 82: ../../include/linux/head.h ../../include/linux/fs.h \ 83: ../../include/linux/mm.h ../../include/linux/kernel.h \ 1.1.1.3 ! root 84: ../../include/sys/param.h ../../include/sys/time.h ../../include/time.h \ ! 85: ../../include/sys/resource.h ../../include/asm/segment.h ! 86: math_emulate.s math_emulate.o : math_emulate.c ../../include/linux/config.h 1.1.1.2 root 87: mul.s mul.o : mul.c ../../include/linux/math_emu.h ../../include/linux/sched.h \ 88: ../../include/linux/head.h ../../include/linux/fs.h \ 89: ../../include/sys/types.h ../../include/linux/mm.h \ 1.1.1.3 ! root 90: ../../include/linux/kernel.h ../../include/signal.h \ ! 91: ../../include/sys/param.h ../../include/sys/time.h ../../include/time.h \ ! 92: ../../include/sys/resource.h
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.