From 4ce50652bc539c27341026483ae98dea3151eee2 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Thu, 22 Nov 2007 10:46:20 +0000 Subject: [PATCH] src/Makefile.am * Fortran bindings have been moved to another directory --- src/Makefile.am | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index 2d32bb7..e26eb82 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -37,38 +37,30 @@ nodist_include_HEADERS = @UNDERSCORE_H@ lib_LIBRARIES = @MTARGET@ # Listing of all possible targets that I may build. -EXTRA_LIBRARIES = libH5Part.a libH5PartF.a +EXTRA_LIBRARIES = libH5Part.a # Header files that I wish to install in $(prefix)/include -include_HEADERS = H5Part.h H5PartTypes.h H5PartErrors.h H5Block.h H5BlockTypes.h H5BlockErrors.h H5Part.inc H5PartF90.inc H5BlockF90.inc @UNDERSCORE_H@ +include_HEADERS = H5Part.h H5PartTypes.h H5PartErrors.h H5Block.h H5BlockTypes.h H5BlockErrors.h # Listing of all possible headers that I may include EXTRA_HEADERS = H5PartPrivate.h H5BlockPrivate.h # Listing of sources libH5Part_a_SOURCES = H5Part.c H5Block.c -libH5PartF_a_SOURCES = H5PartF.c H5BlockF.c -H5Part.inc: H5PartF90.inc - grep "INTEGER.* FUNCTION" $< | while read type func name rest; do echo " $$type $$name"; done > $@ +SUBDIRS = h5 # Specific building instruction (What compilers to use...) # ------------ Serial Lib build commands ------------ libH5Part.a: H5Part.o H5Block.o ${AR} rucs $@ $^ -libH5PartF.a: H5Part.o H5PartF.o H5Block.o H5BlockF.o - ${AR} rucs $@ $^ - %.o : %.c $(CC) $(CFLAGS) $(INC) -c $< H5Part.o: H5Part.c H5Part.h H5PartPrivate.h H5PartTypes.h -H5PartF.o: H5PartF.c Underscore.h H5Part.h H5Block.o: H5Block.c H5Part.h H5PartPrivate.h H5PartTypes.h H5Block.h H5BlockTypes.h -H5BlockF.o: H5BlockF.c Underscore.h H5Block.h - # ----------- Build Parallel H5Part Stuff ------------ @@ -76,10 +68,6 @@ libpH5Part.a: libH5Part.a ${RM} $@ ln -s $^ $@ -libpH5PartF.a: libH5PartF.a - ${RM} $@ - ln -s $^ $@ - clean: rm -f *~ *.o *.a *.so