Add pager2 plugins, compatible with compiz (apply patch from ID 2802191)
[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"\" \
ace2a572 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 \
ace2a572 36 $(MENU_SOURCES)
a52c2257 37
31b80004 38if BUILD_PLUGIN_LOADER
c6780e74 39DYNAMIC_FLAGS = -export-dynamic
f5c43b11 40lxpanel_includedir = $(includedir)/lxpanel
ceda8126 41lxpanel_include_HEADERS = $(top_srcdir)/include/lxpanel/plugin.h
31b80004
JH
42endif
43lxpanel_LDFLAGS = $(DYNAMIC_FLAGS)
44
7fe27201
JH
45lxpanel_LDADD = \
46 $(BUILTIN_PLUGINS) \
47 $(PACKAGE_LIBS) \
1ba232d2 48 $(X11_LIBS) \
7fe27201 49 $(INTLLIBS)
a52c2257 50
8c44345a 51lxpanelctl_SOURCES = lxpanelctl.c lxpanelctl.h
9bf13ef5 52lxpanelctl_LDADD = $(X11_LIBS) $(INTLLIBS)
77886b88 53
f1286efa
HJYP
54noinst_PROGRAMS=xml-purge
55xml_purge_SOURCES=xml-purge.c
56xml_purge_CFLAGS=@PACKAGE_CFLAGS@
57xml_purge_LDADD=@PACKAGE_LIBS@
58
59
a52c2257
HJYP
60EXTRA_DIST = \
61 plugins/icon.xpm