Changes in Makefiles to support the SAFE THREADS capability.

This commit is contained in:
Harry Moffat 2008-01-16 21:38:52 +00:00
parent 405e79bc83
commit bcdd65922a
5 changed files with 14 additions and 11 deletions

View file

@ -65,7 +65,10 @@ CANTERA_LIBDIR=@ct_libdir@
endif
# required Cantera libraries
CANTERA_LIBS = -L$(CANTERA_LIBDIR) @LOCAL_LIBS@ -lctcxx
# -> don't need this: -L$(CANTERA_LIBDIR) as
# @LOCAL_LIB_DIRS@ has this directory
#
CANTERA_LIBS = @LOCAL_LIBS@ -lctcxx
ifeq ($(in_CanteraBuildTree),1)
CANTERA_LIBS_DEP = @LOCAL_LIBS_DEP@ $(CANTERA_LIBDIR)/libctcxx.a
@ -78,11 +81,12 @@ endif
ALT_LIBS_DEP := $(addprefix $(CANTER_LIBDIR), @RAW_LIBS_DEP@ libctcxx.a)
# flags passed to the C++ compiler/linker for the linking step
LCXX_FLAGS = @CXXFLAGS@
LCXX_FLAGS = @CXXFLAGS@ @LOCAL_LIB_DIRS@
# How to compile C++ source files to object files
# -> don't need this: @CXX_INCLUDES@
.cpp.o:
$(CXX) -c $< $(CXX_FLAGS)
$(CXX) -c $< $(CXX_FLAGS)
# How to compile the dependency file
.cpp.d:

View file

@ -65,7 +65,7 @@ CANTERA_LIBDIR=@ct_libdir@
endif
# required Cantera libraries
CANTERA_LIBS = -L$(CANTERA_LIBDIR) @LOCAL_LIBS@ -lctcxx
CANTERA_LIBS = @LOCAL_LIBS@ -lctcxx
ifeq ($(in_CanteraBuildTree),1)
CANTERA_LIBS_DEP = @LOCAL_LIBS_DEP@ $(CANTERA_LIBDIR)/libctcxx.a
@ -77,7 +77,7 @@ endif
ALT_LIBS_DEP := $(addprefix $(CANTER_LIBDIR), @RAW_LIBS_DEP@ libctcxx.a)
# flags passed to the C++ compiler/linker for the linking step
LCXX_FLAGS = @CXXFLAGS@
LCXX_FLAGS = @CXXFLAGS@ @LOCAL_LIB_DIRS@
# How to compile C++ source files to object files
.cpp.o:

View file

@ -60,8 +60,7 @@ CANTERA_LIBDIR=@buildlib@
#
# Setup The Cantera Interface
#
CANTERA_LIBS=-lequil -lVCSnonideal -lthermo -ltpx -lctnumerics \
-lctbase -lctlapack -lctblas -lctcxx
CANTERA_LIBS= @LOCAL_LIBS@ -lctcxx
CANTERA_LIBDEP = \
$(CANTERA_LIBDIR)/libequil.a \
@ -76,7 +75,7 @@ CANTERA_LIBDEP = \
# flags passed to the C++ compiler/linker for the linking step
LCXX_FLAGS = -L$(CANTERA_LIBDIR) @CXXFLAGS@
LCXX_FLAGS = @CXXFLAGS@ @LOCAL_LIB_DIRS@
# How to compile C++ source files to object files
.cpp.o:

View file

@ -53,7 +53,7 @@ CANTERA_INCDIR=@ctroot@/build/include/cantera
INCLUDES=-I$(CANTERA_INCDIR) -I$(CANTERA_INCDIR)/kernel @CXX_INCLUDES@
# flags passed to the C++ compiler/linker for the linking step
LCXX_FLAGS = -L$(CANTERA_LIBDIR) @LOCAL_LIB_DIRS@ @CXXFLAGS@
LCXX_FLAGS = @CXXFLAGS@ @LOCAL_LIB_DIRS@
# How to compile C++ source files to object files
.@CXX_EXT@.@OBJ_EXT@:

View file

@ -64,7 +64,7 @@ CANTERA_LIBDIR=@ct_libdir@
endif
# required Cantera libraries
CANTERA_LIBS = -L$(CANTERA_LIBDIR) @LOCAL_LIBS@ -lctcxx
CANTERA_LIBS = @LOCAL_LIBS@ -lctcxx
ifeq ($(in_CanteraBuildTree),1)
CANTERA_LIBS_DEP = @LOCAL_LIBS_DEP@ $(CANTERA_LIBDIR)/libctcxx.a
@ -76,7 +76,7 @@ endif
ALT_LIBS_DEP := $(addprefix $(CANTER_LIBDIR), @RAW_LIBS_DEP@ libctcxx.a)
# flags passed to the C++ compiler/linker for the linking step
LCXX_FLAGS = @CXXFLAGS@
LCXX_FLAGS = @CXXFLAGS@ @LOCAL_LIB_DIRS@
# How to compile C++ source files to object files
.cpp.o: