]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - netem/Makefile
config: put CFLAGS/LDLIBS in config.mk
[mirror_iproute2.git] / netem / Makefile
index 2499f086f24d524746044053eee61ca34000c6d3..434185273f64ca29e4ee7e68fb2f8509e5ce7ec9 100644 (file)
@@ -1,4 +1,4 @@
-include ../Config
+include ../config.mk
 
 DISTGEN = maketable normal pareto paretonormal
 DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist
@@ -7,11 +7,6 @@ HOSTCC ?= $(CC)
 CCOPTS  = $(CBUILD_CFLAGS)
 LDLIBS += -lm
 
-ifeq ($(HAVE_MNL),y)
-       CFLAGS += -DHAVE_LIBMNL $(shell $(PKG_CONFIG) libmnl --cflags)
-       LDLIBS += $(shell $(PKG_CONFIG) libmnl --libs)
-endif
-
 all: $(DISTGEN) $(DISTDATA)
 
 $(DISTGEN):