2008-12-01 18:01:52 -05:00
|
|
|
NULL =
|
2008-11-12 16:09:27 -05:00
|
|
|
BUILT_SOURCES =
|
|
|
|
CLEANFILES =
|
2008-12-01 18:01:52 -05:00
|
|
|
EXTRA_DIST =
|
2009-01-19 18:06:59 -05:00
|
|
|
bin_PROGRAMS =
|
2008-12-01 18:01:52 -05:00
|
|
|
noinst_LTLIBRARIES =
|
2008-11-12 16:09:27 -05:00
|
|
|
|
|
|
|
include Makefile-tidy.am
|
2008-12-01 18:01:52 -05:00
|
|
|
include Makefile-big.am
|
2009-02-04 13:45:38 -05:00
|
|
|
include Makefile-gdmuser.am
|
2008-11-14 12:21:56 -05:00
|
|
|
include Makefile-tray.am
|
2009-01-19 18:06:59 -05:00
|
|
|
include Makefile-taskpanel.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) \
|
2008-11-14 12:21:56 -05:00
|
|
|
-Itray \
|
2008-10-31 00:22:44 -04:00
|
|
|
-DGETTEXT_PACKAGE=gnome-shell \
|
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\"
|
|
|
|
|
|
|
|
plugindir = $(libdir)/metacity/plugins/clutter
|
|
|
|
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)
|
|
|
|
|
|
|
|
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 \
|
2008-11-20 19:53:11 -05:00
|
|
|
shell-app-monitor.c \
|
|
|
|
shell-app-monitor.h \
|
2009-01-27 15:29:17 -05:00
|
|
|
shell-gtkwindow-actor.c \
|
|
|
|
shell-gtkwindow-actor.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 \
|
2008-11-14 12:21:56 -05:00
|
|
|
shell-tray-manager.c \
|
2008-11-21 09:02:09 -05:00
|
|
|
shell-tray-manager.h \
|
|
|
|
shell-wm.c \
|
|
|
|
shell-wm.h
|
|
|
|
|
2009-01-27 15:29:17 -05:00
|
|
|
# ClutterGLXTexturePixmap is currently not wrapped
|
|
|
|
non_gir_sources = shell-gtkwindow-actor.h
|
|
|
|
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
|
|
|
|
$(GLIB_GENMARSHAL) \
|
|
|
|
--prefix=_shell_marshal \
|
|
|
|
--header \
|
|
|
|
$(srcdir)/shell-marshal.list > xgen-tmh && \
|
|
|
|
(cmp -s xgen-tmh shell-marshal.h || cp -f xgen-tmh shell-marshal.h) && \
|
|
|
|
rm -f xgen-tmh && \
|
|
|
|
echo timestamp > $(@F)
|
|
|
|
|
|
|
|
shell-marshal.c: Makefile shell-marshal.list
|
|
|
|
(echo "#include \"shell-marshal.h\"" ; \
|
|
|
|
$(GLIB_GENMARSHAL) \
|
|
|
|
--prefix=_shell_marshal \
|
|
|
|
--body \
|
|
|
|
$(srcdir)/shell-marshal.list ) > xgen-tmc && \
|
|
|
|
cp -f xgen-tmc shell-marshal.c && \
|
|
|
|
rm -f xgen-tmc
|
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-02-04 13:45:38 -05:00
|
|
|
libgdmuser-1.0.la \
|
2008-11-14 12:21:56 -05:00
|
|
|
libtidy-1.0.la \
|
|
|
|
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)
|
2008-12-01 18:01:52 -05:00
|
|
|
typelib_DATA = Shell-0.1.typelib Tidy-1.0.typelib Big-1.0.typelib
|
2008-10-31 00:22:44 -04:00
|
|
|
|
2009-02-04 13:45:38 -05:00
|
|
|
Shell-0.1.gir: $(metacity) $(G_IR_SCANNER) Big-1.0.gir libgnome-shell.la Makefile
|
2008-11-14 16:25:58 -05:00
|
|
|
$(G_IR_SCANNER) \
|
2008-10-31 00:22:44 -04:00
|
|
|
--namespace=Shell \
|
|
|
|
--nsversion=0.1 \
|
2009-02-23 16:44:33 -05:00
|
|
|
--add-include-path=$(META_LIB_DIR)/metacity/ \
|
2009-02-23 14:42:00 -05:00
|
|
|
--include=Clutter-0.9 \
|
2008-11-02 00:18:41 -04:00
|
|
|
--include=Meta-2.25 \
|
2009-02-04 13:45:38 -05:00
|
|
|
--add-include-path=$(builddir) \
|
|
|
|
--include=Big-1.0 \
|
2008-11-14 16:25:58 -05:00
|
|
|
--program=metacity \
|
|
|
|
--program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \
|
2009-01-27 15:29:17 -05:00
|
|
|
$(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-02-04 13:45:38 -05:00
|
|
|
LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}. g-ir-compiler --includedir=$(builddir) --includedir=$(libdir)/metacity/ 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
|
|
|
|
2008-11-14 17:47:33 -05:00
|
|
|
Tidy-1.0.gir: $(metacity) $(G_IR_SCANNER) libgnome-shell.la libtidy-1.0.la Makefile
|
2008-11-14 16:26:03 -05:00
|
|
|
$(G_IR_SCANNER) \
|
2008-11-12 16:09:27 -05:00
|
|
|
--namespace=Tidy \
|
|
|
|
--nsversion=1.0 \
|
2009-02-23 14:42:00 -05:00
|
|
|
--include=Clutter-0.9 \
|
2008-11-14 17:47:33 -05:00
|
|
|
--program=metacity \
|
|
|
|
--program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \
|
2008-11-12 16:09:27 -05:00
|
|
|
$(tidy_source_h) \
|
|
|
|
$(tidy_source_c) \
|
2009-01-16 15:10:26 -05:00
|
|
|
tidy-enum-types.h \
|
2008-11-12 16:09:27 -05:00
|
|
|
$(tidy_cflags) \
|
2008-11-14 16:52:48 -05:00
|
|
|
-o $@
|
|
|
|
CLEANFILES += Tidy-1.0.gir
|
2008-11-12 16:09:27 -05:00
|
|
|
|
2008-11-14 17:05:08 -05:00
|
|
|
Tidy-1.0.typelib: libtidy-1.0.la Tidy-1.0.gir
|
2008-11-12 16:09:27 -05:00
|
|
|
LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}. g-ir-compiler Tidy-1.0.gir -o $@
|
2008-12-01 15:42:56 -05:00
|
|
|
CLEANFILES += Tidy-1.0.typelib
|
2008-12-01 18:01:52 -05:00
|
|
|
|
|
|
|
Big-1.0.gir: $(metacity) $(G_IR_SCANNER) libgnome-shell.la libbig-1.0.la Makefile
|
|
|
|
$(G_IR_SCANNER) \
|
|
|
|
--namespace=Big \
|
|
|
|
--nsversion=1.0 \
|
2009-02-23 14:42:00 -05:00
|
|
|
--include=Clutter-0.9 \
|
|
|
|
--include=GdkPixbuf-2.0 \
|
2008-12-01 18:01:52 -05:00
|
|
|
--program=metacity \
|
|
|
|
--program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \
|
|
|
|
$(big_source_h) \
|
|
|
|
$(big_source_c) \
|
2009-01-16 15:10:26 -05:00
|
|
|
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
|
|
|
|
LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}. g-ir-compiler Big-1.0.gir -o $@
|
|
|
|
CLEANFILES += Big-1.0.typelib
|
2009-02-23 16:44:33 -05:00
|
|
|
|
|
|
|
all-local:
|
|
|
|
chmod a+x gnome-shell
|