summaryrefslogtreecommitdiff
path: root/xfce4-session/Makefile.am
blob: 1b7fd97ec9399d401f4cd9cdd97317f9b18c40b1 (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
# common library
noinst_LTLIBRARIES = libxfsm.la

libxfsm_la_SOURCES =							\
	xfsm-splash-rc.c						\
	xfsm-splash-rc.h						\
	xfsm-util.h							\
	xfsm-util.c

libxfsm_la_CFLAGS =							\
	@LIBX11_CFLAGS@							\
	@LIBXFCEGUI4_CFLAGS@
	

man_MANS = xfce4-session.1


bin_PROGRAMS = xfce4-session

xfce4_session_SOURCES =							\
	chooser-icon.h							\
	ice-layer.c							\
	ice-layer.h							\
	main.c								\
	shutdown.c							\
	shutdown.h							\
	sm-layer.c							\
	sm-layer.h							\
	xfsm-chooser.c							\
	xfsm-chooser.h							\
	xfsm-client.c							\
	xfsm-client.h							\
	xfsm-compat-gnome.c						\
	xfsm-compat-gnome.h						\
	xfsm-compat-kde.c						\
	xfsm-compat-kde.h						\
	xfsm-dns.c							\
	xfsm-dns.h							\
	xfsm-fadeout.c							\
	xfsm-fadeout.h							\
	xfsm-global.c							\
	xfsm-global.h							\
	xfsm-legacy.c							\
	xfsm-legacy.h							\
	xfsm-manager.c							\
	xfsm-manager.h							\
	xfsm-properties.c						\
	xfsm-properties.h						\
	xfsm-shutdown-helper.c						\
	xfsm-shutdown-helper.h						\
	xfsm-splash-engine.h						\
	xfsm-splash-screen.c						\
	xfsm-splash-screen.h						\
	xfsm-startup.c							\
	xfsm-startup.h

xfce4_session_CFLAGS =							\
	@GNOME_CFLAGS@							\
	@LIBSM_CFLAGS@							\
	@LIBX11_CFLAGS@							\
	@LIBXFCE4MCS_CLIENT_CFLAGS@					\
	@LIBXFCEGUI4_CFLAGS@						\
	-DLIBDIR=\"$(libdir)\"						\
	-DPACKAGE_LOCALE_DIR=\"$(localedir)\"				\
	-DXFSM_SHUTDOWN_HELPER=\"$(libexecdir)/xfsm-shutdown-helper\"

xfce4_session_LDADD =							\
	@GNOME_LIBS@							\
	@LIBSM_LDFLAGS@							\
	@LIBSM_LIBS@							\
	@LIBX11_LDFLAGS@						\
	@LIBX11_LIBS@							\
	@LIBXFCE4MCS_CLIENT_LIBS@					\
	@LIBXFCEGUI4_LIBS@						\
	libxfsm.la

xfce4_session_DEPENDENCIES =						\
	libxfsm.la


xfce4_sessionincludedir =						\
	$(includedir)/xfce4/xfce4-session

xfce4_sessioninclude_HEADERS = 						\
	xfsm-splash-engine.h						\
	xfsm-splash-rc.h

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = xfce4-session-1.0.pc

chooser-icon.h: $(srcdir)/chooser-icon.png
	gdk-pixbuf-csource --struct --name=chooser_icon_data		\
		$(srcdir)/chooser-icon.png > chooser-icon.h

EXTRA_DIST =								\
	$(man_MANS)							\
	chooser-icon.png						\
	xfsm-shutdown-helper-none.c					\
	xfsm-shutdown-helper-redhat.c					\
	xfsm-shutdown-helper-sudo.c