From b7e47230b4f50e964ff236075403357a9fd0fff4 Mon Sep 17 00:00:00 2001 From: Stelios Tsampas Date: Mon, 9 Oct 2017 22:29:39 +0300 Subject: * Add gnu99 compiler directive, make build compatible with earlier automake versions --- plugins/dfinput/Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'plugins/dfinput') diff --git a/plugins/dfinput/Makefile.am b/plugins/dfinput/Makefile.am index 458259c5..60a57488 100644 --- a/plugins/dfinput/Makefile.am +++ b/plugins/dfinput/Makefile.am @@ -17,7 +17,8 @@ cfgDFInput_SOURCES = cfg-gtk.c pad.h GtkResources.c GtkResources.h cfgDFInput_LDADD = $(GTK3_LIBS) $(SDL2_LIBS) $(SDL_LIBS) -lX11 # gresource.xml is dynamically generated in CMake. Mirror that here in a static way. -define gresource_xml = +#define gresource_xml = +define gresource_xml @@ -25,9 +26,12 @@ define gresource_xml = endef +# FIXME +export gresource_xml dfinput.gresource.xml: - $(file >$@,$(gresource_xml)) +# $(file >$@,$(gresource_xml)) + @echo "$$gresource_xml" >$@ dfinput_gresource: dfinput.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/$<) GtkResources.c: dfinput.gresource.xml $(dfinput_gresource) -- cgit v1.2.3