|
|
1.1 root 1: #
2: # Copyright (c) 1980 Regents of the University of California.
3: # All rights reserved. The Berkeley software License Agreement
4: # specifies the terms and conditions for redistribution.
5: #
6: # @(#)Makefile 5.1 (Berkeley) 5/8/85
7: #
8: SCCSID = "%W (Berkeley) 5/8/85"
9:
10: CFLAGS=-O
11:
12: INSTALL= install
13:
14: FILES= acos.o asin.o atan.o cbrt.o pow.o exp.o log.o sin.o \
15: sinh.o sqrt.o tan.o tanh.o
16:
17: .c.o:
18: ${CC} -p ${CFLAGS} -c $*.c
19: -ld -X -r $*.o
20: mv a.out profiled/$*.o
21: ${CC} ${CFLAGS} -c $*.c
22: -ld -x -r $*.o
23: mv a.out $*.o
24:
25: .s.o:
26: sed -f mcount.sed $*.s | ${AS} -o $*.o
27: -ld -X -r $*.o
28: mv a.out profiled/$*.o
29: ${AS} -o $*.o $*.s
30: -ld -x -r $*.o
31: mv a.out $*.o
32:
33: libnm.a libnm_p.a : $(FILES)
34: cd profiled; ar cru ../libnm_p.a $(FILES)
35: ar cru libnm.a $(FILES)
36:
37: install: libnm.a libnm_p.a
38: ${INSTALL} libnm.a ${DESTDIR}/usr/lib/libnm.a
39: ranlib ${DESTDIR}/usr/lib/libnm.a
40: ${INSTALL} libnm_p.a ${DESTDIR}/usr/lib/libnm_p.a
41: ranlib ${DESTDIR}/usr/lib/libnm_p.a
42:
43: clean:
44: rm -f *.o profiled/*.o libnm.a libnm_p.a
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.