aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: a0db9ec8a5443125ffcc6b754530c131ebf0dbff (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
INCLUDES = \
	-DKA_DATA_DIR=\""$(pkgdatadir)"\" \
	-DLOCALE_DIR=\""$(localedir)/"\"

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@

schemadir = $(sysconfdir)/gconf/schemas
schema_in_files = $(PACKAGE).schemas.in
schema_DATA = $(PACKAGE).schemas

%.schemas: $(srcdir)/%.schemas.in
	sed -e "s,::PACKAGE::,$(PACKAGE)," < $< > $@

krb5_auth_dialog_SOURCES =	\
	krb5-auth-dialog.c      \
	krb5-auth-dialog.h      \
	krb5-auth-applet.c	\
	krb5-auth-applet.h	\
	krb5-auth-pwdialog.c    \
	krb5-auth-pwdialog.h    \
	krb5-auth-gconf.c	\
	krb5-auth-gconf.h	\
	krb5-auth-dbus.c	\
	krb5-auth-dbus.h	\
	dummy-strings.c

krb5_auth_dialog_LDADD = \
			../gtksecentry/libgtksecentry.a \
			../secmem/libsecmem.a \
			@NETWORK_MANAGER_LIBS@ \
			@KRB5_LIBS@ \
			@LIBNOTIFY_LIBS@ \
			@DBUS_LIBS@ \
			@GCONF_LIBS@ \
			@GLADE_LIBS@ \
			@GTK_LIBS@

BUILT_SOURCES = \
	krb5-auth-applet-dbus-glue.h

krb5-auth-applet-dbus-glue.h: $(srcdir)/krb5-auth-applet-dbus.xml
	dbus-binding-tool                 \
		--mode=glib-server        \
		--prefix=krb5_auth_dialog \
		$< > $@

AM_CPPFLAGS = -I $(top_srcdir)/gtksecentry/ -I $(top_srcdir)/secmem/

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

EXTRA_DIST =		\
	$(pkgdata_DATA)   \
	$(schema_in_files) \
	$(autostart_in_files) \
	krb5-auth-dialog.1.in

CLEANFILES = $(schema_DATA)
DISTCLEANFILES = \
	krb5-auth-dialog.desktop 	\
	krb5-auth-applet-dbus-glue.h
bgstack15