1998-11-20 01:36:27 +08:00
|
|
|
# hdf5 Parallel Library Test Makefile(.in)
|
1998-11-13 23:06:06 +08:00
|
|
|
#
|
|
|
|
# Copyright (C) 1998 National Center for Supercomputing Applications
|
|
|
|
# All rights reserved
|
|
|
|
#
|
|
|
|
#
|
1999-03-04 07:17:48 +08:00
|
|
|
top_srcdir=@top_srcdir@
|
1999-03-20 04:09:50 +08:00
|
|
|
top_builddir=..
|
|
|
|
srcdir=@srcdir@
|
|
|
|
VPATH=.:@srcdir@
|
|
|
|
@COMMENCE@
|
1998-11-13 23:06:06 +08:00
|
|
|
|
|
|
|
# Add the include directory to the C preprocessor flags the the hdf5 library
|
1999-02-16 05:15:33 +08:00
|
|
|
# to the library list.
|
1999-03-20 04:09:50 +08:00
|
|
|
CPPFLAGS=-I. -I$(srcdir) -I../src -I$(top_srcdir)/src @CPPFLAGS@
|
1999-03-18 21:42:52 +08:00
|
|
|
LIBHDF5=../src/libhdf5.la
|
1998-11-13 23:06:06 +08:00
|
|
|
|
|
|
|
# These tests are parallel
|
|
|
|
RUNTEST=$(RUNPARALLEL)
|
|
|
|
|
|
|
|
# These are our main targets
|
1999-02-16 05:15:33 +08:00
|
|
|
TEST_PROGS=testphdf5
|
1998-11-13 23:06:06 +08:00
|
|
|
|
|
|
|
# Temporary files
|
|
|
|
MOSTLYCLEAN=ParaEg[123].h5f
|
|
|
|
DISTCLEAN=go
|
|
|
|
|
|
|
|
# Test source files
|
1999-02-17 12:39:22 +08:00
|
|
|
TEST_SRC=testphdf5.c t_dset.c t_file.c t_mpi.c
|
1999-04-26 22:43:53 +08:00
|
|
|
TEST_OBJ=$(TEST_SRC:.c=.lo)
|
1999-07-01 06:04:22 +08:00
|
|
|
TEST_HDR=testphdf5.h
|
1998-11-13 23:06:06 +08:00
|
|
|
|
|
|
|
# How to build the tests... They all depend on the hdf5 library
|
1999-03-03 01:15:35 +08:00
|
|
|
$(TEST_PROGS): ../src/libhdf5.la
|
1998-11-13 23:06:06 +08:00
|
|
|
|
1999-02-16 05:15:33 +08:00
|
|
|
testphdf5: $(TEST_OBJ)
|
1999-03-18 21:42:52 +08:00
|
|
|
@$(LT_LINK_EXE) $(CFLAGS) -o $@ $(TEST_OBJ) $(LIBHDF5) $(LDFLAGS) $(LIBS)
|
1998-11-13 23:06:06 +08:00
|
|
|
|
1999-07-01 06:04:22 +08:00
|
|
|
$(TEST_OBJ): $(TEST_HDR)
|
1998-11-13 23:06:06 +08:00
|
|
|
@CONCLUDE@
|