|
|
@ -2,9 +2,8 @@ include config.mk |
|
|
|
|
|
|
|
|
|
|
|
subdirs = clients
|
|
|
|
subdirs = clients
|
|
|
|
libs = libwayland-server.so libwayland.so
|
|
|
|
libs = libwayland-server.so libwayland.so
|
|
|
|
compositors = wayland-system-compositor
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
all : $(libs) $(compositors) subdirs |
|
|
|
all : $(libs) compositor subdirs |
|
|
|
|
|
|
|
|
|
|
|
libwayland-server.so : \
|
|
|
|
libwayland-server.so : \
|
|
|
|
wayland.o \
|
|
|
|
wayland.o \
|
|
|
@ -26,19 +25,19 @@ $(libs) : LDLIBS += $(FFI_LIBS) |
|
|
|
$(libs) : |
|
|
|
$(libs) : |
|
|
|
gcc -shared $^ $(LDLIBS) -o $@
|
|
|
|
gcc -shared $^ $(LDLIBS) -o $@
|
|
|
|
|
|
|
|
|
|
|
|
wayland-system-compositor : \
|
|
|
|
compositor : \
|
|
|
|
wayland-system-compositor.o \
|
|
|
|
compositor.o \
|
|
|
|
evdev.o \
|
|
|
|
evdev.o \
|
|
|
|
cairo-util.o \
|
|
|
|
cairo-util.o \
|
|
|
|
wayland-util.o
|
|
|
|
wayland-util.o
|
|
|
|
|
|
|
|
|
|
|
|
wayland-system-compositor : CFLAGS += $(EGL_COMPOSITOR_CFLAGS) |
|
|
|
compositor : CFLAGS += $(COMPOSITOR_CFLAGS) |
|
|
|
wayland-system-compositor : LDLIBS += ./libwayland-server.so $(EGL_COMPOSITOR_LIBS) -rdynamic -lrt -lEGL |
|
|
|
compositor : LDLIBS += ./libwayland-server.so $(COMPOSITOR_LIBS) -rdynamic -lrt -lEGL |
|
|
|
|
|
|
|
|
|
|
|
subdirs-all subdirs-clean : |
|
|
|
subdirs-all subdirs-clean : |
|
|
|
for f in $(subdirs); do $(MAKE) -C $$f $(@:subdirs-%=%); done
|
|
|
|
for f in $(subdirs); do $(MAKE) -C $$f $(@:subdirs-%=%); done
|
|
|
|
|
|
|
|
|
|
|
|
install : $(libs) $(compositors) |
|
|
|
install : $(libs) compositor |
|
|
|
install -d $(libdir) $(libdir)/pkgconfig ${udev_rules_dir}
|
|
|
|
install -d $(libdir) $(libdir)/pkgconfig ${udev_rules_dir}
|
|
|
|
install $(libs) $(libdir)
|
|
|
|
install $(libs) $(libdir)
|
|
|
|
install wayland-server.pc wayland.pc $(libdir)/pkgconfig
|
|
|
|
install wayland-server.pc wayland.pc $(libdir)/pkgconfig
|
|
|
@ -46,7 +45,7 @@ install : $(libs) $(compositors) |
|
|
|
install 70-wayland.rules ${udev_rules_dir}
|
|
|
|
install 70-wayland.rules ${udev_rules_dir}
|
|
|
|
|
|
|
|
|
|
|
|
clean : subdirs-clean |
|
|
|
clean : subdirs-clean |
|
|
|
rm -f $(compositors) *.o *.so
|
|
|
|
rm -f compositor *.o *.so
|
|
|
|
|
|
|
|
|
|
|
|
config.mk : config.mk.in |
|
|
|
config.mk : config.mk.in |
|
|
|
./config.status
|
|
|
|
./config.status
|
|
|
|