add & install pkgconfig file
This commit is contained in:
parent
00eaeeb936
commit
3f9141616b
4 changed files with 19 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -2,6 +2,7 @@ aclocal.m4
|
|||
autom4te*.cache
|
||||
configure
|
||||
config.h*
|
||||
confdefs.h
|
||||
config.status
|
||||
libtool
|
||||
stamp-h*
|
||||
|
|
@ -23,5 +24,6 @@ test-driver
|
|||
|
||||
capn-test
|
||||
capnpc-c
|
||||
c-capnproto.pc
|
||||
|
||||
*.tar.gz
|
||||
|
|
|
|||
|
|
@ -11,6 +11,10 @@ include_HEADERS =
|
|||
|
||||
EXTRA_DIST += README.md
|
||||
|
||||
EXTRA_DIST += c-capnproto.pc.in
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = c-capnproto.pc
|
||||
|
||||
AM_CPPFLAGS = -I${srcdir}/lib
|
||||
|
||||
lib_LTLIBRARIES += libcapnp_c.la
|
||||
|
|
|
|||
12
c-capnproto.pc.in
Normal file
12
c-capnproto.pc.in
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
bindir=@bindir@
|
||||
includedir=@includedir@
|
||||
codegen=${bindir}/capnpc-c
|
||||
|
||||
Name: c-capnproto
|
||||
Description: Cap'n Proto C bindings
|
||||
Version: @PACKAGE_VERSION@
|
||||
Libs: -L${libdir} -lcapnp_c
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -39,5 +39,6 @@ AC_CONFIG_SUBDIRS([gtest/googletest])
|
|||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
c-capnproto.pc
|
||||
])
|
||||
AC_OUTPUT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue