Install libraries plus headers and add pkg-config files.

This commit is contained in:
Kristian Høgsberg 2008-12-10 13:44:23 -05:00
parent 7fdff04cdc
commit 4a8767bbb7
5 changed files with 32 additions and 2 deletions

View file

@ -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