diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-12-14 10:00:59 -0500 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2009-12-14 10:00:59 -0500 |
commit | 37250afc820f712eb0de4340d25c9625ef6fa634 (patch) | |
tree | b76111805c7f8007c97a52d64c0cce6a2746839f /Makefile | |
parent | 8883a04e689e370e3ca3383003909d3d0b8558bf (diff) |
Move writing to data file to library
We need a way to have other applications easily make the output
file. This moves the recording of the trace.dat file to the trace-cmd
library.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -39,6 +39,12 @@ trace-util.o:: trace-util.c | |||
39 | trace-input.o:: trace-input.c | 39 | trace-input.o:: trace-input.c |
40 | $(CC) -c $(CFLAGS) $(EXT) $(INCLUDES) -fPIC $< -o $@ | 40 | $(CC) -c $(CFLAGS) $(EXT) $(INCLUDES) -fPIC $< -o $@ |
41 | 41 | ||
42 | trace-output.o:: trace-output.c | ||
43 | $(CC) -c $(CFLAGS) $(EXT) $(INCLUDES) -fPIC $< -o $@ | ||
44 | |||
45 | trace-record.o:: trace-record.c | ||
46 | $(CC) -c $(CFLAGS) $(EXT) $(INCLUDES) -fPIC $< -o $@ | ||
47 | |||
42 | trace-ftrace.o:: trace-ftrace.c | 48 | trace-ftrace.o:: trace-ftrace.c |
43 | $(CC) -c $(CFLAGS) $(EXT) $(INCLUDES) -fPIC $< -o $@ | 49 | $(CC) -c $(CFLAGS) $(EXT) $(INCLUDES) -fPIC $< -o $@ |
44 | 50 | ||
@@ -50,7 +56,8 @@ libparsevent.so: $(PEVENT_LIB_OBJS) | |||
50 | libparsevent.a: $(PEVENT_LIB_OBJS) | 56 | libparsevent.a: $(PEVENT_LIB_OBJS) |
51 | $(RM) $@; $(AR) rcs $@ $^ | 57 | $(RM) $@; $(AR) rcs $@ $^ |
52 | 58 | ||
53 | TCMD_LIB_OBJS = $(PEVENT_LIB_OBJS) trace-util.o trace-input.o trace-ftrace.o | 59 | TCMD_LIB_OBJS = $(PEVENT_LIB_OBJS) trace-util.o trace-input.o trace-ftrace.o \ |
60 | trace-output.o trace-record.o | ||
54 | 61 | ||
55 | libtracecmd.so: $(TCMD_LIB_OBJS) | 62 | libtracecmd.so: $(TCMD_LIB_OBJS) |
56 | $(CC) --shared $^ -o $@ | 63 | $(CC) --shared $^ -o $@ |