Merging upstream version 0.5.1.
[debian/lxappearance.git] / src / Makefile.am
CommitLineData
c93a68c7 1NULL=
08024023 2
1469f737
DB
3AM_CPPFLAGS = \
4 -I$(srcdir) \
5 -DPACKAGE_DATA_DIR=\""$(datadir)/lxappearance"\" \
6 -DPACKAGE_UI_DIR=\""$(datadir)/lxappearance/ui"\" \
7 -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
08024023 8 -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
c93a68c7 9 $(NULL)
08024023 10
1469f737
DB
11lxappearance_includedir = $(includedir)/lxappearance
12lxappearance_include_HEADERS = lxappearance.h
08024023 13
1469f737 14bin_PROGRAMS = lxappearance
08024023 15lxappearance_SOURCES = \
1469f737
DB
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 \
e7f9874d
DB
26 font.c \
27 font.h \
1469f737
DB
28 other.c \
29 other.h \
30 utils.c \
31 utils.h \
32 plugin.c \
33 plugin.h \
c93a68c7 34 $(NULL)
08024023 35
c93a68c7 36lxappearance_CFLAGS = \
1469f737
DB
37 $(GTK_CFLAGS) \
38 $(XLIB_CFLAGS) \
39 $(GMODULE_CFLAGS) \
e7f9874d 40 $(ADDITIONAL_FLAGS) \
c93a68c7
DB
41 -Werror-implicit-function-declaration \
42 $(NULL)
08024023 43
1469f737
DB
44lxappearance_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
53noinst_PROGRAMS=xml-purge
54xml_purge_SOURCES=$(top_srcdir)/src/xml-purge.c
55xml_purge_CFLAGS=$(GTK_CFLAGS)
56xml_purge_LDADD=$(GTK_LIBS)