aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2009-12-31 17:21:52 -0500
committerSteven Rostedt <rostedt@goodmis.org>2009-12-31 17:21:52 -0500
commit53b43d308e644a77829977cbd2bd123a6bc64260 (patch)
tree8a701de915a01d63150fc8e1bd9092577a014f12 /Makefile
parent0a0bfaa72b4ff1af4fa0fd75128a31dcd326dbb7 (diff)
parent05e0559ecaff29d65a478e85addef12cf9d1a81b (diff)
Merge branch 'trace-cmd' into trace-view
Conflicts: Makefile Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 14 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 6538c97..e879e90 100644
--- a/Makefile
+++ b/Makefile
@@ -18,8 +18,11 @@ CFLAGS = -g -Wall $(CONFIG_FLAGS)
18%.o: %.c 18%.o: %.c
19 $(CC) -c $(CFLAGS) $(EXT) $(INCLUDES) $< -o $@ 19 $(CC) -c $(CFLAGS) $(EXT) $(INCLUDES) $< -o $@
20 20
21TARGETS = libparsevent.a libtracecmd.a trace-cmd plugin_hrtimer.so plugin_mac80211.so \ 21PLUGINS = plugin_hrtimer.so plugin_mac80211.so plugin_sched_switch.so \
22 plugin_sched_switch.so trace-graph trace-view kernelshark 22 plugin_kmem.so
23
24TARGETS = libparsevent.a libtracecmd.a trace-cmd $(PLUGINS) \
25 trace-graph trace-view kernelshark
23 26
24all: $(TARGETS) 27all: $(TARGETS)
25 28
@@ -99,19 +102,25 @@ libtracecmd.so: $(TCMD_LIB_OBJS)
99libtracecmd.a: $(TCMD_LIB_OBJS) 102libtracecmd.a: $(TCMD_LIB_OBJS)
100 $(RM) $@; $(AR) rcs $@ $^ 103 $(RM) $@; $(AR) rcs $@ $^
101 104
102plugin_hrtimer.o: plugin_hrtimer.c parse-events.h 105plugin_hrtimer.o: plugin_hrtimer.c parse-events.h trace-cmd.h
103 $(CC) -c $(CFLAGS) -fPIC -o $@ $< 106 $(CC) -c $(CFLAGS) -fPIC -o $@ $<
104 107
105plugin_hrtimer.so: plugin_hrtimer.o 108plugin_hrtimer.so: plugin_hrtimer.o
106 $(CC) -shared -nostartfiles -o $@ $< 109 $(CC) -shared -nostartfiles -o $@ $<
107 110
108plugin_sched_switch.o: plugin_sched_switch.c parse-events.h 111plugin_kmem.o: plugin_kmem.c parse-events.h trace-cmd.h
112 $(CC) -c $(CFLAGS) -fPIC -o $@ $<
113
114plugin_kmem.so: plugin_kmem.o
115 $(CC) -shared -nostartfiles -o $@ $<
116
117plugin_sched_switch.o: plugin_sched_switch.c parse-events.h trace-cmd.h
109 $(CC) -c $(CFLAGS) -fPIC -o $@ $< 118 $(CC) -c $(CFLAGS) -fPIC -o $@ $<
110 119
111plugin_sched_switch.so: plugin_sched_switch.o 120plugin_sched_switch.so: plugin_sched_switch.o
112 $(CC) -shared -nostartfiles -o $@ $< 121 $(CC) -shared -nostartfiles -o $@ $<
113 122
114plugin_mac80211.o: plugin_mac80211.c parse-events.h 123plugin_mac80211.o: plugin_mac80211.c parse-events.h trace-cmd.h
115 $(CC) -c $(CFLAGS) -fPIC -o $@ $< 124 $(CC) -c $(CFLAGS) -fPIC -o $@ $<
116 125
117plugin_mac80211.so: plugin_mac80211.o 126plugin_mac80211.so: plugin_mac80211.o