3 ifeq ($(CONFIG_LIBNL
), 1)
4 trafgen-libs
+= $(shell PKG_CONFIG_PATH
=$(PKG_CONFIG_PATH
) $(PKG_CONFIG
) --libs libnl-3.0
) \
5 $(shell PKG_CONFIG_PATH
=$(PKG_CONFIG_PATH
) $(PKG_CONFIG
) --libs libnl-genl-3.0
)
8 trafgen-objs
= xmalloc.o \
34 trafgen_parser.tab.o \
37 ifeq ($(CONFIG_LIBNL
), 1)
38 trafgen-objs
+= mac80211.o
41 trafgen-lex
= trafgen_lexer.yy.o
43 trafgen-yacc
= trafgen_parser.tab.o
47 ifeq ($(CONFIG_LIBNL
), 1)
48 trafgen-eflags
= $(shell PKG_CONFIG_PATH
=$(PKG_CONFIG_PATH
) $(PKG_CONFIG
) --cflags libnl-3.0
) \
49 $(shell PKG_CONFIG_PATH
=$(PKG_CONFIG_PATH
) $(PKG_CONFIG
) --cflags libnl-genl-3.0
)
52 trafgen-confs
= trafgen_stddef.h
55 $(Q
)mv
$(DESTDIR
)$(ETCDIRE
)/trafgen_stddef.h
$(DESTDIR
)$(ETCDIRE
)/stddef.h
58 $(Q
)$(call RM
,$(BUILD_DIR
)/*.h
$(BUILD_DIR
)/*.c
)