File: Makefile.am

package info (click to toggle)
libhdf4 4.3.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 30,384 kB
  • sloc: ansic: 128,700; sh: 15,015; fortran: 12,444; java: 5,863; xml: 1,205; makefile: 794; yacc: 678; pascal: 418; perl: 360; javascript: 203; lex: 163; csh: 41
file content (45 lines) | stat: -rw-r--r-- 1,837 bytes parent folder | download | duplicates (2)
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
35
36
37
38
39
40
41
42
43
44
45
#############################################################################
##                      Setup for building programs                        ##
#############################################################################

include $(top_srcdir)/config/commence.am

## Setup the different includes and preprocessor #defines we need.
test_INCLUDES=-I$(top_srcdir)/hdf/src         \
              -I$(top_srcdir)/mfhdf/libsrc    \
              -I$(top_builddir)/mfhdf/libsrc
DEFINES=-DHDF
AM_CPPFLAGS=$(test_INCLUDES) $(DEFINES)

#############################################################################
##                              Testing                                    ##
#############################################################################

TEST_PROG = cdftest hdfnctest hdftest
TEST_SCRIPT = testmfhdf.sh
check_PROGRAMS = cdftest hdfnctest hdftest
check_SCRIPTS = testmfhdf.sh

cdftest_SOURCES = cdftest.c
cdftest_LDADD = $(LIBMFHDF) $(LIBHDF) @LIBS@

hdfnctest_SOURCES = hdfnctest.c tutils.c tncvargetfill.c tunlim.c	\
		    tncunlim.c
hdfnctest_LDADD = $(LIBMFHDF) $(LIBHDF) @LIBS@

hdftest_SOURCES = hdftest.c tutils.c tchunk.c tcomp.c tcoordvar.c	\
		  tdim.c temptySDSs.c tattributes.c texternal.c tfile.c	\
		  tmixed_apis.c tnetcdf.c trank0.c tsd.c tsdsprops.c	\
		  tszip.c tattdatainfo.c tdatainfo.c tdatasizes.c
hdftest_LDADD = $(LIBMFHDF) $(LIBHDF) @LIBS@

#############################################################################
##                          And the cleanup                                ##
#############################################################################

CHECK_CLEANFILES += *.new *.hdf *.cdf *.cdl netcdf.h This* onedimmultivars.nc \
               onedimonevar.nc multidimvar.nc SD_externals

DISTCLEANFILES =

include $(top_srcdir)/config/conclude.am