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