Commit from LXDE Pootle server by user dforsi.: 1162 of 1256 strings translated ...
[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 6
788bd0c6 7lxpanel_CFLAGS = \
a52c2257 8 -I$(top_srcdir) \
ceda8126 9 -I$(top_srcdir)/include \
4b93d81e 10 -I$(top_srcdir)/src/plugins \
5e491017 11 -DPACKAGE_LIB_DIR=\""$(libdir)"\" \
0b806437 12 -DPACKAGE_DATA_DIR=\""$(datadir)/lxpanel"\" \
1f4bc3aa 13 -DPACKAGE_SYSCONF_DIR=\""$(sysconfdir)/xdg/lxpanel"\" \
43fedc4f 14 -DPACKAGE_UI_DIR=\""$(datadir)/lxpanel/ui"\" \
e1a386fe 15 -DPACKAGE_BIN_DIR=\""$(bindir)"\" \
a52c2257 16 -DPACKAGE_LOCALE_DIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
2ae466ab 17 $(PACKAGE_CFLAGS) \
535ac098 18 $(G_CAST_CHECKS)
a52c2257 19
7fe27201 20BUILTIN_PLUGINS = $(top_builddir)/src/plugins/libbuiltin_plugins.a
a52c2257 21
ace2a572 22if ENABLE_MENU_CACHE
688d30f0 23MENU_SOURCES = gtk-run.c menu-policy.h menu-policy.c
ace2a572
JH
24endif
25
a52c2257 26lxpanel_SOURCES = \
b31cb1d2 27 misc.c \
a52c2257
HJYP
28 bg.c bg.h \
29 configurator.c \
30 dbg.c dbg.h \
31 ev.c ev.h \
d8c2d721 32 icon-grid.c \
b31cb1d2
AG
33 panel.c \
34 plugin.c \
35 private.h \
36 conf.c \
ace2a572 37 $(MENU_SOURCES)
a52c2257 38
b31cb1d2
AG
39lxpanel_includedir = $(includedir)/lxpanel
40lxpanel_include_HEADERS = \
41 plugin.h \
42 panel.h \
43 misc.h \
d8c2d721 44 icon-grid.h \
b31cb1d2
AG
45 conf.h
46
31b80004 47if BUILD_PLUGIN_LOADER
c6780e74 48DYNAMIC_FLAGS = -export-dynamic
31b80004
JH
49endif
50lxpanel_LDFLAGS = $(DYNAMIC_FLAGS)
51
7fe27201
JH
52lxpanel_LDADD = \
53 $(BUILTIN_PLUGINS) \
54 $(PACKAGE_LIBS) \
1ba232d2 55 $(X11_LIBS) \
7fe27201 56 $(INTLLIBS)
a52c2257 57
8c44345a 58lxpanelctl_SOURCES = lxpanelctl.c lxpanelctl.h
9bf13ef5 59lxpanelctl_LDADD = $(X11_LIBS) $(INTLLIBS)
77886b88 60
a52c2257
HJYP
61EXTRA_DIST = \
62 plugins/icon.xpm