2010-09-14 10:45:00 -04:00
|
|
|
include ../config.mk
|
|
|
|
|
|
2010-10-06 21:17:40 -04:00
|
|
|
CFLAGS += -I../wayland $(COMPOSITOR_CFLAGS)
|
2010-09-14 11:13:18 -04:00
|
|
|
LDLIBS += -L../wayland -lwayland-server $(COMPOSITOR_LIBS) -rdynamic -lrt -lm
|
2010-09-14 10:45:00 -04:00
|
|
|
|
|
|
|
|
all : compositor
|
|
|
|
|
|
|
|
|
|
compositor : \
|
|
|
|
|
compositor.o \
|
|
|
|
|
compositor-drm.o \
|
|
|
|
|
compositor-x11.o \
|
|
|
|
|
screenshooter.o \
|
2010-09-14 15:53:32 -04:00
|
|
|
screenshooter-protocol.o \
|
2010-10-06 21:17:40 -04:00
|
|
|
drm.o \
|
|
|
|
|
shm.o
|
2010-09-14 10:45:00 -04:00
|
|
|
|
2010-09-14 15:53:32 -04:00
|
|
|
screenshooter.c : screenshooter-server-protocol.h
|
|
|
|
|
|
|
|
|
|
screenshooter-protocol.c : screenshooter.xml
|
|
|
|
|
../wayland/scanner code < $< > $@
|
|
|
|
|
|
|
|
|
|
screenshooter-server-protocol.h : screenshooter.xml
|
|
|
|
|
../wayland/scanner server-header < $< > $@
|
|
|
|
|
|
2010-09-14 10:45:00 -04:00
|
|
|
clean :
|
|
|
|
|
rm -f compositor *.o .*.deps
|
|
|
|
|
|
2010-09-14 11:13:18 -04:00
|
|
|
install :
|
|
|
|
|
install 70-wayland.rules ${udev_rules_dir}
|