mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
28 lines
613 B
Makefile
28 lines
613 B
Makefile
include ../config.mk
|
|
|
|
CFLAGS += $(COMPOSITOR_CFLAGS)
|
|
LDLIBS += -L../wayland -lwayland-server $(COMPOSITOR_LIBS) -rdynamic -lrt -lm
|
|
|
|
all : compositor
|
|
|
|
compositor : \
|
|
compositor.o \
|
|
compositor-drm.o \
|
|
compositor-x11.o \
|
|
screenshooter.o \
|
|
screenshooter-protocol.o \
|
|
drm.o
|
|
|
|
screenshooter.c : screenshooter-server-protocol.h
|
|
|
|
screenshooter-protocol.c : screenshooter.xml
|
|
../wayland/scanner code < $< > $@
|
|
|
|
screenshooter-server-protocol.h : screenshooter.xml
|
|
../wayland/scanner server-header < $< > $@
|
|
|
|
clean :
|
|
rm -f compositor *.o .*.deps
|
|
|
|
install :
|
|
install 70-wayland.rules ${udev_rules_dir}
|