Commit a9b056ba authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

[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.
parent c7141bd1
......@@ -5,4 +5,4 @@
Makefile.in
Makefile
bddtest
*.pc
......@@ -30,3 +30,18 @@ check_PROGRAMS = bddtest
bddtest_SOURCES = bddtest.cxx
bddtest_CPPFLAGS = -I$(top_builddir)
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
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment