summaryrefslogtreecommitdiff
path: root/plugins/dfinput
diff options
context:
space:
mode:
authorStelios Tsampas <loathingkernel@gmail.com>2017-10-09 22:29:39 +0300
committerStelios Tsampas <loathingkernel@gmail.com>2018-01-11 15:36:48 +0200
commitb7e47230b4f50e964ff236075403357a9fd0fff4 (patch)
tree366b378671588406e16d7d138e02eff1c6c1bf3c /plugins/dfinput
parent75fff89edf17caaf7b20c63d9f7049999a4da1d8 (diff)
downloadpcsxr-b7e47230b4f50e964ff236075403357a9fd0fff4.tar.gz
* Add gnu99 compiler directive, make build compatible with earlier automake versions
Diffstat (limited to 'plugins/dfinput')
-rw-r--r--plugins/dfinput/Makefile.am8
1 files changed, 6 insertions, 2 deletions
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
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/org/pcsxr/dfinput">
@@ -25,9 +26,12 @@ define gresource_xml =
</gresource>
</gresources>
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)