summaryrefslogtreecommitdiff
path: root/src/modules/Makefile_systray.mk
blob: 02b4c921fca59ecbc6e4f7d510dc4957516b4493 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
EXTRA_DIST += src/modules/systray/module.desktop.in \
src/modules/systray/e-module-systray.edj
if USE_MODULE_SYSTRAY
systraydir = $(MDIR)/systray
systray_DATA = src/modules/systray/e-module-systray.edj \
	       src/modules/systray/module.desktop


systraypkgdir = $(MDIR)/systray/$(MODULE_ARCH)
systraypkg_LTLIBRARIES = src/modules/systray/module.la

src_modules_systray_module_la_LIBADD = $(MOD_LIBS)
src_modules_systray_module_la_CPPFLAGS = $(MOD_CPPFLAGS) -DNEED_X=1
src_modules_systray_module_la_LDFLAGS = $(MOD_LDFLAGS)
src_modules_systray_module_la_SOURCES = src/modules/systray/e_mod_main.h \
			    src/modules/systray/e_mod_main.c \
			    src/modules/systray/e_mod_notifier_host_private.h \
			    src/modules/systray/e_mod_notifier_host.c \
			    src/modules/systray/e_mod_notifier_host_dbus.c \
			    src/modules/systray/e_mod_notifier_watcher.c

if ! HAVE_WAYLAND_ONLY
src_modules_systray_module_la_SOURCES += src/modules/systray/e_mod_xembed.c
endif

PHONIES += systray install-systray
systray: $(systraypkg_LTLIBRARIES) $(systray_DATA)
install-systray: install-systrayDATA install-systraypkgLTLIBRARIES
endif