Allow build without libmenu-cache.
[lxde/lxpanel.git] / src / plugins / Makefile.am
CommitLineData
7fe27201
JH
1## Process this file with automake to produce Makefile.in
2
24053345
HJYP
3DIST_SUBDIRS=$(ALL_PLUGINS_LIST)
4
31b80004
JH
5if BUILD_PLUGIN_LOADER
6DYNAMIC_PLUGINS = \
199c3ea8 7 $(PLUGINS_LIST)
31b80004
JH
8endif
9
10SUBDIRS = $(DYNAMIC_PLUGINS)
7fe27201
JH
11
12noinst_LIBRARIES = libbuiltin_plugins.a
13
14INCLUDES = \
15 -I$(top_srcdir) \
16 -I$(top_srcdir)/src \
17 -I$(top_srcdir)/src/plugins \
18 -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
19 -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
535ac098
JH
20 $(PACKAGE_CFLAGS) \
21 $(G_CAST_CHECKS)
7fe27201 22
ace2a572
JH
23if ENABLE_MENU_CACHE
24MENU_SOURCES = \
25 menu.c
26endif
27
28PLUGINS_SOURCES = \
7fe27201 29 launchbar.c \
7fe27201
JH
30 taskbar.c \
31 dclock.c \
ace2a572 32 $(MENU_SOURCES) \
7fe27201 33 separator.c \
7fe27201
JH
34 pager.c \
35 space.c \
f9dfb60b
HJYP
36 wincmd.c \
37 dirmenu.c
7fe27201
JH
38
39libbuiltin_plugins_a_SOURCES = \
40 $(PLUGINS_SOURCES)
41
42libbuiltin_plugins_a_LIBADD =
43
44EXTRA_DIST = \
45 icon.xpm
535745ea
HJYP
46
47install-exec-hook:
239cb032
HJYP
48 rm -f $(DESTDIR)$(libdir)/lxpanel/plugins/*.la
49 rm -f $(DESTDIR)$(libdir)/lxpanel/plugins/*.a
50 rm -f $(DESTDIR)$(libdir)/lxpanel/plugins/*.