Install libraries plus headers and add pkg-config files.
This commit is contained in:
parent
7fdff04cdc
commit
4a8767bbb7
|
@ -1,5 +1,6 @@
|
||||||
*.o
|
*.o
|
||||||
*.so
|
*.so
|
||||||
|
*.pc
|
||||||
glx-compositor
|
glx-compositor
|
||||||
egl-compositor
|
egl-compositor
|
||||||
gears
|
gears
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
CFLAGS = @GCC_CFLAGS@
|
CFLAGS = @GCC_CFLAGS@
|
||||||
|
|
||||||
|
prefix = @prefix@
|
||||||
|
exec_prefix = @exec_prefix@
|
||||||
|
|
||||||
libs = libwayland-server.so libwayland.so
|
libs = libwayland-server.so libwayland.so
|
||||||
clients = flower gears screenshot terminal
|
clients = flower gears screenshot terminal
|
||||||
compositors = egl-compositor glx-compositor
|
compositors = egl-compositor glx-compositor
|
||||||
|
@ -48,6 +51,12 @@ terminal : LDLIBS += -lutil
|
||||||
$(clients) : CFLAGS += @CLIENT_CFLAGS@
|
$(clients) : CFLAGS += @CLIENT_CFLAGS@
|
||||||
$(clients) : LDLIBS += @CLIENT_LIBS@ -L. -lwayland -lrt
|
$(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 :
|
clean :
|
||||||
rm -f $(clients) $(compositors) *.o *.so
|
rm -f $(clients) $(compositors) *.o *.so
|
||||||
|
|
||||||
|
|
|
@ -14,5 +14,5 @@ if test $CC = gcc; then
|
||||||
fi
|
fi
|
||||||
AC_SUBST(GCC_CFLAGS)
|
AC_SUBST(GCC_CFLAGS)
|
||||||
|
|
||||||
AC_CONFIG_FILES([Makefile])
|
AC_CONFIG_FILES([Makefile wayland-server.pc wayland.pc])
|
||||||
AC_OUTPUT
|
AC_OUTPUT
|
|
@ -0,0 +1,10 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=${prefix}
|
||||||
|
libdir=${exec_prefix}/lib
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: Wayland Server
|
||||||
|
Description: Server side implementation of the Wayland protocol
|
||||||
|
Version: 0.1
|
||||||
|
Cflags: -I${includedir}
|
||||||
|
Libs: -L${libdir} -lwayland-server
|
|
@ -0,0 +1,10 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
exec_prefix=${prefix}
|
||||||
|
libdir=${exec_prefix}/lib
|
||||||
|
includedir=${prefix}/include
|
||||||
|
|
||||||
|
Name: Wayland Client
|
||||||
|
Description: Wayland client side library
|
||||||
|
Version: 0.1
|
||||||
|
Cflags: -I${includedir}
|
||||||
|
Libs: -L${libdir} -lwayland
|
Loading…
Reference in New Issue