home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
libm-5.4-src.tgz
/
tar.out
/
bsd
/
libm
/
Makefile.in
< prev
next >
Wrap
Makefile
|
1996-10-05
|
3KB
|
119 lines
srcdir = @srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
libdir = $(exec_prefix)/lib
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
CC = @CC@
AR = @AR@
AR_FLAGS = cr
RM = rm
RANLIB = @RANLIB@
DEFS = @DEFS@
CFLAGS = @CFLAGS@
INCLUDES = -I$(srcdir)/common_source
OUR_CFLAGS = $(DEFS) $(INCLUDES) $(CFLAGS)
OBJS1 = acosh.o asincos.o asinh.o atan.o atanh.o cosh.o exp.o \
exp__E.o expm1.o floor.o fmod.o log.o \
log10.o log1p.o log__L.o pow.o sinh.o tanh.o
OBJS2 = atan2.o sincos.o tan.o
OBJS3 = cabs.o cbrt.o hypot.o support.o z_abs.o
OBJS = $(OBJS1) $(OBJS2) $(OBJS3)
all : libm.a
libm.a : $(OBJS)
$(AR) $(AR_FLAGS) $@ $(OBJS)
$(RANLIB) $@
acosh.o : $(srcdir)/common_source/acosh.c
$(CC) -c $(OUR_CFLAGS) $?
asincos.o : $(srcdir)/common_source/asincos.c
$(CC) -c $(OUR_CFLAGS) $?
asinh.o : $(srcdir)/common_source/asinh.c
$(CC) -c $(OUR_CFLAGS) $?
atan.o : $(srcdir)/common_source/atan.c
$(CC) -c $(OUR_CFLAGS) $?
atanh.o : $(srcdir)/common_source/atanh.c
$(CC) -c $(OUR_CFLAGS) $?
cosh.o : $(srcdir)/common_source/cosh.c
$(CC) -c $(OUR_CFLAGS) $?
exp.o : $(srcdir)/common_source/exp.c
$(CC) -c $(OUR_CFLAGS) $?
exp__E.o : $(srcdir)/common_source/exp__E.c
$(CC) -c $(OUR_CFLAGS) $?
expm1.o : $(srcdir)/common_source/expm1.c
$(CC) -c $(OUR_CFLAGS) $?
floor.o : $(srcdir)/common_source/floor.c
$(CC) -c $(OUR_CFLAGS) $?
fmod.o : $(srcdir)/common_source/fmod.c
$(CC) -c $(OUR_CFLAGS) $?
log.o : $(srcdir)/common_source/log.c
$(CC) -c $(OUR_CFLAGS) $?
log10.o : $(srcdir)/common_source/log10.c
$(CC) -c $(OUR_CFLAGS) $?
log1p.o : $(srcdir)/common_source/log1p.c
$(CC) -c $(OUR_CFLAGS) $?
log__L.o : $(srcdir)/common_source/log__L.c
$(CC) -c $(OUR_CFLAGS) $?
pow.o : $(srcdir)/common_source/pow.c
$(CC) -c $(OUR_CFLAGS) $?
sinh.o : $(srcdir)/common_source/sinh.c
$(CC) -c $(OUR_CFLAGS) $?
tanh.o : $(srcdir)/common_source/tanh.c
$(CC) -c $(OUR_CFLAGS) $?
atan2.o : $(srcdir)/common/atan2.c
$(CC) -c $(OUR_CFLAGS) $?
sincos.o : $(srcdir)/common/sincos.c
$(CC) -c $(OUR_CFLAGS) $?
tan.o : $(srcdir)/common/tan.c
$(CC) -c $(OUR_CFLAGS) $?
cabs.o : $(srcdir)/ieee/cabs.c
$(CC) -c $(OUR_CFLAGS) $?
cbrt.o : $(srcdir)/ieee/cbrt.c
$(CC) -c $(OUR_CFLAGS) $?
hypot.o : $(srcdir)/ieee/hypot.c
$(CC) -c $(OUR_CFLAGS) $?
support.o : $(srcdir)/ieee/support.c
$(CC) -c $(OUR_CFLAGS) $?
z_abs.o : $(srcdir)/ieee/z_abs.c
$(CC) -c $(OUR_CFLAGS) $?
install : libm.a
$(INSTALL_DATA) $? $(libdir)/$?