2002-04-25 08:47:29 +02:00
|
|
|
SOVERSION=0:0:0 # See comments at end of file.
|
|
|
|
|
2002-04-06 01:37:55 +02:00
|
|
|
if REMOTE_ONLY
|
2002-12-03 09:19:58 +01:00
|
|
|
libunwind_la_SOURCES_common = dyn-common.h mempool.c mempool.h
|
2002-04-06 01:37:55 +02:00
|
|
|
else
|
2002-12-03 09:19:58 +01:00
|
|
|
libunwind_la_SOURCES_common = dyn-common.h dyn-local.c dyn-register.c \
|
|
|
|
mempool.c mempool.h backtrace.c
|
2002-04-25 08:47:29 +02:00
|
|
|
|
|
|
|
#
|
|
|
|
# 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
|
|
|
|
|
2002-04-06 01:37:55 +02:00
|
|
|
endif
|
2002-02-28 17:24:48 +01:00
|
|
|
|
2002-04-06 01:37:55 +02:00
|
|
|
libunwind_la_SOURCES_ia64 = $(libunwind_la_SOURCES_common) \
|
2002-04-12 06:21:19 +02:00
|
|
|
ia64/init.h ia64/offsets.h ia64/regs.h ia64/rse.h ia64/script.h \
|
|
|
|
ia64/ucontext_i.h ia64/unwind_decoder.h ia64/unwind_i.h \
|
2002-04-03 08:51:34 +02:00
|
|
|
\
|
2002-12-03 09:19:58 +01:00
|
|
|
ia64/__ia64_install_context.S ia64/tables.c \
|
2002-04-12 07:02:40 +02:00
|
|
|
ia64/unw_regname.c \
|
2002-04-03 08:51:34 +02:00
|
|
|
\
|
|
|
|
ia64/init.c ia64/parser.c ia64/regs.c ia64/script.c \
|
2002-11-16 07:50:04 +01:00
|
|
|
ia64/unw_create_addr_space.c ia64/unw_destroy_addr_space.c \
|
2002-12-03 09:19:58 +01:00
|
|
|
ia64/unw_find_dynamic_proc_info.c \
|
2002-11-16 07:50:04 +01:00
|
|
|
ia64/unw_set_caching_policy.c ia64/unw_flush_cache.c \
|
2002-12-03 09:19:58 +01:00
|
|
|
ia64/unw_get_accessors.c ia64/unw_get_proc_info.c \
|
2002-04-03 08:51:34 +02:00
|
|
|
ia64/unw_get_reg.c ia64/unw_get_fpreg.c ia64/unw_get_save_loc.c \
|
2002-04-25 08:47:29 +02:00
|
|
|
ia64/unw_is_signal_frame.c \
|
2002-04-03 08:51:34 +02:00
|
|
|
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/Linit.c ia64/Lparser.c ia64/Lregs.c ia64/Lscript.c \
|
2002-11-16 07:50:04 +01:00
|
|
|
ia64/Lunw_create_addr_space.c ia64/Lunw_destroy_addr_space.c \
|
2002-12-03 09:19:58 +01:00
|
|
|
ia64/Lunw_find_dynamic_proc_info.c \
|
2002-11-16 07:50:04 +01:00
|
|
|
ia64/Lunw_set_caching_policy.c ia64/Lunw_flush_cache.c \
|
2002-12-03 09:19:58 +01:00
|
|
|
ia64/Lunw_get_accessors.c ia64/Lunw_get_proc_info.c \
|
2002-04-03 08:51:34 +02:00
|
|
|
ia64/Lunw_get_reg.c ia64/Lunw_get_fpreg.c ia64/Lunw_get_save_loc.c \
|
2002-04-25 08:47:29 +02:00
|
|
|
ia64/Lunw_is_signal_frame.c \
|
2002-04-03 08:51:34 +02:00
|
|
|
ia64/Lunw_resume.c ia64/Lunw_set_reg.c ia64/Lunw_set_fpreg.c \
|
2002-02-28 17:24:48 +01:00
|
|
|
ia64/Lunw_init_local.c ia64/Lunw_init_remote.c ia64/Lunw_step.c
|
2002-04-06 01:37:55 +02:00
|
|
|
|
|
|
|
if ARCH_IA64
|
|
|
|
lib_LTLIBRARIES = libunwind-ia64.la
|
2002-04-25 08:47:29 +02:00
|
|
|
libunwind_ia64_la_SOURCES = $(libunwind_la_SOURCES_ia64)
|
|
|
|
libunwind_ia64_la_LDFLAGS = -version-info $(SOVERSION)
|
2002-04-06 01:37:55 +02:00
|
|
|
else
|
|
|
|
if ARCH_IA32
|
|
|
|
lib_LTLIBRARIES = libunwind-ia32.la
|
2002-04-25 08:47:29 +02:00
|
|
|
libunwind_ia32_la_SOURCES = $(libunwind_la_SOURCES_ia32)
|
|
|
|
libunwind_ia64_la_LDFLAGS = -version-info $(SOVERSION)
|
2002-04-06 01:37:55 +02:00
|
|
|
endif
|
|
|
|
endif
|
2002-04-19 07:35:46 +02:00
|
|
|
|
|
|
|
# XXX Need to create symlinks from libunwind-ia64.so to libunwind.so
|
|
|
|
# XXX end libunwind-ia64.a to libunwind.a
|
2002-04-06 01:37:55 +02:00
|
|
|
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
|
|
|
|
2002-02-28 17:24:48 +01:00
|
|
|
# The -version-info flag accepts an argument of the form
|
|
|
|
# `current[:revision[:age]]'. So, passing `-version-info 3:12:1' sets
|
|
|
|
# current to 3, revision to 12, and age to 1.
|
|
|
|
|
|
|
|
# If either revision or age are omitted, they default to 0. Also note
|
|
|
|
# that age must be less than or equal to the current interface number.
|
|
|
|
|
|
|
|
# Here are a set of rules to help you update your library version
|
|
|
|
# information:
|
|
|
|
|
|
|
|
# 1. Start with version information of `0:0:0' for each libtool
|
|
|
|
# library.
|
|
|
|
|
|
|
|
# 2. Update the version information only immediately before a public
|
|
|
|
# release of your software. More frequent updates are unnecessary,
|
|
|
|
# and only guarantee that the current interface number gets larger
|
|
|
|
# faster.
|
|
|
|
|
|
|
|
# 3. If the library source code has changed at all since the last
|
|
|
|
# update, then increment revision (`c:r:a' becomes `c:r+1:a').
|
|
|
|
|
|
|
|
# 4. If any interfaces have been added, removed, or changed since the
|
|
|
|
# last update, increment current, and set revision to 0.
|
|
|
|
|
|
|
|
# 5. If any interfaces have been added since the last public release,
|
|
|
|
# then increment age.
|
|
|
|
|
|
|
|
# 6. If any interfaces have been removed since the last public
|
|
|
|
# release, then set age to 0.
|