Makefile.am 918 Bytes
Newer Older
gsell's avatar
gsell committed
1
AM_CPPFLAGS += -I${abs_top_srcdir}/src/include
2
FFLAGS += -cpp $(AM_CPPFLAGS)
gsell's avatar
gsell committed
3
AM_LDFLAGS += -L${abs_top_builddir}/src/h5core/.libs
4 5 6 7 8

LDADD = 

if ENABLE_FORTRAN
LDADD += -lH5hutF
9
AM_LDFLAGS += -L${abs_top_builddir}/src/Fortran/.libs
10 11 12 13 14 15 16
endif

LDADD += -lH5hut

noinst_PROGRAMS = 

if ENABLE_C
17 18 19 20 21 22 23 24
noinst_PROGRAMS +=		\
	attach_file		\
	openclose		\
	query			\
	read_file_attribs	\
	read_step_attribs	\
	write_file_attribs	\
	write_step_attribs
25 26 27
endif

if ENABLE_FORTRAN
28 29 30 31 32 33 34 35 36 37 38 39 40 41
noinst_PROGRAMS +=		\
	openclosef		\
	queryf			\
	read_file_attribsf	\
	read_step_attribsf	\
	write_file_attribsf 	\
	write_step_attribsf

openclosef_SOURCES = openclosef.f90
queryf_SOURCES = queryf.f90
read_file_attribsf_SOURCES = read_file_attribsf.f90
read_step_attribsf_SOURCES = read_step_attribsf.f90
write_file_attribsf_SOURCES = write_file_attribsf.f90
write_step_attribsf_SOURCES = write_step_attribsf.f90
42 43
endif

44 45
%.o : %.f90
	$(FC)  $(FFLAGS) -c $<