├── version ├── tests ├── .deps │ ├── bar.Po │ ├── foo.Po │ ├── main.Po │ ├── simple.Po │ ├── big-dynstr.Po │ ├── simple-simple.Po │ └── no_rpath-no-rpath.Po ├── plain-fail.sh ├── no-rpath.c ├── bar.c ├── no-rpath-prebuild │ ├── no-rpath-sh4 │ ├── no-rpath-amd64 │ ├── no-rpath-armel │ ├── no-rpath-armhf │ ├── no-rpath-i386 │ ├── no-rpath-ia64 │ ├── no-rpath-mips │ ├── no-rpath-s390 │ ├── no-rpath-sparc │ ├── no-rpath-mipsel │ ├── no-rpath-powerpc │ ├── no-rpath-hurd-i386 │ ├── no-rpath-kfreebsd-i386 │ └── no-rpath-kfreebsd-amd64 ├── plain-run.sh ├── simple.c ├── main.c ├── foo.c ├── set-interpreter-short.sh ├── no-rpath.sh ├── set-rpath.sh ├── big-dynstr.sh ├── shrink-rpath.sh ├── set-interpreter-long.sh ├── no-rpath-prebuild.sh ├── soname.sh ├── set-rpath-library.sh └── Makefile.am ├── src ├── Makefile.am ├── Makefile.in ├── Makefile └── .deps │ └── patchelf.Po ├── aarch64-linux-android-patchelf ├── arm-linux-androideabi-patchelf ├── Makefile.am ├── gen_config.sh ├── configure.ac ├── patchelf.spec ├── patchelf.spec.in ├── patchelf.1 ├── README ├── config.log ├── Makefile.in ├── Makefile └── config.status /version: -------------------------------------------------------------------------------- 1 | 0.9 2 | -------------------------------------------------------------------------------- /tests/.deps/bar.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /tests/.deps/foo.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /tests/.deps/main.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /tests/.deps/simple.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /tests/.deps/big-dynstr.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /tests/.deps/simple-simple.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /tests/.deps/no_rpath-no-rpath.Po: -------------------------------------------------------------------------------- 1 | # dummy 2 | -------------------------------------------------------------------------------- /tests/plain-fail.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | if ./main; then 3 | exit 1 4 | fi 5 | -------------------------------------------------------------------------------- /tests/no-rpath.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main() { 4 | printf("Hello world\n"); 5 | return 0; 6 | } 7 | -------------------------------------------------------------------------------- /src/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CXXFLAGS = -Wall 2 | 3 | bin_PROGRAMS = patchelf 4 | 5 | patchelf_SOURCES = patchelf.cc elf.h 6 | -------------------------------------------------------------------------------- /aarch64-linux-android-patchelf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-on-android/patchelf/HEAD/aarch64-linux-android-patchelf -------------------------------------------------------------------------------- /arm-linux-androideabi-patchelf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-on-android/patchelf/HEAD/arm-linux-androideabi-patchelf -------------------------------------------------------------------------------- /tests/bar.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int bar() 4 | { 5 | printf("This is bar()!\n"); 6 | return 34; 7 | } 8 | -------------------------------------------------------------------------------- /tests/no-rpath-prebuild/no-rpath-sh4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-on-android/patchelf/HEAD/tests/no-rpath-prebuild/no-rpath-sh4 -------------------------------------------------------------------------------- /tests/no-rpath-prebuild/no-rpath-amd64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-on-android/patchelf/HEAD/tests/no-rpath-prebuild/no-rpath-amd64 -------------------------------------------------------------------------------- /tests/no-rpath-prebuild/no-rpath-armel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-on-android/patchelf/HEAD/tests/no-rpath-prebuild/no-rpath-armel -------------------------------------------------------------------------------- /tests/no-rpath-prebuild/no-rpath-armhf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-on-android/patchelf/HEAD/tests/no-rpath-prebuild/no-rpath-armhf -------------------------------------------------------------------------------- /tests/no-rpath-prebuild/no-rpath-i386: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-on-android/patchelf/HEAD/tests/no-rpath-prebuild/no-rpath-i386 -------------------------------------------------------------------------------- /tests/no-rpath-prebuild/no-rpath-ia64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-on-android/patchelf/HEAD/tests/no-rpath-prebuild/no-rpath-ia64 -------------------------------------------------------------------------------- /tests/no-rpath-prebuild/no-rpath-mips: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-on-android/patchelf/HEAD/tests/no-rpath-prebuild/no-rpath-mips -------------------------------------------------------------------------------- /tests/no-rpath-prebuild/no-rpath-s390: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-on-android/patchelf/HEAD/tests/no-rpath-prebuild/no-rpath-s390 -------------------------------------------------------------------------------- /tests/no-rpath-prebuild/no-rpath-sparc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-on-android/patchelf/HEAD/tests/no-rpath-prebuild/no-rpath-sparc -------------------------------------------------------------------------------- /tests/no-rpath-prebuild/no-rpath-mipsel: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-on-android/patchelf/HEAD/tests/no-rpath-prebuild/no-rpath-mipsel -------------------------------------------------------------------------------- /tests/no-rpath-prebuild/no-rpath-powerpc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-on-android/patchelf/HEAD/tests/no-rpath-prebuild/no-rpath-powerpc -------------------------------------------------------------------------------- /tests/no-rpath-prebuild/no-rpath-hurd-i386: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-on-android/patchelf/HEAD/tests/no-rpath-prebuild/no-rpath-hurd-i386 -------------------------------------------------------------------------------- /tests/no-rpath-prebuild/no-rpath-kfreebsd-i386: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-on-android/patchelf/HEAD/tests/no-rpath-prebuild/no-rpath-kfreebsd-i386 -------------------------------------------------------------------------------- /tests/no-rpath-prebuild/no-rpath-kfreebsd-amd64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/linux-on-android/patchelf/HEAD/tests/no-rpath-prebuild/no-rpath-kfreebsd-amd64 -------------------------------------------------------------------------------- /Makefile.am: -------------------------------------------------------------------------------- 1 | SUBDIRS = src tests 2 | 3 | EXTRA_DIST = COPYING README patchelf.spec version $(man1_MANS) 4 | 5 | man1_MANS = patchelf.1 6 | 7 | doc_DATA = README 8 | -------------------------------------------------------------------------------- /tests/plain-run.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | LD_LIBRARY_PATH=. ./main 3 | exitCode=$? 4 | if test "$exitCode" != 46; then 5 | echo "bad exit code!" 6 | exit 1 7 | fi 8 | -------------------------------------------------------------------------------- /tests/simple.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | char buf[16 * 1024 * 1024]; 4 | 5 | int main(int argc, char * * argv) 6 | { 7 | printf("Hello World\n"); 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /gen_config.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | CROSS_COMPILE="$1" 3 | ./configure --host="${CROSS_COMPILE}" CC="${CROSS_COMPILE}-gcc" CXX="${CROSS_COMPILE}-g++" CFLAGS='-static -O2 -fPIE' LDFLAGS='-static -O2 -fPIE' 4 | -------------------------------------------------------------------------------- /tests/main.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | char buf[16 * 1024 * 1024]; 4 | 5 | int foo(); 6 | 7 | int main(int argc, char * * argv) 8 | { 9 | int x; 10 | printf("Hello World\n"); 11 | x = foo(); 12 | printf("Result is %d\n", x); 13 | return x; 14 | } 15 | -------------------------------------------------------------------------------- /tests/foo.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | /* Include a bogus .interp section in libfoo.so (NIXPKGS-98). 4 | Borrowed from Glibc. */ 5 | const char __invoke_dynamic_linker__[] __attribute__ ((section (".interp"))) = "/foo/bar"; 6 | 7 | int bar(); 8 | 9 | int foo() 10 | { 11 | printf("This is foo()!\n"); 12 | return 12 + bar(); 13 | } 14 | -------------------------------------------------------------------------------- /tests/set-interpreter-short.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh -e 2 | SCRATCH=scratch/$(basename $0 .sh) 3 | 4 | ./simple 5 | 6 | oldInterpreter=$(../src/patchelf --print-interpreter ./simple) 7 | echo "current interpreter is $oldInterpreter" 8 | 9 | rm -rf ${SCRATCH} 10 | mkdir -p ${SCRATCH} 11 | 12 | cp simple ${SCRATCH}/ 13 | ../src/patchelf --set-interpreter /oops ${SCRATCH}/simple 14 | 15 | echo "running with missing interpreter..." 16 | if ${SCRATCH}/simple; then 17 | echo "simple works, but it shouldn't" 18 | exit 1 19 | fi 20 | -------------------------------------------------------------------------------- /tests/no-rpath.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh -e 2 | SCRATCH=scratch/$(basename $0 .sh) 3 | 4 | rm -rf ${SCRATCH} 5 | mkdir -p ${SCRATCH} 6 | 7 | cp no-rpath ${SCRATCH}/ 8 | 9 | oldRPath=$(../src/patchelf --print-rpath ${SCRATCH}/no-rpath) 10 | if test -n "$oldRPath"; then exit 1; fi 11 | ../src/patchelf \ 12 | --set-interpreter "$(../src/patchelf --print-interpreter ../src/patchelf)" \ 13 | --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx ${SCRATCH}/no-rpath 14 | 15 | newRPath=$(../src/patchelf --print-rpath ${SCRATCH}/no-rpath) 16 | if ! echo "$newRPath" | grep -q '/foo:/bar'; then 17 | echo "incomplete RPATH" 18 | exit 1 19 | fi 20 | 21 | cd ${SCRATCH} && ./no-rpath 22 | -------------------------------------------------------------------------------- /tests/set-rpath.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh -e 2 | SCRATCH=scratch/$(basename $0 .sh) 3 | 4 | rm -rf ${SCRATCH} 5 | mkdir -p ${SCRATCH} 6 | mkdir -p ${SCRATCH}/libsA 7 | mkdir -p ${SCRATCH}/libsB 8 | 9 | cp main ${SCRATCH}/ 10 | cp libfoo.so ${SCRATCH}/libsA/ 11 | cp libbar.so ${SCRATCH}/libsB/ 12 | 13 | oldRPath=$(../src/patchelf --print-rpath ${SCRATCH}/main) 14 | if test -z "$oldRPath"; then oldRPath="/oops"; fi 15 | ../src/patchelf --force-rpath --set-rpath $oldRPath:$(pwd)/${SCRATCH}/libsA:$(pwd)/${SCRATCH}/libsB ${SCRATCH}/main 16 | 17 | if test "$(uname)" = FreeBSD; then 18 | export LD_LIBRARY_PATH=$(pwd)/${SCRATCH}/libsB 19 | fi 20 | 21 | exitCode=0 22 | (cd ${SCRATCH} && ./main) || exitCode=$? 23 | 24 | if test "$exitCode" != 46; then 25 | echo "bad exit code!" 26 | exit 1 27 | fi 28 | -------------------------------------------------------------------------------- /tests/big-dynstr.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh -e 2 | SCRATCH=scratch/$(basename $0 .sh) 3 | 4 | rm -rf ${SCRATCH} 5 | mkdir -p ${SCRATCH} 6 | mkdir -p ${SCRATCH}/libsA 7 | mkdir -p ${SCRATCH}/libsB 8 | 9 | cp big-dynstr ${SCRATCH}/ 10 | cp libfoo.so ${SCRATCH}/libsA/ 11 | cp libbar.so ${SCRATCH}/libsB/ 12 | 13 | oldRPath=$(../src/patchelf --print-rpath ${SCRATCH}/big-dynstr) 14 | if test -z "$oldRPath"; then oldRPath="/oops"; fi 15 | ../src/patchelf --force-rpath --set-rpath $oldRPath:$(pwd)/${SCRATCH}/libsA:$(pwd)/${SCRATCH}/libsB ${SCRATCH}/big-dynstr 16 | 17 | if test "$(uname)" = FreeBSD; then 18 | export LD_LIBRARY_PATH=$(pwd)/${SCRATCH}/libsB 19 | fi 20 | 21 | exitCode=0 22 | cd ${SCRATCH} && ./big-dynstr || exitCode=$? 23 | 24 | if test "$exitCode" != 46; then 25 | echo "bad exit code!" 26 | exit 1 27 | fi 28 | -------------------------------------------------------------------------------- /tests/shrink-rpath.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh -e 2 | SCRATCH=scratch/$(basename $0 .sh) 3 | 4 | rpath=$(../src/patchelf --print-rpath ./libbar.so) 5 | echo "RPATH before: $rpath" 6 | if ! echo "$rpath" | grep -q /no-such-path; then 7 | echo "incomplete RPATH" 8 | exit 1 9 | fi 10 | 11 | rm -rf ${SCRATCH} 12 | mkdir -p ${SCRATCH} 13 | cp libbar.so ${SCRATCH}/ 14 | ../src/patchelf --shrink-rpath ${SCRATCH}/libbar.so 15 | 16 | rpath=$(../src/patchelf --print-rpath ${SCRATCH}/libbar.so) 17 | echo "RPATH after: $rpath" 18 | if echo "$rpath" | grep -q /no-such-path; then 19 | echo "RPATH not shrunk" 20 | exit 1 21 | fi 22 | 23 | cp libfoo.so ${SCRATCH}/ 24 | 25 | exitCode=0 26 | cd ${SCRATCH} && LD_LIBRARY_PATH=. ../../main || exitCode=$? 27 | 28 | if test "$exitCode" != 46; then 29 | echo "bad exit code!" 30 | exit 1 31 | fi 32 | -------------------------------------------------------------------------------- /configure.ac: -------------------------------------------------------------------------------- 1 | AC_INIT([patchelf], m4_esyscmd([printf $(cat ./version)])) 2 | AC_CONFIG_SRCDIR([src/patchelf.cc]) 3 | AC_CONFIG_AUX_DIR([build-aux]) 4 | AM_INIT_AUTOMAKE([-Wall -Werror dist-bzip2 foreign color-tests parallel-tests]) 5 | 6 | AM_PROG_CC_C_O 7 | AC_PROG_CXX 8 | 9 | PAGESIZE=auto 10 | AC_ARG_WITH([page-size], 11 | AS_HELP_STRING([--with-page-size=SIZE], [Specify default pagesize (default auto)]), 12 | PAGESIZE=$withval 13 | ) 14 | 15 | if test "$PAGESIZE" = auto; then 16 | if type -p getconf &>/dev/null; then 17 | PAGESIZE=$(getconf PAGESIZE || getconf PAGE_SIZE) 18 | fi 19 | if test "$PAGESIZE" = auto -o -z "$PAGESIZE"; then 20 | PAGESIZE=4096 21 | fi 22 | fi 23 | 24 | AC_DEFINE_UNQUOTED(PAGESIZE, ${PAGESIZE}) 25 | AC_MSG_RESULT([Setting page size to ${PAGESIZE}]) 26 | 27 | AC_CONFIG_FILES([Makefile src/Makefile tests/Makefile patchelf.spec]) 28 | AC_OUTPUT 29 | -------------------------------------------------------------------------------- /patchelf.spec: -------------------------------------------------------------------------------- 1 | Summary: A utility for patching ELF binaries 2 | 3 | Name: patchelf 4 | Version: 0.9 5 | Release: 1 6 | License: GPL 7 | Group: Development/Tools 8 | URL: http://nixos.org/patchelf.html 9 | Source0: %{name}-%{version}.tar.bz2 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot 11 | Prefix: /usr 12 | 13 | %description 14 | 15 | PatchELF is a simple utility for modifing existing ELF executables and 16 | libraries. It can change the dynamic loader ("ELF interpreter") of 17 | executables and change the RPATH of executables and libraries. 18 | 19 | %prep 20 | %setup -q 21 | 22 | %build 23 | ./configure --prefix=%{_prefix} 24 | make 25 | make check 26 | 27 | %install 28 | rm -rf $RPM_BUILD_ROOT 29 | make DESTDIR=$RPM_BUILD_ROOT install 30 | # rpmbuild automatically strips... strip $RPM_BUILD_ROOT/%%{_bindir}/* || true 31 | 32 | %clean 33 | rm -rf $RPM_BUILD_ROOT 34 | 35 | %files 36 | %{_bindir}/patchelf 37 | %doc %{_docdir}/patchelf/README 38 | %{_mandir}/man1/patchelf.1.gz 39 | -------------------------------------------------------------------------------- /patchelf.spec.in: -------------------------------------------------------------------------------- 1 | Summary: A utility for patching ELF binaries 2 | 3 | Name: patchelf 4 | Version: @PACKAGE_VERSION@ 5 | Release: 1 6 | License: GPL 7 | Group: Development/Tools 8 | URL: http://nixos.org/patchelf.html 9 | Source0: %{name}-%{version}.tar.bz2 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot 11 | Prefix: /usr 12 | 13 | %description 14 | 15 | PatchELF is a simple utility for modifing existing ELF executables and 16 | libraries. It can change the dynamic loader ("ELF interpreter") of 17 | executables and change the RPATH of executables and libraries. 18 | 19 | %prep 20 | %setup -q 21 | 22 | %build 23 | ./configure --prefix=%{_prefix} 24 | make 25 | make check 26 | 27 | %install 28 | rm -rf $RPM_BUILD_ROOT 29 | make DESTDIR=$RPM_BUILD_ROOT install 30 | # rpmbuild automatically strips... strip $RPM_BUILD_ROOT/%%{_bindir}/* || true 31 | 32 | %clean 33 | rm -rf $RPM_BUILD_ROOT 34 | 35 | %files 36 | %{_bindir}/patchelf 37 | %doc %{_docdir}/patchelf/README 38 | %{_mandir}/man1/patchelf.1.gz 39 | -------------------------------------------------------------------------------- /tests/set-interpreter-long.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh -e 2 | SCRATCH=scratch/$(basename $0 .sh) 3 | 4 | ./simple 5 | 6 | oldInterpreter=$(../src/patchelf --print-interpreter ./simple) 7 | echo "current interpreter is $oldInterpreter" 8 | 9 | if test "$(uname)" = Linux; then 10 | echo "running with explicit interpreter..." 11 | "$oldInterpreter" ./simple 12 | fi 13 | 14 | rm -rf ${SCRATCH} 15 | mkdir -p ${SCRATCH} 16 | 17 | newInterpreter=$(pwd)/${SCRATCH}/iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii 18 | cp simple ${SCRATCH}/ 19 | ../src/patchelf --set-interpreter "$newInterpreter" ${SCRATCH}/simple 20 | 21 | echo "running with missing interpreter..." 22 | if ${SCRATCH}/simple; then 23 | echo "simple works, but it shouldn't" 24 | exit 1 25 | fi 26 | 27 | echo "running with new interpreter..." 28 | ln -s "$oldInterpreter" "$newInterpreter" 29 | ${SCRATCH}/simple 30 | 31 | if test "$(uname)" = Linux; then 32 | echo "running with explicit interpreter..." 33 | "$oldInterpreter" ${SCRATCH}/simple 34 | fi 35 | -------------------------------------------------------------------------------- /tests/no-rpath-prebuild.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh -e 2 | set -x 3 | ARCH="$1" 4 | 5 | if [ -z "$ARCH" ]; then 6 | ARCH=$(basename $0 .sh | sed -e 's/.*-//') 7 | fi 8 | 9 | SCRATCH=scratch/no-rpath-$ARCH 10 | 11 | if [ -z "$ARCH" ] || [ $ARCH = prebuild ] ; then 12 | echo "Architecture required" 13 | exit 1 14 | fi 15 | 16 | no_rpath_bin="${srcdir}/no-rpath-prebuild/no-rpath-$ARCH" 17 | 18 | if [ ! -f $no_rpath_bin ]; then 19 | echo "no 'no-rpath' binary for '$ARCH' in '${srcdir}/no-rpath-prebuild'" 20 | exit 1 21 | fi 22 | 23 | rm -rf ${SCRATCH} 24 | mkdir -p ${SCRATCH} 25 | 26 | cp $no_rpath_bin ${SCRATCH}/no-rpath 27 | 28 | oldRPath=$(../src/patchelf --print-rpath ${SCRATCH}/no-rpath) 29 | if test -n "$oldRPath"; then exit 1; fi 30 | ../src/patchelf \ 31 | --set-interpreter "$(../src/patchelf --print-interpreter ../src/patchelf)" \ 32 | --set-rpath /foo:/bar:/xxxxxxxxxxxxxxx ${SCRATCH}/no-rpath 33 | 34 | newRPath=$(../src/patchelf --print-rpath ${SCRATCH}/no-rpath) 35 | if ! echo "$newRPath" | grep -q '/foo:/bar'; then 36 | echo "incomplete RPATH" 37 | exit 1 38 | fi 39 | -------------------------------------------------------------------------------- /tests/soname.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh -e 2 | SCRATCH=scratch/$(basename $0 .sh) 3 | 4 | rm -rf ${SCRATCH} 5 | mkdir -p ${SCRATCH} 6 | 7 | cp libsimple.so ${SCRATCH}/ 8 | 9 | # set an initial DT_SONAME entry 10 | ../src/patchelf --set-soname libsimple.so.1.0 ${SCRATCH}/libsimple.so 11 | newSoname=$(../src/patchelf --print-soname ${SCRATCH}/libsimple.so) 12 | if test "$newSoname" != libsimple.so.1.0; then 13 | echo "failed --set-soname test. Expected newSoname: libsimple.so.1.0, got: $newSoname" 14 | exit 1 15 | fi 16 | 17 | # print DT_SONAME 18 | soname=$(../src/patchelf --print-soname ${SCRATCH}/libsimple.so) 19 | if test "$soname" != libsimple.so.1.0; then 20 | echo "failed --print-soname test. Expected soname: libsimple.so.1.0, got: $soname" 21 | exit 1 22 | fi 23 | 24 | # replace DT_SONAME entry 25 | ../src/patchelf --set-soname libsimple.so.1.1 ${SCRATCH}/libsimple.so 26 | newSoname=$(../src/patchelf --print-soname ${SCRATCH}/libsimple.so) 27 | if test "$newSoname" != libsimple.so.1.1; then 28 | echo "failed --set-soname test. Expected newSoname: libsimple.so.1.1, got: $newSoname" 29 | exit 1 30 | fi 31 | -------------------------------------------------------------------------------- /tests/set-rpath-library.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh -e 2 | SCRATCH=scratch/$(basename $0 .sh) 3 | 4 | if test "$(uname)" = FreeBSD; then 5 | echo "skipping on FreeBSD" 6 | exit 0 7 | fi 8 | 9 | rm -rf ${SCRATCH} 10 | mkdir -p ${SCRATCH} 11 | mkdir -p ${SCRATCH}/libsA 12 | mkdir -p ${SCRATCH}/libsB 13 | 14 | cp main-scoped ${SCRATCH}/ 15 | cp libfoo-scoped.so ${SCRATCH}/libsA/ 16 | cp libbar-scoped.so ${SCRATCH}/libsB/ 17 | 18 | oldRPath=$(../src/patchelf --print-rpath ${SCRATCH}/main-scoped) 19 | if test -z "$oldRPath"; then oldRPath="/oops"; fi 20 | ../src/patchelf --set-rpath $oldRPath:$(pwd)/${SCRATCH}/libsA:$(pwd)/${SCRATCH}/libsB ${SCRATCH}/main-scoped 21 | 22 | # "main" contains libbar in its RUNPATH, but that's ignored when 23 | # resolving libfoo. So libfoo won't find libbar and this will fail. 24 | exitCode=0 25 | (cd ${SCRATCH} && ./main-scoped) || exitCode=$? 26 | 27 | if test "$exitCode" = 46; then 28 | echo "expected failure" 29 | exit 1 30 | fi 31 | 32 | # So set an RUNPATH on libfoo as well. 33 | oldRPath=$(../src/patchelf --print-rpath ${SCRATCH}/libsA/libfoo-scoped.so) 34 | if test -z "$oldRPath"; then oldRPath="/oops"; fi 35 | ../src/patchelf --set-rpath $oldRPath:$(pwd)/${SCRATCH}/libsB ${SCRATCH}/libsA/libfoo-scoped.so 36 | 37 | exitCode=0 38 | (cd ${SCRATCH} && ./main-scoped) || exitCode=$? 39 | 40 | if test "$exitCode" != 46; then 41 | echo "bad exit code!" 42 | exit 1 43 | fi 44 | 45 | # Remove the libbar PATH from main using --shrink-rpath. 46 | ../src/patchelf --shrink-rpath ${SCRATCH}/main-scoped 47 | if ../src/patchelf --print-rpath ${SCRATCH}/main-scoped | grep /libsB; then 48 | echo "shrink failed" 49 | exit 1 50 | fi 51 | 52 | # And it should still run. 53 | exitCode=0 54 | (cd ${SCRATCH} && ./main-scoped) || exitCode=$? 55 | 56 | if test "$exitCode" != 46; then 57 | echo "bad exit code!" 58 | exit 1 59 | fi 60 | -------------------------------------------------------------------------------- /patchelf.1: -------------------------------------------------------------------------------- 1 | .\" Process this file with 2 | .\" groff -man -Tascii foo.1 3 | .\" 4 | .TH PATCHELF 1 "JUNE 2010" PATCHELF "User Manuals" 5 | .SH NAME 6 | patchelf - Modify ELF files 7 | 8 | .SH SYNOPSIS 9 | .B patchelf 10 | .I OPTION 11 | .B 12 | .I FILE 13 | .B 14 | 15 | .SH DESCRIPTION 16 | 17 | PatchELF is a simple utility for modifying existing ELF executables 18 | and libraries. It can change the dynamic loader ("ELF interpreter") 19 | of executables and change the RPATH of executables and libraries. 20 | 21 | .SH OPTIONS 22 | 23 | The single option given operates on a given FILE, editing in place. 24 | 25 | .IP "--page-size SIZE" 26 | Uses the given page size instead of the default. 27 | 28 | .IP "--set-interpreter INTERPRETER" 29 | Change the dynamic loader ("ELF interpreter") of executable given to 30 | INTERPRETER. 31 | 32 | .IP --print-interpreter 33 | Prints the ELF interpreter of the executable. 34 | 35 | .IP --print-soname 36 | Prints DT_SONAME entry of .dynamic section. 37 | Raises an error if DT_SONAME doesn't exist. 38 | 39 | .IP "--set-soname SONAME" 40 | Sets DT_SONAME entry of a library to SONAME. 41 | 42 | .IP "--set-rpath RPATH" 43 | Change the RPATH of the executable or library to RPATH. 44 | 45 | .IP --remove-rpath 46 | Removes the DT_RPATH or DT_RUNPATH entry of the executable or library. 47 | 48 | .IP --shrink-rpath 49 | Remove from the RPATH all directories that do not contain a 50 | library referenced by DT_NEEDED fields of the executable or library. 51 | 52 | For instance, if an executable references one library libfoo.so, has 53 | an RPATH "/lib:/usr/lib:/foo/lib", and libfoo.so can only be found 54 | in /foo/lib, then the new RPATH will be "/foo/lib". 55 | 56 | .IP --print-rpath 57 | Prints the RPATH for an executable or library. 58 | 59 | .IP --force-rpath 60 | Forces the use of the obsolete DT_RPATH in the file instead of 61 | DT_RUNPATH. By default DT_RPATH is converted to DT_RUNPATH. 62 | 63 | .IP "--add-needed LIBRARY" 64 | Adds a declared dependency on a dynamic library (DT_NEEDED). 65 | This option can be give multiple times. 66 | 67 | .IP "--replace-needed LIB_ORIG LIB_NEW" 68 | Replaces a declared dependency on a dynamic library with another one (DT_NEEDED). 69 | This option can be give multiple times. 70 | 71 | .IP "--remove-needed LIBRARY" 72 | Removes a declared depency on LIBRARY (DT_NEEDED entry). This 73 | option can be given multiple times. 74 | 75 | .IP "--no-default-lib" 76 | Marks the object that the search for dependencies of this object will ignore any 77 | default library search paths. 78 | 79 | .IP --debug 80 | Prints details of the changes made to the input file. 81 | 82 | .IP --version 83 | Shows the version of patchelf. 84 | 85 | .SH AUTHOR 86 | Eelco Dolstra 87 | 88 | .SH "SEE ALSO" 89 | .BR elf (5), 90 | .BR ld.so (8) 91 | 92 | 93 | -------------------------------------------------------------------------------- /tests/Makefile.am: -------------------------------------------------------------------------------- 1 | LIBS = 2 | 3 | check_PROGRAMS = simple main main-scoped big-dynstr no-rpath 4 | 5 | no_rpath_arch_TESTS = \ 6 | no-rpath-amd64.sh \ 7 | no-rpath-armel.sh \ 8 | no-rpath-armhf.sh \ 9 | no-rpath-hurd-i386.sh \ 10 | no-rpath-i386.sh \ 11 | no-rpath-ia64.sh \ 12 | no-rpath-kfreebsd-amd64.sh \ 13 | no-rpath-kfreebsd-i386.sh \ 14 | no-rpath-mips.sh \ 15 | no-rpath-mipsel.sh \ 16 | no-rpath-powerpc.sh \ 17 | no-rpath-s390.sh \ 18 | no-rpath-sh4.sh \ 19 | no-rpath-sparc.sh 20 | 21 | src_TESTS = \ 22 | plain-fail.sh plain-run.sh shrink-rpath.sh set-interpreter-short.sh \ 23 | set-interpreter-long.sh set-rpath.sh no-rpath.sh big-dynstr.sh \ 24 | set-rpath-library.sh soname.sh 25 | 26 | build_TESTS = \ 27 | $(no_rpath_arch_TESTS) 28 | 29 | TESTS = $(src_TESTS) $(build_TESTS) 30 | 31 | EXTRA_DIST = no-rpath-prebuild $(src_TESTS) no-rpath-prebuild.sh 32 | 33 | TESTS_ENVIRONMENT = PATCHELF_DEBUG=1 34 | 35 | $(no_rpath_arch_TESTS): no-rpath-prebuild.sh 36 | @ln -s $< $@ 37 | 38 | CLEANFILES = big-dynstr.c 39 | clean-local: 40 | $(RM) -r scratch $(no_rpath_arch_TESTS) 41 | 42 | # by default, use -fpic to compile 43 | AM_CFLAGS = -fpic 44 | LDFLAGS_local = -Wl,--disable-new-dtags -Wl,-rpath-link=. -L. $(AM_LDFLAGS) 45 | LDFLAGS_sharedlib = -Wl,--disable-new-dtags -shared -L. $(AM_LDFLAGS) 46 | export NIX_DONT_SET_RPATH=1 47 | export NIX_LDFLAGS= 48 | 49 | simple_SOURCES = simple.c 50 | # no -fpic for simple.o 51 | simple_CFLAGS = 52 | 53 | main_SOURCES = main.c 54 | main_LDADD = -lfoo $(AM_LDADD) 55 | main_DEPENDENCIES = libfoo.so 56 | main_LDFLAGS = $(LDFLAGS_local) 57 | 58 | main_scoped_SOURCES = main.c 59 | main_scoped_LDADD = -lfoo-scoped $(AM_LDADD) 60 | main_scoped_DEPENDENCIES = libfoo-scoped.so 61 | main_scoped_LDFLAGS = $(LDFLAGS_local) 62 | 63 | big-dynstr.c: main.c 64 | cat $< > big-dynstr.c 65 | for i in $$(seq 1 2000); do echo "void f$$i(void) { };" >> big-dynstr.c; done 66 | 67 | nodist_big_dynstr_SOURCES = big-dynstr.c 68 | big_dynstr_LDADD = -lfoo $(AM_LDADD) 69 | big_dynstr_DEPENDENCIES = libfoo.so 70 | big_dynstr_LDFLAGS = $(LDFLAGS_local) 71 | 72 | # declare local shared libraries as programs as: 73 | # - without libtool, only archives (static libraries) can be built by automake 74 | # - with libtool, it is difficult to control options 75 | # - with libtool, it is not possible to compile convenience *dynamic* libraries :-( 76 | check_PROGRAMS += libfoo.so libfoo-scoped.so libbar.so libbar-scoped.so libsimple.so 77 | 78 | libfoo_so_SOURCES = foo.c 79 | libfoo_so_LDADD = -lbar $(AM_LDADD) 80 | libfoo_so_DEPENDENCIES = libbar.so 81 | libfoo_so_LDFLAGS = $(LDFLAGS_sharedlib) 82 | 83 | libfoo_scoped_so_SOURCES = foo.c 84 | libfoo_scoped_so_LDADD = -lbar-scoped $(AM_LDADD) 85 | libfoo_scoped_so_DEPENDENCIES = libbar-scoped.so 86 | libfoo_scoped_so_LDFLAGS = $(LDFLAGS_sharedlib) 87 | 88 | libbar_so_SOURCES = bar.c 89 | libbar_so_LDFLAGS = $(LDFLAGS_sharedlib) -Wl,-rpath,`pwd`/no-such-path 90 | 91 | libbar_scoped_so_SOURCES = bar.c 92 | libbar_scoped_so_LDFLAGS = $(LDFLAGS_sharedlib) 93 | 94 | libsimple_so_SOURCES = simple.c 95 | libsimple_so_LDFLAGS = $(LDFLAGS_sharedlib) 96 | 97 | no_rpath_SOURCES = no-rpath.c 98 | # no -fpic for no-rpath.o 99 | no_rpath_CFLAGS = 100 | -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | PatchELF is a simple utility for modifing existing ELF executables and 2 | libraries. In particular, it can do the following: 3 | 4 | * Change the dynamic loader ("ELF interpreter") of executables: 5 | 6 | $ patchelf --set-interpreter /lib/my-ld-linux.so.2 my-program 7 | 8 | * Change the RPATH of executables and libraries: 9 | 10 | $ patchelf --set-rpath /opt/my-libs/lib:/other-libs my-program 11 | 12 | * Shrink the RPATH of executables and libraries: 13 | 14 | $ patchelf --shrink-rpath my-program 15 | 16 | This removes from the RPATH all directories that do not contain a 17 | library referenced by DT_NEEDED fields of the executable or library. 18 | For instance, if an executable references one library libfoo.so, has 19 | an RPATH "/lib:/usr/lib:/foo/lib", and libfoo.so can only be found 20 | in /foo/lib, then the new RPATH will be "/foo/lib". 21 | 22 | * Remove declared dependencies on dynamic libraries (DT_NEEDED 23 | entries): 24 | 25 | $ patchelf --remove-needed libfoo.so.1 my-program 26 | 27 | This option can be given multiple times. 28 | 29 | * Add a declared dependency on a dynamic library (DT_NEEDED): 30 | 31 | $ patchelf --add-needed libfoo.so.1 my-program 32 | 33 | This option can be give multiple times. 34 | 35 | * Replace a declared dependency on a dynamic library with another one 36 | (DT_NEEDED): 37 | 38 | $ patchelf --replace-needed liboriginal.so.1 libreplacement.so.1 my-program 39 | 40 | This option can be give multiple times. 41 | 42 | 43 | AUTHOR 44 | 45 | Copyright 2004-2016 Eelco Dolstra . 46 | 47 | 48 | LICENSE 49 | 50 | This program is free software: you can redistribute it and/or modify 51 | it under the terms of the GNU General Public License as published by 52 | the Free Software Foundation, either version 3 of the License, or (at 53 | your option) any later version. 54 | 55 | This program is distributed in the hope that it will be useful, but 56 | WITHOUT ANY WARRANTY; without even the implied warranty of 57 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 58 | General Public License for more details. 59 | 60 | You should have received a copy of the GNU General Public License 61 | along with this program. If not, see . 62 | 63 | 64 | HOMEPAGE 65 | 66 | http://nixos.org/patchelf.html 67 | 68 | 69 | BUGS 70 | 71 | The `strip' command from binutils generated broken executables when 72 | applied to the output of patchelf (if `--set-rpath' or 73 | `--set-interpreter' with a larger path than the original is used). 74 | This appears to be a bug in binutils 75 | (http://bugs.strategoxt.org/browse/NIXPKGS-85). 76 | 77 | 78 | RELEASE HISTORY 79 | 80 | 0.9 (February 29, 2016): 81 | 82 | * Lots of new features. Please refer to the Git commit log: 83 | 84 | https://github.com/NixOS/patchelf/commits/master 85 | 86 | This release has contributions from Aaron D. Marasco, Adrien 87 | Devresse, Alexandre Pretyman, Changli Gao, Chingis Dugarzhapov, 88 | darealshinji, David Sveningsson, Eelco Dolstra, Felipe Sateler, 89 | Jeremy Sanders, Jonas Kuemmerlin, Thomas Tuegel, Tuomas Tynkkynen, 90 | Vincent Danjean and Vladimír Čunát. 91 | 92 | 0.8 (January 15, 2014): 93 | 94 | * Fix a segfault caused by certain illegal entries in symbol tables. 95 | 96 | 0.7 (January 7, 2014): 97 | 98 | * Rewrite section indices in symbol tables. This for instance allows 99 | gdb to show proper backtraces. 100 | 101 | * Added `--remove-needed' option. 102 | 103 | 0.6 (November 7, 2011): 104 | 105 | * Hacky support for executables created by the Gold linker. 106 | 107 | * Support segments with an alignment of 0 (contributed by Zack 108 | Weinberg). 109 | 110 | * Added a manual page (contributed by Jeremy Sanders 111 | ). 112 | 113 | 0.5 (November 4, 2009): 114 | 115 | * Various bugfixes. 116 | 117 | * `--force-rpath' now deletes the DT_RUNPATH if it is present. 118 | 119 | 0.4 (June 4, 2008): 120 | 121 | * Support for growing the RPATH on dynamic libraries. 122 | 123 | * IA-64 support (not tested) and related 64-bit fixes. 124 | 125 | * FreeBSD support. 126 | 127 | * `--set-rpath', `--shrink-rpath' and `--print-rpath' now prefer 128 | DT_RUNPATH over DT_RPATH, which is obsolete. When updating, if both 129 | are present, both are updated. If only DT_RPATH is present, it is 130 | converted to DT_RUNPATH unless `--force-rpath' is specified. If 131 | neither is present, a DT_RUNPATH is added unless `--force-rpath' is 132 | specified, in which case a DT_RPATH is added. 133 | 134 | 0.3 (May 24, 2007): 135 | 136 | * Support for 64-bit ELF binaries (such as on x86_64-linux). 137 | 138 | * Support for big-endian ELF binaries (such as on powerpc-linux). 139 | 140 | * Various bugfixes. 141 | 142 | 0.2 (January 15, 2007): 143 | 144 | * Provides a hack to get certain programs (such as the 145 | Belastingaangifte 2005) to work. 146 | 147 | 0.1 (October 11, 2005): 148 | 149 | * Initial release. 150 | 151 | -------------------------------------------------------------------------------- /config.log: -------------------------------------------------------------------------------- 1 | This file contains any messages produced by compilers while 2 | running configure, to aid debugging if configure makes a mistake. 3 | 4 | It was created by patchelf configure 0.9, which was 5 | generated by GNU Autoconf 2.69. Invocation command line was 6 | 7 | $ ./configure --host=aarch64-linux-android CC=aarch64-linux-android-gcc CXX=aarch64-linux-android-g++ CFLAGS=-static -O2 -fPIE LDFLAGS=-static -O2 -fPIE 8 | 9 | ## --------- ## 10 | ## Platform. ## 11 | ## --------- ## 12 | 13 | hostname = devil 14 | uname -m = x86_64 15 | uname -r = 4.4.0-2-deepin-amd64 16 | uname -s = Linux 17 | uname -v = #1 SMP Deepin 4.4.6-4 (2016-07-01) 18 | 19 | /usr/bin/uname -p = unknown 20 | /bin/uname -X = unknown 21 | 22 | /bin/arch = unknown 23 | /usr/bin/arch -k = unknown 24 | /usr/convex/getsysinfo = unknown 25 | /usr/bin/hostinfo = unknown 26 | /bin/machine = unknown 27 | /usr/bin/oslevel = unknown 28 | /bin/universe = unknown 29 | 30 | PATH: /home/crixec/Android/android-ndk-r11c 31 | PATH: /home/crixec/opt/jdk1.8.0_102/bin 32 | PATH: /home/crixec/opt/jdk1.8.0_102/jre/bin 33 | PATH: /home/crixec/opt/aarch64-linux-android/bin 34 | PATH: /home/crixec/opt/arm-linux-androideabi/bin 35 | PATH: /usr/local/bin 36 | PATH: /usr/bin 37 | PATH: /bin 38 | PATH: /usr/local/games 39 | PATH: /usr/games 40 | 41 | 42 | ## ----------- ## 43 | ## Core tests. ## 44 | ## ----------- ## 45 | 46 | configure:1885: checking for a BSD-compatible install 47 | configure:1953: result: /usr/bin/install -c 48 | configure:1964: checking whether build environment is sane 49 | configure:2019: result: yes 50 | configure:2078: checking for aarch64-linux-android-strip 51 | configure:2094: found /home/crixec/opt/aarch64-linux-android/bin/aarch64-linux-android-strip 52 | configure:2105: result: aarch64-linux-android-strip 53 | configure:2170: checking for a thread-safe mkdir -p 54 | configure:2209: result: /bin/mkdir -p 55 | configure:2216: checking for gawk 56 | configure:2232: found /usr/bin/gawk 57 | configure:2243: result: gawk 58 | configure:2254: checking whether make sets $(MAKE) 59 | configure:2276: result: yes 60 | configure:2305: checking whether make supports nested variables 61 | configure:2322: result: yes 62 | configure:2461: checking for style of include used by make 63 | configure:2489: result: GNU 64 | configure:2520: checking for aarch64-linux-android-gcc 65 | configure:2547: result: aarch64-linux-android-gcc 66 | configure:2816: checking for C compiler version 67 | configure:2825: aarch64-linux-android-gcc --version >&5 68 | aarch64-linux-android-gcc (GCC) 4.9.x 20150123 (prerelease) 69 | Copyright (C) 2014 Free Software Foundation, Inc. 70 | This is free software; see the source for copying conditions. There is NO 71 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 72 | 73 | configure:2836: $? = 0 74 | configure:2825: aarch64-linux-android-gcc -v >&5 75 | Using built-in specs. 76 | COLLECT_GCC=aarch64-linux-android-gcc 77 | COLLECT_LTO_WRAPPER=/home/crixec/opt/aarch64-linux-android/bin/../libexec/gcc/aarch64-linux-android/4.9.x/lto-wrapper 78 | Target: aarch64-linux-android 79 | Configured with: /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/configure --prefix=/tmp/8ee0b8157b3409c4b84fff35696d6c90 --target=aarch64-linux-android --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/buildbot/tmp/build/toolchain/temp-install --with-mpfr=/buildbot/tmp/build/toolchain/temp-install --with-mpc=/buildbot/tmp/build/toolchain/temp-install --with-cloog=/buildbot/tmp/build/toolchain/temp-install --with-isl=/buildbot/tmp/build/toolchain/temp-install --with-ppl=/buildbot/tmp/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --enable-bionic-libs --enable-libatomic-ifuncs=no --enable-initfini-array --disable-nls --prefix=/tmp/8ee0b8157b3409c4b84fff35696d6c90 --with-sysroot=/tmp/8ee0b8157b3409c4b84fff35696d6c90/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.9 --with-gdb-version=none --with-gxx-include-dir=/tmp/8ee0b8157b3409c4b84fff35696d6c90/include/c++/4.9.x --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-ld=default --enable-threads --enable-eh-frame-hdr-for-static --enable-fix-cortex-a53-835769 --enable-graphite=yes --with-isl-version=0.11.1 --with-cloog-version=0.18.0 --program-transform-name='s&^&aarch64-linux-android-&' --enable-gold 80 | Thread model: posix 81 | gcc version 4.9.x 20150123 (prerelease) (GCC) 82 | configure:2836: $? = 0 83 | configure:2825: aarch64-linux-android-gcc -V >&5 84 | aarch64-linux-android-gcc: error: unrecognized command line option '-V' 85 | aarch64-linux-android-gcc: fatal error: no input files 86 | compilation terminated. 87 | configure:2836: $? = 1 88 | configure:2825: aarch64-linux-android-gcc -qversion >&5 89 | aarch64-linux-android-gcc: error: unrecognized command line option '-qversion' 90 | aarch64-linux-android-gcc: fatal error: no input files 91 | compilation terminated. 92 | configure:2836: $? = 1 93 | configure:2856: checking whether the C compiler works 94 | configure:2878: aarch64-linux-android-gcc -static -O2 -fPIE -static -O2 -fPIE conftest.c >&5 95 | configure:2882: $? = 0 96 | configure:2930: result: yes 97 | configure:2933: checking for C compiler default output file name 98 | configure:2935: result: a.out 99 | configure:2941: checking for suffix of executables 100 | configure:2948: aarch64-linux-android-gcc -o conftest -static -O2 -fPIE -static -O2 -fPIE conftest.c >&5 101 | configure:2952: $? = 0 102 | configure:2974: result: 103 | configure:2996: checking whether we are cross compiling 104 | configure:3004: aarch64-linux-android-gcc -o conftest -static -O2 -fPIE -static -O2 -fPIE conftest.c >&5 105 | configure:3008: $? = 0 106 | configure:3015: ./conftest 107 | ./configure: line 3017: ./conftest: cannot execute binary file: Exec format error 108 | configure:3019: $? = 126 109 | configure:3034: result: yes 110 | configure:3039: checking for suffix of object files 111 | configure:3061: aarch64-linux-android-gcc -c -static -O2 -fPIE conftest.c >&5 112 | configure:3065: $? = 0 113 | configure:3086: result: o 114 | configure:3090: checking whether we are using the GNU C compiler 115 | configure:3109: aarch64-linux-android-gcc -c -static -O2 -fPIE conftest.c >&5 116 | configure:3109: $? = 0 117 | configure:3118: result: yes 118 | configure:3127: checking whether aarch64-linux-android-gcc accepts -g 119 | configure:3147: aarch64-linux-android-gcc -c -g conftest.c >&5 120 | configure:3147: $? = 0 121 | configure:3188: result: yes 122 | configure:3205: checking for aarch64-linux-android-gcc option to accept ISO C89 123 | configure:3268: aarch64-linux-android-gcc -c -static -O2 -fPIE conftest.c >&5 124 | configure:3268: $? = 0 125 | configure:3281: result: none needed 126 | configure:3306: checking whether aarch64-linux-android-gcc understands -c and -o together 127 | configure:3328: aarch64-linux-android-gcc -c conftest.c -o conftest2.o 128 | configure:3331: $? = 0 129 | configure:3328: aarch64-linux-android-gcc -c conftest.c -o conftest2.o 130 | configure:3331: $? = 0 131 | configure:3343: result: yes 132 | configure:3362: checking dependency style of aarch64-linux-android-gcc 133 | configure:3473: result: gcc3 134 | configure:3601: checking for C++ compiler version 135 | configure:3610: aarch64-linux-android-g++ --version >&5 136 | aarch64-linux-android-g++ (GCC) 4.9.x 20150123 (prerelease) 137 | Copyright (C) 2014 Free Software Foundation, Inc. 138 | This is free software; see the source for copying conditions. There is NO 139 | warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 140 | 141 | configure:3621: $? = 0 142 | configure:3610: aarch64-linux-android-g++ -v >&5 143 | Using built-in specs. 144 | COLLECT_GCC=aarch64-linux-android-g++ 145 | COLLECT_LTO_WRAPPER=/home/crixec/opt/aarch64-linux-android/bin/../libexec/gcc/aarch64-linux-android/4.9.x/lto-wrapper 146 | Target: aarch64-linux-android 147 | Configured with: /usr/local/google/buildbot/src/android/gcc/toolchain/build/../gcc/gcc-4.9/configure --prefix=/tmp/8ee0b8157b3409c4b84fff35696d6c90 --target=aarch64-linux-android --host=x86_64-linux-gnu --build=x86_64-linux-gnu --with-gnu-as --with-gnu-ld --enable-languages=c,c++ --with-gmp=/buildbot/tmp/build/toolchain/temp-install --with-mpfr=/buildbot/tmp/build/toolchain/temp-install --with-mpc=/buildbot/tmp/build/toolchain/temp-install --with-cloog=/buildbot/tmp/build/toolchain/temp-install --with-isl=/buildbot/tmp/build/toolchain/temp-install --with-ppl=/buildbot/tmp/build/toolchain/temp-install --disable-ppl-version-check --disable-cloog-version-check --disable-isl-version-check --enable-cloog-backend=isl --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --disable-libssp --enable-threads --disable-nls --disable-libmudflap --disable-libgomp --disable-libstdc__-v3 --disable-sjlj-exceptions --disable-shared --disable-tls --disable-libitm --enable-bionic-libs --enable-libatomic-ifuncs=no --enable-initfini-array --disable-nls --prefix=/tmp/8ee0b8157b3409c4b84fff35696d6c90 --with-sysroot=/tmp/8ee0b8157b3409c4b84fff35696d6c90/sysroot --with-binutils-version=2.25 --with-mpfr-version=3.1.1 --with-mpc-version=1.0.1 --with-gmp-version=5.0.5 --with-gcc-version=4.9 --with-gdb-version=none --with-gxx-include-dir=/tmp/8ee0b8157b3409c4b84fff35696d6c90/include/c++/4.9.x --with-bugurl=http://source.android.com/source/report-bugs.html --enable-languages=c,c++ --disable-bootstrap --enable-plugins --enable-libgomp --enable-gnu-indirect-function --disable-libsanitizer --enable-gold --enable-ld=default --enable-threads --enable-eh-frame-hdr-for-static --enable-fix-cortex-a53-835769 --enable-graphite=yes --with-isl-version=0.11.1 --with-cloog-version=0.18.0 --program-transform-name='s&^&aarch64-linux-android-&' --enable-gold 148 | Thread model: posix 149 | gcc version 4.9.x 20150123 (prerelease) (GCC) 150 | configure:3621: $? = 0 151 | configure:3610: aarch64-linux-android-g++ -V >&5 152 | aarch64-linux-android-g++: error: unrecognized command line option '-V' 153 | aarch64-linux-android-g++: fatal error: no input files 154 | compilation terminated. 155 | configure:3621: $? = 1 156 | configure:3610: aarch64-linux-android-g++ -qversion >&5 157 | aarch64-linux-android-g++: error: unrecognized command line option '-qversion' 158 | aarch64-linux-android-g++: fatal error: no input files 159 | compilation terminated. 160 | configure:3621: $? = 1 161 | configure:3625: checking whether we are using the GNU C++ compiler 162 | configure:3644: aarch64-linux-android-g++ -c conftest.cpp >&5 163 | configure:3644: $? = 0 164 | configure:3653: result: yes 165 | configure:3662: checking whether aarch64-linux-android-g++ accepts -g 166 | configure:3682: aarch64-linux-android-g++ -c -g conftest.cpp >&5 167 | configure:3682: $? = 0 168 | configure:3723: result: yes 169 | configure:3748: checking dependency style of aarch64-linux-android-g++ 170 | configure:3859: result: gcc3 171 | configure:3897: result: Setting page size to 4096 172 | configure:4047: checking that generated files are newer than configure 173 | configure:4053: result: done 174 | configure:4080: creating ./config.status 175 | 176 | ## ---------------------- ## 177 | ## Running config.status. ## 178 | ## ---------------------- ## 179 | 180 | This file was extended by patchelf config.status 0.9, which was 181 | generated by GNU Autoconf 2.69. Invocation command line was 182 | 183 | CONFIG_FILES = 184 | CONFIG_HEADERS = 185 | CONFIG_LINKS = 186 | CONFIG_COMMANDS = 187 | $ ./config.status 188 | 189 | on devil 190 | 191 | config.status:781: creating Makefile 192 | config.status:781: creating src/Makefile 193 | config.status:781: creating tests/Makefile 194 | config.status:781: creating patchelf.spec 195 | config.status:953: executing depfiles commands 196 | 197 | ## ---------------- ## 198 | ## Cache variables. ## 199 | ## ---------------- ## 200 | 201 | ac_cv_c_compiler_gnu=yes 202 | ac_cv_cxx_compiler_gnu=yes 203 | ac_cv_env_CCC_set= 204 | ac_cv_env_CCC_value= 205 | ac_cv_env_CC_set=set 206 | ac_cv_env_CC_value=aarch64-linux-android-gcc 207 | ac_cv_env_CFLAGS_set=set 208 | ac_cv_env_CFLAGS_value='-static -O2 -fPIE' 209 | ac_cv_env_CPPFLAGS_set= 210 | ac_cv_env_CPPFLAGS_value= 211 | ac_cv_env_CXXFLAGS_set= 212 | ac_cv_env_CXXFLAGS_value= 213 | ac_cv_env_CXX_set=set 214 | ac_cv_env_CXX_value=aarch64-linux-android-g++ 215 | ac_cv_env_LDFLAGS_set=set 216 | ac_cv_env_LDFLAGS_value='-static -O2 -fPIE' 217 | ac_cv_env_LIBS_set= 218 | ac_cv_env_LIBS_value= 219 | ac_cv_env_build_alias_set= 220 | ac_cv_env_build_alias_value= 221 | ac_cv_env_host_alias_set=set 222 | ac_cv_env_host_alias_value=aarch64-linux-android 223 | ac_cv_env_target_alias_set= 224 | ac_cv_env_target_alias_value= 225 | ac_cv_objext=o 226 | ac_cv_path_install='/usr/bin/install -c' 227 | ac_cv_path_mkdir=/bin/mkdir 228 | ac_cv_prog_AWK=gawk 229 | ac_cv_prog_CC=aarch64-linux-android-gcc 230 | ac_cv_prog_STRIP=aarch64-linux-android-strip 231 | ac_cv_prog_cc_c89= 232 | ac_cv_prog_cc_g=yes 233 | ac_cv_prog_cxx_g=yes 234 | ac_cv_prog_make_make_set=yes 235 | am_cv_CC_dependencies_compiler_type=gcc3 236 | am_cv_CXX_dependencies_compiler_type=gcc3 237 | am_cv_make_support_nested_variables=yes 238 | am_cv_prog_cc_c_o=yes 239 | 240 | ## ----------------- ## 241 | ## Output variables. ## 242 | ## ----------------- ## 243 | 244 | ACLOCAL='${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing aclocal-1.15' 245 | AMDEPBACKSLASH='\' 246 | AMDEP_FALSE='#' 247 | AMDEP_TRUE='' 248 | AMTAR='$${TAR-tar}' 249 | AM_BACKSLASH='\' 250 | AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' 251 | AM_DEFAULT_VERBOSITY='1' 252 | AM_V='$(V)' 253 | AUTOCONF='${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing autoconf' 254 | AUTOHEADER='${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing autoheader' 255 | AUTOMAKE='${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing automake-1.15' 256 | AWK='gawk' 257 | CC='aarch64-linux-android-gcc' 258 | CCDEPMODE='depmode=gcc3' 259 | CFLAGS='-static -O2 -fPIE' 260 | CPPFLAGS='' 261 | CXX='aarch64-linux-android-g++' 262 | CXXDEPMODE='depmode=gcc3' 263 | CXXFLAGS='-g -O2' 264 | CYGPATH_W='echo' 265 | DEFS='-DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"patchelf\ 0.9\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.9\" -DPAGESIZE=4096' 266 | DEPDIR='.deps' 267 | ECHO_C='' 268 | ECHO_N='-n' 269 | ECHO_T='' 270 | EXEEXT='' 271 | INSTALL_DATA='${INSTALL} -m 644' 272 | INSTALL_PROGRAM='${INSTALL}' 273 | INSTALL_SCRIPT='${INSTALL}' 274 | INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' 275 | LDFLAGS='-static -O2 -fPIE' 276 | LIBOBJS='' 277 | LIBS='' 278 | LTLIBOBJS='' 279 | MAKEINFO='${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing makeinfo' 280 | MKDIR_P='/bin/mkdir -p' 281 | OBJEXT='o' 282 | PACKAGE='patchelf' 283 | PACKAGE_BUGREPORT='' 284 | PACKAGE_NAME='patchelf' 285 | PACKAGE_STRING='patchelf 0.9' 286 | PACKAGE_TARNAME='patchelf' 287 | PACKAGE_URL='' 288 | PACKAGE_VERSION='0.9' 289 | PATH_SEPARATOR=':' 290 | SET_MAKE='' 291 | SHELL='/bin/bash' 292 | STRIP='aarch64-linux-android-strip' 293 | VERSION='0.9' 294 | ac_ct_CC='' 295 | ac_ct_CXX='' 296 | am__EXEEXT_FALSE='' 297 | am__EXEEXT_TRUE='#' 298 | am__fastdepCC_FALSE='#' 299 | am__fastdepCC_TRUE='' 300 | am__fastdepCXX_FALSE='#' 301 | am__fastdepCXX_TRUE='' 302 | am__include='include' 303 | am__isrc='' 304 | am__leading_dot='.' 305 | am__nodep='_no' 306 | am__quote='' 307 | am__tar='$${TAR-tar} chof - "$$tardir"' 308 | am__untar='$${TAR-tar} xf -' 309 | bindir='${exec_prefix}/bin' 310 | build_alias='' 311 | datadir='${datarootdir}' 312 | datarootdir='${prefix}/share' 313 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' 314 | dvidir='${docdir}' 315 | exec_prefix='${prefix}' 316 | host_alias='aarch64-linux-android' 317 | htmldir='${docdir}' 318 | includedir='${prefix}/include' 319 | infodir='${datarootdir}/info' 320 | install_sh='${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/install-sh' 321 | libdir='${exec_prefix}/lib' 322 | libexecdir='${exec_prefix}/libexec' 323 | localedir='${datarootdir}/locale' 324 | localstatedir='${prefix}/var' 325 | mandir='${datarootdir}/man' 326 | mkdir_p='$(MKDIR_P)' 327 | oldincludedir='/usr/include' 328 | pdfdir='${docdir}' 329 | prefix='/usr/local' 330 | program_transform_name='s,x,x,' 331 | psdir='${docdir}' 332 | sbindir='${exec_prefix}/sbin' 333 | sharedstatedir='${prefix}/com' 334 | sysconfdir='${prefix}/etc' 335 | target_alias='' 336 | 337 | ## ----------- ## 338 | ## confdefs.h. ## 339 | ## ----------- ## 340 | 341 | /* confdefs.h */ 342 | #define PACKAGE_NAME "patchelf" 343 | #define PACKAGE_TARNAME "patchelf" 344 | #define PACKAGE_VERSION "0.9" 345 | #define PACKAGE_STRING "patchelf 0.9" 346 | #define PACKAGE_BUGREPORT "" 347 | #define PACKAGE_URL "" 348 | #define PACKAGE "patchelf" 349 | #define VERSION "0.9" 350 | #define PAGESIZE 4096 351 | 352 | configure: exit 0 353 | -------------------------------------------------------------------------------- /src/Makefile.in: -------------------------------------------------------------------------------- 1 | # Makefile.in generated by automake 1.15 from Makefile.am. 2 | # @configure_input@ 3 | 4 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. 5 | 6 | # This Makefile.in is free software; the Free Software Foundation 7 | # gives unlimited permission to copy and/or distribute it, 8 | # with or without modifications, as long as this notice is preserved. 9 | 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | # PARTICULAR PURPOSE. 14 | 15 | @SET_MAKE@ 16 | 17 | VPATH = @srcdir@ 18 | am__is_gnu_make = { \ 19 | if test -z '$(MAKELEVEL)'; then \ 20 | false; \ 21 | elif test -n '$(MAKE_HOST)'; then \ 22 | true; \ 23 | elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ 24 | true; \ 25 | else \ 26 | false; \ 27 | fi; \ 28 | } 29 | am__make_running_with_option = \ 30 | case $${target_option-} in \ 31 | ?) ;; \ 32 | *) echo "am__make_running_with_option: internal error: invalid" \ 33 | "target option '$${target_option-}' specified" >&2; \ 34 | exit 1;; \ 35 | esac; \ 36 | has_opt=no; \ 37 | sane_makeflags=$$MAKEFLAGS; \ 38 | if $(am__is_gnu_make); then \ 39 | sane_makeflags=$$MFLAGS; \ 40 | else \ 41 | case $$MAKEFLAGS in \ 42 | *\\[\ \ ]*) \ 43 | bs=\\; \ 44 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ 45 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ 46 | esac; \ 47 | fi; \ 48 | skip_next=no; \ 49 | strip_trailopt () \ 50 | { \ 51 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ 52 | }; \ 53 | for flg in $$sane_makeflags; do \ 54 | test $$skip_next = yes && { skip_next=no; continue; }; \ 55 | case $$flg in \ 56 | *=*|--*) continue;; \ 57 | -*I) strip_trailopt 'I'; skip_next=yes;; \ 58 | -*I?*) strip_trailopt 'I';; \ 59 | -*O) strip_trailopt 'O'; skip_next=yes;; \ 60 | -*O?*) strip_trailopt 'O';; \ 61 | -*l) strip_trailopt 'l'; skip_next=yes;; \ 62 | -*l?*) strip_trailopt 'l';; \ 63 | -[dEDm]) skip_next=yes;; \ 64 | -[JT]) skip_next=yes;; \ 65 | esac; \ 66 | case $$flg in \ 67 | *$$target_option*) has_opt=yes; break;; \ 68 | esac; \ 69 | done; \ 70 | test $$has_opt = yes 71 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) 72 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) 73 | pkgdatadir = $(datadir)/@PACKAGE@ 74 | pkgincludedir = $(includedir)/@PACKAGE@ 75 | pkglibdir = $(libdir)/@PACKAGE@ 76 | pkglibexecdir = $(libexecdir)/@PACKAGE@ 77 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 78 | install_sh_DATA = $(install_sh) -c -m 644 79 | install_sh_PROGRAM = $(install_sh) -c 80 | install_sh_SCRIPT = $(install_sh) -c 81 | INSTALL_HEADER = $(INSTALL_DATA) 82 | transform = $(program_transform_name) 83 | NORMAL_INSTALL = : 84 | PRE_INSTALL = : 85 | POST_INSTALL = : 86 | NORMAL_UNINSTALL = : 87 | PRE_UNINSTALL = : 88 | POST_UNINSTALL = : 89 | bin_PROGRAMS = patchelf$(EXEEXT) 90 | subdir = src 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 92 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac 93 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 94 | $(ACLOCAL_M4) 95 | DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) 96 | mkinstalldirs = $(install_sh) -d 97 | CONFIG_CLEAN_FILES = 98 | CONFIG_CLEAN_VPATH_FILES = 99 | am__installdirs = "$(DESTDIR)$(bindir)" 100 | PROGRAMS = $(bin_PROGRAMS) 101 | am_patchelf_OBJECTS = patchelf.$(OBJEXT) 102 | patchelf_OBJECTS = $(am_patchelf_OBJECTS) 103 | patchelf_LDADD = $(LDADD) 104 | AM_V_P = $(am__v_P_@AM_V@) 105 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) 106 | am__v_P_0 = false 107 | am__v_P_1 = : 108 | AM_V_GEN = $(am__v_GEN_@AM_V@) 109 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) 110 | am__v_GEN_0 = @echo " GEN " $@; 111 | am__v_GEN_1 = 112 | AM_V_at = $(am__v_at_@AM_V@) 113 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) 114 | am__v_at_0 = @ 115 | am__v_at_1 = 116 | DEFAULT_INCLUDES = -I.@am__isrc@ 117 | depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp 118 | am__depfiles_maybe = depfiles 119 | am__mv = mv -f 120 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 121 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 122 | AM_V_CXX = $(am__v_CXX_@AM_V@) 123 | am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@) 124 | am__v_CXX_0 = @echo " CXX " $@; 125 | am__v_CXX_1 = 126 | CXXLD = $(CXX) 127 | CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ 128 | -o $@ 129 | AM_V_CXXLD = $(am__v_CXXLD_@AM_V@) 130 | am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@) 131 | am__v_CXXLD_0 = @echo " CXXLD " $@; 132 | am__v_CXXLD_1 = 133 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 134 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 135 | AM_V_CC = $(am__v_CC_@AM_V@) 136 | am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) 137 | am__v_CC_0 = @echo " CC " $@; 138 | am__v_CC_1 = 139 | CCLD = $(CC) 140 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 141 | AM_V_CCLD = $(am__v_CCLD_@AM_V@) 142 | am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) 143 | am__v_CCLD_0 = @echo " CCLD " $@; 144 | am__v_CCLD_1 = 145 | SOURCES = $(patchelf_SOURCES) 146 | DIST_SOURCES = $(patchelf_SOURCES) 147 | am__can_run_installinfo = \ 148 | case $$AM_UPDATE_INFO_DIR in \ 149 | n|no|NO) false;; \ 150 | *) (install-info --version) >/dev/null 2>&1;; \ 151 | esac 152 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) 153 | # Read a list of newline-separated strings from the standard input, 154 | # and print each of them once, without duplicates. Input order is 155 | # *not* preserved. 156 | am__uniquify_input = $(AWK) '\ 157 | BEGIN { nonempty = 0; } \ 158 | { items[$$0] = 1; nonempty = 1; } \ 159 | END { if (nonempty) { for (i in items) print i; }; } \ 160 | ' 161 | # Make sure the list of sources is unique. This is necessary because, 162 | # e.g., the same source file might be shared among _SOURCES variables 163 | # for different programs/libraries. 164 | am__define_uniq_tagged_files = \ 165 | list='$(am__tagged_files)'; \ 166 | unique=`for i in $$list; do \ 167 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 168 | done | $(am__uniquify_input)` 169 | ETAGS = etags 170 | CTAGS = ctags 171 | am__DIST_COMMON = $(srcdir)/Makefile.in \ 172 | $(top_srcdir)/build-aux/depcomp 173 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 174 | ACLOCAL = @ACLOCAL@ 175 | AMTAR = @AMTAR@ 176 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 177 | AUTOCONF = @AUTOCONF@ 178 | AUTOHEADER = @AUTOHEADER@ 179 | AUTOMAKE = @AUTOMAKE@ 180 | AWK = @AWK@ 181 | CC = @CC@ 182 | CCDEPMODE = @CCDEPMODE@ 183 | CFLAGS = @CFLAGS@ 184 | CPPFLAGS = @CPPFLAGS@ 185 | CXX = @CXX@ 186 | CXXDEPMODE = @CXXDEPMODE@ 187 | CXXFLAGS = @CXXFLAGS@ 188 | CYGPATH_W = @CYGPATH_W@ 189 | DEFS = @DEFS@ 190 | DEPDIR = @DEPDIR@ 191 | ECHO_C = @ECHO_C@ 192 | ECHO_N = @ECHO_N@ 193 | ECHO_T = @ECHO_T@ 194 | EXEEXT = @EXEEXT@ 195 | INSTALL = @INSTALL@ 196 | INSTALL_DATA = @INSTALL_DATA@ 197 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ 198 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ 199 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 200 | LDFLAGS = @LDFLAGS@ 201 | LIBOBJS = @LIBOBJS@ 202 | LIBS = @LIBS@ 203 | LTLIBOBJS = @LTLIBOBJS@ 204 | MAKEINFO = @MAKEINFO@ 205 | MKDIR_P = @MKDIR_P@ 206 | OBJEXT = @OBJEXT@ 207 | PACKAGE = @PACKAGE@ 208 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 209 | PACKAGE_NAME = @PACKAGE_NAME@ 210 | PACKAGE_STRING = @PACKAGE_STRING@ 211 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ 212 | PACKAGE_URL = @PACKAGE_URL@ 213 | PACKAGE_VERSION = @PACKAGE_VERSION@ 214 | PATH_SEPARATOR = @PATH_SEPARATOR@ 215 | SET_MAKE = @SET_MAKE@ 216 | SHELL = @SHELL@ 217 | STRIP = @STRIP@ 218 | VERSION = @VERSION@ 219 | abs_builddir = @abs_builddir@ 220 | abs_srcdir = @abs_srcdir@ 221 | abs_top_builddir = @abs_top_builddir@ 222 | abs_top_srcdir = @abs_top_srcdir@ 223 | ac_ct_CC = @ac_ct_CC@ 224 | ac_ct_CXX = @ac_ct_CXX@ 225 | am__include = @am__include@ 226 | am__leading_dot = @am__leading_dot@ 227 | am__quote = @am__quote@ 228 | am__tar = @am__tar@ 229 | am__untar = @am__untar@ 230 | bindir = @bindir@ 231 | build_alias = @build_alias@ 232 | builddir = @builddir@ 233 | datadir = @datadir@ 234 | datarootdir = @datarootdir@ 235 | docdir = @docdir@ 236 | dvidir = @dvidir@ 237 | exec_prefix = @exec_prefix@ 238 | host_alias = @host_alias@ 239 | htmldir = @htmldir@ 240 | includedir = @includedir@ 241 | infodir = @infodir@ 242 | install_sh = @install_sh@ 243 | libdir = @libdir@ 244 | libexecdir = @libexecdir@ 245 | localedir = @localedir@ 246 | localstatedir = @localstatedir@ 247 | mandir = @mandir@ 248 | mkdir_p = @mkdir_p@ 249 | oldincludedir = @oldincludedir@ 250 | pdfdir = @pdfdir@ 251 | prefix = @prefix@ 252 | program_transform_name = @program_transform_name@ 253 | psdir = @psdir@ 254 | sbindir = @sbindir@ 255 | sharedstatedir = @sharedstatedir@ 256 | srcdir = @srcdir@ 257 | sysconfdir = @sysconfdir@ 258 | target_alias = @target_alias@ 259 | top_build_prefix = @top_build_prefix@ 260 | top_builddir = @top_builddir@ 261 | top_srcdir = @top_srcdir@ 262 | AM_CXXFLAGS = -Wall 263 | patchelf_SOURCES = patchelf.cc elf.h 264 | all: all-am 265 | 266 | .SUFFIXES: 267 | .SUFFIXES: .cc .o .obj 268 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 269 | @for dep in $?; do \ 270 | case '$(am__configure_deps)' in \ 271 | *$$dep*) \ 272 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ 273 | && { if test -f $@; then exit 0; else break; fi; }; \ 274 | exit 1;; \ 275 | esac; \ 276 | done; \ 277 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ 278 | $(am__cd) $(top_srcdir) && \ 279 | $(AUTOMAKE) --foreign src/Makefile 280 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 281 | @case '$?' in \ 282 | *config.status*) \ 283 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 284 | *) \ 285 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 286 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 287 | esac; 288 | 289 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 290 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 291 | 292 | $(top_srcdir)/configure: $(am__configure_deps) 293 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 294 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) 295 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 296 | $(am__aclocal_m4_deps): 297 | install-binPROGRAMS: $(bin_PROGRAMS) 298 | @$(NORMAL_INSTALL) 299 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ 300 | if test -n "$$list"; then \ 301 | echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ 302 | $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ 303 | fi; \ 304 | for p in $$list; do echo "$$p $$p"; done | \ 305 | sed 's/$(EXEEXT)$$//' | \ 306 | while read p p1; do if test -f $$p \ 307 | ; then echo "$$p"; echo "$$p"; else :; fi; \ 308 | done | \ 309 | sed -e 'p;s,.*/,,;n;h' \ 310 | -e 's|.*|.|' \ 311 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ 312 | sed 'N;N;N;s,\n, ,g' | \ 313 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ 314 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ 315 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ 316 | else { print "f", $$3 "/" $$4, $$1; } } \ 317 | END { for (d in files) print "f", d, files[d] }' | \ 318 | while read type dir files; do \ 319 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ 320 | test -z "$$files" || { \ 321 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ 322 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ 323 | } \ 324 | ; done 325 | 326 | uninstall-binPROGRAMS: 327 | @$(NORMAL_UNINSTALL) 328 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ 329 | files=`for p in $$list; do echo "$$p"; done | \ 330 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ 331 | -e 's/$$/$(EXEEXT)/' \ 332 | `; \ 333 | test -n "$$list" || exit 0; \ 334 | echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ 335 | cd "$(DESTDIR)$(bindir)" && rm -f $$files 336 | 337 | clean-binPROGRAMS: 338 | -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) 339 | 340 | patchelf$(EXEEXT): $(patchelf_OBJECTS) $(patchelf_DEPENDENCIES) $(EXTRA_patchelf_DEPENDENCIES) 341 | @rm -f patchelf$(EXEEXT) 342 | $(AM_V_CXXLD)$(CXXLINK) $(patchelf_OBJECTS) $(patchelf_LDADD) $(LIBS) 343 | 344 | mostlyclean-compile: 345 | -rm -f *.$(OBJEXT) 346 | 347 | distclean-compile: 348 | -rm -f *.tab.c 349 | 350 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/patchelf.Po@am__quote@ 351 | 352 | .cc.o: 353 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 354 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 355 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 356 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 357 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $< 358 | 359 | .cc.obj: 360 | @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` 361 | @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 362 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 363 | @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 364 | @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 365 | 366 | ID: $(am__tagged_files) 367 | $(am__define_uniq_tagged_files); mkid -fID $$unique 368 | tags: tags-am 369 | TAGS: tags 370 | 371 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 372 | set x; \ 373 | here=`pwd`; \ 374 | $(am__define_uniq_tagged_files); \ 375 | shift; \ 376 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 377 | test -n "$$unique" || unique=$$empty_fix; \ 378 | if test $$# -gt 0; then \ 379 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 380 | "$$@" $$unique; \ 381 | else \ 382 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 383 | $$unique; \ 384 | fi; \ 385 | fi 386 | ctags: ctags-am 387 | 388 | CTAGS: ctags 389 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 390 | $(am__define_uniq_tagged_files); \ 391 | test -z "$(CTAGS_ARGS)$$unique" \ 392 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 393 | $$unique 394 | 395 | GTAGS: 396 | here=`$(am__cd) $(top_builddir) && pwd` \ 397 | && $(am__cd) $(top_srcdir) \ 398 | && gtags -i $(GTAGS_ARGS) "$$here" 399 | cscopelist: cscopelist-am 400 | 401 | cscopelist-am: $(am__tagged_files) 402 | list='$(am__tagged_files)'; \ 403 | case "$(srcdir)" in \ 404 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ 405 | *) sdir=$(subdir)/$(srcdir) ;; \ 406 | esac; \ 407 | for i in $$list; do \ 408 | if test -f "$$i"; then \ 409 | echo "$(subdir)/$$i"; \ 410 | else \ 411 | echo "$$sdir/$$i"; \ 412 | fi; \ 413 | done >> $(top_builddir)/cscope.files 414 | 415 | distclean-tags: 416 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 417 | 418 | distdir: $(DISTFILES) 419 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 420 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 421 | list='$(DISTFILES)'; \ 422 | dist_files=`for file in $$list; do echo $$file; done | \ 423 | sed -e "s|^$$srcdirstrip/||;t" \ 424 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 425 | case $$dist_files in \ 426 | */*) $(MKDIR_P) `echo "$$dist_files" | \ 427 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 428 | sort -u` ;; \ 429 | esac; \ 430 | for file in $$dist_files; do \ 431 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 432 | if test -d $$d/$$file; then \ 433 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 434 | if test -d "$(distdir)/$$file"; then \ 435 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 436 | fi; \ 437 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 438 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ 439 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 440 | fi; \ 441 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ 442 | else \ 443 | test -f "$(distdir)/$$file" \ 444 | || cp -p $$d/$$file "$(distdir)/$$file" \ 445 | || exit 1; \ 446 | fi; \ 447 | done 448 | check-am: all-am 449 | check: check-am 450 | all-am: Makefile $(PROGRAMS) 451 | installdirs: 452 | for dir in "$(DESTDIR)$(bindir)"; do \ 453 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 454 | done 455 | install: install-am 456 | install-exec: install-exec-am 457 | install-data: install-data-am 458 | uninstall: uninstall-am 459 | 460 | install-am: all-am 461 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 462 | 463 | installcheck: installcheck-am 464 | install-strip: 465 | if test -z '$(STRIP)'; then \ 466 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 467 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 468 | install; \ 469 | else \ 470 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 471 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 472 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ 473 | fi 474 | mostlyclean-generic: 475 | 476 | clean-generic: 477 | 478 | distclean-generic: 479 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 480 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 481 | 482 | maintainer-clean-generic: 483 | @echo "This command is intended for maintainers to use" 484 | @echo "it deletes files that may require special tools to rebuild." 485 | clean: clean-am 486 | 487 | clean-am: clean-binPROGRAMS clean-generic mostlyclean-am 488 | 489 | distclean: distclean-am 490 | -rm -rf ./$(DEPDIR) 491 | -rm -f Makefile 492 | distclean-am: clean-am distclean-compile distclean-generic \ 493 | distclean-tags 494 | 495 | dvi: dvi-am 496 | 497 | dvi-am: 498 | 499 | html: html-am 500 | 501 | html-am: 502 | 503 | info: info-am 504 | 505 | info-am: 506 | 507 | install-data-am: 508 | 509 | install-dvi: install-dvi-am 510 | 511 | install-dvi-am: 512 | 513 | install-exec-am: install-binPROGRAMS 514 | 515 | install-html: install-html-am 516 | 517 | install-html-am: 518 | 519 | install-info: install-info-am 520 | 521 | install-info-am: 522 | 523 | install-man: 524 | 525 | install-pdf: install-pdf-am 526 | 527 | install-pdf-am: 528 | 529 | install-ps: install-ps-am 530 | 531 | install-ps-am: 532 | 533 | installcheck-am: 534 | 535 | maintainer-clean: maintainer-clean-am 536 | -rm -rf ./$(DEPDIR) 537 | -rm -f Makefile 538 | maintainer-clean-am: distclean-am maintainer-clean-generic 539 | 540 | mostlyclean: mostlyclean-am 541 | 542 | mostlyclean-am: mostlyclean-compile mostlyclean-generic 543 | 544 | pdf: pdf-am 545 | 546 | pdf-am: 547 | 548 | ps: ps-am 549 | 550 | ps-am: 551 | 552 | uninstall-am: uninstall-binPROGRAMS 553 | 554 | .MAKE: install-am install-strip 555 | 556 | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ 557 | clean-binPROGRAMS clean-generic cscopelist-am ctags ctags-am \ 558 | distclean distclean-compile distclean-generic distclean-tags \ 559 | distdir dvi dvi-am html html-am info info-am install \ 560 | install-am install-binPROGRAMS install-data install-data-am \ 561 | install-dvi install-dvi-am install-exec install-exec-am \ 562 | install-html install-html-am install-info install-info-am \ 563 | install-man install-pdf install-pdf-am install-ps \ 564 | install-ps-am install-strip installcheck installcheck-am \ 565 | installdirs maintainer-clean maintainer-clean-generic \ 566 | mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ 567 | ps ps-am tags tags-am uninstall uninstall-am \ 568 | uninstall-binPROGRAMS 569 | 570 | .PRECIOUS: Makefile 571 | 572 | 573 | # Tell versions [3.59,3.63) of GNU make to not export all variables. 574 | # Otherwise a system limit (for SysV at least) may be exceeded. 575 | .NOEXPORT: 576 | -------------------------------------------------------------------------------- /src/Makefile: -------------------------------------------------------------------------------- 1 | # Makefile.in generated by automake 1.15 from Makefile.am. 2 | # src/Makefile. Generated from Makefile.in by configure. 3 | 4 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. 5 | 6 | # This Makefile.in is free software; the Free Software Foundation 7 | # gives unlimited permission to copy and/or distribute it, 8 | # with or without modifications, as long as this notice is preserved. 9 | 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | # PARTICULAR PURPOSE. 14 | 15 | 16 | 17 | 18 | am__is_gnu_make = { \ 19 | if test -z '$(MAKELEVEL)'; then \ 20 | false; \ 21 | elif test -n '$(MAKE_HOST)'; then \ 22 | true; \ 23 | elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ 24 | true; \ 25 | else \ 26 | false; \ 27 | fi; \ 28 | } 29 | am__make_running_with_option = \ 30 | case $${target_option-} in \ 31 | ?) ;; \ 32 | *) echo "am__make_running_with_option: internal error: invalid" \ 33 | "target option '$${target_option-}' specified" >&2; \ 34 | exit 1;; \ 35 | esac; \ 36 | has_opt=no; \ 37 | sane_makeflags=$$MAKEFLAGS; \ 38 | if $(am__is_gnu_make); then \ 39 | sane_makeflags=$$MFLAGS; \ 40 | else \ 41 | case $$MAKEFLAGS in \ 42 | *\\[\ \ ]*) \ 43 | bs=\\; \ 44 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ 45 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ 46 | esac; \ 47 | fi; \ 48 | skip_next=no; \ 49 | strip_trailopt () \ 50 | { \ 51 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ 52 | }; \ 53 | for flg in $$sane_makeflags; do \ 54 | test $$skip_next = yes && { skip_next=no; continue; }; \ 55 | case $$flg in \ 56 | *=*|--*) continue;; \ 57 | -*I) strip_trailopt 'I'; skip_next=yes;; \ 58 | -*I?*) strip_trailopt 'I';; \ 59 | -*O) strip_trailopt 'O'; skip_next=yes;; \ 60 | -*O?*) strip_trailopt 'O';; \ 61 | -*l) strip_trailopt 'l'; skip_next=yes;; \ 62 | -*l?*) strip_trailopt 'l';; \ 63 | -[dEDm]) skip_next=yes;; \ 64 | -[JT]) skip_next=yes;; \ 65 | esac; \ 66 | case $$flg in \ 67 | *$$target_option*) has_opt=yes; break;; \ 68 | esac; \ 69 | done; \ 70 | test $$has_opt = yes 71 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) 72 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) 73 | pkgdatadir = $(datadir)/patchelf 74 | pkgincludedir = $(includedir)/patchelf 75 | pkglibdir = $(libdir)/patchelf 76 | pkglibexecdir = $(libexecdir)/patchelf 77 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 78 | install_sh_DATA = $(install_sh) -c -m 644 79 | install_sh_PROGRAM = $(install_sh) -c 80 | install_sh_SCRIPT = $(install_sh) -c 81 | INSTALL_HEADER = $(INSTALL_DATA) 82 | transform = $(program_transform_name) 83 | NORMAL_INSTALL = : 84 | PRE_INSTALL = : 85 | POST_INSTALL = : 86 | NORMAL_UNINSTALL = : 87 | PRE_UNINSTALL = : 88 | POST_UNINSTALL = : 89 | bin_PROGRAMS = patchelf$(EXEEXT) 90 | subdir = src 91 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 92 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac 93 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 94 | $(ACLOCAL_M4) 95 | DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON) 96 | mkinstalldirs = $(install_sh) -d 97 | CONFIG_CLEAN_FILES = 98 | CONFIG_CLEAN_VPATH_FILES = 99 | am__installdirs = "$(DESTDIR)$(bindir)" 100 | PROGRAMS = $(bin_PROGRAMS) 101 | am_patchelf_OBJECTS = patchelf.$(OBJEXT) 102 | patchelf_OBJECTS = $(am_patchelf_OBJECTS) 103 | patchelf_LDADD = $(LDADD) 104 | AM_V_P = $(am__v_P_$(V)) 105 | am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) 106 | am__v_P_0 = false 107 | am__v_P_1 = : 108 | AM_V_GEN = $(am__v_GEN_$(V)) 109 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) 110 | am__v_GEN_0 = @echo " GEN " $@; 111 | am__v_GEN_1 = 112 | AM_V_at = $(am__v_at_$(V)) 113 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) 114 | am__v_at_0 = @ 115 | am__v_at_1 = 116 | DEFAULT_INCLUDES = -I. 117 | depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp 118 | am__depfiles_maybe = depfiles 119 | am__mv = mv -f 120 | CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 121 | $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) 122 | AM_V_CXX = $(am__v_CXX_$(V)) 123 | am__v_CXX_ = $(am__v_CXX_$(AM_DEFAULT_VERBOSITY)) 124 | am__v_CXX_0 = @echo " CXX " $@; 125 | am__v_CXX_1 = 126 | CXXLD = $(CXX) 127 | CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ 128 | -o $@ 129 | AM_V_CXXLD = $(am__v_CXXLD_$(V)) 130 | am__v_CXXLD_ = $(am__v_CXXLD_$(AM_DEFAULT_VERBOSITY)) 131 | am__v_CXXLD_0 = @echo " CXXLD " $@; 132 | am__v_CXXLD_1 = 133 | COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 134 | $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) 135 | AM_V_CC = $(am__v_CC_$(V)) 136 | am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) 137 | am__v_CC_0 = @echo " CC " $@; 138 | am__v_CC_1 = 139 | CCLD = $(CC) 140 | LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ 141 | AM_V_CCLD = $(am__v_CCLD_$(V)) 142 | am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) 143 | am__v_CCLD_0 = @echo " CCLD " $@; 144 | am__v_CCLD_1 = 145 | SOURCES = $(patchelf_SOURCES) 146 | DIST_SOURCES = $(patchelf_SOURCES) 147 | am__can_run_installinfo = \ 148 | case $$AM_UPDATE_INFO_DIR in \ 149 | n|no|NO) false;; \ 150 | *) (install-info --version) >/dev/null 2>&1;; \ 151 | esac 152 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) 153 | # Read a list of newline-separated strings from the standard input, 154 | # and print each of them once, without duplicates. Input order is 155 | # *not* preserved. 156 | am__uniquify_input = $(AWK) '\ 157 | BEGIN { nonempty = 0; } \ 158 | { items[$$0] = 1; nonempty = 1; } \ 159 | END { if (nonempty) { for (i in items) print i; }; } \ 160 | ' 161 | # Make sure the list of sources is unique. This is necessary because, 162 | # e.g., the same source file might be shared among _SOURCES variables 163 | # for different programs/libraries. 164 | am__define_uniq_tagged_files = \ 165 | list='$(am__tagged_files)'; \ 166 | unique=`for i in $$list; do \ 167 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 168 | done | $(am__uniquify_input)` 169 | ETAGS = etags 170 | CTAGS = ctags 171 | am__DIST_COMMON = $(srcdir)/Makefile.in \ 172 | $(top_srcdir)/build-aux/depcomp 173 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 174 | ACLOCAL = ${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing aclocal-1.15 175 | AMTAR = $${TAR-tar} 176 | AM_DEFAULT_VERBOSITY = 1 177 | AUTOCONF = ${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing autoconf 178 | AUTOHEADER = ${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing autoheader 179 | AUTOMAKE = ${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing automake-1.15 180 | AWK = gawk 181 | CC = aarch64-linux-android-gcc 182 | CCDEPMODE = depmode=gcc3 183 | CFLAGS = -static -O2 -fPIE 184 | CPPFLAGS = 185 | CXX = aarch64-linux-android-g++ 186 | CXXDEPMODE = depmode=gcc3 187 | CXXFLAGS = -g -O2 188 | CYGPATH_W = echo 189 | DEFS = -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"patchelf\ 0.9\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.9\" -DPAGESIZE=4096 190 | DEPDIR = .deps 191 | ECHO_C = 192 | ECHO_N = -n 193 | ECHO_T = 194 | EXEEXT = 195 | INSTALL = /usr/bin/install -c 196 | INSTALL_DATA = ${INSTALL} -m 644 197 | INSTALL_PROGRAM = ${INSTALL} 198 | INSTALL_SCRIPT = ${INSTALL} 199 | INSTALL_STRIP_PROGRAM = $(install_sh) -c -s 200 | LDFLAGS = -static -O2 -fPIE 201 | LIBOBJS = 202 | LIBS = 203 | LTLIBOBJS = 204 | MAKEINFO = ${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing makeinfo 205 | MKDIR_P = /bin/mkdir -p 206 | OBJEXT = o 207 | PACKAGE = patchelf 208 | PACKAGE_BUGREPORT = 209 | PACKAGE_NAME = patchelf 210 | PACKAGE_STRING = patchelf 0.9 211 | PACKAGE_TARNAME = patchelf 212 | PACKAGE_URL = 213 | PACKAGE_VERSION = 0.9 214 | PATH_SEPARATOR = : 215 | SET_MAKE = 216 | SHELL = /bin/bash 217 | STRIP = aarch64-linux-android-strip 218 | VERSION = 0.9 219 | abs_builddir = /home/crixec/workspace/cross/patchelf-0.9/src 220 | abs_srcdir = /home/crixec/workspace/cross/patchelf-0.9/src 221 | abs_top_builddir = /home/crixec/workspace/cross/patchelf-0.9 222 | abs_top_srcdir = /home/crixec/workspace/cross/patchelf-0.9 223 | ac_ct_CC = 224 | ac_ct_CXX = 225 | am__include = include 226 | am__leading_dot = . 227 | am__quote = 228 | am__tar = $${TAR-tar} chof - "$$tardir" 229 | am__untar = $${TAR-tar} xf - 230 | bindir = ${exec_prefix}/bin 231 | build_alias = 232 | builddir = . 233 | datadir = ${datarootdir} 234 | datarootdir = ${prefix}/share 235 | docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} 236 | dvidir = ${docdir} 237 | exec_prefix = ${prefix} 238 | host_alias = aarch64-linux-android 239 | htmldir = ${docdir} 240 | includedir = ${prefix}/include 241 | infodir = ${datarootdir}/info 242 | install_sh = ${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/install-sh 243 | libdir = ${exec_prefix}/lib 244 | libexecdir = ${exec_prefix}/libexec 245 | localedir = ${datarootdir}/locale 246 | localstatedir = ${prefix}/var 247 | mandir = ${datarootdir}/man 248 | mkdir_p = $(MKDIR_P) 249 | oldincludedir = /usr/include 250 | pdfdir = ${docdir} 251 | prefix = /usr/local 252 | program_transform_name = s,x,x, 253 | psdir = ${docdir} 254 | sbindir = ${exec_prefix}/sbin 255 | sharedstatedir = ${prefix}/com 256 | srcdir = . 257 | sysconfdir = ${prefix}/etc 258 | target_alias = 259 | top_build_prefix = ../ 260 | top_builddir = .. 261 | top_srcdir = .. 262 | AM_CXXFLAGS = -Wall 263 | patchelf_SOURCES = patchelf.cc elf.h 264 | all: all-am 265 | 266 | .SUFFIXES: 267 | .SUFFIXES: .cc .o .obj 268 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 269 | @for dep in $?; do \ 270 | case '$(am__configure_deps)' in \ 271 | *$$dep*) \ 272 | ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ 273 | && { if test -f $@; then exit 0; else break; fi; }; \ 274 | exit 1;; \ 275 | esac; \ 276 | done; \ 277 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/Makefile'; \ 278 | $(am__cd) $(top_srcdir) && \ 279 | $(AUTOMAKE) --foreign src/Makefile 280 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 281 | @case '$?' in \ 282 | *config.status*) \ 283 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ 284 | *) \ 285 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ 286 | cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ 287 | esac; 288 | 289 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 290 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 291 | 292 | $(top_srcdir)/configure: $(am__configure_deps) 293 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 294 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) 295 | cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh 296 | $(am__aclocal_m4_deps): 297 | install-binPROGRAMS: $(bin_PROGRAMS) 298 | @$(NORMAL_INSTALL) 299 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ 300 | if test -n "$$list"; then \ 301 | echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ 302 | $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ 303 | fi; \ 304 | for p in $$list; do echo "$$p $$p"; done | \ 305 | sed 's/$(EXEEXT)$$//' | \ 306 | while read p p1; do if test -f $$p \ 307 | ; then echo "$$p"; echo "$$p"; else :; fi; \ 308 | done | \ 309 | sed -e 'p;s,.*/,,;n;h' \ 310 | -e 's|.*|.|' \ 311 | -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ 312 | sed 'N;N;N;s,\n, ,g' | \ 313 | $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ 314 | { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ 315 | if ($$2 == $$4) files[d] = files[d] " " $$1; \ 316 | else { print "f", $$3 "/" $$4, $$1; } } \ 317 | END { for (d in files) print "f", d, files[d] }' | \ 318 | while read type dir files; do \ 319 | if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ 320 | test -z "$$files" || { \ 321 | echo " $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ 322 | $(INSTALL_PROGRAM_ENV) $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ 323 | } \ 324 | ; done 325 | 326 | uninstall-binPROGRAMS: 327 | @$(NORMAL_UNINSTALL) 328 | @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ 329 | files=`for p in $$list; do echo "$$p"; done | \ 330 | sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ 331 | -e 's/$$/$(EXEEXT)/' \ 332 | `; \ 333 | test -n "$$list" || exit 0; \ 334 | echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ 335 | cd "$(DESTDIR)$(bindir)" && rm -f $$files 336 | 337 | clean-binPROGRAMS: 338 | -test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS) 339 | 340 | patchelf$(EXEEXT): $(patchelf_OBJECTS) $(patchelf_DEPENDENCIES) $(EXTRA_patchelf_DEPENDENCIES) 341 | @rm -f patchelf$(EXEEXT) 342 | $(AM_V_CXXLD)$(CXXLINK) $(patchelf_OBJECTS) $(patchelf_LDADD) $(LIBS) 343 | 344 | mostlyclean-compile: 345 | -rm -f *.$(OBJEXT) 346 | 347 | distclean-compile: 348 | -rm -f *.tab.c 349 | 350 | include ./$(DEPDIR)/patchelf.Po 351 | 352 | .cc.o: 353 | $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< 354 | $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 355 | # $(AM_V_CXX)source='$<' object='$@' libtool=no \ 356 | # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ 357 | # $(AM_V_CXX_no)$(CXXCOMPILE) -c -o $@ $< 358 | 359 | .cc.obj: 360 | $(AM_V_CXX)$(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` 361 | $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po 362 | # $(AM_V_CXX)source='$<' object='$@' libtool=no \ 363 | # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) \ 364 | # $(AM_V_CXX_no)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 365 | 366 | ID: $(am__tagged_files) 367 | $(am__define_uniq_tagged_files); mkid -fID $$unique 368 | tags: tags-am 369 | TAGS: tags 370 | 371 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 372 | set x; \ 373 | here=`pwd`; \ 374 | $(am__define_uniq_tagged_files); \ 375 | shift; \ 376 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 377 | test -n "$$unique" || unique=$$empty_fix; \ 378 | if test $$# -gt 0; then \ 379 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 380 | "$$@" $$unique; \ 381 | else \ 382 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 383 | $$unique; \ 384 | fi; \ 385 | fi 386 | ctags: ctags-am 387 | 388 | CTAGS: ctags 389 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 390 | $(am__define_uniq_tagged_files); \ 391 | test -z "$(CTAGS_ARGS)$$unique" \ 392 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 393 | $$unique 394 | 395 | GTAGS: 396 | here=`$(am__cd) $(top_builddir) && pwd` \ 397 | && $(am__cd) $(top_srcdir) \ 398 | && gtags -i $(GTAGS_ARGS) "$$here" 399 | cscopelist: cscopelist-am 400 | 401 | cscopelist-am: $(am__tagged_files) 402 | list='$(am__tagged_files)'; \ 403 | case "$(srcdir)" in \ 404 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ 405 | *) sdir=$(subdir)/$(srcdir) ;; \ 406 | esac; \ 407 | for i in $$list; do \ 408 | if test -f "$$i"; then \ 409 | echo "$(subdir)/$$i"; \ 410 | else \ 411 | echo "$$sdir/$$i"; \ 412 | fi; \ 413 | done >> $(top_builddir)/cscope.files 414 | 415 | distclean-tags: 416 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 417 | 418 | distdir: $(DISTFILES) 419 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 420 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 421 | list='$(DISTFILES)'; \ 422 | dist_files=`for file in $$list; do echo $$file; done | \ 423 | sed -e "s|^$$srcdirstrip/||;t" \ 424 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 425 | case $$dist_files in \ 426 | */*) $(MKDIR_P) `echo "$$dist_files" | \ 427 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 428 | sort -u` ;; \ 429 | esac; \ 430 | for file in $$dist_files; do \ 431 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 432 | if test -d $$d/$$file; then \ 433 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 434 | if test -d "$(distdir)/$$file"; then \ 435 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 436 | fi; \ 437 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 438 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ 439 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 440 | fi; \ 441 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ 442 | else \ 443 | test -f "$(distdir)/$$file" \ 444 | || cp -p $$d/$$file "$(distdir)/$$file" \ 445 | || exit 1; \ 446 | fi; \ 447 | done 448 | check-am: all-am 449 | check: check-am 450 | all-am: Makefile $(PROGRAMS) 451 | installdirs: 452 | for dir in "$(DESTDIR)$(bindir)"; do \ 453 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 454 | done 455 | install: install-am 456 | install-exec: install-exec-am 457 | install-data: install-data-am 458 | uninstall: uninstall-am 459 | 460 | install-am: all-am 461 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 462 | 463 | installcheck: installcheck-am 464 | install-strip: 465 | if test -z '$(STRIP)'; then \ 466 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 467 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 468 | install; \ 469 | else \ 470 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 471 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 472 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ 473 | fi 474 | mostlyclean-generic: 475 | 476 | clean-generic: 477 | 478 | distclean-generic: 479 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 480 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 481 | 482 | maintainer-clean-generic: 483 | @echo "This command is intended for maintainers to use" 484 | @echo "it deletes files that may require special tools to rebuild." 485 | clean: clean-am 486 | 487 | clean-am: clean-binPROGRAMS clean-generic mostlyclean-am 488 | 489 | distclean: distclean-am 490 | -rm -rf ./$(DEPDIR) 491 | -rm -f Makefile 492 | distclean-am: clean-am distclean-compile distclean-generic \ 493 | distclean-tags 494 | 495 | dvi: dvi-am 496 | 497 | dvi-am: 498 | 499 | html: html-am 500 | 501 | html-am: 502 | 503 | info: info-am 504 | 505 | info-am: 506 | 507 | install-data-am: 508 | 509 | install-dvi: install-dvi-am 510 | 511 | install-dvi-am: 512 | 513 | install-exec-am: install-binPROGRAMS 514 | 515 | install-html: install-html-am 516 | 517 | install-html-am: 518 | 519 | install-info: install-info-am 520 | 521 | install-info-am: 522 | 523 | install-man: 524 | 525 | install-pdf: install-pdf-am 526 | 527 | install-pdf-am: 528 | 529 | install-ps: install-ps-am 530 | 531 | install-ps-am: 532 | 533 | installcheck-am: 534 | 535 | maintainer-clean: maintainer-clean-am 536 | -rm -rf ./$(DEPDIR) 537 | -rm -f Makefile 538 | maintainer-clean-am: distclean-am maintainer-clean-generic 539 | 540 | mostlyclean: mostlyclean-am 541 | 542 | mostlyclean-am: mostlyclean-compile mostlyclean-generic 543 | 544 | pdf: pdf-am 545 | 546 | pdf-am: 547 | 548 | ps: ps-am 549 | 550 | ps-am: 551 | 552 | uninstall-am: uninstall-binPROGRAMS 553 | 554 | .MAKE: install-am install-strip 555 | 556 | .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean \ 557 | clean-binPROGRAMS clean-generic cscopelist-am ctags ctags-am \ 558 | distclean distclean-compile distclean-generic distclean-tags \ 559 | distdir dvi dvi-am html html-am info info-am install \ 560 | install-am install-binPROGRAMS install-data install-data-am \ 561 | install-dvi install-dvi-am install-exec install-exec-am \ 562 | install-html install-html-am install-info install-info-am \ 563 | install-man install-pdf install-pdf-am install-ps \ 564 | install-ps-am install-strip installcheck installcheck-am \ 565 | installdirs maintainer-clean maintainer-clean-generic \ 566 | mostlyclean mostlyclean-compile mostlyclean-generic pdf pdf-am \ 567 | ps ps-am tags tags-am uninstall uninstall-am \ 568 | uninstall-binPROGRAMS 569 | 570 | .PRECIOUS: Makefile 571 | 572 | 573 | # Tell versions [3.59,3.63) of GNU make to not export all variables. 574 | # Otherwise a system limit (for SysV at least) may be exceeded. 575 | .NOEXPORT: 576 | -------------------------------------------------------------------------------- /src/.deps/patchelf.Po: -------------------------------------------------------------------------------- 1 | patchelf.o: patchelf.cc \ 2 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/string \ 3 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/aarch64-linux-android/bits/c++config.h \ 4 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/aarch64-linux-android/bits/os_defines.h \ 5 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/aarch64-linux-android/bits/cpu_defines.h \ 6 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stringfwd.h \ 7 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/memoryfwd.h \ 8 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/char_traits.h \ 9 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_algobase.h \ 10 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/functexcept.h \ 11 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/exception_defines.h \ 12 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/cpp_type_traits.h \ 13 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/ext/type_traits.h \ 14 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/ext/numeric_traits.h \ 15 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_pair.h \ 16 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/move.h \ 17 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/concept_check.h \ 18 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_iterator_base_types.h \ 19 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_iterator_base_funcs.h \ 20 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/debug/debug.h \ 21 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_iterator.h \ 22 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/ptr_traits.h \ 23 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/predefined_ops.h \ 24 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/postypes.h \ 25 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/cwchar \ 26 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/wchar.h \ 27 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/cdefs.h \ 28 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/cdefs_elf.h \ 29 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/android/api-level.h \ 30 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/stdio.h \ 31 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/types.h \ 32 | /home/crixec/opt/aarch64-linux-android/lib/gcc/aarch64-linux-android/4.9.x/include/stddef.h \ 33 | /home/crixec/opt/aarch64-linux-android/lib/gcc/aarch64-linux-android/4.9.x/include/stdint.h \ 34 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/stdint.h \ 35 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/machine/wchar_limits.h \ 36 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/types.h \ 37 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm/types.h \ 38 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/types.h \ 39 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/int-ll64.h \ 40 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm/bitsperlong.h \ 41 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/bitsperlong.h \ 42 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/posix_types.h \ 43 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/stddef.h \ 44 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/compiler.h \ 45 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm/posix_types.h \ 46 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/posix_types.h \ 47 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/sysmacros.h \ 48 | /home/crixec/opt/aarch64-linux-android/lib/gcc/aarch64-linux-android/4.9.x/include/stdarg.h \ 49 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/time.h \ 50 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/time.h \ 51 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/time.h \ 52 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/xlocale.h \ 53 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/allocator.h \ 54 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/aarch64-linux-android/bits/c++allocator.h \ 55 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/ext/new_allocator.h \ 56 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/new \ 57 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/exception \ 58 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/atomic_lockfree_defines.h \ 59 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/localefwd.h \ 60 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/aarch64-linux-android/bits/c++locale.h \ 61 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/clocale \ 62 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/locale.h \ 63 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/iosfwd \ 64 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/cctype \ 65 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/ctype.h \ 66 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/ostream_insert.h \ 67 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/cxxabi_forced.h \ 68 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_function.h \ 69 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/backward/binders.h \ 70 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/range_access.h \ 71 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/basic_string.h \ 72 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/ext/atomicity.h \ 73 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/aarch64-linux-android/bits/gthr.h \ 74 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/aarch64-linux-android/bits/gthr-default.h \ 75 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/pthread.h \ 76 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/signal.h \ 77 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/errno.h \ 78 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/errno.h \ 79 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm/errno.h \ 80 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/errno.h \ 81 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/errno-base.h \ 82 | /home/crixec/opt/aarch64-linux-android/lib/gcc/aarch64-linux-android/4.9.x/include-fixed/limits.h \ 83 | /home/crixec/opt/aarch64-linux-android/lib/gcc/aarch64-linux-android/4.9.x/include-fixed/syslimits.h \ 84 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/limits.h \ 85 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/limits.h \ 86 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/limits.h \ 87 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/syslimits.h \ 88 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/string.h \ 89 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/malloc.h \ 90 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm/sigcontext.h \ 91 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/signal.h \ 92 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm/signal.h \ 93 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/signal.h \ 94 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/signal-defs.h \ 95 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm/siginfo.h \ 96 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/siginfo.h \ 97 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/ucontext.h \ 98 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/user.h \ 99 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sched.h \ 100 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/sched.h \ 101 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/aarch64-linux-android/bits/atomic_word.h \ 102 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/basic_string.tcc \ 103 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/vector \ 104 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_construct.h \ 105 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/ext/alloc_traits.h \ 106 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_uninitialized.h \ 107 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_vector.h \ 108 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_bvector.h \ 109 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/vector.tcc \ 110 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/set \ 111 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_tree.h \ 112 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_set.h \ 113 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_multiset.h \ 114 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/map \ 115 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_map.h \ 116 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_multimap.h \ 117 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/algorithm \ 118 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/utility \ 119 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_relops.h \ 120 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_algo.h \ 121 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/cstdlib \ 122 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/stdlib.h \ 123 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/alloca.h \ 124 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/strings.h \ 125 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/memory.h \ 126 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/algorithmfwd.h \ 127 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_heap.h \ 128 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_tempbuf.h \ 129 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/assert.h \ 130 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/stat.h \ 131 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/stat.h \ 132 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/endian.h \ 133 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/endian.h \ 134 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/unistd.h \ 135 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/select.h \ 136 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/sysconf.h \ 137 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/pathconf.h \ 138 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/fcntl.h \ 139 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/fadvise.h \ 140 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/fcntl.h \ 141 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm/fcntl.h \ 142 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/fcntl.h \ 143 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/uio.h \ 144 | elf.h 145 | 146 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/string: 147 | 148 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/aarch64-linux-android/bits/c++config.h: 149 | 150 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/aarch64-linux-android/bits/os_defines.h: 151 | 152 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/aarch64-linux-android/bits/cpu_defines.h: 153 | 154 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stringfwd.h: 155 | 156 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/memoryfwd.h: 157 | 158 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/char_traits.h: 159 | 160 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_algobase.h: 161 | 162 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/functexcept.h: 163 | 164 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/exception_defines.h: 165 | 166 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/cpp_type_traits.h: 167 | 168 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/ext/type_traits.h: 169 | 170 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/ext/numeric_traits.h: 171 | 172 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_pair.h: 173 | 174 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/move.h: 175 | 176 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/concept_check.h: 177 | 178 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_iterator_base_types.h: 179 | 180 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_iterator_base_funcs.h: 181 | 182 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/debug/debug.h: 183 | 184 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_iterator.h: 185 | 186 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/ptr_traits.h: 187 | 188 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/predefined_ops.h: 189 | 190 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/postypes.h: 191 | 192 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/cwchar: 193 | 194 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/wchar.h: 195 | 196 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/cdefs.h: 197 | 198 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/cdefs_elf.h: 199 | 200 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/android/api-level.h: 201 | 202 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/stdio.h: 203 | 204 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/types.h: 205 | 206 | /home/crixec/opt/aarch64-linux-android/lib/gcc/aarch64-linux-android/4.9.x/include/stddef.h: 207 | 208 | /home/crixec/opt/aarch64-linux-android/lib/gcc/aarch64-linux-android/4.9.x/include/stdint.h: 209 | 210 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/stdint.h: 211 | 212 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/machine/wchar_limits.h: 213 | 214 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/types.h: 215 | 216 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm/types.h: 217 | 218 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/types.h: 219 | 220 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/int-ll64.h: 221 | 222 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm/bitsperlong.h: 223 | 224 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/bitsperlong.h: 225 | 226 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/posix_types.h: 227 | 228 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/stddef.h: 229 | 230 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/compiler.h: 231 | 232 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm/posix_types.h: 233 | 234 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/posix_types.h: 235 | 236 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/sysmacros.h: 237 | 238 | /home/crixec/opt/aarch64-linux-android/lib/gcc/aarch64-linux-android/4.9.x/include/stdarg.h: 239 | 240 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/time.h: 241 | 242 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/time.h: 243 | 244 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/time.h: 245 | 246 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/xlocale.h: 247 | 248 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/allocator.h: 249 | 250 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/aarch64-linux-android/bits/c++allocator.h: 251 | 252 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/ext/new_allocator.h: 253 | 254 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/new: 255 | 256 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/exception: 257 | 258 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/atomic_lockfree_defines.h: 259 | 260 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/localefwd.h: 261 | 262 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/aarch64-linux-android/bits/c++locale.h: 263 | 264 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/clocale: 265 | 266 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/locale.h: 267 | 268 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/iosfwd: 269 | 270 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/cctype: 271 | 272 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/ctype.h: 273 | 274 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/ostream_insert.h: 275 | 276 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/cxxabi_forced.h: 277 | 278 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_function.h: 279 | 280 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/backward/binders.h: 281 | 282 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/range_access.h: 283 | 284 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/basic_string.h: 285 | 286 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/ext/atomicity.h: 287 | 288 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/aarch64-linux-android/bits/gthr.h: 289 | 290 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/aarch64-linux-android/bits/gthr-default.h: 291 | 292 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/pthread.h: 293 | 294 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/signal.h: 295 | 296 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/errno.h: 297 | 298 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/errno.h: 299 | 300 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm/errno.h: 301 | 302 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/errno.h: 303 | 304 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/errno-base.h: 305 | 306 | /home/crixec/opt/aarch64-linux-android/lib/gcc/aarch64-linux-android/4.9.x/include-fixed/limits.h: 307 | 308 | /home/crixec/opt/aarch64-linux-android/lib/gcc/aarch64-linux-android/4.9.x/include-fixed/syslimits.h: 309 | 310 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/limits.h: 311 | 312 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/limits.h: 313 | 314 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/limits.h: 315 | 316 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/syslimits.h: 317 | 318 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/string.h: 319 | 320 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/malloc.h: 321 | 322 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm/sigcontext.h: 323 | 324 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/signal.h: 325 | 326 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm/signal.h: 327 | 328 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/signal.h: 329 | 330 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/signal-defs.h: 331 | 332 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm/siginfo.h: 333 | 334 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/siginfo.h: 335 | 336 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/ucontext.h: 337 | 338 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/user.h: 339 | 340 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sched.h: 341 | 342 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/sched.h: 343 | 344 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/aarch64-linux-android/bits/atomic_word.h: 345 | 346 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/basic_string.tcc: 347 | 348 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/vector: 349 | 350 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_construct.h: 351 | 352 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/ext/alloc_traits.h: 353 | 354 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_uninitialized.h: 355 | 356 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_vector.h: 357 | 358 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_bvector.h: 359 | 360 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/vector.tcc: 361 | 362 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/set: 363 | 364 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_tree.h: 365 | 366 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_set.h: 367 | 368 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_multiset.h: 369 | 370 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/map: 371 | 372 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_map.h: 373 | 374 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_multimap.h: 375 | 376 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/algorithm: 377 | 378 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/utility: 379 | 380 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_relops.h: 381 | 382 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_algo.h: 383 | 384 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/cstdlib: 385 | 386 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/stdlib.h: 387 | 388 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/alloca.h: 389 | 390 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/strings.h: 391 | 392 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/memory.h: 393 | 394 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/algorithmfwd.h: 395 | 396 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_heap.h: 397 | 398 | /home/crixec/opt/aarch64-linux-android/include/c++/4.9.x/bits/stl_tempbuf.h: 399 | 400 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/assert.h: 401 | 402 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/stat.h: 403 | 404 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/stat.h: 405 | 406 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/endian.h: 407 | 408 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/endian.h: 409 | 410 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/unistd.h: 411 | 412 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/select.h: 413 | 414 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/sys/sysconf.h: 415 | 416 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/pathconf.h: 417 | 418 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/fcntl.h: 419 | 420 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/fadvise.h: 421 | 422 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/fcntl.h: 423 | 424 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm/fcntl.h: 425 | 426 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/asm-generic/fcntl.h: 427 | 428 | /home/crixec/opt/aarch64-linux-android/sysroot/usr/include/linux/uio.h: 429 | 430 | elf.h: 431 | -------------------------------------------------------------------------------- /Makefile.in: -------------------------------------------------------------------------------- 1 | # Makefile.in generated by automake 1.15 from Makefile.am. 2 | # @configure_input@ 3 | 4 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. 5 | 6 | # This Makefile.in is free software; the Free Software Foundation 7 | # gives unlimited permission to copy and/or distribute it, 8 | # with or without modifications, as long as this notice is preserved. 9 | 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | # PARTICULAR PURPOSE. 14 | 15 | @SET_MAKE@ 16 | 17 | VPATH = @srcdir@ 18 | am__is_gnu_make = { \ 19 | if test -z '$(MAKELEVEL)'; then \ 20 | false; \ 21 | elif test -n '$(MAKE_HOST)'; then \ 22 | true; \ 23 | elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ 24 | true; \ 25 | else \ 26 | false; \ 27 | fi; \ 28 | } 29 | am__make_running_with_option = \ 30 | case $${target_option-} in \ 31 | ?) ;; \ 32 | *) echo "am__make_running_with_option: internal error: invalid" \ 33 | "target option '$${target_option-}' specified" >&2; \ 34 | exit 1;; \ 35 | esac; \ 36 | has_opt=no; \ 37 | sane_makeflags=$$MAKEFLAGS; \ 38 | if $(am__is_gnu_make); then \ 39 | sane_makeflags=$$MFLAGS; \ 40 | else \ 41 | case $$MAKEFLAGS in \ 42 | *\\[\ \ ]*) \ 43 | bs=\\; \ 44 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ 45 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ 46 | esac; \ 47 | fi; \ 48 | skip_next=no; \ 49 | strip_trailopt () \ 50 | { \ 51 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ 52 | }; \ 53 | for flg in $$sane_makeflags; do \ 54 | test $$skip_next = yes && { skip_next=no; continue; }; \ 55 | case $$flg in \ 56 | *=*|--*) continue;; \ 57 | -*I) strip_trailopt 'I'; skip_next=yes;; \ 58 | -*I?*) strip_trailopt 'I';; \ 59 | -*O) strip_trailopt 'O'; skip_next=yes;; \ 60 | -*O?*) strip_trailopt 'O';; \ 61 | -*l) strip_trailopt 'l'; skip_next=yes;; \ 62 | -*l?*) strip_trailopt 'l';; \ 63 | -[dEDm]) skip_next=yes;; \ 64 | -[JT]) skip_next=yes;; \ 65 | esac; \ 66 | case $$flg in \ 67 | *$$target_option*) has_opt=yes; break;; \ 68 | esac; \ 69 | done; \ 70 | test $$has_opt = yes 71 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) 72 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) 73 | pkgdatadir = $(datadir)/@PACKAGE@ 74 | pkgincludedir = $(includedir)/@PACKAGE@ 75 | pkglibdir = $(libdir)/@PACKAGE@ 76 | pkglibexecdir = $(libexecdir)/@PACKAGE@ 77 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 78 | install_sh_DATA = $(install_sh) -c -m 644 79 | install_sh_PROGRAM = $(install_sh) -c 80 | install_sh_SCRIPT = $(install_sh) -c 81 | INSTALL_HEADER = $(INSTALL_DATA) 82 | transform = $(program_transform_name) 83 | NORMAL_INSTALL = : 84 | PRE_INSTALL = : 85 | POST_INSTALL = : 86 | NORMAL_UNINSTALL = : 87 | PRE_UNINSTALL = : 88 | POST_UNINSTALL = : 89 | subdir = . 90 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 91 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac 92 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 93 | $(ACLOCAL_M4) 94 | DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ 95 | $(am__configure_deps) $(am__DIST_COMMON) 96 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 97 | configure.lineno config.status.lineno 98 | mkinstalldirs = $(install_sh) -d 99 | CONFIG_CLEAN_FILES = patchelf.spec 100 | CONFIG_CLEAN_VPATH_FILES = 101 | AM_V_P = $(am__v_P_@AM_V@) 102 | am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) 103 | am__v_P_0 = false 104 | am__v_P_1 = : 105 | AM_V_GEN = $(am__v_GEN_@AM_V@) 106 | am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) 107 | am__v_GEN_0 = @echo " GEN " $@; 108 | am__v_GEN_1 = 109 | AM_V_at = $(am__v_at_@AM_V@) 110 | am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) 111 | am__v_at_0 = @ 112 | am__v_at_1 = 113 | SOURCES = 114 | DIST_SOURCES = 115 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ 116 | ctags-recursive dvi-recursive html-recursive info-recursive \ 117 | install-data-recursive install-dvi-recursive \ 118 | install-exec-recursive install-html-recursive \ 119 | install-info-recursive install-pdf-recursive \ 120 | install-ps-recursive install-recursive installcheck-recursive \ 121 | installdirs-recursive pdf-recursive ps-recursive \ 122 | tags-recursive uninstall-recursive 123 | am__can_run_installinfo = \ 124 | case $$AM_UPDATE_INFO_DIR in \ 125 | n|no|NO) false;; \ 126 | *) (install-info --version) >/dev/null 2>&1;; \ 127 | esac 128 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; 129 | am__vpath_adj = case $$p in \ 130 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ 131 | *) f=$$p;; \ 132 | esac; 133 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; 134 | am__install_max = 40 135 | am__nobase_strip_setup = \ 136 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` 137 | am__nobase_strip = \ 138 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" 139 | am__nobase_list = $(am__nobase_strip_setup); \ 140 | for p in $$list; do echo "$$p $$p"; done | \ 141 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ 142 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ 143 | if (++n[$$2] == $(am__install_max)) \ 144 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ 145 | END { for (dir in files) print dir, files[dir] }' 146 | am__base_list = \ 147 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ 148 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' 149 | am__uninstall_files_from_dir = { \ 150 | test -z "$$files" \ 151 | || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ 152 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ 153 | $(am__cd) "$$dir" && rm -f $$files; }; \ 154 | } 155 | man1dir = $(mandir)/man1 156 | am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docdir)" 157 | NROFF = nroff 158 | MANS = $(man1_MANS) 159 | DATA = $(doc_DATA) 160 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ 161 | distclean-recursive maintainer-clean-recursive 162 | am__recursive_targets = \ 163 | $(RECURSIVE_TARGETS) \ 164 | $(RECURSIVE_CLEAN_TARGETS) \ 165 | $(am__extra_recursive_targets) 166 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ 167 | cscope distdir dist dist-all distcheck 168 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) 169 | # Read a list of newline-separated strings from the standard input, 170 | # and print each of them once, without duplicates. Input order is 171 | # *not* preserved. 172 | am__uniquify_input = $(AWK) '\ 173 | BEGIN { nonempty = 0; } \ 174 | { items[$$0] = 1; nonempty = 1; } \ 175 | END { if (nonempty) { for (i in items) print i; }; } \ 176 | ' 177 | # Make sure the list of sources is unique. This is necessary because, 178 | # e.g., the same source file might be shared among _SOURCES variables 179 | # for different programs/libraries. 180 | am__define_uniq_tagged_files = \ 181 | list='$(am__tagged_files)'; \ 182 | unique=`for i in $$list; do \ 183 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 184 | done | $(am__uniquify_input)` 185 | ETAGS = etags 186 | CTAGS = ctags 187 | CSCOPE = cscope 188 | DIST_SUBDIRS = $(SUBDIRS) 189 | am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/patchelf.spec.in \ 190 | $(top_srcdir)/build-aux/compile \ 191 | $(top_srcdir)/build-aux/install-sh \ 192 | $(top_srcdir)/build-aux/missing COPYING README \ 193 | build-aux/compile build-aux/install-sh build-aux/missing 194 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 195 | distdir = $(PACKAGE)-$(VERSION) 196 | top_distdir = $(distdir) 197 | am__remove_distdir = \ 198 | if test -d "$(distdir)"; then \ 199 | find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ 200 | && rm -rf "$(distdir)" \ 201 | || { sleep 5 && rm -rf "$(distdir)"; }; \ 202 | else :; fi 203 | am__post_remove_distdir = $(am__remove_distdir) 204 | am__relativize = \ 205 | dir0=`pwd`; \ 206 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ 207 | sed_rest='s,^[^/]*/*,,'; \ 208 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ 209 | sed_butlast='s,/*[^/]*$$,,'; \ 210 | while test -n "$$dir1"; do \ 211 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ 212 | if test "$$first" != "."; then \ 213 | if test "$$first" = ".."; then \ 214 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 215 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ 216 | else \ 217 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 218 | if test "$$first2" = "$$first"; then \ 219 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 220 | else \ 221 | dir2="../$$dir2"; \ 222 | fi; \ 223 | dir0="$$dir0"/"$$first"; \ 224 | fi; \ 225 | fi; \ 226 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ 227 | done; \ 228 | reldir="$$dir2" 229 | DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 230 | GZIP_ENV = --best 231 | DIST_TARGETS = dist-bzip2 dist-gzip 232 | distuninstallcheck_listfiles = find . -type f -print 233 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ 234 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' 235 | distcleancheck_listfiles = find . -type f -print 236 | ACLOCAL = @ACLOCAL@ 237 | AMTAR = @AMTAR@ 238 | AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ 239 | AUTOCONF = @AUTOCONF@ 240 | AUTOHEADER = @AUTOHEADER@ 241 | AUTOMAKE = @AUTOMAKE@ 242 | AWK = @AWK@ 243 | CC = @CC@ 244 | CCDEPMODE = @CCDEPMODE@ 245 | CFLAGS = @CFLAGS@ 246 | CPPFLAGS = @CPPFLAGS@ 247 | CXX = @CXX@ 248 | CXXDEPMODE = @CXXDEPMODE@ 249 | CXXFLAGS = @CXXFLAGS@ 250 | CYGPATH_W = @CYGPATH_W@ 251 | DEFS = @DEFS@ 252 | DEPDIR = @DEPDIR@ 253 | ECHO_C = @ECHO_C@ 254 | ECHO_N = @ECHO_N@ 255 | ECHO_T = @ECHO_T@ 256 | EXEEXT = @EXEEXT@ 257 | INSTALL = @INSTALL@ 258 | INSTALL_DATA = @INSTALL_DATA@ 259 | INSTALL_PROGRAM = @INSTALL_PROGRAM@ 260 | INSTALL_SCRIPT = @INSTALL_SCRIPT@ 261 | INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ 262 | LDFLAGS = @LDFLAGS@ 263 | LIBOBJS = @LIBOBJS@ 264 | LIBS = @LIBS@ 265 | LTLIBOBJS = @LTLIBOBJS@ 266 | MAKEINFO = @MAKEINFO@ 267 | MKDIR_P = @MKDIR_P@ 268 | OBJEXT = @OBJEXT@ 269 | PACKAGE = @PACKAGE@ 270 | PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ 271 | PACKAGE_NAME = @PACKAGE_NAME@ 272 | PACKAGE_STRING = @PACKAGE_STRING@ 273 | PACKAGE_TARNAME = @PACKAGE_TARNAME@ 274 | PACKAGE_URL = @PACKAGE_URL@ 275 | PACKAGE_VERSION = @PACKAGE_VERSION@ 276 | PATH_SEPARATOR = @PATH_SEPARATOR@ 277 | SET_MAKE = @SET_MAKE@ 278 | SHELL = @SHELL@ 279 | STRIP = @STRIP@ 280 | VERSION = @VERSION@ 281 | abs_builddir = @abs_builddir@ 282 | abs_srcdir = @abs_srcdir@ 283 | abs_top_builddir = @abs_top_builddir@ 284 | abs_top_srcdir = @abs_top_srcdir@ 285 | ac_ct_CC = @ac_ct_CC@ 286 | ac_ct_CXX = @ac_ct_CXX@ 287 | am__include = @am__include@ 288 | am__leading_dot = @am__leading_dot@ 289 | am__quote = @am__quote@ 290 | am__tar = @am__tar@ 291 | am__untar = @am__untar@ 292 | bindir = @bindir@ 293 | build_alias = @build_alias@ 294 | builddir = @builddir@ 295 | datadir = @datadir@ 296 | datarootdir = @datarootdir@ 297 | docdir = @docdir@ 298 | dvidir = @dvidir@ 299 | exec_prefix = @exec_prefix@ 300 | host_alias = @host_alias@ 301 | htmldir = @htmldir@ 302 | includedir = @includedir@ 303 | infodir = @infodir@ 304 | install_sh = @install_sh@ 305 | libdir = @libdir@ 306 | libexecdir = @libexecdir@ 307 | localedir = @localedir@ 308 | localstatedir = @localstatedir@ 309 | mandir = @mandir@ 310 | mkdir_p = @mkdir_p@ 311 | oldincludedir = @oldincludedir@ 312 | pdfdir = @pdfdir@ 313 | prefix = @prefix@ 314 | program_transform_name = @program_transform_name@ 315 | psdir = @psdir@ 316 | sbindir = @sbindir@ 317 | sharedstatedir = @sharedstatedir@ 318 | srcdir = @srcdir@ 319 | sysconfdir = @sysconfdir@ 320 | target_alias = @target_alias@ 321 | top_build_prefix = @top_build_prefix@ 322 | top_builddir = @top_builddir@ 323 | top_srcdir = @top_srcdir@ 324 | SUBDIRS = src tests 325 | EXTRA_DIST = COPYING README patchelf.spec version $(man1_MANS) 326 | man1_MANS = patchelf.1 327 | doc_DATA = README 328 | all: all-recursive 329 | 330 | .SUFFIXES: 331 | am--refresh: Makefile 332 | @: 333 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 334 | @for dep in $?; do \ 335 | case '$(am__configure_deps)' in \ 336 | *$$dep*) \ 337 | echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ 338 | $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ 339 | && exit 0; \ 340 | exit 1;; \ 341 | esac; \ 342 | done; \ 343 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ 344 | $(am__cd) $(top_srcdir) && \ 345 | $(AUTOMAKE) --foreign Makefile 346 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 347 | @case '$?' in \ 348 | *config.status*) \ 349 | echo ' $(SHELL) ./config.status'; \ 350 | $(SHELL) ./config.status;; \ 351 | *) \ 352 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ 353 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ 354 | esac; 355 | 356 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 357 | $(SHELL) ./config.status --recheck 358 | 359 | $(top_srcdir)/configure: $(am__configure_deps) 360 | $(am__cd) $(srcdir) && $(AUTOCONF) 361 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) 362 | $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 363 | $(am__aclocal_m4_deps): 364 | patchelf.spec: $(top_builddir)/config.status $(srcdir)/patchelf.spec.in 365 | cd $(top_builddir) && $(SHELL) ./config.status $@ 366 | install-man1: $(man1_MANS) 367 | @$(NORMAL_INSTALL) 368 | @list1='$(man1_MANS)'; \ 369 | list2=''; \ 370 | test -n "$(man1dir)" \ 371 | && test -n "`echo $$list1$$list2`" \ 372 | || exit 0; \ 373 | echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ 374 | $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ 375 | { for i in $$list1; do echo "$$i"; done; \ 376 | if test -n "$$list2"; then \ 377 | for i in $$list2; do echo "$$i"; done \ 378 | | sed -n '/\.1[a-z]*$$/p'; \ 379 | fi; \ 380 | } | while read p; do \ 381 | if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ 382 | echo "$$d$$p"; echo "$$p"; \ 383 | done | \ 384 | sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ 385 | -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ 386 | sed 'N;N;s,\n, ,g' | { \ 387 | list=; while read file base inst; do \ 388 | if test "$$base" = "$$inst"; then list="$$list $$file"; else \ 389 | echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ 390 | $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ 391 | fi; \ 392 | done; \ 393 | for i in $$list; do echo "$$i"; done | $(am__base_list) | \ 394 | while read files; do \ 395 | test -z "$$files" || { \ 396 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ 397 | $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ 398 | done; } 399 | 400 | uninstall-man1: 401 | @$(NORMAL_UNINSTALL) 402 | @list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \ 403 | files=`{ for i in $$list; do echo "$$i"; done; \ 404 | } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ 405 | -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ 406 | dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) 407 | install-docDATA: $(doc_DATA) 408 | @$(NORMAL_INSTALL) 409 | @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ 410 | if test -n "$$list"; then \ 411 | echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \ 412 | $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \ 413 | fi; \ 414 | for p in $$list; do \ 415 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 416 | echo "$$d$$p"; \ 417 | done | $(am__base_list) | \ 418 | while read files; do \ 419 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \ 420 | $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \ 421 | done 422 | 423 | uninstall-docDATA: 424 | @$(NORMAL_UNINSTALL) 425 | @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ 426 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ 427 | dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir) 428 | 429 | # This directory's subdirectories are mostly independent; you can cd 430 | # into them and run 'make' without going through this Makefile. 431 | # To change the values of 'make' variables: instead of editing Makefiles, 432 | # (1) if the variable is set in 'config.status', edit 'config.status' 433 | # (which will cause the Makefiles to be regenerated when you run 'make'); 434 | # (2) otherwise, pass the desired values on the 'make' command line. 435 | $(am__recursive_targets): 436 | @fail=; \ 437 | if $(am__make_keepgoing); then \ 438 | failcom='fail=yes'; \ 439 | else \ 440 | failcom='exit 1'; \ 441 | fi; \ 442 | dot_seen=no; \ 443 | target=`echo $@ | sed s/-recursive//`; \ 444 | case "$@" in \ 445 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ 446 | *) list='$(SUBDIRS)' ;; \ 447 | esac; \ 448 | for subdir in $$list; do \ 449 | echo "Making $$target in $$subdir"; \ 450 | if test "$$subdir" = "."; then \ 451 | dot_seen=yes; \ 452 | local_target="$$target-am"; \ 453 | else \ 454 | local_target="$$target"; \ 455 | fi; \ 456 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 457 | || eval $$failcom; \ 458 | done; \ 459 | if test "$$dot_seen" = "no"; then \ 460 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ 461 | fi; test -z "$$fail" 462 | 463 | ID: $(am__tagged_files) 464 | $(am__define_uniq_tagged_files); mkid -fID $$unique 465 | tags: tags-recursive 466 | TAGS: tags 467 | 468 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 469 | set x; \ 470 | here=`pwd`; \ 471 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 472 | include_option=--etags-include; \ 473 | empty_fix=.; \ 474 | else \ 475 | include_option=--include; \ 476 | empty_fix=; \ 477 | fi; \ 478 | list='$(SUBDIRS)'; for subdir in $$list; do \ 479 | if test "$$subdir" = .; then :; else \ 480 | test ! -f $$subdir/TAGS || \ 481 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ 482 | fi; \ 483 | done; \ 484 | $(am__define_uniq_tagged_files); \ 485 | shift; \ 486 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 487 | test -n "$$unique" || unique=$$empty_fix; \ 488 | if test $$# -gt 0; then \ 489 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 490 | "$$@" $$unique; \ 491 | else \ 492 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 493 | $$unique; \ 494 | fi; \ 495 | fi 496 | ctags: ctags-recursive 497 | 498 | CTAGS: ctags 499 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 500 | $(am__define_uniq_tagged_files); \ 501 | test -z "$(CTAGS_ARGS)$$unique" \ 502 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 503 | $$unique 504 | 505 | GTAGS: 506 | here=`$(am__cd) $(top_builddir) && pwd` \ 507 | && $(am__cd) $(top_srcdir) \ 508 | && gtags -i $(GTAGS_ARGS) "$$here" 509 | cscope: cscope.files 510 | test ! -s cscope.files \ 511 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) 512 | clean-cscope: 513 | -rm -f cscope.files 514 | cscope.files: clean-cscope cscopelist 515 | cscopelist: cscopelist-recursive 516 | 517 | cscopelist-am: $(am__tagged_files) 518 | list='$(am__tagged_files)'; \ 519 | case "$(srcdir)" in \ 520 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ 521 | *) sdir=$(subdir)/$(srcdir) ;; \ 522 | esac; \ 523 | for i in $$list; do \ 524 | if test -f "$$i"; then \ 525 | echo "$(subdir)/$$i"; \ 526 | else \ 527 | echo "$$sdir/$$i"; \ 528 | fi; \ 529 | done >> $(top_builddir)/cscope.files 530 | 531 | distclean-tags: 532 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 533 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files 534 | 535 | distdir: $(DISTFILES) 536 | $(am__remove_distdir) 537 | test -d "$(distdir)" || mkdir "$(distdir)" 538 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 539 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 540 | list='$(DISTFILES)'; \ 541 | dist_files=`for file in $$list; do echo $$file; done | \ 542 | sed -e "s|^$$srcdirstrip/||;t" \ 543 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 544 | case $$dist_files in \ 545 | */*) $(MKDIR_P) `echo "$$dist_files" | \ 546 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 547 | sort -u` ;; \ 548 | esac; \ 549 | for file in $$dist_files; do \ 550 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 551 | if test -d $$d/$$file; then \ 552 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 553 | if test -d "$(distdir)/$$file"; then \ 554 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 555 | fi; \ 556 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 557 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ 558 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 559 | fi; \ 560 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ 561 | else \ 562 | test -f "$(distdir)/$$file" \ 563 | || cp -p $$d/$$file "$(distdir)/$$file" \ 564 | || exit 1; \ 565 | fi; \ 566 | done 567 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 568 | if test "$$subdir" = .; then :; else \ 569 | $(am__make_dryrun) \ 570 | || test -d "$(distdir)/$$subdir" \ 571 | || $(MKDIR_P) "$(distdir)/$$subdir" \ 572 | || exit 1; \ 573 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 574 | $(am__relativize); \ 575 | new_distdir=$$reldir; \ 576 | dir1=$$subdir; dir2="$(top_distdir)"; \ 577 | $(am__relativize); \ 578 | new_top_distdir=$$reldir; \ 579 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ 580 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ 581 | ($(am__cd) $$subdir && \ 582 | $(MAKE) $(AM_MAKEFLAGS) \ 583 | top_distdir="$$new_top_distdir" \ 584 | distdir="$$new_distdir" \ 585 | am__remove_distdir=: \ 586 | am__skip_length_check=: \ 587 | am__skip_mode_fix=: \ 588 | distdir) \ 589 | || exit 1; \ 590 | fi; \ 591 | done 592 | -test -n "$(am__skip_mode_fix)" \ 593 | || find "$(distdir)" -type d ! -perm -755 \ 594 | -exec chmod u+rwx,go+rx {} \; -o \ 595 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ 596 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ 597 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ 598 | || chmod -R a+r "$(distdir)" 599 | dist-gzip: distdir 600 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 601 | $(am__post_remove_distdir) 602 | dist-bzip2: distdir 603 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 604 | $(am__post_remove_distdir) 605 | 606 | dist-lzip: distdir 607 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz 608 | $(am__post_remove_distdir) 609 | 610 | dist-xz: distdir 611 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz 612 | $(am__post_remove_distdir) 613 | 614 | dist-tarZ: distdir 615 | @echo WARNING: "Support for distribution archives compressed with" \ 616 | "legacy program 'compress' is deprecated." >&2 617 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 618 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z 619 | $(am__post_remove_distdir) 620 | 621 | dist-shar: distdir 622 | @echo WARNING: "Support for shar distribution archives is" \ 623 | "deprecated." >&2 624 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 625 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz 626 | $(am__post_remove_distdir) 627 | 628 | dist-zip: distdir 629 | -rm -f $(distdir).zip 630 | zip -rq $(distdir).zip $(distdir) 631 | $(am__post_remove_distdir) 632 | 633 | dist dist-all: 634 | $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' 635 | $(am__post_remove_distdir) 636 | 637 | # This target untars the dist file and tries a VPATH configuration. Then 638 | # it guarantees that the distribution is self-contained by making another 639 | # tarfile. 640 | distcheck: dist 641 | case '$(DIST_ARCHIVES)' in \ 642 | *.tar.gz*) \ 643 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ 644 | *.tar.bz2*) \ 645 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ 646 | *.tar.lz*) \ 647 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ 648 | *.tar.xz*) \ 649 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ 650 | *.tar.Z*) \ 651 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ 652 | *.shar.gz*) \ 653 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ 654 | *.zip*) \ 655 | unzip $(distdir).zip ;;\ 656 | esac 657 | chmod -R a-w $(distdir) 658 | chmod u+w $(distdir) 659 | mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst 660 | chmod a-w $(distdir) 661 | test -d $(distdir)/_build || exit 0; \ 662 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ 663 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ 664 | && am__cwd=`pwd` \ 665 | && $(am__cd) $(distdir)/_build/sub \ 666 | && ../../configure \ 667 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ 668 | $(DISTCHECK_CONFIGURE_FLAGS) \ 669 | --srcdir=../.. --prefix="$$dc_install_base" \ 670 | && $(MAKE) $(AM_MAKEFLAGS) \ 671 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ 672 | && $(MAKE) $(AM_MAKEFLAGS) check \ 673 | && $(MAKE) $(AM_MAKEFLAGS) install \ 674 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 675 | && $(MAKE) $(AM_MAKEFLAGS) uninstall \ 676 | && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ 677 | distuninstallcheck \ 678 | && chmod -R a-w "$$dc_install_base" \ 679 | && ({ \ 680 | (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ 681 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ 682 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ 683 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ 684 | distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ 685 | } || { rm -rf "$$dc_destdir"; exit 1; }) \ 686 | && rm -rf "$$dc_destdir" \ 687 | && $(MAKE) $(AM_MAKEFLAGS) dist \ 688 | && rm -rf $(DIST_ARCHIVES) \ 689 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ 690 | && cd "$$am__cwd" \ 691 | || exit 1 692 | $(am__post_remove_distdir) 693 | @(echo "$(distdir) archives ready for distribution: "; \ 694 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ 695 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' 696 | distuninstallcheck: 697 | @test -n '$(distuninstallcheck_dir)' || { \ 698 | echo 'ERROR: trying to run $@ with an empty' \ 699 | '$$(distuninstallcheck_dir)' >&2; \ 700 | exit 1; \ 701 | }; \ 702 | $(am__cd) '$(distuninstallcheck_dir)' || { \ 703 | echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ 704 | exit 1; \ 705 | }; \ 706 | test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ 707 | || { echo "ERROR: files left after uninstall:" ; \ 708 | if test -n "$(DESTDIR)"; then \ 709 | echo " (check DESTDIR support)"; \ 710 | fi ; \ 711 | $(distuninstallcheck_listfiles) ; \ 712 | exit 1; } >&2 713 | distcleancheck: distclean 714 | @if test '$(srcdir)' = . ; then \ 715 | echo "ERROR: distcleancheck can only run from a VPATH build" ; \ 716 | exit 1 ; \ 717 | fi 718 | @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ 719 | || { echo "ERROR: files left in build directory after distclean:" ; \ 720 | $(distcleancheck_listfiles) ; \ 721 | exit 1; } >&2 722 | check-am: all-am 723 | check: check-recursive 724 | all-am: Makefile $(MANS) $(DATA) 725 | installdirs: installdirs-recursive 726 | installdirs-am: 727 | for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docdir)"; do \ 728 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 729 | done 730 | install: install-recursive 731 | install-exec: install-exec-recursive 732 | install-data: install-data-recursive 733 | uninstall: uninstall-recursive 734 | 735 | install-am: all-am 736 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 737 | 738 | installcheck: installcheck-recursive 739 | install-strip: 740 | if test -z '$(STRIP)'; then \ 741 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 742 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 743 | install; \ 744 | else \ 745 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 746 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 747 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ 748 | fi 749 | mostlyclean-generic: 750 | 751 | clean-generic: 752 | 753 | distclean-generic: 754 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 755 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 756 | 757 | maintainer-clean-generic: 758 | @echo "This command is intended for maintainers to use" 759 | @echo "it deletes files that may require special tools to rebuild." 760 | clean: clean-recursive 761 | 762 | clean-am: clean-generic mostlyclean-am 763 | 764 | distclean: distclean-recursive 765 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) 766 | -rm -f Makefile 767 | distclean-am: clean-am distclean-generic distclean-tags 768 | 769 | dvi: dvi-recursive 770 | 771 | dvi-am: 772 | 773 | html: html-recursive 774 | 775 | html-am: 776 | 777 | info: info-recursive 778 | 779 | info-am: 780 | 781 | install-data-am: install-docDATA install-man 782 | 783 | install-dvi: install-dvi-recursive 784 | 785 | install-dvi-am: 786 | 787 | install-exec-am: 788 | 789 | install-html: install-html-recursive 790 | 791 | install-html-am: 792 | 793 | install-info: install-info-recursive 794 | 795 | install-info-am: 796 | 797 | install-man: install-man1 798 | 799 | install-pdf: install-pdf-recursive 800 | 801 | install-pdf-am: 802 | 803 | install-ps: install-ps-recursive 804 | 805 | install-ps-am: 806 | 807 | installcheck-am: 808 | 809 | maintainer-clean: maintainer-clean-recursive 810 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) 811 | -rm -rf $(top_srcdir)/autom4te.cache 812 | -rm -f Makefile 813 | maintainer-clean-am: distclean-am maintainer-clean-generic 814 | 815 | mostlyclean: mostlyclean-recursive 816 | 817 | mostlyclean-am: mostlyclean-generic 818 | 819 | pdf: pdf-recursive 820 | 821 | pdf-am: 822 | 823 | ps: ps-recursive 824 | 825 | ps-am: 826 | 827 | uninstall-am: uninstall-docDATA uninstall-man 828 | 829 | uninstall-man: uninstall-man1 830 | 831 | .MAKE: $(am__recursive_targets) install-am install-strip 832 | 833 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ 834 | am--refresh check check-am clean clean-cscope clean-generic \ 835 | cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ 836 | dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ 837 | distcheck distclean distclean-generic distclean-tags \ 838 | distcleancheck distdir distuninstallcheck dvi dvi-am html \ 839 | html-am info info-am install install-am install-data \ 840 | install-data-am install-docDATA install-dvi install-dvi-am \ 841 | install-exec install-exec-am install-html install-html-am \ 842 | install-info install-info-am install-man install-man1 \ 843 | install-pdf install-pdf-am install-ps install-ps-am \ 844 | install-strip installcheck installcheck-am installdirs \ 845 | installdirs-am maintainer-clean maintainer-clean-generic \ 846 | mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ 847 | tags-am uninstall uninstall-am uninstall-docDATA uninstall-man \ 848 | uninstall-man1 849 | 850 | .PRECIOUS: Makefile 851 | 852 | 853 | # Tell versions [3.59,3.63) of GNU make to not export all variables. 854 | # Otherwise a system limit (for SysV at least) may be exceeded. 855 | .NOEXPORT: 856 | -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- 1 | # Makefile.in generated by automake 1.15 from Makefile.am. 2 | # Makefile. Generated from Makefile.in by configure. 3 | 4 | # Copyright (C) 1994-2014 Free Software Foundation, Inc. 5 | 6 | # This Makefile.in is free software; the Free Software Foundation 7 | # gives unlimited permission to copy and/or distribute it, 8 | # with or without modifications, as long as this notice is preserved. 9 | 10 | # This program is distributed in the hope that it will be useful, 11 | # but WITHOUT ANY WARRANTY, to the extent permitted by law; without 12 | # even the implied warranty of MERCHANTABILITY or FITNESS FOR A 13 | # PARTICULAR PURPOSE. 14 | 15 | 16 | 17 | 18 | am__is_gnu_make = { \ 19 | if test -z '$(MAKELEVEL)'; then \ 20 | false; \ 21 | elif test -n '$(MAKE_HOST)'; then \ 22 | true; \ 23 | elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ 24 | true; \ 25 | else \ 26 | false; \ 27 | fi; \ 28 | } 29 | am__make_running_with_option = \ 30 | case $${target_option-} in \ 31 | ?) ;; \ 32 | *) echo "am__make_running_with_option: internal error: invalid" \ 33 | "target option '$${target_option-}' specified" >&2; \ 34 | exit 1;; \ 35 | esac; \ 36 | has_opt=no; \ 37 | sane_makeflags=$$MAKEFLAGS; \ 38 | if $(am__is_gnu_make); then \ 39 | sane_makeflags=$$MFLAGS; \ 40 | else \ 41 | case $$MAKEFLAGS in \ 42 | *\\[\ \ ]*) \ 43 | bs=\\; \ 44 | sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ 45 | | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ 46 | esac; \ 47 | fi; \ 48 | skip_next=no; \ 49 | strip_trailopt () \ 50 | { \ 51 | flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ 52 | }; \ 53 | for flg in $$sane_makeflags; do \ 54 | test $$skip_next = yes && { skip_next=no; continue; }; \ 55 | case $$flg in \ 56 | *=*|--*) continue;; \ 57 | -*I) strip_trailopt 'I'; skip_next=yes;; \ 58 | -*I?*) strip_trailopt 'I';; \ 59 | -*O) strip_trailopt 'O'; skip_next=yes;; \ 60 | -*O?*) strip_trailopt 'O';; \ 61 | -*l) strip_trailopt 'l'; skip_next=yes;; \ 62 | -*l?*) strip_trailopt 'l';; \ 63 | -[dEDm]) skip_next=yes;; \ 64 | -[JT]) skip_next=yes;; \ 65 | esac; \ 66 | case $$flg in \ 67 | *$$target_option*) has_opt=yes; break;; \ 68 | esac; \ 69 | done; \ 70 | test $$has_opt = yes 71 | am__make_dryrun = (target_option=n; $(am__make_running_with_option)) 72 | am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) 73 | pkgdatadir = $(datadir)/patchelf 74 | pkgincludedir = $(includedir)/patchelf 75 | pkglibdir = $(libdir)/patchelf 76 | pkglibexecdir = $(libexecdir)/patchelf 77 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd 78 | install_sh_DATA = $(install_sh) -c -m 644 79 | install_sh_PROGRAM = $(install_sh) -c 80 | install_sh_SCRIPT = $(install_sh) -c 81 | INSTALL_HEADER = $(INSTALL_DATA) 82 | transform = $(program_transform_name) 83 | NORMAL_INSTALL = : 84 | PRE_INSTALL = : 85 | POST_INSTALL = : 86 | NORMAL_UNINSTALL = : 87 | PRE_UNINSTALL = : 88 | POST_UNINSTALL = : 89 | subdir = . 90 | ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 91 | am__aclocal_m4_deps = $(top_srcdir)/configure.ac 92 | am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 93 | $(ACLOCAL_M4) 94 | DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ 95 | $(am__configure_deps) $(am__DIST_COMMON) 96 | am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 97 | configure.lineno config.status.lineno 98 | mkinstalldirs = $(install_sh) -d 99 | CONFIG_CLEAN_FILES = patchelf.spec 100 | CONFIG_CLEAN_VPATH_FILES = 101 | AM_V_P = $(am__v_P_$(V)) 102 | am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY)) 103 | am__v_P_0 = false 104 | am__v_P_1 = : 105 | AM_V_GEN = $(am__v_GEN_$(V)) 106 | am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) 107 | am__v_GEN_0 = @echo " GEN " $@; 108 | am__v_GEN_1 = 109 | AM_V_at = $(am__v_at_$(V)) 110 | am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) 111 | am__v_at_0 = @ 112 | am__v_at_1 = 113 | SOURCES = 114 | DIST_SOURCES = 115 | RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ 116 | ctags-recursive dvi-recursive html-recursive info-recursive \ 117 | install-data-recursive install-dvi-recursive \ 118 | install-exec-recursive install-html-recursive \ 119 | install-info-recursive install-pdf-recursive \ 120 | install-ps-recursive install-recursive installcheck-recursive \ 121 | installdirs-recursive pdf-recursive ps-recursive \ 122 | tags-recursive uninstall-recursive 123 | am__can_run_installinfo = \ 124 | case $$AM_UPDATE_INFO_DIR in \ 125 | n|no|NO) false;; \ 126 | *) (install-info --version) >/dev/null 2>&1;; \ 127 | esac 128 | am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; 129 | am__vpath_adj = case $$p in \ 130 | $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ 131 | *) f=$$p;; \ 132 | esac; 133 | am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; 134 | am__install_max = 40 135 | am__nobase_strip_setup = \ 136 | srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` 137 | am__nobase_strip = \ 138 | for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" 139 | am__nobase_list = $(am__nobase_strip_setup); \ 140 | for p in $$list; do echo "$$p $$p"; done | \ 141 | sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ 142 | $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ 143 | if (++n[$$2] == $(am__install_max)) \ 144 | { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ 145 | END { for (dir in files) print dir, files[dir] }' 146 | am__base_list = \ 147 | sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ 148 | sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' 149 | am__uninstall_files_from_dir = { \ 150 | test -z "$$files" \ 151 | || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ 152 | || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ 153 | $(am__cd) "$$dir" && rm -f $$files; }; \ 154 | } 155 | man1dir = $(mandir)/man1 156 | am__installdirs = "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docdir)" 157 | NROFF = nroff 158 | MANS = $(man1_MANS) 159 | DATA = $(doc_DATA) 160 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ 161 | distclean-recursive maintainer-clean-recursive 162 | am__recursive_targets = \ 163 | $(RECURSIVE_TARGETS) \ 164 | $(RECURSIVE_CLEAN_TARGETS) \ 165 | $(am__extra_recursive_targets) 166 | AM_RECURSIVE_TARGETS = $(am__recursive_targets:-recursive=) TAGS CTAGS \ 167 | cscope distdir dist dist-all distcheck 168 | am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) 169 | # Read a list of newline-separated strings from the standard input, 170 | # and print each of them once, without duplicates. Input order is 171 | # *not* preserved. 172 | am__uniquify_input = $(AWK) '\ 173 | BEGIN { nonempty = 0; } \ 174 | { items[$$0] = 1; nonempty = 1; } \ 175 | END { if (nonempty) { for (i in items) print i; }; } \ 176 | ' 177 | # Make sure the list of sources is unique. This is necessary because, 178 | # e.g., the same source file might be shared among _SOURCES variables 179 | # for different programs/libraries. 180 | am__define_uniq_tagged_files = \ 181 | list='$(am__tagged_files)'; \ 182 | unique=`for i in $$list; do \ 183 | if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ 184 | done | $(am__uniquify_input)` 185 | ETAGS = etags 186 | CTAGS = ctags 187 | CSCOPE = cscope 188 | DIST_SUBDIRS = $(SUBDIRS) 189 | am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/patchelf.spec.in \ 190 | $(top_srcdir)/build-aux/compile \ 191 | $(top_srcdir)/build-aux/install-sh \ 192 | $(top_srcdir)/build-aux/missing COPYING README \ 193 | build-aux/compile build-aux/install-sh build-aux/missing 194 | DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) 195 | distdir = $(PACKAGE)-$(VERSION) 196 | top_distdir = $(distdir) 197 | am__remove_distdir = \ 198 | if test -d "$(distdir)"; then \ 199 | find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ 200 | && rm -rf "$(distdir)" \ 201 | || { sleep 5 && rm -rf "$(distdir)"; }; \ 202 | else :; fi 203 | am__post_remove_distdir = $(am__remove_distdir) 204 | am__relativize = \ 205 | dir0=`pwd`; \ 206 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ 207 | sed_rest='s,^[^/]*/*,,'; \ 208 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ 209 | sed_butlast='s,/*[^/]*$$,,'; \ 210 | while test -n "$$dir1"; do \ 211 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ 212 | if test "$$first" != "."; then \ 213 | if test "$$first" = ".."; then \ 214 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ 215 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ 216 | else \ 217 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ 218 | if test "$$first2" = "$$first"; then \ 219 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ 220 | else \ 221 | dir2="../$$dir2"; \ 222 | fi; \ 223 | dir0="$$dir0"/"$$first"; \ 224 | fi; \ 225 | fi; \ 226 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ 227 | done; \ 228 | reldir="$$dir2" 229 | DIST_ARCHIVES = $(distdir).tar.gz $(distdir).tar.bz2 230 | GZIP_ENV = --best 231 | DIST_TARGETS = dist-bzip2 dist-gzip 232 | distuninstallcheck_listfiles = find . -type f -print 233 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ 234 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' 235 | distcleancheck_listfiles = find . -type f -print 236 | ACLOCAL = ${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing aclocal-1.15 237 | AMTAR = $${TAR-tar} 238 | AM_DEFAULT_VERBOSITY = 1 239 | AUTOCONF = ${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing autoconf 240 | AUTOHEADER = ${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing autoheader 241 | AUTOMAKE = ${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing automake-1.15 242 | AWK = gawk 243 | CC = aarch64-linux-android-gcc 244 | CCDEPMODE = depmode=gcc3 245 | CFLAGS = -static -O2 -fPIE 246 | CPPFLAGS = 247 | CXX = aarch64-linux-android-g++ 248 | CXXDEPMODE = depmode=gcc3 249 | CXXFLAGS = -g -O2 250 | CYGPATH_W = echo 251 | DEFS = -DPACKAGE_NAME=\"patchelf\" -DPACKAGE_TARNAME=\"patchelf\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"patchelf\ 0.9\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"patchelf\" -DVERSION=\"0.9\" -DPAGESIZE=4096 252 | DEPDIR = .deps 253 | ECHO_C = 254 | ECHO_N = -n 255 | ECHO_T = 256 | EXEEXT = 257 | INSTALL = /usr/bin/install -c 258 | INSTALL_DATA = ${INSTALL} -m 644 259 | INSTALL_PROGRAM = ${INSTALL} 260 | INSTALL_SCRIPT = ${INSTALL} 261 | INSTALL_STRIP_PROGRAM = $(install_sh) -c -s 262 | LDFLAGS = -static -O2 -fPIE 263 | LIBOBJS = 264 | LIBS = 265 | LTLIBOBJS = 266 | MAKEINFO = ${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing makeinfo 267 | MKDIR_P = /bin/mkdir -p 268 | OBJEXT = o 269 | PACKAGE = patchelf 270 | PACKAGE_BUGREPORT = 271 | PACKAGE_NAME = patchelf 272 | PACKAGE_STRING = patchelf 0.9 273 | PACKAGE_TARNAME = patchelf 274 | PACKAGE_URL = 275 | PACKAGE_VERSION = 0.9 276 | PATH_SEPARATOR = : 277 | SET_MAKE = 278 | SHELL = /bin/bash 279 | STRIP = aarch64-linux-android-strip 280 | VERSION = 0.9 281 | abs_builddir = /home/crixec/workspace/cross/patchelf-0.9 282 | abs_srcdir = /home/crixec/workspace/cross/patchelf-0.9 283 | abs_top_builddir = /home/crixec/workspace/cross/patchelf-0.9 284 | abs_top_srcdir = /home/crixec/workspace/cross/patchelf-0.9 285 | ac_ct_CC = 286 | ac_ct_CXX = 287 | am__include = include 288 | am__leading_dot = . 289 | am__quote = 290 | am__tar = $${TAR-tar} chof - "$$tardir" 291 | am__untar = $${TAR-tar} xf - 292 | bindir = ${exec_prefix}/bin 293 | build_alias = 294 | builddir = . 295 | datadir = ${datarootdir} 296 | datarootdir = ${prefix}/share 297 | docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} 298 | dvidir = ${docdir} 299 | exec_prefix = ${prefix} 300 | host_alias = aarch64-linux-android 301 | htmldir = ${docdir} 302 | includedir = ${prefix}/include 303 | infodir = ${datarootdir}/info 304 | install_sh = ${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/install-sh 305 | libdir = ${exec_prefix}/lib 306 | libexecdir = ${exec_prefix}/libexec 307 | localedir = ${datarootdir}/locale 308 | localstatedir = ${prefix}/var 309 | mandir = ${datarootdir}/man 310 | mkdir_p = $(MKDIR_P) 311 | oldincludedir = /usr/include 312 | pdfdir = ${docdir} 313 | prefix = /usr/local 314 | program_transform_name = s,x,x, 315 | psdir = ${docdir} 316 | sbindir = ${exec_prefix}/sbin 317 | sharedstatedir = ${prefix}/com 318 | srcdir = . 319 | sysconfdir = ${prefix}/etc 320 | target_alias = 321 | top_build_prefix = 322 | top_builddir = . 323 | top_srcdir = . 324 | SUBDIRS = src tests 325 | EXTRA_DIST = COPYING README patchelf.spec version $(man1_MANS) 326 | man1_MANS = patchelf.1 327 | doc_DATA = README 328 | all: all-recursive 329 | 330 | .SUFFIXES: 331 | am--refresh: Makefile 332 | @: 333 | $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) 334 | @for dep in $?; do \ 335 | case '$(am__configure_deps)' in \ 336 | *$$dep*) \ 337 | echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ 338 | $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ 339 | && exit 0; \ 340 | exit 1;; \ 341 | esac; \ 342 | done; \ 343 | echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ 344 | $(am__cd) $(top_srcdir) && \ 345 | $(AUTOMAKE) --foreign Makefile 346 | Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status 347 | @case '$?' in \ 348 | *config.status*) \ 349 | echo ' $(SHELL) ./config.status'; \ 350 | $(SHELL) ./config.status;; \ 351 | *) \ 352 | echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ 353 | cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ 354 | esac; 355 | 356 | $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) 357 | $(SHELL) ./config.status --recheck 358 | 359 | $(top_srcdir)/configure: $(am__configure_deps) 360 | $(am__cd) $(srcdir) && $(AUTOCONF) 361 | $(ACLOCAL_M4): $(am__aclocal_m4_deps) 362 | $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) 363 | $(am__aclocal_m4_deps): 364 | patchelf.spec: $(top_builddir)/config.status $(srcdir)/patchelf.spec.in 365 | cd $(top_builddir) && $(SHELL) ./config.status $@ 366 | install-man1: $(man1_MANS) 367 | @$(NORMAL_INSTALL) 368 | @list1='$(man1_MANS)'; \ 369 | list2=''; \ 370 | test -n "$(man1dir)" \ 371 | && test -n "`echo $$list1$$list2`" \ 372 | || exit 0; \ 373 | echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ 374 | $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ 375 | { for i in $$list1; do echo "$$i"; done; \ 376 | if test -n "$$list2"; then \ 377 | for i in $$list2; do echo "$$i"; done \ 378 | | sed -n '/\.1[a-z]*$$/p'; \ 379 | fi; \ 380 | } | while read p; do \ 381 | if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ 382 | echo "$$d$$p"; echo "$$p"; \ 383 | done | \ 384 | sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ 385 | -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ 386 | sed 'N;N;s,\n, ,g' | { \ 387 | list=; while read file base inst; do \ 388 | if test "$$base" = "$$inst"; then list="$$list $$file"; else \ 389 | echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ 390 | $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ 391 | fi; \ 392 | done; \ 393 | for i in $$list; do echo "$$i"; done | $(am__base_list) | \ 394 | while read files; do \ 395 | test -z "$$files" || { \ 396 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ 397 | $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ 398 | done; } 399 | 400 | uninstall-man1: 401 | @$(NORMAL_UNINSTALL) 402 | @list='$(man1_MANS)'; test -n "$(man1dir)" || exit 0; \ 403 | files=`{ for i in $$list; do echo "$$i"; done; \ 404 | } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ 405 | -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ 406 | dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) 407 | install-docDATA: $(doc_DATA) 408 | @$(NORMAL_INSTALL) 409 | @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ 410 | if test -n "$$list"; then \ 411 | echo " $(MKDIR_P) '$(DESTDIR)$(docdir)'"; \ 412 | $(MKDIR_P) "$(DESTDIR)$(docdir)" || exit 1; \ 413 | fi; \ 414 | for p in $$list; do \ 415 | if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ 416 | echo "$$d$$p"; \ 417 | done | $(am__base_list) | \ 418 | while read files; do \ 419 | echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \ 420 | $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \ 421 | done 422 | 423 | uninstall-docDATA: 424 | @$(NORMAL_UNINSTALL) 425 | @list='$(doc_DATA)'; test -n "$(docdir)" || list=; \ 426 | files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ 427 | dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir) 428 | 429 | # This directory's subdirectories are mostly independent; you can cd 430 | # into them and run 'make' without going through this Makefile. 431 | # To change the values of 'make' variables: instead of editing Makefiles, 432 | # (1) if the variable is set in 'config.status', edit 'config.status' 433 | # (which will cause the Makefiles to be regenerated when you run 'make'); 434 | # (2) otherwise, pass the desired values on the 'make' command line. 435 | $(am__recursive_targets): 436 | @fail=; \ 437 | if $(am__make_keepgoing); then \ 438 | failcom='fail=yes'; \ 439 | else \ 440 | failcom='exit 1'; \ 441 | fi; \ 442 | dot_seen=no; \ 443 | target=`echo $@ | sed s/-recursive//`; \ 444 | case "$@" in \ 445 | distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \ 446 | *) list='$(SUBDIRS)' ;; \ 447 | esac; \ 448 | for subdir in $$list; do \ 449 | echo "Making $$target in $$subdir"; \ 450 | if test "$$subdir" = "."; then \ 451 | dot_seen=yes; \ 452 | local_target="$$target-am"; \ 453 | else \ 454 | local_target="$$target"; \ 455 | fi; \ 456 | ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \ 457 | || eval $$failcom; \ 458 | done; \ 459 | if test "$$dot_seen" = "no"; then \ 460 | $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \ 461 | fi; test -z "$$fail" 462 | 463 | ID: $(am__tagged_files) 464 | $(am__define_uniq_tagged_files); mkid -fID $$unique 465 | tags: tags-recursive 466 | TAGS: tags 467 | 468 | tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 469 | set x; \ 470 | here=`pwd`; \ 471 | if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 472 | include_option=--etags-include; \ 473 | empty_fix=.; \ 474 | else \ 475 | include_option=--include; \ 476 | empty_fix=; \ 477 | fi; \ 478 | list='$(SUBDIRS)'; for subdir in $$list; do \ 479 | if test "$$subdir" = .; then :; else \ 480 | test ! -f $$subdir/TAGS || \ 481 | set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \ 482 | fi; \ 483 | done; \ 484 | $(am__define_uniq_tagged_files); \ 485 | shift; \ 486 | if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ 487 | test -n "$$unique" || unique=$$empty_fix; \ 488 | if test $$# -gt 0; then \ 489 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 490 | "$$@" $$unique; \ 491 | else \ 492 | $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 493 | $$unique; \ 494 | fi; \ 495 | fi 496 | ctags: ctags-recursive 497 | 498 | CTAGS: ctags 499 | ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) 500 | $(am__define_uniq_tagged_files); \ 501 | test -z "$(CTAGS_ARGS)$$unique" \ 502 | || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ 503 | $$unique 504 | 505 | GTAGS: 506 | here=`$(am__cd) $(top_builddir) && pwd` \ 507 | && $(am__cd) $(top_srcdir) \ 508 | && gtags -i $(GTAGS_ARGS) "$$here" 509 | cscope: cscope.files 510 | test ! -s cscope.files \ 511 | || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) 512 | clean-cscope: 513 | -rm -f cscope.files 514 | cscope.files: clean-cscope cscopelist 515 | cscopelist: cscopelist-recursive 516 | 517 | cscopelist-am: $(am__tagged_files) 518 | list='$(am__tagged_files)'; \ 519 | case "$(srcdir)" in \ 520 | [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ 521 | *) sdir=$(subdir)/$(srcdir) ;; \ 522 | esac; \ 523 | for i in $$list; do \ 524 | if test -f "$$i"; then \ 525 | echo "$(subdir)/$$i"; \ 526 | else \ 527 | echo "$$sdir/$$i"; \ 528 | fi; \ 529 | done >> $(top_builddir)/cscope.files 530 | 531 | distclean-tags: 532 | -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags 533 | -rm -f cscope.out cscope.in.out cscope.po.out cscope.files 534 | 535 | distdir: $(DISTFILES) 536 | $(am__remove_distdir) 537 | test -d "$(distdir)" || mkdir "$(distdir)" 538 | @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 539 | topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ 540 | list='$(DISTFILES)'; \ 541 | dist_files=`for file in $$list; do echo $$file; done | \ 542 | sed -e "s|^$$srcdirstrip/||;t" \ 543 | -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ 544 | case $$dist_files in \ 545 | */*) $(MKDIR_P) `echo "$$dist_files" | \ 546 | sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ 547 | sort -u` ;; \ 548 | esac; \ 549 | for file in $$dist_files; do \ 550 | if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ 551 | if test -d $$d/$$file; then \ 552 | dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ 553 | if test -d "$(distdir)/$$file"; then \ 554 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 555 | fi; \ 556 | if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ 557 | cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ 558 | find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ 559 | fi; \ 560 | cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ 561 | else \ 562 | test -f "$(distdir)/$$file" \ 563 | || cp -p $$d/$$file "$(distdir)/$$file" \ 564 | || exit 1; \ 565 | fi; \ 566 | done 567 | @list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 568 | if test "$$subdir" = .; then :; else \ 569 | $(am__make_dryrun) \ 570 | || test -d "$(distdir)/$$subdir" \ 571 | || $(MKDIR_P) "$(distdir)/$$subdir" \ 572 | || exit 1; \ 573 | dir1=$$subdir; dir2="$(distdir)/$$subdir"; \ 574 | $(am__relativize); \ 575 | new_distdir=$$reldir; \ 576 | dir1=$$subdir; dir2="$(top_distdir)"; \ 577 | $(am__relativize); \ 578 | new_top_distdir=$$reldir; \ 579 | echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \ 580 | echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \ 581 | ($(am__cd) $$subdir && \ 582 | $(MAKE) $(AM_MAKEFLAGS) \ 583 | top_distdir="$$new_top_distdir" \ 584 | distdir="$$new_distdir" \ 585 | am__remove_distdir=: \ 586 | am__skip_length_check=: \ 587 | am__skip_mode_fix=: \ 588 | distdir) \ 589 | || exit 1; \ 590 | fi; \ 591 | done 592 | -test -n "$(am__skip_mode_fix)" \ 593 | || find "$(distdir)" -type d ! -perm -755 \ 594 | -exec chmod u+rwx,go+rx {} \; -o \ 595 | ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ 596 | ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ 597 | ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ 598 | || chmod -R a+r "$(distdir)" 599 | dist-gzip: distdir 600 | tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 601 | $(am__post_remove_distdir) 602 | dist-bzip2: distdir 603 | tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 604 | $(am__post_remove_distdir) 605 | 606 | dist-lzip: distdir 607 | tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz 608 | $(am__post_remove_distdir) 609 | 610 | dist-xz: distdir 611 | tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz 612 | $(am__post_remove_distdir) 613 | 614 | dist-tarZ: distdir 615 | @echo WARNING: "Support for distribution archives compressed with" \ 616 | "legacy program 'compress' is deprecated." >&2 617 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 618 | tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z 619 | $(am__post_remove_distdir) 620 | 621 | dist-shar: distdir 622 | @echo WARNING: "Support for shar distribution archives is" \ 623 | "deprecated." >&2 624 | @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 625 | shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz 626 | $(am__post_remove_distdir) 627 | 628 | dist-zip: distdir 629 | -rm -f $(distdir).zip 630 | zip -rq $(distdir).zip $(distdir) 631 | $(am__post_remove_distdir) 632 | 633 | dist dist-all: 634 | $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' 635 | $(am__post_remove_distdir) 636 | 637 | # This target untars the dist file and tries a VPATH configuration. Then 638 | # it guarantees that the distribution is self-contained by making another 639 | # tarfile. 640 | distcheck: dist 641 | case '$(DIST_ARCHIVES)' in \ 642 | *.tar.gz*) \ 643 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ 644 | *.tar.bz2*) \ 645 | bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ 646 | *.tar.lz*) \ 647 | lzip -dc $(distdir).tar.lz | $(am__untar) ;;\ 648 | *.tar.xz*) \ 649 | xz -dc $(distdir).tar.xz | $(am__untar) ;;\ 650 | *.tar.Z*) \ 651 | uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ 652 | *.shar.gz*) \ 653 | GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ 654 | *.zip*) \ 655 | unzip $(distdir).zip ;;\ 656 | esac 657 | chmod -R a-w $(distdir) 658 | chmod u+w $(distdir) 659 | mkdir $(distdir)/_build $(distdir)/_build/sub $(distdir)/_inst 660 | chmod a-w $(distdir) 661 | test -d $(distdir)/_build || exit 0; \ 662 | dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ 663 | && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ 664 | && am__cwd=`pwd` \ 665 | && $(am__cd) $(distdir)/_build/sub \ 666 | && ../../configure \ 667 | $(AM_DISTCHECK_CONFIGURE_FLAGS) \ 668 | $(DISTCHECK_CONFIGURE_FLAGS) \ 669 | --srcdir=../.. --prefix="$$dc_install_base" \ 670 | && $(MAKE) $(AM_MAKEFLAGS) \ 671 | && $(MAKE) $(AM_MAKEFLAGS) dvi \ 672 | && $(MAKE) $(AM_MAKEFLAGS) check \ 673 | && $(MAKE) $(AM_MAKEFLAGS) install \ 674 | && $(MAKE) $(AM_MAKEFLAGS) installcheck \ 675 | && $(MAKE) $(AM_MAKEFLAGS) uninstall \ 676 | && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ 677 | distuninstallcheck \ 678 | && chmod -R a-w "$$dc_install_base" \ 679 | && ({ \ 680 | (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ 681 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ 682 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ 683 | && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ 684 | distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ 685 | } || { rm -rf "$$dc_destdir"; exit 1; }) \ 686 | && rm -rf "$$dc_destdir" \ 687 | && $(MAKE) $(AM_MAKEFLAGS) dist \ 688 | && rm -rf $(DIST_ARCHIVES) \ 689 | && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ 690 | && cd "$$am__cwd" \ 691 | || exit 1 692 | $(am__post_remove_distdir) 693 | @(echo "$(distdir) archives ready for distribution: "; \ 694 | list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ 695 | sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' 696 | distuninstallcheck: 697 | @test -n '$(distuninstallcheck_dir)' || { \ 698 | echo 'ERROR: trying to run $@ with an empty' \ 699 | '$$(distuninstallcheck_dir)' >&2; \ 700 | exit 1; \ 701 | }; \ 702 | $(am__cd) '$(distuninstallcheck_dir)' || { \ 703 | echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ 704 | exit 1; \ 705 | }; \ 706 | test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ 707 | || { echo "ERROR: files left after uninstall:" ; \ 708 | if test -n "$(DESTDIR)"; then \ 709 | echo " (check DESTDIR support)"; \ 710 | fi ; \ 711 | $(distuninstallcheck_listfiles) ; \ 712 | exit 1; } >&2 713 | distcleancheck: distclean 714 | @if test '$(srcdir)' = . ; then \ 715 | echo "ERROR: distcleancheck can only run from a VPATH build" ; \ 716 | exit 1 ; \ 717 | fi 718 | @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ 719 | || { echo "ERROR: files left in build directory after distclean:" ; \ 720 | $(distcleancheck_listfiles) ; \ 721 | exit 1; } >&2 722 | check-am: all-am 723 | check: check-recursive 724 | all-am: Makefile $(MANS) $(DATA) 725 | installdirs: installdirs-recursive 726 | installdirs-am: 727 | for dir in "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(docdir)"; do \ 728 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 729 | done 730 | install: install-recursive 731 | install-exec: install-exec-recursive 732 | install-data: install-data-recursive 733 | uninstall: uninstall-recursive 734 | 735 | install-am: all-am 736 | @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 737 | 738 | installcheck: installcheck-recursive 739 | install-strip: 740 | if test -z '$(STRIP)'; then \ 741 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 742 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 743 | install; \ 744 | else \ 745 | $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ 746 | install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ 747 | "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ 748 | fi 749 | mostlyclean-generic: 750 | 751 | clean-generic: 752 | 753 | distclean-generic: 754 | -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 755 | -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) 756 | 757 | maintainer-clean-generic: 758 | @echo "This command is intended for maintainers to use" 759 | @echo "it deletes files that may require special tools to rebuild." 760 | clean: clean-recursive 761 | 762 | clean-am: clean-generic mostlyclean-am 763 | 764 | distclean: distclean-recursive 765 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) 766 | -rm -f Makefile 767 | distclean-am: clean-am distclean-generic distclean-tags 768 | 769 | dvi: dvi-recursive 770 | 771 | dvi-am: 772 | 773 | html: html-recursive 774 | 775 | html-am: 776 | 777 | info: info-recursive 778 | 779 | info-am: 780 | 781 | install-data-am: install-docDATA install-man 782 | 783 | install-dvi: install-dvi-recursive 784 | 785 | install-dvi-am: 786 | 787 | install-exec-am: 788 | 789 | install-html: install-html-recursive 790 | 791 | install-html-am: 792 | 793 | install-info: install-info-recursive 794 | 795 | install-info-am: 796 | 797 | install-man: install-man1 798 | 799 | install-pdf: install-pdf-recursive 800 | 801 | install-pdf-am: 802 | 803 | install-ps: install-ps-recursive 804 | 805 | install-ps-am: 806 | 807 | installcheck-am: 808 | 809 | maintainer-clean: maintainer-clean-recursive 810 | -rm -f $(am__CONFIG_DISTCLEAN_FILES) 811 | -rm -rf $(top_srcdir)/autom4te.cache 812 | -rm -f Makefile 813 | maintainer-clean-am: distclean-am maintainer-clean-generic 814 | 815 | mostlyclean: mostlyclean-recursive 816 | 817 | mostlyclean-am: mostlyclean-generic 818 | 819 | pdf: pdf-recursive 820 | 821 | pdf-am: 822 | 823 | ps: ps-recursive 824 | 825 | ps-am: 826 | 827 | uninstall-am: uninstall-docDATA uninstall-man 828 | 829 | uninstall-man: uninstall-man1 830 | 831 | .MAKE: $(am__recursive_targets) install-am install-strip 832 | 833 | .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ 834 | am--refresh check check-am clean clean-cscope clean-generic \ 835 | cscope cscopelist-am ctags ctags-am dist dist-all dist-bzip2 \ 836 | dist-gzip dist-lzip dist-shar dist-tarZ dist-xz dist-zip \ 837 | distcheck distclean distclean-generic distclean-tags \ 838 | distcleancheck distdir distuninstallcheck dvi dvi-am html \ 839 | html-am info info-am install install-am install-data \ 840 | install-data-am install-docDATA install-dvi install-dvi-am \ 841 | install-exec install-exec-am install-html install-html-am \ 842 | install-info install-info-am install-man install-man1 \ 843 | install-pdf install-pdf-am install-ps install-ps-am \ 844 | install-strip installcheck installcheck-am installdirs \ 845 | installdirs-am maintainer-clean maintainer-clean-generic \ 846 | mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \ 847 | tags-am uninstall uninstall-am uninstall-docDATA uninstall-man \ 848 | uninstall-man1 849 | 850 | .PRECIOUS: Makefile 851 | 852 | 853 | # Tell versions [3.59,3.63) of GNU make to not export all variables. 854 | # Otherwise a system limit (for SysV at least) may be exceeded. 855 | .NOEXPORT: 856 | -------------------------------------------------------------------------------- /config.status: -------------------------------------------------------------------------------- 1 | #! /bin/bash 2 | # Generated by configure. 3 | # Run this file to recreate the current configuration. 4 | # Compiler output produced by configure, useful for debugging 5 | # configure, is in config.log if it exists. 6 | 7 | debug=false 8 | ac_cs_recheck=false 9 | ac_cs_silent=false 10 | 11 | SHELL=${CONFIG_SHELL-/bin/bash} 12 | export SHELL 13 | ## -------------------- ## 14 | ## M4sh Initialization. ## 15 | ## -------------------- ## 16 | 17 | # Be more Bourne compatible 18 | DUALCASE=1; export DUALCASE # for MKS sh 19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 20 | emulate sh 21 | NULLCMD=: 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 23 | # is contrary to our usage. Disable this feature. 24 | alias -g '${1+"$@"}'='"$@"' 25 | setopt NO_GLOB_SUBST 26 | else 27 | case `(set -o) 2>/dev/null` in #( 28 | *posix*) : 29 | set -o posix ;; #( 30 | *) : 31 | ;; 32 | esac 33 | fi 34 | 35 | 36 | as_nl=' 37 | ' 38 | export as_nl 39 | # Printing a long string crashes Solaris 7 /usr/bin/printf. 40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 43 | # Prefer a ksh shell builtin over an external printf program on Solaris, 44 | # but without wasting forks for bash or zsh. 45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ 46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 47 | as_echo='print -r --' 48 | as_echo_n='print -rn --' 49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 50 | as_echo='printf %s\n' 51 | as_echo_n='printf %s' 52 | else 53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 55 | as_echo_n='/usr/ucb/echo -n' 56 | else 57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 58 | as_echo_n_body='eval 59 | arg=$1; 60 | case $arg in #( 61 | *"$as_nl"*) 62 | expr "X$arg" : "X\\(.*\\)$as_nl"; 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 64 | esac; 65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 66 | ' 67 | export as_echo_n_body 68 | as_echo_n='sh -c $as_echo_n_body as_echo' 69 | fi 70 | export as_echo_body 71 | as_echo='sh -c $as_echo_body as_echo' 72 | fi 73 | 74 | # The user is always right. 75 | if test "${PATH_SEPARATOR+set}" != set; then 76 | PATH_SEPARATOR=: 77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 79 | PATH_SEPARATOR=';' 80 | } 81 | fi 82 | 83 | 84 | # IFS 85 | # We need space, tab and new line, in precisely that order. Quoting is 86 | # there to prevent editors from complaining about space-tab. 87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word 88 | # splitting by setting IFS to empty value.) 89 | IFS=" "" $as_nl" 90 | 91 | # Find who we are. Look in the path if we contain no directory separator. 92 | as_myself= 93 | case $0 in #(( 94 | *[\\/]* ) as_myself=$0 ;; 95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 96 | for as_dir in $PATH 97 | do 98 | IFS=$as_save_IFS 99 | test -z "$as_dir" && as_dir=. 100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 101 | done 102 | IFS=$as_save_IFS 103 | 104 | ;; 105 | esac 106 | # We did not find ourselves, most probably we were run as `sh COMMAND' 107 | # in which case we are not to be found in the path. 108 | if test "x$as_myself" = x; then 109 | as_myself=$0 110 | fi 111 | if test ! -f "$as_myself"; then 112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 113 | exit 1 114 | fi 115 | 116 | # Unset variables that we do not need and which cause bugs (e.g. in 117 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 118 | # suppresses any "Segmentation fault" message there. '((' could 119 | # trigger a bug in pdksh 5.2.14. 120 | for as_var in BASH_ENV ENV MAIL MAILPATH 121 | do eval test x\${$as_var+set} = xset \ 122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 123 | done 124 | PS1='$ ' 125 | PS2='> ' 126 | PS4='+ ' 127 | 128 | # NLS nuisances. 129 | LC_ALL=C 130 | export LC_ALL 131 | LANGUAGE=C 132 | export LANGUAGE 133 | 134 | # CDPATH. 135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 136 | 137 | 138 | # as_fn_error STATUS ERROR [LINENO LOG_FD] 139 | # ---------------------------------------- 140 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 141 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 142 | # script with STATUS, using 1 if that was 0. 143 | as_fn_error () 144 | { 145 | as_status=$1; test $as_status -eq 0 && as_status=1 146 | if test "$4"; then 147 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 148 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 149 | fi 150 | $as_echo "$as_me: error: $2" >&2 151 | as_fn_exit $as_status 152 | } # as_fn_error 153 | 154 | 155 | # as_fn_set_status STATUS 156 | # ----------------------- 157 | # Set $? to STATUS, without forking. 158 | as_fn_set_status () 159 | { 160 | return $1 161 | } # as_fn_set_status 162 | 163 | # as_fn_exit STATUS 164 | # ----------------- 165 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 166 | as_fn_exit () 167 | { 168 | set +e 169 | as_fn_set_status $1 170 | exit $1 171 | } # as_fn_exit 172 | 173 | # as_fn_unset VAR 174 | # --------------- 175 | # Portably unset VAR. 176 | as_fn_unset () 177 | { 178 | { eval $1=; unset $1;} 179 | } 180 | as_unset=as_fn_unset 181 | # as_fn_append VAR VALUE 182 | # ---------------------- 183 | # Append the text in VALUE to the end of the definition contained in VAR. Take 184 | # advantage of any shell optimizations that allow amortized linear growth over 185 | # repeated appends, instead of the typical quadratic growth present in naive 186 | # implementations. 187 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 188 | eval 'as_fn_append () 189 | { 190 | eval $1+=\$2 191 | }' 192 | else 193 | as_fn_append () 194 | { 195 | eval $1=\$$1\$2 196 | } 197 | fi # as_fn_append 198 | 199 | # as_fn_arith ARG... 200 | # ------------------ 201 | # Perform arithmetic evaluation on the ARGs, and store the result in the 202 | # global $as_val. Take advantage of shells that can avoid forks. The arguments 203 | # must be portable across $(()) and expr. 204 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 205 | eval 'as_fn_arith () 206 | { 207 | as_val=$(( $* )) 208 | }' 209 | else 210 | as_fn_arith () 211 | { 212 | as_val=`expr "$@" || test $? -eq 1` 213 | } 214 | fi # as_fn_arith 215 | 216 | 217 | if expr a : '\(a\)' >/dev/null 2>&1 && 218 | test "X`expr 00001 : '.*\(...\)'`" = X001; then 219 | as_expr=expr 220 | else 221 | as_expr=false 222 | fi 223 | 224 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 225 | as_basename=basename 226 | else 227 | as_basename=false 228 | fi 229 | 230 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 231 | as_dirname=dirname 232 | else 233 | as_dirname=false 234 | fi 235 | 236 | as_me=`$as_basename -- "$0" || 237 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 238 | X"$0" : 'X\(//\)$' \| \ 239 | X"$0" : 'X\(/\)' \| . 2>/dev/null || 240 | $as_echo X/"$0" | 241 | sed '/^.*\/\([^/][^/]*\)\/*$/{ 242 | s//\1/ 243 | q 244 | } 245 | /^X\/\(\/\/\)$/{ 246 | s//\1/ 247 | q 248 | } 249 | /^X\/\(\/\).*/{ 250 | s//\1/ 251 | q 252 | } 253 | s/.*/./; q'` 254 | 255 | # Avoid depending upon Character Ranges. 256 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' 257 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 258 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS 259 | as_cr_digits='0123456789' 260 | as_cr_alnum=$as_cr_Letters$as_cr_digits 261 | 262 | ECHO_C= ECHO_N= ECHO_T= 263 | case `echo -n x` in #((((( 264 | -n*) 265 | case `echo 'xy\c'` in 266 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. 267 | xy) ECHO_C='\c';; 268 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 269 | ECHO_T=' ';; 270 | esac;; 271 | *) 272 | ECHO_N='-n';; 273 | esac 274 | 275 | rm -f conf$$ conf$$.exe conf$$.file 276 | if test -d conf$$.dir; then 277 | rm -f conf$$.dir/conf$$.file 278 | else 279 | rm -f conf$$.dir 280 | mkdir conf$$.dir 2>/dev/null 281 | fi 282 | if (echo >conf$$.file) 2>/dev/null; then 283 | if ln -s conf$$.file conf$$ 2>/dev/null; then 284 | as_ln_s='ln -s' 285 | # ... but there are two gotchas: 286 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 287 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 288 | # In both cases, we have to default to `cp -pR'. 289 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 290 | as_ln_s='cp -pR' 291 | elif ln conf$$.file conf$$ 2>/dev/null; then 292 | as_ln_s=ln 293 | else 294 | as_ln_s='cp -pR' 295 | fi 296 | else 297 | as_ln_s='cp -pR' 298 | fi 299 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 300 | rmdir conf$$.dir 2>/dev/null 301 | 302 | 303 | # as_fn_mkdir_p 304 | # ------------- 305 | # Create "$as_dir" as a directory, including parents if necessary. 306 | as_fn_mkdir_p () 307 | { 308 | 309 | case $as_dir in #( 310 | -*) as_dir=./$as_dir;; 311 | esac 312 | test -d "$as_dir" || eval $as_mkdir_p || { 313 | as_dirs= 314 | while :; do 315 | case $as_dir in #( 316 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 317 | *) as_qdir=$as_dir;; 318 | esac 319 | as_dirs="'$as_qdir' $as_dirs" 320 | as_dir=`$as_dirname -- "$as_dir" || 321 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 322 | X"$as_dir" : 'X\(//\)[^/]' \| \ 323 | X"$as_dir" : 'X\(//\)$' \| \ 324 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 325 | $as_echo X"$as_dir" | 326 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 327 | s//\1/ 328 | q 329 | } 330 | /^X\(\/\/\)[^/].*/{ 331 | s//\1/ 332 | q 333 | } 334 | /^X\(\/\/\)$/{ 335 | s//\1/ 336 | q 337 | } 338 | /^X\(\/\).*/{ 339 | s//\1/ 340 | q 341 | } 342 | s/.*/./; q'` 343 | test -d "$as_dir" && break 344 | done 345 | test -z "$as_dirs" || eval "mkdir $as_dirs" 346 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 347 | 348 | 349 | } # as_fn_mkdir_p 350 | if mkdir -p . 2>/dev/null; then 351 | as_mkdir_p='mkdir -p "$as_dir"' 352 | else 353 | test -d ./-p && rmdir ./-p 354 | as_mkdir_p=false 355 | fi 356 | 357 | 358 | # as_fn_executable_p FILE 359 | # ----------------------- 360 | # Test if FILE is an executable regular file. 361 | as_fn_executable_p () 362 | { 363 | test -f "$1" && test -x "$1" 364 | } # as_fn_executable_p 365 | as_test_x='test -x' 366 | as_executable_p=as_fn_executable_p 367 | 368 | # Sed expression to map a string onto a valid CPP name. 369 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 370 | 371 | # Sed expression to map a string onto a valid variable name. 372 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 373 | 374 | 375 | exec 6>&1 376 | ## ----------------------------------- ## 377 | ## Main body of $CONFIG_STATUS script. ## 378 | ## ----------------------------------- ## 379 | # Save the log message, to keep $0 and so on meaningful, and to 380 | # report actual input values of CONFIG_FILES etc. instead of their 381 | # values after options handling. 382 | ac_log=" 383 | This file was extended by patchelf $as_me 0.9, which was 384 | generated by GNU Autoconf 2.69. Invocation command line was 385 | 386 | CONFIG_FILES = $CONFIG_FILES 387 | CONFIG_HEADERS = $CONFIG_HEADERS 388 | CONFIG_LINKS = $CONFIG_LINKS 389 | CONFIG_COMMANDS = $CONFIG_COMMANDS 390 | $ $0 $@ 391 | 392 | on `(hostname || uname -n) 2>/dev/null | sed 1q` 393 | " 394 | 395 | # Files that config.status was made for. 396 | config_files=" Makefile src/Makefile tests/Makefile patchelf.spec" 397 | config_commands=" depfiles" 398 | 399 | ac_cs_usage="\ 400 | \`$as_me' instantiates files and other configuration actions 401 | from templates according to the current configuration. Unless the files 402 | and actions are specified as TAGs, all are instantiated by default. 403 | 404 | Usage: $0 [OPTION]... [TAG]... 405 | 406 | -h, --help print this help, then exit 407 | -V, --version print version number and configuration settings, then exit 408 | --config print configuration, then exit 409 | -q, --quiet, --silent 410 | do not print progress messages 411 | -d, --debug don't remove temporary files 412 | --recheck update $as_me by reconfiguring in the same conditions 413 | --file=FILE[:TEMPLATE] 414 | instantiate the configuration file FILE 415 | 416 | Configuration files: 417 | $config_files 418 | 419 | Configuration commands: 420 | $config_commands 421 | 422 | Report bugs to the package provider." 423 | 424 | ac_cs_config="'--host=aarch64-linux-android' 'CC=aarch64-linux-android-gcc' 'CXX=aarch64-linux-android-g++' 'CFLAGS=-static -O2 -fPIE' 'LDFLAGS=-static -O2 -fPIE' 'host_alias=aarch64-linux-android'" 425 | ac_cs_version="\ 426 | patchelf config.status 0.9 427 | configured by ./configure, generated by GNU Autoconf 2.69, 428 | with options \"$ac_cs_config\" 429 | 430 | Copyright (C) 2012 Free Software Foundation, Inc. 431 | This config.status script is free software; the Free Software Foundation 432 | gives unlimited permission to copy, distribute and modify it." 433 | 434 | ac_pwd='/home/crixec/workspace/cross/patchelf-0.9' 435 | srcdir='.' 436 | INSTALL='/usr/bin/install -c' 437 | MKDIR_P='/bin/mkdir -p' 438 | AWK='gawk' 439 | test -n "$AWK" || AWK=awk 440 | # The default lists apply if the user does not specify any file. 441 | ac_need_defaults=: 442 | while test $# != 0 443 | do 444 | case $1 in 445 | --*=?*) 446 | ac_option=`expr "X$1" : 'X\([^=]*\)='` 447 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 448 | ac_shift=: 449 | ;; 450 | --*=) 451 | ac_option=`expr "X$1" : 'X\([^=]*\)='` 452 | ac_optarg= 453 | ac_shift=: 454 | ;; 455 | *) 456 | ac_option=$1 457 | ac_optarg=$2 458 | ac_shift=shift 459 | ;; 460 | esac 461 | 462 | case $ac_option in 463 | # Handling of the options. 464 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 465 | ac_cs_recheck=: ;; 466 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 467 | $as_echo "$ac_cs_version"; exit ;; 468 | --config | --confi | --conf | --con | --co | --c ) 469 | $as_echo "$ac_cs_config"; exit ;; 470 | --debug | --debu | --deb | --de | --d | -d ) 471 | debug=: ;; 472 | --file | --fil | --fi | --f ) 473 | $ac_shift 474 | case $ac_optarg in 475 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 476 | '') as_fn_error $? "missing file argument" ;; 477 | esac 478 | as_fn_append CONFIG_FILES " '$ac_optarg'" 479 | ac_need_defaults=false;; 480 | --he | --h | --help | --hel | -h ) 481 | $as_echo "$ac_cs_usage"; exit ;; 482 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 483 | | -silent | --silent | --silen | --sile | --sil | --si | --s) 484 | ac_cs_silent=: ;; 485 | 486 | # This is an error. 487 | -*) as_fn_error $? "unrecognized option: \`$1' 488 | Try \`$0 --help' for more information." ;; 489 | 490 | *) as_fn_append ac_config_targets " $1" 491 | ac_need_defaults=false ;; 492 | 493 | esac 494 | shift 495 | done 496 | 497 | ac_configure_extra_args= 498 | 499 | if $ac_cs_silent; then 500 | exec 6>/dev/null 501 | ac_configure_extra_args="$ac_configure_extra_args --silent" 502 | fi 503 | 504 | if $ac_cs_recheck; then 505 | set X /bin/bash './configure' '--host=aarch64-linux-android' 'CC=aarch64-linux-android-gcc' 'CXX=aarch64-linux-android-g++' 'CFLAGS=-static -O2 -fPIE' 'LDFLAGS=-static -O2 -fPIE' 'host_alias=aarch64-linux-android' $ac_configure_extra_args --no-create --no-recursion 506 | shift 507 | $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 508 | CONFIG_SHELL='/bin/bash' 509 | export CONFIG_SHELL 510 | exec "$@" 511 | fi 512 | 513 | exec 5>>config.log 514 | { 515 | echo 516 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 517 | ## Running $as_me. ## 518 | _ASBOX 519 | $as_echo "$ac_log" 520 | } >&5 521 | 522 | # 523 | # INIT-COMMANDS 524 | # 525 | AMDEP_TRUE="" ac_aux_dir="build-aux" 526 | 527 | 528 | # Handling of arguments. 529 | for ac_config_target in $ac_config_targets 530 | do 531 | case $ac_config_target in 532 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; 533 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 534 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 535 | "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;; 536 | "patchelf.spec") CONFIG_FILES="$CONFIG_FILES patchelf.spec" ;; 537 | 538 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 539 | esac 540 | done 541 | 542 | 543 | # If the user did not use the arguments to specify the items to instantiate, 544 | # then the envvar interface is used. Set only those that are not. 545 | # We use the long form for the default assignment because of an extremely 546 | # bizarre bug on SunOS 4.1.3. 547 | if $ac_need_defaults; then 548 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 549 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands 550 | fi 551 | 552 | # Have a temporary directory for convenience. Make it in the build tree 553 | # simply because there is no reason against having it here, and in addition, 554 | # creating and moving files from /tmp can sometimes cause problems. 555 | # Hook for its removal unless debugging. 556 | # Note that there is a small window in which the directory will not be cleaned: 557 | # after its creation but before its name has been assigned to `$tmp'. 558 | $debug || 559 | { 560 | tmp= ac_tmp= 561 | trap 'exit_status=$? 562 | : "${ac_tmp:=$tmp}" 563 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 564 | ' 0 565 | trap 'as_fn_exit 1' 1 2 13 15 566 | } 567 | # Create a (secure) tmp directory for tmp files. 568 | 569 | { 570 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 571 | test -d "$tmp" 572 | } || 573 | { 574 | tmp=./conf$$-$RANDOM 575 | (umask 077 && mkdir "$tmp") 576 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 577 | ac_tmp=$tmp 578 | 579 | # Set up the scripts for CONFIG_FILES section. 580 | # No need to generate them if there are no CONFIG_FILES. 581 | # This happens for instance with `./config.status config.h'. 582 | if test -n "$CONFIG_FILES"; then 583 | 584 | 585 | ac_cr=`echo X | tr X '\015'` 586 | # On cygwin, bash can eat \r inside `` if the user requested igncr. 587 | # But we know of no other shell where ac_cr would be empty at this 588 | # point, so we can use a bashism as a fallback. 589 | if test "x$ac_cr" = x; then 590 | eval ac_cr=\$\'\\r\' 591 | fi 592 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` 593 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 594 | ac_cs_awk_cr='\\r' 595 | else 596 | ac_cs_awk_cr=$ac_cr 597 | fi 598 | 599 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 600 | cat >>"$ac_tmp/subs1.awk" <<\_ACAWK && 601 | S["am__EXEEXT_FALSE"]="" 602 | S["am__EXEEXT_TRUE"]="#" 603 | S["LTLIBOBJS"]="" 604 | S["LIBOBJS"]="" 605 | S["am__fastdepCXX_FALSE"]="#" 606 | S["am__fastdepCXX_TRUE"]="" 607 | S["CXXDEPMODE"]="depmode=gcc3" 608 | S["ac_ct_CXX"]="" 609 | S["CXXFLAGS"]="-g -O2" 610 | S["CXX"]="aarch64-linux-android-g++" 611 | S["am__fastdepCC_FALSE"]="#" 612 | S["am__fastdepCC_TRUE"]="" 613 | S["CCDEPMODE"]="depmode=gcc3" 614 | S["am__nodep"]="_no" 615 | S["AMDEPBACKSLASH"]="\\" 616 | S["AMDEP_FALSE"]="#" 617 | S["AMDEP_TRUE"]="" 618 | S["am__quote"]="" 619 | S["am__include"]="include" 620 | S["DEPDIR"]=".deps" 621 | S["OBJEXT"]="o" 622 | S["EXEEXT"]="" 623 | S["ac_ct_CC"]="" 624 | S["CPPFLAGS"]="" 625 | S["LDFLAGS"]="-static -O2 -fPIE" 626 | S["CFLAGS"]="-static -O2 -fPIE" 627 | S["CC"]="aarch64-linux-android-gcc" 628 | S["AM_BACKSLASH"]="\\" 629 | S["AM_DEFAULT_VERBOSITY"]="1" 630 | S["AM_DEFAULT_V"]="$(AM_DEFAULT_VERBOSITY)" 631 | S["AM_V"]="$(V)" 632 | S["am__untar"]="$${TAR-tar} xf -" 633 | S["am__tar"]="$${TAR-tar} chof - \"$$tardir\"" 634 | S["AMTAR"]="$${TAR-tar}" 635 | S["am__leading_dot"]="." 636 | S["SET_MAKE"]="" 637 | S["AWK"]="gawk" 638 | S["mkdir_p"]="$(MKDIR_P)" 639 | S["MKDIR_P"]="/bin/mkdir -p" 640 | S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" 641 | S["STRIP"]="aarch64-linux-android-strip" 642 | S["install_sh"]="${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/install-sh" 643 | S["MAKEINFO"]="${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing makeinfo" 644 | S["AUTOHEADER"]="${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing autoheader" 645 | S["AUTOMAKE"]="${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing automake-1.15" 646 | S["AUTOCONF"]="${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing autoconf" 647 | S["ACLOCAL"]="${SHELL} /home/crixec/workspace/cross/patchelf-0.9/build-aux/missing aclocal-1.15" 648 | S["VERSION"]="0.9" 649 | S["PACKAGE"]="patchelf" 650 | S["CYGPATH_W"]="echo" 651 | S["am__isrc"]="" 652 | S["INSTALL_DATA"]="${INSTALL} -m 644" 653 | S["INSTALL_SCRIPT"]="${INSTALL}" 654 | S["INSTALL_PROGRAM"]="${INSTALL}" 655 | S["target_alias"]="" 656 | S["host_alias"]="aarch64-linux-android" 657 | S["build_alias"]="" 658 | S["LIBS"]="" 659 | S["ECHO_T"]="" 660 | S["ECHO_N"]="-n" 661 | S["ECHO_C"]="" 662 | S["DEFS"]="-DPACKAGE_NAME=\\\"patchelf\\\" -DPACKAGE_TARNAME=\\\"patchelf\\\" -DPACKAGE_VERSION=\\\"0.9\\\" -DPACKAGE_STRING=\\\"patchelf\\ 0.9\\\" -DPACKAGE_BUGREPORT=\\\"\\\" -DP"\ 663 | "ACKAGE_URL=\\\"\\\" -DPACKAGE=\\\"patchelf\\\" -DVERSION=\\\"0.9\\\" -DPAGESIZE=4096" 664 | S["mandir"]="${datarootdir}/man" 665 | S["localedir"]="${datarootdir}/locale" 666 | S["libdir"]="${exec_prefix}/lib" 667 | S["psdir"]="${docdir}" 668 | S["pdfdir"]="${docdir}" 669 | S["dvidir"]="${docdir}" 670 | S["htmldir"]="${docdir}" 671 | S["infodir"]="${datarootdir}/info" 672 | S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" 673 | S["oldincludedir"]="/usr/include" 674 | S["includedir"]="${prefix}/include" 675 | S["localstatedir"]="${prefix}/var" 676 | S["sharedstatedir"]="${prefix}/com" 677 | S["sysconfdir"]="${prefix}/etc" 678 | S["datadir"]="${datarootdir}" 679 | S["datarootdir"]="${prefix}/share" 680 | S["libexecdir"]="${exec_prefix}/libexec" 681 | S["sbindir"]="${exec_prefix}/sbin" 682 | S["bindir"]="${exec_prefix}/bin" 683 | S["program_transform_name"]="s,x,x," 684 | S["prefix"]="/usr/local" 685 | S["exec_prefix"]="${prefix}" 686 | S["PACKAGE_URL"]="" 687 | S["PACKAGE_BUGREPORT"]="" 688 | S["PACKAGE_STRING"]="patchelf 0.9" 689 | S["PACKAGE_VERSION"]="0.9" 690 | S["PACKAGE_TARNAME"]="patchelf" 691 | S["PACKAGE_NAME"]="patchelf" 692 | S["PATH_SEPARATOR"]=":" 693 | S["SHELL"]="/bin/bash" 694 | _ACAWK 695 | cat >>"$ac_tmp/subs1.awk" <<_ACAWK && 696 | for (key in S) S_is_set[key] = 1 697 | FS = "" 698 | 699 | } 700 | { 701 | line = $ 0 702 | nfields = split(line, field, "@") 703 | substed = 0 704 | len = length(field[1]) 705 | for (i = 2; i < nfields; i++) { 706 | key = field[i] 707 | keylen = length(key) 708 | if (S_is_set[key]) { 709 | value = S[key] 710 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 711 | len += length(value) + length(field[++i]) 712 | substed = 1 713 | } else 714 | len += 1 + keylen 715 | } 716 | 717 | print line 718 | } 719 | 720 | _ACAWK 721 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 722 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 723 | else 724 | cat 725 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 726 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 727 | fi # test -n "$CONFIG_FILES" 728 | 729 | 730 | eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS" 731 | shift 732 | for ac_tag 733 | do 734 | case $ac_tag in 735 | :[FHLC]) ac_mode=$ac_tag; continue;; 736 | esac 737 | case $ac_mode$ac_tag in 738 | :[FHL]*:*);; 739 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 740 | :[FH]-) ac_tag=-:-;; 741 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 742 | esac 743 | ac_save_IFS=$IFS 744 | IFS=: 745 | set x $ac_tag 746 | IFS=$ac_save_IFS 747 | shift 748 | ac_file=$1 749 | shift 750 | 751 | case $ac_mode in 752 | :L) ac_source=$1;; 753 | :[FH]) 754 | ac_file_inputs= 755 | for ac_f 756 | do 757 | case $ac_f in 758 | -) ac_f="$ac_tmp/stdin";; 759 | *) # Look for the file first in the build tree, then in the source tree 760 | # (if the path is not absolute). The absolute path cannot be DOS-style, 761 | # because $ac_f cannot contain `:'. 762 | test -f "$ac_f" || 763 | case $ac_f in 764 | [\\/$]*) false;; 765 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 766 | esac || 767 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 768 | esac 769 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 770 | as_fn_append ac_file_inputs " '$ac_f'" 771 | done 772 | 773 | # Let's still pretend it is `configure' which instantiates (i.e., don't 774 | # use $as_me), people would be surprised to read: 775 | # /* config.h. Generated by config.status. */ 776 | configure_input='Generated from '` 777 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 778 | `' by configure.' 779 | if test x"$ac_file" != x-; then 780 | configure_input="$ac_file. $configure_input" 781 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 782 | $as_echo "$as_me: creating $ac_file" >&6;} 783 | fi 784 | # Neutralize special characters interpreted by sed in replacement strings. 785 | case $configure_input in #( 786 | *\&* | *\|* | *\\* ) 787 | ac_sed_conf_input=`$as_echo "$configure_input" | 788 | sed 's/[\\\\&|]/\\\\&/g'`;; #( 789 | *) ac_sed_conf_input=$configure_input;; 790 | esac 791 | 792 | case $ac_tag in 793 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ 794 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 795 | esac 796 | ;; 797 | esac 798 | 799 | ac_dir=`$as_dirname -- "$ac_file" || 800 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 801 | X"$ac_file" : 'X\(//\)[^/]' \| \ 802 | X"$ac_file" : 'X\(//\)$' \| \ 803 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 804 | $as_echo X"$ac_file" | 805 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 806 | s//\1/ 807 | q 808 | } 809 | /^X\(\/\/\)[^/].*/{ 810 | s//\1/ 811 | q 812 | } 813 | /^X\(\/\/\)$/{ 814 | s//\1/ 815 | q 816 | } 817 | /^X\(\/\).*/{ 818 | s//\1/ 819 | q 820 | } 821 | s/.*/./; q'` 822 | as_dir="$ac_dir"; as_fn_mkdir_p 823 | ac_builddir=. 824 | 825 | case "$ac_dir" in 826 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 827 | *) 828 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 829 | # A ".." for each directory in $ac_dir_suffix. 830 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 831 | case $ac_top_builddir_sub in 832 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 833 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 834 | esac ;; 835 | esac 836 | ac_abs_top_builddir=$ac_pwd 837 | ac_abs_builddir=$ac_pwd$ac_dir_suffix 838 | # for backward compatibility: 839 | ac_top_builddir=$ac_top_build_prefix 840 | 841 | case $srcdir in 842 | .) # We are building in place. 843 | ac_srcdir=. 844 | ac_top_srcdir=$ac_top_builddir_sub 845 | ac_abs_top_srcdir=$ac_pwd ;; 846 | [\\/]* | ?:[\\/]* ) # Absolute name. 847 | ac_srcdir=$srcdir$ac_dir_suffix; 848 | ac_top_srcdir=$srcdir 849 | ac_abs_top_srcdir=$srcdir ;; 850 | *) # Relative name. 851 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 852 | ac_top_srcdir=$ac_top_build_prefix$srcdir 853 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 854 | esac 855 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 856 | 857 | 858 | case $ac_mode in 859 | :F) 860 | # 861 | # CONFIG_FILE 862 | # 863 | 864 | case $INSTALL in 865 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 866 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 867 | esac 868 | ac_MKDIR_P=$MKDIR_P 869 | case $MKDIR_P in 870 | [\\/$]* | ?:[\\/]* ) ;; 871 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; 872 | esac 873 | # If the template does not know about datarootdir, expand it. 874 | # FIXME: This hack should be removed a few years after 2.60. 875 | ac_datarootdir_hack=; ac_datarootdir_seen= 876 | ac_sed_dataroot=' 877 | /datarootdir/ { 878 | p 879 | q 880 | } 881 | /@datadir@/p 882 | /@docdir@/p 883 | /@infodir@/p 884 | /@localedir@/p 885 | /@mandir@/p' 886 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 887 | *datarootdir*) ac_datarootdir_seen=yes;; 888 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 889 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 890 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 891 | ac_datarootdir_hack=' 892 | s&@datadir@&${datarootdir}&g 893 | s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g 894 | s&@infodir@&${datarootdir}/info&g 895 | s&@localedir@&${datarootdir}/locale&g 896 | s&@mandir@&${datarootdir}/man&g 897 | s&\${datarootdir}&${prefix}/share&g' ;; 898 | esac 899 | ac_sed_extra="/^[ ]*VPATH[ ]*=[ ]*/{ 900 | h 901 | s/// 902 | s/^/:/ 903 | s/[ ]*$/:/ 904 | s/:\$(srcdir):/:/g 905 | s/:\${srcdir}:/:/g 906 | s/:@srcdir@:/:/g 907 | s/^:*// 908 | s/:*$// 909 | x 910 | s/\(=[ ]*\).*/\1/ 911 | G 912 | s/\n// 913 | s/^[^=]*=[ ]*$// 914 | } 915 | 916 | :t 917 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 918 | s|@configure_input@|$ac_sed_conf_input|;t t 919 | s&@top_builddir@&$ac_top_builddir_sub&;t t 920 | s&@top_build_prefix@&$ac_top_build_prefix&;t t 921 | s&@srcdir@&$ac_srcdir&;t t 922 | s&@abs_srcdir@&$ac_abs_srcdir&;t t 923 | s&@top_srcdir@&$ac_top_srcdir&;t t 924 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 925 | s&@builddir@&$ac_builddir&;t t 926 | s&@abs_builddir@&$ac_abs_builddir&;t t 927 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 928 | s&@INSTALL@&$ac_INSTALL&;t t 929 | s&@MKDIR_P@&$ac_MKDIR_P&;t t 930 | $ac_datarootdir_hack 931 | " 932 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 933 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 934 | 935 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 936 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 937 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 938 | "$ac_tmp/out"`; test -z "$ac_out"; } && 939 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 940 | which seems to be undefined. Please make sure it is defined" >&5 941 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 942 | which seems to be undefined. Please make sure it is defined" >&2;} 943 | 944 | rm -f "$ac_tmp/stdin" 945 | case $ac_file in 946 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 947 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 948 | esac \ 949 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 950 | ;; 951 | 952 | 953 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 954 | $as_echo "$as_me: executing $ac_file commands" >&6;} 955 | ;; 956 | esac 957 | 958 | 959 | case $ac_file$ac_mode in 960 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { 961 | # Older Autoconf quotes --file arguments for eval, but not when files 962 | # are listed without --file. Let's play safe and only enable the eval 963 | # if we detect the quoting. 964 | case $CONFIG_FILES in 965 | *\'*) eval set x "$CONFIG_FILES" ;; 966 | *) set x $CONFIG_FILES ;; 967 | esac 968 | shift 969 | for mf 970 | do 971 | # Strip MF so we end up with the name of the file. 972 | mf=`echo "$mf" | sed -e 's/:.*$//'` 973 | # Check whether this is an Automake generated Makefile or not. 974 | # We used to match only the files named 'Makefile.in', but 975 | # some people rename them; so instead we look at the file content. 976 | # Grep'ing the first line is not enough: some people post-process 977 | # each Makefile.in and add a new line on top of each file to say so. 978 | # Grep'ing the whole file is not good either: AIX grep has a line 979 | # limit of 2048, but all sed's we know have understand at least 4000. 980 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then 981 | dirpart=`$as_dirname -- "$mf" || 982 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 983 | X"$mf" : 'X\(//\)[^/]' \| \ 984 | X"$mf" : 'X\(//\)$' \| \ 985 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || 986 | $as_echo X"$mf" | 987 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 988 | s//\1/ 989 | q 990 | } 991 | /^X\(\/\/\)[^/].*/{ 992 | s//\1/ 993 | q 994 | } 995 | /^X\(\/\/\)$/{ 996 | s//\1/ 997 | q 998 | } 999 | /^X\(\/\).*/{ 1000 | s//\1/ 1001 | q 1002 | } 1003 | s/.*/./; q'` 1004 | else 1005 | continue 1006 | fi 1007 | # Extract the definition of DEPDIR, am__include, and am__quote 1008 | # from the Makefile without running 'make'. 1009 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 1010 | test -z "$DEPDIR" && continue 1011 | am__include=`sed -n 's/^am__include = //p' < "$mf"` 1012 | test -z "$am__include" && continue 1013 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 1014 | # Find all dependency output files, they are included files with 1015 | # $(DEPDIR) in their names. We invoke sed twice because it is the 1016 | # simplest approach to changing $(DEPDIR) to its actual value in the 1017 | # expansion. 1018 | for file in `sed -n " 1019 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 1020 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do 1021 | # Make sure the directory exists. 1022 | test -f "$dirpart/$file" && continue 1023 | fdir=`$as_dirname -- "$file" || 1024 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1025 | X"$file" : 'X\(//\)[^/]' \| \ 1026 | X"$file" : 'X\(//\)$' \| \ 1027 | X"$file" : 'X\(/\)' \| . 2>/dev/null || 1028 | $as_echo X"$file" | 1029 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1030 | s//\1/ 1031 | q 1032 | } 1033 | /^X\(\/\/\)[^/].*/{ 1034 | s//\1/ 1035 | q 1036 | } 1037 | /^X\(\/\/\)$/{ 1038 | s//\1/ 1039 | q 1040 | } 1041 | /^X\(\/\).*/{ 1042 | s//\1/ 1043 | q 1044 | } 1045 | s/.*/./; q'` 1046 | as_dir=$dirpart/$fdir; as_fn_mkdir_p 1047 | # echo "creating $dirpart/$file" 1048 | echo '# dummy' > "$dirpart/$file" 1049 | done 1050 | done 1051 | } 1052 | ;; 1053 | 1054 | esac 1055 | done # for ac_tag 1056 | 1057 | 1058 | as_fn_exit 0 1059 | --------------------------------------------------------------------------------