|
|
1.1 ! root 1: # @(#)Makefile 4.1 12/25/82 ! 2: # ! 3: AS=/bin/as ! 4: CC=/bin/cc ! 5: INCLDIR=/usr/src/include ! 6: LIBDIR=/lib ! 7: ULIBDIR=/usr/lib ! 8: DESTDIR= ! 9: ! 10: SCCSID = "@(#)Makefile 4.1 12/25/82" ! 11: ! 12: CFLAGS=-I${INCLDIR} ! 13: ! 14: INSTALL= install ! 15: ! 16: FILES= asin.o atan.o hypot.o jn.o j0.o j1.o pow.o gamma.o \ ! 17: log.o sin.o sqrt.o tan.o tanh.o sinh.o erf.o exp.o floor.o ! 18: ! 19: .c.o: ! 20: ${CC} -p ${CFLAGS} -c $*.c ! 21: -${LD} -X -r $*.o ! 22: mv a.out profiled/$*.o ! 23: ${CC} ${CFLAGS} -c $*.c ! 24: -${LD} -x -r $*.o ! 25: mv a.out $*.o ! 26: ! 27: .s.o: ! 28: ${AS} -o $*.o $*.s ! 29: -${LD} -X -r $*.o ! 30: mv a.out profiled/$*.o ! 31: ${AS} -o $*.o $*.s ! 32: -${LD} -x -r $*.o ! 33: mv a.out $*.o ! 34: ! 35: libm.a libm_p.a : $(FILES) ! 36: cd profiled; ar cru ../libm_p.a $(FILES) ! 37: ar cru libm.a $(FILES) ! 38: ! 39: install: libm.a libm_p.a ! 40: ${INSTALL} libm.a ${DESTDIR}/usr/lib ! 41: ranlib ${DESTDIR}/usr/lib/libm.a ! 42: ${INSTALL} libm_p.a ${DESTDIR}/usr/lib ! 43: ranlib ${DESTDIR}/usr/lib/libm_p.a ! 44: ! 45: clean: ! 46: rm -f *.o profiled/*.o libm.a libm_p.a
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.