mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[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:
This commit is contained in:
parent
6af5ba7c56
commit
c390d06017
@ -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=
|
||||
|
@ -21,8 +21,6 @@ srcdir=@srcdir@
|
||||
|
||||
@COMMENCE@
|
||||
|
||||
EXAMPLEDIR=$(docdir)/hdf5/examples/c++
|
||||
|
||||
hdf5_srcdir=$(top_srcdir)/src
|
||||
hdf5_builddir=$(top_builddir)/src
|
||||
|
||||
|
@ -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=
|
||||
|
@ -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)
|
||||
|
@ -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=
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user