2011-11-07 13:46:58 -06:00
|
|
|
# time plugin
|
2016-01-25 08:13:49 -06:00
|
|
|
plugindir = $(XEDIT_PLUGINS_LIBS_DIR)
|
2011-11-07 13:46:58 -06:00
|
|
|
|
2013-08-02 17:08:36 -05:00
|
|
|
AM_CPPFLAGS = \
|
2011-11-07 13:46:58 -06:00
|
|
|
-I$(top_srcdir) \
|
2016-01-25 08:13:49 -06:00
|
|
|
$(XEDIT_CFLAGS) \
|
2011-11-07 13:46:58 -06:00
|
|
|
$(WARN_CFLAGS) \
|
|
|
|
$(DISABLE_DEPRECATED_CFLAGS)
|
|
|
|
|
|
|
|
plugin_LTLIBRARIES = libtime.la
|
|
|
|
|
|
|
|
libtime_la_SOURCES = \
|
2016-01-25 08:13:49 -06:00
|
|
|
xedit-time-plugin.h \
|
|
|
|
xedit-time-plugin.c
|
2011-11-07 13:46:58 -06:00
|
|
|
|
|
|
|
libtime_la_LDFLAGS = $(PLUGIN_LIBTOOL_FLAGS)
|
2016-01-25 08:13:49 -06:00
|
|
|
libtime_la_LIBADD = $(XEDIT_LIBS)
|
2011-11-07 13:46:58 -06:00
|
|
|
|
2016-01-25 08:13:49 -06:00
|
|
|
uidir = $(XEDIT_PLUGINS_DATA_DIR)/time
|
2011-11-07 13:46:58 -06:00
|
|
|
ui_DATA = \
|
2016-01-25 08:13:49 -06:00
|
|
|
xedit-time-dialog.ui \
|
|
|
|
xedit-time-setup-dialog.ui
|
2011-11-07 13:46:58 -06:00
|
|
|
|
2016-01-25 08:13:49 -06:00
|
|
|
plugin_in_files = time.xedit-plugin.desktop.in
|
2011-11-07 13:46:58 -06:00
|
|
|
|
2016-01-25 08:13:49 -06:00
|
|
|
%.xedit-plugin: %.xedit-plugin.desktop.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*po) ; $(INTLTOOL_MERGE) $(top_srcdir)/po $< $@ -d -u -c $(top_builddir)/po/.intltool-merge-cache
|
2011-11-07 13:46:58 -06:00
|
|
|
|
2016-01-25 08:13:49 -06:00
|
|
|
plugin_DATA = $(plugin_in_files:.xedit-plugin.desktop.in=.xedit-plugin)
|
2011-11-07 13:46:58 -06:00
|
|
|
|
2013-01-24 14:06:15 -06:00
|
|
|
@INTLTOOL_XML_NOMERGE_RULE@
|
2016-01-25 08:13:49 -06:00
|
|
|
time_gschema_in = org.x.editor.plugins.time.gschema.xml.in
|
2015-09-08 10:19:30 -05:00
|
|
|
gsettings_SCHEMAS = $(time_gschema_in:.xml.in=.xml)
|
2013-01-24 14:06:15 -06:00
|
|
|
@GSETTINGS_RULES@
|
2011-11-07 13:46:58 -06:00
|
|
|
|
2015-09-08 10:19:30 -05:00
|
|
|
EXTRA_DIST = $(ui_DATA) $(plugin_in_files) $(time_gschema_in)
|
2013-01-24 14:06:15 -06:00
|
|
|
|
|
|
|
CLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS_in) $(gsettings_SCHEMASn)
|
|
|
|
DISTCLEANFILES = $(plugin_DATA) $(gsettings_SCHEMAS_in) $(gsettings_SCHEMAS)
|
2011-11-07 13:46:58 -06:00
|
|
|
|
|
|
|
|
|
|
|
-include $(top_srcdir)/git.mk
|