mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-26 06:59:58 -05:00
Install libraries plus headers and add pkg-config files.
This commit is contained in:
parent
7fdff04cdc
commit
4a8767bbb7
5 changed files with 32 additions and 2 deletions
|
|
@ -1,5 +1,8 @@
|
|||
CFLAGS = @GCC_CFLAGS@
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
libs = libwayland-server.so libwayland.so
|
||||
clients = flower gears screenshot terminal
|
||||
compositors = egl-compositor glx-compositor
|
||||
|
|
@ -48,6 +51,12 @@ terminal : LDLIBS += -lutil
|
|||
$(clients) : CFLAGS += @CLIENT_CFLAGS@
|
||||
$(clients) : LDLIBS += @CLIENT_LIBS@ -L. -lwayland -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue