mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-25 12:33:42 +01:00
Create and install pkg-config .pc files
[Edit: renamed to libunwind-generic.pc and some .pc files created only when needed -- asharma@fb.com]
This commit is contained in:
parent
ec262e127b
commit
ea5e90fd9f
7 changed files with 64 additions and 0 deletions
|
@ -317,4 +317,7 @@ AC_SUBST(DLLIB)
|
|||
AC_CONFIG_FILES(Makefile src/Makefile tests/Makefile tests/check-namespace.sh
|
||||
doc/Makefile doc/common.tex include/libunwind-common.h
|
||||
include/libunwind.h include/tdep/libunwind_i.h)
|
||||
AC_CONFIG_FILES(src/unwind/libunwind.pc src/coredump/libunwind-coredump.pc
|
||||
src/ptrace/libunwind-ptrace.pc src/setjmp/libunwind-setjmp.pc
|
||||
src/libunwind-generic.pc:src/libunwind-generic.pc.in)
|
||||
AC_OUTPUT
|
||||
|
|
|
@ -18,6 +18,18 @@ endif
|
|||
noinst_HEADERS =
|
||||
noinst_LTLIBRARIES =
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = libunwind-generic.pc
|
||||
|
||||
if !REMOTE_ONLY
|
||||
pkgconfig_DATA += unwind/libunwind.pc ptrace/libunwind-ptrace.pc \
|
||||
setjmp/libunwind-setjmp.pc
|
||||
endif
|
||||
|
||||
if BUILD_COREDUMP
|
||||
pkgconfig_DATA += coredump/libunwind-coredump.pc
|
||||
endif
|
||||
|
||||
### libunwind-ptrace:
|
||||
libunwind_ptrace_la_SOURCES = \
|
||||
ptrace/_UPT_elf.c \
|
||||
|
|
10
src/coredump/libunwind-coredump.pc.in
Normal file
10
src/coredump/libunwind-coredump.pc.in
Normal file
|
@ -0,0 +1,10 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: libunwind-coredump
|
||||
Description: libunwind coredump library
|
||||
Version: @VERSION@
|
||||
Requires: libunwind-@arch@ libunwind
|
||||
Libs: -L${libdir} -lunwind-coredump
|
10
src/libunwind-generic.pc.in
Normal file
10
src/libunwind-generic.pc.in
Normal file
|
@ -0,0 +1,10 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: libunwind-generic
|
||||
Description: libunwind generic library
|
||||
Version: @VERSION@
|
||||
Requires: libunwind
|
||||
Libs: -L${libdir} -lunwind-generic
|
10
src/ptrace/libunwind-ptrace.pc.in
Normal file
10
src/ptrace/libunwind-ptrace.pc.in
Normal file
|
@ -0,0 +1,10 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: libunwind-ptrace
|
||||
Description: libunwind ptrace library
|
||||
Version: @VERSION@
|
||||
Requires: libunwind-@arch@ libunwind
|
||||
Libs: -L${libdir} -lunwind-ptrace
|
10
src/setjmp/libunwind-setjmp.pc.in
Normal file
10
src/setjmp/libunwind-setjmp.pc.in
Normal file
|
@ -0,0 +1,10 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: libunwind-setjmp
|
||||
Description: libunwind setjmp library
|
||||
Version: @VERSION@
|
||||
Requires: libunwind
|
||||
Libs: -L${libdir} -lunwind-setjmp
|
9
src/unwind/libunwind.pc.in
Normal file
9
src/unwind/libunwind.pc.in
Normal file
|
@ -0,0 +1,9 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: libunwind
|
||||
Description: libunwind base library
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lunwind
|
Loading…
Reference in a new issue