mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-26 06:59:58 -05:00
Move background drawing to a client.
This commit is contained in:
parent
1b2f4390f5
commit
6b5e7626f5
4 changed files with 165 additions and 11 deletions
8
Makefile
8
Makefile
|
|
@ -1,7 +1,7 @@
|
|||
CFLAGS += -Wall -g $(shell pkg-config --cflags libffi libdrm)
|
||||
LDLIBS += $(shell pkg-config --libs libffi libdrm)
|
||||
|
||||
clients = flower pointer
|
||||
clients = flower pointer background
|
||||
|
||||
all : wayland $(clients)
|
||||
|
||||
|
|
@ -19,9 +19,13 @@ libwayland.so : $(libwayland_objs)
|
|||
|
||||
flower_objs = flower.o
|
||||
pointer_objs = pointer.o
|
||||
background_objs = background.o
|
||||
|
||||
$(clients) : CFLAGS += $(shell pkg-config --cflags cairo)
|
||||
$(clients) : LDLIBS += $(shell pkg-config --libs cairo) -lrt
|
||||
$(clients) : LDLIBS += $(shell pkg-config --libs cairo gdk-pixbuf-2.0) -lrt
|
||||
|
||||
background : CFLAGS += $(shell pkg-config --cflags gdk-pixbuf-2.0)
|
||||
background : LDLIBS += $(shell pkg-config --libs gdk-pixbuf-2.0)
|
||||
|
||||
define client_template
|
||||
$(1): $$($(1)_objs) libwayland.so
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue