]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Add openzap.pc pkg-config file
authorStefan Knoblich <stkn@freeswitch.org>
Wed, 8 Apr 2009 21:44:33 +0000 (21:44 +0000)
committerStefan Knoblich <stkn@freeswitch.org>
Wed, 8 Apr 2009 21:44:33 +0000 (21:44 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@706 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/freetdm/Makefile.am
libs/freetdm/configure.ac
libs/freetdm/openzap.pc.in [new file with mode: 0644]

index 4a7c1e72b0b2a110255f66412adc8ccd1bb3d190..83921b1784f1db7129df4594147729b476b841e4 100644 (file)
@@ -43,6 +43,15 @@ LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(COMPILE)
 LINK      = $(LIBTOOL) --mode=link --tag=CC $(CC) $(MY_CFLAGS) $(LDFLAGS) -o $@
 
 
+#
+# GNU pkgconfig file
+#
+EXTRA_DIST = openzap.pc.in
+
+pkgconfigdir   = $(libdir)/pkgconfig
+pkgconfig_DATA = openzap.pc
+
+
 #
 # libopenzap
 #
index 222a1d309d7564cda39c1a4226707f97304339d4..c16ce2b386d3e5916204f67056f97b1075500935 100644 (file)
@@ -160,5 +160,6 @@ AM_CONDITIONAL([LIBPRI],[test "${enable_libpri}" = "yes"])
 COMP_VENDOR_CFLAGS="$COMP_VENDOR_CFLAGS"
 AC_SUBST(COMP_VENDOR_CFLAGS)
 AC_CONFIG_FILES([Makefile
+               openzap.pc
                mod_openzap/Makefile])
 AC_OUTPUT
diff --git a/libs/freetdm/openzap.pc.in b/libs/freetdm/openzap.pc.in
new file mode 100644 (file)
index 0000000..082ed5c
--- /dev/null
@@ -0,0 +1,17 @@
+#
+# OpenZAP pkg-config file
+#
+prefix=@prefix@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: OpenZAP
+Description:
+Version: @PACKAGE_VERSION@
+URL: http://www.openzap.org/
+Requires:
+Conflicts:
+Libs: -L${libdir} -lopenzap
+Libs.private: -lm
+Cflags: -I${includedir}