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