diff options
author | Steven Rostedt <rostedt@goodmis.org> | 2009-12-21 21:19:48 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-12-21 21:19:48 -0500 |
commit | c761902e60c969ed786e009b68b67636bc67f8b1 (patch) | |
tree | 4685fa78bc6ce3c9c80cdbba00556c3804786a01 /Makefile | |
parent | 7fe507f6cab8c983ce91682d8ed98725a7e6b8fc (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-- | Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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 | ||
21 | TARGETS = libparsevent.a libtracecmd.a trace-cmd plugin_hrtimer.so plugin_mac80211.so \ | 21 | TARGETS = 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 | ||
24 | all: $(TARGETS) | 24 | all: $(TARGETS) |
25 | 25 | ||
26 | LIB_FILE = libtracecmd.a | 26 | LIB_FILE = libtracecmd.a |
27 | 27 | ||
28 | HEADERS = parse-events.h trace-cmd.h trace-local.h trace-view-store.h | 28 | HEADERS = parse-events.h trace-cmd.h trace-local.h |
29 | 29 | ||
30 | trace-read.o:: $(HEADERS) | 30 | trace-read.o:: $(HEADERS) |
31 | trace-cmd.o:: $(HEADERS) $(LIB_FILE) | 31 | trace-cmd.o:: $(HEADERS) $(LIB_FILE) |
32 | trace-util.o:: $(HEADERS) | 32 | trace-util.o:: $(HEADERS) |
33 | trace-ftrace.o:: $(HEADERS) | 33 | trace-ftrace.o:: $(HEADERS) |
34 | trace-input.o:: $(HEADERS) | 34 | trace-input.o:: $(HEADERS) |
35 | trace-view.o:: $(HEADERS) | 35 | trace-view.o:: $(HEADERS) trace-view-store.h |
36 | trace-view-store.o:: $(HEADERS) | 36 | trace-view-store.o:: $(HEADERS) trace-view-store.h |
37 | trace-filter.o:: $(HEADERS) | 37 | trace-filter.o:: $(HEADERS) |
38 | trace-graph.o:: $(HEADERS) | 38 | trace-graph.o:: $(HEADERS) |
39 | 39 | ||
40 | trace-cmd:: trace-cmd.o trace-read.o trace-view.o trace-view-store.o \ | 40 | trace-cmd:: trace-cmd.o trace-read.o |
41 | trace-filter.o | 41 | $(CC) $^ -rdynamic -o $@ $(LIBS) |
42 | |||
43 | trace-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 | ||
44 | trace-graph:: trace-graph.o trace-compat.o | 46 | trace-graph:: trace-graph.o trace-compat.o |