Lines Matching refs:FILE
16 # if you distribute this file as part of a program or library that
17 # is built using GNU Libtool, you may include this file under the
26 # along with GNU Libtool; see the file COPYING. If not, a copy
50 # compile compile a source file into a libtool object
147 # func_dirname_and_basename file append nondir_replacement
150 # dirname: Compute the dirname of FILE. If nonempty,
154 # basename: Compute filename of FILE.
336 # mkdir can fail with a `File exist' error if two processes
890 # func_lalib_p file
891 # True iff FILE is a libtool `.la' library or `.lo' object file.
900 # func_lalib_unsafe_p file
901 # True iff FILE is a libtool `.la' library or `.lo' object file.
904 # closes it afterwards, without saving the original file descriptor.
906 # fatal anyway. Works if `file' does not exist.
923 # func_ltwrapper_script_p file
924 # True iff FILE is a libtool wrapper script
932 # func_ltwrapper_executable_p file
933 # True iff FILE is a libtool wrapper executable
946 # func_ltwrapper_scriptname file
947 # Assumes file is an ltwrapper_executable
948 # uses $file to determine the appropriate filename for a
960 # func_ltwrapper_p file
961 # True iff FILE is a libtool wrapper script or wrapper executable
987 # func_source file
988 # Source FILE, adding directory component if necessary.
990 # FILE even if both FILE and FILE.exe exist: automatic-append-.exe
992 # `FILE.' does not work on cygwin managed mounts.
1063 # Create a libtool object file (analogous to a ".la" file),
1082 # $write_libobj - a libtool object file
1085 # Please DO NOT delete this file!
1103 # Get the compilation command and the source file.
1178 # Accept the current argument as the source file.
1209 # Recognize several different file suffixes.
1210 # If the user specifies -o file.o, it is replaced with file.lo
1299 # We use this script file to make the link, it avoids creating a new file
1312 temporary object file, and libtool could not work around it because
1367 temporary object file, and libtool could not work around it because
1416 temporary object file, and libtool could not work around it because
1456 # at the start of this file.
1462 "Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
1466 RM is the name of the program to use to delete files associated with each FILE
1470 If FILE is a libtool library, object or program, all the files associated
1471 with it are deleted. Otherwise, only FILE itself is deleted using RM."
1478 Compile a source file into a libtool library object.
1482 -o OUTPUT-FILE set the output file name to OUTPUT-FILE
1486 -shared do not build a \`.o' file suitable for static linking
1487 -static only build a \`.o' file suitable for static linking
1489 COMPILE-COMMAND is a command to be used in creating a \`standard' object file
1492 The output file name is determined by removing the directory component from
1505 -dlopen FILE add the directory containing FILE to the library path
1560 -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
1561 -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
1562 -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
1568 -lNAME OUTPUT-FILE requires the installed library libNAME
1573 -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
1574 -objectlist FILE Use a list of object files found in FILE to specify objects
1581 -shrext SUFFIX override the standard shared library file extension
1595 If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
1599 If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
1602 If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
1608 "Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
1612 RM is the name of the program to use to delete files associated with each FILE
1616 If FILE is a libtool library, all the files associated with it are deleted.
1617 Otherwise, only FILE itself is deleted using RM."
1645 for file in $execute_dlfiles; do
1646 test -f "$file" \
1647 || func_fatal_help "\`$file' is not a file"
1650 case $file in
1653 func_lalib_unsafe_p "$file" \
1659 func_source "$file"
1665 func_warning "\`$file' was not linked with \`-export-dynamic'"
1669 func_dirname "$file" "" "."
1682 # Just add the directory containing the .lo file.
1683 func_dirname "$file" "" "."
1711 for file
1713 case $file in
1717 if func_ltwrapper_script_p "$file"; then
1718 func_source "$file"
1720 file="$progdir/$program"
1721 elif func_ltwrapper_executable_p "$file"; then
1722 func_ltwrapper_scriptname "$file"
1725 file="$progdir/$program"
1730 func_quote_for_eval "$file"
1927 func_fatal_help "no file or destination specified"
1947 # Not a directory, so check to see that there is only one file specified.
1955 for file in $files; do
1956 case $file in
1973 for file in $files; do
1976 case $file in
1979 staticlibs="$staticlibs $file"
1984 func_lalib_unsafe_p "$file" \
1985 || func_fatal_help "\`$file' is not a valid libtool archive"
1990 func_source "$file"
2006 func_dirname "$file" "/" ""
2021 func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
2030 func_warning "relinking \`$file'"
2032 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
2079 func_basename "$file"
2091 # Figure out destination file name, if it wasn't already specified.
2095 func_basename "$file"
2100 # Deduce the name of the destination old-style object file.
2117 func_show_eval "$install_prog $file $destfile" 'exit $?'
2121 # Deduce the name of the old-style object file.
2122 func_lo2o "$file"
2130 # Figure out destination file name, if it wasn't already specified.
2134 func_basename "$file"
2139 # If the file is missing, and there is a .exe on the end, strip it
2143 case $file in
2145 if test ! -f "$file"; then
2146 func_stripname '' '.exe' "$file"
2147 file=$func_stripname_result
2156 if func_ltwrapper_executable_p "$file"; then
2157 func_ltwrapper_scriptname "$file"
2160 func_stripname '' '.exe' "$file"
2165 wrapper=$file
2200 func_basename "$file$stripped_ext"
2201 file="$func_basename_result"
2202 outputname="$tmpdir/$file"
2203 # Replace the output file specification.
2212 func_error "error: relink \`$file' with the above command before installing it"
2216 file="$outputname"
2218 func_warning "cannot relink \`$file'"
2223 file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
2231 case $file:$destfile in
2245 func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
2253 for file in $staticlibs; do
2254 func_basename "$file"
2260 func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
2314 # Parse the name list into a source file.
2393 # Make sure we have at least an empty file.
2481 # compiling the symbol table file with pic_flag works around
2506 # Now compile the dynamic symbol file.
2512 # Transform the symbol file into the correct name.
2539 # Nullify the symbol file.
2546 # return the library type of file 'arg'
2555 win32_fileres=`file -L $1 2>/dev/null`
2562 $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
2697 # don't directly open a file because we may want to
2758 # When we are sourced in execute mode, \$file and \$ECHO are already set.
2761 file=\"\$0\"
2778 thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
2779 test \"x\$thisdir\" = \"x\$file\" && thisdir=.
2782 file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
2783 while test -n \"\$file\"; do
2784 destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
2787 if test \"x\$destdir\" != \"x\$file\"; then
2794 file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
2795 file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
2824 { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
2825 test \"X\$file\" != \"X\$progdir/\$program\"; }; then
2827 file=\"\$\$-\$program\"
2832 $RM \"\$progdir/\$file\"
2842 $RM \"\$progdir/\$file\"
2847 $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
2849 $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
2850 $RM \"\$progdir/\$file\"
3080 FILE *shwrapper;
3450 lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
3692 || func_fatal_error "symbol file \`$arg' does not exist"
3734 # Read the .lo file
3809 func_fatal_error "link input file \`$arg' does not exist"
4239 # @file GCC response files
4269 # Read the .lo file
4394 # calculate the name of the file, without its directory
4416 func_fatal_help "you must specify an output file"
4466 for file in $dlfiles $dlprefiles; do
4467 case $file in
4470 func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file"
4718 $ECHO "*** because the file extensions .$libext of this argument makes me believe"
4789 # Read the .la file
5154 if /usr/bin/file -L $add 2> /dev/null |
6157 $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
6161 $ECHO "*** because I did check the linker path looking for a file starting"
6163 $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
6165 $ECHO "*** with $libname and none of the candidates passed a file format test"
6166 $ECHO "*** using a file magic. Last file checked: $potlib"
6211 $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
6215 $ECHO "*** because I did check the linker path looking for a file starting"
6219 $ECHO "*** with $libname and none of the candidates passed a file format test"
6220 $ECHO "*** using a regex pattern. Last file checked: $potlib"
6455 # and it's NOT already a .def file. Must figure out
6487 func_verbose "using reloadable object file for export list..."
6509 # The given exports_symbols file has to be filtered, so filter it.
6628 func_verbose "creating linker input file list: $output"
6665 # The first file doesn't have a previous command to add.
6683 # reloadable object file. All subsequent reloadable object
6701 # Append the command to create the export file.
6710 func_verbose "creating a temporary reloadable object file: $output"
6749 # The given exports_symbols file has to be filtered, so filter it.
6926 # Exit if we aren't doing a library object file.
7160 # Replace the output file specification.
7207 # Replace the output file specification.
7209 # Delete the old output file.
7227 relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
7238 # Replace the output file specification.
7597 # $outputname - a libtool library file
7600 # Please DO NOT delete this file!
7685 for file in $files; do
7686 func_dirname "$file" "" "."
7693 func_basename "$file"
7705 # Don't error if the file doesn't exist and rm -f was used.
7706 if { test -L "$file"; } >/dev/null 2>&1 ||
7707 { test -h "$file"; } >/dev/null 2>&1 ||
7708 test -f "$file"; then
7710 elif test -d "$file"; then
7717 rmfiles="$file"
7722 if func_lalib_p "$file"; then
7758 if func_lalib_p "$file"; then
7760 # Read the .lo file
7780 case $file in
7782 func_stripname '' '.exe' "$file"
7783 file=$func_stripname_result
7786 # $file with .exe has already been added to rmfiles,
7787 # add $file without .exe
7788 rmfiles="$rmfiles $file"
7792 if func_ltwrapper_p "$file"; then
7793 if func_ltwrapper_executable_p "$file"; then
7794 func_ltwrapper_scriptname "$file"
7803 # note $name still contains .exe if it was in $file originally
7804 # as does the version of $file that was added into $rmfiles