summaryrefslogtreecommitdiff
path: root/settings/splash/Makefile.am
blob: 21cb804b12497ffa8b7bc771fcebed133bc9c085 (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
bin_PROGRAMS = xfce4-splash-settings
	

xfce4_splash_settings_SOURCES =						\
	module.c							\
	module.h							\
	nopreview.h							\
	splash.c

xfce4_splash_settings_CFLAGS =						\
	-I$(top_srcdir)							\
	$(LIBXFCEGUI4_CFLAGS)						\
	$(LIBXFCE4UTIL_CFLAGS)						\
	-DMODULESDIR=\"$(libdir)/xfce4/splash/engines\"			\
	-DLOCALEDIR=\"$(localedir)\"					\
	-DG_LOG_DOMAIN=\"xfce4-splash-settings\"

xfce4_splash_settings_LDADD =						\
	$(top_builddir)/libxfsm/libxfsm-4.2.la \
	$(LIBXFCEGUI4_LIBS)						\
	$(LIBXFCE4UTIL_LIBS)						\
	$(DBUS_LIBS)	

xfce4_splash_settings_DEPENDENCIES =					\
	$(top_builddir)/libxfsm/libxfsm-4.2.la

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

desktopdir = $(datadir)/applications
desktop_in_files = xfce-splash-settings.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)

@INTLTOOL_DESKTOP_RULE@

EXTRA_DIST =								\
	nopreview.h							\
	nopreview.png							\
	$(desktop_in_files)

DISTCLEANFILES =							\
	$(desktop_DATA)