commit 5ad54d7adeb5cf9579118b96d9c7755abdb0129d
parent b798a28b6e6bb7121b326fd36d137f4ffba48598
Author: shrub <maybeshrub@gmail.com>
Date: Mon, 5 Jan 2026 18:13:08 +0000
sync old GNU makefile with current build
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/libswc/local.mk b/libswc/local.mk
@@ -45,12 +45,14 @@ SWC_SOURCES = \
libswc/shell.c \
libswc/shell_surface.c \
libswc/shm.c \
+ libswc/snap.c \
libswc/subcompositor.c \
libswc/subsurface.c \
libswc/surface.c \
libswc/swc.c \
libswc/util.c \
libswc/view.c \
+ libswc/wallpaper.c \
libswc/wayland_buffer.c \
libswc/window.c \
libswc/xdg_decoration.c \
@@ -58,6 +60,7 @@ SWC_SOURCES = \
protocol/linux-dmabuf-unstable-v1-protocol.c \
protocol/server-decoration-protocol.c \
protocol/swc-protocol.c \
+ protocol/swc_snap-protocol.c \
protocol/wayland-drm-protocol.c \
protocol/xdg-decoration-unstable-v1-protocol.c \
protocol/xdg-shell-protocol.c
@@ -91,6 +94,7 @@ $(call objects,compositor panel_manager panel screen): protocol/swc-server-proto
$(call objects,dmabuf): protocol/linux-dmabuf-unstable-v1-server-protocol.h
$(call objects,drm drm_buffer): protocol/wayland-drm-server-protocol.h
$(call objects,kde_decoration): protocol/server-decoration-server-protocol.h
+$(call objects,snap): protocol/swc_snap-server-protocol.h
$(call objects,xdg_decoration): protocol/xdg-decoration-unstable-v1-server-protocol.h
$(call objects,xdg_shell): protocol/xdg-shell-server-protocol.h
$(call objects,pointer): cursor/cursor_data.h
diff --git a/protocol/local.mk b/protocol/local.mk
@@ -6,6 +6,7 @@ wayland_protocols := $(call pkgconfig,wayland-protocols,variable=pkgdatadir,DATA
PROTOCOL_EXTENSIONS = \
$(dir)/server-decoration.xml\
$(dir)/swc.xml \
+ $(dir)/swc_snap.xml \
$(dir)/wayland-drm.xml \
$(wayland_protocols)/stable/xdg-shell/xdg-shell.xml \
$(wayland_protocols)/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml \
@@ -31,4 +32,3 @@ install-$(dir): | $(DESTDIR)$(DATADIR)/swc
install -m 644 protocol/swc.xml $(DESTDIR)$(DATADIR)/swc
include common.mk
-