|
|
1.1 root 1: # @(#)Makefile 4.1 12/25/82
2: #
3: SCCSID = "@(#)Makefile 4.1 12/25/82"
4:
5: CFLAGS=-O
6:
7: INSTALL= install
8:
9: FILES= asin.o atan.o hypot.o jn.o j0.o j1.o pow.o gamma.o \
10: log.o sin.o sqrt.o tan.o tanh.o sinh.o erf.o exp.o floor.o
11:
12: .c.o:
13: ${CC} -p ${CFLAGS} -c $*.c
14: -ld -X -r $*.o
15: mv a.out profiled/$*.o
16: ${CC} ${CFLAGS} -c $*.c
17: -ld -x -r $*.o
18: mv a.out $*.o
19:
20: libm.a libm_p.a : $(FILES)
21: cd profiled; ar cru ../libm_p.a $(FILES)
22: ar cru libm.a $(FILES)
23:
24: install: libm.a libm_p.a
25: ${INSTALL} libm.a ${DESTDIR}/usr/lib
26: ranlib ${DESTDIR}/usr/lib/libm.a
27: ${INSTALL} libm_p.a ${DESTDIR}/usr/lib
28: ranlib ${DESTDIR}/usr/lib/libm_p.a
29:
30: clean:
31: 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.