mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-24 15:25:00 +08:00
[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.
This commit is contained in:
parent
4e615c2188
commit
f271832d0d
@ -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.
|
||||
|
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user