Merging upstream version 0.5.1.
[debian/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         font.c \
27         font.h \
28         other.c \
29         other.h \
30         utils.c \
31         utils.h \
32         plugin.c \
33         plugin.h \
34         $(NULL)
35
36 lxappearance_CFLAGS = \
37         $(GTK_CFLAGS) \
38         $(XLIB_CFLAGS) \
39         $(GMODULE_CFLAGS) \
40         $(ADDITIONAL_FLAGS) \
41         -Werror-implicit-function-declaration \
42         $(NULL)
43
44 lxappearance_LDADD = \
45         $(GTK_LIBS) \
46         $(XLIB_LIBS) \
47         $(GMODULE_LIBS) \
48         $(INTLLIBS) \
49         $(NULL)
50
51
52 # Little program to optimize size of xml files
53 noinst_PROGRAMS=xml-purge
54 xml_purge_SOURCES=$(top_srcdir)/src/xml-purge.c
55 xml_purge_CFLAGS=$(GTK_CFLAGS)
56 xml_purge_LDADD=$(GTK_LIBS)