[cantera]: fixing a linkage issue
This commit is contained in:
parent
7e6277b313
commit
2746301631
4 changed files with 12 additions and 7 deletions
|
|
@ -27,13 +27,14 @@ cc_sources = abort_.c c_log.c d_atn2.c dfe.c d_prod.c \
|
|||
system_.c wsle.c z_sin.c c_div.c d_asin.c\
|
||||
derfc_.c d_nint.c d_tanh.c err.c ftell_.c\
|
||||
hl_ge.c i_abs.c i_mod.c l_le.c pow_di.c \
|
||||
r_cosh.c r_log.c rsne.c \
|
||||
r_cosh.c r_log.c rsne.c \
|
||||
sig_die.c typesize.c wsne.c z_sqrt.c \
|
||||
c_exp.c d_atan.c d_exp.c dolio.c dtime_.c\
|
||||
etime_.c getarg_.c hl_gt.c iargc_.c \
|
||||
etime_.c hl_gt.c \
|
||||
i_nint.c l_lt.c pow_hh.c r_abs.c rdfmt.c \
|
||||
r_mod.c r_sqrt.c signal_.c uio.c xwsne.c
|
||||
# arithchk.c
|
||||
|
||||
# arithchk.c getarg_.c iargc_.c
|
||||
|
||||
h_sources = f2c.h fio.h fmt.h fp.h lio.h rawio.h sysdep1.h
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Define to add underscore after fortran functions */
|
||||
#undef FTN_TRAILING_UNDERSCORE
|
||||
|
||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
|
|
|
|||
|
|
@ -27,10 +27,11 @@ AC_SUBST([PACKAGE_DESCRIPTION])
|
|||
PACKAGE_URL="http://code.google.com/p/cantera/"
|
||||
AC_SUBST([PACKAGE_URL])
|
||||
|
||||
# add trailing underscore
|
||||
# add trailing underscore(s)
|
||||
AC_DEFINE([LAPACK_FTN_TRAILING_UNDERSCORE],1,[Define to add underscore after fortran functions])
|
||||
LAPACK_FTN_TRAILING_UNDERSCORE=1
|
||||
|
||||
AC_DEFINE([FTN_TRAILING_UNDERSCORE],1,[Define to add underscore after fortran functions])
|
||||
FTN_TRAILING_UNDERSCORE=1
|
||||
|
||||
AC_CHECK_TYPES([uint8_t, uint16_t, uint32_t, int32_t, uint64_t, int64_t])
|
||||
AH_BOTTOM([
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
cc_sources = DH_graph_1.cpp
|
||||
|
||||
INC = -I. -I$(top_builddir)/build/include/ -I$(top_builddir)/build/include/cantera -I$(top_builddir)/build/include/cantera/kernel
|
||||
INC = -I. -I$(top_builddir)/build/include/
|
||||
AM_CPPFLAGS = $(INC)
|
||||
AM_CXXFLAGS = $(AM_CPPFLAGS)
|
||||
|
||||
LINK = -lctcxx -luser -loneD -lzeroD -lequil -lkinetics -ltransport -lthermo
|
||||
LINK += -lctnumerics -lctmath -ltpx -lctspectra -lconverters -lctbase -lcvode
|
||||
LINK += -lctlapack -lctblas -lctf2c -lm -lstdc++
|
||||
AM_LDFLAGS = -L/workspace/src/cantera/pecos_autotools/build/lib/
|
||||
AM_LDFLAGS = -L$(top_builddir)/build/lib/
|
||||
LIBS = $(LINK)
|
||||
|
||||
bin_PROGRAMS = DH_graph_1
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue