Add new conf.c and conf.h files with config parser.
[lxde/lxpanel.git] / src / Makefile.am
CommitLineData
a52c2257
HJYP
1## Process this file with automake to produce Makefile.in
2
7fe27201 3SUBDIRS = plugins
1141e22a 4
77886b88 5bin_PROGRAMS = lxpanel lxpanelctl
a52c2257 6
788bd0c6 7lxpanel_CFLAGS = \
a52c2257 8 -I$(top_srcdir) \
ceda8126 9 -I$(top_srcdir)/include \
4b93d81e 10 -I$(top_srcdir)/src/plugins \
5e491017 11 -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
a52c2257 12 -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
43fedc4f 13 -DPACKAGE_UI_DIR=\""$(datadir)/lxpanel/ui"\" \
e1a386fe 14 -DPACKAGE_BIN_DIR=\""$(bindir)"\" \
a52c2257 15 -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
2ae466ab 16 $(PACKAGE_CFLAGS) \
535ac098 17 $(G_CAST_CHECKS)
a52c2257 18
7fe27201 19BUILTIN_PLUGINS = $(top_builddir)/src/plugins/libbuiltin_plugins.a
a52c2257 20
ace2a572
JH
21if ENABLE_MENU_CACHE
22MENU_SOURCES = gtk-run.c
23endif
24
a52c2257
HJYP
25lxpanel_SOURCES = \
26 misc.c misc.h \
a52c2257
HJYP
27 bg.c bg.h \
28 configurator.c \
29 dbg.c dbg.h \
30 ev.c ev.h \
31 gtkbar.h gtkbar.c \
2918994e 32 icon-grid.h icon-grid.c \
33 menu-policy.h menu-policy.c \
a52c2257 34 panel.c panel.h \
08ea5341 35 plugin.c plugin.h \
0260eac5 36 conf.c conf.h \
ace2a572 37 $(MENU_SOURCES)
a52c2257 38
31b80004 39if BUILD_PLUGIN_LOADER
c6780e74 40DYNAMIC_FLAGS = -export-dynamic
f5c43b11 41lxpanel_includedir = $(includedir)/lxpanel
ceda8126 42lxpanel_include_HEADERS = $(top_srcdir)/include/lxpanel/plugin.h
31b80004
JH
43endif
44lxpanel_LDFLAGS = $(DYNAMIC_FLAGS)
45
7fe27201
JH
46lxpanel_LDADD = \
47 $(BUILTIN_PLUGINS) \
48 $(PACKAGE_LIBS) \
1ba232d2 49 $(X11_LIBS) \
7fe27201 50 $(INTLLIBS)
a52c2257 51
8c44345a 52lxpanelctl_SOURCES = lxpanelctl.c lxpanelctl.h
9bf13ef5 53lxpanelctl_LDADD = $(X11_LIBS) $(INTLLIBS)
77886b88 54
f1286efa
HJYP
55noinst_PROGRAMS=xml-purge
56xml_purge_SOURCES=xml-purge.c
57xml_purge_CFLAGS=@PACKAGE_CFLAGS@
58xml_purge_LDADD=@PACKAGE_LIBS@
59
60
a52c2257
HJYP
61EXTRA_DIST = \
62 plugins/icon.xpm