Remove files for Autotools and Visual Studio build systems
This commit is contained in:
parent
bb82aa88ef
commit
71588d307d
514 changed files with 0 additions and 199296 deletions
|
|
@ -1,57 +0,0 @@
|
|||
#/bin/sh
|
||||
###############################################################
|
||||
# $Author: hkmoffa $
|
||||
# $Date: 2007/05/06 17:16:43 $
|
||||
# $Revision: 1.8 $
|
||||
#
|
||||
# Copyright 2001 California Institute of Technology
|
||||
# See file License.txt for licensing information
|
||||
#
|
||||
###############################################################
|
||||
|
||||
build_f90=@BUILD_F90@
|
||||
build_python=@BUILD_PYTHON@
|
||||
build_matlab = @BUILD_MATLAB@
|
||||
|
||||
all:
|
||||
cd src; @MAKE@
|
||||
cd cxx; @MAKE@
|
||||
cd clib/src; @MAKE@
|
||||
ifeq ($(build_f90),1)
|
||||
cd fortran/src; @MAKE@
|
||||
endif
|
||||
cd user; @MAKE@
|
||||
|
||||
clean:
|
||||
cd src; @MAKE@ clean
|
||||
cd cxx; @MAKE@ clean
|
||||
cd clib/src; $(RM) .depends ; @MAKE@ clean
|
||||
cd python; @MAKE@ clean
|
||||
ifeq ($(build_f90),1)
|
||||
cd fortran/src; $(RM) .depends ; @MAKE@ clean
|
||||
endif
|
||||
cd user; $(RM) .depends ; @MAKE@ clean
|
||||
|
||||
depends:
|
||||
cd src; @MAKE@ depends
|
||||
cd cxx/src; @MAKE@ depends
|
||||
cd clib/src; @MAKE@ depends
|
||||
ifeq ($(build_f90),1)
|
||||
cd fortran/src; @MAKE@ depends
|
||||
endif
|
||||
ifeq ($(build_matlab),1)
|
||||
cd matlab; @MAKE@ depends
|
||||
endif
|
||||
cd user; @MAKE@ depends
|
||||
|
||||
install:
|
||||
cd src; @MAKE@ install
|
||||
cd cxx/src; @MAKE@ install
|
||||
cd clib/src; @MAKE@ install
|
||||
ifeq ($(build_f90),1)
|
||||
cd fortran/src; @MAKE@ install
|
||||
endif
|
||||
cd user; @MAKE@ install
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,120 +0,0 @@
|
|||
#/bin/sh
|
||||
###############################################################
|
||||
# $Author$
|
||||
# $Date$
|
||||
# $Revision$
|
||||
#
|
||||
# Copyright 2001 California Institute of Technology
|
||||
#
|
||||
###############################################################
|
||||
|
||||
|
||||
.SUFFIXES :
|
||||
.SUFFIXES : .cpp .d .o
|
||||
|
||||
INSTALL_TSC = ../../../bin/install_tsc
|
||||
do_ranlib = @DO_RANLIB@
|
||||
|
||||
PURIFY=@PURIFY@
|
||||
|
||||
PIC_FLAG=@PIC@
|
||||
|
||||
CXX_FLAGS = @CXXFLAGS@ $(CXX_OPT) $(PIC_FLAG)
|
||||
|
||||
OBJS = ct.o Storage.o ctsurf.o ctrpath.o \
|
||||
ctreactor.o ctfunc.o ctxml.o ctonedim.o ctmultiphase.o
|
||||
CLIB_H= Cabinet.h ctreactor.h clib_defs.h ctfunc.h \
|
||||
ctnum.h ctsurf.h ct.h ctrpath.h Storage.h \
|
||||
ctbdry.h ctonedim.h ctxml.h ctmultiphase.h ctstagn.h
|
||||
|
||||
DEPENDS = $(OBJS:.o=.d)
|
||||
|
||||
# Fortran libraries
|
||||
FORT_LIBS = @FLIBS@
|
||||
|
||||
shared_ctlib = @SHARED_CTLIB@
|
||||
|
||||
# the C++ compiler
|
||||
CXX = @CXX@
|
||||
|
||||
# external libraries
|
||||
EXT_LIBS = -lzeroD -loneD @LOCAL_LIBS@
|
||||
|
||||
# the directory where the Cantera libraries are located
|
||||
CANTERA_LIBDIR=@buildlib@
|
||||
# ../../../lib
|
||||
LIB_DEPS = $(CANTERA_LIBDIR)/libctbase.a \
|
||||
$(CANTERA_LIBDIR)/libequil.a \
|
||||
$(CANTERA_LIBDIR)/libtransport.a \
|
||||
$(CANTERA_LIBDIR)/libthermo.a \
|
||||
$(CANTERA_LIBDIR)/libctnumerics.a \
|
||||
$(CANTERA_LIBDIR)/libzeroD.a \
|
||||
$(CANTERA_LIBDIR)/liboneD.a
|
||||
|
||||
# the directory where Cantera include files may be found.
|
||||
CXX_INCLUDES = -I../../src/base -I../../src/thermo -I../../src/kinetics -I../../src/transport -I../../src/numerics -I../../src/oneD -I../../src/zeroD -I../../src/equil -I../../src/converters @CXX_INCLUDES@
|
||||
|
||||
# flags passed to the C++ compiler/linker for the linking step
|
||||
LCXX_FLAGS = -L$(CANTERA_LIBDIR) @CXXFLAGS@
|
||||
|
||||
# how to compile C++ source files to object files
|
||||
.@CXX_EXT@.@OBJ_EXT@:
|
||||
$(PURIFY) $(CXX) -c $< $(CXX_INCLUDES) $(CXX_FLAGS)
|
||||
|
||||
%.d: Makefile %.o
|
||||
@CXX_DEPENDS@ $(CXX_FLAGS) $(CXX_INCLUDES) $*.cpp > $*.d
|
||||
|
||||
LIB_NAME=lib@CT_SHARED_LIB@
|
||||
|
||||
ifeq ($(shared_ctlib),1)
|
||||
CTLIB = @buildlib@/$(LIB_NAME)@SO@
|
||||
else
|
||||
CTLIB = @buildlib@/$(LIB_NAME).a
|
||||
endif
|
||||
|
||||
all: $(CTLIB) .depends
|
||||
|
||||
$(CTLIB): $(OBJS) $(LIB_DEPS)
|
||||
$(RM) $(CTLIB)
|
||||
ifeq ($(shared_ctlib),1)
|
||||
$(PURIFY) $(CXX) -o $(CTLIB) $(OBJS) $(LCXX_FLAGS)\
|
||||
@SHARED@ $(LINK_OPTIONS) \
|
||||
$(EXT_LIBS) @LIBS@ $(FORT_LIBS)
|
||||
else
|
||||
@ARCHIVE@ $(CTLIB) $(OBJS)
|
||||
ifeq ($(do_ranlib),1)
|
||||
@RANLIB@ $(CTLIB)
|
||||
endif
|
||||
endif
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) *.d $(CTLIB) .depends
|
||||
(if test -d SunWS_cache ; then \
|
||||
$(RM) -rf SunWS_cache ; \
|
||||
fi )
|
||||
|
||||
|
||||
install:
|
||||
@INSTALL@ -d @ct_libdir@
|
||||
@INSTALL@ -c -m 644 $(CTLIB) @ct_libdir@
|
||||
ifeq ($(do_ranlib),1)
|
||||
ifeq ($(shared_ctlib),0)
|
||||
@RANLIB@ @ct_libdir@/$(LIB_NAME).a
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
win-install:
|
||||
@INSTALL@ -c ../../../lib/clib.lib @prefix@/lib/cantera
|
||||
|
||||
depends:
|
||||
@MAKE@ .depends
|
||||
|
||||
.depends: $(DEPENDS)
|
||||
cat *.d > .depends
|
||||
|
||||
$(OBJS): Makefile
|
||||
|
||||
ifeq ($(wildcard .depends), .depends)
|
||||
include .depends
|
||||
endif
|
||||
|
|
@ -1,57 +0,0 @@
|
|||
#/bin/sh
|
||||
###############################################################
|
||||
# $Author: hkmoffa $
|
||||
# $Date: 2009/04/04 03:27:43 $
|
||||
# $Revision: 1.14 $
|
||||
#
|
||||
# Copyright 2001 California Institute of Technology
|
||||
# See file License.txt for licensing information
|
||||
#
|
||||
###############################################################
|
||||
|
||||
build_f90=@BUILD_F90@
|
||||
build_python=@BUILD_PYTHON@
|
||||
|
||||
INCDIR = ../../build/include/cantera
|
||||
INSTALL_TSC = ../../../bin/install_tsc
|
||||
|
||||
CXX_H = Cantera.h equilibrium.h IncompressibleSolid.h \
|
||||
kinetics.h onedim.h surface.h GRI30.h integrators.h \
|
||||
Metal.h PureFluid.h transport.h Edge.h \
|
||||
IdealGasMix.h Interface.h numerics.h \
|
||||
reactionpaths.h zerodim.h importPhase.h thermo.h \
|
||||
radiation.h spectra.h electrolyteThermo.h Cantera.mak Cantera_bt.mak
|
||||
|
||||
all:
|
||||
@(cd include ; \
|
||||
for lh in $(CXX_H) ; do \
|
||||
$(INSTALL_TSC) "$${lh}" "../"$(INCDIR) ; \
|
||||
done)
|
||||
cd src; @MAKE@
|
||||
# cd demos; @MAKE@
|
||||
|
||||
clean:
|
||||
@(for lh in $(CXX_H) ; do \
|
||||
th=$(INCDIR)/"$${lh}" ; \
|
||||
if test -f "$${th}" ; then \
|
||||
$(RM) "$${th}" ; \
|
||||
echo "$(RM) $${th}" ; \
|
||||
fi \
|
||||
done)
|
||||
cd src; $(RM) .depends ; @MAKE@ clean
|
||||
cd demos; $(RM) .depends ; @MAKE@ clean
|
||||
|
||||
depends:
|
||||
cd src; @MAKE@ depends
|
||||
# cd demos; @MAKE@ depends
|
||||
|
||||
install:
|
||||
cd src; @MAKE@ install
|
||||
cd demos; @MAKE@ install
|
||||
|
||||
demos:
|
||||
cd demos; @MAKE@
|
||||
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
############################################################################
|
||||
#
|
||||
# Makefile to compile and link a C++ application to
|
||||
# Cantera.
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
all:
|
||||
cd combustor; @MAKE@
|
||||
cd kinetics1; @MAKE@
|
||||
cd flamespeed; @MAKE@
|
||||
cd NASA_coeffs; @MAKE@
|
||||
|
||||
test:
|
||||
cd combustor; @MAKE@ -s test
|
||||
cd kinetics1; @MAKE@ -s test
|
||||
cd NASA_coeffs; @MAKE@ -s test
|
||||
cd flamespeed; @MAKE@ -s test
|
||||
|
||||
install:
|
||||
@INSTALL@ -d @ct_demodir@/cxx
|
||||
@INSTALL@ -m ug+rw,o+r Makefile @ct_demodir@/cxx
|
||||
cd combustor; @MAKE@ install
|
||||
cd flamespeed; @MAKE@ install
|
||||
cd kinetics1; @MAKE@ install
|
||||
cd NASA_coeffs; @MAKE@ install
|
||||
|
||||
depends:
|
||||
cd combustor; @MAKE@ depends
|
||||
cd kinetics1; @MAKE@ depends
|
||||
cd flamespeed; @MAKE@ depends
|
||||
cd NASA_coeffs; @MAKE@ depends
|
||||
|
||||
|
||||
clean:
|
||||
cd combustor; @MAKE@ clean
|
||||
cd kinetics1; @MAKE@ clean
|
||||
cd flamespeed; @MAKE@ clean
|
||||
cd NASA_coeffs; @MAKE@ clean
|
||||
|
||||
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
############################################################################
|
||||
#
|
||||
# Makefile to run vc++ test programs under cygwin
|
||||
# on the pc
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
all:
|
||||
|
||||
test:
|
||||
cd combustor; make -s test
|
||||
cd kinetics1; make -s test
|
||||
cd NASA_coeffs; make -s test
|
||||
cd flamespeed; make -s test
|
||||
|
||||
clean:
|
||||
cd combustor; make clean
|
||||
cd kinetics1; make clean
|
||||
cd NASA_coeffs; make clean
|
||||
cd flamespeed; make clean
|
||||
|
||||
|
||||
|
|
@ -1,118 +0,0 @@
|
|||
############################################################################
|
||||
#
|
||||
# Makefile to compile and link a C++ application to
|
||||
# Cantera.
|
||||
#
|
||||
#############################################################################
|
||||
.SUFFIXES :
|
||||
.SUFFIXES : .cpp .d .o .d .h
|
||||
|
||||
|
||||
# the name of the executable program to be created
|
||||
PROG_NAME = NASA_coeffs
|
||||
|
||||
# the object files to be linked together. List those generated from Fortran
|
||||
# and from C/C++ separately
|
||||
OBJS = NASA_coeffs.o
|
||||
|
||||
# additional flags to be passed to the linker. If your program
|
||||
# requires other external libraries, put them here
|
||||
LINK_OPTIONS = @EXTRA_LINK@
|
||||
|
||||
#############################################################################
|
||||
# True if we are in the source directory tree
|
||||
srcdirtree=1
|
||||
|
||||
# Fortran libraries
|
||||
FORT_LIBS = @FLIBS@
|
||||
|
||||
# Purify options
|
||||
PURIFY=@PURIFY@
|
||||
|
||||
# the C++ compiler
|
||||
CXX = @CXX@
|
||||
|
||||
# C++ compile flags
|
||||
CXX_FLAGS = @CXXFLAGS@ @CXX_INCLUDES@
|
||||
|
||||
# external libraries
|
||||
EXT_LIBS = @LOCAL_LIBS@ -ltpx -lctcxx
|
||||
|
||||
# Ending C++ linking libraries
|
||||
LCXX_END_LIBS = @LCXX_END_LIBS@
|
||||
|
||||
# the directory where the Cantera libraries are located
|
||||
CANTERA_LIBDIR=@buildlib@
|
||||
|
||||
# required Cantera libraries
|
||||
CANTERA_LIBS =
|
||||
|
||||
# Depends
|
||||
ifeq ($srcdirtree, 1)
|
||||
LOCAL_DEFNS = -DSRCDIRTREE
|
||||
else
|
||||
LOCAL_DEFNS =
|
||||
endif
|
||||
|
||||
# the directory where Cantera include files may be found.
|
||||
CANTERA_INCDIR=@ctroot@/build/include
|
||||
|
||||
# flags passed to the C++ compiler/linker for the linking step
|
||||
LCXX_FLAGS = -L$(CANTERA_LIBDIR) @LOCAL_LIB_DIRS@ @CXXFLAGS@
|
||||
|
||||
# how to compile C++ source files to object files
|
||||
.@CXX_EXT@.@OBJ_EXT@:
|
||||
$(PURIFY) $(CXX) -c $< -I$(CANTERA_INCDIR) $(CXX_FLAGS) $(LOCAL_DEFNS)
|
||||
|
||||
# how to create a dependency file
|
||||
.@CXX_EXT@.d:
|
||||
@CXX_DEPENDS@ -I$(CANTERA_INCDIR) $(CXX_FLAGS) $(LOCAL_DEFNS) $*.cpp > $*.d
|
||||
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
DEPENDS = $(OBJS:.o=.d)
|
||||
|
||||
all: $(PROGRAM) .depends
|
||||
|
||||
$(PROGRAM): $(OBJS)
|
||||
$(PURIFY) $(CXX) -o $(PROGRAM) $(OBJS) $(LCXX_FLAGS) $(CANTERA_LIBS) \
|
||||
$(LINK_OPTIONS) $(EXT_LIBS) @LIBS@ $(FORT_LIBS) \
|
||||
$(LCXX_END_LIBS)
|
||||
|
||||
test:
|
||||
@MAKE@ $(PROGRAM)
|
||||
./runtest
|
||||
|
||||
INSTALL_DIR=@ct_demodir@/cxx/NASA_coeffs
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INSTALL_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile.install $(INSTALL_DIR)/Makefile
|
||||
@(for ihhh in *.cpp *blessed* ; do \
|
||||
@INSTALL@ $${ihhh} -m ug+rw,o+r $(INSTALL_DIR) ; \
|
||||
echo "@INSTALL@ $${ihhh} -m ug+rw,o+r $(INSTALL_DIR)" ; \
|
||||
done )
|
||||
@INSTALL@ runtest $(INSTALL_DIR) ;
|
||||
|
||||
|
||||
depends: $(DEPENDS)
|
||||
@MAKE@ .depends
|
||||
|
||||
.depends: $(DEPENDS)
|
||||
cat $(DEPENDS) > .depends
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) $(PROGRAM) .depends *.d
|
||||
$(RM) ct2ctml.log diff* output_0.txt transport_log.xml \
|
||||
NASA_coeffs.csv
|
||||
(if test -d SunWS_cache ; then \
|
||||
$(RM) -rf SunWS_cache ; \
|
||||
fi )
|
||||
|
||||
TAGS:
|
||||
etags *.h *.cpp
|
||||
|
||||
ifeq ($(wildcard .depends), .depends)
|
||||
include .depends
|
||||
endif
|
||||
|
||||
|
|
@ -1,97 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Makefile to compile and link a C++ application to
|
||||
# Cantera.
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
# addition to suffixes
|
||||
.SUFFIXES : .d
|
||||
|
||||
# the name of the executable program to be created
|
||||
PROG_NAME = NASA_coeffs
|
||||
|
||||
# the object files to be linked together. List those generated from Fortran
|
||||
# and from C/C++ separately
|
||||
OBJS = NASA_coeffs.o
|
||||
|
||||
# additional flags to be passed to the linker. If your program
|
||||
# requires other external libraries, put them here
|
||||
LINK_OPTIONS =
|
||||
|
||||
#############################################################################
|
||||
# These links are to Cantera's install space
|
||||
CANTERA_INCROOT = @ct_incroot@
|
||||
#
|
||||
# Bring in the Cantera includes through the .mak file
|
||||
#
|
||||
include $(CANTERA_INCROOT)/cantera/Cantera.mak
|
||||
|
||||
# Check to see whether we are in the msvc++ environment
|
||||
os_is_win = @OS_IS_WIN@
|
||||
|
||||
# Fortran libraries
|
||||
FORT_LIBS = @FLIBS@
|
||||
|
||||
# the C++ compiler
|
||||
CXX = @CXX@
|
||||
#
|
||||
# The directory where Cantera include files may be found.
|
||||
#
|
||||
INCLUDE_DIRS = -I../../src -I$(CANTERA_INCROOT)
|
||||
#
|
||||
# C++ compile flags
|
||||
CXX_FLAGS = @CXXFLAGS@ $(INCLUDE_DIRS) -DUSE_VCSNONIDEAL
|
||||
#
|
||||
# Ending C++ linking libraries
|
||||
LCXX_END_LIBS = @LCXX_END_LIBS@
|
||||
|
||||
# flags passed to the C++ compiler/linker for the linking step
|
||||
LCXX_FLAGS = @CXXFLAGS@
|
||||
|
||||
# How to compile C++ source files to object files
|
||||
.cpp.o:
|
||||
$(CXX) $(CXX_FLAGS) -c $<
|
||||
|
||||
# How to compile the dependency file
|
||||
.cpp.d:
|
||||
@CXX_DEPENDS@ $(CXX_FLAGS) $*.cpp > $*.d
|
||||
|
||||
# List of dependency files to be created
|
||||
DEPENDS=$(OBJS:.o=.d)
|
||||
|
||||
# Program Name
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
all: $(PROGRAM) .depends
|
||||
|
||||
$(PROGRAM): $(OBJS) $(CANTERA_CORE_LIBS_DEP)
|
||||
$(CXX) -o $(PROGRAM) $(OBJS) $(LCXX_FLAGS) $(LINK_OPTIONS) \
|
||||
$(CANTERA_TOTAL_LIBS) $(LCXX_END_LIBS)
|
||||
|
||||
# depends target -> forces recalculation of dependencies
|
||||
depends:
|
||||
$(RM) *.d .depends
|
||||
@MAKE@ .depends
|
||||
|
||||
.depends: $(DEPENDS)
|
||||
cat *.d > .depends
|
||||
|
||||
# Do the test -> For the windows vc++ environment, we have to skip checking on
|
||||
# whether the program is uptodate, because we don't utilize make
|
||||
# in that environment to build programs.
|
||||
test:
|
||||
ifeq ($(os_is_win), 1)
|
||||
else
|
||||
@MAKE@ $(PROGRAM)
|
||||
endif
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) *.o $(PROGRAM) $(DEPENDS) .depends
|
||||
(if test -d SunWS_cache ; then \
|
||||
$(RM) -rf SunWS_cache ; \
|
||||
fi )
|
||||
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Makefile to compile and link a C++ application to
|
||||
# Cantera.
|
||||
#
|
||||
PROG_NAME=NASA_coeffs
|
||||
EXE_EXT=.exe
|
||||
|
||||
# Program Name
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
|
||||
# Do the test -> For the windows vc++ environment, we have to skip checking on
|
||||
# whether the program is uptodate, because we don't utilize make
|
||||
# in that environment to build programs.
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) *.o $(PROGRAM) $(DEPENDS) .depends
|
||||
|
||||
|
|
@ -1,117 +0,0 @@
|
|||
############################################################################
|
||||
#
|
||||
# Makefile to compile and link a C++ application to
|
||||
# Cantera.
|
||||
#
|
||||
#############################################################################
|
||||
.SUFFIXES :
|
||||
.SUFFIXES : .cpp .d .o .h
|
||||
|
||||
# the name of the executable program to be created
|
||||
PROG_NAME = combustor
|
||||
|
||||
# the object files to be linked together. List those generated from Fortran
|
||||
# and from C/C++ separately
|
||||
OBJS = combustor.o
|
||||
|
||||
# additional flags to be passed to the linker. If your program
|
||||
# requires other external libraries, put them here
|
||||
LINK_OPTIONS = @EXTRA_LINK@
|
||||
|
||||
#############################################################################
|
||||
# True if we are in the source directory tree
|
||||
srcdirtree=1
|
||||
|
||||
# Fortran libraries
|
||||
FORT_LIBS = @FLIBS@
|
||||
|
||||
# Purify options
|
||||
PURIFY=@PURIFY@
|
||||
|
||||
# the C++ compiler
|
||||
CXX = @CXX@
|
||||
|
||||
# C++ compile flags
|
||||
CXX_FLAGS = @CXXFLAGS@ @CXX_INCLUDES@
|
||||
|
||||
# external libraries
|
||||
EXT_LIBS = @LOCAL_LIBS@ -ltpx -lctcxx
|
||||
|
||||
# Ending C++ linking libraries
|
||||
LCXX_END_LIBS = @LCXX_END_LIBS@
|
||||
|
||||
# the directory where the Cantera libraries are located
|
||||
CANTERA_LIBDIR=@buildlib@
|
||||
|
||||
# required Cantera libraries
|
||||
CANTERA_LIBS =
|
||||
|
||||
# Depends
|
||||
ifeq ($srcdirtree, 1)
|
||||
LOCAL_DEFNS = -DSRCDIRTREE
|
||||
else
|
||||
LOCAL_DEFNS =
|
||||
endif
|
||||
|
||||
# the directory where Cantera include files may be found.
|
||||
CANTERA_INCDIR=@ctroot@/build/include
|
||||
|
||||
# flags passed to the C++ compiler/linker for the linking step
|
||||
LCXX_FLAGS = -L$(CANTERA_LIBDIR) @LOCAL_LIB_DIRS@ @CXXFLAGS@
|
||||
|
||||
# how to compile C++ source files to object files
|
||||
.@CXX_EXT@.@OBJ_EXT@:
|
||||
$(PURIFY) $(CXX) -c $< -I$(CANTERA_INCDIR) $(CXX_FLAGS) $(LOCAL_DEFNS)
|
||||
|
||||
# how to create a dependency file
|
||||
.@CXX_EXT@.d:
|
||||
@CXX_DEPENDS@ -I$(CANTERA_INCDIR) $(CXX_FLAGS) $(LOCAL_DEFNS) $*.cpp > $*.d
|
||||
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
DEPENDS = $(OBJS:.o=.d)
|
||||
|
||||
all: $(PROGRAM) .depends
|
||||
|
||||
$(PROGRAM): $(OBJS)
|
||||
$(PURIFY) $(CXX) -o $(PROGRAM) $(OBJS) $(LCXX_FLAGS) $(CANTERA_LIBS) \
|
||||
$(LINK_OPTIONS) $(EXT_LIBS) @LIBS@ $(FORT_LIBS) \
|
||||
$(LCXX_END_LIBS)
|
||||
|
||||
test:
|
||||
@MAKE@ $(PROGRAM)
|
||||
./runtest
|
||||
|
||||
INSTALL_DIR=@ct_demodir@/cxx/combustor
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INSTALL_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile.install $(INSTALL_DIR)/Makefile
|
||||
@(for ihhh in *.cpp *blessed* ; do \
|
||||
@INSTALL@ $${ihhh} -m ug+rw,o+r $(INSTALL_DIR) ; \
|
||||
echo "@INSTALL@ $${ihhh} -m ug+rw,o+r $(INSTALL_DIR)" ; \
|
||||
done )
|
||||
@INSTALL@ runtest $(INSTALL_DIR) ;
|
||||
|
||||
|
||||
depends: $(DEPENDS)
|
||||
@MAKE@ .depends
|
||||
|
||||
.depends: $(DEPENDS)
|
||||
cat $(DEPENDS) > .depends
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) $(PROGRAM) .depends *.d
|
||||
$(RM) ct2ctml.log diff* output_0.txt transport_log.xml \
|
||||
combustor_cxx.csv
|
||||
(if test -d SunWS_cache ; then \
|
||||
$(RM) -rf SunWS_cache ; \
|
||||
fi )
|
||||
|
||||
TAGS:
|
||||
etags *.h *.cpp
|
||||
|
||||
ifeq ($(wildcard .depends), .depends)
|
||||
include .depends
|
||||
endif
|
||||
|
||||
|
|
@ -1,97 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Makefile to compile and link a C++ application to
|
||||
# Cantera.
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
# addition to suffixes
|
||||
.SUFFIXES : .d
|
||||
|
||||
# the name of the executable program to be created
|
||||
PROG_NAME = combustor
|
||||
|
||||
# the object files to be linked together. List those generated from Fortran
|
||||
# and from C/C++ separately
|
||||
OBJS = combustor.o
|
||||
|
||||
# additional flags to be passed to the linker. If your program
|
||||
# requires other external libraries, put them here
|
||||
LINK_OPTIONS =
|
||||
|
||||
#############################################################################
|
||||
# These links are to Cantera's install space
|
||||
CANTERA_INCROOT = @ct_incroot@
|
||||
#
|
||||
# Bring in the Cantera includes through the .mak file
|
||||
#
|
||||
include $(CANTERA_INCROOT)/cantera/Cantera.mak
|
||||
|
||||
# Check to see whether we are in the msvc++ environment
|
||||
os_is_win = @OS_IS_WIN@
|
||||
|
||||
# Fortran libraries
|
||||
FORT_LIBS = @FLIBS@
|
||||
|
||||
# the C++ compiler
|
||||
CXX = @CXX@
|
||||
#
|
||||
# The directory where Cantera include files may be found.
|
||||
#
|
||||
INCLUDE_DIRS = -I../../src -I$(CANTERA_INCROOT)
|
||||
#
|
||||
# C++ compile flags
|
||||
CXX_FLAGS = @CXXFLAGS@ $(INCLUDE_DIRS) -DUSE_VCSNONIDEAL
|
||||
#
|
||||
# Ending C++ linking libraries
|
||||
LCXX_END_LIBS = @LCXX_END_LIBS@
|
||||
|
||||
# flags passed to the C++ compiler/linker for the linking step
|
||||
LCXX_FLAGS = @CXXFLAGS@
|
||||
|
||||
# How to compile C++ source files to object files
|
||||
.cpp.o:
|
||||
$(CXX) $(CXX_FLAGS) -c $<
|
||||
|
||||
# How to compile the dependency file
|
||||
.cpp.d:
|
||||
@CXX_DEPENDS@ $(CXX_FLAGS) $*.cpp > $*.d
|
||||
|
||||
# List of dependency files to be created
|
||||
DEPENDS=$(OBJS:.o=.d)
|
||||
|
||||
# Program Name
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
all: $(PROGRAM) .depends
|
||||
|
||||
$(PROGRAM): $(OBJS) $(CANTERA_CORE_LIBS_DEP)
|
||||
$(CXX) -o $(PROGRAM) $(OBJS) $(LCXX_FLAGS) $(LINK_OPTIONS) \
|
||||
$(CANTERA_TOTAL_LIBS) $(LCXX_END_LIBS)
|
||||
|
||||
# depends target -> forces recalculation of dependencies
|
||||
depends:
|
||||
$(RM) *.d .depends
|
||||
@MAKE@ .depends
|
||||
|
||||
.depends: $(DEPENDS)
|
||||
cat *.d > .depends
|
||||
|
||||
# Do the test -> For the windows vc++ environment, we have to skip checking on
|
||||
# whether the program is uptodate, because we don't utilize make
|
||||
# in that environment to build programs.
|
||||
test:
|
||||
ifeq ($(os_is_win), 1)
|
||||
else
|
||||
@MAKE@ $(PROGRAM)
|
||||
endif
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) *.o $(PROGRAM) $(DEPENDS) .depends
|
||||
(if test -d SunWS_cache ; then \
|
||||
$(RM) -rf SunWS_cache ; \
|
||||
fi )
|
||||
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Makefile to compile and link a C++ application to
|
||||
# Cantera.
|
||||
#
|
||||
PROG_NAME=combustor
|
||||
EXE_EXT=.exe
|
||||
|
||||
# Program Name
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
|
||||
# Do the test -> For the windows vc++ environment, we have to skip checking on
|
||||
# whether the program is uptodate, because we don't utilize make
|
||||
# in that environment to build programs.
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) *.o $(PROGRAM) $(DEPENDS) .depends
|
||||
|
||||
|
|
@ -1,119 +0,0 @@
|
|||
############################################################################
|
||||
#
|
||||
# Makefile to compile and link a C++ application to
|
||||
# Cantera.
|
||||
#
|
||||
#############################################################################
|
||||
.SUFFIXES :
|
||||
.SUFFIXES : .cpp .d .o .d .h
|
||||
|
||||
|
||||
# the name of the executable program to be created
|
||||
PROG_NAME = flamespeed
|
||||
|
||||
# the object files to be linked together. List those generated from Fortran
|
||||
# and from C/C++ separately
|
||||
OBJS = flamespeed.o
|
||||
|
||||
# additional flags to be passed to the linker. If your program
|
||||
# requires other external libraries, put them here
|
||||
LINK_OPTIONS = @EXTRA_LINK@
|
||||
|
||||
#############################################################################
|
||||
# True if we are in the source directory tree
|
||||
srcdirtree=1
|
||||
|
||||
# Fortran libraries
|
||||
FORT_LIBS = @FLIBS@
|
||||
|
||||
# Purify options
|
||||
PURIFY=@PURIFY@
|
||||
|
||||
# the C++ compiler
|
||||
CXX = @CXX@
|
||||
|
||||
# C++ compile flags
|
||||
CXX_FLAGS = @CXXFLAGS@ @CXX_INCLUDES@
|
||||
|
||||
# external libraries
|
||||
EXT_LIBS = @LOCAL_LIBS@ -ltpx -lctcxx
|
||||
|
||||
# Ending C++ linking libraries
|
||||
LCXX_END_LIBS = @LCXX_END_LIBS@
|
||||
|
||||
# the directory where the Cantera libraries are located
|
||||
CANTERA_LIBDIR=@buildlib@
|
||||
|
||||
# required Cantera libraries
|
||||
CANTERA_LIBS =
|
||||
|
||||
# Depends
|
||||
ifeq ($srcdirtree, 1)
|
||||
LOCAL_DEFNS = -DSRCDIRTREE
|
||||
else
|
||||
LOCAL_DEFNS =
|
||||
endif
|
||||
|
||||
# the directory where Cantera include files may be found.
|
||||
CANTERA_INCDIR=@ctroot@/build/include
|
||||
|
||||
# flags passed to the C++ compiler/linker for the linking step
|
||||
LCXX_FLAGS = -L$(CANTERA_LIBDIR) @LOCAL_LIB_DIRS@ @CXXFLAGS@
|
||||
|
||||
# how to compile C++ source files to object files
|
||||
.@CXX_EXT@.@OBJ_EXT@:
|
||||
$(PURIFY) $(CXX) -c $< -I$(CANTERA_INCDIR) $(CXX_FLAGS) $(LOCAL_DEFNS)
|
||||
|
||||
# how to create a dependency file
|
||||
.@CXX_EXT@.d:
|
||||
@CXX_DEPENDS@ -I$(CANTERA_INCDIR) $(CXX_FLAGS) $(LOCAL_DEFNS) $*.cpp > $*.d
|
||||
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
DEPENDS = $(OBJS:.o=.d)
|
||||
|
||||
all: $(PROGRAM) .depends
|
||||
|
||||
$(PROGRAM): $(OBJS)
|
||||
$(PURIFY) $(CXX) -o $(PROGRAM) $(OBJS) $(LCXX_FLAGS) $(CANTERA_LIBS) \
|
||||
$(LINK_OPTIONS) $(EXT_LIBS) @LIBS@ $(FORT_LIBS) \
|
||||
$(LCXX_END_LIBS)
|
||||
|
||||
test:
|
||||
@MAKE@ $(PROGRAM)
|
||||
./runtest
|
||||
|
||||
INSTALL_DIR=@ct_demodir@/cxx/flamespeed
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INSTALL_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile.install $(INSTALL_DIR)/Makefile
|
||||
@(for ihhh in *.cpp *blessed* ; do \
|
||||
@INSTALL@ $${ihhh} -m ug+rw,o+r $(INSTALL_DIR) ; \
|
||||
echo "@INSTALL@ $${ihhh} -m ug+rw,o+r $(INSTALL_DIR)" ; \
|
||||
done )
|
||||
@INSTALL@ runtest $(INSTALL_DIR) ;
|
||||
@INSTALL@ phi_input.txt $(INSTALL_DIR) ;
|
||||
|
||||
|
||||
depends: $(DEPENDS)
|
||||
@MAKE@ .depends
|
||||
|
||||
.depends: $(DEPENDS)
|
||||
cat $(DEPENDS) > .depends
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) $(PROGRAM) .depends *.d
|
||||
$(RM) ct2ctml.log diff* output_0.txt transport_log.xml \
|
||||
flamespeed.csv
|
||||
(if test -d SunWS_cache ; then \
|
||||
$(RM) -rf SunWS_cache ; \
|
||||
fi )
|
||||
|
||||
TAGS:
|
||||
etags *.h *.cpp
|
||||
|
||||
ifeq ($(wildcard .depends), .depends)
|
||||
include .depends
|
||||
endif
|
||||
|
||||
|
|
@ -1,97 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Makefile to compile and link a C++ application to
|
||||
# Cantera.
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
# addition to suffixes
|
||||
.SUFFIXES : .d
|
||||
|
||||
# the name of the executable program to be created
|
||||
PROG_NAME = flamespeed
|
||||
|
||||
# the object files to be linked together. List those generated from Fortran
|
||||
# and from C/C++ separately
|
||||
OBJS = flamespeed.o
|
||||
|
||||
# additional flags to be passed to the linker. If your program
|
||||
# requires other external libraries, put them here
|
||||
LINK_OPTIONS =
|
||||
|
||||
#############################################################################
|
||||
# These links are to Cantera's install space
|
||||
CANTERA_INCROOT = @ct_incroot@
|
||||
#
|
||||
# Bring in the Cantera includes through the .mak file
|
||||
#
|
||||
include $(CANTERA_INCROOT)/cantera/Cantera.mak
|
||||
|
||||
# Check to see whether we are in the msvc++ environment
|
||||
os_is_win = @OS_IS_WIN@
|
||||
|
||||
# Fortran libraries
|
||||
FORT_LIBS = @FLIBS@
|
||||
|
||||
# the C++ compiler
|
||||
CXX = @CXX@
|
||||
#
|
||||
# The directory where Cantera include files may be found.
|
||||
#
|
||||
INCLUDE_DIRS = -I../../src -I$(CANTERA_INCROOT)
|
||||
#
|
||||
# C++ compile flags
|
||||
CXX_FLAGS = @CXXFLAGS@ $(INCLUDE_DIRS) -DUSE_VCSNONIDEAL
|
||||
#
|
||||
# Ending C++ linking libraries
|
||||
LCXX_END_LIBS = @LCXX_END_LIBS@
|
||||
|
||||
# flags passed to the C++ compiler/linker for the linking step
|
||||
LCXX_FLAGS = @CXXFLAGS@
|
||||
|
||||
# How to compile C++ source files to object files
|
||||
.cpp.o:
|
||||
$(CXX) $(CXX_FLAGS) -c $<
|
||||
|
||||
# How to compile the dependency file
|
||||
.cpp.d:
|
||||
@CXX_DEPENDS@ $(CXX_FLAGS) $*.cpp > $*.d
|
||||
|
||||
# List of dependency files to be created
|
||||
DEPENDS=$(OBJS:.o=.d)
|
||||
|
||||
# Program Name
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
all: $(PROGRAM) .depends
|
||||
|
||||
$(PROGRAM): $(OBJS) $(CANTERA_CORE_LIBS_DEP)
|
||||
$(CXX) -o $(PROGRAM) $(OBJS) $(LCXX_FLAGS) $(LINK_OPTIONS) \
|
||||
$(CANTERA_TOTAL_LIBS) $(LCXX_END_LIBS)
|
||||
|
||||
# depends target -> forces recalculation of dependencies
|
||||
depends:
|
||||
$(RM) *.d .depends
|
||||
@MAKE@ .depends
|
||||
|
||||
.depends: $(DEPENDS)
|
||||
cat *.d > .depends
|
||||
|
||||
# Do the test -> For the windows vc++ environment, we have to skip checking on
|
||||
# whether the program is uptodate, because we don't utilize make
|
||||
# in that environment to build programs.
|
||||
test:
|
||||
ifeq ($(os_is_win), 1)
|
||||
else
|
||||
@MAKE@ $(PROGRAM)
|
||||
endif
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) *.o $(PROGRAM) $(DEPENDS) .depends
|
||||
(if test -d SunWS_cache ; then \
|
||||
$(RM) -rf SunWS_cache ; \
|
||||
fi )
|
||||
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Makefile to compile and link a C++ application to
|
||||
# Cantera.
|
||||
#
|
||||
PROG_NAME=flamespeed
|
||||
EXE_EXT=.exe
|
||||
|
||||
# Program Name
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
|
||||
# Do the test -> For the windows vc++ environment, we have to skip checking on
|
||||
# whether the program is uptodate, because we don't utilize make
|
||||
# in that environment to build programs.
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) *.o $(PROGRAM) $(DEPENDS) .depends
|
||||
|
||||
|
|
@ -1,118 +0,0 @@
|
|||
############################################################################
|
||||
#
|
||||
# Makefile to compile and link a C++ application to
|
||||
# Cantera.
|
||||
#
|
||||
#############################################################################
|
||||
.SUFFIXES :
|
||||
.SUFFIXES : .cpp .d .o .d .h
|
||||
|
||||
|
||||
# the name of the executable program to be created
|
||||
PROG_NAME = kinetics1
|
||||
|
||||
# the object files to be linked together. List those generated from Fortran
|
||||
# and from C/C++ separately
|
||||
OBJS = kinetics1.o
|
||||
|
||||
# additional flags to be passed to the linker. If your program
|
||||
# requires other external libraries, put them here
|
||||
LINK_OPTIONS = @EXTRA_LINK@
|
||||
|
||||
#############################################################################
|
||||
# True if we are in the source directory tree
|
||||
srcdirtree=1
|
||||
|
||||
# Fortran libraries
|
||||
FORT_LIBS = @FLIBS@
|
||||
|
||||
# Purify options
|
||||
PURIFY=@PURIFY@
|
||||
|
||||
# the C++ compiler
|
||||
CXX = @CXX@
|
||||
|
||||
# C++ compile flags
|
||||
CXX_FLAGS = @CXXFLAGS@ @CXX_INCLUDES@
|
||||
|
||||
# external libraries
|
||||
EXT_LIBS = @LOCAL_LIBS@ -ltpx -lctcxx
|
||||
|
||||
# Ending C++ linking libraries
|
||||
LCXX_END_LIBS = @LCXX_END_LIBS@
|
||||
|
||||
# the directory where the Cantera libraries are located
|
||||
CANTERA_LIBDIR=@buildlib@
|
||||
|
||||
# required Cantera libraries
|
||||
CANTERA_LIBS =
|
||||
|
||||
# Depends
|
||||
ifeq ($srcdirtree, 1)
|
||||
LOCAL_DEFNS = -DSRCDIRTREE
|
||||
else
|
||||
LOCAL_DEFNS =
|
||||
endif
|
||||
|
||||
# the directory where Cantera include files may be found.
|
||||
CANTERA_INCDIR=@ctroot@/build/include
|
||||
|
||||
# flags passed to the C++ compiler/linker for the linking step
|
||||
LCXX_FLAGS = -L$(CANTERA_LIBDIR) @LOCAL_LIB_DIRS@ @CXXFLAGS@
|
||||
|
||||
# how to compile C++ source files to object files
|
||||
.@CXX_EXT@.@OBJ_EXT@:
|
||||
$(PURIFY) $(CXX) -c $< -I$(CANTERA_INCDIR) $(CXX_FLAGS) $(LOCAL_DEFNS)
|
||||
|
||||
# how to create a dependency file
|
||||
.@CXX_EXT@.d:
|
||||
@CXX_DEPENDS@ -I$(CANTERA_INCDIR) $(CXX_FLAGS) $(LOCAL_DEFNS) $*.cpp > $*.d
|
||||
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
DEPENDS = $(OBJS:.o=.d)
|
||||
|
||||
all: $(PROGRAM) .depends
|
||||
|
||||
$(PROGRAM): $(OBJS)
|
||||
$(PURIFY) $(CXX) -o $(PROGRAM) $(OBJS) $(LCXX_FLAGS) $(CANTERA_LIBS) \
|
||||
$(LINK_OPTIONS) $(EXT_LIBS) @LIBS@ $(FORT_LIBS) \
|
||||
$(LCXX_END_LIBS)
|
||||
|
||||
test:
|
||||
@MAKE@ $(PROGRAM)
|
||||
./runtest
|
||||
|
||||
INSTALL_DIR=@ct_demodir@/cxx/kinetics1
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INSTALL_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile.install $(INSTALL_DIR)/Makefile
|
||||
@(for ihhh in *.cpp *.h *blessed* ; do \
|
||||
@INSTALL@ $${ihhh} -m ug+rw,o+r $(INSTALL_DIR) ; \
|
||||
echo "@INSTALL@ $${ihhh} -m ug+rw,o+r $(INSTALL_DIR)" ; \
|
||||
done )
|
||||
@INSTALL@ runtest $(INSTALL_DIR) ;
|
||||
|
||||
|
||||
depends: $(DEPENDS)
|
||||
@MAKE@ .depends
|
||||
|
||||
.depends: $(DEPENDS)
|
||||
cat $(DEPENDS) > .depends
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) $(PROGRAM) .depends *.d
|
||||
$(RM) ct2ctml.log diff* output_0.txt transport_log.xml \
|
||||
kinetics1.csv
|
||||
(if test -d SunWS_cache ; then \
|
||||
$(RM) -rf SunWS_cache ; \
|
||||
fi )
|
||||
|
||||
TAGS:
|
||||
etags *.h *.cpp
|
||||
|
||||
ifeq ($(wildcard .depends), .depends)
|
||||
include .depends
|
||||
endif
|
||||
|
||||
|
|
@ -1,97 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Makefile to compile and link a C++ application to
|
||||
# Cantera.
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
# addition to suffixes
|
||||
.SUFFIXES : .d
|
||||
|
||||
# the name of the executable program to be created
|
||||
PROG_NAME = kinetics1
|
||||
|
||||
# the object files to be linked together. List those generated from Fortran
|
||||
# and from C/C++ separately
|
||||
OBJS = kinetics1.o
|
||||
|
||||
# additional flags to be passed to the linker. If your program
|
||||
# requires other external libraries, put them here
|
||||
LINK_OPTIONS =
|
||||
|
||||
#############################################################################
|
||||
# These links are to Cantera's install space
|
||||
CANTERA_INCROOT = @ct_incroot@
|
||||
#
|
||||
# Bring in the Cantera includes through the .mak file
|
||||
#
|
||||
include $(CANTERA_INCROOT)/cantera/Cantera.mak
|
||||
|
||||
# Check to see whether we are in the msvc++ environment
|
||||
os_is_win = @OS_IS_WIN@
|
||||
|
||||
# Fortran libraries
|
||||
FORT_LIBS = @FLIBS@
|
||||
|
||||
# the C++ compiler
|
||||
CXX = @CXX@
|
||||
#
|
||||
# The directory where Cantera include files may be found.
|
||||
#
|
||||
INCLUDE_DIRS = -I../../src -I$(CANTERA_INCROOT)
|
||||
#
|
||||
# C++ compile flags
|
||||
CXX_FLAGS = @CXXFLAGS@ $(INCLUDE_DIRS) -DUSE_VCSNONIDEAL
|
||||
#
|
||||
# Ending C++ linking libraries
|
||||
LCXX_END_LIBS = @LCXX_END_LIBS@
|
||||
|
||||
# flags passed to the C++ compiler/linker for the linking step
|
||||
LCXX_FLAGS = @CXXFLAGS@
|
||||
|
||||
# How to compile C++ source files to object files
|
||||
.cpp.o:
|
||||
$(CXX) $(CXX_FLAGS) -c $<
|
||||
|
||||
# How to compile the dependency file
|
||||
.cpp.d:
|
||||
@CXX_DEPENDS@ $(CXX_FLAGS) $*.cpp > $*.d
|
||||
|
||||
# List of dependency files to be created
|
||||
DEPENDS=$(OBJS:.o=.d)
|
||||
|
||||
# Program Name
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
all: $(PROGRAM) .depends
|
||||
|
||||
$(PROGRAM): $(OBJS) $(CANTERA_CORE_LIBS_DEP)
|
||||
$(CXX) -o $(PROGRAM) $(OBJS) $(LCXX_FLAGS) $(LINK_OPTIONS) \
|
||||
$(CANTERA_TOTAL_LIBS) $(LCXX_END_LIBS)
|
||||
|
||||
# depends target -> forces recalculation of dependencies
|
||||
depends:
|
||||
$(RM) *.d .depends
|
||||
@MAKE@ .depends
|
||||
|
||||
.depends: $(DEPENDS)
|
||||
cat *.d > .depends
|
||||
|
||||
# Do the test -> For the windows vc++ environment, we have to skip checking on
|
||||
# whether the program is uptodate, because we don't utilize make
|
||||
# in that environment to build programs.
|
||||
test:
|
||||
ifeq ($(os_is_win), 1)
|
||||
else
|
||||
@MAKE@ $(PROGRAM)
|
||||
endif
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) *.o $(PROGRAM) $(DEPENDS) .depends
|
||||
(if test -d SunWS_cache ; then \
|
||||
$(RM) -rf SunWS_cache ; \
|
||||
fi )
|
||||
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Makefile to compile and link a C++ application to
|
||||
# Cantera.
|
||||
#
|
||||
PROG_NAME=kinetics1
|
||||
EXE_EXT=.exe
|
||||
|
||||
# Program Name
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
|
||||
# Do the test -> For the windows vc++ environment, we have to skip checking on
|
||||
# whether the program is uptodate, because we don't utilize make
|
||||
# in that environment to build programs.
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) *.o $(PROGRAM) $(DEPENDS) .depends
|
||||
|
||||
|
|
@ -1,117 +0,0 @@
|
|||
############################################################################
|
||||
#
|
||||
# Makefile to compile and link a C++ application to
|
||||
# Cantera.
|
||||
#
|
||||
#############################################################################
|
||||
.SUFFIXES :
|
||||
.SUFFIXES : .cpp .d .o .d .h
|
||||
|
||||
|
||||
# the name of the executable program to be created
|
||||
PROG_NAME = rankine
|
||||
|
||||
# the object files to be linked together. List those generated from Fortran
|
||||
# and from C/C++ separately
|
||||
OBJS = rankine.o
|
||||
|
||||
# additional flags to be passed to the linker. If your program
|
||||
# requires other external libraries, put them here
|
||||
LINK_OPTIONS = @EXTRA_LINK@
|
||||
|
||||
#############################################################################
|
||||
# True if we are in the source directory tree
|
||||
srcdirtree=1
|
||||
|
||||
# Fortran libraries
|
||||
FORT_LIBS = @FLIBS@
|
||||
|
||||
# Purify options
|
||||
PURIFY=@PURIFY@
|
||||
|
||||
# the C++ compiler
|
||||
CXX = @CXX@
|
||||
|
||||
# C++ compile flags
|
||||
CXX_FLAGS = @CXXFLAGS@ @CXX_INCLUDES@
|
||||
|
||||
# external libraries
|
||||
EXT_LIBS = @LOCAL_LIBS@ -ltpx -lctcxx
|
||||
|
||||
# Ending C++ linking libraries
|
||||
LCXX_END_LIBS = @LCXX_END_LIBS@
|
||||
|
||||
# the directory where the Cantera libraries are located
|
||||
CANTERA_LIBDIR=@buildlib@
|
||||
|
||||
# required Cantera libraries
|
||||
CANTERA_LIBS =
|
||||
|
||||
# Depends
|
||||
ifeq ($srcdirtree, 1)
|
||||
LOCAL_DEFNS = -DSRCDIRTREE
|
||||
else
|
||||
LOCAL_DEFNS =
|
||||
endif
|
||||
|
||||
# the directory where Cantera include files may be found.
|
||||
CANTERA_INCDIR=@ctroot@/build/include
|
||||
|
||||
# flags passed to the C++ compiler/linker for the linking step
|
||||
LCXX_FLAGS = -L$(CANTERA_LIBDIR) @LOCAL_LIB_DIRS@ @CXXFLAGS@
|
||||
|
||||
# how to compile C++ source files to object files
|
||||
.@CXX_EXT@.@OBJ_EXT@:
|
||||
$(PURIFY) $(CXX) -c $< -I$(CANTERA_INCDIR) $(CXX_FLAGS) $(LOCAL_DEFNS)
|
||||
|
||||
# how to create a dependency file
|
||||
.@CXX_EXT@.d:
|
||||
@CXX_DEPENDS@ -I$(CANTERA_INCDIR) $(CXX_FLAGS) $(LOCAL_DEFNS) $*.cpp > $*.d
|
||||
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
DEPENDS = $(OBJS:.o=.d)
|
||||
|
||||
all: $(PROGRAM) .depends
|
||||
|
||||
$(PROGRAM): $(OBJS)
|
||||
$(PURIFY) $(CXX) -o $(PROGRAM) $(OBJS) $(LCXX_FLAGS) $(CANTERA_LIBS) \
|
||||
$(LINK_OPTIONS) $(EXT_LIBS) @LIBS@ $(FORT_LIBS) \
|
||||
$(LCXX_END_LIBS)
|
||||
|
||||
test:
|
||||
@MAKE@ $(PROGRAM)
|
||||
./runtest
|
||||
|
||||
INSTALL_DIR=@ct_demodir@/cxx/rankine
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INSTALL_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile.install $(INSTALL_DIR)/Makefile
|
||||
@(for ihhh in *.cpp *blessed* ; do \
|
||||
@INSTALL@ $${ihhh} -m ug+rw,o+r $(INSTALL_DIR) ; \
|
||||
echo "@INSTALL@ $${ihhh} -m ug+rw,o+r $(INSTALL_DIR)" ; \
|
||||
done )
|
||||
@INSTALL@ runtest $(INSTALL_DIR) ;
|
||||
|
||||
|
||||
depends: $(DEPENDS)
|
||||
@MAKE@ .depends
|
||||
|
||||
.depends: $(DEPENDS)
|
||||
cat $(DEPENDS) > .depends
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) $(PROGRAM) .depends *.d
|
||||
$(RM) ct2ctml.log diff* output_0.txt transport_log.xml
|
||||
(if test -d SunWS_cache ; then \
|
||||
$(RM) -rf SunWS_cache ; \
|
||||
fi )
|
||||
|
||||
TAGS:
|
||||
etags *.h *.cpp
|
||||
|
||||
ifeq ($(wildcard .depends), .depends)
|
||||
include .depends
|
||||
endif
|
||||
|
||||
|
|
@ -1,97 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Makefile to compile and link a C++ application to
|
||||
# Cantera.
|
||||
#
|
||||
#############################################################################
|
||||
|
||||
# addition to suffixes
|
||||
.SUFFIXES : .d
|
||||
|
||||
# the name of the executable program to be created
|
||||
PROG_NAME = rankine
|
||||
|
||||
# the object files to be linked together. List those generated from Fortran
|
||||
# and from C/C++ separately
|
||||
OBJS = rankine.o
|
||||
|
||||
# additional flags to be passed to the linker. If your program
|
||||
# requires other external libraries, put them here
|
||||
LINK_OPTIONS =
|
||||
|
||||
#############################################################################
|
||||
# These links are to Cantera's install space
|
||||
CANTERA_INCROOT = @ct_incroot@
|
||||
#
|
||||
# Bring in the Cantera includes through the .mak file
|
||||
#
|
||||
include $(CANTERA_INCROOT)/cantera/Cantera.mak
|
||||
|
||||
# Check to see whether we are in the msvc++ environment
|
||||
os_is_win = @OS_IS_WIN@
|
||||
|
||||
# Fortran libraries
|
||||
FORT_LIBS = @FLIBS@
|
||||
|
||||
# the C++ compiler
|
||||
CXX = @CXX@
|
||||
#
|
||||
# The directory where Cantera include files may be found.
|
||||
#
|
||||
INCLUDE_DIRS = -I../../src -I$(CANTERA_INCROOT)
|
||||
#
|
||||
# C++ compile flags
|
||||
CXX_FLAGS = @CXXFLAGS@ $(INCLUDE_DIRS) -DUSE_VCSNONIDEAL
|
||||
#
|
||||
# Ending C++ linking libraries
|
||||
LCXX_END_LIBS = @LCXX_END_LIBS@
|
||||
|
||||
# flags passed to the C++ compiler/linker for the linking step
|
||||
LCXX_FLAGS = @CXXFLAGS@
|
||||
|
||||
# How to compile C++ source files to object files
|
||||
.cpp.o:
|
||||
$(CXX) $(CXX_FLAGS) -c $<
|
||||
|
||||
# How to compile the dependency file
|
||||
.cpp.d:
|
||||
@CXX_DEPENDS@ $(CXX_FLAGS) $*.cpp > $*.d
|
||||
|
||||
# List of dependency files to be created
|
||||
DEPENDS=$(OBJS:.o=.d)
|
||||
|
||||
# Program Name
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
all: $(PROGRAM) .depends
|
||||
|
||||
$(PROGRAM): $(OBJS) $(CANTERA_CORE_LIBS_DEP)
|
||||
$(CXX) -o $(PROGRAM) $(OBJS) $(LCXX_FLAGS) $(LINK_OPTIONS) \
|
||||
$(CANTERA_TOTAL_LIBS) $(LCXX_END_LIBS)
|
||||
|
||||
# depends target -> forces recalculation of dependencies
|
||||
depends:
|
||||
$(RM) *.d .depends
|
||||
@MAKE@ .depends
|
||||
|
||||
.depends: $(DEPENDS)
|
||||
cat *.d > .depends
|
||||
|
||||
# Do the test -> For the windows vc++ environment, we have to skip checking on
|
||||
# whether the program is uptodate, because we don't utilize make
|
||||
# in that environment to build programs.
|
||||
test:
|
||||
ifeq ($(os_is_win), 1)
|
||||
else
|
||||
@MAKE@ $(PROGRAM)
|
||||
endif
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) *.o $(PROGRAM) $(DEPENDS) .depends
|
||||
(if test -d SunWS_cache ; then \
|
||||
$(RM) -rf SunWS_cache ; \
|
||||
fi )
|
||||
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
############################################################################
|
||||
#
|
||||
# Makefile to compile and link a C++ application to
|
||||
# Cantera.
|
||||
#
|
||||
PROG_NAME=rankine
|
||||
EXE_EXT=.exe
|
||||
|
||||
# Program Name
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
|
||||
# Do the test -> For the windows vc++ environment, we have to skip checking on
|
||||
# whether the program is uptodate, because we don't utilize make
|
||||
# in that environment to build programs.
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) *.o $(PROGRAM) $(DEPENDS) .depends
|
||||
|
||||
|
|
@ -1,150 +0,0 @@
|
|||
#######################################################################
|
||||
# Include Snipet for Makefiles
|
||||
#
|
||||
# To create Cantera C++ applications from the install environment
|
||||
# include this file into your Makefile environment
|
||||
#
|
||||
# Main Variables:
|
||||
#
|
||||
# CANTERA_INCLUDES = Variable containing the include path
|
||||
#
|
||||
#
|
||||
# CANTERA_LIBS = List of libraries to include on the link line
|
||||
#
|
||||
# CANTERA_LIBS_DEP = dependency line for Cantera libs
|
||||
#
|
||||
#
|
||||
#####################################################################
|
||||
# $Id: Cantera.mak.in,v 1.5 2009/01/09 23:26:41 hkmoffa Exp $
|
||||
#
|
||||
#
|
||||
# This variable determines whether we are making this example in the
|
||||
# build tree environment or in the install tree environment.
|
||||
#
|
||||
in_CanteraBuildTree = 0
|
||||
|
||||
CANTERA_VERSION=@ctversion@
|
||||
|
||||
###############################################################################
|
||||
# CANTERA CORE
|
||||
###############################################################################
|
||||
#
|
||||
# The directory where Cantera include files may be found.
|
||||
# Include files in application programs should start with:
|
||||
# #include "cantera/thermo.h"
|
||||
# #include "cantera/kernel/HMWSoln.h"
|
||||
#
|
||||
CANTERA_INCROOTDIR= @ct_incroot@
|
||||
|
||||
CANTERA_CORE_INCLUDES=-I$(CANTERA_INCROOTDIR)
|
||||
#
|
||||
# Library location
|
||||
#
|
||||
CANTERA_LIBSDIR= @ct_libdir@
|
||||
|
||||
#
|
||||
# Required Cantera libraries
|
||||
#
|
||||
CANTERA_CORE_LIBS= -L$(CANTERA_LIBSDIR) @CANTERA_CORE_LIBS@ -lctcxx
|
||||
|
||||
#
|
||||
# Cantera Core Lib Dependencies
|
||||
#
|
||||
CANTERA_CORE_LIBS_DEP= @CANTERA_CORE_LIBS_DEP@ $(CANTERA_LIBSDIR)/libctcxx.a
|
||||
|
||||
#####################################################################
|
||||
# BOOST
|
||||
####################################################################
|
||||
#
|
||||
# Cantera Boost Include
|
||||
#
|
||||
CANTERA_BOOST_INCLUDES=@BOOST_INCLUDE@
|
||||
#
|
||||
# Location of the boost library that Cantera linked against
|
||||
#
|
||||
CANTERA_BOOST_LIB_DIR=@BOOST_LIB_DIR@
|
||||
#
|
||||
# Linkage extras for linking against boost
|
||||
#
|
||||
ifeq ("x$(CANTERA_BOOST_LIB_DIR)","x")
|
||||
CANTERA_BOOST_LIBS=
|
||||
else
|
||||
CANTERA_BOOST_LIBS= -L$(CANTERA_BOOST_LIB_DIR) -l@BOOST_LIB@
|
||||
endif
|
||||
|
||||
#####################################################################
|
||||
# CVODE/SUNDIALS LINKAGE
|
||||
####################################################################
|
||||
#
|
||||
CANTERA_use_sundials = @use_sundials@
|
||||
#
|
||||
# Includes for Sundials - none for cvode
|
||||
#
|
||||
CANTERA_CVODE_INCLUDE=@sundials_include@
|
||||
CANTERA_SUNDIALS_LIB_DIR=@sundials_lib_dir@
|
||||
#
|
||||
# Link line for cvode and sundials
|
||||
#
|
||||
ifeq ($(CANTERA_use_sundials), 1)
|
||||
CANTERA_CVODE_LIBS=-L$(CANTERA_SUNDIALS_LIB_DIR) @CVODE_LIBS@
|
||||
CANTERA_CVODE_LIBS_DEP=@sundials_lib_dep@
|
||||
else
|
||||
CANTERA_CVODE_LIBS= -L$(CANTERA_LIBSDIR) -lcvode
|
||||
CANTERA_CVODE_LIBS_DEP=$(CANTERA_LIBSDIR)/libcvode.a
|
||||
endif
|
||||
#
|
||||
#######################################################################
|
||||
# BLAS LAPACK LINKAGE
|
||||
#######################################################################
|
||||
#
|
||||
CANTERA_build_lapack= @build_lapack@
|
||||
CANTERA_build_blas= @build_blas@
|
||||
|
||||
CANTERA_BLAS_LAPACK_DIR= @ct_libdir@
|
||||
|
||||
CANTERA_BLAS_LAPACK_LIBS = -L$(CANTERA_BLAS_LAPACK_DIR) @BLAS_LAPACK_LIBS@
|
||||
CANTERA_BLAS_LAPACK_LIBS_DEP=
|
||||
#
|
||||
#######################################################################
|
||||
# CANTERA's F2C Linkage
|
||||
#######################################################################
|
||||
#
|
||||
CANTERA_build_with_f2c= @build_with_f2c@
|
||||
CANTERA_build_f2c_lib= @build_f2c_lib@
|
||||
|
||||
ifeq ($(CANTERA_build_f2c_lib), 1)
|
||||
CANTERA_F2C_LIBS= -L$(CANTERA_LIBSDIR) -lctf2c
|
||||
else
|
||||
CANTERA_F2C_LIBS= @F2C_SYSTEMLIB@
|
||||
endif
|
||||
#
|
||||
#####################################################################
|
||||
# COMBINATIONS OF INCLUDES AND LIBS
|
||||
####################################################################
|
||||
#
|
||||
CANTERA_TOTAL_INCLUDES= $(CANTERA_CORE_INCLUDES) $(CANTERA_BOOST_INCLUDES) $(CANTERA_CVODE_INCLUDE)
|
||||
#
|
||||
# You can add this into the compilation environment to identify the version number
|
||||
#
|
||||
CANTERA_DEFINES = -DCANTERA_VERSION=@ctversion@
|
||||
#
|
||||
# LIBS and LIBS should be the same ...
|
||||
#
|
||||
CANTERA_TOTAL_LIBS2 = -L$(CANTERA_LIBSDIR) @LOCAL_LIBS@
|
||||
#
|
||||
CANTERA_TOTAL_LIBS= $(CANTERA_CORE_LIBS) $(CANTERA_BOOST_LIBS) \
|
||||
$(CANTERA_CVODE_LIBS) $(CANTERA_BLAS_LAPACK_LIBS) \
|
||||
$(CANTERA_F2C_LIBS)
|
||||
#
|
||||
CANTERA_TOTAL_LIBS_DEP= $(CANTERA_CORE_LIBS_DEP) \
|
||||
$(CANTERA_CVODE_LIBS_DEP) \
|
||||
$(CANTERA_BLAS_LAPACK_LIBS_DEP)
|
||||
#
|
||||
#
|
||||
# Dependency Line
|
||||
#
|
||||
CANTERA_LIBS_DEP= @INSTALL_LIBS_DEP@ $(CANTERA_LIBDIR)/libctcxx.a
|
||||
#
|
||||
#####################################################################
|
||||
# END
|
||||
####################################################################
|
||||
|
|
@ -1,137 +0,0 @@
|
|||
#######################################################################
|
||||
# Include Snipet for Makefiles
|
||||
#
|
||||
# To create Cantera C++ applications from the build tree environment
|
||||
# include this file into your Makefile environment
|
||||
#
|
||||
# Main Variables:
|
||||
#
|
||||
# CANTERA_INCLUDES = Variable containing the include path
|
||||
#
|
||||
#
|
||||
# CANTERA_LIBS = List of libraries to include on the link line
|
||||
#
|
||||
# CANTERA_LIBS_DEP = dependency line for Cantera libs
|
||||
#
|
||||
#
|
||||
#####################################################################
|
||||
# $Id: Cantera_bt.mak.in,v 1.2 2008/01/21 21:17:52 hkmoffa Exp $
|
||||
#
|
||||
#
|
||||
# This variable determines whether we are making this example in the
|
||||
# build tree environment or in the install tree environment.
|
||||
#
|
||||
in_CanteraBuildTree = 0
|
||||
|
||||
CANTERA_VERSION=@ctversion@
|
||||
|
||||
###############################################################################
|
||||
# CANTERA CORE
|
||||
###############################################################################
|
||||
#
|
||||
# The directory where Cantera include files may be found.
|
||||
# Include files in application programs should start with:
|
||||
# #include "cantera/thermo.h"
|
||||
# #include "cantera/kernel/HMWSoln.h"
|
||||
#
|
||||
CANTERA_INCROOTDIR= @ct_incroot@
|
||||
|
||||
CANTERA_CORE_INCLUDES=-I$(CANTERA_INCROOTDIR)
|
||||
#
|
||||
# Library location
|
||||
#
|
||||
CANTERA_LIBSDIR= @ct_libdir@
|
||||
|
||||
#
|
||||
# Required Cantera libraries
|
||||
#
|
||||
CANTERA_CORE_LIBS= -L$(CANTERA_LIBSDIR) @CANTERA_CORE_LIBS@ -lctcxx
|
||||
|
||||
#
|
||||
# Cantera Core Lib Dependencies
|
||||
#
|
||||
CANTERA_CORE_LIBS_DEP= @CANTERA_CORE_LIBS_DEP@ $(CANTERA_LIBSDIR)/libctcxx.a
|
||||
|
||||
#####################################################################
|
||||
# BOOST
|
||||
####################################################################
|
||||
#
|
||||
# Cantera Boost Include
|
||||
#
|
||||
CANTERA_BOOST_INCLUDES= @BOOST_INCLUDE@
|
||||
#
|
||||
# Location of the boost library that Cantera linked against
|
||||
#
|
||||
CANTERA_BOOST_LIB_DIR= @BOOST_LIB_DIR@
|
||||
#
|
||||
# Linkage extras for linking against boost
|
||||
#
|
||||
ifeq ("x$(CANTERA_BOOST_LIB_DIR)","x")
|
||||
CANTERA_BOOST_LIBS=
|
||||
else
|
||||
CANTERA_BOOST_LIBS= -L$(CANTERA_BOOST_LIB_DIR) -l@BOOST_LIB@
|
||||
endif
|
||||
|
||||
#####################################################################
|
||||
# CVODE/SUNDIALS LINKAGE
|
||||
####################################################################
|
||||
CANTERA_use_sundials = @use_sundials@
|
||||
|
||||
#
|
||||
# Includes for Sundials - none for cvode
|
||||
#
|
||||
CANTERA_CVODE_INCLUDE=@sundials_include@
|
||||
#
|
||||
# Link line for cvode and sundials
|
||||
#
|
||||
ifeq ($(CANTERA_user_sundials), 1)
|
||||
|
||||
else
|
||||
CANTERA_CVODE_LIBS= -L$(CANTERA_LIBSDIR) @CVODE_LIBS@
|
||||
endif
|
||||
|
||||
|
||||
#######################################################################
|
||||
# BLAS LAPACK LINKAGE
|
||||
#######################################################################
|
||||
CANTERA_build_lapack= @build_lapack@
|
||||
CANTERA_build_blas= @build_blas@
|
||||
|
||||
CANTERA_BLAS_LAPACK_DIR= @BLAS_LAPACK_DIR@
|
||||
|
||||
CANTERA_BLAS_LAPACK_LIBS = -L$(CANTERA_BLAS_LAPACK_DIR) @BLAS_LAPACK_LIBS@
|
||||
|
||||
#######################################################################
|
||||
# CANTERA's F2C Linkage
|
||||
#######################################################################
|
||||
CANTERA_build_with_f2c= @build_with_f2c@
|
||||
CANTERA_build_f2c_lib= @build_f2c_lib@
|
||||
|
||||
ifeq ($(CANTERA_build_f2c_lib), 1)
|
||||
CANTERA_F2C_LIBS= -L$(CANTERA_LIBSDIR) -lctf2c
|
||||
else
|
||||
CANTERA_F2C_LIBS= @F2C_SYSTEMLIB@
|
||||
endif
|
||||
|
||||
|
||||
#####################################################################
|
||||
# COMBINATIONS OF INCLUDES AND LIBS
|
||||
####################################################################
|
||||
|
||||
CANTERA_TOTAL_INCLUDES= $(CANTERA_CORE_INCLUDES) $(CANTERA_BOOST_INCLUDES) $(CANTERA_CVODE_INCLUDE)
|
||||
#
|
||||
# You can add this into the compilation environment to identify the version number
|
||||
#
|
||||
CANTERA_DEFINES = -DCANTERA_VERSION=@ctversion@
|
||||
|
||||
CANTERA_TOTAL_LIBS2 = @LOCAL_LIB_DIRS@ @LOCAL_LIBS@
|
||||
|
||||
CANTERA_TOTAL_LIBS= $(CANTERA_CORE_LIBS) $(CANTERA_BOOST_LIBS) \
|
||||
$(CANTERA_CVODE_LIBS) $(CANTERA_BLAS_LAPACK_LIBS) \
|
||||
$(CANTERA_F2C_LIBS)
|
||||
|
||||
#
|
||||
# Dependency Line
|
||||
#
|
||||
CANTERA_LIBS_DEP= @INSTALL_LIBS_DEP@ $(CANTERA_LIBDIR)/libctcxx.a
|
||||
|
||||
|
|
@ -1,65 +0,0 @@
|
|||
#/bin/sh
|
||||
###############################################################
|
||||
# $Author$
|
||||
# $Date$
|
||||
# $Revision$
|
||||
#
|
||||
# Copyright 2001 California Institute of Technology
|
||||
#
|
||||
###############################################################
|
||||
|
||||
|
||||
.SUFFIXES :
|
||||
.SUFFIXES : .cpp .d .o .h
|
||||
|
||||
PIC_FLAG=@PIC@
|
||||
CXX_FLAGS = @CXXFLAGS@ $(CXX_OPT) $(PIC_FLAG)
|
||||
|
||||
OBJS = importPhase.o
|
||||
|
||||
DEPENDS = $(OBJS:.o=.d)
|
||||
|
||||
PURIFY=@PURIFY@
|
||||
|
||||
PIC_FLAG=@PIC@
|
||||
CXX_FLAGS = @CXXFLAGS@ $(CXX_OPT) $(PIC_FLAG)
|
||||
|
||||
|
||||
# the directory where Cantera include files may be found.
|
||||
CXX_INCLUDES = -I../../src/base -I../../src/thermo @CXX_INCLUDES@
|
||||
|
||||
# how to compile C++ source files to object files
|
||||
.cpp.o:
|
||||
$(PURIFY) @CXX@ -c $< $(CXX_INCLUDES) $(CXX_FLAGS)
|
||||
|
||||
%.d: Makefile %.o
|
||||
@CXX_DEPENDS@ $(CXX_FLAGS) $(CXX_INCLUDES) $*.cpp > $*.d
|
||||
|
||||
LIB_NAME=libctcxx
|
||||
CXXLIB=@buildlib@/$(LIB_NAME).a
|
||||
|
||||
all: .depends $(CXXLIB)
|
||||
|
||||
$(CXXLIB): $(OBJS)
|
||||
@ARCHIVE@ $(CXXLIB) $(OBJS)
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) *.d $(CXXLIB)
|
||||
(if test -d SunWS_cache ; then \
|
||||
$(RM) -rf SunWS_cache ; \
|
||||
fi )
|
||||
|
||||
install:
|
||||
@INSTALL@ $(CXXLIB) @prefix@/lib/cantera
|
||||
|
||||
depends:
|
||||
@MAKE@ .depends
|
||||
|
||||
.depends: $(DEPENDS)
|
||||
cat $(DEPENDS) > .depends
|
||||
|
||||
$(OBJS): Makefile
|
||||
|
||||
ifeq ($(wildcard .depends), .depends)
|
||||
include .depends
|
||||
endif
|
||||
|
|
@ -1,116 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
.SUFFIXES :
|
||||
.SUFFIXES : .cpp .d .o .h .f
|
||||
|
||||
|
||||
# the object files to be linked together.
|
||||
OBJS = demo_ftnlib.o isentropic.o ctlib.o
|
||||
|
||||
# additional flags to be passed to the linker. If your program
|
||||
# requires other external libraries, put them here
|
||||
LINK_OPTIONS =
|
||||
|
||||
|
||||
# the Fortran compiler
|
||||
FORT = @F77@
|
||||
|
||||
# Fortran compile flags
|
||||
FORT_FLAGS = @FFLAGS@
|
||||
|
||||
# Fortran libraries
|
||||
FORT_LIBS = @LCXX_FLIBS@ @LCXX_END_LIBS@ @FLIBS@
|
||||
|
||||
# the C++ compiler
|
||||
CXX = @CXX@
|
||||
|
||||
# C++ compile flags
|
||||
CXX_FLAGS = @CXXFLAGS@
|
||||
|
||||
# external libraries
|
||||
EXT_LIBS = @LOCAL_LIBS@ -lctcxx
|
||||
|
||||
# the directory where the Cantera libraries are located
|
||||
CANTERA_LIBDIR=@buildlib@
|
||||
|
||||
# the directory where Cantera include files may be found.
|
||||
CANTERA_INCDIR=@ctroot@/build/include
|
||||
|
||||
# flags passed to the C++ compiler/linker for the linking step
|
||||
LCXX_FLAGS = -L$(CANTERA_LIBDIR) @LOCAL_LIB_DIRS@ @CXXFLAGS@
|
||||
|
||||
# how to compile C++ source files to object files
|
||||
.@CXX_EXT@.@OBJ_EXT@:
|
||||
$(CXX) -c $< -I$(CANTERA_INCDIR) $(CXX_FLAGS)
|
||||
|
||||
# how to create a dependency file
|
||||
.@CXX_EXT@.d:
|
||||
@CXX_DEPENDS@ -I$(CANTERA_INCDIR) $(CXX_FLAGS) $(LOCAL_DEFNS) $*.cpp > $*.d
|
||||
|
||||
|
||||
# how to compile Fortran source files to object files
|
||||
.@F77_EXT@.@OBJ_EXT@:
|
||||
$(FORT) -c $< $(FORT_FLAGS)
|
||||
|
||||
.f.d:
|
||||
@echo "$*.o: $*.f" | cat > $*.d
|
||||
|
||||
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
DEPENDS = $(OBJS:.o=.d)
|
||||
|
||||
all: isentropic ctlib
|
||||
|
||||
demo_ftnlib.o: @ctroot@/tools/templates/f77/demo_ftnlib.cpp
|
||||
$(CXX) -c $< -I$(CANTERA_INCDIR) $(CXX_FLAGS)
|
||||
|
||||
demo_ftnlib.d: @ctroot@/tools/templates/f77/demo_ftnlib.cpp
|
||||
@CXX_DEPENDS@ -I$(CANTERA_INCDIR) $(CXX_FLAGS) $< > $*.d
|
||||
|
||||
isentropic: isentropic.o demo_ftnlib.o
|
||||
$(CXX) -o isentropic isentropic.o demo_ftnlib.o $(LCXX_FLAGS) $(CANTERA_LIBS) \
|
||||
$(LINK_OPTIONS) $(EXT_LIBS) @LIBS@ $(FORT_LIBS)
|
||||
|
||||
ctlib: ctlib.o demo_ftnlib.o
|
||||
$(CXX) -o ctlib ctlib.o demo_ftnlib.o $(LCXX_FLAGS) $(CANTERA_LIBS) \
|
||||
$(LINK_OPTIONS) $(EXT_LIBS) @LIBS@ $(FORT_LIBS)
|
||||
|
||||
test:
|
||||
@MAKE@
|
||||
./runtest
|
||||
|
||||
INSTALL_DIR=@ct_demodir@/f77
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INSTALL_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r f77demos.mak $(INSTALL_DIR)/Makefile
|
||||
@INSTALL@ -c -m ug+rw,o+r @ctroot@/tools/templates/f77/demo_ftnlib.cpp $(INSTALL_DIR)
|
||||
@(for ihhh in *.f *blessed* README.txt ; do \
|
||||
@INSTALL@ $${ihhh} -m ug+rw,o+r $(INSTALL_DIR) ; \
|
||||
echo "@INSTALL@ $${ihhh} -m ug+rw,o+r $(INSTALL_DIR)" ; \
|
||||
done )
|
||||
@INSTALL@ runtest $(INSTALL_DIR) ;
|
||||
|
||||
|
||||
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) isentropic ctlib *.d .depends \
|
||||
diff* output_0.txt output_1.txt gri30.xml ct2ctml.log \
|
||||
isentropic.dsp
|
||||
|
||||
depends:
|
||||
$(MAKE) .depends
|
||||
|
||||
|
||||
.depends: $(DEPENDS)
|
||||
cat *.d > .depends
|
||||
|
||||
TAGS:
|
||||
etags *.h *.cpp
|
||||
|
||||
ifeq ($(wildcard .depends), .depends)
|
||||
include .depends
|
||||
endif
|
||||
|
||||
|
|
@ -1,98 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
.SUFFIXES :
|
||||
.SUFFIXES : .cpp .d .o .h .f
|
||||
|
||||
|
||||
# the object files to be linked together.
|
||||
OBJS = isentropic.o ctlib.o demo_ftnlib.o
|
||||
|
||||
# additional flags to be passed to the linker. If your program
|
||||
# requires other external libraries, put them here
|
||||
LINK_OPTIONS =
|
||||
|
||||
#---------------------------------------------------------------------------
|
||||
# You probably don't need to edit anything below.
|
||||
|
||||
|
||||
# the Fortran compiler
|
||||
FORT = @F77@
|
||||
|
||||
# Fortran compile flags
|
||||
FORT_FLAGS = @FFLAGS@
|
||||
|
||||
# Fortran libraries
|
||||
FORT_LIBS = @LCXX_FLIBS@ @FLIBS@ @LCXX_END_LIBS@
|
||||
|
||||
# the C++ compiler
|
||||
CXX = @CXX@
|
||||
|
||||
# C++ compile flags
|
||||
CXX_FLAGS = @CXXFLAGS@
|
||||
|
||||
# external libraries
|
||||
EXT_LIBS = @LOCAL_LIBS@ -lctcxx
|
||||
|
||||
# the directory where the Cantera libraries are located
|
||||
CANTERA_LIBDIR=@ct_libdir@
|
||||
|
||||
# the directory where Cantera include files may be found.
|
||||
CANTERA_INCDIR=@ct_incroot@
|
||||
|
||||
# flags passed to the C++ compiler/linker for the linking step
|
||||
LCXX_FLAGS = -L$(CANTERA_LIBDIR) @LOCAL_LIB_DIRS@ @CXXFLAGS@
|
||||
|
||||
# how to compile C++ source files to object files
|
||||
.@CXX_EXT@.@OBJ_EXT@:
|
||||
$(CXX) -c $< -I$(CANTERA_INCDIR) $(CXX_FLAGS)
|
||||
|
||||
# how to compile Fortran source files to object files
|
||||
.@F77_EXT@.@OBJ_EXT@:
|
||||
$(FORT) -c $< $(FORT_FLAGS)
|
||||
|
||||
PROGRAM = $(PROG_NAME)$(EXE_EXT)
|
||||
|
||||
DEPENDS = $(OBJS:.o=.d)
|
||||
|
||||
all: isentropic ctlib
|
||||
|
||||
isentropic: isentropic.o demo_ftnlib.o
|
||||
$(CXX) -o isentropic isentropic.o demo_ftnlib.o $(LCXX_FLAGS) $(CANTERA_LIBS) $(LINK_OPTIONS) $(EXT_LIBS) @LIBS@ $(FORT_LIBS)
|
||||
|
||||
ctlib: ctlib.o demo_ftnlib.o
|
||||
$(CXX) -o ctlib ctlib.o demo_ftnlib.o $(LCXX_FLAGS) $(CANTERA_LIBS) $(LINK_OPTIONS) $(EXT_LIBS) @LIBS@ $(FORT_LIBS)
|
||||
|
||||
.cpp.d:
|
||||
@CXX_DEPENDS@ -I$(CANTERA_INCDIR) $(CXX_FLAGS) $*.cpp > $*.d
|
||||
|
||||
.f.d:
|
||||
@echo "$*.o: $*.f" | cat > $*.d
|
||||
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) isentropic ctlib *.d .depends \
|
||||
diff* output_0.txt output_1.txt gri30.xml ct2ctml.log \
|
||||
isentropic.dsp
|
||||
|
||||
test:
|
||||
@MAKE@
|
||||
./runtest
|
||||
|
||||
depends:
|
||||
@MAKE@ .depends
|
||||
|
||||
.depends: $(DEPENDS)
|
||||
cat *.d > .depends
|
||||
|
||||
TAGS:
|
||||
etags *.h *.cpp
|
||||
|
||||
ifeq ($(wildcard .depends), .depends)
|
||||
include .depends
|
||||
endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,124 +0,0 @@
|
|||
#/bin/sh
|
||||
###############################################################
|
||||
# $Author: hkmoffa $
|
||||
# $Date: 2009/04/04 03:23:32 $
|
||||
# $Revision: 1.21 $
|
||||
#
|
||||
# Copyright 2001 California Institute of Technology
|
||||
#
|
||||
###############################################################
|
||||
|
||||
.SUFFIXES :
|
||||
.SUFFIXES : .cpp .d .o .f90 .mod
|
||||
|
||||
CXX_FLAGS = @CXXFLAGS@ $(CXX_OPT)
|
||||
FORT_FLAGS = @F90BUILDFLAGS@
|
||||
|
||||
PURIFY=@PURIFY@
|
||||
|
||||
CXX_OBJS = fct.o fctxml.o
|
||||
|
||||
BUILDINCDIR = ../../../build/include/cantera
|
||||
|
||||
INTERFACE_MODULE_OBJS = fct_interface.o fctxml_interface.o
|
||||
|
||||
USER_MODULE_OBJS = cantera_xml.o cantera_thermo.o cantera_kinetics.o \
|
||||
cantera_transport.o cantera_iface.o cantera_funcs.o cantera.o
|
||||
|
||||
MODULES = $(INTERFACE_MODULE_OBJS:_interface.o=.mod) $(USER_MODULE_OBJS)
|
||||
OBJS = $(CXX_OBJS) $(USER_MODULE_OBJS)
|
||||
|
||||
DEPENDS = $(CXX_OBJS:.o=.d)
|
||||
MODFILES = $(MODULES:.o=.mod)
|
||||
|
||||
# Fortran libraries
|
||||
FORT_LIBS = @FLIBS@
|
||||
|
||||
# the C++ compiler
|
||||
CXX = @CXX@
|
||||
|
||||
# the Fortran 90/95 compiler
|
||||
F90 = @F90@
|
||||
|
||||
# external libraries
|
||||
EXT_LIBS = @LOCAL_LIBS@
|
||||
|
||||
# the directory where the Cantera libraries are located
|
||||
CANTERA_LIBDIR=@buildlib@
|
||||
|
||||
LIB_DEPS = $(CANTERA_LIBDIR)/libctbase.a \
|
||||
$(CANTERA_LIBDIR)/libequil.a \
|
||||
$(CANTERA_LIBDIR)/libtransport.a \
|
||||
$(CANTERA_LIBDIR)/libthermo.a \
|
||||
$(CANTERA_LIBDIR)/libctnumerics.a \
|
||||
$(CANTERA_LIBDIR)/libzeroD.a \
|
||||
$(CANTERA_LIBDIR)/liboneD.a
|
||||
|
||||
# the directory where module .mod files should be put
|
||||
MODULE_DIR = @buildinc@/cantera
|
||||
|
||||
CXX_INCLUDES = -I../../src/base -I../../src/thermo -I../../src/kinetics -I../../src/transport -I../../src/numerics -I../../src/oneD -I../../src/zeroD -I../../src/equil -I../../src/converters @CXX_INCLUDES@
|
||||
|
||||
# flags passed to the C++ compiler/linker for the linking step
|
||||
LCXX_FLAGS = -L$(CANTERA_LIBDIR) @CXXFLAGS@
|
||||
|
||||
# how to compile C++ source files to object files
|
||||
%.o : %.cpp
|
||||
$(PURIFY) $(CXX) -c $< $(CXX_INCLUDES) $(CXX_FLAGS)
|
||||
|
||||
%.o : %.f90
|
||||
$(PURIFY) $(F90) -c $< $(FORT_FLAGS)
|
||||
|
||||
%.mod : %_interface.f90
|
||||
$(PURIFY) $(F90) -c $< $(FORT_FLAGS)
|
||||
|
||||
%.mod : %.f90
|
||||
$(PURIFY) $(F90) -c $< $(FORT_FLAGS)
|
||||
|
||||
LIB_NAME=libfct.a
|
||||
|
||||
FTLIB = @buildlib@/$(LIB_NAME)
|
||||
|
||||
all: $(FTLIB)
|
||||
|
||||
$(FTLIB): $(MODFILES) $(USER_MODULE_OBJS) $(CXX_OBJS) $(LIB_DEPS)
|
||||
$(RM) $(FTLIB)
|
||||
@ARCHIVE@ $(FTLIB) $(OBJS)
|
||||
|
||||
clean:
|
||||
$(RM) $(OBJS) $(FTLIB) $(MODFILES) *~
|
||||
(if test -d SunWS_cache ; then \
|
||||
$(RM) -rf SunWS_cache ; \
|
||||
fi )
|
||||
@(for lh in $(MODFILES); do \
|
||||
th=$(BUILDINCDIR)/"$${lh}" ; \
|
||||
if test -f "$${th}" ; then \
|
||||
$(RM) "$${th}" ; \
|
||||
echo "$(RM) $${th}" ; \
|
||||
fi \
|
||||
done)
|
||||
|
||||
|
||||
install:
|
||||
@INSTALL@ -m ug+rw,o+r $(FTLIB) @ct_libdir@
|
||||
@INSTALL@ -m ug+rw,o+r $(MODFILES) @ct_incdir@
|
||||
|
||||
win-install:
|
||||
@INSTALL@ -m ug+rw,o+r ../../../lib/fct.lib @ct_libdir@
|
||||
|
||||
%.d: %.cpp
|
||||
@CXX_DEPENDS@ $(CXX_INCLUDES) $*.cpp > $*.d
|
||||
|
||||
depends:
|
||||
$(MAKE) .depends
|
||||
|
||||
.depends: $(DEPENDS)
|
||||
cat *.d > .depends
|
||||
|
||||
cantera_thermo.o: fct.mod cantera_xml.mod cantera_thermo.f90
|
||||
fct.mod: fct_interface.f90
|
||||
fctxml.mod: fctxml_interface.f90
|
||||
|
||||
ifeq ($(wildcard .depends), .depends)
|
||||
include .depends
|
||||
endif
|
||||
|
|
@ -1,209 +0,0 @@
|
|||
#/bin/sh
|
||||
###############################################################
|
||||
# $Author: hkmoffa $
|
||||
# $Date: 2009/07/06 23:52:40 $
|
||||
# $Revision: 1.33 $
|
||||
#
|
||||
# Copyright 2001-2004 California Institute of Technology
|
||||
# See file License.txt for licensing information
|
||||
#
|
||||
###############################################################
|
||||
|
||||
LIBS = @LOCAL_LIBS@ @LIBS@ @FLIBS@
|
||||
SRCS = cantera/private/ctmethods.cpp \
|
||||
cantera/private/ctfunctions.cpp \
|
||||
cantera/private/xmlmethods.cpp \
|
||||
cantera/private/phasemethods.cpp \
|
||||
cantera/private/thermomethods.cpp \
|
||||
cantera/private/mixturemethods.cpp \
|
||||
cantera/private/kineticsmethods.cpp \
|
||||
cantera/private/transportmethods.cpp \
|
||||
cantera/private/reactormethods.cpp \
|
||||
cantera/private/reactornetmethods.cpp \
|
||||
cantera/private/wallmethods.cpp \
|
||||
cantera/private/flowdevicemethods.cpp \
|
||||
cantera/private/onedimmethods.cpp \
|
||||
cantera/private/surfmethods.cpp \
|
||||
cantera/private/funcmethods.cpp
|
||||
|
||||
|
||||
CANTERA_LIBDIR=@buildlib@
|
||||
os_is_win=@OS_IS_WIN@
|
||||
|
||||
ifeq ($(os_is_win),0)
|
||||
LIB_DEPS = $(CANTERA_LIBDIR)/libcantera.a $(CANTERA_LIBDIR)/libzeroD.a \
|
||||
$(CANTERA_LIBDIR)/liboneD.a \
|
||||
$(CANTERA_LIBDIR)/libtransport.a \
|
||||
$(CANTERA_LIBDIR)/libclib.a \
|
||||
$(CANTERA_LIBDIR)/libconverters.a
|
||||
else
|
||||
LIB_DEPS = $(CANTERA_LIBDIR)/cantera.lib $(CANTERA_LIBDIR)/zeroD.lib \
|
||||
$(CANTERA_LIBDIR)/oneD.lib \
|
||||
$(CANTERA_LIBDIR)/transport.lib
|
||||
endif
|
||||
|
||||
DEPENDS = $(SRCS:.cpp=.d)
|
||||
|
||||
.cpp.d:
|
||||
@CXX_DEPENDS@ $(CXX_INCLUDES) $*.cpp > $*.d
|
||||
|
||||
all: cantera/ctmethods.@mex_ext@
|
||||
|
||||
cantera/ctmethods.@mex_ext@: $(SRCS) $(LIBDEPS) Makefile
|
||||
ifeq ($(os_is_win),0)
|
||||
@PYTHON_CMD@ setup_matlab.py @prefix@/bin @buildlib@ @CT_SHARED_LIB@ '$(LIBS)'
|
||||
else
|
||||
@PYTHON_CMD@ setup_winmatlab.py
|
||||
endif
|
||||
(@MATLAB_CMD@ -nojvm -nosplash -r setup)
|
||||
rm -f setup.m
|
||||
|
||||
install:
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera-demos
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera/private
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera/@ThermoPhase/private
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera/@Mixture/private
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera/@Kinetics/private
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera/@Transport/private
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera/@Interface/private
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera/@Solution
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera/@XML_Node/private
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera/@Reactor/private
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera/@ReactorNet/private
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera/@Wall/private
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera/@FlowDevice/private
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera/@Func/private
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera/1D
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera/1D/@Domain1D/private
|
||||
@INSTALL_abs@ -d @prefix@/matlab/toolbox/cantera/cantera/1D/@Stack/private
|
||||
cd cantera; \
|
||||
( for iddd in *.m ctmethods*; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera; done )
|
||||
cd cantera/private; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/private; done )
|
||||
cd cantera/examples; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera-demos; done )
|
||||
cd cantera/@ThermoPhase; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@ThermoPhase; done )
|
||||
cd cantera/@ThermoPhase/private; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@ThermoPhase/private; done )
|
||||
cd cantera/@Kinetics; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@Kinetics; done )
|
||||
cd cantera/@Kinetics/private; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@Kinetics/private; done )
|
||||
cd cantera/@Solution; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@Solution; done )
|
||||
cd cantera/@Transport; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@Transport; done )
|
||||
cd cantera/@Transport/private; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@Transport/private; done )
|
||||
cd cantera/@Interface; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@Interface; done )
|
||||
cd cantera/@Interface/private; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@Interface/private; done )
|
||||
cd cantera/@Mixture; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@Mixture; done )
|
||||
cd cantera/@Mixture/private; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@Mixture/private; done )
|
||||
cd cantera/@XML_Node; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@XML_Node; done )
|
||||
cd cantera/@Reactor; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@Reactor; done )
|
||||
cd cantera/@Reactor/private; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@Reactor/private; done )
|
||||
cd cantera/@ReactorNet; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@ReactorNet; done )
|
||||
cd cantera/@ReactorNet/private; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@ReactorNet/private; done )
|
||||
cd cantera/@Wall; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@Wall; done )
|
||||
cd cantera/@Wall/private; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@Wall/private; done )
|
||||
cd cantera/@FlowDevice; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@FlowDevice; done )
|
||||
cd cantera/@FlowDevice/private; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@FlowDevice/private; done )
|
||||
cd cantera/@Func; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@Func; done )
|
||||
cd cantera/@Func/private; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/@Func/private; done )
|
||||
cd cantera/1D; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/1D; done )
|
||||
cd cantera/1D/@Domain1D; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/1D/@Domain1D; done )
|
||||
cd cantera/1D/@Domain1D/private; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/1D/@Domain1D/private; done )
|
||||
cd cantera/1D/@Stack; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/1D/@Stack; done )
|
||||
cd cantera/1D/@Stack/private; \
|
||||
( for iddd in *.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera/1D/@Stack/private; done )
|
||||
@INSTALL@ -d @prefix@/matlab/toolbox/cantera/cantera-tutorials
|
||||
( for iddd in cantera/tutorial/*.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @prefix@/matlab/toolbox/cantera/cantera-tutorials; done )
|
||||
@INSTALL_abs@ -d @ct_demodir@/matlab
|
||||
( for iddd in cantera/examples/*.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @ct_demodir@/matlab; done )
|
||||
@INSTALL@ -d @ct_tutdir@/matlab
|
||||
( for iddd in cantera/tutorial/*.m ; do \
|
||||
@INSTALL_abs@ -c $${iddd} @ct_tutdir@/matlab; done )
|
||||
chown -R @username@ @ct_demodir@/matlab
|
||||
chown -R @username@ @ct_tutdir@/matlab
|
||||
|
||||
clean:
|
||||
rm -f cantera/private/*.o
|
||||
rm -f cantera/ctmethods.@mex_ext@
|
||||
|
||||
#depends: $(DEPENDS)
|
||||
# cat *.d > .depends
|
||||
# $(RM) $(DEPENDS)
|
||||
|
||||
depends:
|
||||
echo "-"
|
||||
|
||||
TAGS:
|
||||
etags *.h *.cpp
|
||||
|
||||
ifeq ($(wildcard .depends), .depends)
|
||||
include .depends
|
||||
endif
|
||||
|
||||
run-demo:
|
||||
(cd @ct_dir@; matlab -nojvm -nosplash -r cantera_demos)
|
||||
|
||||
test-demo:
|
||||
(cd @ct_dir@/demos/matlab; matlab -nojvm -nosplash -r test_demos)
|
||||
|
||||
# end of file
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
|
||||
import sys
|
||||
|
||||
######################################################################
|
||||
# System Notes:
|
||||
#
|
||||
# HKM solaris 64:
|
||||
# On this system matlab is built with gcc. Therefore, you will have to
|
||||
# strip the "-lCrun -lCstd -lfsu" library commands from libs. They
|
||||
# will cause a link error. because they are only applicable to
|
||||
# sun's native CC compiler.
|
||||
#
|
||||
######################################################################
|
||||
|
||||
bindir = '@ct_bindir@'
|
||||
libdir = '-L@buildlib@ @LOCAL_LIB_DIRS@'
|
||||
incdir = '@buildinc@'
|
||||
libs = '-lclib @LOCAL_LIBS@ @LIBS@ @FLIBS@ @LCXX_END_LIBS@'
|
||||
|
||||
f = open('setup.m','w')
|
||||
f.write('cd cantera\nbuildux\nexit\n')
|
||||
f.close()
|
||||
|
||||
fb = open('cantera/buildux.m','w')
|
||||
fb.write("""
|
||||
disp('building Cantera..');
|
||||
mex -cxx -v private/ctmethods.cpp private/ctfunctions.cpp ...
|
||||
private/xmlmethods.cpp private/phasemethods.cpp ...
|
||||
private/thermomethods.cpp private/kineticsmethods.cpp ...
|
||||
private/mixturemethods.cpp ...
|
||||
private/transportmethods.cpp private/reactormethods.cpp ...
|
||||
private/reactornetmethods.cpp ...
|
||||
private/wallmethods.cpp private/flowdevicemethods.cpp ...
|
||||
private/funcmethods.cpp ...
|
||||
private/onedimmethods.cpp private/surfmethods.cpp ...
|
||||
"""+'-I'+incdir+' '+libdir+' '+libs+'\n'+"""disp('done.');
|
||||
""")
|
||||
fb.close()
|
||||
|
||||
fp = open('cantera/ctbin.m','w')
|
||||
fp.write("""function path = ctbin
|
||||
path = '"""+bindir+"""';
|
||||
""")
|
||||
fp.close()
|
||||
|
||||
|
|
@ -1,93 +0,0 @@
|
|||
#
|
||||
# python script to create a few key files for the windows build
|
||||
#
|
||||
# $Id: setup_winmatlab.py,v 1.29 2009/07/20 19:38:53 hkmoffa Exp $
|
||||
#
|
||||
import sys
|
||||
import os
|
||||
import os.path
|
||||
|
||||
#
|
||||
# We are currently in the CanteraRoot/Cantera/matlab directory
|
||||
CurrDir=os.getcwd()
|
||||
#
|
||||
# Get a list of path + 'matlab'
|
||||
#
|
||||
CantDir=os.path.split(CurrDir)
|
||||
#
|
||||
# Get a list of CanteraRoot + 'Cantera'
|
||||
#
|
||||
CantRootList=os.path.split(CantDir[0])
|
||||
#
|
||||
# CanteraRoot will contain the absolute path name
|
||||
# of the development root directory
|
||||
#
|
||||
CanteraRoot=CantRootList[0]
|
||||
|
||||
bindir = CanteraRoot + '/bin'
|
||||
libdir = CanteraRoot + '/build/lib/i686-pc-win32'
|
||||
incdir = CanteraRoot + '/build/include'
|
||||
dflibdir = ''
|
||||
|
||||
bllibstr = "-lctlapack -lctblas"
|
||||
bllibs = bllibstr.replace('-l',' ')
|
||||
bllist = bllibs.split()
|
||||
|
||||
bldir = libdir
|
||||
|
||||
libs = ['clib']
|
||||
#
|
||||
# setup.m file
|
||||
# This is a utility matlab file that tells matlab to
|
||||
# jump down a directory and execute build_cantera.m
|
||||
#
|
||||
f = open('setup.m','w')
|
||||
f.write('cd cantera\nbuild_cantera\nexit\n')
|
||||
f.close()
|
||||
#
|
||||
# cantera/build_Cantera.m
|
||||
#
|
||||
# Here we create the file cantera/build_Cantera.m
|
||||
# This file contains the command which is executed from within matlab
|
||||
# to build the cantera extension
|
||||
#
|
||||
fb = open('cantera/build_cantera.m','w')
|
||||
fb.write("""
|
||||
disp('building Cantera..');
|
||||
mex -v -I"""+incdir+""" private/ctmethods.cpp private/ctfunctions.cpp ...
|
||||
private/xmlmethods.cpp private/phasemethods.cpp ...
|
||||
private/thermomethods.cpp private/kineticsmethods.cpp ...
|
||||
private/transportmethods.cpp private/reactormethods.cpp ...
|
||||
private/reactornetmethods.cpp ...
|
||||
private/wallmethods.cpp private/flowdevicemethods.cpp ...
|
||||
private/funcmethods.cpp ...
|
||||
private/mixturemethods.cpp ...
|
||||
private/onedimmethods.cpp private/surfmethods.cpp ...
|
||||
""")
|
||||
s = ''
|
||||
for lib in libs:
|
||||
s += ' '+libdir+'/'+lib+'.lib ...\n'
|
||||
fb.write(s)
|
||||
if bllist:
|
||||
s = ''
|
||||
for lib in bllist:
|
||||
s += ' '+bldir+'/'+lib+'.lib ...\n'
|
||||
fb.write(s)
|
||||
# fb.write(' "'+dflibdir+'/dformd.lib" ...\n')
|
||||
# fb.write(' "'+dflibdir+'/dfconsol.lib" ...\n')
|
||||
# fb.write(' "'+dflibdir+'/dfport.lib" \n')
|
||||
fb.write(' \n')
|
||||
fb.close()
|
||||
#
|
||||
# Here we create the file ctbin.m.
|
||||
# This is a matlab command which specified the ctbin directory
|
||||
# within matlab. However we have a problem. This refers to the
|
||||
# development computer, while we may be on the target computer.
|
||||
# Don't know how to resolve this atm.
|
||||
#
|
||||
fp = open('cantera/ctbin.m','w')
|
||||
fp.write("""function path = ctbin
|
||||
path = '"""+bindir+"""';
|
||||
""")
|
||||
fp.close()
|
||||
|
||||
|
|
@ -1,94 +0,0 @@
|
|||
#
|
||||
# python script to create a few key files for the windows build
|
||||
#
|
||||
# $Id: setup_winmatlab.py,v 1.29 2009/07/20 19:38:53 hkmoffa Exp $
|
||||
#
|
||||
import sys
|
||||
import os
|
||||
import os.path
|
||||
|
||||
#
|
||||
# We are currently in the CanteraRoot/Cantera/matlab directory
|
||||
CurrDir=os.getcwd()
|
||||
#
|
||||
# Get a list of path + 'matlab'
|
||||
#
|
||||
CantDir=os.path.split(CurrDir)
|
||||
#
|
||||
# Get a list of CanteraRoot + 'Cantera'
|
||||
#
|
||||
CantRootList=os.path.split(CantDir[0])
|
||||
#
|
||||
# CanteraRoot will contain the absolute path name
|
||||
# of the development root directory
|
||||
#
|
||||
CanteraRoot=CantRootList[0]
|
||||
|
||||
bindir = CanteraRoot + '/bin'
|
||||
libdir = CanteraRoot + '/build/lib/i686-pc-win32'
|
||||
incdir = CanteraRoot + '/build/include'
|
||||
dflibdir = ''
|
||||
|
||||
bllibstr = "-lctlapack_d -lctblas_d"
|
||||
bllibs = bllibstr.replace('-l',' ')
|
||||
bllist = bllibs.split()
|
||||
|
||||
bldir = libdir
|
||||
|
||||
libs = ['clib_d']
|
||||
#
|
||||
# setup.m file
|
||||
# This is a utility matlab file that tells matlab to
|
||||
# jump down a directory and execute build_cantera.m
|
||||
#
|
||||
f = open('setup.m','w')
|
||||
# f.write('cd cantera\nbuild_cantera\nexit\n')
|
||||
f.write('cd cantera\nbuild_cantera\n')
|
||||
f.close()
|
||||
#
|
||||
# cantera/build_Cantera.m
|
||||
#
|
||||
# Here we create the file cantera/build_Cantera.m
|
||||
# This file contains the command which is executed from within matlab
|
||||
# to build the cantera extension
|
||||
#
|
||||
fb = open('cantera/build_cantera.m','w')
|
||||
fb.write("""
|
||||
disp('building Cantera..');
|
||||
mex -v -I"""+incdir+""" private/ctmethods.cpp private/ctfunctions.cpp ...
|
||||
private/xmlmethods.cpp private/phasemethods.cpp ...
|
||||
private/thermomethods.cpp private/kineticsmethods.cpp ...
|
||||
private/transportmethods.cpp private/reactormethods.cpp ...
|
||||
private/reactornetmethods.cpp ...
|
||||
private/wallmethods.cpp private/flowdevicemethods.cpp ...
|
||||
private/funcmethods.cpp ...
|
||||
private/mixturemethods.cpp ...
|
||||
private/onedimmethods.cpp private/surfmethods.cpp ...
|
||||
""")
|
||||
s = ''
|
||||
for lib in libs:
|
||||
s += ' '+libdir+'/'+lib+'.lib ...\n'
|
||||
fb.write(s)
|
||||
if bllist:
|
||||
s = ''
|
||||
for lib in bllist:
|
||||
s += ' '+bldir+'/'+lib+'.lib ...\n'
|
||||
fb.write(s)
|
||||
# fb.write(' "'+dflibdir+'/dformd.lib" ...\n')
|
||||
# fb.write(' "'+dflibdir+'/dfconsol.lib" ...\n')
|
||||
# fb.write(' "'+dflibdir+'/dfport.lib" \n')
|
||||
fb.write(' \n')
|
||||
fb.close()
|
||||
#
|
||||
# Here we create the file ctbin.m.
|
||||
# This is a matlab command which specified the ctbin directory
|
||||
# within matlab. However we have a problem. This refers to the
|
||||
# development computer, while we may be on the target computer.
|
||||
# Don't know how to resolve this atm.
|
||||
#
|
||||
fp = open('cantera/ctbin.m','w')
|
||||
fp.write("""function path = ctbin
|
||||
path = '"""+bindir+"""';
|
||||
""")
|
||||
fp.close()
|
||||
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
|
||||
import sys
|
||||
|
||||
bindir = 'C:/cygwin/usr/local/cantera/bin'
|
||||
libdir = 'c:/vc_env/cant17/build/lib/i686-pc-win32'
|
||||
incdir = 'c:/vc_env/cant17/build/include'
|
||||
dflibdir = ''
|
||||
|
||||
bllibstr = "-lctlapack -lctblas"
|
||||
bllibs = bllibstr.replace('-l',' ')
|
||||
bllist = bllibs.split()
|
||||
|
||||
bldir = "c:/vc_env/cant17/build/lib/i686-pc-win32"
|
||||
|
||||
libs = ['clib', 'oneD', 'zeroD', 'transport', 'equil', 'kinetics', 'thermo', 'numerics', 'converters', 'base',
|
||||
'ctcxx', 'tpx', 'NVEC_SER', 'CVODES', 'SUNDIALS_SHARED', 'ctmath', 'ctlapack', 'ctblas', 'ctf2c']
|
||||
|
||||
f = open('setup.m','w')
|
||||
f.write('cd cantera\nbuild_cantera\nexit\n')
|
||||
f.close()
|
||||
|
||||
fb = open('cantera/build_cantera.m','w')
|
||||
fb.write("""
|
||||
disp('building Cantera..');
|
||||
mex -v -I"""+incdir+""" private/ctmethods.cpp private/ctfunctions.cpp ...
|
||||
private/xmlmethods.cpp private/phasemethods.cpp ...
|
||||
private/thermomethods.cpp private/kineticsmethods.cpp ...
|
||||
private/transportmethods.cpp private/reactormethods.cpp ...
|
||||
private/reactornetmethods.cpp ...
|
||||
private/wallmethods.cpp private/flowdevicemethods.cpp ...
|
||||
private/funcmethods.cpp ...
|
||||
private/mixturemethods.cpp ...
|
||||
private/onedimmethods.cpp private/surfmethods.cpp ...
|
||||
""")
|
||||
s = ''
|
||||
for lib in libs:
|
||||
s += ' '+libdir+'/'+lib+'.lib ...\n'
|
||||
fb.write(s)
|
||||
if bllist:
|
||||
s = ''
|
||||
for lib in bllist:
|
||||
s += ' '+bldir+'/'+lib+'.lib ...\n'
|
||||
fb.write(s)
|
||||
# fb.write(' "'+dflibdir+'/dformd.lib" ...\n')
|
||||
# fb.write(' "'+dflibdir+'/dfconsol.lib" ...\n')
|
||||
# fb.write(' "'+dflibdir+'/dfport.lib" \n')
|
||||
fb.write(' \n')
|
||||
|
||||
fb.close()
|
||||
|
||||
fp = open('cantera/ctbin.m','w')
|
||||
fp.write("""function path = ctbin
|
||||
path = '"""+bindir+"""';
|
||||
""")
|
||||
fp.close()
|
||||
|
||||
|
|
@ -1,56 +0,0 @@
|
|||
|
||||
import sys
|
||||
|
||||
bindir = 'C:/cygwin/usr/local/cantera/bin'
|
||||
libdir = 'c:/vc_env/cant17/build/lib/i686-pc-win32'
|
||||
incdir = 'c:/vc_env/cant17/build/include'
|
||||
dflibdir = ''
|
||||
|
||||
bllibstr = "-lctlapack -lctblas"
|
||||
bllibs = bllibstr.replace('-l',' ')
|
||||
bllist = bllibs.split()
|
||||
|
||||
bldir = "c:/vc_env/cant17/build/lib/i686-pc-win32"
|
||||
|
||||
libs = ['clib', 'oneD', 'zeroD', 'transport', 'equil', 'kinetics', 'thermo', 'numerics', 'converters', 'base',
|
||||
'ctcxx', 'tpx', 'NVEC_SER', 'CVODES', 'SUNDIALS_SHARED', 'ctmath', 'ctlapack', 'ctblas', 'ctf2c']
|
||||
|
||||
f = open('setup.m','w')
|
||||
f.write('cd cantera\nbuild_cantera\nexit\n')
|
||||
f.close()
|
||||
|
||||
fb = open('cantera/build_cantera.m','w')
|
||||
fb.write("""
|
||||
disp('building Cantera..');
|
||||
mex -v -I"""+incdir+""" private/ctmethods.cpp private/ctfunctions.cpp ...
|
||||
private/xmlmethods.cpp private/phasemethods.cpp ...
|
||||
private/thermomethods.cpp private/kineticsmethods.cpp ...
|
||||
private/transportmethods.cpp private/reactormethods.cpp ...
|
||||
private/reactornetmethods.cpp ...
|
||||
private/wallmethods.cpp private/flowdevicemethods.cpp ...
|
||||
private/funcmethods.cpp ...
|
||||
private/mixturemethods.cpp ...
|
||||
private/onedimmethods.cpp private/surfmethods.cpp ...
|
||||
""")
|
||||
s = ''
|
||||
for lib in libs:
|
||||
s += ' '+libdir+'/'+lib+'.lib ...\n'
|
||||
fb.write(s)
|
||||
if bllist:
|
||||
s = ''
|
||||
for lib in bllist:
|
||||
s += ' '+bldir+'/'+lib+'.lib ...\n'
|
||||
fb.write(s)
|
||||
# fb.write(' "'+dflibdir+'/dformd.lib" ...\n')
|
||||
# fb.write(' "'+dflibdir+'/dfconsol.lib" ...\n')
|
||||
# fb.write(' "'+dflibdir+'/dfport.lib" \n')
|
||||
fb.write(' \n')
|
||||
|
||||
fb.close()
|
||||
|
||||
fp = open('cantera/ctbin.m','w')
|
||||
fp.write("""function path = ctbin
|
||||
path = '"""+bindir+"""';
|
||||
""")
|
||||
fp.close()
|
||||
|
||||
|
|
@ -1,108 +0,0 @@
|
|||
#/bin/sh
|
||||
###############################################################
|
||||
# $Author: hkmoffa $
|
||||
# $Date: 2009/04/19 21:11:51 $
|
||||
# $Revision: 1.31 $
|
||||
#
|
||||
# Copyright 2001 California Institute of Technology
|
||||
# See file License.txt for licensing information
|
||||
#
|
||||
###############################################################
|
||||
|
||||
have_python_site_package_topdir=@local_python_inst@
|
||||
python_site_package_topdir=@python_prefix@
|
||||
|
||||
CANTERA_LIBDIR= @buildlib@
|
||||
LIB_DEPS = @LOCAL_LIBS_DEP@
|
||||
|
||||
WIN_LIB_DEPS = $(CANTERA_LIBDIR)/cantera.lib $(CANTERA_LIBDIR)/zeroD.lib \
|
||||
$(CANTERA_LIBDIR)/oneD.lib \
|
||||
$(CANTERA_LIBDIR)/transport.lib
|
||||
SRCS = src/ctphase_methods.cpp \
|
||||
src/ctthermo_methods.cpp \
|
||||
src/ctkinetics_methods.cpp \
|
||||
src/cttransport_methods.cpp \
|
||||
src/ctxml_methods.cpp \
|
||||
src/ctfuncs.cpp \
|
||||
src/ctsurf_methods.cpp \
|
||||
src/ctbndry_methods.cpp \
|
||||
src/ctrpath_methods.cpp \
|
||||
src/ctreactor_methods.cpp \
|
||||
src/ctfunc_methods.cpp \
|
||||
src/ctonedim_methods.cpp \
|
||||
src/methods.h
|
||||
|
||||
os_is_win = @OS_IS_WIN@
|
||||
use_clib_dll = @USE_CLIB_DLL@
|
||||
|
||||
#LOCAL_DEFS=-DDEBUG_MODE
|
||||
PIC_FLAG=@PIC@
|
||||
|
||||
CXX_FLAGS= @CXXFLAGS@ $(LOCAL_DEFS) $(PIC_FLAG)
|
||||
|
||||
all: _build
|
||||
|
||||
win: _winbuild
|
||||
|
||||
#
|
||||
# HKM -> Python seems to want to compile C++ code with the CC compiler.
|
||||
# The fix is to assign the CC compiler to the CXX compiler.
|
||||
# the double quotes are needed if the CXX variable is multi-token.
|
||||
#
|
||||
_build: $(SRCS) $(LIB_DEPS) Makefile setup.py
|
||||
touch src/pycantera.cpp
|
||||
/bin/rm -f _build
|
||||
(CXX="@CXX@"; export CXX; CC="@CXX@"; export CC; CFLAGS="$(CXX_FLAGS)"; export CFLAGS; PURIFY="@PURIFY@"; export PURIFY; @PYTHON_CMD@ setup.py build)
|
||||
echo 'ok' > _build
|
||||
|
||||
#
|
||||
# HKM -> If clib is built as a dll, it needs to be copied by hand to the
|
||||
# site package directory.
|
||||
#
|
||||
ifeq ($(use_clib_dll), 1)
|
||||
CLIB_DLL=../../build/lib/i686-pc-win32/clib.dll
|
||||
CLIB_EXP=../../build/lib/i686-pc-win32/clib.exp
|
||||
else
|
||||
CLIB_DLL=
|
||||
CLIB_EXP=
|
||||
endif
|
||||
|
||||
_winbuild: $(SRCS) $(WIN_LIB_DEPS) $(CLIB_DLL)
|
||||
touch src/pycantera.cpp
|
||||
(@PYTHON_CMD@ setup.py build)
|
||||
ifeq ($(use_clib_dll), 1)
|
||||
ifeq ($(have_python_site_package_topdir), 1)
|
||||
(@INSTALL@ -m 755 $(CLIB_DLL) $(CLIB_EXP) \
|
||||
$(python_site_package_topdir)/lib/site-packages/Cantera)
|
||||
endif
|
||||
endif
|
||||
echo 'ok' > _winbuild
|
||||
|
||||
minbuild:
|
||||
(@PYTHON_CMD@ setup.py build)
|
||||
|
||||
install:
|
||||
ifeq (@local_python_inst@,1)
|
||||
(@PYTHON_CMD@ setup.py install --prefix="@python_win_prefix@")
|
||||
else
|
||||
(@PYTHON_CMD@ setup.py install)
|
||||
endif
|
||||
|
||||
clean:
|
||||
@PYTHON_CMD@ setup.py clean
|
||||
rm -f _build; rm -f _winbuild
|
||||
(if test -d build ; then cd build; rm -fR * ; fi)
|
||||
cd src; rm -f *.o
|
||||
|
||||
depends:
|
||||
echo '-'
|
||||
|
||||
test:
|
||||
cd examples; @PYTHON_CMD@ reactor1.py &> reactor1.out
|
||||
cd examples; @PYTHON_CMD@ flame1.py &> flame1.out
|
||||
cd examples; @PYTHON_CMD@ diamond.py &> diamond.out
|
||||
cd examples; @PYTHON_CMD@ critProperties.py &> critProperties.out
|
||||
|
||||
# end of file
|
||||
|
||||
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
PY_DEMO_DIRS = equilibrium flames gasdynamics kinetics liquid_vapor \
|
||||
misc reactors surface_chemistry transport fuel_cells
|
||||
MAKE = @MAKE@
|
||||
all:
|
||||
@(for d in $(PY_DEMO_DIRS) ; do \
|
||||
echo "entering directory $${d}..."; \
|
||||
(cd $${d}; $(MAKE)) ; \
|
||||
done)
|
||||
|
||||
run:
|
||||
@(for d in $(PY_DEMO_DIRS) ; do \
|
||||
echo "entering directory $${d}..."; \
|
||||
(cd $${d}; $(MAKE) run) ; \
|
||||
done)
|
||||
|
||||
test:
|
||||
@(for d in $(PY_DEMO_DIRS) ; do \
|
||||
echo "entering directory $${d}..."; \
|
||||
(cd $${d}; $(MAKE) test) ; \
|
||||
done)
|
||||
|
||||
install:
|
||||
@INSTALL@ -d @ct_demodir@/python
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile @ct_demodir@/python
|
||||
@INSTALL@ -c -m ug+rw,o+r run_examples.py @ct_demodir@/python
|
||||
@(for d in $(PY_DEMO_DIRS) ; do \
|
||||
echo "entering directory $${d}..."; \
|
||||
(cd $${d}; $(MAKE) install) ; \
|
||||
done)
|
||||
|
||||
|
||||
clean:
|
||||
@(for dd in $(PY_DEMO_DIRS) ; do \
|
||||
echo "entering directory $${dd}..."; \
|
||||
(cd $${dd}; $(MAKE) -i clean; cd ..) ; \
|
||||
done)
|
||||
|
||||
# end of file
|
||||
|
||||
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
PY_DEMO_DIRS = equilibrium flames gasdynamics kinetics liquid_vapor \
|
||||
misc reactors surface_chemistry transport fuel_cells
|
||||
MAKE = make
|
||||
all:
|
||||
@(for d in $(PY_DEMO_DIRS) ; do \
|
||||
echo "entering directory $${d}..."; \
|
||||
(cd $${d}; $(MAKE)) ; \
|
||||
done)
|
||||
|
||||
run:
|
||||
@(for d in $(PY_DEMO_DIRS) ; do \
|
||||
echo "entering directory $${d}..."; \
|
||||
(cd $${d}; $(MAKE) run) ; \
|
||||
done)
|
||||
|
||||
test:
|
||||
@(for d in $(PY_DEMO_DIRS) ; do \
|
||||
echo "entering directory $${d}..."; \
|
||||
(cd $${d}; $(MAKE) test) ; \
|
||||
done)
|
||||
|
||||
|
||||
clean:
|
||||
@(for dd in $(PY_DEMO_DIRS) ; do \
|
||||
echo "entering directory $${dd}..."; \
|
||||
(cd $${dd}; $(MAKE) -i clean; cd ..) ; \
|
||||
done)
|
||||
|
||||
# end of file
|
||||
|
||||
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/equilibrium
|
||||
|
||||
PY_DEMOS = simple_test stoich_flame adiabatic_flame multiphase_plasma
|
||||
MAKE = @MAKE@
|
||||
|
||||
all:
|
||||
$(MAKE) run
|
||||
|
||||
run:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
cd "$${py}"; \
|
||||
$(MAKE) run ; \
|
||||
cd .. ; \
|
||||
done)
|
||||
|
||||
test:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "testing $${py} test"; \
|
||||
cd "$${py}"; \
|
||||
$(MAKE) test ; \
|
||||
cd .. ; \
|
||||
done)
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r plotting.py $(INST_DIR)
|
||||
@(for d in $(PY_DEMOS) ; do \
|
||||
echo "entering directory $${d}..."; \
|
||||
(cd $${d}; $(MAKE) install) ; \
|
||||
done)
|
||||
|
||||
|
||||
clean:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
cd "$${py}"; \
|
||||
$(MAKE) clean ; \
|
||||
cd .. ; \
|
||||
done)
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,35 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
PY_DEMOS = simple_test stoich_flame adiabatic_flame multiphase_plasma
|
||||
MAKE = make
|
||||
|
||||
all:
|
||||
$(MAKE) run
|
||||
|
||||
run:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
cd "$${py}"; \
|
||||
$(MAKE) run ; \
|
||||
cd .. ; \
|
||||
done)
|
||||
|
||||
test:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "testing $${py} test"; \
|
||||
cd "$${py}"; \
|
||||
$(MAKE) test ; \
|
||||
cd .. ; \
|
||||
done)
|
||||
|
||||
|
||||
clean:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
cd "$${py}"; \
|
||||
$(MAKE) clean ; \
|
||||
cd .. ; \
|
||||
done)
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/equilibrium/adiabatic_flame
|
||||
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) adiabatic.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r adiabatic.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r adiabatic_blessed_0.csv $(INST_DIR)
|
||||
|
||||
clean:
|
||||
rm -f *.log
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/equilibrium/adiabatic_flame
|
||||
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) adiabatic.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.log
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/equilibrium/multiphase_plasma
|
||||
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) multiphase_plasma.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r multiphase_plasma.py $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r equil_koh_blessed_0.csv $(INST_DIR)
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) multiphase_plasma.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/equilibrium/simple_test
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) simple.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r simple.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.log *.csv *.xml
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) simple.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.log *.csv *.xml
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/equilibrium/stoich_flame
|
||||
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) stoich.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r stoich.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.log *.csv *.xml
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) stoich.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.log *.csv *.xml
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,44 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/flames
|
||||
|
||||
PY_DEMOS = flame1 flame2 stflame1 npflame1 free_h2_air \
|
||||
adiabatic_flame flame_fixed_T
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
all:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd $${py} ; @MAKE@ ) \
|
||||
done)
|
||||
|
||||
run:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd $${py} ; @MAKE@ run ) \
|
||||
done)
|
||||
|
||||
test:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd $${py} ; @MAKE@ test ) \
|
||||
done)
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd $${py} ; @MAKE@ install ) \
|
||||
done)
|
||||
|
||||
|
||||
clean:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd $${py} ; @MAKE@ clean ) \
|
||||
done)
|
||||
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,34 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
PY_DEMOS = flame1 flame2 stflame1 npflame1 free_h2_air \
|
||||
adiabatic_flame flame_fixed_T
|
||||
|
||||
all:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd $${py} ; make) \
|
||||
done)
|
||||
|
||||
run:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd $${py} ; make run ) \
|
||||
done)
|
||||
|
||||
test:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd $${py} ; make test ) \
|
||||
done)
|
||||
|
||||
|
||||
clean:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd $${py} ; make clean ) \
|
||||
done)
|
||||
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/flames/adiabatic_flame
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) adiabatic_flame.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r adiabatic_flame.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r adiabatic_flame_blessed_0.csv $(INST_DIR)
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.log
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) adiabatic_flame.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.log
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,31 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/flames/flame1
|
||||
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) catcomb.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r flame1.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r flame1_blessed_0.csv $(INST_DIR)
|
||||
|
||||
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.log
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) catcomb.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
rm -f *.log
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/flames/flame2
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) flame2.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r flame2.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r flame2_blessed_0.csv $(INST_DIR)
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.log
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) flame2.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
rm -f *.log
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/flames/flame_fixed_T
|
||||
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) flame_fixed_T.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r flame_fixed_T.py $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r tdata.dat $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r flame_fixed_T_blessed_0.csv $(INST_DIR)
|
||||
|
||||
clean:
|
||||
rm -f *.log
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) flame_fixed_T.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.log
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/flames/free_h2_air
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) free_h2_air.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r free_h2_air.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r freeflame1_blessed_0.csv $(INST_DIR)
|
||||
|
||||
clean:
|
||||
rm -f *.log output_0.txt freeflame1.csv freeflame1.xml
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) free_h2_air.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.log output_0.txt freeflame1.csv freeflame1.xml
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/flames/npflame1
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) npflame1.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r npflame1.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r npflame1_blessed_0.csv $(INST_DIR)
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) npflame1.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/flames/stflame1
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) stflame1.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r stflame1.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r stflame1_1_blessed_0.csv $(INST_DIR)
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) stflame1.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/fuel_cells
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) sofc.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r sofc.py $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r sofc.cti $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r sofc_blessed_0.csv $(INST_DIR)
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.log
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) sofc.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.log
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/gasdynamics
|
||||
|
||||
PY_DEMOS = isentropic soundSpeed
|
||||
|
||||
|
||||
all:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
(cd $${py} ; @MAKE@ ) \
|
||||
done)
|
||||
|
||||
run:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd $${py} ; @MAKE@ run ) \
|
||||
done)
|
||||
|
||||
test:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "testing $${py}..."; \
|
||||
(cd $${py} ; @MAKE@ test ) \
|
||||
done)
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "install $${py}..."; \
|
||||
(cd $${py} ; @MAKE@ install ) \
|
||||
done)
|
||||
|
||||
|
||||
clean:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "cleaning $${py}..."; \
|
||||
(cd $${py} ; @MAKE@ clean ) \
|
||||
done)
|
||||
|
||||
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
PY_DEMOS = isentropic soundSpeed
|
||||
|
||||
|
||||
all:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
(cd $${py} ; make ) \
|
||||
done)
|
||||
|
||||
run:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd $${py} ; make run ) \
|
||||
done)
|
||||
|
||||
test:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "testing $${py}..."; \
|
||||
(cd $${py} ; make test ) \
|
||||
done)
|
||||
|
||||
clean:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "cleaning $${py}..."; \
|
||||
(cd $${py} ; make clean ) \
|
||||
done)
|
||||
|
||||
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/gasdynamics/isentropic
|
||||
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) isentropic.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r isentropic.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) isentropic.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/gasdynamics/soundSpeed
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) soundSpeed.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r soundSpeed.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) soundSpeed.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/kinetics
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) sofc.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r ratecoeffs.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.log *.csv *.xml
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) sofc.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
rm -f *.log *.csv *.xml
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,42 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/liquid_vapor
|
||||
|
||||
PY_DEMOS = critProperties rankine
|
||||
|
||||
all:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
(cd $${py} ; @MAKE@ ) \
|
||||
done)
|
||||
|
||||
run:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd $${py} ; @MAKE@ run ) \
|
||||
done)
|
||||
|
||||
test:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "testing $${py}..."; \
|
||||
(cd $${py} ; @MAKE@ test) \
|
||||
done)
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "installing $${py}..."; \
|
||||
(cd $${py} ; @MAKE@ install) \
|
||||
done)
|
||||
|
||||
|
||||
clean:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "cleaning $${py}..."; \
|
||||
(cd $${py} ; @MAKE@ clean) \
|
||||
done)
|
||||
|
||||
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
PY_DEMOS = critProperties rankine
|
||||
|
||||
all:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
(cd $${py} ; make ) \
|
||||
done)
|
||||
|
||||
run:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd $${py} ; make run ) \
|
||||
done)
|
||||
|
||||
test:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "testing $${py}..."; \
|
||||
(cd $${py} ; make test) \
|
||||
done)
|
||||
|
||||
|
||||
clean:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "cleaning $${py}..."; \
|
||||
(cd $${py} ; make clean) \
|
||||
done)
|
||||
|
||||
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/liquid_vapor/critProperties
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) critProperties.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r critProperties.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) critProperties.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/liquid_vapor/rankine
|
||||
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) rankine.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r rankine.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) rankine.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/misc
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) rxnpath1.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r rxnpath1.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r rp_blessed_0.txt $(INST_DIR)
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) rxnpath1.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,45 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/reactors
|
||||
|
||||
PY_DEMOS = combustor_sim functors_sim mix1_sim mix2_sim piston_sim reactor1_sim \
|
||||
reactor2_sim sensitivity_sim surf_pfr_sim
|
||||
|
||||
all:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd "$${py}"; @MAKE@ ) ; \
|
||||
done)
|
||||
|
||||
run:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd "$${py}"; @MAKE@ run ) ; \
|
||||
done)
|
||||
|
||||
test:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "testing $${py}..."; \
|
||||
(cd "$${py}"; @MAKE@ test ) ; \
|
||||
done)
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "installing $${py}..."; \
|
||||
(cd "$${py}"; @MAKE@ install ) ; \
|
||||
done)
|
||||
|
||||
|
||||
|
||||
|
||||
clean:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "testing $${py}..."; \
|
||||
(cd "$${py}"; @MAKE@ clean ) ; \
|
||||
done)
|
||||
rm -f *.log *.csv *.xml
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
PY_DEMOS = combustor_sim functors_sim mix1_sim mix2_sim piston_sim reactor1_sim \
|
||||
reactor2_sim sensitivity_sim surf_pfr_sim
|
||||
|
||||
all:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd "$${py}"; make ) ; \
|
||||
done)
|
||||
|
||||
run:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "running $${py}..."; \
|
||||
(cd "$${py}"; make run ) ; \
|
||||
done)
|
||||
|
||||
test:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "testing $${py}..."; \
|
||||
(cd "$${py}"; make test ) ; \
|
||||
done)
|
||||
|
||||
|
||||
clean:
|
||||
@(for py in $(PY_DEMOS) ; do \
|
||||
echo "testing $${py}..."; \
|
||||
(cd "$${py}"; make clean ) ; \
|
||||
done)
|
||||
rm -f *.log *.csv *.xml
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/reactors/combustor_sim
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) combustor.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r combustor.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r combustor_blessed_0.csv $(INST_DIR)
|
||||
|
||||
clean:
|
||||
rm -f *.log
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) combustor.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.log
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/reactors/functors_sim
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) functors.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r functors.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) functors.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/reactors/mix1_sim
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) mix1.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r mix1.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) mix1.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/reactors/mix2_sim
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) mix2.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r mix2.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) mix2.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/reactors/piston_sim
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) piston.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r piston.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) piston.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/reactors/reactor1_sim
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) reactor1.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r reactor1.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) reactor1.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/reactors/reactor2_sim
|
||||
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) combustor.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r reactor2.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r piston_blessed_0.csv $(INST_DIR)
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) combustor.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,25 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/reactors/sensitivity_sim
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) sensitivity1.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r sensitivity1.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) sensitivity1.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/reactors/surf_pfr_sim
|
||||
|
||||
PYTHON_CMD = @PYTHON_CMD@
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) surf_pfr.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r surf_pfr.py $(INST_DIR)
|
||||
@INSTALL@ -c runtest $(INST_DIR)
|
||||
@INSTALL@ -c cleanup $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r output_blessed_0.txt $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r surf_pfr_blessed_0.csv $(INST_DIR)
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) surf_pfr.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -1,28 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
INST_DIR=@ct_demodir@/python/surface_chemistry
|
||||
|
||||
all:
|
||||
cd catcomb_stagflow; @MAKE@
|
||||
cd diamond_cvd; @MAKE@
|
||||
|
||||
run:
|
||||
cd catcomb_stagflow; @MAKE@ run
|
||||
cd diamond_cvd; @MAKE@ run
|
||||
|
||||
test:
|
||||
cd catcomb_stagflow; @MAKE@ test
|
||||
cd diamond_cvd; @MAKE@ test
|
||||
|
||||
install:
|
||||
@INSTALL@ -d $(INST_DIR)
|
||||
@INSTALL@ -c -m ug+rw,o+r Makefile $(INST_DIR)
|
||||
cd catcomb_stagflow; @MAKE@ install
|
||||
cd diamond_cvd; @MAKE@ install
|
||||
|
||||
clean:
|
||||
cd catcomb_stagflow; @MAKE@ clean
|
||||
cd diamond_cvd; @MAKE@ clean
|
||||
|
||||
# end of file
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue