mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
---------------------- ./Makefile.in [1.3] ./examples/Makefile.in [1.3] ./pablo/Makefile.in [1.3] ./src/Makefile.in [1.3] ./test/Makefile.in [1.3] ./testpar/Makefile.in [1.3] ./tools/Makefile.in [1.3] ./config/commence.in [1.3] ./config/conclude.in [1.3] ./config/depend.in [1.3] Added a `.PATH' target for Irix pmake which is identical to the VPATH used by most other `make' programs. Irix 6.5 (or 6.4?) and later `make' ignores VPATH. Started all beginning-of-line comments with `##' instead of just `#' because Irix `pmake' barfs on things like the following because it sees the `# if' as a directive: # make will barf on the following line # if running Irix pmake ./config/commence.in [1.3] Added empty definitions for optional `make' macros because Irix pmake complains if it sees a macro which has never been defined. The main body of the Makefiles can redefine these macros to whatever they need.
42 lines
979 B
Makefile
42 lines
979 B
Makefile
## hdf5 Parallel Library Test Makefile(.in)
|
|
##
|
|
## Copyright (C) 1998 National Center for Supercomputing Applications
|
|
## All rights reserved
|
|
##
|
|
##
|
|
top_srcdir=@top_srcdir@
|
|
top_builddir=..
|
|
srcdir=@srcdir@
|
|
VPATH=.:@srcdir@
|
|
.PATH: . @srcdir@
|
|
@COMMENCE@
|
|
|
|
## Add the include directory to the C preprocessor flags the the hdf5 library
|
|
## to the library list.
|
|
CPPFLAGS=-I. -I$(srcdir) -I../src -I$(top_srcdir)/src @CPPFLAGS@
|
|
LIBHDF5=../src/libhdf5.la
|
|
|
|
## These tests are parallel
|
|
RUNTEST=$(RUNPARALLEL)
|
|
|
|
## These are our main targets
|
|
TEST_PROGS=testphdf5
|
|
|
|
## Temporary files
|
|
MOSTLYCLEAN=ParaEg[123].h5f
|
|
DISTCLEAN=go
|
|
|
|
## Test source files
|
|
TEST_SRC=testphdf5.c t_dset.c t_file.c t_mpi.c
|
|
TEST_OBJ=$(TEST_SRC:.c=.lo)
|
|
TEST_HDR=testphdf5.h
|
|
|
|
## How to build the tests... They all depend on the hdf5 library
|
|
$(TEST_PROGS): ../src/libhdf5.la
|
|
|
|
testphdf5: $(TEST_OBJ)
|
|
@$(LT_LINK_EXE) $(CFLAGS) -o $@ $(TEST_OBJ) $(LIBHDF5) $(LDFLAGS) $(LIBS)
|
|
|
|
$(TEST_OBJ): $(TEST_HDR)
|
|
@CONCLUDE@
|