aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2009-12-21 21:19:48 -0500
committerSteven Rostedt <rostedt@goodmis.org>2009-12-21 21:19:48 -0500
commitc761902e60c969ed786e009b68b67636bc67f8b1 (patch)
tree4685fa78bc6ce3c9c80cdbba00556c3804786a01 /Makefile
parent7fe507f6cab8c983ce91682d8ed98725a7e6b8fc (diff)
trace-view: Separate out view from trace-cmd
trace-cmd is going to be a command line only tool. The viewer is going to go into a separate utility. This patch separates it out. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 6c00ac9..7533dee 100644
--- a/Makefile
+++ b/Makefile
@@ -19,26 +19,28 @@ CFLAGS = -g -Wall $(CONFIG_FLAGS)
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 \ 21TARGETS = libparsevent.a libtracecmd.a trace-cmd plugin_hrtimer.so plugin_mac80211.so \
22 plugin_sched_switch.so trace-graph 22 plugin_sched_switch.so trace-graph trace-view
23 23
24all: $(TARGETS) 24all: $(TARGETS)
25 25
26LIB_FILE = libtracecmd.a 26LIB_FILE = libtracecmd.a
27 27
28HEADERS = parse-events.h trace-cmd.h trace-local.h trace-view-store.h 28HEADERS = parse-events.h trace-cmd.h trace-local.h
29 29
30trace-read.o:: $(HEADERS) 30trace-read.o:: $(HEADERS)
31trace-cmd.o:: $(HEADERS) $(LIB_FILE) 31trace-cmd.o:: $(HEADERS) $(LIB_FILE)
32trace-util.o:: $(HEADERS) 32trace-util.o:: $(HEADERS)
33trace-ftrace.o:: $(HEADERS) 33trace-ftrace.o:: $(HEADERS)
34trace-input.o:: $(HEADERS) 34trace-input.o:: $(HEADERS)
35trace-view.o:: $(HEADERS) 35trace-view.o:: $(HEADERS) trace-view-store.h
36trace-view-store.o:: $(HEADERS) 36trace-view-store.o:: $(HEADERS) trace-view-store.h
37trace-filter.o:: $(HEADERS) 37trace-filter.o:: $(HEADERS)
38trace-graph.o:: $(HEADERS) 38trace-graph.o:: $(HEADERS)
39 39
40trace-cmd:: trace-cmd.o trace-read.o trace-view.o trace-view-store.o \ 40trace-cmd:: trace-cmd.o trace-read.o
41 trace-filter.o 41 $(CC) $^ -rdynamic -o $@ $(LIBS)
42
43trace-view:: trace-view.o trace-view-store.o trace-filter.o
42 $(CC) $^ -rdynamic -o $@ $(CONFIG_LIBS) $(LIBS) 44 $(CC) $^ -rdynamic -o $@ $(CONFIG_LIBS) $(LIBS)
43 45
44trace-graph:: trace-graph.o trace-compat.o 46trace-graph:: trace-graph.o trace-compat.o