build: add uterm pkg-config file
We intend to make libuterm independent of kmscon so it can be used by other projects. Therefore, add a pkg-config file for easier integration into other build systems. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
This commit is contained in:
parent
12db259e6f
commit
a5b4f7df9b
1
.gitignore
vendored
1
.gitignore
vendored
@ -20,6 +20,7 @@ configure
|
||||
*.tar.bz2
|
||||
libtool
|
||||
libeloop.pc
|
||||
libuterm.pc
|
||||
m4/
|
||||
stamp-*
|
||||
.deps
|
||||
|
@ -177,6 +177,8 @@ endif
|
||||
include_HEADERS += \
|
||||
src/uterm.h
|
||||
|
||||
pkgconfig_DATA += libuterm.pc
|
||||
|
||||
#
|
||||
# Shaders
|
||||
# As there is no need to modify shaders at run-time, we statically compile them
|
||||
|
@ -547,7 +547,7 @@ AC_SUBST(FREETYPE2_LIBS)
|
||||
AC_SUBST(PANGO_CFLAGS)
|
||||
AC_SUBST(PANGO_LIBS)
|
||||
|
||||
AC_CONFIG_FILES([Makefile libeloop.pc])
|
||||
AC_CONFIG_FILES([Makefile libeloop.pc libuterm.pc])
|
||||
AC_OUTPUT([src/genshader.c])
|
||||
|
||||
#
|
||||
|
11
libuterm.pc.in
Normal file
11
libuterm.pc.in
Normal file
@ -0,0 +1,11 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: uterm
|
||||
Description: User-space Terminal Video/Input/Hotplug/etc Helper Library
|
||||
URL: @PACKAGE_URL@
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -luterm
|
||||
Cflags: -I${includedir}
|
Loading…
x
Reference in New Issue
Block a user