aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2014-10-27 20:13:59 +0100
committerGuido Günther <agx@sigxcpu.org>2014-10-27 20:13:59 +0100
commit31185d465d8bfc8411533d46b8993b1cf5b7b13a (patch)
tree2b83a613bb99dd2f65291ac8848337cccf22f448 /src/Makefile.am
parentNew upstream version 3.12.0 (diff)
downloadkrb5-auth-dialog-31185d465d8bfc8411533d46b8993b1cf5b7b13a.tar.gz
krb5-auth-dialog-31185d465d8bfc8411533d46b8993b1cf5b7b13a.tar.bz2
krb5-auth-dialog-31185d465d8bfc8411533d46b8993b1cf5b7b13a.zip
New upstream version 3.15.1
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am22
1 files changed, 15 insertions, 7 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index fd055cb..f2c7ba6 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -57,11 +57,11 @@ krb5_auth_dialog_SOURCES = \
ka-entry-buffer.h \
ka-entry-buffer.c \
dummy-strings.c \
+ resources.c \
$(NULL)
krb5_auth_dialog_CPPFLAGS = \
-I$(top_srcdir)/secmem \
- -DKA_DATA_DIR=\""$(pkgdatadir)"\" \
-DDATA_DIR=\""$(datadir)"\" \
-DLOCALE_DIR=\""$(localedir)/"\" \
-DBIN_DIR=\""$(bindir)/"\" \
@@ -93,29 +93,37 @@ krb5_auth_dialog_LDADD = \
AM_CPPFLAGS = \
-I $(top_srcdir)/secmem/ \
$(DISABLE_DEPRECATED) \
- $(NULL)
-
-pkgdatadir = $(datadir)/krb5-auth-dialog
-pkgdata_DATA = \
- krb5-auth-dialog.ui \
+ -DG_LOG_DOMAIN="\"KrbAuthDialog\"" \
$(NULL)
EXTRA_DIST = \
- $(pkgdata_DATA) \
$(schema_in_files) \
$(autostart_in_files) \
$(service_in_files) \
$(appdata_in_files) \
org.gnome.KrbAuthDialog.gschema.xml \
krb5-auth-dialog.1.in \
+ krb5-auth-dialog.gresource.xml \
+ resources/ui/app-menu.ui \
+ resources/ui/ka-main-window.ui \
+ resources/ui/ka-preferences.ui \
+ resources/ui/ka-pwdialog.ui \
$(NULL)
CLEANFILES = $(schema_DATA) \
$(service_DATA) \
$(appdata_DATA) \
+ resources.c \
$(NULL)
DISTCLEANFILES = \
krb5-auth-dialog.desktop \
$(NULL)
+BUILT_SOURCES = \
+ resources.c \
+ $(NULL)
+
+resources.c: krb5-auth-dialog.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(srcdir)/resources --generate-dependencies $(srcdir)/krb5-auth-dialog.gresource.xml)
+ $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) $(srcdir)/krb5-auth-dialog.gresource.xml \
+ --target=$@ --sourcedir=$(srcdir)/resources --generate-source
bgstack15