132710Sbostic# 232710Sbostic# Copyright (c) 1987 Regents of the University of California. 332710Sbostic# All rights reserved. 432710Sbostic# 532710Sbostic# Redistribution and use in source and binary forms are permitted 6*34927Sbostic# provided that the above copyright notice and this paragraph are 7*34927Sbostic# duplicated in all such forms and that any documentation, 8*34927Sbostic# advertising materials, and other materials related to such 9*34927Sbostic# distribution and use acknowledge that the software was developed 10*34927Sbostic# by the University of California, Berkeley. The name of the 11*34927Sbostic# University may not be used to endorse or promote products derived 12*34927Sbostic# from this software without specific prior written permission. 13*34927Sbostic# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 14*34927Sbostic# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 15*34927Sbostic# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 1632710Sbostic# 17*34927Sbostic# @(#)Makefile 5.3 (Berkeley) 06/30/88 1832710Sbostic# 1932710SbosticOBJS= atan2.o cabs.o cbrt.o sqrt.o sincos.o tan.o argred.o support.o \ 2032710Sbostic infnan.o 2124564Szliu 2224564Szliu.s.o: 2324564Szliu#### insert additional code for profiling 2424564Szliu sed -f mcount.sed $*.s | ${AS} -o $*.o 2524564Szliu -ld -X -r $*.o 2624564Szliu mv a.out ../profiled/$*.o 2724564Szliu ${AS} -o $*.o $*.s 2824564Szliu -ld -x -r $*.o 2924564Szliu mv a.out $*.o 3024564Szliu 3124564Szliuall: ../libm.a ../libm_p.a 3224564Szliu 3333049Sbostic../libm_p.a ../libm.a: ${OBJS} FRC 3432710Sbostic cd ../profiled; ar cru ../libm_p.a ${OBJS} 3532710Sbostic ar cru ../libm.a ${OBJS} 3632710Sbostic 3732710Sbosticdepend: FRC 3832710Sbostic 3932710Sbostictags: FRC 4032710Sbostic 4132710Sbosticclean: FRC 4232710Sbostic rm -f ${OBJS} a.out 4332710Sbostic 4432710SbosticFRC: 4532710Sbostic 46