2008-12-01 18:01:52 -05:00
|
|
|
NULL =
|
2008-11-12 16:09:27 -05:00
|
|
|
BUILT_SOURCES =
|
|
|
|
CLEANFILES =
|
2009-08-30 18:01:46 -04:00
|
|
|
EXTRA_DIST =
|
2009-03-11 09:59:02 -04:00
|
|
|
libexec_PROGRAMS =
|
2009-08-30 18:01:46 -04:00
|
|
|
noinst_LTLIBRARIES =
|
2009-09-19 20:43:49 -04:00
|
|
|
noinst_PROGRAMS =
|
2009-08-30 18:01:46 -04:00
|
|
|
|
|
|
|
.AUTOPARALLEL:
|
2008-11-12 16:09:27 -05:00
|
|
|
|
2009-03-11 09:59:02 -04:00
|
|
|
bin_SCRIPTS = gnome-shell
|
|
|
|
|
|
|
|
gnome-shell: gnome-shell.in
|
2009-08-06 16:56:06 -04:00
|
|
|
$(AM_V_GEN) sed -e "s|@MUTTER_BIN_DIR[@]|$(MUTTER_BIN_DIR)|" \
|
2009-03-11 09:59:02 -04:00
|
|
|
-e "s|@GJS_JS_DIR[@]|$(GJS_JS_DIR)|" \
|
|
|
|
-e "s|@GJS_JS_NATIVE_DIR[@]|$(GJS_JS_NATIVE_DIR)|" \
|
|
|
|
-e "s|@libexecdir[@]|$(libexecdir)|" \
|
|
|
|
-e "s|@libdir[@]|$(libdir)|" \
|
|
|
|
-e "s|@pkgdatadir[@]|$(pkgdatadir)|" \
|
2009-08-31 11:52:18 -04:00
|
|
|
-e "s|@PYTHON[@]|$(PYTHON)|" \
|
2009-06-30 17:29:40 -04:00
|
|
|
-e "s|@sysconfdir[@]|$(sysconfdir)|" \
|
2009-03-11 09:59:02 -04:00
|
|
|
$< > $@ && chmod a+x $@
|
|
|
|
CLEANFILES += gnome-shell
|
|
|
|
EXTRA_DIST += gnome-shell.in
|
|
|
|
|
2008-12-01 18:01:52 -05:00
|
|
|
include Makefile-big.am
|
2009-02-04 13:45:38 -05:00
|
|
|
include Makefile-gdmuser.am
|
2009-09-08 15:47:30 -04:00
|
|
|
include Makefile-st.am
|
2008-11-14 12:21:56 -05:00
|
|
|
include Makefile-tray.am
|
2008-11-12 16:09:27 -05:00
|
|
|
|
|
|
|
gnome_shell_cflags = \
|
2008-10-31 00:22:44 -04:00
|
|
|
$(MUTTER_PLUGIN_CFLAGS) \
|
2009-01-08 20:09:35 -05:00
|
|
|
$(LIBGNOMEUI_CFLAGS) \
|
2009-03-10 12:53:03 -04:00
|
|
|
-I$(srcdir)/tray \
|
2009-07-24 18:11:14 -04:00
|
|
|
-DGETTEXT_PACKAGE=\"gnome-shell\" \
|
|
|
|
-DLOCALEDIR=\"$(datadir)/locale\" \
|
2008-12-22 17:05:56 -05:00
|
|
|
-DGNOME_SHELL_DATADIR=\"$(pkgdatadir)\" \
|
2008-12-01 15:42:56 -05:00
|
|
|
-DGNOME_SHELL_PKGLIBDIR=\"$(pkglibdir)\" \
|
2008-10-31 00:22:44 -04:00
|
|
|
-DJSDIR=\"$(pkgdatadir)/js\"
|
|
|
|
|
2009-05-07 21:29:44 -04:00
|
|
|
plugindir = $(MUTTER_PLUGIN_DIR)
|
2008-10-31 00:22:44 -04:00
|
|
|
plugin_LTLIBRARIES = libgnome-shell.la
|
|
|
|
|
2008-11-21 09:02:09 -05:00
|
|
|
shell_built_sources = \
|
|
|
|
shell-marshal.h \
|
|
|
|
shell-marshal.c
|
|
|
|
|
|
|
|
BUILT_SOURCES += $(shell_built_sources)
|
2009-03-10 12:53:03 -04:00
|
|
|
EXTRA_DIST += shell-marshal.list
|
2008-11-21 09:02:09 -05:00
|
|
|
|
|
|
|
SHELL_STAMP_FILES = stamp-shell-marshal.h
|
|
|
|
CLEANFILES += $(SHELL_STAMP_FILES)
|
|
|
|
|
2008-10-31 00:22:44 -04:00
|
|
|
libgnome_shell_la_SOURCES = \
|
2008-11-21 09:02:09 -05:00
|
|
|
$(shell_built_sources) \
|
2008-10-31 00:22:44 -04:00
|
|
|
gnome-shell-plugin.c \
|
2009-04-23 17:03:34 -04:00
|
|
|
shell-app-monitor.c \
|
|
|
|
shell-app-monitor.h \
|
2009-04-22 15:21:35 -04:00
|
|
|
shell-app-system.c \
|
|
|
|
shell-app-system.h \
|
2009-04-01 15:51:17 -04:00
|
|
|
shell-arrow.c \
|
|
|
|
shell-arrow.h \
|
2009-08-26 23:17:21 -04:00
|
|
|
shell-button-box.c \
|
|
|
|
shell-button-box.h \
|
2009-07-31 16:32:24 -04:00
|
|
|
shell-drawing.c \
|
|
|
|
shell-drawing.h \
|
2009-06-29 12:51:10 -04:00
|
|
|
shell-drawing-area.c \
|
|
|
|
shell-drawing-area.h \
|
2009-05-03 13:05:15 -04:00
|
|
|
shell-embedded-window.c \
|
|
|
|
shell-embedded-window.h \
|
|
|
|
shell-embedded-window-private.h \
|
2009-06-29 12:07:10 -04:00
|
|
|
shell-gconf.c \
|
|
|
|
shell-gconf.h \
|
2009-08-04 16:08:59 -04:00
|
|
|
shell-generic-container.c \
|
|
|
|
shell-generic-container.h \
|
2009-05-03 13:05:15 -04:00
|
|
|
shell-gtk-embed.c \
|
|
|
|
shell-gtk-embed.h \
|
2009-09-03 21:05:16 -04:00
|
|
|
shell-menu.c \
|
|
|
|
shell-menu.h \
|
2009-07-04 15:29:51 -04:00
|
|
|
shell-overflow-list.c \
|
|
|
|
shell-overflow-list.h \
|
2008-11-07 13:42:23 -05:00
|
|
|
shell-process.c \
|
|
|
|
shell-process.h \
|
2008-10-31 00:22:44 -04:00
|
|
|
shell-global.c \
|
2008-11-14 12:21:56 -05:00
|
|
|
shell-global.h \
|
2009-02-04 13:45:38 -05:00
|
|
|
shell-status-menu.c \
|
|
|
|
shell-status-menu.h \
|
2009-06-29 12:51:10 -04:00
|
|
|
shell-stack.c \
|
|
|
|
shell-stack.h \
|
2008-11-14 12:21:56 -05:00
|
|
|
shell-tray-manager.c \
|
2008-11-21 09:02:09 -05:00
|
|
|
shell-tray-manager.h \
|
2009-05-13 14:06:24 -04:00
|
|
|
shell-texture-cache.c \
|
|
|
|
shell-texture-cache.h \
|
2009-07-30 00:22:18 -04:00
|
|
|
shell-uri-util.c \
|
|
|
|
shell-uri-util.h \
|
2008-11-21 09:02:09 -05:00
|
|
|
shell-wm.c \
|
|
|
|
shell-wm.h
|
|
|
|
|
2009-09-19 20:43:49 -04:00
|
|
|
non_gir_sources = \
|
2009-05-03 13:05:15 -04:00
|
|
|
shell-embedded-window-private.h
|
2009-03-13 17:14:31 -04:00
|
|
|
|
|
|
|
shell_recorder_sources = \
|
|
|
|
shell-recorder.c \
|
|
|
|
shell-recorder.h \
|
|
|
|
shell-recorder-src.c \
|
|
|
|
shell-recorder-src.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)
|
|
|
|
non_gir_sources += $(shell_recorder_non_gir_sources)
|
|
|
|
|
2009-09-19 20:43:49 -04:00
|
|
|
noinst_PROGRAMS += test-recorder
|
2009-03-13 17:14:31 -04:00
|
|
|
|
|
|
|
test_recorder_CPPFLAGS = $(TEST_SHELL_RECORDER_CFLAGS)
|
|
|
|
test_recorder_LDADD = $(TEST_SHELL_RECORDER_LIBS)
|
|
|
|
|
|
|
|
test_recorder_SOURCES = \
|
|
|
|
$(shell_recorder_sources) \
|
|
|
|
test-recorder.c
|
|
|
|
endif BUILD_RECORDER
|
|
|
|
|
2009-01-27 15:29:17 -05:00
|
|
|
libgnome_shell_la_gir_sources = \
|
|
|
|
$(filter-out $(non_gir_sources), $(libgnome_shell_la_SOURCES))
|
|
|
|
|
2008-11-21 09:02:09 -05:00
|
|
|
shell-marshal.h: stamp-shell-marshal.h
|
|
|
|
@true
|
|
|
|
stamp-shell-marshal.h: Makefile shell-marshal.list
|
2009-08-06 16:56:06 -04:00
|
|
|
$(AM_V_GEN) $(GLIB_GENMARSHAL) \
|
2008-11-21 09:02:09 -05:00
|
|
|
--prefix=_shell_marshal \
|
|
|
|
--header \
|
2009-08-11 14:21:13 -04:00
|
|
|
$(srcdir)/shell-marshal.list > xgen-smh && \
|
|
|
|
(cmp -s xgen-smh shell-marshal.h || cp -f xgen-smh shell-marshal.h) && \
|
|
|
|
rm -f xgen-smh && \
|
2008-11-21 09:02:09 -05:00
|
|
|
echo timestamp > $(@F)
|
|
|
|
|
|
|
|
shell-marshal.c: Makefile shell-marshal.list
|
2009-08-06 16:56:06 -04:00
|
|
|
$(AM_V_GEN) (echo "#include \"shell-marshal.h\"" ; \
|
2008-11-21 09:02:09 -05:00
|
|
|
$(GLIB_GENMARSHAL) \
|
|
|
|
--prefix=_shell_marshal \
|
|
|
|
--body \
|
2009-08-11 14:21:13 -04:00
|
|
|
$(srcdir)/shell-marshal.list ) > xgen-smc && \
|
|
|
|
cp -f xgen-smc shell-marshal.c && \
|
|
|
|
rm -f xgen-smc
|
2008-10-31 00:22:44 -04:00
|
|
|
|
|
|
|
libgnome_shell_la_LDFLAGS = -avoid-version -module
|
2008-11-14 12:21:56 -05:00
|
|
|
libgnome_shell_la_LIBADD = \
|
|
|
|
$(MUTTER_PLUGIN_LIBS) \
|
2009-01-08 20:09:35 -05:00
|
|
|
$(LIBGNOMEUI_LIBS) \
|
2008-12-01 18:01:52 -05:00
|
|
|
libbig-1.0.la \
|
2009-09-08 15:47:30 -04:00
|
|
|
libst-1.0.la \
|
2009-02-04 13:45:38 -05:00
|
|
|
libgdmuser-1.0.la \
|
2008-11-14 12:21:56 -05:00
|
|
|
libtray.la
|
2008-11-12 16:09:27 -05:00
|
|
|
libgnome_shell_la_CPPFLAGS = $(gnome_shell_cflags)
|
2008-10-31 00:22:44 -04:00
|
|
|
|
2008-12-01 15:42:56 -05:00
|
|
|
typelibdir = $(pkglibdir)
|
2009-09-08 15:47:30 -04:00
|
|
|
typelib_DATA = Shell-0.1.typelib Big-1.0.typelib St-1.0.typelib
|
2008-10-31 00:22:44 -04:00
|
|
|
|
2009-09-08 15:47:30 -04:00
|
|
|
Shell-0.1.gir: $(mutter) $(G_IR_SCANNER) Big-1.0.gir St-1.0.gir libgnome-shell.la Makefile
|
2009-08-06 16:56:06 -04:00
|
|
|
$(AM_V_GEN) $(G_IR_SCANNER) \
|
2008-10-31 00:22:44 -04:00
|
|
|
--namespace=Shell \
|
|
|
|
--nsversion=0.1 \
|
2009-05-07 21:29:44 -04:00
|
|
|
--add-include-path=$(MUTTER_LIB_DIR)/mutter/ \
|
2009-07-29 13:00:11 -04:00
|
|
|
--include=Clutter-1.0 \
|
2009-10-07 19:27:17 -04:00
|
|
|
--include=Meta-2.28 \
|
2009-08-30 18:01:46 -04:00
|
|
|
--libtool="$(LIBTOOL)" \
|
2009-02-04 13:45:38 -05:00
|
|
|
--add-include-path=$(builddir) \
|
|
|
|
--include=Big-1.0 \
|
2009-09-08 15:47:30 -04:00
|
|
|
--include=St-1.0 \
|
2009-05-07 21:29:44 -04:00
|
|
|
--program=mutter \
|
2008-11-14 16:25:58 -05:00
|
|
|
--program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \
|
2009-03-10 12:53:03 -04:00
|
|
|
$(addprefix $(srcdir)/,$(libgnome_shell_la_gir_sources)) \
|
2008-11-12 16:09:27 -05:00
|
|
|
$(libgnome_shell_la_CPPFLAGS) \
|
2008-11-14 16:26:03 -05:00
|
|
|
-o $@
|
2009-03-10 13:00:36 -04:00
|
|
|
CLEANFILES += Shell-0.1.gir
|
2008-10-31 00:22:44 -04:00
|
|
|
|
|
|
|
# The dependency on libgnome-shell.la here is because g-ir-compiler opens it
|
|
|
|
# (not the fake library, since we've already done the rewriting)
|
2009-02-23 14:42:00 -05:00
|
|
|
Shell-0.1.typelib: libgnome-shell.la Shell-0.1.gir Big-1.0.gir
|
2009-09-08 15:47:30 -04:00
|
|
|
$(AM_V_GEN) \
|
2009-08-15 10:15:42 -04:00
|
|
|
$(G_IR_COMPILER) \
|
|
|
|
--includedir=. \
|
|
|
|
--includedir=$(MUTTER_LIB_DIR)/mutter/ \
|
|
|
|
Shell-0.1.gir -o $@
|
2009-03-10 13:00:36 -04:00
|
|
|
CLEANFILES += Shell-0.1.typelib
|
2008-11-12 16:09:27 -05:00
|
|
|
|
2009-09-08 15:47:30 -04:00
|
|
|
Big-1.0.gir: $(mutter) $(G_IR_SCANNER) libgnome-shell.la libbig-1.0.la Makefile
|
2009-08-06 16:56:06 -04:00
|
|
|
$(AM_V_GEN) $(G_IR_SCANNER) \
|
|
|
|
--namespace=Big \
|
2008-12-01 18:01:52 -05:00
|
|
|
--nsversion=1.0 \
|
2009-07-29 13:00:11 -04:00
|
|
|
--include=Clutter-1.0 \
|
2009-02-23 14:42:00 -05:00
|
|
|
--include=GdkPixbuf-2.0 \
|
2009-08-30 18:01:46 -04:00
|
|
|
--libtool="$(LIBTOOL)" \
|
2009-05-07 21:29:44 -04:00
|
|
|
--program=mutter \
|
2008-12-01 18:01:52 -05:00
|
|
|
--program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \
|
2009-03-10 12:53:03 -04:00
|
|
|
$(addprefix $(srcdir)/,$(big_source_h)) \
|
|
|
|
$(addprefix $(srcdir)/,$(big_source_c)) \
|
|
|
|
$(srcdir)/big-enum-types.h \
|
2008-12-01 18:01:52 -05:00
|
|
|
$(big_cflags) \
|
|
|
|
-o $@
|
|
|
|
CLEANFILES += Big-1.0.gir
|
|
|
|
|
|
|
|
Big-1.0.typelib: libbig-1.0.la Big-1.0.gir
|
2009-09-08 15:47:30 -04:00
|
|
|
$(AM_V_GEN) $(G_IR_COMPILER) Big-1.0.gir -o $@
|
2008-12-01 18:01:52 -05:00
|
|
|
CLEANFILES += Big-1.0.typelib
|
2009-09-08 15:47:30 -04:00
|
|
|
|
|
|
|
St-1.0.gir: $(mutter) $(G_IR_SCANNER) libgnome-shell.la libst-1.0.la Makefile
|
|
|
|
$(AM_V_GEN) $(G_IR_SCANNER) \
|
|
|
|
--namespace=St \
|
|
|
|
--nsversion=1.0 \
|
|
|
|
--include=Clutter-1.0 \
|
|
|
|
--add-include-path=$(builddir) \
|
|
|
|
--libtool="$(LIBTOOL)" \
|
|
|
|
--program=mutter \
|
|
|
|
--program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \
|
|
|
|
-DST_COMPILATION \
|
|
|
|
$(addprefix $(srcdir)/,$(st_source_h)) \
|
|
|
|
$(addprefix $(srcdir)/,$(st_source_c)) \
|
|
|
|
$(srcdir)/st-enum-types.h \
|
|
|
|
$(ST_CFLAGS) \
|
|
|
|
-o $@
|
|
|
|
CLEANFILES += St-1.0.gir
|
|
|
|
|
|
|
|
St-1.0.typelib: St-1.0.gir
|
|
|
|
$(AM_V_GEN) $(G_IR_COMPILER) \
|
|
|
|
$< -o $@
|
|
|
|
|
|
|
|
CLEANFILES += St-1.0.typelib
|