mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
[cantera]: adding pkdgconfig support (I think)
This commit is contained in:
@@ -5,8 +5,13 @@ SUBDIRS = Cantera tools test_problems
|
||||
SUBDIRS += doxygen examples
|
||||
|
||||
# Distribute these directories:
|
||||
DIST_SUBDIRS = Cantera examples
|
||||
DISTDIRS = Cantera examples
|
||||
|
||||
# generated documentation will be included in distributed archive
|
||||
EXTRA_DIST= bootstrap $(DX_CONFIG)
|
||||
EXTRA_DIST = bootstrap $(DX_CONFIG)
|
||||
EXTRA_DIST += AUTHORS README
|
||||
|
||||
# Support for pkgconfig
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = cantera.pc
|
||||
|
||||
|
||||
22
cantera.pc.in
Normal file
22
cantera.pc.in
Normal file
@@ -0,0 +1,22 @@
|
||||
# @PACKAGE_NAME@ installation details
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
# Fortran compilation and linking information
|
||||
# Retrieve these using `pkg-config --variable=name @PACKAGE_NAME@`
|
||||
fflags=-I@libdir@
|
||||
flibs=-L@libdir@ -lf@PACKAGE_NAME@ -l@PACKAGE_NAME@
|
||||
|
||||
Name: @PACKAGE_NAME@
|
||||
Description: @PACKAGE_DESCRIPTION@
|
||||
URL: @PACKAGE_URL@
|
||||
Requires:
|
||||
Version: @VERSION@
|
||||
|
||||
LINK = -lctcxx -luser -loneD -lzeroD -lequil -lkinetics -ltransport -lthermo
|
||||
LINK += -lctnumerics -lctmath -ltpx -lctspectra -lconverters -lctbase -lcvode
|
||||
LINK += -lctlapack -lctblas -lctf2c -lm -lstdc++
|
||||
|
||||
Libs: -L${libdir} ${LINK}
|
||||
Cflags: -I${includedir}
|
||||
@@ -159,7 +159,8 @@ AC_OUTPUT(Makefile \
|
||||
Cantera/src/spectra/Makefile Cantera/src/zeroD/Makefile \
|
||||
Cantera/src/equil/Makefile \
|
||||
examples/Makefile \
|
||||
examples/cxx/Makefile)
|
||||
examples/cxx/Makefile \
|
||||
cantera.pc)
|
||||
|
||||
# skipped tests
|
||||
# test_problems/ck2cti/Makefile
|
||||
|
||||
Reference in New Issue
Block a user