summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNathan Reiner <nathan@nathanreiner.xyz>2023-04-22 00:31:50 +0200
committerNathan Reiner <nathan@nathanreiner.xyz>2023-04-22 00:31:50 +0200
commitfe21a175760856b64fa11083d7bc98e00db659a2 (patch)
treeee40037b8cbb6bdf999ab8100ac3c516185ed345 /Makefile
parentcb839522902d3db508c34703a385baabfdd9baa5 (diff)
use ext-session-lock protocol
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 5 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 6d998b3..261f886 100644
--- a/Makefile
+++ b/Makefile
@@ -1,23 +1,17 @@
include config.mk
-PROTOCOLS = wlr-layer-shell-protocol.c xdg-shell-protocol.c
+PROTOCOLS = ext-session-lock-protocol.c
SRC = wlock.c util.c drw.c wayland.c
OBJ = ${SRC:.c=.o} ${PROTOCOLS:.c=.o}
-WLR_LAYER_SHELL = ./protocols/wlr-layer-shell-unstable.xml
default_target: wlock
-wlr-layer-shell-protocol.h:
- wayland-scanner client-header < ${WLR_LAYER_SHELL} > $@
+ext-session-lock-protocol.h:
+ wayland-scanner client-header < ${EXT_SESSION_LOCK} > $@
-wlr-layer-shell-protocol.c: wlr-layer-shell-protocol.h
- wayland-scanner private-code < ${WLR_LAYER_SHELL} > $@
+ext-session-lock-protocol.c: ext-session-lock-protocol.h
+ wayland-scanner private-code < ${EXT_SESSION_LOCK} > $@
-xdg-shell-protocol.h:
- wayland-scanner client-header < ${XDG_SHELL} > $@
-
-xdg-shell-protocol.c: xdg-shell-protocol.h
- wayland-scanner private-code < ${XDG_SHELL} > $@
.c.o:
${CC} -c $< ${CPPFLAGS}