date and time created 85/09/06 17:50:10 by zliu
authorZhishun Alex Liu <zliu@ucbvax.Berkeley.EDU>
Sat, 7 Sep 1985 08:50:10 +0000 (00:50 -0800)
committerZhishun Alex Liu <zliu@ucbvax.Berkeley.EDU>
Sat, 7 Sep 1985 08:50:10 +0000 (00:50 -0800)
SCCS-vsn: lib/libm/vax/Makefile 1.1

usr/src/lib/libm/vax/Makefile [new file with mode: 0644]

diff --git a/usr/src/lib/libm/vax/Makefile b/usr/src/lib/libm/vax/Makefile
new file mode 100644 (file)
index 0000000..1c4db2d
--- /dev/null
@@ -0,0 +1,18 @@
+# @(#)Makefile 1.1 (ELEFUNT) %G%
+SCCSID = "@(#)Makefile 1.1 (ELEFUNT) %G%"
+MORE=atan2.o cabs.o cbrt.o sqrt.o sincos.o tan.o argred.o support.o infnan.o
+
+.s.o:
+####   insert additional code for profiling
+       sed -f mcount.sed $*.s | ${AS} -o $*.o
+       -ld -X -r $*.o
+       mv a.out ../profiled/$*.o
+       ${AS} -o $*.o $*.s
+       -ld -x -r $*.o
+       mv a.out $*.o
+
+all: ../libm.a ../libm_p.a
+
+../libm_p.a ../libm.a: ${MORE}
+       cd ../profiled; ar cru ../libm_p.a ${MORE}
+       ar cru ../libm.a ${MORE}