aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: 3cf1a7d66a97bc9eff2044cc4017630ae5801a89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
NULL =

bin_PROGRAMS = krb5-auth-dialog
man_MANS = krb5-auth-dialog.1

autostartdir = $(sysconfdir)/xdg/autostart
autostart_in_files = krb5-auth-dialog.desktop.in
autostart_DATA = $(autostart_in_files:.desktop.in=.desktop)
@INTLTOOL_DESKTOP_RULE@

desktopdir = $(datadir)/applications
desktop_in_files = krb5-auth-dialog.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)

gsettings_SCHEMAS = org.gnome.KrbAuthDialog.gschema.xml
@GSETTINGS_RULES@

convertdir = $(datadir)/GConf/gsettings
dist_convert_DATA = org.gnome.KrbAuthDialog.convert

servicedir       = $(datadir)/dbus-1/services
service_in_files = org.gnome.KrbAuthDialog.service.in
service_DATA     = $(service_in_files:.service.in=.service)

$(service_DATA): $(service_in_files) Makefile
	sed -e "s|\@BINDIR\@|$(bindir)|" $< > $@

krb5_auth_dialog_SOURCES =	\
	ka-kerberos.c      	\
	ka-kerberos.h      	\
	ka-applet.c		\
	ka-applet-priv.h	\
	ka-applet.h		\
	ka-pwdialog.c    	\
	ka-pwdialog.h    	\
	ka-settings.c		\
	ka-settings.h		\
	ka-dbus.c		\
	ka-dbus.h		\
	ka-tools.c		\
	ka-tools.h		\
	ka-main-window.c	\
	ka-main-window.h	\
	ka-plugin.c		\
	ka-plugin.h		\
	ka-plugin-loader.c	\
	ka-plugin-loader.h	\
	ka-preferences.c	\
	ka-preferences.h	\
	ka-closures.h		\
	ka-closures.c		\
	ka-entry-buffer.h	\
	ka-entry-buffer.c	\
	dummy-strings.c		\
	$(NULL)

krb5_auth_dialog_CPPFLAGS = \
	-I$(top_srcdir)/secmem \
	-DKA_DATA_DIR=\""$(pkgdatadir)"\" \
	-DDATA_DIR=\""$(datadir)"\" \
	-DLOCALE_DIR=\""$(localedir)/"\" \
	-DBIN_DIR=\""$(bindir)/"\" \
	-DKA_PLUGINS_DIR=\""$(KA_PLUGINS_DIR)"\" \
	$(AM_CPPFLAGS) \
	$(NULL)

krb5_auth_dialog_CFLAGS = \
	$(GMODULE_CFLAGS) \
	$(GTK_CFLAGS) \
	$(KRB5_CFLAGS) \
	$(NETWORK_MANAGER_CFLAGS) \
	$(LIBNOTIFY_CFLAGS) \
	$(WARN_CFLAGS) \
	$(AM_CFLAGS) \
	$(NULL)

krb5_auth_dialog_LDADD = \
	$(top_builddir)/secmem/libsecmem.a \
	$(NETWORK_MANAGER_LIBS) \
	$(LIBCAP) \
	$(KRB5_LIBS) \
	$(LIBNOTIFY_LIBS) \
	$(GIO_LIBS) \
	$(GMODULE_LIBS) \
	$(GTK_LIBS) \
	$(NULL)

AM_CPPFLAGS = \
	-I $(top_srcdir)/secmem/ \
	$(DISABLE_DEPRECATED) \
	$(NULL)

pkgdatadir = $(datadir)/krb5-auth-dialog
pkgdata_DATA = \
	krb5-auth-dialog.ui \
	$(NULL)

EXTRA_DIST = \
	$(pkgdata_DATA) \
	$(schema_in_files) \
	$(autostart_in_files) \
	$(service_in_files) \
	org.gnome.KrbAuthDialog.gschema.xml \
	krb5-auth-dialog.1.in \
	$(NULL)

CLEANFILES = $(schema_DATA) $(service_DATA)
DISTCLEANFILES = \
	krb5-auth-dialog.desktop \
	$(NULL)

bgstack15