Fork 0
Commit Graph

19 Commits

Author SHA1 Message Date
Thomas Graf 91ab1bea5e make: automake provides a cscope target these days
Signed-off-by: Thomas Graf <>
2012-12-21 13:30:21 +01:00
Thomas Graf 5535f59746 Don't include doc/ in toplevel dist
On a second thought, don't include doc/ in dist at all and distribute it
separately. The doc source files are available in the git tree anyway.

Signed-off-by: Thomas Graf <>
2012-10-22 12:09:03 +02:00
Thomas Graf 65c3919ff4 Only include doc/ in dist 2012-10-19 16:35:28 +02:00
Thomas Graf 9af5469004 tests: Convert tests/Makefile to use automake 2012-04-21 10:34:43 +02:00
Jan Engelhardt 88940b71f8 build: simplify optional dirs/files in processing 2011-11-11 11:55:29 +01:00
Jiří Župka f90dc636cb Add libnl-cli-3.0 to pkg-config tool
Signed-off-by: Jiří Župka <>
2011-10-10 11:39:24 +02:00
Thomas Graf 67bd56f214 Fix a73cb2f26 fallout to allow building in separate directory
Commit a73cb2f269 missed to change the
EXTRA_DATA section
2011-09-13 23:33:06 +02:00
Thomas Graf 4c210adcb5 Switch to libtool versioning system
It has been a request that multiple libnl versions should be installabe
in parallel.

In order to achieve this, the basename of the library was changed to
libnl-3 which reflects the 3rd generation of libnl APIs. It also means
that release based library versioning is left behind and libtool
versioning is used instead.

Projects using pkgconfig will automatically link against the new library
basename and will not notice a difference.

The SO versioning is based on the glib model:
  current := 100 * minor + micro - revision
  revision := revision
  age := age (number of backwards compatible versions)
2011-09-13 22:58:08 +02:00
Jan Engelhardt a73cb2f269 build: always install files into /etc/libnl
I observed that with the RedHat build target in the Open Build
Service, files were put into /etc rather than /etc/libnl.
Self-referential variables are a bad idea, and so just avoid this.
2011-09-13 13:19:26 +02:00
Thomas Graf 2a37ab5f34 prepare for 3.2 release
Fall back to using libnl-*.3.pc files. It may be common to have multiple
generations of libnl installed but unlikely within the same major release.
2011-09-08 15:34:31 +02:00
Thomas Graf 23333e5e35 python: Include python/ in distribution and provide a README on how to build & install 2011-08-12 10:45:47 +02:00
Thomas Graf f1c8d5b0a3 3.1 release 2011-08-11 14:30:24 +02:00
Thierry Reding 9f1abddb1a Fix "make distcheck".
This commit adds some missing files (some header files, the files below
/etc and the bison/flex files) to the distribution tarball to ensure
that libnl can be built from the tarballs created using "make dist".

It also adds some incantations to properly generate the flex and bison
output since the generated output is no longer shipped in the tarball.
2011-03-23 16:00:44 +01:00
Thomas Graf 55f803c64d libnl-3.0 2011-03-21 17:03:01 +01:00
Thomas Graf 757592ec1b classid database
A database to resolve qdisc/class names to classid values and vice versa.
The function rtnl_tc_handle2str() and rtnl_tc_str2handle() will resolve
names automatically.

A CLI based tool nl-classid-lookup is provided to integrate the database
into existing iproute2 scripts.
2010-10-19 16:31:23 +02:00
Thomas Graf 3229b32e39 - Prepare for 2.1.x tree
- Bump interface number, we will break API in the development tree
2010-10-14 13:56:46 +02:00
Karl Hiramoto 018c297274 libnl: optionally disable cli tools.
compile and link time can reduced, most non-developers don't need these cli tools.

./configure --disable-cli
time make
real    0m40.485s
user    0m33.784s
sys     0m2.793s

time make
real    0m53.097s
user    0m42.077s
sys     0m4.396s

Signed-off-by: Karl Hiramoto <>
2010-10-13 13:10:48 +02:00
Thomas Graf db5bd57899 Packet Location Interface 2010-07-02 14:06:59 +02:00
Jan Engelhardt bf4fd3acee Move to automake-based build
Issues solved:
* unneeded DEP stage
* did not support out-of-tree builds
* no way to turn off silent mode
* overriding CFLAGS at make time was not supported
* no static libs were provided

Signed-off-by: Jan Engelhardt <>
2009-06-23 01:24:51 +02:00