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

mice_LTLIBRARIES = libmice.la

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

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

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

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

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

noinst_PROGRAMS =							\
	generate

generate_SOURCES =							\
	generate.c

generate_CFLAGS =							\
	$(LIBXFCEGUI4_CFLAGS)

generate_LDADD =							\
	$(LIBXFCEGUI4_LIBS)


EXTRA_DIST =								\
	preview.h							\
	preview.png							\
	slide.h								\
	slide.png

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

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