Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libbacktrace
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
libbacktrace
Commits
ee9cd27e
Commit
ee9cd27e
authored
Jan 15, 2018
by
Than McIntosh
Committed by
Ian Lance Taylor
Jan 15, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restore functionality of 'install' target. (#10)
Previous change (update from gcc trunk) broke 'make install'; this corrects the problem.
parent
17f687d2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
73 additions
and
50 deletions
+73
-50
Makefile.am
Makefile.am
+3
-3
Makefile.in
Makefile.in
+70
-47
No files found.
Makefile.am
View file @
ee9cd27e
...
...
@@ -35,7 +35,7 @@ AM_CFLAGS = $(EXTRA_FLAGS) $(WARN_FLAGS) $(PIC_FLAG)
include_HEADERS
=
backtrace.h backtrace-supported.h
noinst
_LTLIBRARIES
=
libbacktrace.la
lib
_LTLIBRARIES
=
libbacktrace.la
libbacktrace_la_SOURCES
=
\
backtrace.h
\
...
...
@@ -137,8 +137,8 @@ if HAVE_OBJCOPY_DEBUGLINK
TESTS
+=
dtest
dtest
:
btest
$(OBJCOPY)
--only-keep-debug
btest btest.debug
$(OBJCOPY)
--strip-debug
--add-gnu-debuglink
=
btest.debug btest dtest
$(OBJCOPY)
--only-keep-debug
.libs/
btest btest.debug
$(OBJCOPY)
--strip-debug
--add-gnu-debuglink
=
btest.debug
.libs/
btest dtest
endif
HAVE_OBJCOPY_DEBUGLINK
...
...
Makefile.in
View file @
ee9cd27e
...
...
@@ -106,7 +106,35 @@ mkinstalldirs = $(install_sh) -d
CONFIG_HEADER
=
config.h
CONFIG_CLEAN_FILES
=
backtrace-supported.h
CONFIG_CLEAN_VPATH_FILES
=
LTLIBRARIES
=
$(noinst_LTLIBRARIES)
am__vpath_adj_setup
=
srcdirstrip
=
`
echo
"
$(srcdir)
"
|
sed
's|.|.|g'
`
;
am__vpath_adj
=
case
$$
p
in
\
$(srcdir)
/
*
)
f
=
`
echo
"
$$
p"
|
sed
"s|^
$$
srcdirstrip/||"
`
;;
\
*
)
f
=
$$
p
;;
\
esac
;
am__strip_dir
=
f
=
`
echo
$$
p |
sed
-e
's|^.*/||'
`
;
am__install_max
=
40
am__nobase_strip_setup
=
\
srcdirstrip
=
`
echo
"
$(srcdir)
"
|
sed
's/[].[^$$\\*|]/\\\\&/g'
`
am__nobase_strip
=
\
for
p
in
$$
list
;
do
echo
"
$$
p"
;
done
|
sed
-e
"s|
$$
srcdirstrip/||"
am__nobase_list
=
$(am__nobase_strip_setup)
;
\
for
p
in
$$
list
;
do
echo
"
$$
p
$$
p"
;
done
|
\
sed
"s|
$$
srcdirstrip/| |;"
' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,'
|
\
$(AWK)
'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] ==
$(am__install_max)
) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list
=
\
sed
'$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
\
sed
'$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir
=
{
\
test
-z
"
$$
files"
\
||
{
test
!
-d
"
$$
dir"
&&
test
!
-f
"
$$
dir"
&&
test
!
-r
"
$$
dir"
;
}
\
||
{
echo
" ( cd '
$$
dir' && rm -f"
$$
files
")"
;
\
$(am__cd)
"
$$
dir"
&&
rm
-f
$$
files
;
}
;
\
}
am__installdirs
=
"
$(DESTDIR)$(libdir)
"
"
$(DESTDIR)$(includedir)
"
LTLIBRARIES
=
$(lib_LTLIBRARIES)
am__DEPENDENCIES_1
=
am_libbacktrace_la_OBJECTS
=
atomic.lo dwarf.lo fileline.lo posix.lo
\
print.lo sort.lo state.lo
...
...
@@ -190,34 +218,6 @@ am__can_run_installinfo = \
n|no|NO
)
false
;;
\
*
)
(
install-info
--version
)
>
/dev/null 2>&1
;;
\
esac
am__vpath_adj_setup
=
srcdirstrip
=
`
echo
"
$(srcdir)
"
|
sed
's|.|.|g'
`
;
am__vpath_adj
=
case
$$
p
in
\
$(srcdir)
/
*
)
f
=
`
echo
"
$$
p"
|
sed
"s|^
$$
srcdirstrip/||"
`
;;
\
*
)
f
=
$$
p
;;
\
esac
;
am__strip_dir
=
f
=
`
echo
$$
p |
sed
-e
's|^.*/||'
`
;
am__install_max
=
40
am__nobase_strip_setup
=
\
srcdirstrip
=
`
echo
"
$(srcdir)
"
|
sed
's/[].[^$$\\*|]/\\\\&/g'
`
am__nobase_strip
=
\
for
p
in
$$
list
;
do
echo
"
$$
p"
;
done
|
sed
-e
"s|
$$
srcdirstrip/||"
am__nobase_list
=
$(am__nobase_strip_setup)
;
\
for
p
in
$$
list
;
do
echo
"
$$
p
$$
p"
;
done
|
\
sed
"s|
$$
srcdirstrip/| |;"
' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,'
|
\
$(AWK)
'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] ==
$(am__install_max)
) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list
=
\
sed
'$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
\
sed
'$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
am__uninstall_files_from_dir
=
{
\
test
-z
"
$$
files"
\
||
{
test
!
-d
"
$$
dir"
&&
test
!
-f
"
$$
dir"
&&
test
!
-r
"
$$
dir"
;
}
\
||
{
echo
" ( cd '
$$
dir' && rm -f"
$$
files
")"
;
\
$(am__cd)
"
$$
dir"
&&
rm
-f
$$
files
;
}
;
\
}
am__installdirs
=
"
$(DESTDIR)$(includedir)
"
HEADERS
=
$(include_HEADERS)
ETAGS
=
etags
CTAGS
=
ctags
...
...
@@ -354,7 +354,7 @@ top_srcdir = @top_srcdir@
ACLOCAL_AMFLAGS
=
-I
..
-I
../config
AM_CFLAGS
=
$(EXTRA_FLAGS)
$(WARN_FLAGS)
$(PIC_FLAG)
include_HEADERS
=
backtrace.h backtrace-supported.h
noinst
_LTLIBRARIES
=
libbacktrace.la
lib
_LTLIBRARIES
=
libbacktrace.la
libbacktrace_la_SOURCES
=
\
backtrace.h
\
atomic.c
\
...
...
@@ -477,17 +477,40 @@ distclean-hdr:
-
rm
-f
config.h stamp-h1
backtrace-supported.h
:
$(top_builddir)/config.status $(srcdir)/backtrace-supported.h.in
cd
$(top_builddir)
&&
$(SHELL)
./config.status
$@
install-libLTLIBRARIES
:
$(lib_LTLIBRARIES)
@
$(NORMAL_INSTALL)
@
list
=
'
$(lib_LTLIBRARIES)
'
;
test
-n
"
$(libdir)
"
||
list
=
;
\
list2
=
;
for
p
in
$$
list
;
do
\
if
test
-f
$$
p
;
then
\
list2
=
"
$$
list2
$$
p"
;
\
else
:
;
fi
;
\
done
;
\
test
-z
"
$$
list2"
||
{
\
echo
"
$(MKDIR_P)
'
$(DESTDIR)$(libdir)
'"
;
\
$(MKDIR_P)
"
$(DESTDIR)$(libdir)
"
||
exit
1
;
\
echo
"
$(LIBTOOL)
$(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS)
--mode=install
$(INSTALL)
$(INSTALL_STRIP_FLAG)
$$
list2 '
$(DESTDIR)$(libdir)
'"
;
\
$(LIBTOOL)
$(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS)
--mode
=
install
$(INSTALL)
$(INSTALL_STRIP_FLAG)
$$
list2
"
$(DESTDIR)$(libdir)
"
;
\
}
uninstall-libLTLIBRARIES
:
@
$(NORMAL_UNINSTALL)
@
list
=
'
$(lib_LTLIBRARIES)
'
;
test
-n
"
$(libdir)
"
||
list
=
;
\
for
p
in
$$
list
;
do
\
$(am__strip_dir)
\
echo
"
$(LIBTOOL)
$(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS)
--mode=uninstall rm -f '
$(DESTDIR)$(libdir)
/
$$
f'"
;
\
$(LIBTOOL)
$(AM_LIBTOOLFLAGS)
$(LIBTOOLFLAGS)
--mode
=
uninstall
rm
-f
"
$(DESTDIR)$(libdir)
/
$$
f"
;
\
done
clean-
noinst
LTLIBRARIES
:
-
test
-z
"
$(
noinst_LTLIBRARIES)
"
||
rm
-f
$(noinst
_LTLIBRARIES)
@
list
=
'
$(
noinst
_LTLIBRARIES)
'
;
for
p
in
$$
list
;
do
\
clean-
lib
LTLIBRARIES
:
-
test
-z
"
$(
lib_LTLIBRARIES)
"
||
rm
-f
$(lib
_LTLIBRARIES)
@
list
=
'
$(
lib
_LTLIBRARIES)
'
;
for
p
in
$$
list
;
do
\
dir
=
"
`
echo
$$
p |
sed
-e
's|/[^/]*$$||'
`
"
;
\
test
"
$$
dir"
!=
"
$$
p"
||
dir
=
.
;
\
echo
"rm -f
\"
$$
{dir}/so_locations
\"
"
;
\
rm
-f
"
$$
{dir}/so_locations"
;
\
done
libbacktrace.la
:
$(libbacktrace_la_OBJECTS) $(libbacktrace_la_DEPENDENCIES) $(EXTRA_libbacktrace_la_DEPENDENCIES)
$(LINK)
$(libbacktrace_la_OBJECTS)
$(libbacktrace_la_LIBADD)
$(LIBS)
$(LINK)
-rpath
$(libdir)
$(libbacktrace_la_OBJECTS)
$(libbacktrace_la_LIBADD)
$(LIBS)
clean-checkPROGRAMS
:
@
list
=
'
$(check_PROGRAMS)
'
;
test
-n
"
$$
list"
||
exit
0
;
\
...
...
@@ -791,7 +814,7 @@ check-am: all-am
check
:
check-am
all-am
:
Makefile $(LTLIBRARIES) all-multi $(HEADERS) config.h
installdirs
:
for
dir
in
"
$(DESTDIR)$(includedir)
"
;
do
\
for
dir
in
"
$(DESTDIR)$(
libdir)
"
"
$(DESTDIR)$(
includedir)
"
;
do
\
test
-z
"
$$
dir"
||
$(MKDIR_P)
"
$$
dir"
;
\
done
install
:
install-am
...
...
@@ -826,8 +849,8 @@ maintainer-clean-generic:
@
echo
"it deletes files that may require special tools to rebuild."
clean
:
clean-am clean-multi
clean-am
:
clean-checkPROGRAMS clean-generic clean-lib
tool
\
clean-
noinstLTLIBRARIES
mostlyclean-am
clean-am
:
clean-checkPROGRAMS clean-generic clean-lib
LTLIBRARIES
\
clean-
libtool
mostlyclean-am
distclean
:
distclean-am distclean-multi
-
rm
-f
$(am__CONFIG_DISTCLEAN_FILES)
...
...
@@ -853,7 +876,7 @@ install-dvi: install-dvi-am
install-dvi-am
:
install-exec-am
:
install-multi
install-exec-am
:
install-
libLTLIBRARIES install-
multi
install-html
:
install-html-am
...
...
@@ -894,28 +917,28 @@ ps: ps-am
ps-am
:
uninstall-am
:
uninstall-includeHEADERS
uninstall-am
:
uninstall-includeHEADERS
uninstall-libLTLIBRARIES
.MAKE
:
all all-multi check-am clean-multi distclean-multi install-am
\
install-multi install-strip maintainer-clean-multi
\
mostlyclean-multi
.PHONY
:
CTAGS GTAGS all all-am all-multi am--refresh check check-TESTS
\
check-am clean clean-checkPROGRAMS clean-generic
clean-libtool
\
clean-
multi clean-noinstLTLIBRARIES
ctags distclean
\
check-am clean clean-checkPROGRAMS clean-generic
\
clean-
libLTLIBRARIES clean-libtool clean-multi
ctags distclean
\
distclean-compile distclean-generic distclean-hdr
\
distclean-libtool distclean-multi distclean-tags dvi dvi-am
\
html html-am info info-am install install-am install-data
\
install-data-am install-dvi install-dvi-am install-exec
\
install-exec-am install-html install-html-am
\
install-includeHEADERS install-info install-info-am
\
install-
man install-multi install-pdf install-pdf-am
\
install-p
s install-ps-am install-strip installcheck
\
installcheck-am installdirs maintainer-clean
\
install-
libLTLIBRARIES install-man install-multi install-pdf
\
install-p
df-am install-ps install-ps-am install-strip
\
installcheck
installcheck
-am installdirs maintainer-clean
\
maintainer-clean-generic maintainer-clean-multi mostlyclean
\
mostlyclean-compile mostlyclean-generic mostlyclean-libtool
\
mostlyclean-multi pdf pdf-am ps ps-am tags uninstall
\
uninstall-am uninstall-includeHEADERS
uninstall-am uninstall-includeHEADERS
uninstall-libLTLIBRARIES
@NATIVE_TRUE@edtest2_build.c
:
gen_edtest2_build; @true
...
...
@@ -925,8 +948,8 @@ uninstall-am: uninstall-includeHEADERS
@NATIVE_TRUE@
echo
timestamp
>
$@
@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@dtest
:
btest
@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@
$(OBJCOPY)
--only-keep-debug
btest
btest.debug
@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@
$(OBJCOPY)
--strip-debug
--add-gnu-debuglink
=
btest.debug btest dtest
@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@
$(OBJCOPY)
--only-keep-debug
.libs/
btest
btest.debug
@HAVE_OBJCOPY_DEBUGLINK_TRUE@@NATIVE_TRUE@
$(OBJCOPY)
--strip-debug
--add-gnu-debuglink
=
btest.debug
.libs/
btest dtest
# We can't use automake's automatic dependency tracking, because it
# breaks when using bootstrap-lean. Automatic dependency tracking
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment