pkgsrc/math/fftpack/files/Makefile
jtb fc38234e92 Don't build shared Fortran libraries. They're too problematic.
Strictly numerical libraries, like fftpack, work fine, but some
which make use of Fortran I/O have problems resolving symbols.
This is a known problem with g77/f2c.
2001-02-02 00:23:49 +00:00

25 lines
642 B
Makefile

LIB = fftpack
LIBDIR = ${PREFIX}/lib
all: lib$(LIB).a
OBJS = cfftb.o cosqf1.o passb2.o radb2.o radfg.o \
sinqi.o cfftb1.o cosqi.o passb3.o radb3.o rfftb.o \
sint.o cfftf.o cost.o passb4.o radb4.o rfftb1.o \
sint1.o cfftf1.o costi.o passb5.o radb5.o rfftf.o \
sinti.o cffti.o ezfft1.o passf.o radbg.o rfftf1.o \
cffti1.o ezfftb.o passf2.o radf2.o rffti.o \
cosqb.o ezfftf.o passf3.o radf3.o rffti1.o cosqb1.o \
ezffti.o passf4.o radf4.o sinqb.o cosqf.o passb.o \
passf5.o radf5.o sinqf.o
lib$(LIB).a: $(OBJS)
$(AR) cru $@ $?
$(RANLIB) $@
install: lib$(LIB).a
$(BSD_INSTALL_DATA) $? $(LIBDIR)
clean:
rm -f *.o lib$(LIB).a