xref: /original-bsd/old/libm/libm/VAX/Makefile (revision e59fb703)
1#
2# Copyright (c) 1987 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	1.3	(Berkeley)	06/19/87
7#
8MORE=	atan2.o cabs.o cbrt.o sqrt.o sincos.o tan.o argred.o support.o \
9	infnan.o
10
11.s.o:
12####	insert additional code for profiling
13	sed -f mcount.sed $*.s | ${AS} -o $*.o
14	-ld -X -r $*.o
15	mv a.out ../profiled/$*.o
16	${AS} -o $*.o $*.s
17	-ld -x -r $*.o
18	mv a.out $*.o
19
20all: ../libm.a ../libm_p.a
21
22../libm_p.a ../libm.a: ${MORE}
23	cd ../profiled; ar cru ../libm_p.a ${MORE}
24	ar cru ../libm.a ${MORE}
25