[buddy] install a pkg-config file
* src/libbddx.pc.in: New file. * src/Makefile.am: Generate libbddx.pc, and install it. Distribute libbddx.pc.in. * src/.gitignore: Ignore *.pc.
This commit is contained in:
parent
c7141bd189
commit
a9b056baa4
3 changed files with 27 additions and 1 deletions
2
buddy/src/.gitignore
vendored
2
buddy/src/.gitignore
vendored
|
|
@ -5,4 +5,4 @@
|
||||||
Makefile.in
|
Makefile.in
|
||||||
Makefile
|
Makefile
|
||||||
bddtest
|
bddtest
|
||||||
|
*.pc
|
||||||
|
|
|
||||||
|
|
@ -30,3 +30,18 @@ check_PROGRAMS = bddtest
|
||||||
bddtest_SOURCES = bddtest.cxx
|
bddtest_SOURCES = bddtest.cxx
|
||||||
bddtest_CPPFLAGS = -I$(top_builddir)
|
bddtest_CPPFLAGS = -I$(top_builddir)
|
||||||
bddtest_LDADD = ./libbddx.la
|
bddtest_LDADD = ./libbddx.la
|
||||||
|
|
||||||
|
|
||||||
|
EXTRA_DIST = $(srcdir)/libbddx.pc.in
|
||||||
|
pkgconfigdir = $(libdir)/pkgconfig
|
||||||
|
nodist_pkgconfig_DATA = libbddx.pc
|
||||||
|
|
||||||
|
libbddx.pc: $(srcdir)/libbddx.pc.in
|
||||||
|
sed -e 's![@]prefix[@]!$(prefix)!g' \
|
||||||
|
-e 's![@]exec_prefix[@]!$(exec_prefix)!g' \
|
||||||
|
-e 's![@]includedir[@]!$(includedir)!g' \
|
||||||
|
-e 's![@]libdir[@]!$(libdir)!g' \
|
||||||
|
-e 's![@]PACKAGE_VERSION[@]!$(PACKAGE_VERSION)!g' \
|
||||||
|
$(srcdir)/libbddx.pc.in > $@
|
||||||
|
|
||||||
|
DISTCLEANFILES = libbddx.pc
|
||||||
|
|
|
||||||
11
buddy/src/libbddx.pc.in
Normal file
11
buddy/src/libbddx.pc.in
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=@exec_prefix@
|
||||||
|
includedir=@includedir@
|
||||||
|
libdir=@libdir@
|
||||||
|
|
||||||
|
Name: BuDDyX
|
||||||
|
Description: A BDD library (fork of BuDDy for use with Spot)
|
||||||
|
URL: https://spot.lrde.epita.fr/
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
Cflags: -I${includedir}
|
||||||
|
Libs: -L${libdir} -lbddx
|
||||||
Loading…
Add table
Add a link
Reference in a new issue