Permalink
Browse files

Add libnl-cli-3.0 to pkg-config tool

Signed-off-by: Jiří Župka <jzupka@redhat.com>
  • Loading branch information...
1 parent d3bb7c9 commit f90dc636cbe69ce157b395d0ae8c06b82ac965e5 Jiří Župka committed with Thomas Graf Oct 4, 2011
Showing with 17 additions and 1 deletion.
  1. +5 −1 Makefile.am
  2. +1 −0 configure.in
  3. +11 −0 libnl-cli-3.0.pc.in
View
@@ -3,17 +3,21 @@
ACLOCAL_AMFLAGS = -I m4
OPT_DIRS =
+PKGCONFIGS =
if ENABLE_CLI
OPT_DIRS += src
+PKGCONFIGS += libnl-cli-3.0.pc
endif
SUBDIRS = include lib doc man python $(OPT_DIRS)
pkgconfig_DATA = libnl-3.0.pc \
libnl-route-3.0.pc \
libnl-genl-3.0.pc \
- libnl-nf-3.0.pc
+ libnl-nf-3.0.pc \
+ $(PKGCONFIGS)
+
pkgsysconfdir = ${sysconfdir}/libnl
pkgsysconf_DATA = etc/pktloc etc/classid
View
@@ -76,6 +76,7 @@ libnl-3.0.pc
libnl-route-3.0.pc
libnl-genl-3.0.pc
libnl-nf-3.0.pc
+libnl-cli-3.0.pc
doc/Doxyfile
doc/Makefile
lib/Makefile
View
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libnl-cli
+Description: Command Line Interface library for netlink sockets
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lnl-cli-@MAJ_VERSION@
+Cflags: -I${includedir}
+Requires: libnl-3.0 libnl-genl-3.0 libnl-nf-3.0 libnl-route-3.0

0 comments on commit f90dc63

Please sign in to comment.