aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-11-25 14:31:42 -0500
committerJohannes Berg <johannes@sipsolutions.net>2009-11-25 14:31:42 -0500
commit1806a49845e48a3e5f5ffb33d549bdefa2c1190b (patch)
tree3bbc557bbb074288daefd3b2bb651576c74e6b6c /Makefile
parenta2ae0f35f900008b7862a34eb9e1afec2c0cb592 (diff)
add mac80211 plugin
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7a6dd0a..c4b13b9 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ LIBS = -L. -lparsevent -ldl
9%.o: %.c 9%.o: %.c
10 $(CC) -c $(CFLAGS) $(EXT) $(INCLUDES) $< -o $@ 10 $(CC) -c $(CFLAGS) $(EXT) $(INCLUDES) $< -o $@
11 11
12TARGETS = libparsevent.a trace-cmd plugin_hrtimer.so 12TARGETS = libparsevent.a trace-cmd plugin_hrtimer.so plugin_mac80211.so
13 13
14all: $(TARGETS) 14all: $(TARGETS)
15 15
@@ -41,6 +41,12 @@ plugin_hrtimer.o: plugin_hrtimer.c parse-events.h
41plugin_hrtimer.so: plugin_hrtimer.o 41plugin_hrtimer.so: plugin_hrtimer.o
42 $(CC) -shared -nostartfiles -o $@ $< 42 $(CC) -shared -nostartfiles -o $@ $<
43 43
44plugin_mac80211.o: plugin_mac80211.c parse-events.h
45 $(CC) -c $(CFLAGS) -fPIC -o $@ $<
46
47plugin_mac80211.so: plugin_mac80211.o
48 $(CC) -shared -nostartfiles -o $@ $<
49
44.PHONY: force 50.PHONY: force
45force: 51force:
46 52