2012-02-09 13:45:40 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
2016-10-07 14:11:26 +00:00
|
|
|
bin_PROGRAMS = gtk4-widget-factory
|
2012-02-09 13:45:40 +00:00
|
|
|
|
2013-11-05 13:56:30 +00:00
|
|
|
desktopdir = $(datadir)/applications
|
2016-10-07 14:11:26 +00:00
|
|
|
dist_desktop_DATA = gtk4-widget-factory.desktop
|
2013-11-05 13:56:30 +00:00
|
|
|
|
2016-10-07 14:11:26 +00:00
|
|
|
gtk4_widget_factory_SOURCES = \
|
2014-11-28 14:47:58 +00:00
|
|
|
widget-factory.c \
|
2012-02-09 14:06:18 +00:00
|
|
|
widget_factory_resources.c
|
2012-02-09 13:45:40 +00:00
|
|
|
|
2014-11-28 14:47:58 +00:00
|
|
|
BUILT_SOURCES = \
|
2012-02-09 14:10:50 +00:00
|
|
|
widget_factory_resources.c
|
|
|
|
|
2016-10-07 14:11:26 +00:00
|
|
|
gtk4_widget_factory_DEPENDENCIES = \
|
|
|
|
$(top_builddir)/gtk/libgtk-4.la
|
2012-02-09 13:45:40 +00:00
|
|
|
|
2016-10-07 14:11:26 +00:00
|
|
|
gtk4_widget_factory_CPPFLAGS = \
|
2012-02-09 13:45:40 +00:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
$(GTK_DEBUG_FLAGS) \
|
2014-10-21 00:54:31 +00:00
|
|
|
$(GTK_DEP_CFLAGS) \
|
2015-09-21 18:22:55 +00:00
|
|
|
$(NULL)
|
2012-02-09 13:45:40 +00:00
|
|
|
|
2016-10-07 14:11:26 +00:00
|
|
|
gtk4_widget_factory_LDADD = \
|
|
|
|
$(top_builddir)/gtk/libgtk-4.la \
|
2014-10-21 00:54:31 +00:00
|
|
|
$(GTK_DEP_LIBS) \
|
2015-09-21 18:22:55 +00:00
|
|
|
$(NULL)
|
2012-02-09 13:45:40 +00:00
|
|
|
|
2012-04-16 11:40:07 +00:00
|
|
|
widget_factory_resources.c: widget-factory.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/widget-factory.gresource.xml)
|
2012-02-09 14:06:18 +00:00
|
|
|
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $<
|
|
|
|
|
2013-11-05 21:32:30 +00:00
|
|
|
|
|
|
|
iconthemedir = $(datadir)/icons/hicolor
|
|
|
|
|
|
|
|
appsicon16dir = $(iconthemedir)/16x16/apps
|
|
|
|
appsicon22dir = $(iconthemedir)/22x22/apps
|
|
|
|
appsicon24dir = $(iconthemedir)/24x24/apps
|
|
|
|
appsicon32dir = $(iconthemedir)/32x32/apps
|
|
|
|
appsicon48dir = $(iconthemedir)/48x48/apps
|
|
|
|
appsicon256dir = $(iconthemedir)/256x256/apps
|
|
|
|
|
2016-10-07 14:11:26 +00:00
|
|
|
dist_appsicon16_DATA = data/16x16/gtk4-widget-factory.png data/16x16/gtk4-widget-factory-symbolic.symbolic.png
|
|
|
|
dist_appsicon22_DATA = data/22x22/gtk4-widget-factory.png data/22x22/gtk4-widget-factory-symbolic.symbolic.png
|
|
|
|
dist_appsicon24_DATA = data/24x24/gtk4-widget-factory.png data/24x24/gtk4-widget-factory-symbolic.symbolic.png
|
|
|
|
dist_appsicon32_DATA = data/32x32/gtk4-widget-factory.png data/32x32/gtk4-widget-factory-symbolic.symbolic.png
|
|
|
|
dist_appsicon48_DATA = data/48x48/gtk4-widget-factory.png data/48x48/gtk4-widget-factory-symbolic.symbolic.png
|
|
|
|
dist_appsicon256_DATA = data/256x256/gtk4-widget-factory.png data/256x256/gtk4-widget-factory-symbolic.symbolic.png
|
2013-11-05 21:32:30 +00:00
|
|
|
|
2016-10-26 10:28:50 +00:00
|
|
|
update_icon_cache = $(top_builddir)/gtk/gtk4-update-icon-cache$(EXEEXT) --ignore-theme-index --force
|
2013-11-05 21:32:30 +00:00
|
|
|
|
|
|
|
install-data-hook: install-update-icon-cache
|
|
|
|
uninstall-hook: uninstall-update-icon-cache
|
|
|
|
|
|
|
|
install-update-icon-cache:
|
|
|
|
$(AM_V_at)$(POST_INSTALL)
|
|
|
|
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
|
|
|
|
|
|
|
|
uninstall-update-icon-cache:
|
|
|
|
$(AM_V_at)$(POST_UNINSTALL)
|
|
|
|
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
|
|
|
|
|
2014-11-28 14:47:58 +00:00
|
|
|
EXTRA_DIST += \
|
|
|
|
widget-factory.ui \
|
2015-03-16 02:42:44 +00:00
|
|
|
widget-factory.css \
|
2014-11-28 14:47:58 +00:00
|
|
|
menus.ui \
|
2015-10-21 04:14:38 +00:00
|
|
|
help-overlay.ui \
|
2014-11-28 14:47:58 +00:00
|
|
|
widget-factory.gresource.xml \
|
|
|
|
data/source.svg \
|
|
|
|
data/symbolic-source.svg
|
2013-01-24 22:35:30 +00:00
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|