summaryrefslogtreecommitdiffstats
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-07-12 20:21:57 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-07-12 20:21:57 (GMT)
commita73ea1b4f06635fa712d93f3d956fbede0bd8294 (patch)
treed945f18cd2e2797ca7e881367d4ba86cf892ce79 /src/Makefile.in
parent1e91849e851e7b332bffc7dd1730f20f2eb17cd7 (diff)
downloadhdf5-a73ea1b4f06635fa712d93f3d956fbede0bd8294.zip
hdf5-a73ea1b4f06635fa712d93f3d956fbede0bd8294.tar.gz
hdf5-a73ea1b4f06635fa712d93f3d956fbede0bd8294.tar.bz2
[svn-r13969] Description:
Initial checkin of API version macro generation script (bin/make_vers), along with configuration file (src/H5vers.txt) and generated header (src/H5version.h). Right now, no version macros are defined, since the main source code and tests need to be adjusted to pay attention to the macros defined. Also, fixed makefile for generating error header files when used with GNU make. Tested on: Mac OS X/32 10.4.10 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index bf9074f..c6284b6 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -442,7 +442,7 @@ libhdf5_la_SOURCES = H5.c H5checksum.c H5dbg.c H5system.c H5timer.c H5trace.c \
# Public headers
-include_HEADERS = H5public.h H5Apublic.h H5ACpublic.h \
+include_HEADERS = H5public.h H5version.h H5Apublic.h H5ACpublic.h \
H5Cpublic.h H5Dpublic.h \
H5Epubgen.h H5Epublic.h H5Fpublic.h H5FDpublic.h H5FDcore.h H5FDdirect.h \
H5FDfamily.h H5FDlog.h H5FDmpi.h H5FDmpio.h H5FDmpiposix.h \
@@ -1062,13 +1062,18 @@ help:
# http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have
# access to either file, you may request a copy from help@hdfgroup.org.
+# API version macro generation
+#
+$(top_srcdir)/src/H5version.h: $(top_srcdir)/src/H5vers.txt
+ perl $(top_srcdir)/bin/make_vers $?
+
# Error header generation
#
# Actually, H5Einit.h, H5Eterm.h, H5Edefin.h and H5Epubgen.h all
# depend on H5err.txt, but the perl script generates them all, so just
# list one here.
$(top_srcdir)/src/H5Edefin.h: $(top_srcdir)/src/H5err.txt
- perl $(top_srcdir)/bin/make_err $>
+ perl $(top_srcdir)/bin/make_err $?
# Number format detection
# The LD_LIBRARY_PATH setting is a klutch.