Eanble plugin support.
[lxde/lxappearance.git] / src / Makefile.am
1 NULL=
2
3 AM_CPPFLAGS = \
4         -I$(srcdir) \
5         -DPACKAGE_DATA_DIR=\""$(datadir)/lxappearance"\" \
6         -DPACKAGE_UI_DIR=\""$(datadir)/lxappearance/ui"\" \
7         -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
8         -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
9         $(NULL)
10
11 lxappearance_includedir = $(includedir)/lxappearance
12 lxappearance_include_HEADERS = lxappearance.h
13
14 bin_PROGRAMS = lxappearance
15 lxappearance_SOURCES = \
16         lxappearance.c \
17         lxappearance.h \
18         widget-theme.c \
19         widget-theme.h \
20         color-scheme.c \
21         color-scheme.h \
22         icon-theme.c \
23         icon-theme.h \
24         cursor-theme.c \
25         cursor-theme.h \
26         other.c \
27         other.h \
28         utils.c \
29         utils.h \
30         plugin.c \
31         plugin.h \
32         $(NULL)
33
34 lxappearance_CFLAGS = \
35         $(GTK_CFLAGS) \
36         $(GMODULE_CFLAGS) \
37         -Werror-implicit-function-declaration \
38         $(NULL)
39
40 lxappearance_LDADD = \
41         $(GTK_LIBS) \
42         $(GMODULE_LIBS) \
43         $(INTLLIBS) \
44         $(NULL)
45
46
47 # Little program to optimize size of xml files
48 noinst_PROGRAMS=xml-purge
49 xml_purge_SOURCES=$(top_srcdir)/src/xml-purge.c
50 xml_purge_CFLAGS=$(GTK_CFLAGS)
51 xml_purge_LDADD=$(GTK_LIBS)