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/peopsxgl/Makefile.am | |
| parent | aa295feb0d95d75f10f4ac097fdb1139428e1220 (diff) | |
| download | pcsxr-a96eefdf0f10a9a051e65f6e88a24dc3abe40fc5.tar.gz | |
* Bring pluing Linux(gtk) interfaces up to date.
Diffstat (limited to 'plugins/peopsxgl/Makefile.am')
| -rwxr-xr-x | plugins/peopsxgl/Makefile.am | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/plugins/peopsxgl/Makefile.am b/plugins/peopsxgl/Makefile.am index 9bcd6bea..a37643e6 100755 --- a/plugins/peopsxgl/Makefile.am +++ b/plugins/peopsxgl/Makefile.am @@ -26,9 +26,29 @@ libpeopsxgl_la_LDFLAGS = -module -avoid-version libpeopsxgl_la_LIBADD = -lX11 -lXxf86vm -lGL -lm bin_PROGRAMS = cfgpeopsxgl -cfgpeopsxgl_SOURCES = gpucfg/main.c +cfgpeopsxgl_SOURCES = gpucfg/main.c GtkResources.c GtkResources.h cfgpeopsxgl_LDADD = $(GTK3_LIBS) -glade_DATA = gpucfg/peopsxgl.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/peopsxgl"> + <file>peopsxgl.ui</file> + </gresource> +</gresources> +endef + +peopsxgl.gresource.xml: + $(file >$@,$(gresource_xml)) +peopsxgl_gresource: peopsxgl.gresource.xml + $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir)/gpucfg --generate-dependencies $(srcdir)/$<) +GtkResources.c: peopsxgl.gresource.xml $(peopsxgl_gresource) + $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir)/gpucfg --generate-source --c-name peopsxgl $< +GtkResources.h: peopsxgl.gresource.xml $(peopsxgl_gresource) + $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir)/gpucfg --generate-header --c-name peopsxgl $< + + +#glade_DATA = gpucfg/peopsxgl.ui +#gladedir = $(datadir)/psemu/ EXTRA_DIST = $(glade_DATA) |
