diff options
| author | Stelios Tsampas <loathingkernel@gmail.com> | 2017-07-17 17:32:35 +0300 |
|---|---|---|
| committer | Stelios Tsampas <loathingkernel@gmail.com> | 2017-07-17 17:32:35 +0300 |
| commit | a96eefdf0f10a9a051e65f6e88a24dc3abe40fc5 (patch) | |
| tree | c12847ff994c574a588f7b79a5720f322b9133ef /plugins/dfinput/Makefile.am | |
| parent | aa295feb0d95d75f10f4ac097fdb1139428e1220 (diff) | |
| download | pcsxr-a96eefdf0f10a9a051e65f6e88a24dc3abe40fc5.tar.gz | |
* Bring pluing Linux(gtk) interfaces up to date.
Diffstat (limited to 'plugins/dfinput/Makefile.am')
| -rw-r--r-- | plugins/dfinput/Makefile.am | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/plugins/dfinput/Makefile.am b/plugins/dfinput/Makefile.am index 70f86fd1..11eee3eb 100644 --- a/plugins/dfinput/Makefile.am +++ b/plugins/dfinput/Makefile.am @@ -13,9 +13,29 @@ AM_CPPFLAGS = -DLOCALE_DIR=\"${datadir}/locale/\" \ -I../../include -I$(top_srcdir)/libpcsxcore $(SDL2_CFLAGS) $(SDL_CFLAGS) bin_PROGRAMS = cfgDFInput -cfgDFInput_SOURCES = cfg-gtk.c pad.h +cfgDFInput_SOURCES = cfg-gtk.c pad.h GtkResources.c GtkResources.h cfgDFInput_LDADD = $(GTK3_LIBS) $(SDL2_LIBS) $(SDL_LIBS) -lX11 -glade_DATA = dfinput.ui -gladedir = $(datadir)/psemu/ +# gresource.xml is dynamically generated in CMake. Mirror that here in a static way. +define gresource_xml = +<?xml version="1.0" encoding="UTF-8"?> +<gresources> + <gresource prefix="/org/pcsxr/dfinput"> + <file>dfinput.ui</file> + </gresource> +</gresources> +endef + +dfinput.gresource.xml: + $(file >$@,$(gresource_xml)) +dfinput_gresource: dfinput.gresource.xml + $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/$<) +GtkResources.c: dfinput.gresource.xml $(dfinput_gresource) + $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source --c-name dfinput $< +GtkResources.h: dfinput.gresource.xml $(dfinput_gresource) + $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-header --c-name dfinput $< + + +#glade_DATA = dfinput.ui +#gladedir = $(datadir)/psemu/ EXTRA_DIST = $(glade_DATA) |
