|
|
1.1 ! root 1: # @(#)Makefile 4.2 6/5/85 ! 2: # ! 3: SCCSID = "@(#)Makefile 4.2 6/5/85" ! 4: ! 5: CFLAGS=-O ! 6: ! 7: DESTDIR= ! 8: ! 9: INSTALL= install ! 10: ! 11: SRCS= asin.c atan.c hypot.c jn.c j0.c j1.c pow.c gamma.c \ ! 12: log.c sin.c sqrt.c tan.c tanh.c sinh.c erf.c exp.c floor.c ! 13: ! 14: FILES= asin.o atan.o hypot.o jn.o j0.o j1.o pow.o gamma.o \ ! 15: log.o sin.o sqrt.o tan.o tanh.o sinh.o erf.o exp.o floor.o ! 16: ! 17: TAGSFILE=tags ! 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: libom.a libom_p.a : $(FILES) ! 28: cd profiled; ar cru ../libom_p.a $(FILES) ! 29: ar cru libom.a $(FILES) ! 30: ! 31: install: libom.a libom_p.a ! 32: ${INSTALL} libom.a ${DESTDIR}/usr/lib ! 33: ranlib ${DESTDIR}/usr/lib/libom.a ! 34: ${INSTALL} libom_p.a ${DESTDIR}/usr/lib ! 35: ranlib ${DESTDIR}/usr/lib/libom_p.a ! 36: ! 37: tags: ! 38: cwd=`pwd`; \ ! 39: for i in ${SRCS}; do \ ! 40: ctags -a -f ${TAGSFILE} $$cwd/$$i; \ ! 41: done ! 42: ! 43: clean: ! 44: rm -f *.o profiled/*.o libom.a libom_p.a tags
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.