Automatic translation update from Pootle
[lxde/lxpanel.git] / src / Makefile.am
CommitLineData
a52c2257
HJYP
1## Process this file with automake to produce Makefile.in
2
77886b88 3bin_PROGRAMS = lxpanel lxpanelctl
a52c2257 4
1fd5e897 5lxpanel_CPPFLAGS = \
a52c2257 6 -I$(top_srcdir) \
5e491017 7 -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
0b806437 8 -DPACKAGE_DATA_DIR=\""$(datadir)/lxpanel"\" \
43fedc4f 9 -DPACKAGE_UI_DIR=\""$(datadir)/lxpanel/ui"\" \
e1a386fe 10 -DPACKAGE_BIN_DIR=\""$(bindir)"\" \
a52c2257 11 -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
2ae466ab 12 $(PACKAGE_CFLAGS) \
8e846d71 13 $(KEYBINDER_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
8e846d71 24liblxpanel_la_CPPFLAGS = $(lxpanel_CPPFLAGS)
46c7d227 25liblxpanel_la_SOURCES = \
b31cb1d2 26 misc.c \
a52c2257 27 configurator.c \
9fac586f
AG
28 dbg.c \
29 ev.c \
d8c2d721 30 icon-grid.c \
b31cb1d2 31 panel.c \
5782c9b5 32 panel-plugin-move.c \
b31cb1d2 33 plugin.c \
8a4622e5 34 conf.c \
8f5c6fe1 35 space.c \
8a4622e5 36 input-button.c
46c7d227 37
29657982
AG
38liblxpanel_la_LDFLAGS = \
39 -no-undefined \
40 -version-info 0:0:0
41
46c7d227
AG
42liblxpanel_la_LIBADD = \
43 $(PACKAGE_LIBS) \
f7a4447c 44 $(KEYBINDER_LIBS) \
46c7d227 45 $(X11_LIBS)
a52c2257 46
b31cb1d2
AG
47lxpanel_includedir = $(includedir)/lxpanel
48lxpanel_include_HEADERS = \
49 plugin.h \
50 panel.h \
51 misc.h \
d8c2d721 52 icon-grid.h \
b31cb1d2
AG
53 conf.h
54
46c7d227
AG
55lxpanel_SOURCES = \
56 icon-grid-old.c \
0234f3a2 57 bg.c \
46c7d227
AG
58 gtk-run.c \
59 main.c \
60 $(MENU_SOURCES)
61
31b80004 62if BUILD_PLUGIN_LOADER
c6780e74 63DYNAMIC_FLAGS = -export-dynamic
31b80004
JH
64endif
65lxpanel_LDFLAGS = $(DYNAMIC_FLAGS)
66
7fe27201 67lxpanel_LDADD = \
46c7d227 68 liblxpanel.la \
7fe27201
JH
69 $(BUILTIN_PLUGINS) \
70 $(PACKAGE_LIBS) \
8e846d71 71 $(KEYBINDER_LIBS) \
46c7d227 72 $(X11_LIBS)
a52c2257 73
8c44345a 74lxpanelctl_SOURCES = lxpanelctl.c lxpanelctl.h
46c7d227 75lxpanelctl_LDADD = $(X11_LIBS)
77886b88 76
a52c2257 77EXTRA_DIST = \
0234f3a2 78 bg.h \
9fac586f
AG
79 dbg.h \
80 ev.h \
2e836237 81 menu-policy.h \
9fac586f 82 icon-grid-old.h \
8a4622e5 83 gtk-compat.h \
9b3bb66c 84 space.h \
9fac586f 85 private.h
d609cab0 86
36ba266d
AG
87$(top_builddir)/plugins/libbuiltin_plugins.a: $(lxpanel_include_HEADERS) builtin-plugins-hook
88
89# re-check local modules so it is refreshed for lxpanel binary
90builtin-plugins-hook:
91 @cd $(top_builddir)/plugins && $(MAKE) libbuiltin_plugins.a
7cd84180
AG
92
93.PHONY: builtin-plugins-hook