Makefile.am 1.72 KB
Newer Older
Uwe Schulzweida's avatar
Uwe Schulzweida committed
1
2
## Process this file with automake to produce Makefile.in
#
3
4
TESTS = test_grib.sh cksum_verify \
	test_cksum_grib test_cksum_nc test_cksum_extra \
5
	test_cksum_service test_cksum_nc2 test_cksum_nc4 test_cksum_ieg \
6
	test_chunk_cksum \
Thomas Jahns's avatar
Thomas Jahns committed
7
	pio_write_run pio_cksum_mpinonb pio_cksum_fpguard \
Thomas Jahns's avatar
Thomas Jahns committed
8
	pio_cksum_asynch pio_cksum_writer pio_cksum_cdf \
Thomas Jahns's avatar
Thomas Jahns committed
9
	test_resource_copy pio_write_deco2d_run
10
check_PROGRAMS = cksum_verify test_grib cksum_write cksum_read pio_write \
Thomas Jahns's avatar
Thomas Jahns committed
11
12
	test_resource_copy cksum_write_chunk pio_write_deco2d

Uwe Schulzweida's avatar
Uwe Schulzweida committed
13
14
#
test_grib_SOURCES = test_grib.c
15
16
17
cksum_verify_SOURCES = cksum_verify.c
cksum_write_SOURCES = cksum_write.c
cksum_write_chunk_SOURCES = cksum_write_chunk.c
18
cksum_read_SOURCES = cksum_read.c \
19
	var_cksum.c var_cksum.h \
20
	stream_cksum.c stream_cksum.h \
21
	ensure_array_size.h ensure_array_size.c
22
23
24
25
pio_write_SOURCES = pio_write.c pio_write.h simple_model.c \
	simple_model_helper.h simple_model_helper.c
pio_write_deco2d_SOURCES = pio_write.c pio_write.h deco2d_model.c \
	simple_model_helper.h simple_model_helper.c
26
27
28
test_resource_copy_SOURCES = test_resource_copy.c \
	$(top_srcdir)/src/resource_unpack.c
test_resource_copy_mpi_SOURCES = test_resource_copy.c
Uwe Schulzweida's avatar
Uwe Schulzweida committed
29
#
30
AM_CFLAGS = $(PPM_CORE_CFLAGS) $(YAXT_CFLAGS)
31
if USE_MPI
32
pio_write_LDADD = ../src/libcdipio.la
Thomas Jahns's avatar
Thomas Jahns committed
33
pio_write_deco2d_LDADD = ../src/libcdipio.la
34
35
36
37
TESTS +=  test_resource_copy_mpi_run
check_PROGRAMS += test_resource_copy_mpi
test_resource_copy_mpi_LDADD = ../src/libcdipio.la
test_resource_copy_mpi_CFLAGS = $(AM_CFLAGS) $(CFLAGS) -DMPI_MARSHALLING
38
39
else
pio_write_LDADD = $(LDADD)
Thomas Jahns's avatar
Thomas Jahns committed
40
pio_write_deco2d_LDADD = $(LDADD)
41
endif
42

43
LDADD = ../src/libcdi.la -lm
Uwe Schulzweida's avatar
Uwe Schulzweida committed
44
45
46
47
INCLUDES   = -I$(top_srcdir)/src
#
EXTRA_DIST = $(TESTS)
#
48
CLEANFILES  = `ls *~ *.grb *.nc *.srv *.ext example_*.cksum`
49
50
#
AUTOMAKE_OPTIONS = color-tests