summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-05-08 23:19:15 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-05-08 23:19:15 (GMT)
commitc390d06017bb7700f116b4d7523d586f5f9e6a9a (patch)
treef6871a9f2bd4c870120d8cbd27038dd95997894c
parent6af5ba7c56b5af9ba9fe168c8d5889cdf2ad9433 (diff)
downloadhdf5-c390d06017bb7700f116b4d7523d586f5f9e6a9a.zip
hdf5-c390d06017bb7700f116b4d7523d586f5f9e6a9a.tar.gz
hdf5-c390d06017bb7700f116b4d7523d586f5f9e6a9a.tar.bz2
[svn-r6842] Purpose:
Code Cleanup Description: Warning messages were being produced by the "make" program because the "docdir" was being specified twice as a target in the generated Makefiles. This is because the "EXAMPLESDIR" was also defined as "docdir". Solution: Made "EXAMPLESDIR" unique for C, Fortran, and C++ in the commence.in file and removed EXAMPLESDIR from the Makefile.ins Platforms tested: Dangermouse (only affects make system, not code). Misc. update:
-rw-r--r--c++/config/commence.in2
-rw-r--r--c++/examples/Makefile.in2
-rw-r--r--config/commence.in2
-rw-r--r--examples/Makefile.in2
-rw-r--r--fortran/config/commence.in2
-rw-r--r--fortran/examples/Makefile.in2
6 files changed, 3 insertions, 9 deletions
diff --git a/c++/config/commence.in b/c++/config/commence.in
index 8efa81b..8f63096 100644
--- a/c++/config/commence.in
+++ b/c++/config/commence.in
@@ -61,7 +61,7 @@ LT_UNINSTALL=$(LT) --mode=uninstall $(RM)
## complains if it sees a reference to a variable which has never been
## defined. The main makefile is free to redefine these to something else.
DOCDIR=$(docdir)
-EXAMPLEDIR=$(docdir)
+EXAMPLEDIR=$(docdir)/hdf5/examples/c++
LIB=
LIB_SRC=
LIB_OBJ=
diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in
index 3c872b6..8c08e2e 100644
--- a/c++/examples/Makefile.in
+++ b/c++/examples/Makefile.in
@@ -21,8 +21,6 @@ srcdir=@srcdir@
@COMMENCE@
-EXAMPLEDIR=$(docdir)/hdf5/examples/c++
-
hdf5_srcdir=$(top_srcdir)/src
hdf5_builddir=$(top_builddir)/src
diff --git a/config/commence.in b/config/commence.in
index f6a27d0..0cdfce1 100644
--- a/config/commence.in
+++ b/config/commence.in
@@ -59,7 +59,7 @@ LT_UNINSTALL=$(LT) --mode=uninstall $(RM)
## defined. The main makefile is free to redefine these to something else.
DOCDIR=$(docdir)
SUBDOCDIR=
-EXAMPLEDIR=$(docdir)
+EXAMPLEDIR=$(docdir)/hdf5/examples/c
LIB=
LIB_SRC=
LIB_OBJ=
diff --git a/examples/Makefile.in b/examples/Makefile.in
index b9bd4ba..7e9a0c1 100644
--- a/examples/Makefile.in
+++ b/examples/Makefile.in
@@ -17,8 +17,6 @@ top_builddir=..
srcdir=@srcdir@
@COMMENCE@
-EXAMPLEDIR=$(docdir)/hdf5/examples/c
-
## Replace building CC with the just installed h5cc
CC=$(bindir)/h5cc
CPPFLAGS=-I. -I$(srcdir)
diff --git a/fortran/config/commence.in b/fortran/config/commence.in
index 5a05221..6abbfc5 100644
--- a/fortran/config/commence.in
+++ b/fortran/config/commence.in
@@ -69,7 +69,7 @@ LT_LINK_FEXE=$(LT) --mode=link $(F9X) $(LT_STATIC_EXEC) $(DYNAMIC_DIRS)
## complains if it sees a reference to a variable which has never been
## defined. The main makefile is free to redefine these to something else.
DOCDIR=$(docdir)
-EXAMPLEDIR=$(docdir)
+EXAMPLEDIR=$(docdir)/hdf5/examples/fortran
LIB=
LIB_SRC=
LIB_OBJ=
diff --git a/fortran/examples/Makefile.in b/fortran/examples/Makefile.in
index cc58f15..601d51a 100644
--- a/fortran/examples/Makefile.in
+++ b/fortran/examples/Makefile.in
@@ -17,8 +17,6 @@ top_builddir=../..
srcdir=@srcdir@
@COMMENCE@
-EXAMPLEDIR=$(docdir)/hdf5/examples/fortran
-
hdf5_builddir=$(top_builddir)/src
## Replace building FC with the just installed h5fc