2008-11-12 16:09:27 -05:00
|
|
|
BUILT_SOURCES =
|
|
|
|
CLEANFILES =
|
|
|
|
|
|
|
|
include Makefile-tidy.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) \
|
2008-11-14 12:21:56 -05:00
|
|
|
-Itray \
|
2008-10-31 00:22:44 -04:00
|
|
|
-DGETTEXT_PACKAGE=gnome-shell \
|
|
|
|
-DJSDIR=\"$(pkgdatadir)/js\"
|
|
|
|
|
|
|
|
plugindir = $(libdir)/metacity/plugins/clutter
|
|
|
|
plugin_LTLIBRARIES = libgnome-shell.la
|
|
|
|
|
|
|
|
libgnome_shell_la_SOURCES = \
|
|
|
|
gnome-shell-plugin.c \
|
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 \
|
|
|
|
shell-tray-manager.c \
|
|
|
|
shell-tray-manager.h
|
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) \
|
|
|
|
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-11-02 00:18:43 -04:00
|
|
|
typelibdir = $(pkglibdir)/girepository
|
2008-11-12 16:09:27 -05:00
|
|
|
typelib_DATA = Shell-0.1.typelib Tidy-1.0.typelib
|
2008-10-31 00:22:44 -04:00
|
|
|
|
2008-11-14 17:47:33 -05:00
|
|
|
Shell-0.1.gir: $(metacity) $(G_IR_SCANNER) 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 \
|
|
|
|
--include=Clutter-0.8 \
|
2008-11-02 00:18:41 -04:00
|
|
|
--include=Meta-2.25 \
|
2008-11-14 16:25:58 -05:00
|
|
|
--program=metacity \
|
|
|
|
--program-arg=--mutter-plugins=$$(pwd)/libgnome-shell.la \
|
2008-11-14 12:21:56 -05:00
|
|
|
$(libgnome_shell_la_SOURCES) \
|
2008-11-12 16:09:27 -05:00
|
|
|
$(libgnome_shell_la_CPPFLAGS) \
|
2008-11-14 16:26:03 -05:00
|
|
|
-o $@
|
2008-11-14 16:52:48 -05:00
|
|
|
CLEANFILES += Shell-1.0.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)
|
|
|
|
Shell-0.1.typelib: libgnome-shell.la Shell-0.1.gir
|
2008-11-03 15:41:25 -05:00
|
|
|
LD_LIBRARY_PATH=$${LD_LIBRARY_PATH:+$$LD_LIBRARY_PATH:}. g-ir-compiler Shell-0.1.gir -o $@
|
2008-11-14 16:52:48 -05:00
|
|
|
CLEANFILES += Shell-1.0.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 \
|
|
|
|
--include=Clutter-0.8 \
|
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) \
|
|
|
|
$(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-11-14 16:52:48 -05:00
|
|
|
CLEANFILES += Tidy-1.0.typelib
|