dect
/
libnl
Archived
13
0
Fork 0

Install headers in ${includedir}/libnl3

This allows for multiple major versions to be installed in parallel. Pkg-config
files are adapted to provide appropriate cflags to find new header locations.
This commit is contained in:
Thomas Graf 2011-09-13 11:48:18 +02:00
parent 7b0d063fc1
commit 226b387557
5 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,8 @@
# -*- Makefile -*-
nobase_include_HEADERS = \
libnlincludedir = $(includedir)/libnl@MAJ_VERSION@
nobase_libnlinclude_HEADERS = \
netlink/cli/addr.h \
netlink/cli/class.h \
netlink/cli/cls.h \

View File

@ -7,4 +7,4 @@ Name: libnl
Description: Convenience library for netlink sockets
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lnl
Cflags: -I${includedir}
Cflags: -I${includedir}/libnl@MAJ_VERSION@

View File

@ -8,4 +8,4 @@ Description: Generic Netlink Library
Version: @PACKAGE_VERSION@
Requires: libnl-3
Libs: -L${libdir} -lnl-genl
Cflags: -I${includedir}
Cflags: -I${includedir}/libnl@MAJ_VERSION@

View File

@ -8,4 +8,4 @@ Description: Netfilter Netlink Library
Version: @PACKAGE_VERSION@
Requires: libnl-3
Libs: -L${libdir} -lnl-nf
Cflags: -I${includedir}
Cflags: -I${includedir}/libnl@MAJ_VERSION@

View File

@ -8,4 +8,4 @@ Description: Netlink Routing Family Library
Version: @PACKAGE_VERSION@
Requires: libnl-3
Libs: -L${libdir} -lnl-route
Cflags: -I${includedir}
Cflags: -I${includedir}/libnl@MAJ_VERSION@