Makefile.am 1.23 KB
Newer Older
gsell's avatar
gsell committed
1 2 3 4 5 6 7 8 9
#
# Copyright (c) 2006-2015, The Regents of the University of California,
# through Lawrence Berkeley National Laboratory (subject to receipt of any
# required approvals from the U.S. Dept. of Energy) and the Paul Scherrer
# Institut (Switzerland).  All rights reserved.!
#
# License: see file COPYING in top level of source distribution.
#

gsell's avatar
gsell committed
10
AM_CPPFLAGS += -I${abs_top_srcdir}/src/include
11
FFLAGS += -cpp $(AM_CPPFLAGS)
gsell's avatar
gsell committed
12
AM_LDFLAGS += -L${abs_top_builddir}/src/h5core/.libs
13 14 15 16 17

LDADD = 

if ENABLE_FORTRAN
LDADD += -lH5hutF
18
AM_LDFLAGS += -L${abs_top_builddir}/src/Fortran/.libs
19 20 21 22 23 24 25
endif

LDADD += -lH5hut

noinst_PROGRAMS = 

if ENABLE_C
26 27 28 29 30 31 32 33
noinst_PROGRAMS +=		\
	attach_file		\
	openclose		\
	query			\
	read_file_attribs	\
	read_step_attribs	\
	write_file_attribs	\
	write_step_attribs
34 35 36
endif

if ENABLE_FORTRAN
37 38 39 40 41 42 43 44 45 46 47 48 49 50
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
51 52
endif

53 54
%.o : %.f90
	$(FC)  $(FFLAGS) -c $<