summaryrefslogtreecommitdiffstats
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-08-13 01:58:10 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-08-13 01:58:10 (GMT)
commitd72cdcad4da57bb02f41afaac47cf08281143f0f (patch)
tree87dcca8e455bc1a751f71b966495ed86a9566fe3 /src/Makefile.in
parentd88b379479f316f2147c1053aa0037d3ef2903a4 (diff)
downloadhdf5-d72cdcad4da57bb02f41afaac47cf08281143f0f.zip
hdf5-d72cdcad4da57bb02f41afaac47cf08281143f0f.tar.gz
hdf5-d72cdcad4da57bb02f41afaac47cf08281143f0f.tar.bz2
[svn-r7355] Purpose:
Code cleanup, etc. Description: Previously (in versions prior to 1.7), there were two locations to modify when an error was added to the library. Now, with the new error API, there were four. Solution: Created a single text file (src/H5err.txt) and a perl script (bin/make_err) which uses the text file to automatically create header files that are included in appropriate places in the library. This means that there is only one file (src/H5err.txt) which needs to be modified when a new error code is added to the library. The automatically generated headers depend on this file and the makefiles will take care of running the perl script to regenerate them when the text file changes, so no user action is required when a new error is added. Platforms tested: h5committested
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in34
1 files changed, 21 insertions, 13 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 406bc3b..c3eca2e 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -54,22 +54,30 @@ MOSTLYCLEAN=H5detect.o H5detect.lo H5detect H5Tinit.o H5Tinit.lo H5Tinit.c
## Public header files (to be installed)...
PUB_HDR=H5public.h H5Apublic.h H5ACpublic.h H5Bpublic.h H5Dpublic.h \
- H5Epublic.h H5Fpublic.h H5FDpublic.h H5FDcore.h H5FDfamily.h \
- H5FDfphdf5.h H5FDgass.h H5FDlog.h H5FDmpio.h H5FDmpiposix.h \
- H5FDmulti.h H5FDsec2.h H5FDsrb.h H5FDstdio.h H5FDstream.h \
- H5FPpublic.h H5Gpublic.h H5HGpublic.h H5HLpublic.h H5Ipublic.h \
- H5MMpublic.h H5Opublic.h H5Ppublic.h H5Rpublic.h H5Spublic.h \
- H5Tpublic.h H5Zpublic.h H5pubconf.h hdf5.h H5api_adpt.h
+ H5Epubgen.h H5Epublic.h H5Fpublic.h H5FDpublic.h H5FDcore.h \
+ H5FDfamily.h H5FDfphdf5.h H5FDgass.h H5FDlog.h H5FDmpio.h \
+ H5FDmpiposix.h H5FDmulti.h H5FDsec2.h H5FDsrb.h H5FDstdio.h \
+ H5FDstream.h H5FPpublic.h H5Gpublic.h H5HGpublic.h H5HLpublic.h \
+ H5Ipublic.h H5MMpublic.h H5Opublic.h H5Ppublic.h H5Rpublic.h \
+ H5Spublic.h H5Tpublic.h H5Zpublic.h H5pubconf.h hdf5.h H5api_adpt.h
## Other header files (not to be installed)...
PRIVATE_HDR=H5private.h H5Aprivate.h H5Apkg.h H5ACprivate.h H5Bprivate.h \
- H5Dprivate.h H5Eprivate.h H5Fprivate.h H5FDprivate.h H5FLprivate.h \
- H5FOprivate.h H5FPprivate.h H5FSprivate.h H5Gprivate.h H5Gpkg.h \
- H5HGprivate.h H5HGpkg.h H5HLprivate.h H5HLpkg.h H5HPprivate.h \
- H5Iprivate.h H5MFprivate.h H5MMprivate.h H5Oprivate.h H5Opkg.h \
- H5Pprivate.h H5Ppkg.h H5Rprivate.h H5RSprivate.h H5Sprivate.h \
- H5STprivate.h H5Tprivate.h H5TBprivate.h H5Tpkg.h H5TSprivate.h \
- H5Vprivate.h H5Zprivate.h H5Zpkg.h H5config.h
+ H5Dprivate.h H5Edefin.h H5Einit.h H5Eprivate.h H5Eterm.h H5Fprivate.h \
+ H5FDprivate.h H5FLprivate.h H5FOprivate.h H5FPprivate.h H5FSprivate.h \
+ H5Gprivate.h H5Gpkg.h H5HGprivate.h H5HGpkg.h H5HLprivate.h H5HLpkg.h \
+ H5HPprivate.h H5Iprivate.h H5MFprivate.h H5MMprivate.h H5Oprivate.h \
+ H5Opkg.h H5Pprivate.h H5Ppkg.h H5Rprivate.h H5RSprivate.h \
+ H5Sprivate.h H5STprivate.h H5Tprivate.h H5TBprivate.h H5Tpkg.h \
+ H5TSprivate.h H5Vprivate.h H5Zprivate.h H5Zpkg.h H5config.h
+
+## 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 $>
## Number format detection
## The LD_LIBRARY_PATH setting is a klutch.