From f271832d0dd5edec8daf3da743ba6909f05d3901 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 6 Dec 2000 22:43:42 -0500 Subject: [svn-r3090] Purpose: Fix Description: Windows couldn't handle the .C extension. The filenames had to be changed to *.cpp instead. Solution: Changed in the Makefiles to accomodate said change. Platforms tested: Eyeballed. --- c++/examples/Makefile.in | 10 +++++----- c++/src/Makefile.in | 14 +++++++------- c++/test/Makefile.in | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in index ac6233d..eb67898 100644 --- a/c++/examples/Makefile.in +++ b/c++/examples/Makefile.in @@ -19,15 +19,15 @@ CPPFLAGS=-I. -I../src -I$(srcdir)/../src -I$(hdf5_builddir) -I$(hdf5_srcdir) @CP LIBHDF5=$(hdf5_builddir)/libhdf5.la ## List all source files here. The list of object files will be -## created by replacing the `.C' with a `.lo'. This list is necessary +## created by replacing the `.cpp' with a `.lo'. This list is necessary ## for building automatic dependencies. -TEST_SRC=compound.C h5group.C create.C readdata.C chunks.C extend_ds.C \ - writedata.C -TEST_OBJ=$(TEST_SRC:.C=.lo) +TEST_SRC=compound.cpp h5group.cpp create.cpp readdata.cpp chunks.cpp \ + extend_ds.cpp writedata.cpp +TEST_OBJ=$(TEST_SRC:.cpp=.lo) ## These are the programs that `make all' or `make tests' will build and which ## `make check' will run. List them in the order they should be run. -TEST_PROGS=$(TEST_SRC:.C=) +TEST_PROGS=$(TEST_SRC:.cpp=) ## These are the files that `make clean' (and derivatives) will remove from ## this directory. diff --git a/c++/src/Makefile.in b/c++/src/Makefile.in index 05453ad..431602e 100644 --- a/c++/src/Makefile.in +++ b/c++/src/Makefile.in @@ -21,13 +21,13 @@ CPPFLAGS=-I. -I$(hdf5_builddir) -I$(hdf5_srcdir) @CPPFLAGS@ LIB=libhdf5_cpp.la ## Source and object files for the library -LIB_SRC=H5Exception.C H5RefCounter.C H5IdComponent.C H5Library.C \ - H5Attribute.C H5Object.C H5PropList.C H5FaccProp.C \ - H5FcreatProp.C H5DcreatProp.C H5DxferProp.C H5DataType.C \ - H5DataSpace.C H5AbstractDs.C H5AtomType.C H5PredType.C \ - H5EnumType.C H5IntType.C H5FloatType.C H5StrType.C \ - H5CompType.C H5DataSet.C H5CommonFG.C H5Group.C H5File.C -LIB_OBJ=$(LIB_SRC:.C=.lo) +LIB_SRC=H5Exception.cpp H5RefCounter.cpp H5IdComponent.cpp H5Library.cpp \ + H5Attribute.cpp H5Object.cpp H5PropList.cpp H5FaccProp.cpp \ + H5FcreatProp.cpp H5DcreatProp.cpp H5DxferProp.cpp H5DataType.cpp \ + H5DataSpace.cpp H5AbstractDs.cpp H5AtomType.cpp H5PredType.cpp \ + H5EnumType.cpp H5IntType.cpp H5FloatType.cpp H5StrType.cpp \ + H5CompType.cpp H5DataSet.cpp H5CommonFG.cpp H5Group.cpp H5File.cpp +LIB_OBJ=$(LIB_SRC:.cpp=.lo) PUB_HDR=H5Cpp.h diff --git a/c++/test/Makefile.in b/c++/test/Makefile.in index 230f24d..8683eae 100644 --- a/c++/test/Makefile.in +++ b/c++/test/Makefile.in @@ -27,11 +27,11 @@ TEST_PROGS_SRC= TEST_PROGS= TEST_SRC= -TEST_OBJ=$(TEST_SRC:.C=.lo) +TEST_OBJ=$(TEST_SRC:.cpp=.lo) TEST_SCRIPTS=testexamples.sh -DISTCLEAN=$(TEST_PROGS_SRC:.C=.lo) $(TEST_PROGS_SRC:.C=.o) *.h5 +DISTCLEAN=$(TEST_PROGS_SRC:.cpp=.lo) $(TEST_PROGS_SRC:.cpp=.o) *.h5 $(TEST_PROGS): $(LIB) @echo No C++ test as of yet. -- cgit v0.12