cc_sources = fct.cpp fctxml.cpp

fc_sources = fct_interface.f90 fctxml_interface.f90 cantera_xml.f90 cantera_thermo.f90 \
	     cantera_kinetics.f90 cantera_transport.f90 cantera_iface.f90              \
	     cantera_funcs.f90 cantera.f90

h_sources               = 

INC                     = -I$(top_builddir)/include/ -I$(top_builddir)/src/
AM_CPPFLAGS             = $(INC)
AM_CXXFLAGS             = $(AM_CPPFLAGS)
AM_FCFLAGS              = $(AM_CPPFLAGS)

LINK                    = -luser -loneD -lzeroD -lequil -lkinetics -ltransport -lthermo
LINK                   += -lctnumerics -lctmath -ltpx -lctspectra -lconverters -lctbase -lcvode
LINK                   += -lctlapack -lctblas -lctf2c -lctcxx -lm  -lctf2c -lstdc++

AM_LDFLAGS              = -L$(top_builddir)/build/lib/

lib_LTLIBRARIES         = $(top_builddir)/build/lib/libfct.la
library_includedir      = $(top_builddir)/build/include
library_include_HEADERS = $(h_sources)

#-----------------------
# Cantera Converters C/C++ library
#-----------------------

__top_builddir__build_lib_libfct_la_LDFLAGS      = $(all_libraries) -release $(GENERIC_RELEASE)
__top_builddir__build_lib_libfct_la_SOURCES      = $(cc_sources) $(fc_sources) $(h_sources)

__top_builddir__build_lib_libfct_include_HEADERS = $(h_sources)
__top_builddir__build_lib_libfct_includedir      = $(prefix)/include

CLEANFILES = *.o
