From 5c5facc70af60670ec8f53b9d90d13722a8477f4 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 17 Feb 2012 13:06:22 -0500 Subject: [PATCH] Fix: ctf specific events.c needs to be within CTF plugin Signed-off-by: Mathieu Desnoyers --- formats/ctf/Makefile.am | 3 ++- lib/ctf-events.c => formats/ctf/events.c | 2 +- lib/Makefile.am | 3 +-- 3 files changed, 4 insertions(+), 4 deletions(-) rename lib/ctf-events.c => formats/ctf/events.c (99%) diff --git a/formats/ctf/Makefile.am b/formats/ctf/Makefile.am index 620f7bd8..c9faac8b 100644 --- a/formats/ctf/Makefile.am +++ b/formats/ctf/Makefile.am @@ -5,7 +5,8 @@ SUBDIRS = types metadata . lib_LTLIBRARIES = libctf.la libctf_la_SOURCES = \ - ctf.c + ctf.c \ + events.c libctf_la_LIBADD = \ types/libctf-types.la \ diff --git a/lib/ctf-events.c b/formats/ctf/events.c similarity index 99% rename from lib/ctf-events.c rename to formats/ctf/events.c index 70513bfa..5ac74e6e 100644 --- a/lib/ctf-events.c +++ b/formats/ctf/events.c @@ -1,5 +1,5 @@ /* - * ctf_events.c + * ctf/events.c * * Babeltrace Library * diff --git a/lib/Makefile.am b/lib/Makefile.am index 0c421cdb..fa591aef 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -9,8 +9,7 @@ libbabeltrace_la_SOURCES = babeltrace.c \ iterator.c \ context.c \ trace-handle.c \ - trace-collection.c \ - ctf-events.c + trace-collection.c libbabeltrace_la_LIBADD = \ $(top_builddir)/types/libbabeltrace_types.la \ -- 2.34.1