summaryrefslogtreecommitdiff
path: root/engines/mice/Makefile.am
blob: 8d5db2abae2c460c695ca41acc05c16670a3ee49 (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
micedir = $(libdir)/xfce4/session/splash-engines

mice_LTLIBRARIES = libmice.la

libmice_la_SOURCES =							\
	preview.h							\
	slide.h								\
	mice.c

libmice_la_CFLAGS =							\
	-I$(top_srcdir)							\
	$(LIBXFCE4UI_CFLAGS)						\
	$(XFCONF_CFLAGS)

libmice_la_LDFLAGS =							\
	-avoid-version							\
	-no-undefined							\
	-module

libmice_la_LIBADD =							\
	$(top_builddir)/libxfsm/libxfsm-4.6.la				\
	$(LIBXFCE4UI_LIBS)						\
	$(XFCONF_LIBS)

libmice_la_DEPENDENCIES =						\
	$(top_builddir)/libxfsm/libxfsm-4.6.la

noinst_PROGRAMS =							\
	generate

generate_SOURCES =							\
	generate.c

generate_CFLAGS =							\
	$(LIBXFCE4UI_CFLAGS)

generate_LDADD =							\
	$(LIBXFCE4UI_LIBS)

if MAINTAINER_MODE

BUILT_SOURCES =								\
	slide.h								\
	preview.h

preview.h: $(srcdir)/preview.png
	$(AM_V_GEN) gdk-pixbuf-csource --static --stream --name=preview $< > $@

slide.h: $(srcdir)/slide.png
	$(AM_V_GEN) gdk-pixbuf-csource --static --stream --name=slide $< > $@

DISTCLEANFILES =							\
	$(BUILT_SOURCES)

endif

EXTRA_DIST =								\
	preview.png							\
	slide.png