Enabling multithreaded compilation.
[debian/lxpanel.git] / src / plugins / Makefile.am
CommitLineData
6cc5e1a6
DB
1## Process this file with automake to produce Makefile.in
2
3DIST_SUBDIRS=$(ALL_PLUGINS_LIST)
4
5if BUILD_PLUGIN_LOADER
6DYNAMIC_PLUGINS = \
7 $(PLUGINS_LIST)
8endif
9
10SUBDIRS = $(DYNAMIC_PLUGINS)
11
12noinst_LIBRARIES = libbuiltin_plugins.a
13
ca14ea2b 14libbuiltin_plugins_a_CFLAGS = \
6cc5e1a6 15 -I$(top_srcdir) \
10862fa6 16 -I$(top_srcdir)/include \
6cc5e1a6
DB
17 -I$(top_srcdir)/src \
18 -I$(top_srcdir)/src/plugins \
19 -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
1ea75322 20 -DPACKAGE_UI_DIR=\""$(datadir)/lxpanel/ui"\" \
6cc5e1a6
DB
21 -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
22 $(PACKAGE_CFLAGS) \
23 $(G_CAST_CHECKS)
24
10862fa6
DB
25if ENABLE_MENU_CACHE
26MENU_SOURCES = \
27 menu.c
28endif
29
30PLUGINS_SOURCES = \
6cc5e1a6 31 dclock.c \
f8c25730
DB
32 dirmenu.c \
33 image.c \
34 launchbar.c \
6cc5e1a6 35 pager.c \
f8c25730 36 separator.c \
6cc5e1a6 37 space.c \
f8c25730
DB
38 taskbar.c \
39 tray.c \
6cc5e1a6 40 wincmd.c \
f8c25730 41 $(MENU_SOURCES)
6cc5e1a6
DB
42
43libbuiltin_plugins_a_SOURCES = \
44 $(PLUGINS_SOURCES)
45
46libbuiltin_plugins_a_LIBADD =
47
48EXTRA_DIST = \
49 icon.xpm
50
51install-exec-hook:
52 rm -f $(DESTDIR)$(libdir)/lxpanel/plugins/*.la
53 rm -f $(DESTDIR)$(libdir)/lxpanel/plugins/*.a
54 rm -f $(DESTDIR)$(libdir)/lxpanel/plugins/*.