Lines Matching refs:destprog
22 # install-reloc library_path_var library_path_value prefix compile_command srcdir config_h_dir install_command... destprog
33 # - install-command is the install command line, excluding the final destprog
34 # - destprog is the destination program name
35 # install-reloc renames destprog to destprog.bin and installs a relocating
36 # wrapper in the place of destprog.
70 echo "Usage: $0 library_path_var library_path_value prefix compile_command srcdir builddir config_h_dir install_command... destprog" 1>&2
75 # Get destprog, last argument.
76 destprog=
79 destprog=$arg
113 installdir=`echo "$destprog" | sed -e 's,/[^/]*$,,'`
114 func_verbose $compile_command -I"$builddir" -I"$srcdir" -I"$config_h_dir" -DHAVE_CONFIG_H -DNO_XMALLOC -D"INSTALLPREFIX=\"$prefix\"" -D"INSTALLDIR=\"$installdir\"" -D"LIBPATHVAR=\"$library_path_var\"" -D"LIBDIRS=$libdirs" "$srcdir"/relocwrapper.c "$srcdir"/progname.c "$srcdir"/progreloc.c "$srcdir"/xreadlink.c "$srcdir"/readlink.c "$srcdir"/canonicalize.c "$srcdir"/relocatable.c "$srcdir"/setenv.c "$srcdir"/strerror.c -o $destprog.wrapper || exit $?
116 # Rename $destprog.wrapper -> $destprog -> $destprog.bin.
117 ln -f $destprog $destprog.bin || exit 1
118 mv $destprog.wrapper $destprog || exit 1