Little fix
[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) \
4b93d81e 9 -I$(top_srcdir)/src/plugins \
5e491017 10 -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
a52c2257 11 -DPACKAGE_DATA_DIR=\""$(datadir)"\" \
e1a386fe 12 -DPACKAGE_BIN_DIR=\""$(bindir)"\" \
a52c2257 13 -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
535ac098
JH
14 $(PACKAGE_CFLAGS) \
15 $(G_CAST_CHECKS)
a52c2257 16
7fe27201 17BUILTIN_PLUGINS = $(top_builddir)/src/plugins/libbuiltin_plugins.a
a52c2257
HJYP
18
19TRAY_SOURCES= \
20 systray/eggmarshalers.c systray/eggmarshalers.h \
21 systray/eggtraymanager.c systray/eggtraymanager.h \
c6780e74 22 systray/fixedtip.c systray/fixedtip.h \
a52c2257
HJYP
23 systray/tray.c
24
25lxpanel_SOURCES = \
1dac04fb 26 glib-mem.h \
a52c2257 27 misc.c misc.h \
a52c2257
HJYP
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 \
a52c2257 34 panel.c panel.h \
08ea5341
HJYP
35 plugin.c plugin.h \
36 gtk-run.c
a52c2257 37
31b80004 38if BUILD_PLUGIN_LOADER
c6780e74 39DYNAMIC_FLAGS = -export-dynamic
f5c43b11
FC
40lxpanel_includedir = $(includedir)/lxpanel
41lxpanel_include_HEADERS = \
42 bg.h \
43 dbg.h \
44 ev.h \
45 misc.h \
46 panel.h \
a0e01718 47 glib-mem.h \
f5c43b11 48 plugin.h
31b80004
JH
49endif
50lxpanel_LDFLAGS = $(DYNAMIC_FLAGS)
51
7fe27201
JH
52lxpanel_LDADD = \
53 $(BUILTIN_PLUGINS) \
54 $(PACKAGE_LIBS) \
55 $(INTLLIBS)
a52c2257 56
8c44345a 57lxpanelctl_SOURCES = lxpanelctl.c lxpanelctl.h
77886b88
HJYP
58lxpanelctl_LDADD = -lX11 $(INTLLIBS)
59
f1286efa
HJYP
60noinst_PROGRAMS=xml-purge
61xml_purge_SOURCES=xml-purge.c
62xml_purge_CFLAGS=@PACKAGE_CFLAGS@
63xml_purge_LDADD=@PACKAGE_LIBS@
64
65
a52c2257
HJYP
66EXTRA_DIST = \
67 plugins/icon.xpm