summaryrefslogtreecommitdiff
path: root/trafgen/Makefile
blob: a1bff804b20e5a4faa8d4c86952f609bc254b5c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
trafgen-libs =	-lm

ifeq ($(CONFIG_LIBNL), 1)
trafgen-libs +=	$(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs libnl-3.0) \
		$(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --libs libnl-genl-3.0)
endif

trafgen-objs =	xmalloc.o \
		die.o \
		ioops.o \
		privs.o \
		proc.o \
		dev.o \
		irq.o \
		link.o \
		str.o \
		sig.o \
		sock.o \
		ring_tx.o \
		ring.o \
		timer.o \
		sysctl.o \
		cpp.o \
		pcap_sg.o \
		pcap_rw.o \
		pcap_mm.o \
		iosched.o \
		trafgen_dev.o \
		trafgen_dump.o \
		trafgen_proto.o \
		trafgen_l2.o \
		trafgen_l3.o \
		trafgen_l4.o \
		trafgen_l7.o \
		trafgen_lexer.yy.o \
		trafgen_parser.tab.o \
		trafgen.o

ifeq ($(CONFIG_LIBNL), 1)
trafgen-objs += mac80211.o
endif

trafgen-lex =	trafgen_lexer.yy.o

trafgen-yacc =	trafgen_parser.tab.o

trafgen-eflags = -I..

ifeq ($(CONFIG_LIBNL), 1)
trafgen-eflags = $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --cflags libnl-3.0) \
		 $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) $(PKG_CONFIG) --cflags libnl-genl-3.0)
endif

trafgen-confs =	trafgen_stddef.h

trafgen_post_install:
	$(Q)mv $(DESTDIR)$(ETCDIRE)/trafgen_stddef.h $(DESTDIR)$(ETCDIRE)/stddef.h

trafgen_clean_custom:
	$(Q)$(call RM,$(BUILD_DIR)/*.h $(BUILD_DIR)/*.c)
s necessary right now because we need a proper way to unbreak LTTNG, which iscurrently non functional due to the removal of the notifiers. Surely it's out of tree, but it's widely used by distros. The simple solution would have been to reserve a state for LTTNG, but I'm not fond about unused crap in the kernel and the dynamic range, which we admittedly should have done right away, allows us to remove quite some of the hardcoded states, i.e. those which have no ordering requirements. So doing the right thing now is better than having an smaller intermediate solution which needs to be reworked anyway" * 'smp-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: cpu/hotplug: Provide dynamic range for prepare stage perf/x86/amd/ibs: Fix typo after cleanup state names in cpu/hotplug
Diffstat (limited to 'include/pcmcia/ciscode.h')