1
0
Fork 0
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:
Alexander Toresson 2012-09-15 11:09:32 -07:00 committed by Arun Sharma
parent ec262e127b
commit ea5e90fd9f
7 changed files with 64 additions and 0 deletions

View file

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

View file

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

View 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

View 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

View 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

View 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

View 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