From: Namhyung Kim Date: Wed, 4 Apr 2012 07:16:05 +0000 (-0700) Subject: perf tools: Move GTK+ bits to tools/perf/ui/gtk directory X-Git-Tag: v3.5-rc1~120^3~65^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7b3ba6d8b29904c336e3e6a018bb80d1f63b1f4;p=platform%2Fkernel%2Flinux-stable.git perf tools: Move GTK+ bits to tools/perf/ui/gtk directory Move those files to new directory in order to be prepared to further UI work. Makefile and header file pathes are adjusted accordingly. Also fix a build breakage if NO_GTK2=1 is given. Signed-off-by: Namhyung Kim Suggested-by: Arnaldo Carvalho de Melo Acked-by: Pekka Enberg Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Pekka Enberg Cc: Peter Zijlstra --- diff --git a/tools/perf/Makefile b/tools/perf/Makefile index af6ccf8..e98e14c 100644 --- a/tools/perf/Makefile +++ b/tools/perf/Makefile @@ -493,7 +493,7 @@ else endif ifdef NO_GTK2 - BASIC_CFLAGS += -DNO_GTK2 + BASIC_CFLAGS += -DNO_GTK2_SUPPORT else FLAGS_GTK2=$(ALL_CFLAGS) $(ALL_LDFLAGS) $(EXTLIBS) $(shell pkg-config --libs --cflags gtk+-2.0) ifneq ($(call try-cc,$(SOURCE_GTK2),$(FLAGS_GTK2)),y) @@ -502,7 +502,7 @@ else else BASIC_CFLAGS += $(shell pkg-config --cflags gtk+-2.0) EXTLIBS += $(shell pkg-config --libs gtk+-2.0) - LIB_OBJS += $(OUTPUT)util/gtk/browser.o + LIB_OBJS += $(OUTPUT)ui/gtk/browser.o endif endif diff --git a/tools/perf/util/gtk/browser.c b/tools/perf/ui/gtk/browser.c similarity index 100% rename from tools/perf/util/gtk/browser.c rename to tools/perf/ui/gtk/browser.c diff --git a/tools/perf/util/gtk/gtk.h b/tools/perf/ui/gtk/gtk.h similarity index 100% rename from tools/perf/util/gtk/gtk.h rename to tools/perf/ui/gtk/gtk.h