#
#	Makefile for libtsp/AF/nucleus
#
SHELL = /bin/sh

prefix=../../..

exec_prefix = $(prefix)
libdir = $(exec_prefix)/lib
includedir = $(prefix)/include

CFLAGS = -O -I$(includedir)

LIB = $(libdir)/libtsp.a

.PRECIOUS: $(LIB)
$(LIB):	$(LIB)(AFbyteOrder.o) $(LIB)(AFcheckIEEE.o) $(LIB)(AFfileSize.o) \
	$(LIB)(AFfileType.o) $(LIB)(AFgetInfoAU.o) $(LIB)(AFgetInfoES.o) \
	$(LIB)(AFgetInfoNH.o) $(LIB)(AFgetInfoIN.o) $(LIB)(AFgetInfoSF.o) \
	$(LIB)(AFgetInfoSP.o) $(LIB)(AFgetRecAU.o) $(LIB)(AFgetRecSP.o) \
	$(LIB)(AFreadF4.o) $(LIB)(AFreadFile.o) $(LIB)(AFreadI2.o) \
	$(LIB)(AFreadMulaw.o) $(LIB)(AFsepRecSP.o) $(LIB)(AFsetFormat.o) \
	$(LIB)(AFsetInfoAU.o) $(LIB)(AFswapBytes.o) $(LIB)(AFupdInfoAU.o) \
	$(LIB)(AFwriteF4.o) $(LIB)(AFwriteFile.o) $(LIB)(AFwriteI2.o) \
	$(LIB)(AFwriteMulaw.o)
	ranlib $(LIB)

$(LIB)(AFbyteOrder.o): $(includedir)/libtsp/AFparms.h
$(LIB)(AFfileType.o): $(includedir)/libtsp/AFparms.h
$(LIB)(AFgetInfoAU.o): $(includedir)/libtsp/AFparms.h \
	$(includedir)/libtsp/AUparms.h
$(LIB)(AFgetInfoES.o): $(includedir)/libtsp/AFparms.h \
	$(includedir)/libtsp/ESparms.h
$(LIB)(AFgetInfoIN.o): $(includedir)/libtsp/AFparms.h
$(LIB)(AFgetInfoNH.o): $(includedir)/libtsp/AFparms.h
$(LIB)(AFgetInfoSF.o): $(includedir)/libtsp/AFparms.h
$(LIB)(AFgetInfoSP.o): $(includedir)/libtsp/AFparms.h
$(LIB)(AFreadF4.o): $(includedir)/libtsp/AFparms.h
$(LIB)(AFreadI2.o): $(includedir)/libtsp/AFparms.h
$(LIB)(AFreadMulaw.o): $(includedir)/libtsp/AFparms.h
$(LIB)(AFsetFormat.o): $(includedir)/libtsp/AFparms.h
$(LIB)(AFsetInfoAU.o): $(includedir)/libtsp/AFparms.h \
	$(includedir)/libtsp/AUparms.h
$(LIB)(AFswapBytes.o): $(includedir)/libtsp/AFparms.h
$(LIB)(AFupdInfoAU.o): $(includedir)/libtsp/AFparms.h \
	$(includedir)/libtsp/AUparms.h
$(LIB)(AFwriteF4.o): $(includedir)/libtsp/AFparms.h
$(LIB)(AFwriteI2.o): $(includedir)/libtsp/AFparms.h
$(LIB)(AFwriteMulaw.o): $(includedir)/libtsp/AFparms.h
