Improve default config.
[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
HJYP
6
7INCLUDES = \
8 -I$(top_srcdir) \
9 -I$(top_srcdir)/plugins \
5e491017 10 -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
a52c2257
HJYP
11 -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
12 -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
13 $(PACKAGE_CFLAGS)
14
7fe27201 15BUILTIN_PLUGINS = $(top_builddir)/src/plugins/libbuiltin_plugins.a
a52c2257
HJYP
16
17TRAY_SOURCES= \
18 systray/eggmarshalers.c systray/eggmarshalers.h \
19 systray/eggtraymanager.c systray/eggtraymanager.h \
c6780e74 20 systray/fixedtip.c systray/fixedtip.h \
a52c2257
HJYP
21 systray/tray.c
22
23lxpanel_SOURCES = \
24 misc.c misc.h \
a52c2257
HJYP
25 $(TRAY_SOURCES) \
26 bg.c bg.h \
27 configurator.c \
28 dbg.c dbg.h \
29 ev.c ev.h \
30 gtkbar.h gtkbar.c \
31 gtkbgbox.h gtkbgbox.c \
32 panel.c panel.h \
08ea5341
HJYP
33 plugin.c plugin.h \
34 gtk-run.c
a52c2257 35
31b80004 36if BUILD_PLUGIN_LOADER
c6780e74 37DYNAMIC_FLAGS = -export-dynamic
31b80004
JH
38endif
39lxpanel_LDFLAGS = $(DYNAMIC_FLAGS)
40
7fe27201
JH
41lxpanel_LDADD = \
42 $(BUILTIN_PLUGINS) \
43 $(PACKAGE_LIBS) \
44 $(INTLLIBS)
a52c2257 45
8c44345a 46lxpanelctl_SOURCES = lxpanelctl.c lxpanelctl.h
77886b88
HJYP
47lxpanelctl_LDADD = -lX11 $(INTLLIBS)
48
a52c2257
HJYP
49EXTRA_DIST = \
50 plugins/icon.xpm