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