Home | History | Annotate | Download | only in libusb-compat

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
897 # func_lalib_p file
898 # True iff FILE is a libtool `.la' library or `.lo' object file.
908 # func_lalib_unsafe_p file
909 # True iff FILE is a libtool `.la' library or `.lo' object file.
912 # closes it afterwards, without saving the original file descriptor.
914 # fatal anyway. Works if `file' does not exist.
931 # func_ltwrapper_script_p file
932 # True iff FILE is a libtool wrapper script
940 # func_ltwrapper_executable_p file
941 # True iff FILE is a libtool wrapper executable
954 # func_ltwrapper_scriptname file
955 # Assumes file is an ltwrapper_executable
956 # uses $file to determine the appropriate filename for a
968 # func_ltwrapper_p file
969 # True iff FILE is a libtool wrapper script or wrapper executable
995 # func_source file
996 # Source FILE, adding directory component if necessary.
998 # FILE even if both FILE and FILE.exe exist: automatic-append-.exe
1000 # `FILE.' does not work on cygwin managed mounts.
1071 # Create a libtool object file (analogous to a ".la" file),
1090 # $write_libobj - a libtool object file
1093 # Please DO NOT delete this file!
1111 # Get the compilation command and the source file.
1186 # Accept the current argument as the source file.
1217 # Recognize several different file suffixes.
1218 # If the user specifies -o file.o, it is replaced with file.lo
1307 # We use this script file to make the link, it avoids creating a new file
1320 temporary object file, and libtool could not work around it because
1375 temporary object file, and libtool could not work around it because
1424 temporary object file, and libtool could not work around it because
1464 # at the start of this file.
1470 "Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE...
1474 RM is the name of the program to use to delete files associated with each FILE
1478 If FILE is a libtool library, object or program, all the files associated
1479 with it are deleted. Otherwise, only FILE itself is deleted using RM."
1486 Compile a source file into a libtool library object.
1490 -o OUTPUT-FILE set the output file name to OUTPUT-FILE
1494 -shared do not build a \`.o' file suitable for static linking
1495 -static only build a \`.o' file suitable for static linking
1497 COMPILE-COMMAND is a command to be used in creating a \`standard' object file
1500 The output file name is determined by removing the directory component from
1513 -dlopen FILE add the directory containing FILE to the library path
1568 -dlopen FILE \`-dlpreopen' FILE if it cannot be dlopened at runtime
1569 -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols
1570 -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3)
1576 -lNAME OUTPUT-FILE requires the installed library libNAME
1581 -o OUTPUT-FILE create OUTPUT-FILE from the specified objects
1582 -objectlist FILE Use a list of object files found in FILE to specify objects
1589 -shrext SUFFIX override the standard shared library file extension
1603 If the OUTPUT-FILE ends in \`.la', then a libtool library is created,
1607 If OUTPUT-FILE ends in \`.a' or \`.lib', then a standard library is created
1610 If OUTPUT-FILE ends in \`.lo' or \`.${objext}', then a reloadable object file
1616 "Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE...
1620 RM is the name of the program to use to delete files associated with each FILE
1624 If FILE is a libtool library, all the files associated with it are deleted.
1625 Otherwise, only FILE itself is deleted using RM."
1653 for file in $execute_dlfiles; do
1654 test -f "$file" \
1655 || func_fatal_help "\`$file' is not a file"
1658 case $file in
1661 func_lalib_unsafe_p "$file" \
1667 func_source "$file"
1673 func_warning "\`$file' was not linked with \`-export-dynamic'"
1677 func_dirname "$file" "" "."
1690 # Just add the directory containing the .lo file.
1691 func_dirname "$file" "" "."
1719 for file
1721 case $file in
1725 if func_ltwrapper_script_p "$file"; then
1726 func_source "$file"
1728 file="$progdir/$program"
1729 elif func_ltwrapper_executable_p "$file"; then
1730 func_ltwrapper_scriptname "$file"
1733 file="$progdir/$program"
1738 func_quote_for_eval "$file"
1935 func_fatal_help "no file or destination specified"
1955 # Not a directory, so check to see that there is only one file specified.
1963 for file in $files; do
1964 case $file in
1981 for file in $files; do
1984 case $file in
1987 staticlibs="$staticlibs $file"
1992 func_lalib_unsafe_p "$file" \
1993 || func_fatal_help "\`$file' is not a valid libtool archive"
1998 func_source "$file"
2014 func_dirname "$file" "/" ""
2029 func_fatal_error "error: cannot install \`$file' to a directory not ending in $libdir"
2038 func_warning "relinking \`$file'"
2040 'func_fatal_error "error: relink \`$file'\'' with the above command before installing it"'
2087 func_basename "$file"
2099 # Figure out destination file name, if it wasn't already specified.
2103 func_basename "$file"
2108 # Deduce the name of the destination old-style object file.
2125 func_show_eval "$install_prog $file $destfile" 'exit $?'
2129 # Deduce the name of the old-style object file.
2130 func_lo2o "$file"
2138 # Figure out destination file name, if it wasn't already specified.
2142 func_basename "$file"
2147 # If the file is missing, and there is a .exe on the end, strip it
2151 case $file in
2153 if test ! -f "$file"; then
2154 func_stripname '' '.exe' "$file"
2155 file=$func_stripname_result
2164 if func_ltwrapper_executable_p "$file"; then
2165 func_ltwrapper_scriptname "$file"
2168 func_stripname '' '.exe' "$file"
2173 wrapper=$file
2208 func_basename "$file$stripped_ext"
2209 file="$func_basename_result"
2210 outputname="$tmpdir/$file"
2211 # Replace the output file specification.
2220 func_error "error: relink \`$file' with the above command before installing it"
2224 file="$outputname"
2226 func_warning "cannot relink \`$file'"
2231 file=`$ECHO "X$file$stripped_ext" | $Xsed -e "s%\([^/]*\)$%$objdir/\1%"`
2239 case $file:$destfile in
2253 func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?'
2261 for file in $staticlibs; do
2262 func_basename "$file"
2268 func_show_eval "$install_prog \$file \$oldlib" 'exit $?'
2322 # Parse the name list into a source file.
2401 # Make sure we have at least an empty file.
2489 # compiling the symbol table file with pic_flag works around
2514 # Now compile the dynamic symbol file.
2520 # Transform the symbol file into the correct name.
2547 # Nullify the symbol file.
2554 # return the library type of file 'arg'
2563 win32_fileres=`file -L $1 2>/dev/null`
2570 $EGREP 'file format pe-i386(.*architecture: i386)?' >/dev/null ; then
2757 # When we are sourced in execute mode, \$file and \$ECHO are already set.
2760 file=\"\$0\"
2777 thisdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*$%%'\`
2778 test \"x\$thisdir\" = \"x\$file\" && thisdir=.
2781 file=\`ls -ld \"\$file\" | ${SED} -n 's/.*-> //p'\`
2782 while test -n \"\$file\"; do
2783 destdir=\`\$ECHO \"X\$file\" | \$Xsed -e 's%/[^/]*\$%%'\`
2786 if test \"x\$destdir\" != \"x\$file\"; then
2793 file=\`\$ECHO \"X\$file\" | \$Xsed -e 's%^.*/%%'\`
2794 file=\`ls -ld \"\$thisdir/\$file\" | ${SED} -n 's/.*-> //p'\`
2840 { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | ${SED} 1q\`; \\
2841 test \"X\$file\" != \"X\$progdir/\$program\"; }; then
2843 file=\"\$\$-\$program\"
2848 file\"
2858 $RM \"\$progdir/\$file\"
2863 $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null ||
2865 $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; }
2866 $RM \"\$progdir/\$file\"
2939 # Don't directly open a file because we may want to
3804 lt_fatal ("Error accessing file %s (%s)", tmp_pathspec, errstr);
4217 || func_fatal_error "symbol file \`$arg' does not exist"
4259 # Read the .lo file
4334 func_fatal_error "link input file \`$arg' does not exist"
4773 # @file GCC response files
4803 # Read the .lo file
4928 # calculate the name of the file, without its directory
4950 func_fatal_help "you must specify an output file"
5000 for file in $dlfiles $dlprefiles; do
5001 case $file in
5004 func_fatal_help "libraries can \`-dlopen' only libtool libraries: $file"
5252 $ECHO "*** because the file extensions .$libext of this argument makes me believe"
5323 # Read the .la file
5688 if /usr/bin/file -L $add 2> /dev/null |
6691 $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
6695 $ECHO "*** because I did check the linker path looking for a file starting"
6697 $ECHO "*** with $libname but no candidates were found. (...for file magic test)"
6699 $ECHO "*** with $libname and none of the candidates passed a file format test"
6700 $ECHO "*** using a file magic. Last file checked: $potlib"
6745 $ECHO "*** Warning: linker path does not have real file for library $a_deplib."
6749 $ECHO "*** because I did check the linker path looking for a file starting"
6753 $ECHO "*** with $libname and none of the candidates passed a file format test"
6754 $ECHO "*** using a regex pattern. Last file checked: $potlib"
6989 # and it's NOT already a .def file. Must figure out
7021 func_verbose "using reloadable object file for export list..."
7043 # The given exports_symbols file has to be filtered, so filter it.
7162 func_verbose "creating linker input file list: $output"
7199 # The first file doesn't have a previous command to add.
7217 # reloadable object file. All subsequent reloadable object
7235 # Append the command to create the export file.
7244 func_verbose "creating a temporary reloadable object file: $output"
7283 # The given exports_symbols file has to be filtered, so filter it.
7460 # Exit if we aren't doing a library object file.
7700 # Replace the output file specification.
7747 # Replace the output file specification.
7749 # Delete the old output file.
7767 relink_command=`$ECHO "X$compile_var$compile_command$compile_rpath" | $Xsed -e 's%@OUTPUT@%\$progdir/\$file%g'`
7778 # Replace the output file specification.
8184 # $outputname - a libtool library file
8187 # Please DO NOT delete this file!
8272 for file in $files; do
8273 func_dirname "$file" "" "."
8280 func_basename "$file"
8292 # Don't error if the file doesn't exist and rm -f was used.
8293 if { test -L "$file"; } >/dev/null 2>&1 ||
8294 { test -h "$file"; } >/dev/null 2>&1 ||
8295 test -f "$file"; then
8297 elif test -d "$file"; then
8304 rmfiles="$file"
8309 if func_lalib_p "$file"; then
8345 if func_lalib_p "$file"; then
8347 # Read the .lo file
8367 case $file in
8369 func_stripname '' '.exe' "$file"
8370 file=$func_stripname_result
8373 # $file with .exe has already been added to rmfiles,
8374 # add $file without .exe
8375 rmfiles="$rmfiles $file"
8379 if func_ltwrapper_p "$file"; then
8380 if func_ltwrapper_executable_p "$file"; then
8381 func_ltwrapper_scriptname "$file"
8390 # note $name still contains .exe if it was in $file originally
8391 # as does the version of $file that was added into $rmfiles