mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-25 06:59:46 -05:00
Move clients to subdirectory
This commit is contained in:
parent
c9e208899b
commit
b2a432ef18
12 changed files with 108 additions and 77 deletions
27
clients/Makefile
Normal file
27
clients/Makefile
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
include ../config.mk
|
||||
|
||||
egl_clients = gears
|
||||
cairo_clients = flower screenshot terminal image view
|
||||
|
||||
all : $(egl_clients) $(cairo_clients)
|
||||
|
||||
clean :
|
||||
rm -f $(egl_clients) $(cairo_clients) *.o
|
||||
|
||||
flower : flower.o wayland-glib.o
|
||||
gears : gears.o window.o wayland-glib.o cairo-util.o
|
||||
screenshot : screenshot.o wayland-glib.o
|
||||
terminal : terminal.o window.o wayland-glib.o cairo-util.o
|
||||
image : image.o window.o wayland-glib.o cairo-util.o
|
||||
view : view.o window.o wayland-glib.o cairo-util.o
|
||||
|
||||
terminal : LDLIBS += -lutil
|
||||
image : CFLAGS += $(GDK_PIXBUF_CFLAGS)
|
||||
image : LDLIBS += $(GDK_PIXBUF_LIBS)
|
||||
view : CFLAGS += $(POPPLER_CFLAGS)
|
||||
view : LDLIBS += $(POPPLER_LIBS)
|
||||
|
||||
$(egl_clients) : CFLAGS += $(EGL_CLIENT_CFLAGS)
|
||||
$(egl_clients) : LDLIBS += -L.. -lwayland $(EGL_CLIENT_LIBS) -lrt
|
||||
$(cairo_clients) : CFLAGS += $(CAIRO_CLIENT_CFLAGS)
|
||||
$(cairo_clients) : LDLIBS += -L.. -lwayland $(CAIRO_CLIENT_LIBS) -lrt
|
||||
Loading…
Add table
Add a link
Reference in a new issue