head     1.3;
branch   ;
access   ;
symbols  ;
locks    ;
comment  @@;


1.3
date     92.02.17.13.50.34;  author bin;  state Exp;
branches ;
next     1.2;

1.2
date     91.03.20.13.37.39;  author bin;  state Exp;
branches ;
next     1.1;

1.1
date     91.02.07.19.49.09;  author bin;  state Exp;
branches ;
next     ;


desc
@initial version provided by steve ness
@


1.3
log
@update by steve for new make marcos
@
text
@# /usr/src/libm/Makefile 2/12/92
# For the moment, this just makes the main directory.
# It should have separate targets for different machines and representations,
# notably i8087.

DESTDIR=/interim/lib/

OBJ=\
	acos.o\
	asin.o\
	atan.o\
	atan2.o\
	cabs.o\
	ceil.o\
	cos.o\
	cosh.o\
	exp.o\
	fabs.o\
	floor.o\
	hypot.o\
	j0.o\
	j1.o\
	jn.o\
	log.o\
	log10.o\
	pol.o\
	pow.o\
	sin.o\
	sinh.o\
	sqrt.o\
	tan.o\
	tanh.o\
	two.o

# Primary target.
libm.a:	$(OBJ)
	$(AR) rckus $(DESTDIR)$@@ $?

# Secondary targets.
acos.o:		acos.c
asin.o:		asin.c
atan.o:		atan.c
atan2.o:	atan2.c
cabs.o:		cabs.c
ceil.o:		ceil.c
cos.o:		cos.c
cosh.o:		cosh.c
exp.o:		exp.c
fabs.o:		fabs.c
floor.o:	floor.c
hypot.o:	hypot.c
j0.o:		j0.c
j1.o:		j1.c
jn.o:		jn.c
log.o:		log.c
log10.o:	log10.c
pol.o:		pol.c
pow.o:		pow.c
sin.o:		sin.c
sinh.o:		sinh.c
sqrt.o:		sqrt.c
tan.o:		tan.c
tanh.o:		tanh.c
two.o:		two.c

clean:
	rm $(OBJ)

# end of /usr/src/libm/Makefile 2/12/91
@


1.2
log
@bob h updated for use on src box. added desdir and ownership stuff
@
text
@d1 4
a4 9
#	The standard math library
#	This has specifications for the i8087 routines, but these use
#	asm files for which there is no assembler under Coherent.
#
#	Caution: this is just my idea of what a makefile for libm
#	would look like. I have NOT tested it.
#
#	Beware of log10.c if you are compiling on the 11 or the ST.
#	Have to take care of readonly variables
a6 5
AR = ar
ARFLAGS = ruvs
OBJS = acos.o asin.o atan.o atan2.o cabs.o ceil.o cos.o cosh.o exp.o \
	fabs.o floor.o hypot.o j0.o j1.o jn.o log.o log10.o pol.o \
	pow.o sin.o sinh.o sqrt.o tan.o tanh.o two.o
d8 26
a33 10
I87SOBJS = acos.o asin.o atan2.o cabs.o ceil.o cosh.o exp.o floor.o \
	j0.o j1.o jn.o log10.o pol.o sin.o sinh.o tan.o tanh.o \
	i8087/pow.o \
	i8087/small/atan.o \
	i8087/small/cos.o \
	i8087/small/fabs.o \
	i8087/small/hypot.o \
	i8087/small/log.o \
	i8087/small/sqrt.o \
	i8087/small/two.o
d35 3
a37 16
I87LOBJS = acos.o asin.o atan2.o cabs.o ceil.o cosh.o exp.o floor.o \
	j0.o j1.o jn.o log10.o pol.o sin.o sinh.o tan.o tanh.o \
	i8087/pow.o \
	i8087/large/atan.o \
	i8087/large/cos.o \
	i8087/large/fabs.o \
	i8087/large/hypot.o \
	i8087/large/log.o \
	i8087/large/sqrt.o \
	i8087/large/two.o
	
libm.a:	$(OBJS)
	$(AR) $(ARFLAGS) $(DESTDIR)libm.a $(OBJS)
	su root chown bin $(DESTDIR)$@@
	su root chgrp bin $(DESTDIR)$@@
	su root chmod 444 $(DESTDIR)$@@
d39 31
a69 6
# libmxs87.lib: $(I87SOBJS)
# 	$(AR) $(ARFLAGS) libmxs87.lib $(I87SOBJS)
# 	
# libmxl87.lib: $(I87LOBJS)
# 	$(AR) $(ARFLAGS) libmxl87.lib $(I87LOBJS)
# 
@


1.1
log
@Initial revision
@
text
@d11 1
d41 4
a44 1
	$(AR) $(ARFLAGS) libm.a $(OBJS)
@
