export headers and pkg-config for plugin development.
[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 \
47 plugin.h
31b80004
JH
48endif
49lxpanel_LDFLAGS = $(DYNAMIC_FLAGS)
50
7fe27201
JH
51lxpanel_LDADD = \
52 $(BUILTIN_PLUGINS) \
53 $(PACKAGE_LIBS) \
54 $(INTLLIBS)
a52c2257 55
8c44345a 56lxpanelctl_SOURCES = lxpanelctl.c lxpanelctl.h
77886b88
HJYP
57lxpanelctl_LDADD = -lX11 $(INTLLIBS)
58
f1286efa
HJYP
59noinst_PROGRAMS=xml-purge
60xml_purge_SOURCES=xml-purge.c
61xml_purge_CFLAGS=@PACKAGE_CFLAGS@
62xml_purge_LDADD=@PACKAGE_LIBS@
63
64
a52c2257
HJYP
65EXTRA_DIST = \
66 plugins/icon.xpm