summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am3
-rw-r--r--src/libplist++.pc.in11
-rw-r--r--src/libplist.pc.in11
3 files changed, 25 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 0a16b24..83b975c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -45,3 +45,6 @@ if WIN32
libplist_la_LDFLAGS += -avoid-version
libplist___la_LDFLAGS += -avoid-version
endif
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libplist.pc libplist++.pc
diff --git a/src/libplist++.pc.in b/src/libplist++.pc.in
new file mode 100644
index 0000000..cea869c
--- /dev/null
+++ b/src/libplist++.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: @PACKAGE_NAME@++
+Description: C++ binding for @PACKAGE_NAME@
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lplist++
+Cflags: -I${includedir}
+Requires: libplist >= @PACKAGE_VERSION@
diff --git a/src/libplist.pc.in b/src/libplist.pc.in
new file mode 100644
index 0000000..fc97247
--- /dev/null
+++ b/src/libplist.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: @PACKAGE_NAME@
+Description: A library to handle Apple Property Lists whereas they are binary or XML
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lplist
+Cflags: -I${includedir}
+Requires.private: libxml-2.0 >= @LIBXML2_VERSION@