From 08a6da05412961ddf629415a92749b02d875fa62 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Mon, 4 Oct 2021 17:25:48 -0700 Subject: feat(wm): layer shell --- sys/cmd/wm/rules.mk | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'sys/cmd/wm/rules.mk') diff --git a/sys/cmd/wm/rules.mk b/sys/cmd/wm/rules.mk index e50257f..bf9aabc 100644 --- a/sys/cmd/wm/rules.mk +++ b/sys/cmd/wm/rules.mk @@ -4,10 +4,11 @@ include share/push.mk # Local sources SRCS_$(d) := \ $(d)/xdg-shell-protocol.c \ + $(d)/wlr-layer-shell-unstable-v1-protocol.c \ $(d)/util.c \ - $(d)/arg.c \ $(d)/input.c \ $(d)/render.c \ + $(d)/layer.c \ $(d)/xdg.c \ $(d)/client.c \ $(d)/monitor.c \ @@ -20,14 +21,26 @@ include share/paths.mk include share/dynamic.mk $(d)/xdg-shell-protocol.h: - @echo "MK xdg-shell-protocol.h";\ + @echo "MK $(notdir $@)";\ $(WL_SCAN) server-header $(WL_PROTO)/stable/xdg-shell/xdg-shell.xml $@ $(d)/xdg-shell-protocol.c: $(d)/xdg-shell-protocol.h - @echo "MK xdg-shell-protocol.c";\ + @echo "MK $(notdir $@)";\ $(WL_SCAN) private-code $(WL_PROTO)/stable/xdg-shell/xdg-shell.xml $@ -GENS += $(d)/xdg-shell-protocol.h $(d)/xdg-shell-protocol.c +$(d)/wlr-layer-shell-unstable-v1-protocol.h: + @echo "MK $(notdir $@)";\ + $(WL_SCAN) server-header $(dir $@)protocol/wlr-layer-shell-unstable-v1.xml $@ + +$(d)/wlr-layer-shell-unstable-v1-protocol.c: $(d)/wlr-layer-shell-unstable-v1-protocol.h + @echo "MK $(notdir $@)";\ + $(WL_SCAN) private-code $(dir $@)protocol/wlr-layer-shell-unstable-v1.xml $@ + +GENS += \ +$(d)/xdg-shell-protocol.h \ +$(d)/xdg-shell-protocol.c \ +$(d)/wlr-layer-shell-unstable-v1-protocol.h \ +$(d)/wlr-layer-shell-unstable-v1-protocol.c $(BINS_$(d)): TCINCS = \ -I sys/cmd/wm -- cgit v1.2.1