commit
7f1b49db48
@ -304,3 +304,6 @@ opm/core/linalg/LinearSolverAGMG.hpp
|
|||||||
lib_libopmcore_la_LDFLAGS += \
|
lib_libopmcore_la_LDFLAGS += \
|
||||||
$(FCLIBS)
|
$(FCLIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
pkgconfig_DATA = lib/pkgconfig/opm-core.pc
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
|
||||||
AC_PREREQ([2.59])
|
AC_PREREQ([2.59])
|
||||||
AC_INIT([OPM Core Library], [0.1], [atgeirr@sintef.no],dnl
|
AC_INIT([OPM Core Library], [0.1], [atgeirr@sintef.no],
|
||||||
[opmcore], [https://public.ict.sintef.no/opm/hg/opmcore])
|
[opmcore], [https://public.ict.sintef.no/opm/hg/opmcore])
|
||||||
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects])
|
||||||
|
|
||||||
@ -51,6 +51,8 @@ AC_CONFIG_FILES([
|
|||||||
tests/Makefile
|
tests/Makefile
|
||||||
examples/Makefile
|
examples/Makefile
|
||||||
tutorials/Makefile
|
tutorials/Makefile
|
||||||
|
opm-core.pc
|
||||||
|
lib/pkgconfig/opm-core.pc
|
||||||
])
|
])
|
||||||
|
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
||||||
|
11
lib/pkgconfig/opm-core.pc.in
Normal file
11
lib/pkgconfig/opm-core.pc.in
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
Name: @PACKAGE_NAME@
|
||||||
|
Description: @PACKAGE_STRING@
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
URL: @PACKAGE_URL@
|
||||||
|
Libs: -L${libdir} -l@PACKAGE@
|
||||||
|
Cflags: -I${includedir}
|
18
opm-core.pc.in
Normal file
18
opm-core.pc.in
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
# This is the configuration for local builds. Use this by putting the
|
||||||
|
# compilation output path (the directory in which you ran ./configure)
|
||||||
|
# into the environment variable PKG_CONFIG_PATH. This will enable you
|
||||||
|
# to use pkg-config in your code while making changes to opm-core.
|
||||||
|
|
||||||
|
# This is NOT the file that is installed in the system directories when
|
||||||
|
# you do `make install`. That is the one in lib/pkgconfig. However, if
|
||||||
|
# you make changes here, you should consider that one as well.
|
||||||
|
|
||||||
|
libdir=@abs_top_builddir@/lib/.libs
|
||||||
|
includedir=@abs_top_srcdir@
|
||||||
|
|
||||||
|
Name: @PACKAGE_NAME@
|
||||||
|
Description: @PACKAGE_STRING@
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
URL: @PACKAGE_URL@
|
||||||
|
Libs: -L${libdir} -l@PACKAGE@
|
||||||
|
Cflags: -I${includedir}
|
Loading…
Reference in New Issue
Block a user