xref: /csrg-svn/lib/libm/ieee/Makefile (revision 35681)
131789Szliu#
231789Szliu# Copyright (c) 1987 Regents of the University of California.
332707Sbostic# All rights reserved.
431789Szliu#
532707Sbostic# Redistribution and use in source and binary forms are permitted
634926Sbostic# provided that the above copyright notice and this paragraph are
734926Sbostic# duplicated in all such forms and that any documentation,
834926Sbostic# advertising materials, and other materials related to such
934926Sbostic# distribution and use acknowledge that the software was developed
1034926Sbostic# by the University of California, Berkeley.  The name of the
1134926Sbostic# University may not be used to endorse or promote products derived
1234926Sbostic# from this software without specific prior written permission.
1334926Sbostic# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
1434926Sbostic# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
1534926Sbostic# WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
1631789Szliu#
17*35681Sbostic#	@(#)Makefile	5.4 (Berkeley) 09/22/88
1832707Sbostic#
19*35681SbosticCFLAGS=	-O -I..
20*35681SbosticSRCS=	cabs.c cbrt.c support.c
21*35681SbosticOBJS=	cabs.o cbrt.o support.o
22*35681SbosticMAN=
2324576Szliu
2424576Szliu.c.o:
2524576Szliu	${CC} -p ${CFLAGS} -c $*.c
2624576Szliu	-ld -X -r $*.o
2731843Szliu	mv a.out ../profiled/$*.o
2824576Szliu	${CC} ${CFLAGS} -c $*.c
2924576Szliu	-ld -x -r $*.o
3024576Szliu	mv a.out $*.o
3124576Szliu
3231843Szliuall: ../libm.a ../libm_p.a
3324576Szliu
34*35681Sbostic../libm.a ../libm_p.a: ${OBJS}
3531843Szliu	cd ../profiled; ar cru ../libm_p.a ${OBJS}
3631843Szliu	ar cru ../libm.a ${OBJS}
3731789Szliu
3832707Sbosticclean:
3932707Sbostic	rm -f ${OBJS} a.out
4032707Sbostic
41*35681Sbosticcleandir: clean
42*35681Sbostic	rm -f ${MAN} tags .depend
4331789Szliu
44*35681Sbosticdepend: ${SRCS}
45*35681Sbostic	mkdep ${CFLAGS} ${SRCS}
4631789Szliu
47*35681Sbostictags: ${SRCS}
48*35681Sbostic	ctags ${SRCS}
49