summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-05-07 15:00:11 -0700
committerInaky Perez-Gonzalez <inaky@linux.intel.com>2009-05-07 15:00:11 -0700
commitd8cebf5560191bdbffa0e153150849f0a74a7b21 (patch)
tree126dbee6fb8f4ba82b148e1ec4c35b30426d8ef7
parentb1ebeb2695a306c02bc4c04abcffb68d2f6ad67a (diff)
wimaxll: add pkg-config file for wimaxll plugins
Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
-rw-r--r--Makefile.am2
-rw-r--r--configure.in1
-rw-r--r--libwimaxll-0.pc.in2
-rw-r--r--wimaxll-cmd-0.pc.in15
4 files changed, 18 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index f90345d..8b5c43c 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,7 +2,7 @@ pkgconfigdir = ${libdir}/pkgconfig
SUBDIRS = include lib src bin doc
-pkgconfig_DATA = libwimaxll-0.pc libwimaxll-i2400m-0.pc
+pkgconfig_DATA = libwimaxll-0.pc libwimaxll-i2400m-0.pc wimaxll-cmd-0.pc
MAINTAINERCLEANFILES = Makefile.in \
aclocal.m4 configure config.h.in config.sub config.guess \
diff --git a/configure.in b/configure.in
index a0ef362..c32ec91 100644
--- a/configure.in
+++ b/configure.in
@@ -139,6 +139,7 @@ AC_OUTPUT(Makefile
libwimaxll-0-uninstalled.pc
libwimaxll-i2400m-0.pc
libwimaxll-i2400m-0-uninstalled.pc
+ wimaxll-cmd-0.pc
bin/Makefile
bin/wimax-tools-version
include/Makefile
diff --git a/libwimaxll-0.pc.in b/libwimaxll-0.pc.in
index 7d109a4..f998325 100644
--- a/libwimaxll-0.pc.in
+++ b/libwimaxll-0.pc.in
@@ -1,7 +1,7 @@
prefix=@prefix@
exec_prefix=@prefix@
libdir=@libdir@
-includedir=@prefix@/include
+includedir=@includedir@
Name: @PACKAGE_TARNAME@
Description: @PACKAGE_NAME@
diff --git a/wimaxll-cmd-0.pc.in b/wimaxll-cmd-0.pc.in
new file mode 100644
index 0000000..b0b296c
--- /dev/null
+++ b/wimaxll-cmd-0.pc.in
@@ -0,0 +1,15 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+# Any file wimaxll-pl-*.so in this directory is considered to be a
+# plugin for wimaxll.
+plugindir=${libdir}/wimax-tools/plugins
+
+Name: wimaxll-cmd
+Description: WiMAX low level control utility plugin API
+Requires: libwimaxll-0
+Version: @PACKAGE_VERSION@
+Libs: -module -avoid-version -export-symbols-regex plugin
+Cflags: -I${includedir}