1997-08-16 00:54:08 +08:00
|
|
|
# HDF5 Library Test Makefile(.in) -*- makefile -*-
|
|
|
|
#
|
|
|
|
# Copyright (C) 1997 National Center for Supercomputing Applications.
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
@COMMENCE@
|
|
|
|
|
|
|
|
# Add include directory to the C preprocessor flags.
|
|
|
|
CPPFLAGS=-I. -I../src @CPPFLAGS@
|
|
|
|
|
|
|
|
# These are our main targets:
|
1997-10-21 07:14:35 +08:00
|
|
|
PROGS=testhdf5 hyperslab istore
|
1997-09-03 01:56:30 +08:00
|
|
|
TESTS=$(PROGS)
|
1997-08-16 00:54:08 +08:00
|
|
|
|
1997-10-21 07:14:35 +08:00
|
|
|
# Source and object files for programs... The PROG_SRC list contains all the
|
|
|
|
# source files and is used for things like dependencies, archiving, etc. The
|
|
|
|
# other source lists are for the individual tests, the files of which may
|
|
|
|
# overlap with other tests.
|
|
|
|
PROG_SRC=testhdf5.c tfile.c theap.c tmeta.c tohdr.c tstab.c th5t.c th5p.c \
|
|
|
|
th5d.c hyperslab.c istore.c
|
1997-08-16 00:54:08 +08:00
|
|
|
PROG_OBJ=$(PROG_SRC:.c=.o)
|
|
|
|
|
1997-10-21 07:14:35 +08:00
|
|
|
TESTHDF5_SRC=testhdf5.c tfile.c theap.c tmeta.c tohdr.c tstab.c th5t.c \
|
|
|
|
th5p.c th5d.c
|
|
|
|
TESTHDF5_OBJ=$(TESTHDF5_SRC:.c=.o)
|
|
|
|
|
|
|
|
HYPERSLAB_SRC=hyperslab.c
|
|
|
|
HYPERSLAB_OBJ=$(HYPERSLAB_SRC:.c=.o)
|
|
|
|
|
|
|
|
ISTORE_SRC=istore.c
|
|
|
|
ISTORE_OBJ=$(ISTORE_SRC:.c=.o)
|
|
|
|
|
1997-08-16 00:54:08 +08:00
|
|
|
# Private header files (not to be installed)...
|
|
|
|
PRIVATE_HDR=testhdf5.h
|
|
|
|
|
|
|
|
# How to build the programs...
|
1997-10-21 07:14:35 +08:00
|
|
|
testhdf5: $(TESTHDF5_OBJ) ../src/libhdf5.a
|
|
|
|
$(CC) $(CFLAGS) -o $@ $(TESTHDF5_OBJ) ../src/libhdf5.a $(LIBS)
|
|
|
|
|
|
|
|
hyperslab: $(HYPERSLAB_OBJ) ../src/libhdf5.a
|
|
|
|
$(CC) $(CFLAGS) -o $@ $(HYPERSLAB_OBJ) ../src/libhdf5.a $(LIBS)
|
|
|
|
|
|
|
|
istore: $(ISTORE_OBJ) ../src/libhdf5.a
|
|
|
|
$(CC) $(CFLAGS) -o $@ $(ISTORE_OBJ) ../src/libhdf5.a $(LIBS)
|
1997-08-16 00:54:08 +08:00
|
|
|
|
|
|
|
@CONCLUDE@
|