mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-25 12:33:42 +01:00
(SOVERSION): New macro.
(install-exec-hook): Use this hook to create symlinks from architecture-specific library name to default name (libunwind.a/libunwind.so). (libunwind_la_SOURCES_ia64): Mention unw_is_signal_frame.c and Lunw_is_signal_frame.c. (libunwind_la_SOURCES): Drop. (libunwind_ia64_la_LDFLAGS): New macro. (libunwind_ia32_la_LDFLAGS): New macro. (libunwind_la_LDFLAGS): Drop. (Logical change 1.18)
This commit is contained in:
parent
c528adf7c7
commit
a6d51ee1a6
1 changed files with 17 additions and 12 deletions
|
@ -1,6 +1,17 @@
|
||||||
|
SOVERSION=0:0:0 # See comments at end of file.
|
||||||
|
|
||||||
if REMOTE_ONLY
|
if REMOTE_ONLY
|
||||||
else
|
else
|
||||||
libunwind_la_SOURCES_common = backtrace.c
|
libunwind_la_SOURCES_common = backtrace.c
|
||||||
|
|
||||||
|
#
|
||||||
|
# This is not ideal, but I know of no other way to install an
|
||||||
|
# alias for a library.
|
||||||
|
#
|
||||||
|
install-exec-hook:
|
||||||
|
$(LN_S) -f libunwind-$(arch).a $(DESTDIR)$(libdir)/libunwind.a
|
||||||
|
$(LN_S) -f libunwind-$(arch).so $(DESTDIR)$(libdir)/libunwind.so
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
libunwind_la_SOURCES_ia64 = $(libunwind_la_SOURCES_common) \
|
libunwind_la_SOURCES_ia64 = $(libunwind_la_SOURCES_common) \
|
||||||
|
@ -12,29 +23,25 @@ libunwind_la_SOURCES_ia64 = $(libunwind_la_SOURCES_common) \
|
||||||
\
|
\
|
||||||
ia64/init.c ia64/parser.c ia64/regs.c ia64/script.c \
|
ia64/init.c ia64/parser.c ia64/regs.c ia64/script.c \
|
||||||
ia64/unw_get_reg.c ia64/unw_get_fpreg.c ia64/unw_get_save_loc.c \
|
ia64/unw_get_reg.c ia64/unw_get_fpreg.c ia64/unw_get_save_loc.c \
|
||||||
|
ia64/unw_is_signal_frame.c \
|
||||||
ia64/unw_resume.c ia64/unw_set_reg.c ia64/unw_set_fpreg.c \
|
ia64/unw_resume.c ia64/unw_set_reg.c ia64/unw_set_fpreg.c \
|
||||||
ia64/unw_init_local.c ia64/unw_init_remote.c ia64/unw_step.c \
|
ia64/unw_init_local.c ia64/unw_init_remote.c ia64/unw_step.c \
|
||||||
\
|
\
|
||||||
ia64/Linit.c ia64/Lparser.c ia64/Lregs.c ia64/Lscript.c \
|
ia64/Linit.c ia64/Lparser.c ia64/Lregs.c ia64/Lscript.c \
|
||||||
ia64/Lunw_get_reg.c ia64/Lunw_get_fpreg.c ia64/Lunw_get_save_loc.c \
|
ia64/Lunw_get_reg.c ia64/Lunw_get_fpreg.c ia64/Lunw_get_save_loc.c \
|
||||||
|
ia64/Lunw_is_signal_frame.c \
|
||||||
ia64/Lunw_resume.c ia64/Lunw_set_reg.c ia64/Lunw_set_fpreg.c \
|
ia64/Lunw_resume.c ia64/Lunw_set_reg.c ia64/Lunw_set_fpreg.c \
|
||||||
ia64/Lunw_init_local.c ia64/Lunw_init_remote.c ia64/Lunw_step.c
|
ia64/Lunw_init_local.c ia64/Lunw_init_remote.c ia64/Lunw_step.c
|
||||||
|
|
||||||
if ARCH_IA64
|
|
||||||
libunwind_la_SOURCES = $(libunwind_la_SOURCES_ia64)
|
|
||||||
else
|
|
||||||
if ARCH_IA32
|
|
||||||
libunwind_la_SOURCES = $(libunwind_la_SOURCES_ia32)
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
if ARCH_IA64
|
if ARCH_IA64
|
||||||
lib_LTLIBRARIES = libunwind-ia64.la
|
lib_LTLIBRARIES = libunwind-ia64.la
|
||||||
libunwind_ia64_la_SOURCES = $(libunwind_la_SOURCES)
|
libunwind_ia64_la_SOURCES = $(libunwind_la_SOURCES_ia64)
|
||||||
|
libunwind_ia64_la_LDFLAGS = -version-info $(SOVERSION)
|
||||||
else
|
else
|
||||||
if ARCH_IA32
|
if ARCH_IA32
|
||||||
lib_LTLIBRARIES = libunwind-ia32.la
|
lib_LTLIBRARIES = libunwind-ia32.la
|
||||||
libunwind_ia32_la_SOURCES = $(libunwind_la_SOURCES)
|
libunwind_ia32_la_SOURCES = $(libunwind_la_SOURCES_ia32)
|
||||||
|
libunwind_ia64_la_LDFLAGS = -version-info $(SOVERSION)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -43,8 +50,6 @@ endif
|
||||||
|
|
||||||
AM_CPPFLAGS = -I$(top_srcdir)/include
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||||
|
|
||||||
libunwind_la_LDFLAGS = -version-info 0:0:0
|
|
||||||
|
|
||||||
# The -version-info flag accepts an argument of the form
|
# The -version-info flag accepts an argument of the form
|
||||||
# `current[:revision[:age]]'. So, passing `-version-info 3:12:1' sets
|
# `current[:revision[:age]]'. So, passing `-version-info 3:12:1' sets
|
||||||
# current to 3, revision to 12, and age to 1.
|
# current to 3, revision to 12, and age to 1.
|
||||||
|
|
Loading…
Reference in a new issue