Add support for monitors "All" to span panel over all monitors.
[lxde/lxpanel.git] / src / Makefile.am
CommitLineData
a52c2257 1## Process this file with automake to produce Makefile.in
46c7d227 2ABI_VERSION=0:0:0
a52c2257 3
77886b88 4bin_PROGRAMS = lxpanel lxpanelctl
a52c2257 5
788bd0c6 6lxpanel_CFLAGS = \
a52c2257 7 -I$(top_srcdir) \
5e491017 8 -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
0b806437 9 -DPACKAGE_DATA_DIR=\""$(datadir)/lxpanel"\" \
43fedc4f 10 -DPACKAGE_UI_DIR=\""$(datadir)/lxpanel/ui"\" \
e1a386fe 11 -DPACKAGE_BIN_DIR=\""$(bindir)"\" \
a52c2257 12 -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
2ae466ab 13 $(PACKAGE_CFLAGS) \
535ac098 14 $(G_CAST_CHECKS)
a52c2257 15
d609cab0 16BUILTIN_PLUGINS = $(top_builddir)/plugins/libbuiltin_plugins.a
a52c2257 17
ace2a572 18if ENABLE_MENU_CACHE
2e836237 19MENU_SOURCES = menu-policy.c
ace2a572
JH
20endif
21
46c7d227
AG
22pkglib_LTLIBRARIES = liblxpanel.la
23
24liblxpanel_la_CFLAGS = $(lxpanel_CFLAGS)
25liblxpanel_la_SOURCES = \
b31cb1d2 26 misc.c \
9fac586f 27 bg.c \
a52c2257 28 configurator.c \
9fac586f
AG
29 dbg.c \
30 ev.c \
d8c2d721 31 icon-grid.c \
b31cb1d2
AG
32 panel.c \
33 plugin.c \
46c7d227
AG
34 conf.c
35
36liblxpanel_la_LIBADD = \
37 $(PACKAGE_LIBS) \
38 $(X11_LIBS)
a52c2257 39
b31cb1d2
AG
40lxpanel_includedir = $(includedir)/lxpanel
41lxpanel_include_HEADERS = \
42 plugin.h \
43 panel.h \
44 misc.h \
d8c2d721 45 icon-grid.h \
b31cb1d2
AG
46 conf.h
47
46c7d227
AG
48lxpanel_SOURCES = \
49 icon-grid-old.c \
50 gtk-run.c \
51 main.c \
52 $(MENU_SOURCES)
53
31b80004 54if BUILD_PLUGIN_LOADER
c6780e74 55DYNAMIC_FLAGS = -export-dynamic
31b80004
JH
56endif
57lxpanel_LDFLAGS = $(DYNAMIC_FLAGS)
d609cab0 58lxpanel_DEPENDENCIES_EXTRA = $(BUILTIN_PLUGINS)
31b80004 59
7fe27201 60lxpanel_LDADD = \
46c7d227 61 liblxpanel.la \
7fe27201
JH
62 $(BUILTIN_PLUGINS) \
63 $(PACKAGE_LIBS) \
46c7d227 64 $(X11_LIBS)
a52c2257 65
8c44345a 66lxpanelctl_SOURCES = lxpanelctl.c lxpanelctl.h
46c7d227 67lxpanelctl_LDADD = $(X11_LIBS)
77886b88 68
a52c2257 69EXTRA_DIST = \
9fac586f
AG
70 bg.h \
71 dbg.h \
72 ev.h \
2e836237 73 menu-policy.h \
9fac586f
AG
74 icon-grid-old.h \
75 private.h
d609cab0
AG
76
77$(top_builddir)/plugins/libbuiltin_plugins.a: $(lxpanel_include_HEADERS)
78 cd $(top_builddir)/plugins && $(MAKE) libbuiltin_plugins.a