[gnome-shell] build: Split out "private" sources variable that can be easily appended
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] build: Split out "private" sources variable that can be easily appended
- Date: Tue, 20 Dec 2011 22:38:24 +0000 (UTC)
commit b47b82ed422bc015637b58c9c7dada204e995ee7
Author: Colin Walters <walters verbum org>
Date: Tue Dec 20 13:41:08 2011 -0500
build: Split out "private" sources variable that can be easily appended
Move the action muxing copy stuff in there.
src/Makefile.am | 32 ++++++++++++++++++++------------
1 files changed, 20 insertions(+), 12 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 3000a09..abf9fdc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -121,9 +121,18 @@ shell_public_headers_h = \
shell-wm.h \
shell-xfixes-cursor.h
+shell_private_sources = \
+ gactionmuxer.h \
+ gactionmuxer.c \
+ gactionobservable.h \
+ gactionobservable.c \
+ gactionobserver.h \
+ gactionobserver.c
+
libgnome_shell_la_SOURCES = \
$(shell_built_sources) \
$(shell_public_headers_h) \
+ $(shell_private_sources) \
shell-app-private.h \
shell-app-system-private.h \
shell-embedded-window-private.h \
@@ -158,16 +167,11 @@ libgnome_shell_la_SOURCES = \
shell-window-tracker.c \
shell-wm.c \
shell-xfixes-cursor.c \
- gactionmuxer.h \
- gactionmuxer.c \
- gactionobservable.h \
- gactionobservable.c \
- gactionobserver.h \
- gactionobserver.c
+ $(NULL)
libgnome_shell_la_gir_sources = \
- $(filter-out %-private.h $(shell_recorder_non_gir_sources), $(shell_public_headers_h) $(libgnome_shell_la_SOURCES))
+ $(filter-out %-private.h $(shell_private_sources), $(shell_public_headers_h) $(libgnome_shell_la_SOURCES))
gnome_shell_real_SOURCES = \
main.c
@@ -182,12 +186,16 @@ shell_recorder_sources = \
shell-recorder.h
# Custom element is an internal detail
-shell_recorder_non_gir_sources = \
- shell-recorder-src.c \
- shell-recorder-src.h
if BUILD_RECORDER
-libgnome_shell_la_SOURCES += $(shell_recorder_sources) $(shell_recorder_non_gir_sources)
+libgnome_shell_la_SOURCES += $(shell_recorder_sources)
+
+shell_recorder_private_sources = \
+ shell-recorder-src.c \
+ shell-recorder-src.h \
+ $(NULL)
+
+shell_private_sources += $(shell_recorder_private_sources)
noinst_PROGRAMS += test-recorder
@@ -195,7 +203,7 @@ test_recorder_CPPFLAGS = $(TEST_SHELL_RECORDER_CFLAGS)
test_recorder_LDADD = $(TEST_SHELL_RECORDER_LIBS)
test_recorder_SOURCES = \
- $(shell_recorder_sources) $(shell_recorder_non_gir_sources) \
+ $(shell_recorder_sources) $(shell_recorder_private_sources) \
test-recorder.c
endif BUILD_RECORDER
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]