summaryrefslogtreecommitdiffstats
path: root/hl/fortran/test/Makefile.am
blob: 3aee1657dbeab59c1c0d058c436c6dacd8c6ccf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#
# Copyright (C) 2001 National Center for Supercomputing Applications.
#                    All rights reserved.
#
##
## Makefile.am
## Run automake to generate a Makefile.in from this file.
##
#
# HDF5 High-Level Fortran Makefile(.in)

include $(top_srcdir)/config/commence.am

AM_CPPFLAGS=-I$(top_srcdir)/src $(top_builddir)/src
AM_FFLAGS=-I$(top_builddir)/fortran/src -I$(top_builddir)/hl/fortran/src $(F9XMODFLAG)$(top_builddir)/fortran/src $(F9XMODFLAG)$(top_builddir)/hl/fortran/src

# Fortran libraries are linked statically to solve a build problem.
AM_LDFLAGS=-static

# Our main target, the test programs
TEST_PROG=tstlite tstimage tsttable
check_PROGRAMS=$(TEST_PROG)

LDADD=$(LIBH5_HL) $(LIBH5F_HL) $(LIBH5F) $(LIBHDF5)

# Source files for the programs
tstlite_SOURCES=tstlite.f90
tstimage_SOURCES=tstimage.f90
tsttable_SOURCES=tsttable.f90

# Temporary files.
MOSTLYCLEANFILES=dsetf[1-4].h5 f1img.h5 f1tab.h5

include $(top_srcdir)/config/conclude.am