summaryrefslogtreecommitdiffstats
path: root/perform/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'perform/Makefile.in')
-rw-r--r--perform/Makefile.in21
1 files changed, 14 insertions, 7 deletions
diff --git a/perform/Makefile.in b/perform/Makefile.in
index 31c6149..d1b967e 100644
--- a/perform/Makefile.in
+++ b/perform/Makefile.in
@@ -1,7 +1,8 @@
## HDF5 Library Performance Makefile(.in)
##
-## Copyright (C) 2001 National Center for Supercomputing Applications.
-## All rights reserved.
+## Copyright (C) 2001
+## National Center for Supercomputing Applications.
+## All rights reserved.
##
top_srcdir=@top_srcdir@
top_builddir=..
@@ -10,13 +11,14 @@ srcdir=@srcdir@
## Add include directory to the C preprocessor flags and the hdf5 library
## to the library list.
-CPPFLAGS=-I. -I$(srcdir) -I../src -I$(top_srcdir)/src @CPPFLAGS@
+CPPFLAGS=-I. -I$(srcdir) -I../src -I$(top_srcdir)/src -I$(top_srcdir)/tools/lib @CPPFLAGS@
LIBHDF5=../src/libhdf5.la
LIBH5TEST=../test/libh5test.la
+LIBH5TOOLS=../tools/lib/libh5tools.la
## These are the programs that `make all' or `make tests' will build and which
## `make check' will run. List them in the order they should be run.
-TEST_PROGS_PARA=mpi-perf perf
+TEST_PROGS_PARA=mpi-perf perf pio_perf
TEST_PROGS=iopipe chunk overhead
## These are the files that `make clean' (and derivatives) will remove from
@@ -26,14 +28,19 @@ CLEAN=*.h5 *.raw *.dat x-gnuplot
## List all source files here. The list of object files will be
## created by replacing the `.c' with a `.o'. This list is necessary
## for building automatic dependencies.
-TEST_SRC_PARA=mpi-perf.c perf.c
-TEST_SRC=iopipe.c chunk.c overhead.c \
- $(TEST_SRC_PARA)
+PIO_PERF_SRC=pio_perf.c pio_engine.c pio_timer.c
+TEST_SRC_PARA=mpi-perf.c perf.c $(PIO_PERF_SRC)
+TEST_SRC=iopipe.c chunk.c overhead.c $(TEST_SRC_PARA)
+PIO_PERF_OBJ=$(PIO_PERF_SRC:.c=.lo)
TEST_OBJ=$(TEST_SRC:.c=.lo)
## How to build the programs... they all depend on the hdf5 library
$(TEST_PROGS) $(TEST_PROGS_PARA): $(LIBHDF5)
+pio_perf: $(PIO_PERF_OBJ)
+ @$(LT_LINK_EXE) $(CFLAGS) -o $@ $(PIO_PERF_OBJ) $(LIBH5TEST) \
+ $(LIBHDF5) $(LDFLAGS) $(LIBH5TOOLS) $(LIBS)
+
perf: perf.lo
@$(LT_LINK_EXE) $(CFLAGS) -o $@ perf.lo $(LIBH5TEST) $(LIBHDF5) \
$(LDFLAGS) $(LIBS)