libnl/Makefile.am
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

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

Signed-off-by: Karl Hiramoto <karl@hiramoto.org>
2010-10-13 13:10:48 +02:00

20 lines
286 B
Makefile

# -*- Makefile -*-
ACLOCAL_AMFLAGS = -I m4
OPT_DIRS =
if ENABLE_CLI
OPT_DIRS += src
endif
SUBDIRS = include lib doc $(OPT_DIRS)
pkgconfig_DATA = libnl-2.0.pc
sysconfdir = @sysconfdir@/libnl
sysconf_DATA = etc/pktloc
.PHONY: cscope
cscope:
cscope -b -q -R -Iinclude -slib -ssrc;