diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2009-11-25 14:31:42 -0500 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2009-11-25 14:31:42 -0500 |
commit | 1806a49845e48a3e5f5ffb33d549bdefa2c1190b (patch) | |
tree | 3bbc557bbb074288daefd3b2bb651576c74e6b6c /Makefile | |
parent | a2ae0f35f900008b7862a34eb9e1afec2c0cb592 (diff) |
add mac80211 plugin
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 | ||
12 | TARGETS = libparsevent.a trace-cmd plugin_hrtimer.so | 12 | TARGETS = libparsevent.a trace-cmd plugin_hrtimer.so plugin_mac80211.so |
13 | 13 | ||
14 | all: $(TARGETS) | 14 | all: $(TARGETS) |
15 | 15 | ||
@@ -41,6 +41,12 @@ plugin_hrtimer.o: plugin_hrtimer.c parse-events.h | |||
41 | plugin_hrtimer.so: plugin_hrtimer.o | 41 | plugin_hrtimer.so: plugin_hrtimer.o |
42 | $(CC) -shared -nostartfiles -o $@ $< | 42 | $(CC) -shared -nostartfiles -o $@ $< |
43 | 43 | ||
44 | plugin_mac80211.o: plugin_mac80211.c parse-events.h | ||
45 | $(CC) -c $(CFLAGS) -fPIC -o $@ $< | ||
46 | |||
47 | plugin_mac80211.so: plugin_mac80211.o | ||
48 | $(CC) -shared -nostartfiles -o $@ $< | ||
49 | |||
44 | .PHONY: force | 50 | .PHONY: force |
45 | force: | 51 | force: |
46 | 52 | ||