mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-23 06:59:47 -05:00
Instead of having the input driver push the events into the core server, only to have the server call back out to the compositor hooks, the driver now just calls the compositor directly. The input drivers are always dependent on the type of compositor anyway so there was no point in passing the events through the server. Now the server is only involved when it's time to actually send the events to the clients.
60 lines
1.4 KiB
Makefile
60 lines
1.4 KiB
Makefile
CFLAGS = @GCC_CFLAGS@
|
|
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
libs = libwayland-server.so libwayland.so
|
|
clients = flower gears screenshot terminal
|
|
compositors = egl-compositor
|
|
|
|
all : $(libs) $(compositors) $(clients)
|
|
|
|
libwayland-server.so : \
|
|
wayland.o \
|
|
event-loop.o \
|
|
connection.o \
|
|
wayland-util.o
|
|
|
|
libwayland-server.so : CFLAGS += @FFI_CFLAGS@
|
|
libwayland-server.so : LDLIBS += @FFI_LIBS@ -ldl -rdynamic
|
|
|
|
libwayland.so : \
|
|
wayland-client.o \
|
|
connection.o \
|
|
wayland-util.o
|
|
|
|
$(libs) :
|
|
gcc -shared $^ $(LDLIBS) -o $@
|
|
|
|
$(compositors) $(clients) : CFLAGS += @LIBDRM_CFLAGS@
|
|
|
|
egl-compositor : \
|
|
egl-compositor.o \
|
|
evdev.o \
|
|
cairo-util.o \
|
|
wayland-util.o
|
|
|
|
egl-compositor : CFLAGS += @EGL_COMPOSITOR_CFLAGS@
|
|
egl-compositor : LDLIBS += -L. -lwayland-server @EGL_COMPOSITOR_LIBS@ -rdynamic -lrt
|
|
|
|
flower : flower.o wayland-glib.o cairo-util.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
|
|
|
|
terminal : LDLIBS += -lutil
|
|
|
|
$(clients) : CFLAGS += @CLIENT_CFLAGS@
|
|
$(clients) : LDLIBS += -L. -lwayland @CLIENT_LIBS@ -lrt
|
|
|
|
install : $(libs)
|
|
install -d @libdir@ @libdir@/pkgconfig
|
|
install $(libs) @libdir@
|
|
install wayland-server.pc wayland.pc @libdir@/pkgconfig
|
|
install wayland-client.h @includedir@
|
|
|
|
clean :
|
|
rm -f $(clients) $(compositors) *.o *.so
|
|
|
|
Makefile : Makefile.in
|
|
./config.status
|