diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-04-09 11:36:09 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-04-09 11:36:09 (GMT) |
commit | 9b7dfd449b08637c4b4fc6d95acf3a8fcb5fd58d (patch) | |
tree | 8d8a1fb3a3bdc9d93a2b9f061bfc8c2d6b4d2e6d /src/gui/dialogs/Makefile.am | |
parent | fd8421351331f5d9b676e054af22f573402033a2 (diff) |
Built interfaces using Glade and GLib resources.
Diffstat (limited to 'src/gui/dialogs/Makefile.am')
-rw-r--r-- | src/gui/dialogs/Makefile.am | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gui/dialogs/Makefile.am b/src/gui/dialogs/Makefile.am index a75701f..5a60f25 100644 --- a/src/gui/dialogs/Makefile.am +++ b/src/gui/dialogs/Makefile.am @@ -1,6 +1,11 @@ +BUILT_SOURCES = resources.h resources.c + noinst_LTLIBRARIES = libguidialogs.la +UI_FILES = \ + binadmin.ui + libguidialogs_la_SOURCES = \ about.h about.c \ bookmark.h bookmark.c \ @@ -8,6 +13,7 @@ libguidialogs_la_SOURCES = \ goto.h goto.c \ gotox.h gotox.c \ plugins.h plugins.c \ + resources.h resources.c \ shellcode.h shellcode.c \ storage.h storage.c @@ -19,3 +25,13 @@ AM_CPPFLAGS = $(LIBGTK_CFLAGS) $(LIBXML_CFLAGS) AM_CFLAGS = $(DEBUG_CFLAGS) $(WARNING_FLAGS) $(COMPLIANCE_FLAGS) SUBDIRS = + + +resources.c: gresource.xml $(UI_FILES) + glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-source --c-name gui_dialogs gresource.xml + +resources.h: gresource.xml + glib-compile-resources --target=$@ --sourcedir=$(srcdir) --generate-header --c-name gui_dialogs gresource.xml + + +CLEANFILES = resources.h resources.c |