diff options
author | Jiří Župka <jzupka@redhat.com> | 2011-10-04 14:06:22 (GMT) |
---|---|---|
committer | Thomas Graf <tgraf@redhat.com> | 2011-10-10 09:39:24 (GMT) |
commit | f90dc636cbe69ce157b395d0ae8c06b82ac965e5 (patch) | |
tree | f475f20808f6fb9b8bc5eef775cd252c10e765fe | |
parent | d3bb7c9cf16587c71fc01311fe6d8ae5a0280246 (diff) | |
download | libnl-f90dc636cbe69ce157b395d0ae8c06b82ac965e5.zip libnl-f90dc636cbe69ce157b395d0ae8c06b82ac965e5.tar.gz libnl-f90dc636cbe69ce157b395d0ae8c06b82ac965e5.tar.bz2 |
Add libnl-cli-3.0 to pkg-config tool
Signed-off-by: Jiří Župka <jzupka@redhat.com>
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | configure.in | 1 | ||||
-rw-r--r-- | libnl-cli-3.0.pc.in | 11 |
3 files changed, 17 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index 70d1b76..4b8f020 100644 --- a/Makefile.am +++ b/Makefile.am @@ -3,9 +3,11 @@ 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) @@ -13,7 +15,9 @@ 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 diff --git a/configure.in b/configure.in index a9e3a7a..31b5bff 100644 --- a/configure.in +++ b/configure.in @@ -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 diff --git a/libnl-cli-3.0.pc.in b/libnl-cli-3.0.pc.in new file mode 100644 index 0000000..d3638ba --- /dev/null +++ b/libnl-cli-3.0.pc.in @@ -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 |