From d8cebf5560191bdbffa0e153150849f0a74a7b21 Mon Sep 17 00:00:00 2001 From: Inaky Perez-Gonzalez Date: Thu, 7 May 2009 15:00:11 -0700 Subject: wimaxll: add pkg-config file for wimaxll plugins Signed-off-by: Inaky Perez-Gonzalez --- Makefile.am | 2 +- configure.in | 1 + libwimaxll-0.pc.in | 2 +- wimaxll-cmd-0.pc.in | 15 +++++++++++++++ 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 wimaxll-cmd-0.pc.in 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} -- cgit v1.2.3