summaryrefslogtreecommitdiff
path: root/applets/wncklet/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'applets/wncklet/Makefile.am')
-rw-r--r--applets/wncklet/Makefile.am17
1 files changed, 9 insertions, 8 deletions
diff --git a/applets/wncklet/Makefile.am b/applets/wncklet/Makefile.am
index 8919ec68..38dfaca5 100644
--- a/applets/wncklet/Makefile.am
+++ b/applets/wncklet/Makefile.am
@@ -23,22 +23,23 @@ WNCKLET_SOURCES = \
showdesktop.h \
$(BUILT_SOURCES)
+WNCKLET_LDADD = \
+ ../../libmate-panel-applet/libmate-panel-applet-4.la \
+ $(WNCKLET_LIBS) \
+ $(LIBMATE_PANEL_APPLET_LIBS)
+
if ENABLE_WAYLAND
WNCKLET_SOURCES += \
wayland-backend.c \
wayland-backend.h \
wayland-protocol/wlr-foreign-toplevel-management-unstable-v1-code.c \
wayland-protocol/wlr-foreign-toplevel-management-unstable-v1-client.h
-endif
-WNCKLET_LDADD = \
- ../../libmate-panel-applet/libmate-panel-applet-4.la \
- $(WNCKLET_LIBS) \
- $(LIBMATE_PANEL_APPLET_LIBS)
-
-if ENABLE_WAYLAND
WNCKLET_LDADD += \
- -lwayland-client
+ $(WAYLAND_LIBS)
+
+AM_CPPFLAGS += \
+ $(WAYLAND_CFLAGS)
endif
if WNCKLET_INPROCESS