2008-12-01 23:01:52 +00:00
|
|
|
NULL =
|
2008-11-12 21:09:27 +00:00
|
|
|
BUILT_SOURCES =
|
|
|
|
CLEANFILES =
|
2009-08-30 22:01:46 +00:00
|
|
|
EXTRA_DIST =
|
2011-02-17 22:07:13 +00:00
|
|
|
bin_SCRIPTS =
|
2009-03-11 13:59:02 +00:00
|
|
|
libexec_PROGRAMS =
|
2009-08-30 22:01:46 +00:00
|
|
|
noinst_LTLIBRARIES =
|
2009-09-20 00:43:49 +00:00
|
|
|
noinst_PROGRAMS =
|
2011-07-12 14:34:41 +00:00
|
|
|
service_in_files =
|
2009-08-30 22:01:46 +00:00
|
|
|
|
2012-10-19 17:02:41 +00:00
|
|
|
SUBDIRS = gvc
|
|
|
|
|
2011-02-26 17:29:53 +00:00
|
|
|
-include $(INTROSPECTION_MAKEFILE)
|
|
|
|
INTROSPECTION_GIRS =
|
2016-04-27 22:07:45 +00:00
|
|
|
INTROSPECTION_SCANNER_ARGS = --warn-all --warn-error --add-include-path=$(srcdir) --add-include-path=$(MUTTER_GIR_DIR) -L$(MUTTER_TYPELIB_DIR)
|
2011-02-25 16:20:27 +00:00
|
|
|
INTROSPECTION_COMPILER_ARGS = --includedir=$(srcdir) --includedir=$(MUTTER_TYPELIB_DIR)
|
2011-02-26 17:29:53 +00:00
|
|
|
|
|
|
|
typelibdir = $(pkglibdir)
|
|
|
|
typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
|
|
|
|
|
2011-07-12 14:34:41 +00:00
|
|
|
servicedir = $(datadir)/dbus-1/services
|
|
|
|
service_DATA = $(service_in_files:.service.in=.service)
|
|
|
|
|
2011-09-15 11:43:01 +00:00
|
|
|
%.service: %.service.in Makefile
|
2011-07-12 14:34:41 +00:00
|
|
|
$(AM_V_GEN) \
|
|
|
|
[ -d $(@D) ] || $(mkdir_p) $(@D) ; \
|
|
|
|
sed -e "s|\@libexecdir\@|$(libexecdir)|" $< > $@.tmp && mv $@.tmp $@
|
|
|
|
CLEANFILES += $(service_DATA)
|
|
|
|
|
2011-02-26 17:29:53 +00:00
|
|
|
CLEANFILES += $(gir_DATA) $(typelib_DATA)
|
2008-11-12 21:09:27 +00:00
|
|
|
|
2013-12-06 20:20:03 +00:00
|
|
|
bin_SCRIPTS += gnome-shell-extension-tool gnome-shell-perf-tool
|
|
|
|
EXTRA_DIST += gnome-shell-extension-tool.in gnome-shell-perf-tool.in
|
|
|
|
bin_PROGRAMS = gnome-shell gnome-shell-extension-prefs
|
2013-08-28 03:45:00 +00:00
|
|
|
|
2011-02-25 16:20:27 +00:00
|
|
|
generated_script_substitutions = \
|
2012-01-19 00:39:11 +00:00
|
|
|
-e "s|@bindir[@]|$(bindir)|g" \
|
|
|
|
-e "s|@datadir[@]|$(datadir)|g" \
|
|
|
|
-e "s|@libexecdir[@]|$(libexecdir)|g" \
|
|
|
|
-e "s|@libdir[@]|$(libdir)|g" \
|
2012-01-19 02:21:56 +00:00
|
|
|
-e "s|@pkglibdir[@]|$(pkglibdir)|g" \
|
2012-01-19 00:39:11 +00:00
|
|
|
-e "s|@pkgdatadir[@]|$(pkgdatadir)|g" \
|
|
|
|
-e "s|@PYTHON[@]|$(PYTHON)|g" \
|
|
|
|
-e "s|@VERSION[@]|$(VERSION)|g" \
|
2012-01-19 02:21:56 +00:00
|
|
|
-e "s|@sysconfdir[@]|$(sysconfdir)|g" \
|
|
|
|
-e "s|@GJS_CONSOLE[@]|$(GJS_CONSOLE)|g"
|
2011-02-17 19:43:48 +00:00
|
|
|
|
2011-02-17 22:07:13 +00:00
|
|
|
gnome-shell-extension-tool: gnome-shell-extension-tool.in Makefile
|
2011-02-17 19:43:48 +00:00
|
|
|
$(AM_V_GEN) sed $(generated_script_substitutions) $< > $@.tmp && mv $@.tmp $@ && chmod a+x $@
|
|
|
|
|
2012-04-12 17:43:08 +00:00
|
|
|
gnome-shell-perf-tool: gnome-shell-perf-tool.in Makefile
|
|
|
|
$(AM_V_GEN) sed $(generated_script_substitutions) $< > $@.tmp && mv $@.tmp $@ && chmod a+x $@
|
|
|
|
|
2014-09-18 11:15:06 +00:00
|
|
|
org-gtk-application.c org-gtk-application.h: org.gtk.Application.xml Makefile
|
|
|
|
$(AM_V_GEN) $(GDBUS_CODEGEN) \
|
|
|
|
--generate-c-code org-gtk-application \
|
|
|
|
--c-namespace Shell \
|
|
|
|
$<
|
|
|
|
|
2014-11-27 14:04:43 +00:00
|
|
|
EXTRA_DIST += org.gtk.Application.xml
|
2011-02-25 16:20:27 +00:00
|
|
|
CLEANFILES += gnome-shell $(bin_SCRIPTS)
|
2009-03-11 13:59:02 +00:00
|
|
|
|
2009-09-08 19:47:30 +00:00
|
|
|
include Makefile-st.am
|
2008-11-14 17:21:56 +00:00
|
|
|
include Makefile-tray.am
|
2011-02-25 22:42:25 +00:00
|
|
|
include Makefile-calendar-server.am
|
2011-07-12 14:34:41 +00:00
|
|
|
include Makefile-hotplug-sniffer.am
|
2008-11-12 21:09:27 +00:00
|
|
|
|
|
|
|
gnome_shell_cflags = \
|
2011-02-25 16:20:27 +00:00
|
|
|
$(GNOME_SHELL_CFLAGS) \
|
2009-03-10 16:53:03 +00:00
|
|
|
-I$(srcdir)/tray \
|
2014-08-07 18:06:19 +00:00
|
|
|
-DCLUTTER_ENABLE_EXPERIMENTAL_API \
|
|
|
|
-DCOGL_ENABLE_EXPERIMENTAL_API \
|
2011-02-25 16:20:27 +00:00
|
|
|
-DVERSION=\"$(VERSION)\" \
|
2011-01-25 21:08:12 +00:00
|
|
|
-DLOCALEDIR=\"$(datadir)/locale\" \
|
|
|
|
-DDATADIR=\"$(datadir)\" \
|
2011-02-25 22:42:25 +00:00
|
|
|
-DGNOME_SHELL_LIBEXECDIR=\"$(libexecdir)\" \
|
2008-12-22 22:05:56 +00:00
|
|
|
-DGNOME_SHELL_DATADIR=\"$(pkgdatadir)\" \
|
2013-07-02 06:54:53 +00:00
|
|
|
-DGNOME_SHELL_PKGLIBDIR=\"$(pkglibdir)\"
|
2008-10-31 04:22:44 +00:00
|
|
|
|
2011-02-25 16:20:27 +00:00
|
|
|
privlibdir = $(pkglibdir)
|
2013-08-28 03:45:00 +00:00
|
|
|
privlib_LTLIBRARIES = libgnome-shell-js.la libgnome-shell-menu.la libgnome-shell.la
|
2013-08-16 13:47:17 +00:00
|
|
|
noinst_LTLIBRARIES += libgnome-shell-base.la
|
2008-10-31 04:22:44 +00:00
|
|
|
|
2008-11-21 14:02:09 +00:00
|
|
|
shell_built_sources = \
|
2014-09-18 11:15:06 +00:00
|
|
|
org-gtk-application.h \
|
|
|
|
org-gtk-application.c \
|
2010-04-03 16:48:19 +00:00
|
|
|
shell-enum-types.h \
|
|
|
|
shell-enum-types.c
|
2008-11-21 14:02:09 +00:00
|
|
|
|
|
|
|
BUILT_SOURCES += $(shell_built_sources)
|
|
|
|
|
2010-04-03 16:48:19 +00:00
|
|
|
shell_public_headers_h = \
|
|
|
|
shell-app.h \
|
|
|
|
shell-app-system.h \
|
|
|
|
shell-app-usage.h \
|
|
|
|
shell-embedded-window.h \
|
|
|
|
shell-generic-container.h \
|
2012-12-15 01:41:03 +00:00
|
|
|
shell-glsl-quad.h \
|
2010-04-03 16:48:19 +00:00
|
|
|
shell-gtk-embed.h \
|
|
|
|
shell-global.h \
|
2012-04-04 15:10:31 +00:00
|
|
|
shell-invert-lightness-effect.h \
|
2014-12-11 14:35:40 +00:00
|
|
|
shell-action-modes.h \
|
2011-06-22 20:43:16 +00:00
|
|
|
shell-mount-operation.h \
|
2010-05-09 17:17:13 +00:00
|
|
|
shell-perf-log.h \
|
2012-02-14 19:33:56 +00:00
|
|
|
shell-screenshot.h \
|
2010-04-03 16:48:19 +00:00
|
|
|
shell-stack.h \
|
2011-05-16 18:12:17 +00:00
|
|
|
shell-tp-client.h \
|
2010-09-08 02:27:08 +00:00
|
|
|
shell-tray-icon.h \
|
2010-04-03 16:48:19 +00:00
|
|
|
shell-tray-manager.h \
|
2010-09-26 15:18:26 +00:00
|
|
|
shell-util.h \
|
2010-04-03 16:48:19 +00:00
|
|
|
shell-window-tracker.h \
|
2014-09-01 20:04:14 +00:00
|
|
|
shell-wm.h \
|
|
|
|
$(NULL)
|
2008-11-21 14:02:09 +00:00
|
|
|
|
2014-02-11 22:20:15 +00:00
|
|
|
if HAVE_NETWORKMANAGER
|
|
|
|
shell_public_headers_h += shell-network-agent.h
|
|
|
|
endif
|
|
|
|
|
2013-08-16 13:47:17 +00:00
|
|
|
libgnome_shell_menu_la_SOURCES = \
|
2013-05-09 19:00:40 +00:00
|
|
|
gtkactionmuxer.h \
|
|
|
|
gtkactionmuxer.c \
|
|
|
|
gtkactionobservable.h \
|
|
|
|
gtkactionobservable.c \
|
|
|
|
gtkactionobserver.h \
|
|
|
|
gtkactionobserver.c \
|
2013-05-09 16:28:44 +00:00
|
|
|
gtkmenutrackeritem.c \
|
|
|
|
gtkmenutrackeritem.h \
|
2013-04-20 01:38:47 +00:00
|
|
|
gtkmenutracker.c \
|
|
|
|
gtkmenutracker.h \
|
|
|
|
$(NULL)
|
2011-12-20 18:41:08 +00:00
|
|
|
|
2013-08-16 13:47:17 +00:00
|
|
|
libgnome_shell_base_la_SOURCES = \
|
2010-04-03 16:48:19 +00:00
|
|
|
$(shell_public_headers_h) \
|
2011-12-20 18:41:08 +00:00
|
|
|
$(shell_private_sources) \
|
2010-09-02 00:48:11 +00:00
|
|
|
shell-embedded-window-private.h \
|
2010-04-03 16:48:19 +00:00
|
|
|
shell-embedded-window.c \
|
|
|
|
shell-generic-container.c \
|
2012-12-15 01:41:03 +00:00
|
|
|
shell-glsl-quad.c \
|
2012-04-04 15:10:31 +00:00
|
|
|
shell-invert-lightness-effect.c \
|
2012-01-10 15:37:26 +00:00
|
|
|
shell-keyring-prompt.h \
|
|
|
|
shell-keyring-prompt.c \
|
2013-04-20 01:38:47 +00:00
|
|
|
shell-menu-tracker.c \
|
|
|
|
shell-menu-tracker.h \
|
2011-06-22 20:43:16 +00:00
|
|
|
shell-mount-operation.c \
|
2010-05-09 17:17:13 +00:00
|
|
|
shell-perf-log.c \
|
2011-02-21 17:17:34 +00:00
|
|
|
shell-polkit-authentication-agent.h \
|
|
|
|
shell-polkit-authentication-agent.c \
|
2012-02-10 16:41:32 +00:00
|
|
|
shell-secure-text-buffer.c \
|
|
|
|
shell-secure-text-buffer.h \
|
2010-04-03 16:48:19 +00:00
|
|
|
shell-stack.c \
|
2013-08-16 13:47:17 +00:00
|
|
|
shell-tp-client.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2014-02-11 22:20:15 +00:00
|
|
|
if HAVE_NETWORKMANAGER
|
|
|
|
libgnome_shell_base_la_SOURCES += shell-network-agent.c
|
|
|
|
endif
|
|
|
|
|
2013-08-16 13:47:17 +00:00
|
|
|
libgnome_shell_sources = \
|
|
|
|
$(shell_public_headers_h) \
|
|
|
|
shell-app-private.h \
|
|
|
|
shell-app-system-private.h \
|
|
|
|
shell-global-private.h \
|
|
|
|
shell-window-tracker-private.h \
|
|
|
|
shell-wm-private.h \
|
|
|
|
gnome-shell-plugin.c \
|
|
|
|
shell-app.c \
|
|
|
|
shell-app-system.c \
|
|
|
|
shell-app-usage.c \
|
|
|
|
shell-global.c \
|
|
|
|
shell-gtk-embed.c \
|
|
|
|
shell-screenshot.c \
|
2010-09-08 02:27:08 +00:00
|
|
|
shell-tray-icon.c \
|
2010-04-03 16:48:19 +00:00
|
|
|
shell-tray-manager.c \
|
2010-09-26 15:18:26 +00:00
|
|
|
shell-util.c \
|
2010-04-03 16:48:19 +00:00
|
|
|
shell-window-tracker.c \
|
2010-10-05 14:15:22 +00:00
|
|
|
shell-wm.c \
|
2013-10-30 22:29:45 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgnome_shell_built_sources = \
|
|
|
|
$(shell_built_sources) \
|
2013-10-30 20:41:52 +00:00
|
|
|
$(top_builddir)/js/js-resources.c \
|
|
|
|
$(top_builddir)/js/js-resources.h \
|
2011-12-20 18:41:08 +00:00
|
|
|
$(NULL)
|
2011-12-15 05:29:31 +00:00
|
|
|
|
2013-08-16 13:47:17 +00:00
|
|
|
libgnome_shell_la_SOURCES = $(libgnome_shell_sources)
|
2013-10-30 22:29:45 +00:00
|
|
|
nodist_libgnome_shell_la_SOURCES = $(libgnome_shell_built_sources)
|
2013-08-16 13:47:17 +00:00
|
|
|
|
2014-09-18 11:15:06 +00:00
|
|
|
shell_no_gir_sources = \
|
|
|
|
org-gtk-application.h \
|
|
|
|
org-gtk-application.c
|
|
|
|
|
2010-09-02 00:48:11 +00:00
|
|
|
libgnome_shell_la_gir_sources = \
|
2014-09-18 11:15:06 +00:00
|
|
|
$(filter-out %-private.h $(shell_private_sources) $(shell_no_gir_sources), $(shell_public_headers_h) $(libgnome_shell_base_la_SOURCES) $(libgnome_shell_sources) $(libgnome_shell_built_sources))
|
2010-09-02 00:48:11 +00:00
|
|
|
|
2013-08-16 13:07:03 +00:00
|
|
|
gnome_shell_SOURCES = main.c
|
2013-08-16 13:47:17 +00:00
|
|
|
gnome_shell_CPPFLAGS = \
|
|
|
|
-DMUTTER_TYPELIB_DIR=\"$(MUTTER_TYPELIB_DIR)\" \
|
|
|
|
$(MUTTER_CFLAGS) \
|
|
|
|
$(gnome_shell_cflags)
|
|
|
|
|
|
|
|
# Here, and after, we repeat mutter and bluetooth libraries just for the rpath
|
|
|
|
# The dependency is already pulled in by libtool
|
2013-11-26 14:08:18 +00:00
|
|
|
gnome_shell_LDADD = libgnome-shell.la libgnome-shell-js.la $(GNOME_SHELL_LIBS) $(MUTTER_LIBS)
|
2016-04-27 22:07:45 +00:00
|
|
|
gnome_shell_LDFLAGS = -rpath $(MUTTER_TYPELIB_DIR)
|
2013-08-16 13:07:03 +00:00
|
|
|
gnome_shell_DEPENDENCIES = libgnome-shell.la
|
2011-02-25 16:20:27 +00:00
|
|
|
|
2014-01-19 09:15:15 +00:00
|
|
|
gnome_shell_extension_prefs_SOURCES = \
|
|
|
|
gnome-shell-extension-prefs.c \
|
|
|
|
$(NULL)
|
|
|
|
nodist_gnome_shell_extension_prefs_SOURCES = \
|
2013-12-06 20:20:03 +00:00
|
|
|
$(top_builddir)/js/js-resources.c \
|
|
|
|
$(top_builddir)/js/js-resources.h \
|
|
|
|
$(NULL)
|
|
|
|
gnome_shell_extension_prefs_CPPFLAGS = $(gnome_shell_cflags)
|
2014-01-19 09:08:42 +00:00
|
|
|
gnome_shell_extension_prefs_LDADD = libgnome-shell-js.la $(GNOME_SHELL_LIBS)
|
2016-05-12 15:35:47 +00:00
|
|
|
gnome_shell_extension_prefs_LDFLAGS = -rpath $(MUTTER_TYPELIB_DIR)
|
2013-12-06 20:20:03 +00:00
|
|
|
|
2014-02-17 16:19:18 +00:00
|
|
|
if HAVE_NETWORKMANAGER
|
|
|
|
|
|
|
|
libexec_PROGRAMS += gnome-shell-portal-helper
|
|
|
|
gnome_shell_portal_helper_SOURCES = \
|
|
|
|
gnome-shell-portal-helper.c \
|
|
|
|
$(NULL)
|
|
|
|
nodist_gnome_shell_portal_helper_SOURCES = \
|
|
|
|
$(top_builddir)/js/js-resources.c \
|
|
|
|
$(top_builddir)/js/js-resources.h \
|
|
|
|
$(NULL)
|
|
|
|
gnome_shell_portal_helper_CPPFLAGS = $(gnome_shell_cflags)
|
|
|
|
gnome_shell_portal_helper_LDADD = libgnome-shell-js.la $(GNOME_SHELL_LIBS)
|
2016-05-12 15:35:47 +00:00
|
|
|
gnome_shell_portal_helper_LDFLAGS = -rpath $(MUTTER_TYPELIB_DIR)
|
2014-02-17 16:19:18 +00:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2010-10-31 19:28:06 +00:00
|
|
|
########################################
|
|
|
|
|
2012-01-19 00:41:07 +00:00
|
|
|
libgnome_shell_js_la_SOURCES = \
|
|
|
|
shell-js.h \
|
2013-07-02 06:54:53 +00:00
|
|
|
shell-js.cpp \
|
2012-01-19 00:41:07 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgnome_shell_js_la_LIBADD = \
|
|
|
|
$(GNOME_SHELL_JS_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libgnome_shell_js_la_LDFLAGS = \
|
|
|
|
-avoid-version
|
|
|
|
|
|
|
|
libgnome_shell_js_la_CPPFLAGS = \
|
|
|
|
$(GNOME_SHELL_JS_CFLAGS)
|
|
|
|
|
|
|
|
########################################
|
|
|
|
|
2009-03-13 21:14:31 +00:00
|
|
|
shell_recorder_sources = \
|
|
|
|
shell-recorder.c \
|
2010-06-10 14:19:28 +00:00
|
|
|
shell-recorder.h
|
2009-03-13 21:14:31 +00:00
|
|
|
|
|
|
|
# Custom element is an internal detail
|
|
|
|
|
|
|
|
if BUILD_RECORDER
|
2013-09-03 00:51:57 +00:00
|
|
|
libgnome_shell_sources += $(shell_recorder_sources)
|
2011-12-20 18:41:08 +00:00
|
|
|
|
|
|
|
shell_recorder_private_sources = \
|
|
|
|
shell-recorder-src.c \
|
|
|
|
shell-recorder-src.h \
|
|
|
|
$(NULL)
|
|
|
|
|
2013-08-16 13:47:17 +00:00
|
|
|
shell_private_sources = $(shell_recorder_private_sources)
|
2009-03-13 21:14:31 +00:00
|
|
|
|
|
|
|
endif BUILD_RECORDER
|
|
|
|
|
2010-10-31 19:28:06 +00:00
|
|
|
########################################
|
|
|
|
|
2011-03-08 23:17:53 +00:00
|
|
|
libexec_PROGRAMS += gnome-shell-perf-helper
|
|
|
|
|
|
|
|
gnome_shell_perf_helper_SOURCES = shell-perf-helper.c
|
|
|
|
gnome_shell_perf_helper_CPPFLAGS = $(SHELL_PERF_HELPER_CFLAGS)
|
2014-05-20 01:11:01 +00:00
|
|
|
gnome_shell_perf_helper_LDADD = $(SHELL_PERF_HELPER_LIBS) -lm
|
2011-03-08 23:17:53 +00:00
|
|
|
|
|
|
|
########################################
|
|
|
|
|
2010-10-31 19:28:06 +00:00
|
|
|
noinst_PROGRAMS += run-js-test
|
|
|
|
|
2013-08-16 13:47:17 +00:00
|
|
|
run_js_test_CPPFLAGS = $(MUTTER_CFLAGS) $(gnome_shell_cflags)
|
2013-11-26 14:08:18 +00:00
|
|
|
run_js_test_LDADD = libgnome-shell.la $(GNOME_SHELL_JS_LIBS) $(MUTTER_LIBS)
|
2016-05-12 15:35:47 +00:00
|
|
|
run_js_test_LDFLAGS = -export-dynamic -rpath $(MUTTER_TYPELIB_DIR)
|
2010-10-31 19:28:06 +00:00
|
|
|
|
|
|
|
run_js_test_SOURCES = \
|
|
|
|
run-js-test.c
|
|
|
|
|
|
|
|
########################################
|
2009-01-27 20:29:17 +00:00
|
|
|
|
2010-04-03 16:48:19 +00:00
|
|
|
shell-enum-types.h: stamp-shell-enum-types.h Makefile
|
|
|
|
@true
|
|
|
|
stamp-shell-enum-types.h: $(srcdir)/shell-enum-types.h.in $(shell_public_headers_h)
|
2011-06-23 00:10:56 +00:00
|
|
|
$(AM_V_GEN) ( \
|
2010-04-03 16:48:19 +00:00
|
|
|
$(GLIB_MKENUMS) \
|
|
|
|
--template $< \
|
2011-06-23 00:10:56 +00:00
|
|
|
$(addprefix $(srcdir)/,$(shell_public_headers_h)) ) > $(@F).tmp && \
|
2011-03-08 05:33:52 +00:00
|
|
|
(cmp -s $(@F).tmp shell-enum-types.h || mv $(@F).tmp shell-enum-types.h) && \
|
|
|
|
rm -f $(@F).tmp && \
|
2010-04-03 16:48:19 +00:00
|
|
|
echo timestamp > $(@F)
|
2010-04-13 11:13:33 +00:00
|
|
|
EXTRA_DIST += shell-enum-types.h.in
|
2010-04-14 14:37:22 +00:00
|
|
|
CLEANFILES += stamp-shell-enum-types.h
|
2010-04-03 16:48:19 +00:00
|
|
|
|
2011-06-23 00:10:56 +00:00
|
|
|
shell-enum-types.c: $(srcdir)/shell-enum-types.c.in stamp-shell-enum-types.h
|
|
|
|
$(AM_V_GEN) ( \
|
2010-04-03 16:48:19 +00:00
|
|
|
$(GLIB_MKENUMS) \
|
|
|
|
--template $< \
|
2011-06-23 00:10:56 +00:00
|
|
|
$(addprefix $(srcdir)/,$(shell_public_headers_h)) ) > $(@F).tmp && \
|
2011-03-08 05:33:52 +00:00
|
|
|
mv $(@F).tmp $(@F) && \
|
|
|
|
rm -f $(@F).tmp
|
2010-04-13 11:13:33 +00:00
|
|
|
EXTRA_DIST += shell-enum-types.c.in
|
2010-04-03 16:48:19 +00:00
|
|
|
|
2013-08-16 13:47:17 +00:00
|
|
|
libgnome_shell_ldflags = -avoid-version
|
|
|
|
libgnome_shell_libadd = \
|
2010-10-05 14:15:22 +00:00
|
|
|
-lm \
|
2011-02-25 16:20:27 +00:00
|
|
|
$(GNOME_SHELL_LIBS) \
|
2013-08-16 13:47:17 +00:00
|
|
|
libgnome-shell-menu.la \
|
2009-09-08 19:47:30 +00:00
|
|
|
libst-1.0.la \
|
2010-09-27 14:27:15 +00:00
|
|
|
libtray.la \
|
2012-10-19 17:02:41 +00:00
|
|
|
gvc/libgvc.la \
|
2011-01-28 21:35:46 +00:00
|
|
|
$(NULL)
|
2010-07-24 11:57:53 +00:00
|
|
|
|
2013-09-03 06:25:26 +00:00
|
|
|
libgnome_shell_menu_la_LDFLAGS = $(libgnome_shell_ldflags)
|
2013-08-16 13:47:17 +00:00
|
|
|
libgnome_shell_menu_la_LIBADD = $(GNOME_SHELL_LIBS)
|
|
|
|
libgnome_shell_menu_la_CPPFLAGS = $(GNOME_SHELL_CFLAGS)
|
|
|
|
|
|
|
|
libgnome_shell_base_la_LIBADD = $(libgnome_shell_libadd)
|
|
|
|
libgnome_shell_base_la_CPPFLAGS = $(gnome_shell_cflags)
|
|
|
|
|
|
|
|
libgnome_shell_la_LDFLAGS = $(libgnome_shell_ldflags)
|
2013-09-03 16:18:29 +00:00
|
|
|
libgnome_shell_la_LIBADD = $(GNOME_SHELL_LIBS) $(MUTTER_LIBS) libgnome-shell-base.la
|
2013-08-16 13:47:17 +00:00
|
|
|
libgnome_shell_la_CPPFLAGS = $(MUTTER_CFLAGS) $(gnome_shell_cflags)
|
|
|
|
|
|
|
|
ShellMenu-0.1.gir: libgnome-shell-menu.la
|
2013-05-09 19:14:52 +00:00
|
|
|
ShellMenu_0_1_gir_INCLUDES = Gio-2.0
|
2013-08-16 13:47:17 +00:00
|
|
|
ShellMenu_0_1_gir_CFLAGS = $(libgnome_shell_menu_la_CPPFLAGS) -I $(srcdir)
|
|
|
|
ShellMenu_0_1_gir_LIBS = libgnome-shell-menu.la
|
2013-05-09 19:14:52 +00:00
|
|
|
ShellMenu_0_1_gir_FILES = \
|
|
|
|
gtkactionmuxer.h \
|
|
|
|
gtkactionmuxer.c \
|
|
|
|
gtkactionobservable.h \
|
|
|
|
gtkactionobservable.c \
|
|
|
|
gtkactionobserver.h \
|
|
|
|
gtkactionobserver.c \
|
2013-05-09 16:28:44 +00:00
|
|
|
gtkmenutrackeritem.c \
|
|
|
|
gtkmenutrackeritem.h \
|
2013-05-09 19:14:52 +00:00
|
|
|
$(NULL)
|
2013-05-13 22:38:35 +00:00
|
|
|
ShellMenu_0_1_gir_SCANNERFLAGS = \
|
2013-11-26 14:08:18 +00:00
|
|
|
--namespace=ShellMenu --identifier-prefix=Gtk
|
2013-05-09 19:14:52 +00:00
|
|
|
INTROSPECTION_GIRS += ShellMenu-0.1.gir
|
|
|
|
CLEANFILES += ShellMenu-0.1.gir
|
|
|
|
|
2013-08-16 13:47:17 +00:00
|
|
|
Shell-0.1.gir: gnome-shell St-1.0.gir ShellMenu-0.1.gir
|
2014-06-02 15:51:21 +00:00
|
|
|
Shell_0_1_gir_INCLUDES = Clutter-1.0 ClutterX11-1.0 Meta-3.0 TelepathyGLib-0.12 Soup-2.4
|
2014-02-11 22:20:15 +00:00
|
|
|
if HAVE_NETWORKMANAGER
|
|
|
|
Shell_0_1_gir_INCLUDES += NetworkManager-1.0 NMClient-1.0
|
|
|
|
endif
|
2011-02-26 17:29:53 +00:00
|
|
|
Shell_0_1_gir_CFLAGS = $(libgnome_shell_la_CPPFLAGS) -I $(srcdir)
|
2014-04-09 22:20:56 +00:00
|
|
|
Shell_0_1_gir_LIBS = libgnome-shell.la
|
2011-06-23 00:10:56 +00:00
|
|
|
Shell_0_1_gir_FILES = $(libgnome_shell_la_gir_sources)
|
2013-05-09 19:14:52 +00:00
|
|
|
Shell_0_1_gir_SCANNERFLAGS = \
|
|
|
|
--include-uninstalled=$(builddir)/St-1.0.gir \
|
|
|
|
--include-uninstalled=$(builddir)/ShellMenu-0.1.gir \
|
2013-11-26 14:08:18 +00:00
|
|
|
--add-include-path=$(MUTTER_GIR_DIR)
|
2011-02-26 17:29:53 +00:00
|
|
|
INTROSPECTION_GIRS += Shell-0.1.gir
|
2011-03-08 05:41:17 +00:00
|
|
|
CLEANFILES += Shell-0.1.gir
|
2011-02-26 17:29:53 +00:00
|
|
|
|
2012-01-19 00:41:07 +00:00
|
|
|
ShellJS-0.1.gir: libgnome-shell-js.la
|
|
|
|
ShellJS_0_1_gir_CFLAGS = $(libgnome_shell_la_CPPFLAGS) -I $(srcdir)
|
|
|
|
ShellJS_0_1_gir_LIBS = libgnome-shell-js.la
|
|
|
|
ShellJS_0_1_gir_FILES = $(libgnome_shell_js_la_SOURCES)
|
|
|
|
INTROSPECTION_GIRS += ShellJS-0.1.gir
|
|
|
|
CLEANFILES += ShellJS-0.1.gir
|
|
|
|
|
2011-02-26 17:29:53 +00:00
|
|
|
St-1.0.gir: libst-1.0.la
|
|
|
|
St_1_0_gir_INCLUDES = Clutter-1.0 Gtk-3.0
|
|
|
|
St_1_0_gir_CFLAGS = $(st_cflags) -DST_COMPILATION
|
|
|
|
St_1_0_gir_LIBS = libst-1.0.la
|
|
|
|
St_1_0_gir_FILES = $(filter-out %-private.h $(st_non_gir_sources), $(addprefix $(srcdir)/,$(st_source_h))) \
|
|
|
|
$(addprefix $(srcdir)/,$(st_source_c))
|
|
|
|
INTROSPECTION_GIRS += St-1.0.gir
|
2011-03-08 05:41:17 +00:00
|
|
|
CLEANFILES += St-1.0.gir
|