fbdd7b9fa62c9fb015d14a09de5a2b2e34474ab7
[lxde/lxpanel.git] / src / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 SUBDIRS = plugins
4
5 bin_PROGRAMS = lxpanel lxpanelctl
6
7 INCLUDES = \
8         -I$(top_srcdir) \
9         -I$(top_srcdir)/plugins \
10         -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
11         -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
12         -DPACKAGE_BIN_DIR=\""$(bindir)"\" \
13         -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
14         $(PACKAGE_CFLAGS) \
15         $(G_CAST_CHECKS)
16
17 BUILTIN_PLUGINS = $(top_builddir)/src/plugins/libbuiltin_plugins.a
18
19 TRAY_SOURCES= \
20         systray/eggmarshalers.c systray/eggmarshalers.h \
21         systray/eggtraymanager.c systray/eggtraymanager.h \
22         systray/fixedtip.c systray/fixedtip.h \
23         systray/tray.c
24
25 lxpanel_SOURCES = \
26         glib-mem.h \
27         misc.c misc.h \
28         $(TRAY_SOURCES) \
29         bg.c bg.h  \
30         configurator.c \
31         dbg.c dbg.h \
32         ev.c ev.h \
33         gtkbar.h gtkbar.c \
34         panel.c panel.h \
35         plugin.c plugin.h \
36         gtk-run.c
37
38 if BUILD_PLUGIN_LOADER
39 DYNAMIC_FLAGS = -export-dynamic
40 endif
41 lxpanel_LDFLAGS = $(DYNAMIC_FLAGS)
42
43 lxpanel_LDADD = \
44                 $(BUILTIN_PLUGINS) \
45                 $(PACKAGE_LIBS) \
46                 $(INTLLIBS)
47
48 lxpanelctl_SOURCES = lxpanelctl.c lxpanelctl.h
49 lxpanelctl_LDADD = -lX11 $(INTLLIBS)
50
51 EXTRA_DIST = \
52         plugins/icon.xpm