summaryrefslogtreecommitdiff
path: root/mate-panel/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/Makefile.am')
-rw-r--r--mate-panel/Makefile.am50
1 files changed, 36 insertions, 14 deletions
diff --git a/mate-panel/Makefile.am b/mate-panel/Makefile.am
index b108288b..6de930be 100644
--- a/mate-panel/Makefile.am
+++ b/mate-panel/Makefile.am
@@ -13,19 +13,14 @@ AM_CPPFLAGS = \
-I$(top_builddir)/mate-panel \
-I$(top_builddir)/mate-panel/libpanel-util \
-DMATELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
- -DBUILDERDIR=\""$(uidir)"\" \
-DPANELDATADIR=\""$(datadir)/mate-panel"\" \
- -DDATADIR=\""$(datadir)"\"
- -DICONDIR=\""$(datadir)/mate-panel/pixmaps"\" \
+ -DDATADIR=\""$(datadir)"\" \
$(DISABLE_DEPRECATED_CFLAGS)
AM_CFLAGS = $(WARN_CFLAGS)
panel_sources = \
- panel-typebuiltins.c \
- panel-typebuiltins.h \
- panel-marshal.c \
- panel-marshal.h \
+ $(mate_panel_BUILT_SOURCES) \
main.c \
panel-widget.c \
button-widget.c \
@@ -159,10 +154,10 @@ mate_desktop_item_edit_LDADD = \
-lX11
mate_panel_test_applets_SOURCES = \
+ $(panel_test_applets_BUILT_SOURCES) \
panel-modules.c \
panel-applet-info.c \
panel-applets-manager.c \
- panel-marshal.c \
panel-test-applets.c
mate_panel_test_applets_CPPFLAGS = \
@@ -218,17 +213,41 @@ panel-typebuiltins.h: @[email protected] $(panel_enum_headers)
--eprod "GType @[email protected]_get_type (void);\n" \
$(panel_enum_headers) > [email protected]
-BUILT_SOURCES = \
+mate_panel_BUILT_SOURCES = \
panel-typebuiltins.c \
panel-typebuiltins.h \
+ panel-resources.c \
+ panel-resources.h \
panel-marshal.c \
panel-marshal.h
-uidir = $(datadir)/mate-panel/ui
-ui_DATA = \
+panel_test_applets_BUILT_SOURCES = \
+ panel-test-applets-resources.c \
+ panel-test-applets-resources.h \
+ panel-marshal.c \
+ panel-marshal.h
+
+BUILT_SOURCES = \
+ $(mate_panel_BUILT_SOURCES) \
+ $(panel_test_applets_BUILT_SOURCES)
+
+ui_FILES = \
panel-properties-dialog.ui \
- panel-run-dialog.ui \
- panel-test-applets.ui
+ panel-run-dialog.ui
+
+panel-resources.c: panel.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/panel.gresource.xml)
+ $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) [email protected] --sourcedir=$(srcdir) --generate --c-name panel $<
+
+panel-resources.h: panel.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/panel.gresource.xml)
+ $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) [email protected] --sourcedir=$(srcdir) --generate --c-name panel $<
+
+uitest_FILES = panel-test-applets.ui
+
+panel-test-applets-resources.c: panel-test-applets.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/panel-test-applets.gresource.xml)
+ $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) [email protected] --sourcedir=$(srcdir) --generate --c-name panel $<
+
+panel-test-applets-resources.h: panel-test-applets.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/panel-test-applets.gresource.xml)
+ $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) [email protected] --sourcedir=$(srcdir) --generate --c-name panel $<
desktopdir = $(datadir)/applications
desktop_in_files = mate-panel.desktop.in
@@ -237,7 +256,10 @@ desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
EXTRA_DIST = \
- $(ui_DATA) \
+ $(ui_FILES) \
+ panel.gresource.xml \
+ $(uitest_FILES) \
+ panel-test-applets.gresource.xml \
panel-marshal.list \
$(entries_DATA) \
$(desktop_in_files)