--- bluez-4.66.orig/config.status +++ bluez-4.66/config.status @@ -0,0 +1,2133 @@ +#! /bin/sh +# Generated by configure. +# Run this file to recreate the current configuration. +# Compiler output produced by configure, useful for debugging +# configure, is in config.log if it exists. + +debug=false +ac_cs_recheck=false +ac_cs_silent=false +SHELL=${CONFIG_SHELL-/bin/sh} +## --------------------- ## +## M4sh Initialization. ## +## --------------------- ## + +# Be more Bourne compatible +DUALCASE=1; export DUALCASE # for MKS sh +if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which + # is contrary to our usage. Disable this feature. + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST +else + case `(set -o) 2>/dev/null` in + *posix*) set -o posix ;; +esac + +fi + + + + +# PATH needs CR +# Avoid depending upon Character Ranges. +as_cr_letters='abcdefghijklmnopqrstuvwxyz' +as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +as_cr_Letters=$as_cr_letters$as_cr_LETTERS +as_cr_digits='0123456789' +as_cr_alnum=$as_cr_Letters$as_cr_digits + +as_nl=' +' +export as_nl +# Printing a long string crashes Solaris 7 /usr/bin/printf. +as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo +as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' +else + if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then + as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' + as_echo_n='/usr/ucb/echo -n' + else + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; + case $arg in + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; + esac; + expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" + ' + export as_echo_n_body + as_echo_n='sh -c $as_echo_n_body as_echo' + fi + export as_echo_body + as_echo='sh -c $as_echo_body as_echo' +fi + +# The user is always right. +if test "${PATH_SEPARATOR+set}" != set; then + PATH_SEPARATOR=: + (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { + (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || + PATH_SEPARATOR=';' + } +fi + +# Support unset when possible. +if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then + as_unset=unset +else + as_unset=false +fi + + +# IFS +# We need space, tab and new line, in precisely that order. Quoting is +# there to prevent editors from complaining about space-tab. +# (If _AS_PATH_WALK were called with IFS unset, it would disable word +# splitting by setting IFS to empty value.) +IFS=" "" $as_nl" + +# Find who we are. Look in the path if we contain no directory separator. +case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +for as_dir in $PATH +do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. + test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +done +IFS=$as_save_IFS + + ;; +esac +# We did not find ourselves, most probably we were run as `sh COMMAND' +# in which case we are not to be found in the path. +if test "x$as_myself" = x; then + as_myself=$0 +fi +if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 + { (exit 1); exit 1; } +fi + +# Work around bugs in pre-3.0 UWIN ksh. +for as_var in ENV MAIL MAILPATH +do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var +done +PS1='$ ' +PS2='> ' +PS4='+ ' + +# NLS nuisances. +LC_ALL=C +export LC_ALL +LANGUAGE=C +export LANGUAGE + +# Required to use basename. +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then + as_basename=basename +else + as_basename=false +fi + + +# Name of the executable. +as_me=`$as_basename -- "$0" || +$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ + X"$0" : 'X\(//\)$' \| \ + X"$0" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X/"$0" | + sed '/^.*\/\([^/][^/]*\)\/*$/{ + s//\1/ + q + } + /^X\/\(\/\/\)$/{ + s//\1/ + q + } + /^X\/\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + +# CDPATH. +$as_unset CDPATH + + + + as_lineno_1=$LINENO + as_lineno_2=$LINENO + test "x$as_lineno_1" != "x$as_lineno_2" && + test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { + + # Create $as_me.lineno as a copy of $as_myself, but with $LINENO + # uniformly replaced by the line number. The first 'sed' inserts a + # line-number line after each line using $LINENO; the second 'sed' + # does the real work. The second script uses 'N' to pair each + # line-number line with the line containing $LINENO, and appends + # trailing '-' during substitution so that $LINENO is not a special + # case at line end. + # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the + # scripts with optimization help from Paolo Bonzini. Blame Lee + # E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= + ' <$as_myself | + sed ' + s/[$]LINENO.*/&-/ + t lineno + b + :lineno + N + :loop + s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ + t loop + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || + { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 + { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the + # original and so on. Autoconf is especially sensitive to this). + . "./$as_me.lineno" + # Exit status is that of the last command. + exit +} + + +if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then + as_dirname=dirname +else + as_dirname=false +fi + +ECHO_C= ECHO_N= ECHO_T= +case `echo -n x` in +-n*) + case `echo 'x\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. + *) ECHO_C='\c';; + esac;; +*) + ECHO_N='-n';; +esac +if expr a : '\(a\)' >/dev/null 2>&1 && + test "X`expr 00001 : '.*\(...\)'`" = X001; then + as_expr=expr +else + as_expr=false +fi + +rm -f conf$$ conf$$.exe conf$$.file +if test -d conf$$.dir; then + rm -f conf$$.dir/conf$$.file +else + rm -f conf$$.dir + mkdir conf$$.dir 2>/dev/null +fi +if (echo >conf$$.file) 2>/dev/null; then + if ln -s conf$$.file conf$$ 2>/dev/null; then + as_ln_s='ln -s' + # ... but there are two gotchas: + # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. + # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. + # In both cases, we have to default to `cp -p'. + ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || + as_ln_s='cp -p' + elif ln conf$$.file conf$$ 2>/dev/null; then + as_ln_s=ln + else + as_ln_s='cp -p' + fi +else + as_ln_s='cp -p' +fi +rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file +rmdir conf$$.dir 2>/dev/null + +if mkdir -p . 2>/dev/null; then + as_mkdir_p=: +else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +fi + +if test -x / >/dev/null 2>&1; then + as_test_x='test -x' +else + if ls -dL / >/dev/null 2>&1; then + as_ls_L_option=L + else + as_ls_L_option= + fi + as_test_x=' + eval sh -c '\'' + if test -d "$1"; then + test -d "$1/."; + else + case $1 in + -*)set "./$1";; + esac; + case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +fi +as_executable_p=$as_test_x + +# Sed expression to map a string onto a valid CPP name. +as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" + +# Sed expression to map a string onto a valid variable name. +as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" + + +exec 6>&1 + +# Save the log message, to keep $[0] and so on meaningful, and to +# report actual input values of CONFIG_FILES etc. instead of their +# values after options handling. +ac_log=" +This file was extended by bluez $as_me 4.66, which was +generated by GNU Autoconf 2.63. Invocation command line was + + CONFIG_FILES = $CONFIG_FILES + CONFIG_HEADERS = $CONFIG_HEADERS + CONFIG_LINKS = $CONFIG_LINKS + CONFIG_COMMANDS = $CONFIG_COMMANDS + $ $0 $@ + +on `(hostname || uname -n) 2>/dev/null | sed 1q` +" + +# Files that config.status was made for. +config_files=" Makefile scripts/bluetooth.rules doc/version.xml src/bluetoothd.8 bluez.pc" +config_headers=" config.h" +config_commands=" depfiles libtool" + +ac_cs_usage="\ +\`$as_me' instantiates files from templates according to the +current configuration. + +Usage: $0 [OPTION]... [FILE]... + + -h, --help print this help, then exit + -V, --version print version number and configuration settings, then exit + -q, --quiet, --silent + do not print progress messages + -d, --debug don't remove temporary files + --recheck update $as_me by reconfiguring in the same conditions + --file=FILE[:TEMPLATE] + instantiate the configuration file FILE + --header=FILE[:TEMPLATE] + instantiate the configuration header FILE + +Configuration files: +$config_files + +Configuration headers: +$config_headers + +Configuration commands: +$config_commands + +Report bugs to ." + +ac_cs_version="\ +bluez config.status 4.66 +configured by /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/./configure, generated by GNU Autoconf 2.63, + with options \"'--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=\${prefix}/include' '--mandir=\${prefix}/share/man' '--infodir=\${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=\${prefix}/lib/bluez' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-silent-rules' '--srcdir=.' '--enable-gstreamer' '--enable-alsa' '--enable-usb' '--enable-netlink' '--enable-tools' '--enable-test' '--enable-bccmd' '--enable-hid2hci' '--enable-dfutool' '--enable-cups' '--enable-pcmcia' '--enable-debug' '--enable-hidd' '--enable-pand' '--enable-dund' '--enable-pnat' '--enable-tracer' '--enable-udevrules' '--enable-configfiles' '--enable-capng' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -g -Wall -O2' 'LDFLAGS=' 'CPPFLAGS='\" + +Copyright (C) 2008 Free Software Foundation, Inc. +This config.status script is free software; the Free Software Foundation +gives unlimited permission to copy, distribute and modify it." + +ac_pwd='/home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66' +srcdir='.' +INSTALL='/usr/bin/install -c' +MKDIR_P='/bin/mkdir -p' +AWK='gawk' +test -n "$AWK" || AWK=awk +# The default lists apply if the user does not specify any file. +ac_need_defaults=: +while test $# != 0 +do + case $1 in + --*=*) + ac_option=`expr "X$1" : 'X\([^=]*\)='` + ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` + ac_shift=: + ;; + *) + ac_option=$1 + ac_optarg=$2 + ac_shift=shift + ;; + esac + + case $ac_option in + # Handling of the options. + -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + ac_cs_recheck=: ;; + --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) + $as_echo "$ac_cs_version"; exit ;; + --debug | --debu | --deb | --de | --d | -d ) + debug=: ;; + --file | --fil | --fi | --f ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + CONFIG_FILES="$CONFIG_FILES '$ac_optarg'" + ac_need_defaults=false;; + --header | --heade | --head | --hea ) + $ac_shift + case $ac_optarg in + *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; + esac + CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'" + ac_need_defaults=false;; + --he | --h) + # Conflict between --help and --header + { $as_echo "$as_me: error: ambiguous option: $1 +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; };; + --help | --hel | -h ) + $as_echo "$ac_cs_usage"; exit ;; + -q | -quiet | --quiet | --quie | --qui | --qu | --q \ + | -silent | --silent | --silen | --sile | --sil | --si | --s) + ac_cs_silent=: ;; + + # This is an error. + -*) { $as_echo "$as_me: error: unrecognized option: $1 +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; } ;; + + *) ac_config_targets="$ac_config_targets $1" + ac_need_defaults=false ;; + + esac + shift +done + +ac_configure_extra_args= + +if $ac_cs_silent; then + exec 6>/dev/null + ac_configure_extra_args="$ac_configure_extra_args --silent" +fi + +if $ac_cs_recheck; then + set X '/bin/sh' '/home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/./configure' '--build=x86_64-linux-gnu' '--prefix=/usr' '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=${prefix}/lib/bluez' '--disable-maintainer-mode' '--disable-dependency-tracking' '--disable-silent-rules' '--srcdir=.' '--enable-gstreamer' '--enable-alsa' '--enable-usb' '--enable-netlink' '--enable-tools' '--enable-test' '--enable-bccmd' '--enable-hid2hci' '--enable-dfutool' '--enable-cups' '--enable-pcmcia' '--enable-debug' '--enable-hidd' '--enable-pand' '--enable-dund' '--enable-pnat' '--enable-tracer' '--enable-udevrules' '--enable-configfiles' '--enable-capng' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -g -Wall -O2' 'LDFLAGS=' 'CPPFLAGS=' $ac_configure_extra_args --no-create --no-recursion + shift + $as_echo "running CONFIG_SHELL=/bin/sh $*" >&6 + CONFIG_SHELL='/bin/sh' + export CONFIG_SHELL + exec "$@" +fi + +exec 5>>config.log +{ + echo + sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX +## Running $as_me. ## +_ASBOX + $as_echo "$ac_log" +} >&5 + +# +# INIT-COMMANDS +# +AMDEP_TRUE="#" ac_aux_dir="." + + +# The HP-UX ksh and POSIX shell print the target directory to stdout +# if CDPATH is set. +(unset CDPATH) >/dev/null 2>&1 && unset CDPATH + +sed_quote_subst='s/\(["`$\\]\)/\\\1/g' +double_quote_subst='s/\(["`\\]\)/\\\1/g' +delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' +enable_static='no' +macro_version='2.2.6b' +macro_revision='1.3017' +enable_shared='yes' +pic_mode='default' +enable_fast_install='yes' +host_alias='' +host='x86_64-pc-linux-gnu' +host_os='linux-gnu' +build_alias='x86_64-linux-gnu' +build='x86_64-pc-linux-gnu' +build_os='linux-gnu' +SED='/bin/sed' +Xsed='/bin/sed -e 1s/^X//' +GREP='/bin/grep' +EGREP='/bin/grep -E' +FGREP='/bin/grep -F' +LD='/usr/bin/ld -m elf_x86_64' +NM='/usr/bin/nm -B' +LN_S='ln -s' +max_cmd_len='3458764513820540925' +ac_objext='o' +exeext='' +lt_unset='unset' +lt_SP2NL='tr \040 \012' +lt_NL2SP='tr \015\012 \040\040' +reload_flag=' -r' +reload_cmds='$LD$reload_flag -o $output$reload_objs' +OBJDUMP='objdump' +deplibs_check_method='pass_all' +file_magic_cmd='$MAGIC_CMD' +AR='ar' +AR_FLAGS='cru' +STRIP='strip' +RANLIB='ranlib' +old_postinstall_cmds='chmod 644 $oldlib~$RANLIB $oldlib' +old_postuninstall_cmds='' +old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs~$RANLIB $oldlib' +CC='gcc' +CFLAGS='-g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -fPIC -g' +compiler='gcc' +GCC='yes' +lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' +lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' +lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' +objdir='.libs' +SHELL='/bin/sh' +ECHO='echo' +MAGIC_CMD='file' +lt_prog_compiler_no_builtin_flag=' -fno-builtin' +lt_prog_compiler_wl='-Wl,' +lt_prog_compiler_pic=' -fPIC -DPIC' +lt_prog_compiler_static='-static' +lt_cv_prog_compiler_c_o='yes' +need_locks='no' +DSYMUTIL='' +NMEDIT='' +LIPO='' +OTOOL='' +OTOOL64='' +libext='a' +shrext_cmds='.so' +extract_expsyms_cmds='' +archive_cmds_need_lc='no' +enable_shared_with_static_runtimes='no' +export_dynamic_flag_spec='${wl}--export-dynamic' +whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' +compiler_needs_object='no' +old_archive_from_new_cmds='' +old_archive_from_expsyms_cmds='' +archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' +archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ + cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ + echo "local: *; };" >> $output_objdir/$libname.ver~ + $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' +module_cmds='' +module_expsym_cmds='' +with_gnu_ld='yes' +allow_undefined_flag='' +no_undefined_flag='' +hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' +hardcode_libdir_flag_spec_ld='' +hardcode_libdir_separator='' +hardcode_direct='no' +hardcode_direct_absolute='no' +hardcode_minus_L='no' +hardcode_shlibpath_var='unsupported' +hardcode_automatic='no' +inherit_rpath='no' +link_all_deplibs='unknown' +fix_srcfile_path='' +always_export_symbols='no' +export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' +exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' +include_expsyms='' +prelink_cmds='' +file_list_spec='' +variables_saved_for_relink='PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH' +need_lib_prefix='no' +need_version='no' +version_type='linux' +runpath_var='LD_RUN_PATH' +shlibpath_var='LD_LIBRARY_PATH' +shlibpath_overrides_runpath='no' +libname_spec='lib$name' +library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' +soname_spec='${libname}${release}${shared_ext}$major' +postinstall_cmds='' +postuninstall_cmds='' +finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' +finish_eval='' +hardcode_into_libs='yes' +sys_lib_search_path_spec='/usr/lib/gcc/x86_64-linux-gnu/4.4.5 /usr/lib /lib' +sys_lib_dlsearch_path_spec='/lib64 /usr/lib64 /lib /usr/lib /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu ' +hardcode_action='immediate' +enable_dlopen='unknown' +enable_dlopen_self='unknown' +enable_dlopen_self_static='unknown' +old_striplib='strip --strip-debug' +striplib='strip --strip-unneeded' + +LTCC='gcc' +LTCFLAGS='-g -O2 -g -Wall -O2' +compiler='gcc' + +# Quote evaled strings. +for var in SED GREP EGREP FGREP LD NM LN_S lt_SP2NL lt_NL2SP reload_flag OBJDUMP deplibs_check_method file_magic_cmd AR AR_FLAGS STRIP RANLIB CC CFLAGS compiler lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl lt_cv_sys_global_symbol_to_c_name_address lt_cv_sys_global_symbol_to_c_name_address_lib_prefix SHELL ECHO lt_prog_compiler_no_builtin_flag lt_prog_compiler_wl lt_prog_compiler_pic lt_prog_compiler_static lt_cv_prog_compiler_c_o need_locks DSYMUTIL NMEDIT LIPO OTOOL OTOOL64 shrext_cmds export_dynamic_flag_spec whole_archive_flag_spec compiler_needs_object with_gnu_ld allow_undefined_flag no_undefined_flag hardcode_libdir_flag_spec hardcode_libdir_flag_spec_ld hardcode_libdir_separator fix_srcfile_path exclude_expsyms include_expsyms file_list_spec variables_saved_for_relink libname_spec library_names_spec soname_spec finish_eval old_striplib striplib; do + case `eval \\$ECHO "X\\$$var"` in + *[\\\`\"\$]*) + eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\$$var\\\"" + ;; + esac +done + +# Double-quote double-evaled strings. +for var in reload_cmds old_postinstall_cmds old_postuninstall_cmds old_archive_cmds extract_expsyms_cmds old_archive_from_new_cmds old_archive_from_expsyms_cmds archive_cmds archive_expsym_cmds module_cmds module_expsym_cmds export_symbols_cmds prelink_cmds postinstall_cmds postuninstall_cmds finish_cmds sys_lib_search_path_spec sys_lib_dlsearch_path_spec; do + case `eval \\$ECHO "X\\$$var"` in + *[\\\`\"\$]*) + eval "lt_$var=\\\"\`\$ECHO \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" + ;; + *) + eval "lt_$var=\\\"\$$var\\\"" + ;; + esac +done + +# Fix-up fallback echo if it was mangled by the above quoting rules. +case $lt_ECHO in +*'\$0 --fallback-echo"') lt_ECHO=`$ECHO "X$lt_ECHO" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` + ;; +esac + +ac_aux_dir='.' +xsi_shell='yes' +lt_shell_append='yes' + +# See if we are running on zsh, and set the options which allow our +# commands through without removal of \ escapes INIT. +if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST +fi + + + PACKAGE='bluez' + VERSION='4.66' + TIMESTAMP='' + RM='rm -f' + ofile='libtool' + + + + + +# Handling of arguments. +for ac_config_target in $ac_config_targets +do + case $ac_config_target in + "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; + "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; + "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; + "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; + "scripts/bluetooth.rules") CONFIG_FILES="$CONFIG_FILES scripts/bluetooth.rules" ;; + "doc/version.xml") CONFIG_FILES="$CONFIG_FILES doc/version.xml" ;; + "src/bluetoothd.8") CONFIG_FILES="$CONFIG_FILES src/bluetoothd.8" ;; + "bluez.pc") CONFIG_FILES="$CONFIG_FILES bluez.pc" ;; + + *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 +$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; + esac +done + + +# If the user did not use the arguments to specify the items to instantiate, +# then the envvar interface is used. Set only those that are not. +# We use the long form for the default assignment because of an extremely +# bizarre bug on SunOS 4.1.3. +if $ac_need_defaults; then + test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files + test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers + test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands +fi + +# Have a temporary directory for convenience. Make it in the build tree +# simply because there is no reason against having it here, and in addition, +# creating and moving files from /tmp can sometimes cause problems. +# Hook for its removal unless debugging. +# Note that there is a small window in which the directory will not be cleaned: +# after its creation but before its name has been assigned to `$tmp'. +$debug || +{ + tmp= + trap 'exit_status=$? + { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status +' 0 + trap '{ (exit 1); exit 1; }' 1 2 13 15 +} +# Create a (secure) tmp directory for tmp files. + +{ + tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && + test -n "$tmp" && test -d "$tmp" +} || +{ + tmp=./conf$$-$RANDOM + (umask 077 && mkdir "$tmp") +} || +{ + $as_echo "$as_me: cannot create a temporary directory in ." >&2 + { (exit 1); exit 1; } +} + +# Set up the scripts for CONFIG_FILES section. +# No need to generate them if there are no CONFIG_FILES. +# This happens for instance with `./config.status config.h'. +if test -n "$CONFIG_FILES"; then + + +ac_cr=' ' +ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' /dev/null` +if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then + ac_cs_awk_cr='\\r' +else + ac_cs_awk_cr=$ac_cr +fi + +echo 'BEGIN {' >"$tmp/subs1.awk" && +cat >>"$tmp/subs1.awk" <<\_ACAWK && +S["am__EXEEXT_FALSE"]="" +S["am__EXEEXT_TRUE"]="#" +S["LTLIBOBJS"]="" +S["LIBOBJS"]="" +S["NETLINK_FALSE"]="#" +S["NETLINK_TRUE"]="" +S["NETLINK_LIBS"]="-lnl " +S["NETLINK_CFLAGS"]=" " +S["CAPNG_LIBS"]="-lcap-ng " +S["CAPNG_CFLAGS"]=" " +S["CONFIGFILES_FALSE"]="#" +S["CONFIGFILES_TRUE"]="" +S["UDEVRULES_FALSE"]="#" +S["UDEVRULES_TRUE"]="" +S["DFUTOOL_FALSE"]="#" +S["DFUTOOL_TRUE"]="" +S["HID2HCI_FALSE"]="#" +S["HID2HCI_TRUE"]="" +S["PCMCIA_FALSE"]="#" +S["PCMCIA_TRUE"]="" +S["BCCMD_FALSE"]="#" +S["BCCMD_TRUE"]="" +S["TOOLS_FALSE"]="#" +S["TOOLS_TRUE"]="" +S["TEST_FALSE"]="#" +S["TEST_TRUE"]="" +S["CUPS_FALSE"]="#" +S["CUPS_TRUE"]="" +S["DUND_FALSE"]="#" +S["DUND_TRUE"]="" +S["PAND_FALSE"]="#" +S["PAND_TRUE"]="" +S["HIDD_FALSE"]="#" +S["HIDD_TRUE"]="" +S["TRACER_FALSE"]="#" +S["TRACER_TRUE"]="" +S["PNATPLUGIN_FALSE"]="#" +S["PNATPLUGIN_TRUE"]="" +S["ECHOPLUGIN_FALSE"]="" +S["ECHOPLUGIN_TRUE"]="#" +S["SERVICEPLUGIN_FALSE"]="#" +S["SERVICEPLUGIN_TRUE"]="" +S["NETWORKPLUGIN_FALSE"]="#" +S["NETWORKPLUGIN_TRUE"]="" +S["SERIALPLUGIN_FALSE"]="#" +S["SERIALPLUGIN_TRUE"]="" +S["INPUTPLUGIN_FALSE"]="#" +S["INPUTPLUGIN_TRUE"]="" +S["AUDIOPLUGIN_FALSE"]="#" +S["AUDIOPLUGIN_TRUE"]="" +S["GSTREAMER_FALSE"]="#" +S["GSTREAMER_TRUE"]="" +S["ALSA_FALSE"]="#" +S["ALSA_TRUE"]="" +S["SBC_FALSE"]="#" +S["SBC_TRUE"]="" +S["USB_FALSE"]="#" +S["USB_TRUE"]="" +S["SNDFILE_FALSE"]="#" +S["SNDFILE_TRUE"]="" +S["TELEPHONY_DRIVER"]="telephony-dummy.c" +S["SNDFILE_LIBS"]="-lsndfile " +S["SNDFILE_CFLAGS"]=" " +S["USB_LIBS"]="-lusb " +S["USB_CFLAGS"]=" " +S["GSTREAMER_PLUGINSDIR"]="/usr/lib/gstreamer-0.10" +S["GSTREAMER_LIBS"]="-pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0 " +S["GSTREAMER_CFLAGS"]="-pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 " +S["ALSA_LIBS"]="-lasound -lrt" +S["ALSA_CFLAGS"]="-I/usr/include/alsa " +S["GLIB_LIBS"]="-lglib-2.0 " +S["GLIB_CFLAGS"]="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include " +S["DBUS_LIBS"]="-ldbus-1 -lpthread -lrt " +S["DBUS_CFLAGS"]="-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include " +S["CPP"]="gcc -E" +S["OTOOL64"]="" +S["OTOOL"]="" +S["LIPO"]="" +S["NMEDIT"]="" +S["DSYMUTIL"]="" +S["lt_ECHO"]="echo" +S["RANLIB"]="ranlib" +S["AR"]="ar" +S["OBJDUMP"]="objdump" +S["LN_S"]="ln -s" +S["NM"]="/usr/bin/nm -B" +S["ac_ct_DUMPBIN"]="" +S["DUMPBIN"]="" +S["LD"]="/usr/bin/ld -m elf_x86_64" +S["FGREP"]="/bin/grep -F" +S["EGREP"]="/bin/grep -E" +S["GREP"]="/bin/grep" +S["SED"]="/bin/sed" +S["host_os"]="linux-gnu" +S["host_vendor"]="pc" +S["host_cpu"]="x86_64" +S["host"]="x86_64-pc-linux-gnu" +S["build_os"]="linux-gnu" +S["build_vendor"]="pc" +S["build_cpu"]="x86_64" +S["build"]="x86_64-pc-linux-gnu" +S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool" +S["LEXLIB"]="-lfl" +S["LEX_OUTPUT_ROOT"]="lex.yy" +S["LEX"]="flex" +S["YFLAGS"]="" +S["YACC"]="bison -y" +S["am__fastdepCC_FALSE"]="" +S["am__fastdepCC_TRUE"]="#" +S["CCDEPMODE"]="depmode=none" +S["AMDEPBACKSLASH"]="" +S["AMDEP_FALSE"]="" +S["AMDEP_TRUE"]="#" +S["am__quote"]="" +S["am__include"]="include" +S["DEPDIR"]=".deps" +S["OBJEXT"]="o" +S["EXEEXT"]="" +S["ac_ct_CC"]="gcc" +S["CPPFLAGS"]="" +S["LDFLAGS"]=" -pie" +S["CFLAGS"]="-g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -fPIC -g" +S["CC"]="gcc" +S["UDEV_DATADIR"]="/lib/udev/rules.d" +S["STORAGEDIR"]="/var/lib/bluetooth" +S["CONFIGDIR"]="/etc/bluetooth" +S["PKG_CONFIG"]="/usr/bin/pkg-config" +S["MAINT"]="#" +S["MAINTAINER_MODE_FALSE"]="" +S["MAINTAINER_MODE_TRUE"]="#" +S["AM_BACKSLASH"]="\\" +S["AM_DEFAULT_VERBOSITY"]="1" +S["am__untar"]="${AMTAR} xf -" +S["am__tar"]="${AMTAR} chof - \"$$tardir\"" +S["AMTAR"]="${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run tar" +S["am__leading_dot"]="." +S["SET_MAKE"]="" +S["AWK"]="gawk" +S["mkdir_p"]="/bin/mkdir -p" +S["MKDIR_P"]="/bin/mkdir -p" +S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" +S["STRIP"]="strip" +S["install_sh"]="${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/install-sh" +S["MAKEINFO"]="${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run makeinfo" +S["AUTOHEADER"]="${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run autoheader" +S["AUTOMAKE"]="${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run automake-1.11" +S["AUTOCONF"]="${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run autoconf" +S["ACLOCAL"]="${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run aclocal-1.11" +S["VERSION"]="4.66" +S["PACKAGE"]="bluez" +S["CYGPATH_W"]="echo" +S["am__isrc"]="" +S["INSTALL_DATA"]="${INSTALL} -m 644" +S["INSTALL_SCRIPT"]="${INSTALL}" +S["INSTALL_PROGRAM"]="${INSTALL}" +S["target_alias"]="" +S["host_alias"]="" +S["build_alias"]="x86_64-linux-gnu" +S["LIBS"]="" +S["ECHO_T"]="" +S["ECHO_N"]="-n" +S["ECHO_C"]="" +S["DEFS"]="-DHAVE_CONFIG_H" +S["mandir"]="${prefix}/share/man" +S["localedir"]="${datarootdir}/locale" +S["libdir"]="/usr/lib" +S["psdir"]="${docdir}" +S["pdfdir"]="${docdir}" +S["dvidir"]="${docdir}" +S["htmldir"]="${docdir}" +S["infodir"]="${prefix}/share/info" +S["docdir"]="${datarootdir}/doc/${PACKAGE_TARNAME}" +S["oldincludedir"]="/usr/include" +S["includedir"]="${prefix}/include" +S["localstatedir"]="/var" +S["sharedstatedir"]="${prefix}/com" +S["sysconfdir"]="/etc" +S["datadir"]="${datarootdir}" +S["datarootdir"]="${prefix}/share" +S["libexecdir"]="${prefix}/lib/bluez" +S["sbindir"]="${exec_prefix}/sbin" +S["bindir"]="${exec_prefix}/bin" +S["program_transform_name"]="s,x,x," +S["prefix"]="/usr" +S["exec_prefix"]="${prefix}" +S["PACKAGE_BUGREPORT"]="" +S["PACKAGE_STRING"]="bluez 4.66" +S["PACKAGE_VERSION"]="4.66" +S["PACKAGE_TARNAME"]="bluez" +S["PACKAGE_NAME"]="bluez" +S["PATH_SEPARATOR"]=":" +S["SHELL"]="/bin/sh" +_ACAWK +cat >>"$tmp/subs1.awk" <<_ACAWK && + for (key in S) S_is_set[key] = 1 + FS = "" + +} +{ + line = $ 0 + nfields = split(line, field, "@") + substed = 0 + len = length(field[1]) + for (i = 2; i < nfields; i++) { + key = field[i] + keylen = length(key) + if (S_is_set[key]) { + value = S[key] + line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) + len += length(value) + length(field[++i]) + substed = 1 + } else + len += 1 + keylen + } + + print line +} + +_ACAWK +if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then + sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" +else + cat +fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \ + || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5 +$as_echo "$as_me: error: could not setup config files machinery" >&2;} + { (exit 1); exit 1; }; } +fi # test -n "$CONFIG_FILES" + +# Set up the scripts for CONFIG_HEADERS section. +# No need to generate them if there are no CONFIG_HEADERS. +# This happens for instance with `./config.status Makefile'. +if test -n "$CONFIG_HEADERS"; then +cat >"$tmp/defines.awk" <<\_ACAWK || +BEGIN { +D["PACKAGE_NAME"]=" \"bluez\"" +D["PACKAGE_TARNAME"]=" \"bluez\"" +D["PACKAGE_VERSION"]=" \"4.66\"" +D["PACKAGE_STRING"]=" \"bluez 4.66\"" +D["PACKAGE_BUGREPORT"]=" \"\"" +D["PACKAGE"]=" \"bluez\"" +D["VERSION"]=" \"4.66\"" +D["CONFIGDIR"]=" \"/etc/bluetooth\"" +D["STORAGEDIR"]=" \"/var/lib/bluetooth\"" +D["YYTEXT_POINTER"]=" 1" +D["STDC_HEADERS"]=" 1" +D["HAVE_SYS_TYPES_H"]=" 1" +D["HAVE_SYS_STAT_H"]=" 1" +D["HAVE_STDLIB_H"]=" 1" +D["HAVE_STRING_H"]=" 1" +D["HAVE_MEMORY_H"]=" 1" +D["HAVE_STRINGS_H"]=" 1" +D["HAVE_INTTYPES_H"]=" 1" +D["HAVE_STDINT_H"]=" 1" +D["HAVE_UNISTD_H"]=" 1" +D["HAVE_DLFCN_H"]=" 1" +D["LT_OBJDIR"]=" \".libs/\"" +D["NEED_DBUS_CONNECTION_CAN_SEND_TYPE"]=" 1" +D["HAVE_LIBUSB"]=" 1" +D["HAVE_CAPNG"]=" 1" + for (key in D) D_is_set[key] = 1 + FS = "" +} +/^[\t ]*#[\t ]*(define|undef)[\t ]+[_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ][_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]*([\t (]|$)/ { + line = $ 0 + split(line, arg, " ") + if (arg[1] == "#") { + defundef = arg[2] + mac1 = arg[3] + } else { + defundef = substr(arg[1], 2) + mac1 = arg[2] + } + split(mac1, mac2, "(") #) + macro = mac2[1] + prefix = substr(line, 1, index(line, defundef) - 1) + if (D_is_set[macro]) { + # Preserve the white space surrounding the "#". + print prefix "define", macro P[macro] D[macro] + next + } else { + # Replace #undef with comments. This is necessary, for example, + # in the case of _POSIX_SOURCE, which is predefined and required + # on some systems where configure will not decide to define it. + if (defundef == "undef") { + print "/*", prefix defundef, macro, "*/" + next + } + } +} +{ print } +_ACAWK + { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5 +$as_echo "$as_me: error: could not setup config headers machinery" >&2;} + { (exit 1); exit 1; }; } +fi # test -n "$CONFIG_HEADERS" + + +eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" +shift +for ac_tag +do + case $ac_tag in + :[FHLC]) ac_mode=$ac_tag; continue;; + esac + case $ac_mode$ac_tag in + :[FHL]*:*);; + :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5 +$as_echo "$as_me: error: invalid tag $ac_tag" >&2;} + { (exit 1); exit 1; }; };; + :[FH]-) ac_tag=-:-;; + :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; + esac + ac_save_IFS=$IFS + IFS=: + set x $ac_tag + IFS=$ac_save_IFS + shift + ac_file=$1 + shift + + case $ac_mode in + :L) ac_source=$1;; + :[FH]) + ac_file_inputs= + for ac_f + do + case $ac_f in + -) ac_f="$tmp/stdin";; + *) # Look for the file first in the build tree, then in the source tree + # (if the path is not absolute). The absolute path cannot be DOS-style, + # because $ac_f cannot contain `:'. + test -f "$ac_f" || + case $ac_f in + [\\/$]*) false;; + *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; + esac || + { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 +$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;} + { (exit 1); exit 1; }; };; + esac + case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac + ac_file_inputs="$ac_file_inputs '$ac_f'" + done + + # Let's still pretend it is `configure' which instantiates (i.e., don't + # use $as_me), people would be surprised to read: + # /* config.h. Generated by config.status. */ + configure_input='Generated from '` + $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' + `' by configure.' + if test x"$ac_file" != x-; then + configure_input="$ac_file. $configure_input" + { $as_echo "$as_me:$LINENO: creating $ac_file" >&5 +$as_echo "$as_me: creating $ac_file" >&6;} + fi + # Neutralize special characters interpreted by sed in replacement strings. + case $configure_input in #( + *\&* | *\|* | *\\* ) + ac_sed_conf_input=`$as_echo "$configure_input" | + sed 's/[\\\\&|]/\\\\&/g'`;; #( + *) ac_sed_conf_input=$configure_input;; + esac + + case $ac_tag in + *:-:* | *:-) cat >"$tmp/stdin" \ + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +$as_echo "$as_me: error: could not create $ac_file" >&2;} + { (exit 1); exit 1; }; } ;; + esac + ;; + esac + + ac_dir=`$as_dirname -- "$ac_file" || +$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$ac_file" : 'X\(//\)[^/]' \| \ + X"$ac_file" : 'X\(//\)$' \| \ + X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$ac_file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + { as_dir="$ac_dir" + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} + { (exit 1); exit 1; }; }; } + ac_builddir=. + +case "$ac_dir" in +.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; +*) + ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` + # A ".." for each directory in $ac_dir_suffix. + ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` + case $ac_top_builddir_sub in + "") ac_top_builddir_sub=. ac_top_build_prefix= ;; + *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; + esac ;; +esac +ac_abs_top_builddir=$ac_pwd +ac_abs_builddir=$ac_pwd$ac_dir_suffix +# for backward compatibility: +ac_top_builddir=$ac_top_build_prefix + +case $srcdir in + .) # We are building in place. + ac_srcdir=. + ac_top_srcdir=$ac_top_builddir_sub + ac_abs_top_srcdir=$ac_pwd ;; + [\\/]* | ?:[\\/]* ) # Absolute name. + ac_srcdir=$srcdir$ac_dir_suffix; + ac_top_srcdir=$srcdir + ac_abs_top_srcdir=$srcdir ;; + *) # Relative name. + ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix + ac_top_srcdir=$ac_top_build_prefix$srcdir + ac_abs_top_srcdir=$ac_pwd/$srcdir ;; +esac +ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix + + + case $ac_mode in + :F) + # + # CONFIG_FILE + # + + case $INSTALL in + [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; + *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; + esac + ac_MKDIR_P=$MKDIR_P + case $MKDIR_P in + [\\/$]* | ?:[\\/]* ) ;; + */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; + esac +# If the template does not know about datarootdir, expand it. +# FIXME: This hack should be removed a few years after 2.60. +ac_datarootdir_hack=; ac_datarootdir_seen= + +ac_sed_dataroot=' +/datarootdir/ { + p + q +} +/@datadir@/p +/@docdir@/p +/@infodir@/p +/@localedir@/p +/@mandir@/p +' +case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in +*datarootdir*) ac_datarootdir_seen=yes;; +*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) + { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 +$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} + ac_datarootdir_hack=' + s&@datadir@&${datarootdir}&g + s&@docdir@&${datarootdir}/doc/${PACKAGE_TARNAME}&g + s&@infodir@&${prefix}/share/info&g + s&@localedir@&${datarootdir}/locale&g + s&@mandir@&${prefix}/share/man&g + s&\${datarootdir}&${prefix}/share&g' ;; +esac +ac_sed_extra="/^[ ]*VPATH[ ]*=/{ +s/:*\$(srcdir):*/:/ +s/:*\${srcdir}:*/:/ +s/:*@srcdir@:*/:/ +s/^\([^=]*=[ ]*\):*/\1/ +s/:*$// +s/^[^=]*=[ ]*$// +} + +:t +/@[a-zA-Z_][a-zA-Z_0-9]*@/!b +s|@configure_input@|$ac_sed_conf_input|;t t +s&@top_builddir@&$ac_top_builddir_sub&;t t +s&@top_build_prefix@&$ac_top_build_prefix&;t t +s&@srcdir@&$ac_srcdir&;t t +s&@abs_srcdir@&$ac_abs_srcdir&;t t +s&@top_srcdir@&$ac_top_srcdir&;t t +s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t +s&@builddir@&$ac_builddir&;t t +s&@abs_builddir@&$ac_abs_builddir&;t t +s&@abs_top_builddir@&$ac_abs_top_builddir&;t t +s&@INSTALL@&$ac_INSTALL&;t t +s&@MKDIR_P@&$ac_MKDIR_P&;t t +$ac_datarootdir_hack +" +eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \ + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +$as_echo "$as_me: error: could not create $ac_file" >&2;} + { (exit 1); exit 1; }; } + +test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && + { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && + { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && + { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&5 +$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' +which seems to be undefined. Please make sure it is defined." >&2;} + + rm -f "$tmp/stdin" + case $ac_file in + -) cat "$tmp/out" && rm -f "$tmp/out";; + *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";; + esac \ + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +$as_echo "$as_me: error: could not create $ac_file" >&2;} + { (exit 1); exit 1; }; } + ;; + :H) + # + # CONFIG_HEADER + # + if test x"$ac_file" != x-; then + { + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" + } >"$tmp/config.h" \ + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +$as_echo "$as_me: error: could not create $ac_file" >&2;} + { (exit 1); exit 1; }; } + if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then + { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5 +$as_echo "$as_me: $ac_file is unchanged" >&6;} + else + rm -f "$ac_file" + mv "$tmp/config.h" "$ac_file" \ + || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5 +$as_echo "$as_me: error: could not create $ac_file" >&2;} + { (exit 1); exit 1; }; } + fi + else + $as_echo "/* $configure_input */" \ + && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \ + || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5 +$as_echo "$as_me: error: could not create -" >&2;} + { (exit 1); exit 1; }; } + fi +# Compute "$ac_file"'s index in $config_headers. +_am_arg="$ac_file" +_am_stamp_count=1 +for _am_header in $config_headers :; do + case $_am_header in + $_am_arg | $_am_arg:* ) + break ;; + * ) + _am_stamp_count=`expr $_am_stamp_count + 1` ;; + esac +done +echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || +$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$_am_arg" : 'X\(//\)[^/]' \| \ + X"$_am_arg" : 'X\(//\)$' \| \ + X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$_am_arg" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'`/stamp-h$_am_stamp_count + ;; + + :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5 +$as_echo "$as_me: executing $ac_file commands" >&6;} + ;; + esac + + + case $ac_file$ac_mode in + "depfiles":C) test x"$AMDEP_TRUE" != x"" || { + # Autoconf 2.62 quotes --file arguments for eval, but not when files + # are listed without --file. Let's play safe and only enable the eval + # if we detect the quoting. + case $CONFIG_FILES in + *\'*) eval set x "$CONFIG_FILES" ;; + *) set x $CONFIG_FILES ;; + esac + shift + for mf + do + # Strip MF so we end up with the name of the file. + mf=`echo "$mf" | sed -e 's/:.*$//'` + # Check whether this is an Automake generated Makefile or not. + # We used to match only the files named `Makefile.in', but + # some people rename them; so instead we look at the file content. + # Grep'ing the first line is not enough: some people post-process + # each Makefile.in and add a new line on top of each file to say so. + # Grep'ing the whole file is not good either: AIX grep has a line + # limit of 2048, but all sed's we know have understand at least 4000. + if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then + dirpart=`$as_dirname -- "$mf" || +$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$mf" : 'X\(//\)[^/]' \| \ + X"$mf" : 'X\(//\)$' \| \ + X"$mf" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$mf" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + else + continue + fi + # Extract the definition of DEPDIR, am__include, and am__quote + # from the Makefile without running `make'. + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` + test -z "$DEPDIR" && continue + am__include=`sed -n 's/^am__include = //p' < "$mf"` + test -z "am__include" && continue + am__quote=`sed -n 's/^am__quote = //p' < "$mf"` + # When using ansi2knr, U may be empty or an underscore; expand it + U=`sed -n 's/^U = //p' < "$mf"` + # Find all dependency output files, they are included files with + # $(DEPDIR) in their names. We invoke sed twice because it is the + # simplest approach to changing $(DEPDIR) to its actual value in the + # expansion. + for file in `sed -n " + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ + sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do + # Make sure the directory exists. + test -f "$dirpart/$file" && continue + fdir=`$as_dirname -- "$file" || +$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$file" : 'X\(//\)[^/]' \| \ + X"$file" : 'X\(//\)$' \| \ + X"$file" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$file" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + { as_dir=$dirpart/$fdir + case $as_dir in #( + -*) as_dir=./$as_dir;; + esac + test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { + as_dirs= + while :; do + case $as_dir in #( + *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( + *) as_qdir=$as_dir;; + esac + as_dirs="'$as_qdir' $as_dirs" + as_dir=`$as_dirname -- "$as_dir" || +$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ + X"$as_dir" : 'X\(//\)[^/]' \| \ + X"$as_dir" : 'X\(//\)$' \| \ + X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +$as_echo X"$as_dir" | + sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ + s//\1/ + q + } + /^X\(\/\/\)[^/].*/{ + s//\1/ + q + } + /^X\(\/\/\)$/{ + s//\1/ + q + } + /^X\(\/\).*/{ + s//\1/ + q + } + s/.*/./; q'` + test -d "$as_dir" && break + done + test -z "$as_dirs" || eval "mkdir $as_dirs" + } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 +$as_echo "$as_me: error: cannot create directory $as_dir" >&2;} + { (exit 1); exit 1; }; }; } + # echo "creating $dirpart/$file" + echo '# dummy' > "$dirpart/$file" + done + done +} + ;; + "libtool":C) + + # See if we are running on zsh, and set the options which allow our + # commands through without removal of \ escapes. + if test -n "${ZSH_VERSION+set}" ; then + setopt NO_GLOB_SUBST + fi + + cfgfile="${ofile}T" + trap "$RM \"$cfgfile\"; exit 1" 1 2 15 + $RM "$cfgfile" + + cat <<_LT_EOF >> "$cfgfile" +#! $SHELL + +# `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. +# Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION +# Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: +# NOTE: Changes made to this file will be lost: look at ltmain.sh. +# +# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, +# 2006, 2007, 2008 Free Software Foundation, Inc. +# Written by Gordon Matzigkeit, 1996 +# +# This file is part of GNU Libtool. +# +# GNU Libtool is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of +# the License, or (at your option) any later version. +# +# As a special exception to the GNU General Public License, +# if you distribute this file as part of a program or library that +# is built using GNU Libtool, you may include this file under the +# same distribution terms that you use for the rest of that program. +# +# GNU Libtool is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with GNU Libtool; see the file COPYING. If not, a copy +# can be downloaded from http://www.gnu.org/licenses/gpl.html, or +# obtained by writing to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + +# The names of the tagged configurations supported by this script. +available_tags="" + +# ### BEGIN LIBTOOL CONFIG + +# Whether or not to build static libraries. +build_old_libs=$enable_static + +# Which release of libtool.m4 was used? +macro_version=$macro_version +macro_revision=$macro_revision + +# Whether or not to build shared libraries. +build_libtool_libs=$enable_shared + +# What type of objects to build. +pic_mode=$pic_mode + +# Whether or not to optimize for fast installation. +fast_install=$enable_fast_install + +# The host system. +host_alias=$host_alias +host=$host +host_os=$host_os + +# The build system. +build_alias=$build_alias +build=$build +build_os=$build_os + +# A sed program that does not truncate output. +SED=$lt_SED + +# Sed that helps us avoid accidentally triggering echo(1) options like -n. +Xsed="\$SED -e 1s/^X//" + +# A grep program that handles long lines. +GREP=$lt_GREP + +# An ERE matcher. +EGREP=$lt_EGREP + +# A literal string matcher. +FGREP=$lt_FGREP + +# A BSD- or MS-compatible name lister. +NM=$lt_NM + +# Whether we need soft or hard links. +LN_S=$lt_LN_S + +# What is the maximum length of a command? +max_cmd_len=$max_cmd_len + +# Object file suffix (normally "o"). +objext=$ac_objext + +# Executable file suffix (normally ""). +exeext=$exeext + +# whether the shell understands "unset". +lt_unset=$lt_unset + +# turn spaces into newlines. +SP2NL=$lt_lt_SP2NL + +# turn newlines into spaces. +NL2SP=$lt_lt_NL2SP + +# How to create reloadable object files. +reload_flag=$lt_reload_flag +reload_cmds=$lt_reload_cmds + +# An object symbol dumper. +OBJDUMP=$lt_OBJDUMP + +# Method to check whether dependent libraries are shared objects. +deplibs_check_method=$lt_deplibs_check_method + +# Command to use when deplibs_check_method == "file_magic". +file_magic_cmd=$lt_file_magic_cmd + +# The archiver. +AR=$lt_AR +AR_FLAGS=$lt_AR_FLAGS + +# A symbol stripping program. +STRIP=$lt_STRIP + +# Commands used to install an old-style archive. +RANLIB=$lt_RANLIB +old_postinstall_cmds=$lt_old_postinstall_cmds +old_postuninstall_cmds=$lt_old_postuninstall_cmds + +# A C compiler. +LTCC=$lt_CC + +# LTCC compiler flags. +LTCFLAGS=$lt_CFLAGS + +# Take the output of nm and produce a listing of raw symbols and C names. +global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe + +# Transform the output of nm in a proper C declaration. +global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl + +# Transform the output of nm in a C name address pair. +global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address + +# Transform the output of nm in a C name address pair when lib prefix is needed. +global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix + +# The name of the directory that contains temporary libtool files. +objdir=$objdir + +# Shell to use when invoking shell scripts. +SHELL=$lt_SHELL + +# An echo program that does not interpret backslashes. +ECHO=$lt_ECHO + +# Used to examine libraries when file_magic_cmd begins with "file". +MAGIC_CMD=$MAGIC_CMD + +# Must we lock files when doing compilation? +need_locks=$lt_need_locks + +# Tool to manipulate archived DWARF debug symbol files on Mac OS X. +DSYMUTIL=$lt_DSYMUTIL + +# Tool to change global to local symbols on Mac OS X. +NMEDIT=$lt_NMEDIT + +# Tool to manipulate fat objects and archives on Mac OS X. +LIPO=$lt_LIPO + +# ldd/readelf like tool for Mach-O binaries on Mac OS X. +OTOOL=$lt_OTOOL + +# ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. +OTOOL64=$lt_OTOOL64 + +# Old archive suffix (normally "a"). +libext=$libext + +# Shared library suffix (normally ".so"). +shrext_cmds=$lt_shrext_cmds + +# The commands to extract the exported symbol list from a shared archive. +extract_expsyms_cmds=$lt_extract_expsyms_cmds + +# Variables whose values should be saved in libtool wrapper scripts and +# restored at link time. +variables_saved_for_relink=$lt_variables_saved_for_relink + +# Do we need the "lib" prefix for modules? +need_lib_prefix=$need_lib_prefix + +# Do we need a version for libraries? +need_version=$need_version + +# Library versioning type. +version_type=$version_type + +# Shared library runtime path variable. +runpath_var=$runpath_var + +# Shared library path variable. +shlibpath_var=$shlibpath_var + +# Is shlibpath searched before the hard-coded library search path? +shlibpath_overrides_runpath=$shlibpath_overrides_runpath + +# Format of library name prefix. +libname_spec=$lt_libname_spec + +# List of archive names. First name is the real one, the rest are links. +# The last name is the one that the linker finds with -lNAME +library_names_spec=$lt_library_names_spec + +# The coded name of the library, if different from the real name. +soname_spec=$lt_soname_spec + +# Command to use after installation of a shared archive. +postinstall_cmds=$lt_postinstall_cmds + +# Command to use after uninstallation of a shared archive. +postuninstall_cmds=$lt_postuninstall_cmds + +# Commands used to finish a libtool library installation in a directory. +finish_cmds=$lt_finish_cmds + +# As "finish_cmds", except a single script fragment to be evaled but +# not shown. +finish_eval=$lt_finish_eval + +# Whether we should hardcode library paths into libraries. +hardcode_into_libs=$hardcode_into_libs + +# Compile-time system search path for libraries. +sys_lib_search_path_spec=$lt_sys_lib_search_path_spec + +# Run-time system search path for libraries. +sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + +# Whether dlopen is supported. +dlopen_support=$enable_dlopen + +# Whether dlopen of programs is supported. +dlopen_self=$enable_dlopen_self + +# Whether dlopen of statically linked programs is supported. +dlopen_self_static=$enable_dlopen_self_static + +# Commands to strip libraries. +old_striplib=$lt_old_striplib +striplib=$lt_striplib + + +# The linker used to build libraries. +LD=$lt_LD + +# Commands used to build an old-style archive. +old_archive_cmds=$lt_old_archive_cmds + +# A language specific compiler. +CC=$lt_compiler + +# Is the compiler the GNU compiler? +with_gcc=$GCC + +# Compiler flag to turn off builtin functions. +no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag + +# How to pass a linker flag through the compiler. +wl=$lt_lt_prog_compiler_wl + +# Additional compiler flags for building library objects. +pic_flag=$lt_lt_prog_compiler_pic + +# Compiler flag to prevent dynamic linking. +link_static_flag=$lt_lt_prog_compiler_static + +# Does compiler simultaneously support -c and -o options? +compiler_c_o=$lt_lt_cv_prog_compiler_c_o + +# Whether or not to add -lc for building shared libraries. +build_libtool_need_lc=$archive_cmds_need_lc + +# Whether or not to disallow shared libs when runtime libs are static. +allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes + +# Compiler flag to allow reflexive dlopens. +export_dynamic_flag_spec=$lt_export_dynamic_flag_spec + +# Compiler flag to generate shared objects directly from archives. +whole_archive_flag_spec=$lt_whole_archive_flag_spec + +# Whether the compiler copes with passing no objects directly. +compiler_needs_object=$lt_compiler_needs_object + +# Create an old-style archive from a shared archive. +old_archive_from_new_cmds=$lt_old_archive_from_new_cmds + +# Create a temporary old-style archive to link instead of a shared archive. +old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds + +# Commands used to build a shared archive. +archive_cmds=$lt_archive_cmds +archive_expsym_cmds=$lt_archive_expsym_cmds + +# Commands used to build a loadable module if different from building +# a shared archive. +module_cmds=$lt_module_cmds +module_expsym_cmds=$lt_module_expsym_cmds + +# Whether we are building with GNU ld or not. +with_gnu_ld=$lt_with_gnu_ld + +# Flag that allows shared libraries with undefined symbols to be built. +allow_undefined_flag=$lt_allow_undefined_flag + +# Flag that enforces no undefined symbols. +no_undefined_flag=$lt_no_undefined_flag + +# Flag to hardcode \$libdir into a binary during linking. +# This must work even if \$libdir does not exist +hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec + +# If ld is used when linking, flag to hardcode \$libdir into a binary +# during linking. This must work even if \$libdir does not exist. +hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld + +# Whether we need a single "-rpath" flag with a separated argument. +hardcode_libdir_separator=$lt_hardcode_libdir_separator + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary. +hardcode_direct=$hardcode_direct + +# Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes +# DIR into the resulting binary and the resulting library dependency is +# "absolute",i.e impossible to change by setting \${shlibpath_var} if the +# library is relocated. +hardcode_direct_absolute=$hardcode_direct_absolute + +# Set to "yes" if using the -LDIR flag during linking hardcodes DIR +# into the resulting binary. +hardcode_minus_L=$hardcode_minus_L + +# Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR +# into the resulting binary. +hardcode_shlibpath_var=$hardcode_shlibpath_var + +# Set to "yes" if building a shared library automatically hardcodes DIR +# into the library and all subsequent libraries and executables linked +# against it. +hardcode_automatic=$hardcode_automatic + +# Set to yes if linker adds runtime paths of dependent libraries +# to runtime path list. +inherit_rpath=$inherit_rpath + +# Whether libtool must link a program against all its dependency libraries. +link_all_deplibs=$link_all_deplibs + +# Fix the shell variable \$srcfile for the compiler. +fix_srcfile_path=$lt_fix_srcfile_path + +# Set to "yes" if exported symbols are required. +always_export_symbols=$always_export_symbols + +# The commands to list exported symbols. +export_symbols_cmds=$lt_export_symbols_cmds + +# Symbols that should not be listed in the preloaded symbols. +exclude_expsyms=$lt_exclude_expsyms + +# Symbols that must always be exported. +include_expsyms=$lt_include_expsyms + +# Commands necessary for linking programs (against libraries) with templates. +prelink_cmds=$lt_prelink_cmds + +# Specify filename containing input files. +file_list_spec=$lt_file_list_spec + +# How to hardcode a shared library path into an executable. +hardcode_action=$hardcode_action + +# ### END LIBTOOL CONFIG + +_LT_EOF + + case $host_os in + aix3*) + cat <<\_LT_EOF >> "$cfgfile" +# AIX sometimes has problems with the GCC collect2 program. For some +# reason, if we set the COLLECT_NAMES environment variable, the problems +# vanish in a puff of smoke. +if test "X${COLLECT_NAMES+set}" != Xset; then + COLLECT_NAMES= + export COLLECT_NAMES +fi +_LT_EOF + ;; + esac + + +ltmain="$ac_aux_dir/ltmain.sh" + + + # We use sed instead of cat because bash on DJGPP gets confused if + # if finds mixed CR/LF and LF-only lines. Since sed operates in + # text mode, it properly converts lines to CR/LF. This bash problem + # is reportedly fixed, but why not run on old versions too? + sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + case $xsi_shell in + yes) + cat << \_LT_EOF >> "$cfgfile" + +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac +} + +# func_basename file +func_basename () +{ + func_basename_result="${1##*/}" +} + +# func_dirname_and_basename file append nondir_replacement +# perform func_basename and func_dirname in a single function +# call: +# dirname: Compute the dirname of FILE. If nonempty, +# add APPEND to the result, otherwise set result +# to NONDIR_REPLACEMENT. +# value returned in "$func_dirname_result" +# basename: Compute filename of FILE. +# value retuned in "$func_basename_result" +# Implementation must be kept synchronized with func_dirname +# and func_basename. For efficiency, we do not delegate to +# those functions but instead duplicate the functionality here. +func_dirname_and_basename () +{ + case ${1} in + */*) func_dirname_result="${1%/*}${2}" ;; + * ) func_dirname_result="${3}" ;; + esac + func_basename_result="${1##*/}" +} + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +func_stripname () +{ + # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are + # positional parameters, so assign one to ordinary parameter first. + func_stripname_result=${3} + func_stripname_result=${func_stripname_result#"${1}"} + func_stripname_result=${func_stripname_result%"${2}"} +} + +# func_opt_split +func_opt_split () +{ + func_opt_split_opt=${1%%=*} + func_opt_split_arg=${1#*=} +} + +# func_lo2o object +func_lo2o () +{ + case ${1} in + *.lo) func_lo2o_result=${1%.lo}.${objext} ;; + *) func_lo2o_result=${1} ;; + esac +} + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=${1%.*}.lo +} + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=$(( $* )) +} + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=${#1} +} + +_LT_EOF + ;; + *) # Bourne compatible functions. + cat << \_LT_EOF >> "$cfgfile" + +# func_dirname file append nondir_replacement +# Compute the dirname of FILE. If nonempty, add APPEND to the result, +# otherwise set result to NONDIR_REPLACEMENT. +func_dirname () +{ + # Extract subdirectory from the argument. + func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"` + if test "X$func_dirname_result" = "X${1}"; then + func_dirname_result="${3}" + else + func_dirname_result="$func_dirname_result${2}" + fi +} + +# func_basename file +func_basename () +{ + func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"` +} + + +# func_stripname prefix suffix name +# strip PREFIX and SUFFIX off of NAME. +# PREFIX and SUFFIX must not contain globbing or regex special +# characters, hashes, percent signs, but SUFFIX may contain a leading +# dot (in which case that matches only a dot). +# func_strip_suffix prefix name +func_stripname () +{ + case ${2} in + .*) func_stripname_result=`$ECHO "X${3}" \ + | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;; + *) func_stripname_result=`$ECHO "X${3}" \ + | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;; + esac +} + +# sed scripts: +my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q' +my_sed_long_arg='1s/^-[^=]*=//' + +# func_opt_split +func_opt_split () +{ + func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"` + func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"` +} + +# func_lo2o object +func_lo2o () +{ + func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"` +} + +# func_xform libobj-or-source +func_xform () +{ + func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'` +} + +# func_arith arithmetic-term... +func_arith () +{ + func_arith_result=`expr "$@"` +} + +# func_len string +# STRING may not start with a hyphen. +func_len () +{ + func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` +} + +_LT_EOF +esac + +case $lt_shell_append in + yes) + cat << \_LT_EOF >> "$cfgfile" + +# func_append var value +# Append VALUE to the end of shell variable VAR. +func_append () +{ + eval "$1+=\$2" +} +_LT_EOF + ;; + *) + cat << \_LT_EOF >> "$cfgfile" + +# func_append var value +# Append VALUE to the end of shell variable VAR. +func_append () +{ + eval "$1=\$$1\$2" +} + +_LT_EOF + ;; + esac + + + sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \ + || (rm -f "$cfgfile"; exit 1) + + mv -f "$cfgfile" "$ofile" || + (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") + chmod +x "$ofile" + + ;; + + esac +done # for ac_tag + + +{ (exit 0); exit 0; } --- bluez-4.66.orig/Makefile +++ bluez-4.66/Makefile @@ -0,0 +1,3173 @@ +# Makefile.in generated by automake 1.11.1 from Makefile.am. +# Makefile. Generated from Makefile.in by configure. + +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, +# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, +# Inc. +# This Makefile.in is free software; the Free Software Foundation +# gives unlimited permission to copy and/or distribute it, +# with or without modifications, as long as this notice is preserved. + +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY, to the extent permitted by law; without +# even the implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. + + + + + + + + + +pkgdatadir = $(datadir)/bluez +pkgincludedir = $(includedir)/bluez +pkglibdir = $(libdir)/bluez +pkglibexecdir = $(libexecdir)/bluez +am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd +install_sh_DATA = $(install_sh) -c -m 644 +install_sh_PROGRAM = $(install_sh) -c +install_sh_SCRIPT = $(install_sh) -c +INSTALL_HEADER = $(INSTALL_DATA) +transform = $(program_transform_name) +NORMAL_INSTALL = : +PRE_INSTALL = : +POST_INSTALL = : +NORMAL_UNINSTALL = : +PRE_UNINSTALL = : +POST_UNINSTALL = : +build_triplet = x86_64-pc-linux-gnu +host_triplet = x86_64-pc-linux-gnu +bin_PROGRAMS = $(am__EXEEXT_1) $(am__EXEEXT_2) $(am__EXEEXT_3) \ + $(am__EXEEXT_4) $(am__EXEEXT_5) $(am__EXEEXT_6) +sbin_PROGRAMS = src/bluetoothd$(EXEEXT) $(am__EXEEXT_12) \ + $(am__EXEEXT_13) $(am__EXEEXT_14) $(am__EXEEXT_15) \ + $(am__EXEEXT_16) +noinst_PROGRAMS = $(am__EXEEXT_7) $(am__EXEEXT_8) $(am__EXEEXT_9) \ + $(am__EXEEXT_10) $(am__EXEEXT_11) +am__append_1 = sbc/libsbc.la +am__append_2 = sbc/sbcinfo sbc/sbcdec sbc/sbcenc +am__append_3 = sbc/sbctester +am__append_4 = plugins/netlink.la +am__append_5 = pnat +am__append_6 = plugins/pnat.c +#am__append_7 = echo +#am__append_8 = plugins/echo.c +am__append_9 = audio +am__append_10 = audio/main.c \ + audio/manager.h audio/manager.c \ + audio/gateway.h audio/gateway.c \ + audio/headset.h audio/headset.c \ + audio/control.h audio/control.c \ + audio/device.h audio/device.c \ + audio/source.h audio/source.c \ + audio/sink.h audio/sink.c \ + audio/a2dp.h audio/a2dp.c \ + audio/avdtp.h audio/avdtp.c \ + audio/ipc.h audio/ipc.c \ + audio/unix.h audio/unix.c \ + audio/telephony.h + +am__append_11 = audio/telephony.c +am__append_12 = input +am__append_13 = input/main.c \ + input/manager.h input/manager.c \ + input/server.h input/server.c \ + input/device.h input/device.c \ + input/fakehid.c input/fakehid.h + +am__append_14 = serial +am__append_15 = serial/main.c \ + serial/manager.h serial/manager.c \ + serial/proxy.h serial/proxy.c \ + serial/port.h serial/port.c + +am__append_16 = network +am__append_17 = network/main.c \ + network/manager.h network/manager.c \ + network/common.h network/common.c \ + network/server.h network/server.c \ + network/bridge.h network/bridge.c \ + network/connection.h network/connection.c + +am__append_18 = service +am__append_19 = plugins/service.c +DIST_COMMON = README $(am__configure_deps) \ + $(am__dist_udev_SCRIPTS_DIST) $(dist_man_MANS) \ + $(include_HEADERS) $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ + $(srcdir)/Makefile.tools $(srcdir)/bluez.pc.in \ + $(srcdir)/config.h.in $(top_srcdir)/configure \ + $(top_srcdir)/doc/version.xml.in \ + $(top_srcdir)/scripts/bluetooth.rules.in \ + $(top_srcdir)/src/bluetoothd.8.in AUTHORS COPYING COPYING.LIB \ + ChangeLog INSTALL NEWS compile config.guess config.sub depcomp \ + install-sh ltmain.sh missing tools/lexer.c tools/parser.c \ + tools/parser.h ylwrap +am__append_20 = tools/rfcomm.conf +am__append_21 = tools/rfcomm tools/l2ping \ + tools/hcitool tools/sdptool tools/ciptool + +am__append_22 = tools/hciattach tools/hciconfig +am__append_23 = tools/avinfo tools/ppporc \ + tools/hcieventmask tools/hcisecfilter + +am__append_24 = tools/rfcomm.1 tools/l2ping.8 \ + tools/hciattach.8 tools/hciconfig.8 \ + tools/hcitool.1 tools/sdptool.1 tools/ciptool.1 + +#am__append_25 = tools/rfcomm.1 tools/l2ping.8 \ +# tools/hciattach.8 tools/hciconfig.8 \ +# tools/hcitool.1 tools/sdptool.1 tools/ciptool.1 + +am__append_26 = tracer/hcitrace +am__append_27 = tools/bccmd +am__append_28 = tools/csr_usb.c +am__append_29 = -lusb +am__append_30 = tools/bccmd.8 +#am__append_31 = tools/bccmd.8 +am__append_32 = tools/hid2hci +am__append_33 = tools/hid2hci.8 +#am__append_34 = tools/hid2hci.8 +am__append_35 = tools/dfutool +am__append_36 = tools/dfutool.1 +#am__append_37 = tools/dfutool.1 +am__append_38 = tools/dfubabel tools/avctrl +cups_PROGRAMS = cups/bluetooth$(EXEEXT) +am__append_39 = test/hciemu +am__append_40 = test/l2test test/rctest +am__append_41 = test/gaptest test/sdptest test/scotest \ + test/attest test/hstest test/avtest test/ipctest \ + test/lmptest test/bdaddr test/agent \ + test/btiotest test/test-textfile + +am__append_42 = test/rctest.1 test/hciemu.1 +am__append_43 = test/bdaddr.8 +#am__append_44 = test/rctest.1 test/hciemu.1 test/bdaddr.8 +am__append_45 = compat/hidd +am__append_46 = compat/hidd.1 +#am__append_47 = compat/hidd.1 +am__append_48 = compat/pand +am__append_49 = compat/pand.1 +#am__append_50 = compat/pand.1 +am__append_51 = compat/dund +am__append_52 = compat/dund.1 +#am__append_53 = compat/dund.1 +am__append_54 = scripts/bluetooth-hid2hci.rules +am__append_55 = scripts/bluetooth-serial.rules +subdir = . +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \ + $(top_srcdir)/configure.ac +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ + $(ACLOCAL_M4) +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ + configure.lineno config.status.lineno +mkinstalldirs = $(install_sh) -d +CONFIG_HEADER = config.h +CONFIG_CLEAN_FILES = scripts/bluetooth.rules doc/version.xml \ + src/bluetoothd.8 bluez.pc +CONFIG_CLEAN_VPATH_FILES = +LIBRARIES = $(noinst_LIBRARIES) +ARFLAGS = cru +AM_V_AR = $(am__v_AR_$(V)) +am__v_AR_ = $(am__v_AR_$(AM_DEFAULT_VERBOSITY)) +am__v_AR_0 = @echo " AR " $@; +AM_V_at = $(am__v_at_$(V)) +am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY)) +am__v_at_0 = @ +audio_libtelephony_a_AR = $(AR) $(ARFLAGS) +audio_libtelephony_a_LIBADD = +am__audio_libtelephony_a_SOURCES_DIST = audio/telephony.h \ + audio/telephony-dummy.c audio/telephony-maemo5.c \ + audio/telephony-ofono.c audio/telephony-maemo6.c +am__dirstamp = $(am__leading_dot)dirstamp +am_audio_libtelephony_a_OBJECTS = \ + audio/telephony-dummy.$(OBJEXT) \ + audio/telephony-maemo5.$(OBJEXT) \ + audio/telephony-ofono.$(OBJEXT) \ + audio/telephony-maemo6.$(OBJEXT) +audio_libtelephony_a_OBJECTS = $(am_audio_libtelephony_a_OBJECTS) +am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; +am__vpath_adj = case $$p in \ + $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \ + *) f=$$p;; \ + esac; +am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`; +am__install_max = 40 +am__nobase_strip_setup = \ + srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'` +am__nobase_strip = \ + for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||" +am__nobase_list = $(am__nobase_strip_setup); \ + for p in $$list; do echo "$$p $$p"; done | \ + sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \ + $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \ + if (++n[$$2] == $(am__install_max)) \ + { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \ + END { for (dir in files) print dir, files[dir] }' +am__base_list = \ + sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \ + sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g' +am__installdirs = "$(DESTDIR)$(alsadir)" "$(DESTDIR)$(gstreamerdir)" \ + "$(DESTDIR)$(libdir)" "$(DESTDIR)$(plugindir)" \ + "$(DESTDIR)$(bindir)" "$(DESTDIR)$(cupsdir)" \ + "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(udevdir)" \ + "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)" \ + "$(DESTDIR)$(alsaconfdir)" "$(DESTDIR)$(confdir)" \ + "$(DESTDIR)$(dbusdir)" "$(DESTDIR)$(pkgconfigdir)" \ + "$(DESTDIR)$(rulesdir)" "$(DESTDIR)$(statedir)" \ + "$(DESTDIR)$(includedir)" +LTLIBRARIES = $(alsa_LTLIBRARIES) $(gstreamer_LTLIBRARIES) \ + $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES) $(plugin_LTLIBRARIES) +audio_libasound_module_ctl_bluetooth_la_DEPENDENCIES = \ + lib/libbluetooth.la +am__audio_libasound_module_ctl_bluetooth_la_SOURCES_DIST = \ + audio/ctl_bluetooth.c audio/rtp.h audio/ipc.h audio/ipc.c +am_audio_libasound_module_ctl_bluetooth_la_OBJECTS = audio/audio_libasound_module_ctl_bluetooth_la-ctl_bluetooth.lo \ + audio/audio_libasound_module_ctl_bluetooth_la-ipc.lo +audio_libasound_module_ctl_bluetooth_la_OBJECTS = \ + $(am_audio_libasound_module_ctl_bluetooth_la_OBJECTS) +AM_V_lt = $(am__v_lt_$(V)) +am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) +am__v_lt_0 = --silent +audio_libasound_module_ctl_bluetooth_la_LINK = $(LIBTOOL) $(AM_V_lt) \ + --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \ + $(CCLD) $(audio_libasound_module_ctl_bluetooth_la_CFLAGS) \ + $(CFLAGS) $(audio_libasound_module_ctl_bluetooth_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +am_audio_libasound_module_ctl_bluetooth_la_rpath = -rpath \ + $(alsadir) +audio_libasound_module_pcm_bluetooth_la_DEPENDENCIES = \ + sbc/libsbc.la lib/libbluetooth.la +am__audio_libasound_module_pcm_bluetooth_la_SOURCES_DIST = \ + audio/pcm_bluetooth.c audio/rtp.h audio/ipc.h audio/ipc.c +am_audio_libasound_module_pcm_bluetooth_la_OBJECTS = audio/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo \ + audio/audio_libasound_module_pcm_bluetooth_la-ipc.lo +audio_libasound_module_pcm_bluetooth_la_OBJECTS = \ + $(am_audio_libasound_module_pcm_bluetooth_la_OBJECTS) +audio_libasound_module_pcm_bluetooth_la_LINK = $(LIBTOOL) $(AM_V_lt) \ + --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \ + $(CCLD) $(audio_libasound_module_pcm_bluetooth_la_CFLAGS) \ + $(CFLAGS) $(audio_libasound_module_pcm_bluetooth_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +am_audio_libasound_module_pcm_bluetooth_la_rpath = -rpath \ + $(alsadir) +audio_libgstbluetooth_la_DEPENDENCIES = \ + sbc/libsbc.la \ + lib/libbluetooth.la +am__audio_libgstbluetooth_la_SOURCES_DIST = audio/gstbluetooth.c \ + audio/gstpragma.h audio/gstsbcenc.h audio/gstsbcenc.c \ + audio/gstsbcdec.h audio/gstsbcdec.c audio/gstsbcparse.h \ + audio/gstsbcparse.c audio/gstavdtpsink.h audio/gstavdtpsink.c \ + audio/gsta2dpsink.h audio/gsta2dpsink.c audio/gstsbcutil.h \ + audio/gstsbcutil.c audio/gstrtpsbcpay.h audio/gstrtpsbcpay.c \ + audio/rtp.h audio/ipc.h audio/ipc.c +am_audio_libgstbluetooth_la_OBJECTS = audio/audio_libgstbluetooth_la-gstbluetooth.lo \ + audio/audio_libgstbluetooth_la-gstsbcenc.lo \ + audio/audio_libgstbluetooth_la-gstsbcdec.lo \ + audio/audio_libgstbluetooth_la-gstsbcparse.lo \ + audio/audio_libgstbluetooth_la-gstavdtpsink.lo \ + audio/audio_libgstbluetooth_la-gsta2dpsink.lo \ + audio/audio_libgstbluetooth_la-gstsbcutil.lo \ + audio/audio_libgstbluetooth_la-gstrtpsbcpay.lo \ + audio/audio_libgstbluetooth_la-ipc.lo +audio_libgstbluetooth_la_OBJECTS = \ + $(am_audio_libgstbluetooth_la_OBJECTS) +audio_libgstbluetooth_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) \ + $(audio_libgstbluetooth_la_LDFLAGS) $(LDFLAGS) -o $@ +am_audio_libgstbluetooth_la_rpath = \ + -rpath $(gstreamerdir) +lib_libbluetooth_la_LIBADD = +am__objects_1 = +am_lib_libbluetooth_la_OBJECTS = $(am__objects_1) lib/bluetooth.lo \ + lib/hci.lo lib/sdp.lo +lib_libbluetooth_la_OBJECTS = $(am_lib_libbluetooth_la_OBJECTS) +lib_libbluetooth_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(lib_libbluetooth_la_LDFLAGS) \ + $(LDFLAGS) -o $@ +plugins_netlink_la_DEPENDENCIES = +plugins_netlink_la_SOURCES = plugins/netlink.c +plugins_netlink_la_OBJECTS = plugins/plugins_netlink_la-netlink.lo +plugins_netlink_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(plugins_netlink_la_CFLAGS) $(CFLAGS) \ + $(plugins_netlink_la_LDFLAGS) $(LDFLAGS) -o $@ +am_plugins_netlink_la_rpath = -rpath $(plugindir) +sbc_libsbc_la_LIBADD = +am__sbc_libsbc_la_SOURCES_DIST = sbc/sbc.h sbc/sbc.c sbc/sbc_math.h \ + sbc/sbc_tables.h sbc/sbc_primitives.h sbc/sbc_primitives.c \ + sbc/sbc_primitives_mmx.h sbc/sbc_primitives_mmx.c \ + sbc/sbc_primitives_neon.h sbc/sbc_primitives_neon.c +am_sbc_libsbc_la_OBJECTS = sbc/sbc_libsbc_la-sbc.lo \ + sbc/sbc_libsbc_la-sbc_primitives.lo \ + sbc/sbc_libsbc_la-sbc_primitives_mmx.lo \ + sbc/sbc_libsbc_la-sbc_primitives_neon.lo +sbc_libsbc_la_OBJECTS = $(am_sbc_libsbc_la_OBJECTS) +sbc_libsbc_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(sbc_libsbc_la_CFLAGS) \ + $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ +am_sbc_libsbc_la_rpath = +am__EXEEXT_1 = tools/rfcomm$(EXEEXT) tools/l2ping$(EXEEXT) \ + tools/hcitool$(EXEEXT) tools/sdptool$(EXEEXT) \ + tools/ciptool$(EXEEXT) +am__EXEEXT_2 = tools/dfutool$(EXEEXT) +am__EXEEXT_3 = test/l2test$(EXEEXT) test/rctest$(EXEEXT) +am__EXEEXT_4 = compat/hidd$(EXEEXT) +am__EXEEXT_5 = compat/pand$(EXEEXT) +am__EXEEXT_6 = compat/dund$(EXEEXT) +am__EXEEXT_7 = sbc/sbcinfo$(EXEEXT) sbc/sbcdec$(EXEEXT) \ + sbc/sbcenc$(EXEEXT) +am__EXEEXT_8 = sbc/sbctester$(EXEEXT) +am__EXEEXT_9 = tools/avinfo$(EXEEXT) tools/ppporc$(EXEEXT) \ + tools/hcieventmask$(EXEEXT) \ + tools/hcisecfilter$(EXEEXT) +am__EXEEXT_10 = tools/dfubabel$(EXEEXT) \ + tools/avctrl$(EXEEXT) +am__EXEEXT_11 = test/gaptest$(EXEEXT) test/sdptest$(EXEEXT) \ + test/scotest$(EXEEXT) test/attest$(EXEEXT) \ + test/hstest$(EXEEXT) test/avtest$(EXEEXT) \ + test/ipctest$(EXEEXT) test/lmptest$(EXEEXT) \ + test/bdaddr$(EXEEXT) test/agent$(EXEEXT) \ + test/btiotest$(EXEEXT) test/test-textfile$(EXEEXT) +am__EXEEXT_12 = tools/hciattach$(EXEEXT) \ + tools/hciconfig$(EXEEXT) +am__EXEEXT_13 = tracer/hcitrace$(EXEEXT) +am__EXEEXT_14 = tools/bccmd$(EXEEXT) +am__EXEEXT_15 = tools/hid2hci$(EXEEXT) +am__EXEEXT_16 = test/hciemu$(EXEEXT) +PROGRAMS = $(bin_PROGRAMS) $(cups_PROGRAMS) $(noinst_PROGRAMS) \ + $(sbin_PROGRAMS) +am__compat_dund_SOURCES_DIST = compat/dund.c compat/dund.h \ + compat/lib.h compat/sdp.h compat/sdp.c compat/dun.c \ + compat/msdun.c src/textfile.h src/textfile.c +am_compat_dund_OBJECTS = compat/dund.$(OBJEXT) \ + compat/sdp.$(OBJEXT) compat/dun.$(OBJEXT) \ + compat/msdun.$(OBJEXT) src/textfile.$(OBJEXT) +compat_dund_OBJECTS = $(am_compat_dund_OBJECTS) +compat_dund_DEPENDENCIES = lib/libbluetooth.la +am__compat_hidd_SOURCES_DIST = compat/hidd.c compat/hidd.h \ + src/uinput.h compat/sdp.h compat/sdp.c compat/fakehid.c \ + src/textfile.h src/textfile.c +am_compat_hidd_OBJECTS = compat/hidd.$(OBJEXT) \ + compat/sdp.$(OBJEXT) compat/fakehid.$(OBJEXT) \ + src/textfile.$(OBJEXT) +compat_hidd_OBJECTS = $(am_compat_hidd_OBJECTS) +compat_hidd_DEPENDENCIES = lib/libbluetooth.la +am__compat_pand_SOURCES_DIST = compat/pand.c compat/pand.h \ + compat/bnep.c compat/sdp.h compat/sdp.c src/textfile.h \ + src/textfile.c +am_compat_pand_OBJECTS = compat/pand.$(OBJEXT) \ + compat/bnep.$(OBJEXT) compat/sdp.$(OBJEXT) \ + src/textfile.$(OBJEXT) +compat_pand_OBJECTS = $(am_compat_pand_OBJECTS) +compat_pand_DEPENDENCIES = lib/libbluetooth.la +am__cups_bluetooth_SOURCES_DIST = gdbus/gdbus.h gdbus/mainloop.c \ + gdbus/object.c gdbus/watch.c cups/main.c cups/cups.h \ + cups/sdp.c cups/spp.c cups/hcrp.c +am__objects_2 = gdbus/mainloop.$(OBJEXT) gdbus/object.$(OBJEXT) \ + gdbus/watch.$(OBJEXT) +am_cups_bluetooth_OBJECTS = $(am__objects_2) \ + cups/main.$(OBJEXT) cups/sdp.$(OBJEXT) \ + cups/spp.$(OBJEXT) cups/hcrp.$(OBJEXT) +cups_bluetooth_OBJECTS = $(am_cups_bluetooth_OBJECTS) +cups_bluetooth_DEPENDENCIES = lib/libbluetooth.la +am__sbc_sbcdec_SOURCES_DIST = sbc/sbcdec.c sbc/formats.h +am_sbc_sbcdec_OBJECTS = sbc/sbcdec.$(OBJEXT) +sbc_sbcdec_OBJECTS = $(am_sbc_sbcdec_OBJECTS) +sbc_sbcdec_DEPENDENCIES = sbc/libsbc.la +am__sbc_sbcenc_SOURCES_DIST = sbc/sbcenc.c sbc/formats.h +am_sbc_sbcenc_OBJECTS = sbc/sbcenc.$(OBJEXT) +sbc_sbcenc_OBJECTS = $(am_sbc_sbcenc_OBJECTS) +sbc_sbcenc_DEPENDENCIES = sbc/libsbc.la +sbc_sbcinfo_SOURCES = sbc/sbcinfo.c +sbc_sbcinfo_OBJECTS = sbc/sbcinfo.$(OBJEXT) +sbc_sbcinfo_LDADD = $(LDADD) +sbc_sbctester_SOURCES = sbc/sbctester.c +sbc_sbctester_OBJECTS = sbc/sbctester.$(OBJEXT) +sbc_sbctester_DEPENDENCIES = +am__src_bluetoothd_SOURCES_DIST = gdbus/gdbus.h gdbus/mainloop.c \ + gdbus/object.c gdbus/watch.c plugins/pnat.c plugins/echo.c \ + audio/main.c audio/manager.h audio/manager.c audio/gateway.h \ + audio/gateway.c audio/headset.h audio/headset.c \ + audio/control.h audio/control.c audio/device.h audio/device.c \ + audio/source.h audio/source.c audio/sink.h audio/sink.c \ + audio/a2dp.h audio/a2dp.c audio/avdtp.h audio/avdtp.c \ + audio/ipc.h audio/ipc.c audio/unix.h audio/unix.c \ + audio/telephony.h input/main.c input/manager.h input/manager.c \ + input/server.h input/server.c input/device.h input/device.c \ + input/fakehid.c input/fakehid.h serial/main.c serial/manager.h \ + serial/manager.c serial/proxy.h serial/proxy.c serial/port.h \ + serial/port.c network/main.c network/manager.h \ + network/manager.c network/common.h network/common.c \ + network/server.h network/server.c network/bridge.h \ + network/bridge.c network/connection.h network/connection.c \ + plugins/service.c plugins/hciops.c plugins/hal.c \ + plugins/storage.c src/main.c src/log.h src/log.c \ + src/security.c src/rfkill.c src/hcid.h src/sdpd.h \ + src/sdpd-server.c src/sdpd-request.c src/sdpd-service.c \ + src/sdpd-database.c src/sdp-xml.h src/sdp-xml.c src/btio.h \ + src/btio.c src/textfile.h src/textfile.c src/glib-helper.h \ + src/glib-helper.c src/oui.h src/oui.c src/uinput.h src/ppoll.h \ + src/plugin.h src/plugin.c src/storage.h src/storage.c \ + src/agent.h src/agent.c src/error.h src/error.c src/manager.h \ + src/manager.c src/adapter.h src/adapter.c src/device.h \ + src/device.c src/dbus-common.c src/dbus-common.h \ + src/dbus-hci.h src/dbus-hci.c +am__objects_3 = plugins/pnat.$(OBJEXT) +#am__objects_4 = plugins/echo.$(OBJEXT) +am__objects_5 = audio/main.$(OBJEXT) \ + audio/manager.$(OBJEXT) \ + audio/gateway.$(OBJEXT) \ + audio/headset.$(OBJEXT) \ + audio/control.$(OBJEXT) \ + audio/device.$(OBJEXT) \ + audio/source.$(OBJEXT) audio/sink.$(OBJEXT) \ + audio/a2dp.$(OBJEXT) audio/avdtp.$(OBJEXT) \ + audio/ipc.$(OBJEXT) audio/unix.$(OBJEXT) +am__objects_6 = input/main.$(OBJEXT) \ + input/manager.$(OBJEXT) \ + input/server.$(OBJEXT) \ + input/device.$(OBJEXT) \ + input/fakehid.$(OBJEXT) +am__objects_7 = serial/main.$(OBJEXT) \ + serial/manager.$(OBJEXT) \ + serial/proxy.$(OBJEXT) \ + serial/port.$(OBJEXT) +am__objects_8 = network/main.$(OBJEXT) \ + network/manager.$(OBJEXT) \ + network/common.$(OBJEXT) \ + network/server.$(OBJEXT) \ + network/bridge.$(OBJEXT) \ + network/connection.$(OBJEXT) +am__objects_9 = plugins/service.$(OBJEXT) +am__objects_10 = $(am__objects_3) $(am__objects_4) $(am__objects_5) \ + $(am__objects_6) $(am__objects_7) $(am__objects_8) \ + $(am__objects_9) plugins/hciops.$(OBJEXT) \ + plugins/hal.$(OBJEXT) plugins/storage.$(OBJEXT) +am_src_bluetoothd_OBJECTS = $(am__objects_2) $(am__objects_10) \ + src/main.$(OBJEXT) src/log.$(OBJEXT) src/security.$(OBJEXT) \ + src/rfkill.$(OBJEXT) src/sdpd-server.$(OBJEXT) \ + src/sdpd-request.$(OBJEXT) src/sdpd-service.$(OBJEXT) \ + src/sdpd-database.$(OBJEXT) src/sdp-xml.$(OBJEXT) \ + src/btio.$(OBJEXT) src/textfile.$(OBJEXT) \ + src/glib-helper.$(OBJEXT) src/oui.$(OBJEXT) \ + src/plugin.$(OBJEXT) src/storage.$(OBJEXT) src/agent.$(OBJEXT) \ + src/error.$(OBJEXT) src/manager.$(OBJEXT) \ + src/adapter.$(OBJEXT) src/device.$(OBJEXT) \ + src/dbus-common.$(OBJEXT) src/dbus-hci.$(OBJEXT) +am__objects_11 = audio/telephony.$(OBJEXT) +am__objects_12 = $(am__objects_11) +am__objects_13 = $(am__objects_12) +nodist_src_bluetoothd_OBJECTS = $(am__objects_13) +src_bluetoothd_OBJECTS = $(am_src_bluetoothd_OBJECTS) \ + $(nodist_src_bluetoothd_OBJECTS) +src_bluetoothd_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ + $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ + $(AM_CFLAGS) $(CFLAGS) $(src_bluetoothd_LDFLAGS) $(LDFLAGS) -o \ + $@ +test_agent_SOURCES = test/agent.c +test_agent_OBJECTS = test/agent.$(OBJEXT) +test_agent_DEPENDENCIES = +test_attest_SOURCES = test/attest.c +test_attest_OBJECTS = test/attest.$(OBJEXT) +test_attest_DEPENDENCIES = lib/libbluetooth.la +test_avtest_SOURCES = test/avtest.c +test_avtest_OBJECTS = test/avtest.$(OBJEXT) +test_avtest_DEPENDENCIES = lib/libbluetooth.la +am__test_bdaddr_SOURCES_DIST = test/bdaddr.c src/oui.h src/oui.c +am_test_bdaddr_OBJECTS = test/bdaddr.$(OBJEXT) \ + src/oui.$(OBJEXT) +test_bdaddr_OBJECTS = $(am_test_bdaddr_OBJECTS) +test_bdaddr_DEPENDENCIES = lib/libbluetooth.la +am__test_btiotest_SOURCES_DIST = test/btiotest.c src/btio.h src/btio.c +am_test_btiotest_OBJECTS = test/btiotest.$(OBJEXT) \ + src/btio.$(OBJEXT) +test_btiotest_OBJECTS = $(am_test_btiotest_OBJECTS) +test_btiotest_DEPENDENCIES = lib/libbluetooth.la +test_gaptest_SOURCES = test/gaptest.c +test_gaptest_OBJECTS = test/gaptest.$(OBJEXT) +test_gaptest_DEPENDENCIES = +test_hciemu_SOURCES = test/hciemu.c +test_hciemu_OBJECTS = test/hciemu.$(OBJEXT) +test_hciemu_DEPENDENCIES = lib/libbluetooth.la +test_hstest_SOURCES = test/hstest.c +test_hstest_OBJECTS = test/hstest.$(OBJEXT) +test_hstest_DEPENDENCIES = lib/libbluetooth.la +am__test_ipctest_SOURCES_DIST = test/ipctest.c audio/ipc.h audio/ipc.c +am_test_ipctest_OBJECTS = test/ipctest.$(OBJEXT) \ + audio/ipc.$(OBJEXT) +test_ipctest_OBJECTS = $(am_test_ipctest_OBJECTS) +test_ipctest_DEPENDENCIES = sbc/libsbc.la +test_l2test_SOURCES = test/l2test.c +test_l2test_OBJECTS = test/l2test.$(OBJEXT) +test_l2test_DEPENDENCIES = lib/libbluetooth.la +test_lmptest_SOURCES = test/lmptest.c +test_lmptest_OBJECTS = test/lmptest.$(OBJEXT) +test_lmptest_DEPENDENCIES = lib/libbluetooth.la +test_rctest_SOURCES = test/rctest.c +test_rctest_OBJECTS = test/rctest.$(OBJEXT) +test_rctest_DEPENDENCIES = lib/libbluetooth.la +test_scotest_SOURCES = test/scotest.c +test_scotest_OBJECTS = test/scotest.$(OBJEXT) +test_scotest_DEPENDENCIES = lib/libbluetooth.la +test_sdptest_SOURCES = test/sdptest.c +test_sdptest_OBJECTS = test/sdptest.$(OBJEXT) +test_sdptest_DEPENDENCIES = lib/libbluetooth.la +am__test_test_textfile_SOURCES_DIST = test/test-textfile.c \ + src/textfile.h src/textfile.c +am_test_test_textfile_OBJECTS = \ + test/test-textfile.$(OBJEXT) src/textfile.$(OBJEXT) +test_test_textfile_OBJECTS = $(am_test_test_textfile_OBJECTS) +test_test_textfile_LDADD = $(LDADD) +tools_avctrl_SOURCES = tools/avctrl.c +tools_avctrl_OBJECTS = tools/avctrl.$(OBJEXT) +tools_avctrl_DEPENDENCIES = +tools_avinfo_SOURCES = tools/avinfo.c +tools_avinfo_OBJECTS = tools/avinfo.$(OBJEXT) +tools_avinfo_DEPENDENCIES = lib/libbluetooth.la +am__tools_bccmd_SOURCES_DIST = tools/bccmd.c tools/csr.h tools/csr.c \ + tools/csr_hci.c tools/csr_h4.c tools/csr_3wire.c \ + tools/csr_bcsp.c tools/ubcsp.h tools/ubcsp.c tools/csr_usb.c +am__objects_14 = tools/csr_usb.$(OBJEXT) +am_tools_bccmd_OBJECTS = tools/bccmd.$(OBJEXT) \ + tools/csr.$(OBJEXT) tools/csr_hci.$(OBJEXT) \ + tools/csr_h4.$(OBJEXT) tools/csr_3wire.$(OBJEXT) \ + tools/csr_bcsp.$(OBJEXT) tools/ubcsp.$(OBJEXT) \ + $(am__objects_14) +tools_bccmd_OBJECTS = $(am_tools_bccmd_OBJECTS) +am__DEPENDENCIES_1 = +tools_bccmd_DEPENDENCIES = lib/libbluetooth.la \ + $(am__DEPENDENCIES_1) +tools_ciptool_SOURCES = tools/ciptool.c +tools_ciptool_OBJECTS = tools/ciptool.$(OBJEXT) +tools_ciptool_DEPENDENCIES = lib/libbluetooth.la +tools_dfubabel_SOURCES = tools/dfubabel.c +tools_dfubabel_OBJECTS = tools/dfubabel.$(OBJEXT) +tools_dfubabel_DEPENDENCIES = +am__tools_dfutool_SOURCES_DIST = tools/dfutool.c tools/dfu.h \ + tools/dfu.c +am_tools_dfutool_OBJECTS = tools/dfutool.$(OBJEXT) \ + tools/dfu.$(OBJEXT) +tools_dfutool_OBJECTS = $(am_tools_dfutool_OBJECTS) +tools_dfutool_DEPENDENCIES = +am__tools_hciattach_SOURCES_DIST = tools/hciattach.c tools/hciattach.h \ + tools/hciattach_st.c tools/hciattach_ti.c \ + tools/hciattach_tialt.c +am_tools_hciattach_OBJECTS = tools/hciattach.$(OBJEXT) \ + tools/hciattach_st.$(OBJEXT) \ + tools/hciattach_ti.$(OBJEXT) \ + tools/hciattach_tialt.$(OBJEXT) +tools_hciattach_OBJECTS = $(am_tools_hciattach_OBJECTS) +tools_hciattach_DEPENDENCIES = lib/libbluetooth.la +am__tools_hciconfig_SOURCES_DIST = tools/hciconfig.c tools/csr.h \ + tools/csr.c src/textfile.h src/textfile.c +am_tools_hciconfig_OBJECTS = tools/hciconfig.$(OBJEXT) \ + tools/csr.$(OBJEXT) src/textfile.$(OBJEXT) +tools_hciconfig_OBJECTS = $(am_tools_hciconfig_OBJECTS) +tools_hciconfig_DEPENDENCIES = lib/libbluetooth.la +tools_hcieventmask_SOURCES = tools/hcieventmask.c +tools_hcieventmask_OBJECTS = tools/hcieventmask.$(OBJEXT) +tools_hcieventmask_DEPENDENCIES = lib/libbluetooth.la +tools_hcisecfilter_SOURCES = tools/hcisecfilter.c +tools_hcisecfilter_OBJECTS = tools/hcisecfilter.$(OBJEXT) +tools_hcisecfilter_LDADD = $(LDADD) +am__tools_hcitool_SOURCES_DIST = tools/hcitool.c src/oui.h src/oui.c \ + src/textfile.h src/textfile.c +am_tools_hcitool_OBJECTS = tools/hcitool.$(OBJEXT) \ + src/oui.$(OBJEXT) src/textfile.$(OBJEXT) +tools_hcitool_OBJECTS = $(am_tools_hcitool_OBJECTS) +tools_hcitool_DEPENDENCIES = lib/libbluetooth.la +tools_hid2hci_SOURCES = tools/hid2hci.c +tools_hid2hci_OBJECTS = tools/hid2hci.$(OBJEXT) +tools_hid2hci_DEPENDENCIES = +tools_l2ping_SOURCES = tools/l2ping.c +tools_l2ping_OBJECTS = tools/l2ping.$(OBJEXT) +tools_l2ping_DEPENDENCIES = lib/libbluetooth.la +tools_ppporc_SOURCES = tools/ppporc.c +tools_ppporc_OBJECTS = tools/ppporc.$(OBJEXT) +tools_ppporc_DEPENDENCIES = lib/libbluetooth.la +am__tools_rfcomm_SOURCES_DIST = tools/main.c tools/parser.y \ + tools/lexer.l tools/kword.h tools/kword.c +am_tools_rfcomm_OBJECTS = tools/main.$(OBJEXT) \ + tools/parser.$(OBJEXT) tools/lexer.$(OBJEXT) \ + tools/kword.$(OBJEXT) +am__EXTRA_tools_rfcomm_SOURCES_DIST = tools/parser.h tools/parser.c \ + tools/lexer.c +tools_rfcomm_OBJECTS = $(am_tools_rfcomm_OBJECTS) +tools_rfcomm_DEPENDENCIES = lib/libbluetooth.la +am__tools_sdptool_SOURCES_DIST = tools/sdptool.c src/sdp-xml.h \ + src/sdp-xml.c +am_tools_sdptool_OBJECTS = tools/sdptool.$(OBJEXT) \ + src/sdp-xml.$(OBJEXT) +tools_sdptool_OBJECTS = $(am_tools_sdptool_OBJECTS) +tools_sdptool_DEPENDENCIES = lib/libbluetooth.la +am__tracer_hcitrace_SOURCES_DIST = tracer/main.c +am_tracer_hcitrace_OBJECTS = tracer/main.$(OBJEXT) +tracer_hcitrace_OBJECTS = $(am_tracer_hcitrace_OBJECTS) +am__dist_udev_SCRIPTS_DIST = scripts/bluetooth_serial +SCRIPTS = $(dist_udev_SCRIPTS) +DEFAULT_INCLUDES = -I. +depcomp = $(SHELL) $(top_srcdir)/depcomp +am__depfiles_maybe = depfiles +am__mv = mv -f +COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ + $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) +LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \ + $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \ + $(AM_CFLAGS) $(CFLAGS) +AM_V_CC = $(am__v_CC_$(V)) +am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY)) +am__v_CC_0 = @echo " CC " $@; +CCLD = $(CC) +LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ + $(AM_LDFLAGS) $(LDFLAGS) -o $@ +AM_V_CCLD = $(am__v_CCLD_$(V)) +am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY)) +am__v_CCLD_0 = @echo " CCLD " $@; +am__skiplex = test -f $@ || +LEXCOMPILE = $(LEX) $(LFLAGS) $(AM_LFLAGS) +LTLEXCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(LEX) $(LFLAGS) $(AM_LFLAGS) +AM_V_LEX = $(am__v_LEX_$(V)) +am__v_LEX_ = $(am__v_LEX_$(AM_DEFAULT_VERBOSITY)) +am__v_LEX_0 = @echo " LEX " $@; +YLWRAP = $(top_srcdir)/ylwrap +am__skipyacc = test -f $@ || +YACCCOMPILE = $(YACC) $(YFLAGS) $(AM_YFLAGS) +LTYACCCOMPILE = $(LIBTOOL) $(AM_V_lt) $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=compile $(YACC) $(YFLAGS) $(AM_YFLAGS) +AM_V_YACC = $(am__v_YACC_$(V)) +am__v_YACC_ = $(am__v_YACC_$(AM_DEFAULT_VERBOSITY)) +am__v_YACC_0 = @echo " YACC " $@; +AM_V_GEN = $(am__v_GEN_$(V)) +am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY)) +am__v_GEN_0 = @echo " GEN " $@; +SOURCES = $(audio_libtelephony_a_SOURCES) \ + $(audio_libasound_module_ctl_bluetooth_la_SOURCES) \ + $(audio_libasound_module_pcm_bluetooth_la_SOURCES) \ + $(audio_libgstbluetooth_la_SOURCES) \ + $(lib_libbluetooth_la_SOURCES) plugins/netlink.c \ + $(sbc_libsbc_la_SOURCES) $(compat_dund_SOURCES) \ + $(compat_hidd_SOURCES) $(compat_pand_SOURCES) \ + $(cups_bluetooth_SOURCES) $(sbc_sbcdec_SOURCES) \ + $(sbc_sbcenc_SOURCES) sbc/sbcinfo.c sbc/sbctester.c \ + $(src_bluetoothd_SOURCES) $(nodist_src_bluetoothd_SOURCES) \ + test/agent.c test/attest.c test/avtest.c \ + $(test_bdaddr_SOURCES) $(test_btiotest_SOURCES) test/gaptest.c \ + test/hciemu.c test/hstest.c $(test_ipctest_SOURCES) \ + test/l2test.c test/lmptest.c test/rctest.c test/scotest.c \ + test/sdptest.c $(test_test_textfile_SOURCES) tools/avctrl.c \ + tools/avinfo.c $(tools_bccmd_SOURCES) tools/ciptool.c \ + tools/dfubabel.c $(tools_dfutool_SOURCES) \ + $(tools_hciattach_SOURCES) $(tools_hciconfig_SOURCES) \ + tools/hcieventmask.c tools/hcisecfilter.c \ + $(tools_hcitool_SOURCES) tools/hid2hci.c tools/l2ping.c \ + tools/ppporc.c $(tools_rfcomm_SOURCES) \ + $(EXTRA_tools_rfcomm_SOURCES) $(tools_sdptool_SOURCES) \ + $(tracer_hcitrace_SOURCES) +DIST_SOURCES = $(am__audio_libtelephony_a_SOURCES_DIST) \ + $(am__audio_libasound_module_ctl_bluetooth_la_SOURCES_DIST) \ + $(am__audio_libasound_module_pcm_bluetooth_la_SOURCES_DIST) \ + $(am__audio_libgstbluetooth_la_SOURCES_DIST) \ + $(lib_libbluetooth_la_SOURCES) plugins/netlink.c \ + $(am__sbc_libsbc_la_SOURCES_DIST) \ + $(am__compat_dund_SOURCES_DIST) \ + $(am__compat_hidd_SOURCES_DIST) \ + $(am__compat_pand_SOURCES_DIST) \ + $(am__cups_bluetooth_SOURCES_DIST) \ + $(am__sbc_sbcdec_SOURCES_DIST) $(am__sbc_sbcenc_SOURCES_DIST) \ + sbc/sbcinfo.c sbc/sbctester.c \ + $(am__src_bluetoothd_SOURCES_DIST) test/agent.c test/attest.c \ + test/avtest.c $(am__test_bdaddr_SOURCES_DIST) \ + $(am__test_btiotest_SOURCES_DIST) test/gaptest.c test/hciemu.c \ + test/hstest.c $(am__test_ipctest_SOURCES_DIST) test/l2test.c \ + test/lmptest.c test/rctest.c test/scotest.c test/sdptest.c \ + $(am__test_test_textfile_SOURCES_DIST) tools/avctrl.c \ + tools/avinfo.c $(am__tools_bccmd_SOURCES_DIST) tools/ciptool.c \ + tools/dfubabel.c $(am__tools_dfutool_SOURCES_DIST) \ + $(am__tools_hciattach_SOURCES_DIST) \ + $(am__tools_hciconfig_SOURCES_DIST) tools/hcieventmask.c \ + tools/hcisecfilter.c $(am__tools_hcitool_SOURCES_DIST) \ + tools/hid2hci.c tools/l2ping.c tools/ppporc.c \ + $(am__tools_rfcomm_SOURCES_DIST) \ + $(am__EXTRA_tools_rfcomm_SOURCES_DIST) \ + $(am__tools_sdptool_SOURCES_DIST) \ + $(am__tracer_hcitrace_SOURCES_DIST) +man1dir = $(mandir)/man1 +man8dir = $(mandir)/man8 +NROFF = nroff +MANS = $(dist_man_MANS) $(man_MANS) +DATA = $(alsaconf_DATA) $(conf_DATA) $(dbus_DATA) $(pkgconfig_DATA) \ + $(rules_DATA) $(state_DATA) +HEADERS = $(include_HEADERS) +ETAGS = etags +CTAGS = ctags +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) +distdir = $(PACKAGE)-$(VERSION) +top_distdir = $(distdir) +am__remove_distdir = \ + { test ! -d "$(distdir)" \ + || { find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ + && rm -fr "$(distdir)"; }; } +DIST_ARCHIVES = $(distdir).tar.gz +GZIP_ENV = --best +distuninstallcheck_listfiles = find . -type f -print +distcleancheck_listfiles = find . -type f -print +ACLOCAL = ${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run aclocal-1.11 +ALSA_CFLAGS = -I/usr/include/alsa +ALSA_LIBS = -lasound -lrt +AMTAR = ${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run tar +AM_DEFAULT_VERBOSITY = 1 +AR = ar +AUTOCONF = ${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run autoconf +AUTOHEADER = ${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run autoheader +AUTOMAKE = ${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run automake-1.11 +AWK = gawk +CAPNG_CFLAGS = +CAPNG_LIBS = -lcap-ng +CC = gcc +CCDEPMODE = depmode=none +CFLAGS = -g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -fPIC -g +CONFIGDIR = /etc/bluetooth +CPP = gcc -E +CPPFLAGS = +CYGPATH_W = echo +DBUS_CFLAGS = -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include +DBUS_LIBS = -ldbus-1 -lpthread -lrt +DEFS = -DHAVE_CONFIG_H +DEPDIR = .deps +DSYMUTIL = +DUMPBIN = +ECHO_C = +ECHO_N = -n +ECHO_T = +EGREP = /bin/grep -E +EXEEXT = +FGREP = /bin/grep -F +GLIB_CFLAGS = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include +GLIB_LIBS = -lglib-2.0 +GREP = /bin/grep +GSTREAMER_CFLAGS = -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 +GSTREAMER_LIBS = -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0 +GSTREAMER_PLUGINSDIR = /usr/lib/gstreamer-0.10 +INSTALL = /usr/bin/install -c +INSTALL_DATA = ${INSTALL} -m 644 +INSTALL_PROGRAM = ${INSTALL} +INSTALL_SCRIPT = ${INSTALL} +INSTALL_STRIP_PROGRAM = $(install_sh) -c -s +LD = /usr/bin/ld -m elf_x86_64 +LDFLAGS = -pie +LEX = flex +LEXLIB = -lfl +LEX_OUTPUT_ROOT = lex.yy +LIBOBJS = +LIBS = +LIBTOOL = $(SHELL) $(top_builddir)/libtool +LIPO = +LN_S = ln -s +LTLIBOBJS = +MAINT = # +MAKEINFO = ${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run makeinfo +MKDIR_P = /bin/mkdir -p +NETLINK_CFLAGS = +NETLINK_LIBS = -lnl +NM = /usr/bin/nm -B +NMEDIT = +OBJDUMP = objdump +OBJEXT = o +OTOOL = +OTOOL64 = +PACKAGE = bluez +PACKAGE_BUGREPORT = +PACKAGE_NAME = bluez +PACKAGE_STRING = bluez 4.66 +PACKAGE_TARNAME = bluez +PACKAGE_VERSION = 4.66 +PATH_SEPARATOR = : +PKG_CONFIG = /usr/bin/pkg-config +RANLIB = ranlib +SED = /bin/sed +SET_MAKE = +SHELL = /bin/sh +SNDFILE_CFLAGS = +SNDFILE_LIBS = -lsndfile +STORAGEDIR = /var/lib/bluetooth +STRIP = strip +TELEPHONY_DRIVER = telephony-dummy.c +UDEV_DATADIR = /lib/udev/rules.d +USB_CFLAGS = +USB_LIBS = -lusb +VERSION = 4.66 +YACC = bison -y +YFLAGS = +abs_builddir = /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66 +abs_srcdir = /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66 +abs_top_builddir = /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66 +abs_top_srcdir = /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66 +ac_ct_CC = gcc +ac_ct_DUMPBIN = +am__include = include +am__leading_dot = . +am__quote = +am__tar = ${AMTAR} chof - "$$tardir" +am__untar = ${AMTAR} xf - +bindir = ${exec_prefix}/bin +build = x86_64-pc-linux-gnu +build_alias = x86_64-linux-gnu +build_cpu = x86_64 +build_os = linux-gnu +build_vendor = pc +builddir = . +datadir = ${datarootdir} +datarootdir = ${prefix}/share +docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} +dvidir = ${docdir} +exec_prefix = ${prefix} +host = x86_64-pc-linux-gnu +host_alias = +host_cpu = x86_64 +host_os = linux-gnu +host_vendor = pc +htmldir = ${docdir} +includedir = ${prefix}/include/bluetooth +infodir = ${prefix}/share/info +install_sh = ${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/install-sh +libdir = /usr/lib +libexecdir = ${prefix}/lib/bluez +localedir = ${datarootdir}/locale +localstatedir = /var +lt_ECHO = echo +mandir = ${prefix}/share/man +mkdir_p = /bin/mkdir -p +oldincludedir = /usr/include +pdfdir = ${docdir} +prefix = /usr +program_transform_name = s,x,x, +psdir = ${docdir} +sbindir = ${exec_prefix}/sbin +sharedstatedir = ${prefix}/com +srcdir = . +sysconfdir = /etc +target_alias = +top_build_prefix = +top_builddir = . +top_srcdir = . +AM_MAKEFLAGS = --no-print-directory +lib_LTLIBRARIES = lib/libbluetooth.la +noinst_LTLIBRARIES = $(am__append_1) +dist_man_MANS = $(am__append_24) $(am__append_30) $(am__append_33) \ + $(am__append_36) $(am__append_42) $(am__append_46) \ + $(am__append_49) $(am__append_52) +dist_noinst_MANS = +CLEANFILES = $(local_headers) src/bluetooth.ver src/bluetooth.exp \ + $(builtin_files) tools/lexer.c tools/parser.c tools/parser.h \ + $(rules_DATA) +EXTRA_DIST = src/genbuiltin src/bluetooth.conf src/main.conf \ + network/network.conf input/input.conf serial/serial.conf \ + audio/audio.conf audio/telephony-dummy.c \ + audio/telephony-maemo5.c audio/telephony-ofono.c \ + audio/telephony-maemo6.c audio/bluetooth.conf $(am__append_25) \ + tools/rfcomm.conf $(am__append_31) $(am__append_34) \ + $(am__append_37) tools/dfubabel.1 tools/avctrl.8 \ + $(am__append_43) $(am__append_44) test/apitest test/hsplay \ + test/hsmicro test/dbusdef.py test/monitor-bluetooth \ + test/list-devices test/test-discovery test/test-manager \ + test/test-adapter test/test-device test/test-service \ + test/test-serial test/test-telephony test/test-network \ + test/simple-agent test/simple-service test/test-audio \ + test/test-input test/service-record.dtd test/service-did.xml \ + test/service-spp.xml test/service-opp.xml test/service-ftp.xml \ + $(am__append_47) $(am__append_50) $(am__append_53) \ + scripts/bluetooth.rules scripts/bluetooth-hid2hci.rules \ + scripts/bluetooth-serial.rules doc/manager-api.txt \ + doc/adapter-api.txt doc/device-api.txt doc/service-api.txt \ + doc/agent-api.txt doc/serial-api.txt doc/network-api.txt \ + doc/input-api.txt doc/audio-api.txt doc/control-api.txt +include_HEADERS = $(lib_headers) +dbusdir = $(sysconfdir)/dbus-1/system.d +dbus_DATA = src/bluetooth.conf +confdir = $(sysconfdir)/bluetooth +conf_DATA = src/main.conf $(am__append_20) +statedir = $(localstatedir)/lib/bluetooth +state_DATA = +plugindir = $(libdir)/bluetooth/plugins +plugin_LTLIBRARIES = $(am__append_4) +lib_headers = lib/bluetooth.h lib/hci.h lib/hci_lib.h \ + lib/sco.h lib/l2cap.h lib/sdp.h lib/sdp_lib.h \ + lib/rfcomm.h lib/bnep.h lib/cmtp.h lib/hidp.h + +local_headers = $(foreach file,$(lib_headers), lib/bluetooth/$(notdir $(file))) +lib_libbluetooth_la_SOURCES = $(lib_headers) \ + lib/bluetooth.c lib/hci.c lib/sdp.c + +lib_libbluetooth_la_LDFLAGS = -version-info 11:0:8 +lib_libbluetooth_la_DEPENDENCIES = $(local_headers) +sbc_libsbc_la_SOURCES = sbc/sbc.h sbc/sbc.c sbc/sbc_math.h sbc/sbc_tables.h \ + sbc/sbc_primitives.h sbc/sbc_primitives.c \ + sbc/sbc_primitives_mmx.h sbc/sbc_primitives_mmx.c \ + sbc/sbc_primitives_neon.h sbc/sbc_primitives_neon.c + +sbc_libsbc_la_CFLAGS = -finline-functions -fgcse-after-reload \ + -funswitch-loops -funroll-loops + +sbc_sbcdec_SOURCES = sbc/sbcdec.c sbc/formats.h +sbc_sbcdec_LDADD = sbc/libsbc.la +sbc_sbcenc_SOURCES = sbc/sbcenc.c sbc/formats.h +sbc_sbcenc_LDADD = sbc/libsbc.la +sbc_sbctester_LDADD = -lsndfile -lm +sbc_sbctest_CFLAGS = +plugins_netlink_la_LIBADD = -lnl +plugins_netlink_la_LDFLAGS = -module -avoid-version -no-undefined +plugins_netlink_la_CFLAGS = -fvisibility=hidden -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include \ + -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include + +gdbus_sources = gdbus/gdbus.h gdbus/mainloop.c gdbus/object.c gdbus/watch.c +builtin_modules = $(am__append_5) $(am__append_7) $(am__append_9) \ + $(am__append_12) $(am__append_14) $(am__append_16) \ + $(am__append_18) hciops hal storage +builtin_sources = $(am__append_6) $(am__append_8) $(am__append_10) \ + $(am__append_13) $(am__append_15) $(am__append_17) \ + $(am__append_19) plugins/hciops.c plugins/hal.c \ + plugins/storage.c +builtin_nodist = $(am__append_11) +noinst_LIBRARIES = audio/libtelephony.a +audio_libtelephony_a_SOURCES = audio/telephony.h audio/telephony-dummy.c \ + audio/telephony-maemo5.c audio/telephony-ofono.c \ + audio/telephony-maemo6.c + +src_bluetoothd_SOURCES = $(gdbus_sources) $(builtin_sources) \ + src/main.c src/log.h src/log.c \ + src/security.c src/rfkill.c src/hcid.h src/sdpd.h \ + src/sdpd-server.c src/sdpd-request.c \ + src/sdpd-service.c src/sdpd-database.c \ + src/sdp-xml.h src/sdp-xml.c src/btio.h src/btio.c \ + src/textfile.h src/textfile.c \ + src/glib-helper.h src/glib-helper.c \ + src/oui.h src/oui.c src/uinput.h src/ppoll.h \ + src/plugin.h src/plugin.c \ + src/storage.h src/storage.c \ + src/agent.h src/agent.c \ + src/error.h src/error.c \ + src/manager.h src/manager.c \ + src/adapter.h src/adapter.c \ + src/device.h src/device.c \ + src/dbus-common.c src/dbus-common.h \ + src/dbus-hci.h src/dbus-hci.c + +src_bluetoothd_LDADD = lib/libbluetooth.la -lglib-2.0 -ldbus-1 -lpthread -lrt \ + -lcap-ng -ldl + +src_bluetoothd_LDFLAGS = -Wl,--export-dynamic \ + -Wl,--version-script=src/bluetooth.ver + +src_bluetoothd_DEPENDENCIES = src/bluetooth.ver lib/libbluetooth.la +builtin_files = src/builtin.h $(builtin_nodist) +nodist_src_bluetoothd_SOURCES = $(builtin_files) +man_MANS = src/bluetoothd.8 +alsadir = $(libdir)/alsa-lib +alsa_LTLIBRARIES = audio/libasound_module_pcm_bluetooth.la \ + audio/libasound_module_ctl_bluetooth.la + +audio_libasound_module_pcm_bluetooth_la_SOURCES = audio/pcm_bluetooth.c \ + audio/rtp.h audio/ipc.h audio/ipc.c + +audio_libasound_module_pcm_bluetooth_la_LDFLAGS = -module -avoid-version #-export-symbols-regex [_]*snd_pcm_.* +audio_libasound_module_pcm_bluetooth_la_LIBADD = sbc/libsbc.la \ + lib/libbluetooth.la -lasound -lrt + +audio_libasound_module_pcm_bluetooth_la_CFLAGS = -I/usr/include/alsa +audio_libasound_module_ctl_bluetooth_la_SOURCES = audio/ctl_bluetooth.c \ + audio/rtp.h audio/ipc.h audio/ipc.c + +audio_libasound_module_ctl_bluetooth_la_LDFLAGS = -module -avoid-version #-export-symbols-regex [_]*snd_ctl_.* +audio_libasound_module_ctl_bluetooth_la_LIBADD = lib/libbluetooth.la -lasound -lrt +audio_libasound_module_ctl_bluetooth_la_CFLAGS = -I/usr/include/alsa +alsaconfdir = $(sysconfdir)/alsa +alsaconf_DATA = audio/bluetooth.conf +gstreamerdir = $(libdir)/gstreamer-0.10 +gstreamer_LTLIBRARIES = audio/libgstbluetooth.la +audio_libgstbluetooth_la_SOURCES = audio/gstbluetooth.c audio/gstpragma.h \ + audio/gstsbcenc.h audio/gstsbcenc.c \ + audio/gstsbcdec.h audio/gstsbcdec.c \ + audio/gstsbcparse.h audio/gstsbcparse.c \ + audio/gstavdtpsink.h audio/gstavdtpsink.c \ + audio/gsta2dpsink.h audio/gsta2dpsink.c \ + audio/gstsbcutil.h audio/gstsbcutil.c \ + audio/gstrtpsbcpay.h audio/gstrtpsbcpay.c \ + audio/rtp.h audio/ipc.h audio/ipc.c + +audio_libgstbluetooth_la_LDFLAGS = -module -avoid-version +audio_libgstbluetooth_la_LIBADD = sbc/libsbc.la lib/libbluetooth.la \ + -pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0 -lgstaudio-0.10 -lgstrtp-0.10 + +audio_libgstbluetooth_la_CFLAGS = -fvisibility=hidden -fno-strict-aliasing \ + $(AM_CFLAGS) -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 + +tools_rfcomm_SOURCES = tools/main.c tools/parser.y tools/lexer.l \ + tools/kword.h tools/kword.c + +EXTRA_tools_rfcomm_SOURCES = tools/parser.h tools/parser.c \ + tools/lexer.c + +tools_rfcomm_LDADD = lib/libbluetooth.la +tools_l2ping_LDADD = lib/libbluetooth.la +tools_hciattach_SOURCES = tools/hciattach.c tools/hciattach.h \ + tools/hciattach_st.c \ + tools/hciattach_ti.c \ + tools/hciattach_tialt.c + +tools_hciattach_LDADD = lib/libbluetooth.la +tools_hciconfig_SOURCES = tools/hciconfig.c tools/csr.h tools/csr.c \ + src/textfile.h src/textfile.c + +tools_hciconfig_LDADD = lib/libbluetooth.la +tools_hcitool_SOURCES = tools/hcitool.c src/oui.h src/oui.c \ + src/textfile.h src/textfile.c + +tools_hcitool_LDADD = lib/libbluetooth.la +tools_sdptool_SOURCES = tools/sdptool.c src/sdp-xml.h src/sdp-xml.c +tools_sdptool_LDADD = lib/libbluetooth.la +tools_ciptool_LDADD = lib/libbluetooth.la +tools_avinfo_LDADD = lib/libbluetooth.la +tools_ppporc_LDADD = lib/libbluetooth.la +tools_hcieventmask_LDADD = lib/libbluetooth.la +tracer_hcitrace_SOURCES = tracer/main.c +tracer_hcitrace_LDADD = lib/libbluetooth.la \ + -lglib-2.0 -ldbus-1 -lpthread -lrt -lcap-ng + +tracer_hcitrace_DEPENDENCIES = lib/libbluetooth.la +tools_bccmd_SOURCES = tools/bccmd.c tools/csr.h \ + tools/csr.c tools/csr_hci.c tools/csr_h4.c \ + tools/csr_3wire.c tools/csr_bcsp.c tools/ubcsp.h \ + tools/ubcsp.c $(am__append_28) +tools_bccmd_LDADD = lib/libbluetooth.la $(am__append_29) +tools_hid2hci_LDADD = -lusb +tools_dfutool_SOURCES = tools/dfutool.c tools/dfu.h tools/dfu.c +tools_dfutool_LDADD = -lusb +tools_dfubabel_LDADD = -lusb +tools_avctrl_LDADD = -lusb +cupsdir = $(libdir)/cups/backend +cups_bluetooth_SOURCES = $(gdbus_sources) cups/main.c cups/cups.h \ + cups/sdp.c cups/spp.c cups/hcrp.c + +cups_bluetooth_LDADD = -lglib-2.0 -ldbus-1 -lpthread -lrt lib/libbluetooth.la +test_hciemu_LDADD = -lglib-2.0 lib/libbluetooth.la +test_l2test_LDADD = lib/libbluetooth.la +test_rctest_LDADD = lib/libbluetooth.la +test_gaptest_LDADD = -ldbus-1 -lpthread -lrt +test_sdptest_LDADD = lib/libbluetooth.la +test_scotest_LDADD = lib/libbluetooth.la +test_attest_LDADD = lib/libbluetooth.la +test_hstest_LDADD = lib/libbluetooth.la +test_avtest_LDADD = lib/libbluetooth.la +test_lmptest_LDADD = lib/libbluetooth.la +test_ipctest_SOURCES = test/ipctest.c audio/ipc.h audio/ipc.c +test_ipctest_LDADD = -lglib-2.0 sbc/libsbc.la +test_bdaddr_SOURCES = test/bdaddr.c src/oui.h src/oui.c +test_bdaddr_LDADD = lib/libbluetooth.la +test_agent_LDADD = -ldbus-1 -lpthread -lrt +test_btiotest_SOURCES = test/btiotest.c src/btio.h src/btio.c +test_btiotest_LDADD = -lglib-2.0 lib/libbluetooth.la +test_test_textfile_SOURCES = test/test-textfile.c src/textfile.h src/textfile.c +compat_hidd_SOURCES = compat/hidd.c compat/hidd.h src/uinput.h \ + compat/sdp.h compat/sdp.c compat/fakehid.c \ + src/textfile.h src/textfile.c + +compat_hidd_LDADD = -lm lib/libbluetooth.la +compat_pand_SOURCES = compat/pand.c compat/pand.h \ + compat/bnep.c compat/sdp.h compat/sdp.c \ + src/textfile.h src/textfile.c + +compat_pand_LDADD = lib/libbluetooth.la +compat_dund_SOURCES = compat/dund.c compat/dund.h compat/lib.h \ + compat/sdp.h compat/sdp.c compat/dun.c compat/msdun.c \ + src/textfile.h src/textfile.c + +compat_dund_LDADD = lib/libbluetooth.la +rulesdir = /lib/udev/rules.d +udev_files = scripts/bluetooth.rules $(am__append_54) \ + $(am__append_55) +rules_DATA = $(foreach file,$(udev_files), scripts/97-$(notdir $(file))) +udevdir = $(libexecdir)/udev +dist_udev_SCRIPTS = scripts/bluetooth_serial +AM_YFLAGS = -d +AM_CFLAGS = -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include \ + -DBLUETOOTH_PLUGIN_BUILTIN -DPLUGINDIR=\""$(plugindir)"\" + +INCLUDES = -I$(builddir)/lib -I$(builddir)/src -I$(srcdir)/src \ + -I$(srcdir)/audio -I$(srcdir)/sbc -I$(srcdir)/gdbus + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = bluez.pc +DISTCHECK_CONFIGURE_FLAGS = --disable-udevrules +DISTCLEANFILES = $(pkgconfig_DATA) +MAINTAINERCLEANFILES = Makefile.in \ + aclocal.m4 configure config.h.in config.sub config.guess \ + ltmain.sh depcomp compile missing install-sh mkinstalldirs ylwrap + +all: config.h + $(MAKE) $(AM_MAKEFLAGS) all-am + +.SUFFIXES: +.SUFFIXES: .c .l .lo .o .obj .y +am--refresh: + @: +$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(srcdir)/Makefile.tools $(am__configure_deps) + @for dep in $?; do \ + case '$(am__configure_deps)' in \ + *$$dep*) \ + echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ + && exit 0; \ + exit 1;; \ + esac; \ + done; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + $(am__cd) $(top_srcdir) && \ + $(AUTOMAKE) --foreign Makefile +.PRECIOUS: Makefile +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status + @case '$?' in \ + *config.status*) \ + echo ' $(SHELL) ./config.status'; \ + $(SHELL) ./config.status;; \ + *) \ + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \ + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \ + esac; + +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck + +$(top_srcdir)/configure: # $(am__configure_deps) + $(am__cd) $(srcdir) && $(AUTOCONF) +$(ACLOCAL_M4): # $(am__aclocal_m4_deps) + $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) +$(am__aclocal_m4_deps): + +config.h: stamp-h1 + @if test ! -f $@; then \ + rm -f stamp-h1; \ + $(MAKE) $(AM_MAKEFLAGS) stamp-h1; \ + else :; fi + +stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status + @rm -f stamp-h1 + cd $(top_builddir) && $(SHELL) ./config.status config.h +$(srcdir)/config.h.in: # $(am__configure_deps) + ($(am__cd) $(top_srcdir) && $(AUTOHEADER)) + rm -f stamp-h1 + touch $@ + +distclean-hdr: + -rm -f config.h stamp-h1 +scripts/bluetooth.rules: $(top_builddir)/config.status $(top_srcdir)/scripts/bluetooth.rules.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +doc/version.xml: $(top_builddir)/config.status $(top_srcdir)/doc/version.xml.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +src/bluetoothd.8: $(top_builddir)/config.status $(top_srcdir)/src/bluetoothd.8.in + cd $(top_builddir) && $(SHELL) ./config.status $@ +bluez.pc: $(top_builddir)/config.status $(srcdir)/bluez.pc.in + cd $(top_builddir) && $(SHELL) ./config.status $@ + +clean-noinstLIBRARIES: + -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) +audio/$(am__dirstamp): + @$(MKDIR_P) audio + @: > audio/$(am__dirstamp) +audio/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) audio/$(DEPDIR) + @: > audio/$(DEPDIR)/$(am__dirstamp) +audio/telephony-dummy.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/telephony-maemo5.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/telephony-ofono.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/telephony-maemo6.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/libtelephony.a: $(audio_libtelephony_a_OBJECTS) $(audio_libtelephony_a_DEPENDENCIES) audio/$(am__dirstamp) + $(AM_V_at)-rm -f audio/libtelephony.a + $(AM_V_AR)$(audio_libtelephony_a_AR) audio/libtelephony.a $(audio_libtelephony_a_OBJECTS) $(audio_libtelephony_a_LIBADD) + $(AM_V_at)$(RANLIB) audio/libtelephony.a +install-alsaLTLIBRARIES: $(alsa_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(alsadir)" || $(MKDIR_P) "$(DESTDIR)$(alsadir)" + @list='$(alsa_LTLIBRARIES)'; test -n "$(alsadir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(alsadir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(alsadir)"; \ + } + +uninstall-alsaLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(alsa_LTLIBRARIES)'; test -n "$(alsadir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(alsadir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(alsadir)/$$f"; \ + done + +clean-alsaLTLIBRARIES: + -test -z "$(alsa_LTLIBRARIES)" || rm -f $(alsa_LTLIBRARIES) + @list='$(alsa_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +install-gstreamerLTLIBRARIES: $(gstreamer_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(gstreamerdir)" || $(MKDIR_P) "$(DESTDIR)$(gstreamerdir)" + @list='$(gstreamer_LTLIBRARIES)'; test -n "$(gstreamerdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(gstreamerdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(gstreamerdir)"; \ + } + +uninstall-gstreamerLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(gstreamer_LTLIBRARIES)'; test -n "$(gstreamerdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(gstreamerdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(gstreamerdir)/$$f"; \ + done + +clean-gstreamerLTLIBRARIES: + -test -z "$(gstreamer_LTLIBRARIES)" || rm -f $(gstreamer_LTLIBRARIES) + @list='$(gstreamer_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +install-libLTLIBRARIES: $(lib_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)" + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \ + } + +uninstall-libLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \ + done + +clean-libLTLIBRARIES: + -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES) + @list='$(lib_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done + +clean-noinstLTLIBRARIES: + -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) + @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +install-pluginLTLIBRARIES: $(plugin_LTLIBRARIES) + @$(NORMAL_INSTALL) + test -z "$(plugindir)" || $(MKDIR_P) "$(DESTDIR)$(plugindir)" + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + list2=; for p in $$list; do \ + if test -f $$p; then \ + list2="$$list2 $$p"; \ + else :; fi; \ + done; \ + test -z "$$list2" || { \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(plugindir)'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(plugindir)"; \ + } + +uninstall-pluginLTLIBRARIES: + @$(NORMAL_UNINSTALL) + @list='$(plugin_LTLIBRARIES)'; test -n "$(plugindir)" || list=; \ + for p in $$list; do \ + $(am__strip_dir) \ + echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(plugindir)/$$f'"; \ + $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(plugindir)/$$f"; \ + done + +clean-pluginLTLIBRARIES: + -test -z "$(plugin_LTLIBRARIES)" || rm -f $(plugin_LTLIBRARIES) + @list='$(plugin_LTLIBRARIES)'; for p in $$list; do \ + dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \ + test "$$dir" != "$$p" || dir=.; \ + echo "rm -f \"$${dir}/so_locations\""; \ + rm -f "$${dir}/so_locations"; \ + done +audio/audio_libasound_module_ctl_bluetooth_la-ctl_bluetooth.lo: \ + audio/$(am__dirstamp) audio/$(DEPDIR)/$(am__dirstamp) +audio/audio_libasound_module_ctl_bluetooth_la-ipc.lo: \ + audio/$(am__dirstamp) audio/$(DEPDIR)/$(am__dirstamp) +audio/libasound_module_ctl_bluetooth.la: $(audio_libasound_module_ctl_bluetooth_la_OBJECTS) $(audio_libasound_module_ctl_bluetooth_la_DEPENDENCIES) audio/$(am__dirstamp) + $(AM_V_CCLD)$(audio_libasound_module_ctl_bluetooth_la_LINK) $(am_audio_libasound_module_ctl_bluetooth_la_rpath) $(audio_libasound_module_ctl_bluetooth_la_OBJECTS) $(audio_libasound_module_ctl_bluetooth_la_LIBADD) $(LIBS) +audio/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo: \ + audio/$(am__dirstamp) audio/$(DEPDIR)/$(am__dirstamp) +audio/audio_libasound_module_pcm_bluetooth_la-ipc.lo: \ + audio/$(am__dirstamp) audio/$(DEPDIR)/$(am__dirstamp) +audio/libasound_module_pcm_bluetooth.la: $(audio_libasound_module_pcm_bluetooth_la_OBJECTS) $(audio_libasound_module_pcm_bluetooth_la_DEPENDENCIES) audio/$(am__dirstamp) + $(AM_V_CCLD)$(audio_libasound_module_pcm_bluetooth_la_LINK) $(am_audio_libasound_module_pcm_bluetooth_la_rpath) $(audio_libasound_module_pcm_bluetooth_la_OBJECTS) $(audio_libasound_module_pcm_bluetooth_la_LIBADD) $(LIBS) +audio/audio_libgstbluetooth_la-gstbluetooth.lo: audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/audio_libgstbluetooth_la-gstsbcenc.lo: audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/audio_libgstbluetooth_la-gstsbcdec.lo: audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/audio_libgstbluetooth_la-gstsbcparse.lo: audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/audio_libgstbluetooth_la-gstavdtpsink.lo: audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/audio_libgstbluetooth_la-gsta2dpsink.lo: audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/audio_libgstbluetooth_la-gstsbcutil.lo: audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/audio_libgstbluetooth_la-gstrtpsbcpay.lo: audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/audio_libgstbluetooth_la-ipc.lo: audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/libgstbluetooth.la: $(audio_libgstbluetooth_la_OBJECTS) $(audio_libgstbluetooth_la_DEPENDENCIES) audio/$(am__dirstamp) + $(AM_V_CCLD)$(audio_libgstbluetooth_la_LINK) $(am_audio_libgstbluetooth_la_rpath) $(audio_libgstbluetooth_la_OBJECTS) $(audio_libgstbluetooth_la_LIBADD) $(LIBS) +lib/$(am__dirstamp): + @$(MKDIR_P) lib + @: > lib/$(am__dirstamp) +lib/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) lib/$(DEPDIR) + @: > lib/$(DEPDIR)/$(am__dirstamp) +lib/bluetooth.lo: lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/hci.lo: lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/sdp.lo: lib/$(am__dirstamp) lib/$(DEPDIR)/$(am__dirstamp) +lib/libbluetooth.la: $(lib_libbluetooth_la_OBJECTS) $(lib_libbluetooth_la_DEPENDENCIES) lib/$(am__dirstamp) + $(AM_V_CCLD)$(lib_libbluetooth_la_LINK) -rpath $(libdir) $(lib_libbluetooth_la_OBJECTS) $(lib_libbluetooth_la_LIBADD) $(LIBS) +plugins/$(am__dirstamp): + @$(MKDIR_P) plugins + @: > plugins/$(am__dirstamp) +plugins/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) plugins/$(DEPDIR) + @: > plugins/$(DEPDIR)/$(am__dirstamp) +plugins/plugins_netlink_la-netlink.lo: plugins/$(am__dirstamp) \ + plugins/$(DEPDIR)/$(am__dirstamp) +plugins/netlink.la: $(plugins_netlink_la_OBJECTS) $(plugins_netlink_la_DEPENDENCIES) plugins/$(am__dirstamp) + $(AM_V_CCLD)$(plugins_netlink_la_LINK) $(am_plugins_netlink_la_rpath) $(plugins_netlink_la_OBJECTS) $(plugins_netlink_la_LIBADD) $(LIBS) +sbc/$(am__dirstamp): + @$(MKDIR_P) sbc + @: > sbc/$(am__dirstamp) +sbc/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) sbc/$(DEPDIR) + @: > sbc/$(DEPDIR)/$(am__dirstamp) +sbc/sbc_libsbc_la-sbc.lo: sbc/$(am__dirstamp) \ + sbc/$(DEPDIR)/$(am__dirstamp) +sbc/sbc_libsbc_la-sbc_primitives.lo: sbc/$(am__dirstamp) \ + sbc/$(DEPDIR)/$(am__dirstamp) +sbc/sbc_libsbc_la-sbc_primitives_mmx.lo: sbc/$(am__dirstamp) \ + sbc/$(DEPDIR)/$(am__dirstamp) +sbc/sbc_libsbc_la-sbc_primitives_neon.lo: sbc/$(am__dirstamp) \ + sbc/$(DEPDIR)/$(am__dirstamp) +sbc/libsbc.la: $(sbc_libsbc_la_OBJECTS) $(sbc_libsbc_la_DEPENDENCIES) sbc/$(am__dirstamp) + $(AM_V_CCLD)$(sbc_libsbc_la_LINK) $(am_sbc_libsbc_la_rpath) $(sbc_libsbc_la_OBJECTS) $(sbc_libsbc_la_LIBADD) $(LIBS) +install-binPROGRAMS: $(bin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)" + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p || test -f $$p1; \ + then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-binPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(bindir)" && rm -f $$files + +clean-binPROGRAMS: + @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +install-cupsPROGRAMS: $(cups_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(cupsdir)" || $(MKDIR_P) "$(DESTDIR)$(cupsdir)" + @list='$(cups_PROGRAMS)'; test -n "$(cupsdir)" || list=; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p || test -f $$p1; \ + then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(cupsdir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(cupsdir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-cupsPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(cups_PROGRAMS)'; test -n "$(cupsdir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(cupsdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(cupsdir)" && rm -f $$files + +clean-cupsPROGRAMS: + @list='$(cups_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list + +clean-noinstPROGRAMS: + @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +install-sbinPROGRAMS: $(sbin_PROGRAMS) + @$(NORMAL_INSTALL) + test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)" + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ + for p in $$list; do echo "$$p $$p"; done | \ + sed 's/$(EXEEXT)$$//' | \ + while read p p1; do if test -f $$p || test -f $$p1; \ + then echo "$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \ + -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ + sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) files[d] = files[d] " " $$1; \ + else { print "f", $$3 "/" $$4, $$1; } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ + $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-sbinPROGRAMS: + @$(NORMAL_UNINSTALL) + @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ + -e 's/$$/$(EXEEXT)/' `; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(sbindir)" && rm -f $$files + +clean-sbinPROGRAMS: + @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \ + echo " rm -f" $$list; \ + rm -f $$list || exit $$?; \ + test -n "$(EXEEXT)" || exit 0; \ + list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ + echo " rm -f" $$list; \ + rm -f $$list +compat/$(am__dirstamp): + @$(MKDIR_P) compat + @: > compat/$(am__dirstamp) +compat/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) compat/$(DEPDIR) + @: > compat/$(DEPDIR)/$(am__dirstamp) +compat/dund.$(OBJEXT): compat/$(am__dirstamp) \ + compat/$(DEPDIR)/$(am__dirstamp) +compat/sdp.$(OBJEXT): compat/$(am__dirstamp) \ + compat/$(DEPDIR)/$(am__dirstamp) +compat/dun.$(OBJEXT): compat/$(am__dirstamp) \ + compat/$(DEPDIR)/$(am__dirstamp) +compat/msdun.$(OBJEXT): compat/$(am__dirstamp) \ + compat/$(DEPDIR)/$(am__dirstamp) +src/$(am__dirstamp): + @$(MKDIR_P) src + @: > src/$(am__dirstamp) +src/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/$(DEPDIR) + @: > src/$(DEPDIR)/$(am__dirstamp) +src/textfile.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +compat/dund$(EXEEXT): $(compat_dund_OBJECTS) $(compat_dund_DEPENDENCIES) compat/$(am__dirstamp) + @rm -f compat/dund$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(compat_dund_OBJECTS) $(compat_dund_LDADD) $(LIBS) +compat/hidd.$(OBJEXT): compat/$(am__dirstamp) \ + compat/$(DEPDIR)/$(am__dirstamp) +compat/fakehid.$(OBJEXT): compat/$(am__dirstamp) \ + compat/$(DEPDIR)/$(am__dirstamp) +compat/hidd$(EXEEXT): $(compat_hidd_OBJECTS) $(compat_hidd_DEPENDENCIES) compat/$(am__dirstamp) + @rm -f compat/hidd$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(compat_hidd_OBJECTS) $(compat_hidd_LDADD) $(LIBS) +compat/pand.$(OBJEXT): compat/$(am__dirstamp) \ + compat/$(DEPDIR)/$(am__dirstamp) +compat/bnep.$(OBJEXT): compat/$(am__dirstamp) \ + compat/$(DEPDIR)/$(am__dirstamp) +compat/pand$(EXEEXT): $(compat_pand_OBJECTS) $(compat_pand_DEPENDENCIES) compat/$(am__dirstamp) + @rm -f compat/pand$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(compat_pand_OBJECTS) $(compat_pand_LDADD) $(LIBS) +gdbus/$(am__dirstamp): + @$(MKDIR_P) gdbus + @: > gdbus/$(am__dirstamp) +gdbus/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) gdbus/$(DEPDIR) + @: > gdbus/$(DEPDIR)/$(am__dirstamp) +gdbus/mainloop.$(OBJEXT): gdbus/$(am__dirstamp) \ + gdbus/$(DEPDIR)/$(am__dirstamp) +gdbus/object.$(OBJEXT): gdbus/$(am__dirstamp) \ + gdbus/$(DEPDIR)/$(am__dirstamp) +gdbus/watch.$(OBJEXT): gdbus/$(am__dirstamp) \ + gdbus/$(DEPDIR)/$(am__dirstamp) +cups/$(am__dirstamp): + @$(MKDIR_P) cups + @: > cups/$(am__dirstamp) +cups/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) cups/$(DEPDIR) + @: > cups/$(DEPDIR)/$(am__dirstamp) +cups/main.$(OBJEXT): cups/$(am__dirstamp) \ + cups/$(DEPDIR)/$(am__dirstamp) +cups/sdp.$(OBJEXT): cups/$(am__dirstamp) \ + cups/$(DEPDIR)/$(am__dirstamp) +cups/spp.$(OBJEXT): cups/$(am__dirstamp) \ + cups/$(DEPDIR)/$(am__dirstamp) +cups/hcrp.$(OBJEXT): cups/$(am__dirstamp) \ + cups/$(DEPDIR)/$(am__dirstamp) +cups/bluetooth$(EXEEXT): $(cups_bluetooth_OBJECTS) $(cups_bluetooth_DEPENDENCIES) cups/$(am__dirstamp) + @rm -f cups/bluetooth$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(cups_bluetooth_OBJECTS) $(cups_bluetooth_LDADD) $(LIBS) +sbc/sbcdec.$(OBJEXT): sbc/$(am__dirstamp) \ + sbc/$(DEPDIR)/$(am__dirstamp) +sbc/sbcdec$(EXEEXT): $(sbc_sbcdec_OBJECTS) $(sbc_sbcdec_DEPENDENCIES) sbc/$(am__dirstamp) + @rm -f sbc/sbcdec$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sbc_sbcdec_OBJECTS) $(sbc_sbcdec_LDADD) $(LIBS) +sbc/sbcenc.$(OBJEXT): sbc/$(am__dirstamp) \ + sbc/$(DEPDIR)/$(am__dirstamp) +sbc/sbcenc$(EXEEXT): $(sbc_sbcenc_OBJECTS) $(sbc_sbcenc_DEPENDENCIES) sbc/$(am__dirstamp) + @rm -f sbc/sbcenc$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sbc_sbcenc_OBJECTS) $(sbc_sbcenc_LDADD) $(LIBS) +sbc/sbcinfo.$(OBJEXT): sbc/$(am__dirstamp) \ + sbc/$(DEPDIR)/$(am__dirstamp) +sbc/sbcinfo$(EXEEXT): $(sbc_sbcinfo_OBJECTS) $(sbc_sbcinfo_DEPENDENCIES) sbc/$(am__dirstamp) + @rm -f sbc/sbcinfo$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sbc_sbcinfo_OBJECTS) $(sbc_sbcinfo_LDADD) $(LIBS) +sbc/sbctester.$(OBJEXT): sbc/$(am__dirstamp) \ + sbc/$(DEPDIR)/$(am__dirstamp) +sbc/sbctester$(EXEEXT): $(sbc_sbctester_OBJECTS) $(sbc_sbctester_DEPENDENCIES) sbc/$(am__dirstamp) + @rm -f sbc/sbctester$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(sbc_sbctester_OBJECTS) $(sbc_sbctester_LDADD) $(LIBS) +plugins/pnat.$(OBJEXT): plugins/$(am__dirstamp) \ + plugins/$(DEPDIR)/$(am__dirstamp) +plugins/echo.$(OBJEXT): plugins/$(am__dirstamp) \ + plugins/$(DEPDIR)/$(am__dirstamp) +audio/main.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/manager.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/gateway.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/headset.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/control.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/device.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/source.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/sink.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/a2dp.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/avdtp.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/ipc.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +audio/unix.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +input/$(am__dirstamp): + @$(MKDIR_P) input + @: > input/$(am__dirstamp) +input/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) input/$(DEPDIR) + @: > input/$(DEPDIR)/$(am__dirstamp) +input/main.$(OBJEXT): input/$(am__dirstamp) \ + input/$(DEPDIR)/$(am__dirstamp) +input/manager.$(OBJEXT): input/$(am__dirstamp) \ + input/$(DEPDIR)/$(am__dirstamp) +input/server.$(OBJEXT): input/$(am__dirstamp) \ + input/$(DEPDIR)/$(am__dirstamp) +input/device.$(OBJEXT): input/$(am__dirstamp) \ + input/$(DEPDIR)/$(am__dirstamp) +input/fakehid.$(OBJEXT): input/$(am__dirstamp) \ + input/$(DEPDIR)/$(am__dirstamp) +serial/$(am__dirstamp): + @$(MKDIR_P) serial + @: > serial/$(am__dirstamp) +serial/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) serial/$(DEPDIR) + @: > serial/$(DEPDIR)/$(am__dirstamp) +serial/main.$(OBJEXT): serial/$(am__dirstamp) \ + serial/$(DEPDIR)/$(am__dirstamp) +serial/manager.$(OBJEXT): serial/$(am__dirstamp) \ + serial/$(DEPDIR)/$(am__dirstamp) +serial/proxy.$(OBJEXT): serial/$(am__dirstamp) \ + serial/$(DEPDIR)/$(am__dirstamp) +serial/port.$(OBJEXT): serial/$(am__dirstamp) \ + serial/$(DEPDIR)/$(am__dirstamp) +network/$(am__dirstamp): + @$(MKDIR_P) network + @: > network/$(am__dirstamp) +network/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) network/$(DEPDIR) + @: > network/$(DEPDIR)/$(am__dirstamp) +network/main.$(OBJEXT): network/$(am__dirstamp) \ + network/$(DEPDIR)/$(am__dirstamp) +network/manager.$(OBJEXT): network/$(am__dirstamp) \ + network/$(DEPDIR)/$(am__dirstamp) +network/common.$(OBJEXT): network/$(am__dirstamp) \ + network/$(DEPDIR)/$(am__dirstamp) +network/server.$(OBJEXT): network/$(am__dirstamp) \ + network/$(DEPDIR)/$(am__dirstamp) +network/bridge.$(OBJEXT): network/$(am__dirstamp) \ + network/$(DEPDIR)/$(am__dirstamp) +network/connection.$(OBJEXT): network/$(am__dirstamp) \ + network/$(DEPDIR)/$(am__dirstamp) +plugins/service.$(OBJEXT): plugins/$(am__dirstamp) \ + plugins/$(DEPDIR)/$(am__dirstamp) +plugins/hciops.$(OBJEXT): plugins/$(am__dirstamp) \ + plugins/$(DEPDIR)/$(am__dirstamp) +plugins/hal.$(OBJEXT): plugins/$(am__dirstamp) \ + plugins/$(DEPDIR)/$(am__dirstamp) +plugins/storage.$(OBJEXT): plugins/$(am__dirstamp) \ + plugins/$(DEPDIR)/$(am__dirstamp) +src/main.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) +src/log.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) +src/security.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/rfkill.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/sdpd-server.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/sdpd-request.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/sdpd-service.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/sdpd-database.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/sdp-xml.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/btio.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) +src/glib-helper.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/oui.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) +src/plugin.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/storage.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/agent.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) +src/error.$(OBJEXT): src/$(am__dirstamp) src/$(DEPDIR)/$(am__dirstamp) +src/manager.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/adapter.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/device.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/dbus-common.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/dbus-hci.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +audio/telephony.$(OBJEXT): audio/$(am__dirstamp) \ + audio/$(DEPDIR)/$(am__dirstamp) +src/bluetoothd$(EXEEXT): $(src_bluetoothd_OBJECTS) $(src_bluetoothd_DEPENDENCIES) src/$(am__dirstamp) + @rm -f src/bluetoothd$(EXEEXT) + $(AM_V_CCLD)$(src_bluetoothd_LINK) $(src_bluetoothd_OBJECTS) $(src_bluetoothd_LDADD) $(LIBS) +test/$(am__dirstamp): + @$(MKDIR_P) test + @: > test/$(am__dirstamp) +test/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) test/$(DEPDIR) + @: > test/$(DEPDIR)/$(am__dirstamp) +test/agent.$(OBJEXT): test/$(am__dirstamp) \ + test/$(DEPDIR)/$(am__dirstamp) +test/agent$(EXEEXT): $(test_agent_OBJECTS) $(test_agent_DEPENDENCIES) test/$(am__dirstamp) + @rm -f test/agent$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_agent_OBJECTS) $(test_agent_LDADD) $(LIBS) +test/attest.$(OBJEXT): test/$(am__dirstamp) \ + test/$(DEPDIR)/$(am__dirstamp) +test/attest$(EXEEXT): $(test_attest_OBJECTS) $(test_attest_DEPENDENCIES) test/$(am__dirstamp) + @rm -f test/attest$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_attest_OBJECTS) $(test_attest_LDADD) $(LIBS) +test/avtest.$(OBJEXT): test/$(am__dirstamp) \ + test/$(DEPDIR)/$(am__dirstamp) +test/avtest$(EXEEXT): $(test_avtest_OBJECTS) $(test_avtest_DEPENDENCIES) test/$(am__dirstamp) + @rm -f test/avtest$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_avtest_OBJECTS) $(test_avtest_LDADD) $(LIBS) +test/bdaddr.$(OBJEXT): test/$(am__dirstamp) \ + test/$(DEPDIR)/$(am__dirstamp) +test/bdaddr$(EXEEXT): $(test_bdaddr_OBJECTS) $(test_bdaddr_DEPENDENCIES) test/$(am__dirstamp) + @rm -f test/bdaddr$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_bdaddr_OBJECTS) $(test_bdaddr_LDADD) $(LIBS) +test/btiotest.$(OBJEXT): test/$(am__dirstamp) \ + test/$(DEPDIR)/$(am__dirstamp) +test/btiotest$(EXEEXT): $(test_btiotest_OBJECTS) $(test_btiotest_DEPENDENCIES) test/$(am__dirstamp) + @rm -f test/btiotest$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_btiotest_OBJECTS) $(test_btiotest_LDADD) $(LIBS) +test/gaptest.$(OBJEXT): test/$(am__dirstamp) \ + test/$(DEPDIR)/$(am__dirstamp) +test/gaptest$(EXEEXT): $(test_gaptest_OBJECTS) $(test_gaptest_DEPENDENCIES) test/$(am__dirstamp) + @rm -f test/gaptest$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_gaptest_OBJECTS) $(test_gaptest_LDADD) $(LIBS) +test/hciemu.$(OBJEXT): test/$(am__dirstamp) \ + test/$(DEPDIR)/$(am__dirstamp) +test/hciemu$(EXEEXT): $(test_hciemu_OBJECTS) $(test_hciemu_DEPENDENCIES) test/$(am__dirstamp) + @rm -f test/hciemu$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_hciemu_OBJECTS) $(test_hciemu_LDADD) $(LIBS) +test/hstest.$(OBJEXT): test/$(am__dirstamp) \ + test/$(DEPDIR)/$(am__dirstamp) +test/hstest$(EXEEXT): $(test_hstest_OBJECTS) $(test_hstest_DEPENDENCIES) test/$(am__dirstamp) + @rm -f test/hstest$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_hstest_OBJECTS) $(test_hstest_LDADD) $(LIBS) +test/ipctest.$(OBJEXT): test/$(am__dirstamp) \ + test/$(DEPDIR)/$(am__dirstamp) +test/ipctest$(EXEEXT): $(test_ipctest_OBJECTS) $(test_ipctest_DEPENDENCIES) test/$(am__dirstamp) + @rm -f test/ipctest$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_ipctest_OBJECTS) $(test_ipctest_LDADD) $(LIBS) +test/l2test.$(OBJEXT): test/$(am__dirstamp) \ + test/$(DEPDIR)/$(am__dirstamp) +test/l2test$(EXEEXT): $(test_l2test_OBJECTS) $(test_l2test_DEPENDENCIES) test/$(am__dirstamp) + @rm -f test/l2test$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_l2test_OBJECTS) $(test_l2test_LDADD) $(LIBS) +test/lmptest.$(OBJEXT): test/$(am__dirstamp) \ + test/$(DEPDIR)/$(am__dirstamp) +test/lmptest$(EXEEXT): $(test_lmptest_OBJECTS) $(test_lmptest_DEPENDENCIES) test/$(am__dirstamp) + @rm -f test/lmptest$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_lmptest_OBJECTS) $(test_lmptest_LDADD) $(LIBS) +test/rctest.$(OBJEXT): test/$(am__dirstamp) \ + test/$(DEPDIR)/$(am__dirstamp) +test/rctest$(EXEEXT): $(test_rctest_OBJECTS) $(test_rctest_DEPENDENCIES) test/$(am__dirstamp) + @rm -f test/rctest$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_rctest_OBJECTS) $(test_rctest_LDADD) $(LIBS) +test/scotest.$(OBJEXT): test/$(am__dirstamp) \ + test/$(DEPDIR)/$(am__dirstamp) +test/scotest$(EXEEXT): $(test_scotest_OBJECTS) $(test_scotest_DEPENDENCIES) test/$(am__dirstamp) + @rm -f test/scotest$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_scotest_OBJECTS) $(test_scotest_LDADD) $(LIBS) +test/sdptest.$(OBJEXT): test/$(am__dirstamp) \ + test/$(DEPDIR)/$(am__dirstamp) +test/sdptest$(EXEEXT): $(test_sdptest_OBJECTS) $(test_sdptest_DEPENDENCIES) test/$(am__dirstamp) + @rm -f test/sdptest$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_sdptest_OBJECTS) $(test_sdptest_LDADD) $(LIBS) +test/test-textfile.$(OBJEXT): test/$(am__dirstamp) \ + test/$(DEPDIR)/$(am__dirstamp) +test/test-textfile$(EXEEXT): $(test_test_textfile_OBJECTS) $(test_test_textfile_DEPENDENCIES) test/$(am__dirstamp) + @rm -f test/test-textfile$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(test_test_textfile_OBJECTS) $(test_test_textfile_LDADD) $(LIBS) +tools/$(am__dirstamp): + @$(MKDIR_P) tools + @: > tools/$(am__dirstamp) +tools/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) tools/$(DEPDIR) + @: > tools/$(DEPDIR)/$(am__dirstamp) +tools/avctrl.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/avctrl$(EXEEXT): $(tools_avctrl_OBJECTS) $(tools_avctrl_DEPENDENCIES) tools/$(am__dirstamp) + @rm -f tools/avctrl$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tools_avctrl_OBJECTS) $(tools_avctrl_LDADD) $(LIBS) +tools/avinfo.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/avinfo$(EXEEXT): $(tools_avinfo_OBJECTS) $(tools_avinfo_DEPENDENCIES) tools/$(am__dirstamp) + @rm -f tools/avinfo$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tools_avinfo_OBJECTS) $(tools_avinfo_LDADD) $(LIBS) +tools/bccmd.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/csr.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/csr_hci.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/csr_h4.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/csr_3wire.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/csr_bcsp.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/ubcsp.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/csr_usb.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/bccmd$(EXEEXT): $(tools_bccmd_OBJECTS) $(tools_bccmd_DEPENDENCIES) tools/$(am__dirstamp) + @rm -f tools/bccmd$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tools_bccmd_OBJECTS) $(tools_bccmd_LDADD) $(LIBS) +tools/ciptool.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/ciptool$(EXEEXT): $(tools_ciptool_OBJECTS) $(tools_ciptool_DEPENDENCIES) tools/$(am__dirstamp) + @rm -f tools/ciptool$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tools_ciptool_OBJECTS) $(tools_ciptool_LDADD) $(LIBS) +tools/dfubabel.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/dfubabel$(EXEEXT): $(tools_dfubabel_OBJECTS) $(tools_dfubabel_DEPENDENCIES) tools/$(am__dirstamp) + @rm -f tools/dfubabel$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tools_dfubabel_OBJECTS) $(tools_dfubabel_LDADD) $(LIBS) +tools/dfutool.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/dfu.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/dfutool$(EXEEXT): $(tools_dfutool_OBJECTS) $(tools_dfutool_DEPENDENCIES) tools/$(am__dirstamp) + @rm -f tools/dfutool$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tools_dfutool_OBJECTS) $(tools_dfutool_LDADD) $(LIBS) +tools/hciattach.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/hciattach_st.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/hciattach_ti.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/hciattach_tialt.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/hciattach$(EXEEXT): $(tools_hciattach_OBJECTS) $(tools_hciattach_DEPENDENCIES) tools/$(am__dirstamp) + @rm -f tools/hciattach$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tools_hciattach_OBJECTS) $(tools_hciattach_LDADD) $(LIBS) +tools/hciconfig.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/hciconfig$(EXEEXT): $(tools_hciconfig_OBJECTS) $(tools_hciconfig_DEPENDENCIES) tools/$(am__dirstamp) + @rm -f tools/hciconfig$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tools_hciconfig_OBJECTS) $(tools_hciconfig_LDADD) $(LIBS) +tools/hcieventmask.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/hcieventmask$(EXEEXT): $(tools_hcieventmask_OBJECTS) $(tools_hcieventmask_DEPENDENCIES) tools/$(am__dirstamp) + @rm -f tools/hcieventmask$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tools_hcieventmask_OBJECTS) $(tools_hcieventmask_LDADD) $(LIBS) +tools/hcisecfilter.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/hcisecfilter$(EXEEXT): $(tools_hcisecfilter_OBJECTS) $(tools_hcisecfilter_DEPENDENCIES) tools/$(am__dirstamp) + @rm -f tools/hcisecfilter$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tools_hcisecfilter_OBJECTS) $(tools_hcisecfilter_LDADD) $(LIBS) +tools/hcitool.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/hcitool$(EXEEXT): $(tools_hcitool_OBJECTS) $(tools_hcitool_DEPENDENCIES) tools/$(am__dirstamp) + @rm -f tools/hcitool$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tools_hcitool_OBJECTS) $(tools_hcitool_LDADD) $(LIBS) +tools/hid2hci.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/hid2hci$(EXEEXT): $(tools_hid2hci_OBJECTS) $(tools_hid2hci_DEPENDENCIES) tools/$(am__dirstamp) + @rm -f tools/hid2hci$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tools_hid2hci_OBJECTS) $(tools_hid2hci_LDADD) $(LIBS) +tools/l2ping.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/l2ping$(EXEEXT): $(tools_l2ping_OBJECTS) $(tools_l2ping_DEPENDENCIES) tools/$(am__dirstamp) + @rm -f tools/l2ping$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tools_l2ping_OBJECTS) $(tools_l2ping_LDADD) $(LIBS) +tools/ppporc.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/ppporc$(EXEEXT): $(tools_ppporc_OBJECTS) $(tools_ppporc_DEPENDENCIES) tools/$(am__dirstamp) + @rm -f tools/ppporc$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tools_ppporc_OBJECTS) $(tools_ppporc_LDADD) $(LIBS) +tools/main.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/parser.h: tools/parser.c + @if test ! -f $@; then \ + rm -f tools/parser.c; \ + $(MAKE) $(AM_MAKEFLAGS) tools/parser.c; \ + else :; fi +tools/parser.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/lexer.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/kword.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/rfcomm$(EXEEXT): $(tools_rfcomm_OBJECTS) $(tools_rfcomm_DEPENDENCIES) tools/$(am__dirstamp) + @rm -f tools/rfcomm$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tools_rfcomm_OBJECTS) $(tools_rfcomm_LDADD) $(LIBS) +tools/sdptool.$(OBJEXT): tools/$(am__dirstamp) \ + tools/$(DEPDIR)/$(am__dirstamp) +tools/sdptool$(EXEEXT): $(tools_sdptool_OBJECTS) $(tools_sdptool_DEPENDENCIES) tools/$(am__dirstamp) + @rm -f tools/sdptool$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tools_sdptool_OBJECTS) $(tools_sdptool_LDADD) $(LIBS) +tracer/$(am__dirstamp): + @$(MKDIR_P) tracer + @: > tracer/$(am__dirstamp) +tracer/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) tracer/$(DEPDIR) + @: > tracer/$(DEPDIR)/$(am__dirstamp) +tracer/main.$(OBJEXT): tracer/$(am__dirstamp) \ + tracer/$(DEPDIR)/$(am__dirstamp) +tracer/hcitrace$(EXEEXT): $(tracer_hcitrace_OBJECTS) $(tracer_hcitrace_DEPENDENCIES) tracer/$(am__dirstamp) + @rm -f tracer/hcitrace$(EXEEXT) + $(AM_V_CCLD)$(LINK) $(tracer_hcitrace_OBJECTS) $(tracer_hcitrace_LDADD) $(LIBS) +install-dist_udevSCRIPTS: $(dist_udev_SCRIPTS) + @$(NORMAL_INSTALL) + test -z "$(udevdir)" || $(MKDIR_P) "$(DESTDIR)$(udevdir)" + @list='$(dist_udev_SCRIPTS)'; test -n "$(udevdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \ + done | \ + sed -e 'p;s,.*/,,;n' \ + -e 'h;s|.*|.|' \ + -e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \ + $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \ + { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ + if ($$2 == $$4) { files[d] = files[d] " " $$1; \ + if (++n[d] == $(am__install_max)) { \ + print "f", d, files[d]; n[d] = 0; files[d] = "" } } \ + else { print "f", d "/" $$4, $$1 } } \ + END { for (d in files) print "f", d, files[d] }' | \ + while read type dir files; do \ + if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ + test -z "$$files" || { \ + echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(udevdir)$$dir'"; \ + $(INSTALL_SCRIPT) $$files "$(DESTDIR)$(udevdir)$$dir" || exit $$?; \ + } \ + ; done + +uninstall-dist_udevSCRIPTS: + @$(NORMAL_UNINSTALL) + @list='$(dist_udev_SCRIPTS)'; test -n "$(udevdir)" || exit 0; \ + files=`for p in $$list; do echo "$$p"; done | \ + sed -e 's,.*/,,;$(transform)'`; \ + test -n "$$list" || exit 0; \ + echo " ( cd '$(DESTDIR)$(udevdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(udevdir)" && rm -f $$files + +mostlyclean-compile: + -rm -f *.$(OBJEXT) + -rm -f audio/a2dp.$(OBJEXT) + -rm -f audio/audio_libasound_module_ctl_bluetooth_la-ctl_bluetooth.$(OBJEXT) + -rm -f audio/audio_libasound_module_ctl_bluetooth_la-ctl_bluetooth.lo + -rm -f audio/audio_libasound_module_ctl_bluetooth_la-ipc.$(OBJEXT) + -rm -f audio/audio_libasound_module_ctl_bluetooth_la-ipc.lo + -rm -f audio/audio_libasound_module_pcm_bluetooth_la-ipc.$(OBJEXT) + -rm -f audio/audio_libasound_module_pcm_bluetooth_la-ipc.lo + -rm -f audio/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.$(OBJEXT) + -rm -f audio/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo + -rm -f audio/audio_libgstbluetooth_la-gsta2dpsink.$(OBJEXT) + -rm -f audio/audio_libgstbluetooth_la-gsta2dpsink.lo + -rm -f audio/audio_libgstbluetooth_la-gstavdtpsink.$(OBJEXT) + -rm -f audio/audio_libgstbluetooth_la-gstavdtpsink.lo + -rm -f audio/audio_libgstbluetooth_la-gstbluetooth.$(OBJEXT) + -rm -f audio/audio_libgstbluetooth_la-gstbluetooth.lo + -rm -f audio/audio_libgstbluetooth_la-gstrtpsbcpay.$(OBJEXT) + -rm -f audio/audio_libgstbluetooth_la-gstrtpsbcpay.lo + -rm -f audio/audio_libgstbluetooth_la-gstsbcdec.$(OBJEXT) + -rm -f audio/audio_libgstbluetooth_la-gstsbcdec.lo + -rm -f audio/audio_libgstbluetooth_la-gstsbcenc.$(OBJEXT) + -rm -f audio/audio_libgstbluetooth_la-gstsbcenc.lo + -rm -f audio/audio_libgstbluetooth_la-gstsbcparse.$(OBJEXT) + -rm -f audio/audio_libgstbluetooth_la-gstsbcparse.lo + -rm -f audio/audio_libgstbluetooth_la-gstsbcutil.$(OBJEXT) + -rm -f audio/audio_libgstbluetooth_la-gstsbcutil.lo + -rm -f audio/audio_libgstbluetooth_la-ipc.$(OBJEXT) + -rm -f audio/audio_libgstbluetooth_la-ipc.lo + -rm -f audio/avdtp.$(OBJEXT) + -rm -f audio/control.$(OBJEXT) + -rm -f audio/device.$(OBJEXT) + -rm -f audio/gateway.$(OBJEXT) + -rm -f audio/headset.$(OBJEXT) + -rm -f audio/ipc.$(OBJEXT) + -rm -f audio/main.$(OBJEXT) + -rm -f audio/manager.$(OBJEXT) + -rm -f audio/sink.$(OBJEXT) + -rm -f audio/source.$(OBJEXT) + -rm -f audio/telephony-dummy.$(OBJEXT) + -rm -f audio/telephony-maemo5.$(OBJEXT) + -rm -f audio/telephony-maemo6.$(OBJEXT) + -rm -f audio/telephony-ofono.$(OBJEXT) + -rm -f audio/telephony.$(OBJEXT) + -rm -f audio/unix.$(OBJEXT) + -rm -f compat/bnep.$(OBJEXT) + -rm -f compat/dun.$(OBJEXT) + -rm -f compat/dund.$(OBJEXT) + -rm -f compat/fakehid.$(OBJEXT) + -rm -f compat/hidd.$(OBJEXT) + -rm -f compat/msdun.$(OBJEXT) + -rm -f compat/pand.$(OBJEXT) + -rm -f compat/sdp.$(OBJEXT) + -rm -f cups/hcrp.$(OBJEXT) + -rm -f cups/main.$(OBJEXT) + -rm -f cups/sdp.$(OBJEXT) + -rm -f cups/spp.$(OBJEXT) + -rm -f gdbus/mainloop.$(OBJEXT) + -rm -f gdbus/object.$(OBJEXT) + -rm -f gdbus/watch.$(OBJEXT) + -rm -f input/device.$(OBJEXT) + -rm -f input/fakehid.$(OBJEXT) + -rm -f input/main.$(OBJEXT) + -rm -f input/manager.$(OBJEXT) + -rm -f input/server.$(OBJEXT) + -rm -f lib/bluetooth.$(OBJEXT) + -rm -f lib/bluetooth.lo + -rm -f lib/hci.$(OBJEXT) + -rm -f lib/hci.lo + -rm -f lib/sdp.$(OBJEXT) + -rm -f lib/sdp.lo + -rm -f network/bridge.$(OBJEXT) + -rm -f network/common.$(OBJEXT) + -rm -f network/connection.$(OBJEXT) + -rm -f network/main.$(OBJEXT) + -rm -f network/manager.$(OBJEXT) + -rm -f network/server.$(OBJEXT) + -rm -f plugins/echo.$(OBJEXT) + -rm -f plugins/hal.$(OBJEXT) + -rm -f plugins/hciops.$(OBJEXT) + -rm -f plugins/plugins_netlink_la-netlink.$(OBJEXT) + -rm -f plugins/plugins_netlink_la-netlink.lo + -rm -f plugins/pnat.$(OBJEXT) + -rm -f plugins/service.$(OBJEXT) + -rm -f plugins/storage.$(OBJEXT) + -rm -f sbc/sbc_libsbc_la-sbc.$(OBJEXT) + -rm -f sbc/sbc_libsbc_la-sbc.lo + -rm -f sbc/sbc_libsbc_la-sbc_primitives.$(OBJEXT) + -rm -f sbc/sbc_libsbc_la-sbc_primitives.lo + -rm -f sbc/sbc_libsbc_la-sbc_primitives_mmx.$(OBJEXT) + -rm -f sbc/sbc_libsbc_la-sbc_primitives_mmx.lo + -rm -f sbc/sbc_libsbc_la-sbc_primitives_neon.$(OBJEXT) + -rm -f sbc/sbc_libsbc_la-sbc_primitives_neon.lo + -rm -f sbc/sbcdec.$(OBJEXT) + -rm -f sbc/sbcenc.$(OBJEXT) + -rm -f sbc/sbcinfo.$(OBJEXT) + -rm -f sbc/sbctester.$(OBJEXT) + -rm -f serial/main.$(OBJEXT) + -rm -f serial/manager.$(OBJEXT) + -rm -f serial/port.$(OBJEXT) + -rm -f serial/proxy.$(OBJEXT) + -rm -f src/adapter.$(OBJEXT) + -rm -f src/agent.$(OBJEXT) + -rm -f src/btio.$(OBJEXT) + -rm -f src/dbus-common.$(OBJEXT) + -rm -f src/dbus-hci.$(OBJEXT) + -rm -f src/device.$(OBJEXT) + -rm -f src/error.$(OBJEXT) + -rm -f src/glib-helper.$(OBJEXT) + -rm -f src/log.$(OBJEXT) + -rm -f src/main.$(OBJEXT) + -rm -f src/manager.$(OBJEXT) + -rm -f src/oui.$(OBJEXT) + -rm -f src/plugin.$(OBJEXT) + -rm -f src/rfkill.$(OBJEXT) + -rm -f src/sdp-xml.$(OBJEXT) + -rm -f src/sdpd-database.$(OBJEXT) + -rm -f src/sdpd-request.$(OBJEXT) + -rm -f src/sdpd-server.$(OBJEXT) + -rm -f src/sdpd-service.$(OBJEXT) + -rm -f src/security.$(OBJEXT) + -rm -f src/storage.$(OBJEXT) + -rm -f src/textfile.$(OBJEXT) + -rm -f test/agent.$(OBJEXT) + -rm -f test/attest.$(OBJEXT) + -rm -f test/avtest.$(OBJEXT) + -rm -f test/bdaddr.$(OBJEXT) + -rm -f test/btiotest.$(OBJEXT) + -rm -f test/gaptest.$(OBJEXT) + -rm -f test/hciemu.$(OBJEXT) + -rm -f test/hstest.$(OBJEXT) + -rm -f test/ipctest.$(OBJEXT) + -rm -f test/l2test.$(OBJEXT) + -rm -f test/lmptest.$(OBJEXT) + -rm -f test/rctest.$(OBJEXT) + -rm -f test/scotest.$(OBJEXT) + -rm -f test/sdptest.$(OBJEXT) + -rm -f test/test-textfile.$(OBJEXT) + -rm -f tools/avctrl.$(OBJEXT) + -rm -f tools/avinfo.$(OBJEXT) + -rm -f tools/bccmd.$(OBJEXT) + -rm -f tools/ciptool.$(OBJEXT) + -rm -f tools/csr.$(OBJEXT) + -rm -f tools/csr_3wire.$(OBJEXT) + -rm -f tools/csr_bcsp.$(OBJEXT) + -rm -f tools/csr_h4.$(OBJEXT) + -rm -f tools/csr_hci.$(OBJEXT) + -rm -f tools/csr_usb.$(OBJEXT) + -rm -f tools/dfu.$(OBJEXT) + -rm -f tools/dfubabel.$(OBJEXT) + -rm -f tools/dfutool.$(OBJEXT) + -rm -f tools/hciattach.$(OBJEXT) + -rm -f tools/hciattach_st.$(OBJEXT) + -rm -f tools/hciattach_ti.$(OBJEXT) + -rm -f tools/hciattach_tialt.$(OBJEXT) + -rm -f tools/hciconfig.$(OBJEXT) + -rm -f tools/hcieventmask.$(OBJEXT) + -rm -f tools/hcisecfilter.$(OBJEXT) + -rm -f tools/hcitool.$(OBJEXT) + -rm -f tools/hid2hci.$(OBJEXT) + -rm -f tools/kword.$(OBJEXT) + -rm -f tools/l2ping.$(OBJEXT) + -rm -f tools/lexer.$(OBJEXT) + -rm -f tools/main.$(OBJEXT) + -rm -f tools/parser.$(OBJEXT) + -rm -f tools/ppporc.$(OBJEXT) + -rm -f tools/sdptool.$(OBJEXT) + -rm -f tools/ubcsp.$(OBJEXT) + -rm -f tracer/main.$(OBJEXT) + +distclean-compile: + -rm -f *.tab.c + +#include audio/$(DEPDIR)/a2dp.Po +#include audio/$(DEPDIR)/audio_libasound_module_ctl_bluetooth_la-ctl_bluetooth.Plo +#include audio/$(DEPDIR)/audio_libasound_module_ctl_bluetooth_la-ipc.Plo +#include audio/$(DEPDIR)/audio_libasound_module_pcm_bluetooth_la-ipc.Plo +#include audio/$(DEPDIR)/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.Plo +#include audio/$(DEPDIR)/audio_libgstbluetooth_la-gsta2dpsink.Plo +#include audio/$(DEPDIR)/audio_libgstbluetooth_la-gstavdtpsink.Plo +#include audio/$(DEPDIR)/audio_libgstbluetooth_la-gstbluetooth.Plo +#include audio/$(DEPDIR)/audio_libgstbluetooth_la-gstrtpsbcpay.Plo +#include audio/$(DEPDIR)/audio_libgstbluetooth_la-gstsbcdec.Plo +#include audio/$(DEPDIR)/audio_libgstbluetooth_la-gstsbcenc.Plo +#include audio/$(DEPDIR)/audio_libgstbluetooth_la-gstsbcparse.Plo +#include audio/$(DEPDIR)/audio_libgstbluetooth_la-gstsbcutil.Plo +#include audio/$(DEPDIR)/audio_libgstbluetooth_la-ipc.Plo +#include audio/$(DEPDIR)/avdtp.Po +#include audio/$(DEPDIR)/control.Po +#include audio/$(DEPDIR)/device.Po +#include audio/$(DEPDIR)/gateway.Po +#include audio/$(DEPDIR)/headset.Po +#include audio/$(DEPDIR)/ipc.Po +#include audio/$(DEPDIR)/main.Po +#include audio/$(DEPDIR)/manager.Po +#include audio/$(DEPDIR)/sink.Po +#include audio/$(DEPDIR)/source.Po +#include audio/$(DEPDIR)/telephony-dummy.Po +#include audio/$(DEPDIR)/telephony-maemo5.Po +#include audio/$(DEPDIR)/telephony-maemo6.Po +#include audio/$(DEPDIR)/telephony-ofono.Po +#include audio/$(DEPDIR)/telephony.Po +#include audio/$(DEPDIR)/unix.Po +#include compat/$(DEPDIR)/bnep.Po +#include compat/$(DEPDIR)/dun.Po +#include compat/$(DEPDIR)/dund.Po +#include compat/$(DEPDIR)/fakehid.Po +#include compat/$(DEPDIR)/hidd.Po +#include compat/$(DEPDIR)/msdun.Po +#include compat/$(DEPDIR)/pand.Po +#include compat/$(DEPDIR)/sdp.Po +#include cups/$(DEPDIR)/hcrp.Po +#include cups/$(DEPDIR)/main.Po +#include cups/$(DEPDIR)/sdp.Po +#include cups/$(DEPDIR)/spp.Po +#include gdbus/$(DEPDIR)/mainloop.Po +#include gdbus/$(DEPDIR)/object.Po +#include gdbus/$(DEPDIR)/watch.Po +#include input/$(DEPDIR)/device.Po +#include input/$(DEPDIR)/fakehid.Po +#include input/$(DEPDIR)/main.Po +#include input/$(DEPDIR)/manager.Po +#include input/$(DEPDIR)/server.Po +#include lib/$(DEPDIR)/bluetooth.Plo +#include lib/$(DEPDIR)/hci.Plo +#include lib/$(DEPDIR)/sdp.Plo +#include network/$(DEPDIR)/bridge.Po +#include network/$(DEPDIR)/common.Po +#include network/$(DEPDIR)/connection.Po +#include network/$(DEPDIR)/main.Po +#include network/$(DEPDIR)/manager.Po +#include network/$(DEPDIR)/server.Po +#include plugins/$(DEPDIR)/echo.Po +#include plugins/$(DEPDIR)/hal.Po +#include plugins/$(DEPDIR)/hciops.Po +#include plugins/$(DEPDIR)/plugins_netlink_la-netlink.Plo +#include plugins/$(DEPDIR)/pnat.Po +#include plugins/$(DEPDIR)/service.Po +#include plugins/$(DEPDIR)/storage.Po +#include sbc/$(DEPDIR)/sbc_libsbc_la-sbc.Plo +#include sbc/$(DEPDIR)/sbc_libsbc_la-sbc_primitives.Plo +#include sbc/$(DEPDIR)/sbc_libsbc_la-sbc_primitives_mmx.Plo +#include sbc/$(DEPDIR)/sbc_libsbc_la-sbc_primitives_neon.Plo +#include sbc/$(DEPDIR)/sbcdec.Po +#include sbc/$(DEPDIR)/sbcenc.Po +#include sbc/$(DEPDIR)/sbcinfo.Po +#include sbc/$(DEPDIR)/sbctester.Po +#include serial/$(DEPDIR)/main.Po +#include serial/$(DEPDIR)/manager.Po +#include serial/$(DEPDIR)/port.Po +#include serial/$(DEPDIR)/proxy.Po +#include src/$(DEPDIR)/adapter.Po +#include src/$(DEPDIR)/agent.Po +#include src/$(DEPDIR)/btio.Po +#include src/$(DEPDIR)/dbus-common.Po +#include src/$(DEPDIR)/dbus-hci.Po +#include src/$(DEPDIR)/device.Po +#include src/$(DEPDIR)/error.Po +#include src/$(DEPDIR)/glib-helper.Po +#include src/$(DEPDIR)/log.Po +#include src/$(DEPDIR)/main.Po +#include src/$(DEPDIR)/manager.Po +#include src/$(DEPDIR)/oui.Po +#include src/$(DEPDIR)/plugin.Po +#include src/$(DEPDIR)/rfkill.Po +#include src/$(DEPDIR)/sdp-xml.Po +#include src/$(DEPDIR)/sdpd-database.Po +#include src/$(DEPDIR)/sdpd-request.Po +#include src/$(DEPDIR)/sdpd-server.Po +#include src/$(DEPDIR)/sdpd-service.Po +#include src/$(DEPDIR)/security.Po +#include src/$(DEPDIR)/storage.Po +#include src/$(DEPDIR)/textfile.Po +#include test/$(DEPDIR)/agent.Po +#include test/$(DEPDIR)/attest.Po +#include test/$(DEPDIR)/avtest.Po +#include test/$(DEPDIR)/bdaddr.Po +#include test/$(DEPDIR)/btiotest.Po +#include test/$(DEPDIR)/gaptest.Po +#include test/$(DEPDIR)/hciemu.Po +#include test/$(DEPDIR)/hstest.Po +#include test/$(DEPDIR)/ipctest.Po +#include test/$(DEPDIR)/l2test.Po +#include test/$(DEPDIR)/lmptest.Po +#include test/$(DEPDIR)/rctest.Po +#include test/$(DEPDIR)/scotest.Po +#include test/$(DEPDIR)/sdptest.Po +#include test/$(DEPDIR)/test-textfile.Po +#include tools/$(DEPDIR)/avctrl.Po +#include tools/$(DEPDIR)/avinfo.Po +#include tools/$(DEPDIR)/bccmd.Po +#include tools/$(DEPDIR)/ciptool.Po +#include tools/$(DEPDIR)/csr.Po +#include tools/$(DEPDIR)/csr_3wire.Po +#include tools/$(DEPDIR)/csr_bcsp.Po +#include tools/$(DEPDIR)/csr_h4.Po +#include tools/$(DEPDIR)/csr_hci.Po +#include tools/$(DEPDIR)/csr_usb.Po +#include tools/$(DEPDIR)/dfu.Po +#include tools/$(DEPDIR)/dfubabel.Po +#include tools/$(DEPDIR)/dfutool.Po +#include tools/$(DEPDIR)/hciattach.Po +#include tools/$(DEPDIR)/hciattach_st.Po +#include tools/$(DEPDIR)/hciattach_ti.Po +#include tools/$(DEPDIR)/hciattach_tialt.Po +#include tools/$(DEPDIR)/hciconfig.Po +#include tools/$(DEPDIR)/hcieventmask.Po +#include tools/$(DEPDIR)/hcisecfilter.Po +#include tools/$(DEPDIR)/hcitool.Po +#include tools/$(DEPDIR)/hid2hci.Po +#include tools/$(DEPDIR)/kword.Po +#include tools/$(DEPDIR)/l2ping.Po +#include tools/$(DEPDIR)/lexer.Po +#include tools/$(DEPDIR)/main.Po +#include tools/$(DEPDIR)/parser.Po +#include tools/$(DEPDIR)/ppporc.Po +#include tools/$(DEPDIR)/sdptool.Po +#include tools/$(DEPDIR)/ubcsp.Po +#include tracer/$(DEPDIR)/main.Po + +.c.o: +# $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ +# $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +# $(am__mv) $$depbase.Tpo $$depbase.Po + $(AM_V_CC) \ +# source='$<' object='$@' libtool=no +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(COMPILE) -c -o $@ $< + +.c.obj: +# $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ +# $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ +# $(am__mv) $$depbase.Tpo $$depbase.Po + $(AM_V_CC) \ +# source='$<' object='$@' libtool=no +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` + +.c.lo: +# $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ +# $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ +# $(am__mv) $$depbase.Tpo $$depbase.Plo + $(AM_V_CC) \ +# source='$<' object='$@' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LTCOMPILE) -c -o $@ $< + +audio/audio_libasound_module_ctl_bluetooth_la-ctl_bluetooth.lo: audio/ctl_bluetooth.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libasound_module_ctl_bluetooth_la_CFLAGS) $(CFLAGS) -MT audio/audio_libasound_module_ctl_bluetooth_la-ctl_bluetooth.lo -MD -MP -MF audio/$(DEPDIR)/audio_libasound_module_ctl_bluetooth_la-ctl_bluetooth.Tpo -c -o audio/audio_libasound_module_ctl_bluetooth_la-ctl_bluetooth.lo `test -f 'audio/ctl_bluetooth.c' || echo '$(srcdir)/'`audio/ctl_bluetooth.c +# $(AM_V_at)$(am__mv) audio/$(DEPDIR)/audio_libasound_module_ctl_bluetooth_la-ctl_bluetooth.Tpo audio/$(DEPDIR)/audio_libasound_module_ctl_bluetooth_la-ctl_bluetooth.Plo + $(AM_V_CC) \ +# source='audio/ctl_bluetooth.c' object='audio/audio_libasound_module_ctl_bluetooth_la-ctl_bluetooth.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libasound_module_ctl_bluetooth_la_CFLAGS) $(CFLAGS) -c -o audio/audio_libasound_module_ctl_bluetooth_la-ctl_bluetooth.lo `test -f 'audio/ctl_bluetooth.c' || echo '$(srcdir)/'`audio/ctl_bluetooth.c + +audio/audio_libasound_module_ctl_bluetooth_la-ipc.lo: audio/ipc.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libasound_module_ctl_bluetooth_la_CFLAGS) $(CFLAGS) -MT audio/audio_libasound_module_ctl_bluetooth_la-ipc.lo -MD -MP -MF audio/$(DEPDIR)/audio_libasound_module_ctl_bluetooth_la-ipc.Tpo -c -o audio/audio_libasound_module_ctl_bluetooth_la-ipc.lo `test -f 'audio/ipc.c' || echo '$(srcdir)/'`audio/ipc.c +# $(AM_V_at)$(am__mv) audio/$(DEPDIR)/audio_libasound_module_ctl_bluetooth_la-ipc.Tpo audio/$(DEPDIR)/audio_libasound_module_ctl_bluetooth_la-ipc.Plo + $(AM_V_CC) \ +# source='audio/ipc.c' object='audio/audio_libasound_module_ctl_bluetooth_la-ipc.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libasound_module_ctl_bluetooth_la_CFLAGS) $(CFLAGS) -c -o audio/audio_libasound_module_ctl_bluetooth_la-ipc.lo `test -f 'audio/ipc.c' || echo '$(srcdir)/'`audio/ipc.c + +audio/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo: audio/pcm_bluetooth.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libasound_module_pcm_bluetooth_la_CFLAGS) $(CFLAGS) -MT audio/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo -MD -MP -MF audio/$(DEPDIR)/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.Tpo -c -o audio/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo `test -f 'audio/pcm_bluetooth.c' || echo '$(srcdir)/'`audio/pcm_bluetooth.c +# $(AM_V_at)$(am__mv) audio/$(DEPDIR)/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.Tpo audio/$(DEPDIR)/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.Plo + $(AM_V_CC) \ +# source='audio/pcm_bluetooth.c' object='audio/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libasound_module_pcm_bluetooth_la_CFLAGS) $(CFLAGS) -c -o audio/audio_libasound_module_pcm_bluetooth_la-pcm_bluetooth.lo `test -f 'audio/pcm_bluetooth.c' || echo '$(srcdir)/'`audio/pcm_bluetooth.c + +audio/audio_libasound_module_pcm_bluetooth_la-ipc.lo: audio/ipc.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libasound_module_pcm_bluetooth_la_CFLAGS) $(CFLAGS) -MT audio/audio_libasound_module_pcm_bluetooth_la-ipc.lo -MD -MP -MF audio/$(DEPDIR)/audio_libasound_module_pcm_bluetooth_la-ipc.Tpo -c -o audio/audio_libasound_module_pcm_bluetooth_la-ipc.lo `test -f 'audio/ipc.c' || echo '$(srcdir)/'`audio/ipc.c +# $(AM_V_at)$(am__mv) audio/$(DEPDIR)/audio_libasound_module_pcm_bluetooth_la-ipc.Tpo audio/$(DEPDIR)/audio_libasound_module_pcm_bluetooth_la-ipc.Plo + $(AM_V_CC) \ +# source='audio/ipc.c' object='audio/audio_libasound_module_pcm_bluetooth_la-ipc.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libasound_module_pcm_bluetooth_la_CFLAGS) $(CFLAGS) -c -o audio/audio_libasound_module_pcm_bluetooth_la-ipc.lo `test -f 'audio/ipc.c' || echo '$(srcdir)/'`audio/ipc.c + +audio/audio_libgstbluetooth_la-gstbluetooth.lo: audio/gstbluetooth.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -MT audio/audio_libgstbluetooth_la-gstbluetooth.lo -MD -MP -MF audio/$(DEPDIR)/audio_libgstbluetooth_la-gstbluetooth.Tpo -c -o audio/audio_libgstbluetooth_la-gstbluetooth.lo `test -f 'audio/gstbluetooth.c' || echo '$(srcdir)/'`audio/gstbluetooth.c +# $(AM_V_at)$(am__mv) audio/$(DEPDIR)/audio_libgstbluetooth_la-gstbluetooth.Tpo audio/$(DEPDIR)/audio_libgstbluetooth_la-gstbluetooth.Plo + $(AM_V_CC) \ +# source='audio/gstbluetooth.c' object='audio/audio_libgstbluetooth_la-gstbluetooth.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -c -o audio/audio_libgstbluetooth_la-gstbluetooth.lo `test -f 'audio/gstbluetooth.c' || echo '$(srcdir)/'`audio/gstbluetooth.c + +audio/audio_libgstbluetooth_la-gstsbcenc.lo: audio/gstsbcenc.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -MT audio/audio_libgstbluetooth_la-gstsbcenc.lo -MD -MP -MF audio/$(DEPDIR)/audio_libgstbluetooth_la-gstsbcenc.Tpo -c -o audio/audio_libgstbluetooth_la-gstsbcenc.lo `test -f 'audio/gstsbcenc.c' || echo '$(srcdir)/'`audio/gstsbcenc.c +# $(AM_V_at)$(am__mv) audio/$(DEPDIR)/audio_libgstbluetooth_la-gstsbcenc.Tpo audio/$(DEPDIR)/audio_libgstbluetooth_la-gstsbcenc.Plo + $(AM_V_CC) \ +# source='audio/gstsbcenc.c' object='audio/audio_libgstbluetooth_la-gstsbcenc.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -c -o audio/audio_libgstbluetooth_la-gstsbcenc.lo `test -f 'audio/gstsbcenc.c' || echo '$(srcdir)/'`audio/gstsbcenc.c + +audio/audio_libgstbluetooth_la-gstsbcdec.lo: audio/gstsbcdec.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -MT audio/audio_libgstbluetooth_la-gstsbcdec.lo -MD -MP -MF audio/$(DEPDIR)/audio_libgstbluetooth_la-gstsbcdec.Tpo -c -o audio/audio_libgstbluetooth_la-gstsbcdec.lo `test -f 'audio/gstsbcdec.c' || echo '$(srcdir)/'`audio/gstsbcdec.c +# $(AM_V_at)$(am__mv) audio/$(DEPDIR)/audio_libgstbluetooth_la-gstsbcdec.Tpo audio/$(DEPDIR)/audio_libgstbluetooth_la-gstsbcdec.Plo + $(AM_V_CC) \ +# source='audio/gstsbcdec.c' object='audio/audio_libgstbluetooth_la-gstsbcdec.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -c -o audio/audio_libgstbluetooth_la-gstsbcdec.lo `test -f 'audio/gstsbcdec.c' || echo '$(srcdir)/'`audio/gstsbcdec.c + +audio/audio_libgstbluetooth_la-gstsbcparse.lo: audio/gstsbcparse.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -MT audio/audio_libgstbluetooth_la-gstsbcparse.lo -MD -MP -MF audio/$(DEPDIR)/audio_libgstbluetooth_la-gstsbcparse.Tpo -c -o audio/audio_libgstbluetooth_la-gstsbcparse.lo `test -f 'audio/gstsbcparse.c' || echo '$(srcdir)/'`audio/gstsbcparse.c +# $(AM_V_at)$(am__mv) audio/$(DEPDIR)/audio_libgstbluetooth_la-gstsbcparse.Tpo audio/$(DEPDIR)/audio_libgstbluetooth_la-gstsbcparse.Plo + $(AM_V_CC) \ +# source='audio/gstsbcparse.c' object='audio/audio_libgstbluetooth_la-gstsbcparse.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -c -o audio/audio_libgstbluetooth_la-gstsbcparse.lo `test -f 'audio/gstsbcparse.c' || echo '$(srcdir)/'`audio/gstsbcparse.c + +audio/audio_libgstbluetooth_la-gstavdtpsink.lo: audio/gstavdtpsink.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -MT audio/audio_libgstbluetooth_la-gstavdtpsink.lo -MD -MP -MF audio/$(DEPDIR)/audio_libgstbluetooth_la-gstavdtpsink.Tpo -c -o audio/audio_libgstbluetooth_la-gstavdtpsink.lo `test -f 'audio/gstavdtpsink.c' || echo '$(srcdir)/'`audio/gstavdtpsink.c +# $(AM_V_at)$(am__mv) audio/$(DEPDIR)/audio_libgstbluetooth_la-gstavdtpsink.Tpo audio/$(DEPDIR)/audio_libgstbluetooth_la-gstavdtpsink.Plo + $(AM_V_CC) \ +# source='audio/gstavdtpsink.c' object='audio/audio_libgstbluetooth_la-gstavdtpsink.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -c -o audio/audio_libgstbluetooth_la-gstavdtpsink.lo `test -f 'audio/gstavdtpsink.c' || echo '$(srcdir)/'`audio/gstavdtpsink.c + +audio/audio_libgstbluetooth_la-gsta2dpsink.lo: audio/gsta2dpsink.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -MT audio/audio_libgstbluetooth_la-gsta2dpsink.lo -MD -MP -MF audio/$(DEPDIR)/audio_libgstbluetooth_la-gsta2dpsink.Tpo -c -o audio/audio_libgstbluetooth_la-gsta2dpsink.lo `test -f 'audio/gsta2dpsink.c' || echo '$(srcdir)/'`audio/gsta2dpsink.c +# $(AM_V_at)$(am__mv) audio/$(DEPDIR)/audio_libgstbluetooth_la-gsta2dpsink.Tpo audio/$(DEPDIR)/audio_libgstbluetooth_la-gsta2dpsink.Plo + $(AM_V_CC) \ +# source='audio/gsta2dpsink.c' object='audio/audio_libgstbluetooth_la-gsta2dpsink.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -c -o audio/audio_libgstbluetooth_la-gsta2dpsink.lo `test -f 'audio/gsta2dpsink.c' || echo '$(srcdir)/'`audio/gsta2dpsink.c + +audio/audio_libgstbluetooth_la-gstsbcutil.lo: audio/gstsbcutil.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -MT audio/audio_libgstbluetooth_la-gstsbcutil.lo -MD -MP -MF audio/$(DEPDIR)/audio_libgstbluetooth_la-gstsbcutil.Tpo -c -o audio/audio_libgstbluetooth_la-gstsbcutil.lo `test -f 'audio/gstsbcutil.c' || echo '$(srcdir)/'`audio/gstsbcutil.c +# $(AM_V_at)$(am__mv) audio/$(DEPDIR)/audio_libgstbluetooth_la-gstsbcutil.Tpo audio/$(DEPDIR)/audio_libgstbluetooth_la-gstsbcutil.Plo + $(AM_V_CC) \ +# source='audio/gstsbcutil.c' object='audio/audio_libgstbluetooth_la-gstsbcutil.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -c -o audio/audio_libgstbluetooth_la-gstsbcutil.lo `test -f 'audio/gstsbcutil.c' || echo '$(srcdir)/'`audio/gstsbcutil.c + +audio/audio_libgstbluetooth_la-gstrtpsbcpay.lo: audio/gstrtpsbcpay.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -MT audio/audio_libgstbluetooth_la-gstrtpsbcpay.lo -MD -MP -MF audio/$(DEPDIR)/audio_libgstbluetooth_la-gstrtpsbcpay.Tpo -c -o audio/audio_libgstbluetooth_la-gstrtpsbcpay.lo `test -f 'audio/gstrtpsbcpay.c' || echo '$(srcdir)/'`audio/gstrtpsbcpay.c +# $(AM_V_at)$(am__mv) audio/$(DEPDIR)/audio_libgstbluetooth_la-gstrtpsbcpay.Tpo audio/$(DEPDIR)/audio_libgstbluetooth_la-gstrtpsbcpay.Plo + $(AM_V_CC) \ +# source='audio/gstrtpsbcpay.c' object='audio/audio_libgstbluetooth_la-gstrtpsbcpay.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -c -o audio/audio_libgstbluetooth_la-gstrtpsbcpay.lo `test -f 'audio/gstrtpsbcpay.c' || echo '$(srcdir)/'`audio/gstrtpsbcpay.c + +audio/audio_libgstbluetooth_la-ipc.lo: audio/ipc.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -MT audio/audio_libgstbluetooth_la-ipc.lo -MD -MP -MF audio/$(DEPDIR)/audio_libgstbluetooth_la-ipc.Tpo -c -o audio/audio_libgstbluetooth_la-ipc.lo `test -f 'audio/ipc.c' || echo '$(srcdir)/'`audio/ipc.c +# $(AM_V_at)$(am__mv) audio/$(DEPDIR)/audio_libgstbluetooth_la-ipc.Tpo audio/$(DEPDIR)/audio_libgstbluetooth_la-ipc.Plo + $(AM_V_CC) \ +# source='audio/ipc.c' object='audio/audio_libgstbluetooth_la-ipc.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(audio_libgstbluetooth_la_CFLAGS) $(CFLAGS) -c -o audio/audio_libgstbluetooth_la-ipc.lo `test -f 'audio/ipc.c' || echo '$(srcdir)/'`audio/ipc.c + +plugins/plugins_netlink_la-netlink.lo: plugins/netlink.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugins_netlink_la_CFLAGS) $(CFLAGS) -MT plugins/plugins_netlink_la-netlink.lo -MD -MP -MF plugins/$(DEPDIR)/plugins_netlink_la-netlink.Tpo -c -o plugins/plugins_netlink_la-netlink.lo `test -f 'plugins/netlink.c' || echo '$(srcdir)/'`plugins/netlink.c +# $(AM_V_at)$(am__mv) plugins/$(DEPDIR)/plugins_netlink_la-netlink.Tpo plugins/$(DEPDIR)/plugins_netlink_la-netlink.Plo + $(AM_V_CC) \ +# source='plugins/netlink.c' object='plugins/plugins_netlink_la-netlink.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugins_netlink_la_CFLAGS) $(CFLAGS) -c -o plugins/plugins_netlink_la-netlink.lo `test -f 'plugins/netlink.c' || echo '$(srcdir)/'`plugins/netlink.c + +sbc/sbc_libsbc_la-sbc.lo: sbc/sbc.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sbc_libsbc_la_CFLAGS) $(CFLAGS) -MT sbc/sbc_libsbc_la-sbc.lo -MD -MP -MF sbc/$(DEPDIR)/sbc_libsbc_la-sbc.Tpo -c -o sbc/sbc_libsbc_la-sbc.lo `test -f 'sbc/sbc.c' || echo '$(srcdir)/'`sbc/sbc.c +# $(AM_V_at)$(am__mv) sbc/$(DEPDIR)/sbc_libsbc_la-sbc.Tpo sbc/$(DEPDIR)/sbc_libsbc_la-sbc.Plo + $(AM_V_CC) \ +# source='sbc/sbc.c' object='sbc/sbc_libsbc_la-sbc.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sbc_libsbc_la_CFLAGS) $(CFLAGS) -c -o sbc/sbc_libsbc_la-sbc.lo `test -f 'sbc/sbc.c' || echo '$(srcdir)/'`sbc/sbc.c + +sbc/sbc_libsbc_la-sbc_primitives.lo: sbc/sbc_primitives.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sbc_libsbc_la_CFLAGS) $(CFLAGS) -MT sbc/sbc_libsbc_la-sbc_primitives.lo -MD -MP -MF sbc/$(DEPDIR)/sbc_libsbc_la-sbc_primitives.Tpo -c -o sbc/sbc_libsbc_la-sbc_primitives.lo `test -f 'sbc/sbc_primitives.c' || echo '$(srcdir)/'`sbc/sbc_primitives.c +# $(AM_V_at)$(am__mv) sbc/$(DEPDIR)/sbc_libsbc_la-sbc_primitives.Tpo sbc/$(DEPDIR)/sbc_libsbc_la-sbc_primitives.Plo + $(AM_V_CC) \ +# source='sbc/sbc_primitives.c' object='sbc/sbc_libsbc_la-sbc_primitives.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sbc_libsbc_la_CFLAGS) $(CFLAGS) -c -o sbc/sbc_libsbc_la-sbc_primitives.lo `test -f 'sbc/sbc_primitives.c' || echo '$(srcdir)/'`sbc/sbc_primitives.c + +sbc/sbc_libsbc_la-sbc_primitives_mmx.lo: sbc/sbc_primitives_mmx.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sbc_libsbc_la_CFLAGS) $(CFLAGS) -MT sbc/sbc_libsbc_la-sbc_primitives_mmx.lo -MD -MP -MF sbc/$(DEPDIR)/sbc_libsbc_la-sbc_primitives_mmx.Tpo -c -o sbc/sbc_libsbc_la-sbc_primitives_mmx.lo `test -f 'sbc/sbc_primitives_mmx.c' || echo '$(srcdir)/'`sbc/sbc_primitives_mmx.c +# $(AM_V_at)$(am__mv) sbc/$(DEPDIR)/sbc_libsbc_la-sbc_primitives_mmx.Tpo sbc/$(DEPDIR)/sbc_libsbc_la-sbc_primitives_mmx.Plo + $(AM_V_CC) \ +# source='sbc/sbc_primitives_mmx.c' object='sbc/sbc_libsbc_la-sbc_primitives_mmx.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sbc_libsbc_la_CFLAGS) $(CFLAGS) -c -o sbc/sbc_libsbc_la-sbc_primitives_mmx.lo `test -f 'sbc/sbc_primitives_mmx.c' || echo '$(srcdir)/'`sbc/sbc_primitives_mmx.c + +sbc/sbc_libsbc_la-sbc_primitives_neon.lo: sbc/sbc_primitives_neon.c +# $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sbc_libsbc_la_CFLAGS) $(CFLAGS) -MT sbc/sbc_libsbc_la-sbc_primitives_neon.lo -MD -MP -MF sbc/$(DEPDIR)/sbc_libsbc_la-sbc_primitives_neon.Tpo -c -o sbc/sbc_libsbc_la-sbc_primitives_neon.lo `test -f 'sbc/sbc_primitives_neon.c' || echo '$(srcdir)/'`sbc/sbc_primitives_neon.c +# $(AM_V_at)$(am__mv) sbc/$(DEPDIR)/sbc_libsbc_la-sbc_primitives_neon.Tpo sbc/$(DEPDIR)/sbc_libsbc_la-sbc_primitives_neon.Plo + $(AM_V_CC) \ +# source='sbc/sbc_primitives_neon.c' object='sbc/sbc_libsbc_la-sbc_primitives_neon.lo' libtool=yes +# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) + $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(sbc_libsbc_la_CFLAGS) $(CFLAGS) -c -o sbc/sbc_libsbc_la-sbc_primitives_neon.lo `test -f 'sbc/sbc_primitives_neon.c' || echo '$(srcdir)/'`sbc/sbc_primitives_neon.c + +.l.c: + $(AM_V_LEX)$(am__skiplex) $(SHELL) $(YLWRAP) $< $(LEX_OUTPUT_ROOT).c $@ -- $(LEXCOMPILE) + +.y.c: + $(AM_V_YACC)$(am__skipyacc) $(SHELL) $(YLWRAP) $< y.tab.c $@ y.tab.h $*.h y.output $*.output -- $(YACCCOMPILE) + +mostlyclean-libtool: + -rm -f *.lo + +clean-libtool: + -rm -rf .libs _libs + -rm -rf audio/.libs audio/_libs + -rm -rf compat/.libs compat/_libs + -rm -rf cups/.libs cups/_libs + -rm -rf lib/.libs lib/_libs + -rm -rf plugins/.libs plugins/_libs + -rm -rf sbc/.libs sbc/_libs + -rm -rf src/.libs src/_libs + -rm -rf test/.libs test/_libs + -rm -rf tools/.libs tools/_libs + -rm -rf tracer/.libs tracer/_libs + +distclean-libtool: + -rm -f libtool config.lt +install-man1: $(dist_man_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)" + @list=''; test -n "$(man1dir)" || exit 0; \ + { for i in $$list; do echo "$$i"; done; \ + l2='$(dist_man_MANS) $(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.1[a-z]*$$/p'; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ + done | \ + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ + sed 'N;N;s,\n, ,g' | { \ + list=; while read file base inst; do \ + if test "$$base" = "$$inst"; then list="$$list $$file"; else \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \ + fi; \ + done; \ + for i in $$list; do echo "$$i"; done | $(am__base_list) | \ + while read files; do \ + test -z "$$files" || { \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \ + done; } + +uninstall-man1: + @$(NORMAL_UNINSTALL) + @list=''; test -n "$(man1dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ + l2='$(dist_man_MANS) $(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.1[a-z]*$$/p'; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + test -z "$$files" || { \ + echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(man1dir)" && rm -f $$files; } +install-man8: $(dist_man_MANS) $(man_MANS) + @$(NORMAL_INSTALL) + test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)" + @list=''; test -n "$(man8dir)" || exit 0; \ + { for i in $$list; do echo "$$i"; done; \ + l2='$(dist_man_MANS) $(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.8[a-z]*$$/p'; \ + } | while read p; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; echo "$$p"; \ + done | \ + sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ + sed 'N;N;s,\n, ,g' | { \ + list=; while read file base inst; do \ + if test "$$base" = "$$inst"; then list="$$list $$file"; else \ + echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \ + $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \ + fi; \ + done; \ + for i in $$list; do echo "$$i"; done | $(am__base_list) | \ + while read files; do \ + test -z "$$files" || { \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \ + done; } + +uninstall-man8: + @$(NORMAL_UNINSTALL) + @list=''; test -n "$(man8dir)" || exit 0; \ + files=`{ for i in $$list; do echo "$$i"; done; \ + l2='$(dist_man_MANS) $(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ + sed -n '/\.8[a-z]*$$/p'; \ + } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \ + -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ + test -z "$$files" || { \ + echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(man8dir)" && rm -f $$files; } +install-alsaconfDATA: $(alsaconf_DATA) + @$(NORMAL_INSTALL) + test -z "$(alsaconfdir)" || $(MKDIR_P) "$(DESTDIR)$(alsaconfdir)" + @list='$(alsaconf_DATA)'; test -n "$(alsaconfdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(alsaconfdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(alsaconfdir)" || exit $$?; \ + done + +uninstall-alsaconfDATA: + @$(NORMAL_UNINSTALL) + @list='$(alsaconf_DATA)'; test -n "$(alsaconfdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(alsaconfdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(alsaconfdir)" && rm -f $$files +install-confDATA: $(conf_DATA) + @$(NORMAL_INSTALL) + test -z "$(confdir)" || $(MKDIR_P) "$(DESTDIR)$(confdir)" + @list='$(conf_DATA)'; test -n "$(confdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(confdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(confdir)" || exit $$?; \ + done + +uninstall-confDATA: + @$(NORMAL_UNINSTALL) + @list='$(conf_DATA)'; test -n "$(confdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(confdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(confdir)" && rm -f $$files +install-dbusDATA: $(dbus_DATA) + @$(NORMAL_INSTALL) + test -z "$(dbusdir)" || $(MKDIR_P) "$(DESTDIR)$(dbusdir)" + @list='$(dbus_DATA)'; test -n "$(dbusdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(dbusdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(dbusdir)" || exit $$?; \ + done + +uninstall-dbusDATA: + @$(NORMAL_UNINSTALL) + @list='$(dbus_DATA)'; test -n "$(dbusdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(dbusdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(dbusdir)" && rm -f $$files +install-pkgconfigDATA: $(pkgconfig_DATA) + @$(NORMAL_INSTALL) + test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \ + done + +uninstall-pkgconfigDATA: + @$(NORMAL_UNINSTALL) + @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(pkgconfigdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(pkgconfigdir)" && rm -f $$files +install-rulesDATA: $(rules_DATA) + @$(NORMAL_INSTALL) + test -z "$(rulesdir)" || $(MKDIR_P) "$(DESTDIR)$(rulesdir)" + @list='$(rules_DATA)'; test -n "$(rulesdir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(rulesdir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(rulesdir)" || exit $$?; \ + done + +uninstall-rulesDATA: + @$(NORMAL_UNINSTALL) + @list='$(rules_DATA)'; test -n "$(rulesdir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(rulesdir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(rulesdir)" && rm -f $$files +install-stateDATA: $(state_DATA) + @$(NORMAL_INSTALL) + test -z "$(statedir)" || $(MKDIR_P) "$(DESTDIR)$(statedir)" + @list='$(state_DATA)'; test -n "$(statedir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(statedir)'"; \ + $(INSTALL_DATA) $$files "$(DESTDIR)$(statedir)" || exit $$?; \ + done + +uninstall-stateDATA: + @$(NORMAL_UNINSTALL) + @list='$(state_DATA)'; test -n "$(statedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(statedir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(statedir)" && rm -f $$files +install-includeHEADERS: $(include_HEADERS) + @$(NORMAL_INSTALL) + test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)" + @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ + for p in $$list; do \ + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ + echo "$$d$$p"; \ + done | $(am__base_list) | \ + while read files; do \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \ + done + +uninstall-includeHEADERS: + @$(NORMAL_UNINSTALL) + @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \ + files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ + test -n "$$files" || exit 0; \ + echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \ + cd "$(DESTDIR)$(includedir)" && rm -f $$files + +ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES) + list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + mkid -fID $$unique +tags: TAGS + +TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + set x; \ + here=`pwd`; \ + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + shift; \ + if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \ + test -n "$$unique" || unique=$$empty_fix; \ + if test $$# -gt 0; then \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + "$$@" $$unique; \ + else \ + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ + $$unique; \ + fi; \ + fi +ctags: CTAGS +CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ + $(TAGS_FILES) $(LISP) + list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \ + unique=`for i in $$list; do \ + if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ + done | \ + $(AWK) '{ files[$$0] = 1; nonempty = 1; } \ + END { if (nonempty) { for (i in files) print i; }; }'`; \ + test -z "$(CTAGS_ARGS)$$unique" \ + || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \ + $$unique + +GTAGS: + here=`$(am__cd) $(top_builddir) && pwd` \ + && $(am__cd) $(top_srcdir) \ + && gtags -i $(GTAGS_ARGS) "$$here" + +distclean-tags: + -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags + +distdir: $(DISTFILES) + @list='$(MANS)'; if test -n "$$list"; then \ + list=`for p in $$list; do \ + if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ + if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \ + if test -n "$$list" && \ + grep 'ab help2man is required to generate this page' $$list >/dev/null; then \ + echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \ + grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \ + echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \ + echo " typically \`make maintainer-clean' will remove them" >&2; \ + exit 1; \ + else :; fi; \ + else :; fi + $(am__remove_distdir) + test -d "$(distdir)" || mkdir "$(distdir)" + @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \ + list='$(DISTFILES)'; \ + dist_files=`for file in $$list; do echo $$file; done | \ + sed -e "s|^$$srcdirstrip/||;t" \ + -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \ + case $$dist_files in \ + */*) $(MKDIR_P) `echo "$$dist_files" | \ + sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \ + sort -u` ;; \ + esac; \ + for file in $$dist_files; do \ + if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \ + if test -d $$d/$$file; then \ + dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \ + if test -d "$(distdir)/$$file"; then \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \ + cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \ + find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \ + fi; \ + cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \ + else \ + test -f "$(distdir)/$$file" \ + || cp -p $$d/$$file "$(distdir)/$$file" \ + || exit 1; \ + fi; \ + done + -test -n "$(am__skip_mode_fix)" \ + || find "$(distdir)" -type d ! -perm -755 \ + -exec chmod u+rwx,go+rx {} \; -o \ + ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -400 -exec chmod a+r {} \; -o \ + ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ + || chmod -R a+r "$(distdir)" +dist-gzip: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +dist-bzip2: distdir + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 + $(am__remove_distdir) + +dist-lzma: distdir + tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma + $(am__remove_distdir) + +dist-xz: distdir + tardir=$(distdir) && $(am__tar) | xz -c >$(distdir).tar.xz + $(am__remove_distdir) + +dist-tarZ: distdir + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z + $(am__remove_distdir) + +dist-shar: distdir + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz + $(am__remove_distdir) + +dist-zip: distdir + -rm -f $(distdir).zip + zip -rq $(distdir).zip $(distdir) + $(am__remove_distdir) + +dist dist-all: distdir + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz + $(am__remove_distdir) + +# This target untars the dist file and tries a VPATH configuration. Then +# it guarantees that the distribution is self-contained by making another +# tarfile. +distcheck: dist + case '$(DIST_ARCHIVES)' in \ + *.tar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ + *.tar.bz2*) \ + bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ + *.tar.lzma*) \ + lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ + *.tar.xz*) \ + xz -dc $(distdir).tar.xz | $(am__untar) ;;\ + *.tar.Z*) \ + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ + *.shar.gz*) \ + GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ + *.zip*) \ + unzip $(distdir).zip ;;\ + esac + chmod -R a-w $(distdir); chmod a+w $(distdir) + mkdir $(distdir)/_build + mkdir $(distdir)/_inst + chmod a-w $(distdir) + test -d $(distdir)/_build || exit 0; \ + dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \ + && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \ + && am__cwd=`pwd` \ + && $(am__cd) $(distdir)/_build \ + && ../configure --srcdir=.. --prefix="$$dc_install_base" \ + $(DISTCHECK_CONFIGURE_FLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) \ + && $(MAKE) $(AM_MAKEFLAGS) dvi \ + && $(MAKE) $(AM_MAKEFLAGS) check \ + && $(MAKE) $(AM_MAKEFLAGS) install \ + && $(MAKE) $(AM_MAKEFLAGS) installcheck \ + && $(MAKE) $(AM_MAKEFLAGS) uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \ + distuninstallcheck \ + && chmod -R a-w "$$dc_install_base" \ + && ({ \ + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ + && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \ + distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \ + } || { rm -rf "$$dc_destdir"; exit 1; }) \ + && rm -rf "$$dc_destdir" \ + && $(MAKE) $(AM_MAKEFLAGS) dist \ + && rm -rf $(DIST_ARCHIVES) \ + && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \ + && cd "$$am__cwd" \ + || exit 1 + $(am__remove_distdir) + @(echo "$(distdir) archives ready for distribution: "; \ + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \ + sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x' +distuninstallcheck: + @$(am__cd) '$(distuninstallcheck_dir)' \ + && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \ + || { echo "ERROR: files left after uninstall:" ; \ + if test -n "$(DESTDIR)"; then \ + echo " (check DESTDIR support)"; \ + fi ; \ + $(distuninstallcheck_listfiles) ; \ + exit 1; } >&2 +distcleancheck: distclean + @if test '$(srcdir)' = . ; then \ + echo "ERROR: distcleancheck can only run from a VPATH build" ; \ + exit 1 ; \ + fi + @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \ + || { echo "ERROR: files left in build directory after distclean:" ; \ + $(distcleancheck_listfiles) ; \ + exit 1; } >&2 +check-am: all-am +check: check-am +all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) $(PROGRAMS) $(SCRIPTS) \ + $(MANS) $(DATA) $(HEADERS) config.h +install-binPROGRAMS: install-libLTLIBRARIES + +installdirs: + for dir in "$(DESTDIR)$(alsadir)" "$(DESTDIR)$(gstreamerdir)" "$(DESTDIR)$(libdir)" "$(DESTDIR)$(plugindir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(cupsdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(udevdir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(alsaconfdir)" "$(DESTDIR)$(confdir)" "$(DESTDIR)$(dbusdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(rulesdir)" "$(DESTDIR)$(statedir)" "$(DESTDIR)$(includedir)"; do \ + test -z "$$dir" || $(MKDIR_P) "$$dir"; \ + done +install: install-am +install-exec: install-exec-am +install-data: install-data-am +uninstall: uninstall-am + +install-am: all-am + @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + +installcheck: installcheck-am +install-strip: + $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ + install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ + `test -z '$(STRIP)' || \ + echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install +mostlyclean-generic: + +clean-generic: + -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES) + +distclean-generic: + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) + -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f audio/$(DEPDIR)/$(am__dirstamp) + -rm -f audio/$(am__dirstamp) + -rm -f compat/$(DEPDIR)/$(am__dirstamp) + -rm -f compat/$(am__dirstamp) + -rm -f cups/$(DEPDIR)/$(am__dirstamp) + -rm -f cups/$(am__dirstamp) + -rm -f gdbus/$(DEPDIR)/$(am__dirstamp) + -rm -f gdbus/$(am__dirstamp) + -rm -f input/$(DEPDIR)/$(am__dirstamp) + -rm -f input/$(am__dirstamp) + -rm -f lib/$(DEPDIR)/$(am__dirstamp) + -rm -f lib/$(am__dirstamp) + -rm -f network/$(DEPDIR)/$(am__dirstamp) + -rm -f network/$(am__dirstamp) + -rm -f plugins/$(DEPDIR)/$(am__dirstamp) + -rm -f plugins/$(am__dirstamp) + -rm -f sbc/$(DEPDIR)/$(am__dirstamp) + -rm -f sbc/$(am__dirstamp) + -rm -f serial/$(DEPDIR)/$(am__dirstamp) + -rm -f serial/$(am__dirstamp) + -rm -f src/$(DEPDIR)/$(am__dirstamp) + -rm -f src/$(am__dirstamp) + -rm -f test/$(DEPDIR)/$(am__dirstamp) + -rm -f test/$(am__dirstamp) + -rm -f tools/$(DEPDIR)/$(am__dirstamp) + -rm -f tools/$(am__dirstamp) + -rm -f tracer/$(DEPDIR)/$(am__dirstamp) + -rm -f tracer/$(am__dirstamp) + -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES) + +maintainer-clean-generic: + @echo "This command is intended for maintainers to use" + @echo "it deletes files that may require special tools to rebuild." + -rm -f tools/lexer.c + -rm -f tools/parser.c + -rm -f tools/parser.h + -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES) +clean: clean-am + +clean-am: clean-alsaLTLIBRARIES clean-binPROGRAMS clean-cupsPROGRAMS \ + clean-generic clean-gstreamerLTLIBRARIES clean-libLTLIBRARIES \ + clean-libtool clean-local clean-noinstLIBRARIES \ + clean-noinstLTLIBRARIES clean-noinstPROGRAMS \ + clean-pluginLTLIBRARIES clean-sbinPROGRAMS mostlyclean-am + +distclean: distclean-am + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf audio/$(DEPDIR) compat/$(DEPDIR) cups/$(DEPDIR) gdbus/$(DEPDIR) input/$(DEPDIR) lib/$(DEPDIR) network/$(DEPDIR) plugins/$(DEPDIR) sbc/$(DEPDIR) serial/$(DEPDIR) src/$(DEPDIR) test/$(DEPDIR) tools/$(DEPDIR) tracer/$(DEPDIR) + -rm -f Makefile +distclean-am: clean-am distclean-compile distclean-generic \ + distclean-hdr distclean-libtool distclean-tags + +dvi: dvi-am + +dvi-am: + +html: html-am + +html-am: + +info: info-am + +info-am: + +install-data-am: install-alsaLTLIBRARIES install-alsaconfDATA \ + install-confDATA install-cupsPROGRAMS install-dbusDATA \ + install-dist_udevSCRIPTS install-gstreamerLTLIBRARIES \ + install-includeHEADERS install-man install-pkgconfigDATA \ + install-pluginLTLIBRARIES install-rulesDATA install-stateDATA + +install-dvi: install-dvi-am + +install-dvi-am: + +install-exec-am: install-binPROGRAMS install-libLTLIBRARIES \ + install-sbinPROGRAMS + +install-html: install-html-am + +install-html-am: + +install-info: install-info-am + +install-info-am: + +install-man: install-man1 install-man8 + +install-pdf: install-pdf-am + +install-pdf-am: + +install-ps: install-ps-am + +install-ps-am: + +installcheck-am: + +maintainer-clean: maintainer-clean-am + -rm -f $(am__CONFIG_DISTCLEAN_FILES) + -rm -rf $(top_srcdir)/autom4te.cache + -rm -rf audio/$(DEPDIR) compat/$(DEPDIR) cups/$(DEPDIR) gdbus/$(DEPDIR) input/$(DEPDIR) lib/$(DEPDIR) network/$(DEPDIR) plugins/$(DEPDIR) sbc/$(DEPDIR) serial/$(DEPDIR) src/$(DEPDIR) test/$(DEPDIR) tools/$(DEPDIR) tracer/$(DEPDIR) + -rm -f Makefile +maintainer-clean-am: distclean-am maintainer-clean-generic + +mostlyclean: mostlyclean-am + +mostlyclean-am: mostlyclean-compile mostlyclean-generic \ + mostlyclean-libtool + +pdf: pdf-am + +pdf-am: + +ps: ps-am + +ps-am: + +uninstall-am: uninstall-alsaLTLIBRARIES uninstall-alsaconfDATA \ + uninstall-binPROGRAMS uninstall-confDATA \ + uninstall-cupsPROGRAMS uninstall-dbusDATA \ + uninstall-dist_udevSCRIPTS uninstall-gstreamerLTLIBRARIES \ + uninstall-includeHEADERS uninstall-libLTLIBRARIES \ + uninstall-man uninstall-pkgconfigDATA \ + uninstall-pluginLTLIBRARIES uninstall-rulesDATA \ + uninstall-sbinPROGRAMS uninstall-stateDATA + +uninstall-man: uninstall-man1 uninstall-man8 + +.MAKE: all install-am install-strip + +.PHONY: CTAGS GTAGS all all-am am--refresh check check-am clean \ + clean-alsaLTLIBRARIES clean-binPROGRAMS clean-cupsPROGRAMS \ + clean-generic clean-gstreamerLTLIBRARIES clean-libLTLIBRARIES \ + clean-libtool clean-local clean-noinstLIBRARIES \ + clean-noinstLTLIBRARIES clean-noinstPROGRAMS \ + clean-pluginLTLIBRARIES clean-sbinPROGRAMS ctags dist dist-all \ + dist-bzip2 dist-gzip dist-lzma dist-shar dist-tarZ dist-xz \ + dist-zip distcheck distclean distclean-compile \ + distclean-generic distclean-hdr distclean-libtool \ + distclean-tags distcleancheck distdir distuninstallcheck dvi \ + dvi-am html html-am info info-am install \ + install-alsaLTLIBRARIES install-alsaconfDATA install-am \ + install-binPROGRAMS install-confDATA install-cupsPROGRAMS \ + install-data install-data-am install-dbusDATA \ + install-dist_udevSCRIPTS install-dvi install-dvi-am \ + install-exec install-exec-am install-gstreamerLTLIBRARIES \ + install-html install-html-am install-includeHEADERS \ + install-info install-info-am install-libLTLIBRARIES \ + install-man install-man1 install-man8 install-pdf \ + install-pdf-am install-pkgconfigDATA install-pluginLTLIBRARIES \ + install-ps install-ps-am install-rulesDATA \ + install-sbinPROGRAMS install-stateDATA install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + tags uninstall uninstall-alsaLTLIBRARIES \ + uninstall-alsaconfDATA uninstall-am uninstall-binPROGRAMS \ + uninstall-confDATA uninstall-cupsPROGRAMS uninstall-dbusDATA \ + uninstall-dist_udevSCRIPTS uninstall-gstreamerLTLIBRARIES \ + uninstall-includeHEADERS uninstall-libLTLIBRARIES \ + uninstall-man uninstall-man1 uninstall-man8 \ + uninstall-pkgconfigDATA uninstall-pluginLTLIBRARIES \ + uninstall-rulesDATA uninstall-sbinPROGRAMS uninstall-stateDATA + + +src/plugin.$(OBJEXT): src/builtin.h + +src/builtin.h: src/genbuiltin $(builtin_sources) + $(AM_V_GEN)$(srcdir)/src/genbuiltin $(builtin_modules) > $@ + +src/bluetooth.exp: $(src_bluetoothd_OBJECTS) + $(AM_V_GEN)$(NM) $^ | $(AWK) '{ print $$3 }' | sort -u | \ + $(EGREP) -e '^btd_' -e '^g_dbus_' > $@ + $(AM_V_at)echo -e "info" >> $@ + $(AM_V_at)echo -e "error" >> $@ + $(AM_V_at)echo -e "debug" >> $@ + +src/bluetooth.ver: src/bluetooth.exp + $(AM_V_at)echo "{ global:" > $@ + $(AM_V_GEN)$(SED) -e "s/\(.*\)/\1;/" $< >> $@ + $(AM_V_at)echo "local: *; };" >> $@ + +audio/telephony.c: audio/telephony-dummy.c + $(AM_V_GEN)$(LN_S) $(abs_top_srcdir)/$< $@ + +scripts/%.rules: + $(AM_V_GEN)cp $(subst 97-,,$@) $@ + +$(lib_libbluetooth_la_OBJECTS): $(local_headers) + +lib/bluetooth/%.h: lib/%.h + $(AM_V_at)$(MKDIR_P) lib/bluetooth + $(AM_V_GEN)$(LN_S) $(abs_top_srcdir)/$< $@ + +clean-local: lib/bluetooth + @$(RM) -r $< + +# Tell versions [3.59,3.63) of GNU make to not export all variables. +# Otherwise a system limit (for SysV at least) may be exceeded. +.NOEXPORT: --- bluez-4.66.orig/config.log +++ bluez-4.66/config.log @@ -0,0 +1,2646 @@ +This file contains any messages produced by compilers while +running configure, to aid debugging if configure makes a mistake. + +It was created by bluez configure 4.66, which was +generated by GNU Autoconf 2.63. Invocation command line was + + $ /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/bluez --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules --srcdir=. --enable-gstreamer --enable-alsa --enable-usb --enable-netlink --enable-tools --enable-test --enable-bccmd --enable-hid2hci --enable-dfutool --enable-cups --enable-pcmcia --enable-debug --enable-hidd --enable-pand --enable-dund --enable-pnat --enable-tracer --enable-udevrules --enable-configfiles --enable-capng + +## --------- ## +## Platform. ## +## --------- ## + +hostname = chimagu +uname -m = x86_64 +uname -r = 2.6.32-5-amd64 +uname -s = Linux +uname -v = #1 SMP Thu Aug 19 18:19:56 JST 2010 + +/usr/bin/uname -p = unknown +/bin/uname -X = unknown + +/bin/arch = unknown +/usr/bin/arch -k = unknown +/usr/convex/getsysinfo = unknown +/usr/bin/hostinfo = unknown +/bin/machine = unknown +/usr/bin/oslevel = unknown +/bin/universe = unknown + +PATH: /usr/sbin +PATH: /usr/bin +PATH: /sbin +PATH: /bin +PATH: /usr/bin/X11 + + +## ----------- ## +## Core tests. ## +## ----------- ## + +configure:2261: checking for a BSD-compatible install +configure:2329: result: /usr/bin/install -c +configure:2340: checking whether build environment is sane +configure:2400: result: yes +configure:2541: checking for a thread-safe mkdir -p +configure:2580: result: /bin/mkdir -p +configure:2593: checking for gawk +configure:2609: found /usr/bin/gawk +configure:2620: result: gawk +configure:2631: checking whether make sets $(MAKE) +configure:2653: result: yes +configure:2752: checking whether to enable maintainer-specific portions of Makefiles +configure:2761: result: no +configure:2824: checking for pkg-config +configure:2842: found /usr/bin/pkg-config +configure:2854: result: /usr/bin/pkg-config +configure:2879: checking pkg-config is at least version 0.9.0 +configure:2882: result: yes +configure:3032: checking for gcc +configure:3048: found /usr/bin/gcc +configure:3059: result: gcc +configure:3291: checking for C compiler version +configure:3299: gcc --version >&5 +gcc (Debian 4.4.5-4) 4.4.5 +Copyright (C) 2010 Free Software Foundation, Inc. +This is free software; see the source for copying conditions. There is NO +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + +configure:3303: $? = 0 +configure:3310: gcc -v >&5 +Using built-in specs. +Target: x86_64-linux-gnu +Configured with: ../src/configure -v --with-pkgversion='Debian 4.4.5-4' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu +Thread model: posix +gcc version 4.4.5 (Debian 4.4.5-4) +configure:3314: $? = 0 +configure:3321: gcc -V >&5 +gcc: '-V' option must have argument +configure:3325: $? = 1 +configure:3348: checking for C compiler default output file name +configure:3370: gcc -g -O2 -g -Wall -O2 conftest.c >&5 +configure:3374: $? = 0 +configure:3412: result: a.out +configure:3431: checking whether the C compiler works +configure:3441: ./a.out +configure:3445: $? = 0 +configure:3464: result: yes +configure:3471: checking whether we are cross compiling +configure:3473: result: no +configure:3476: checking for suffix of executables +configure:3483: gcc -o conftest -g -O2 -g -Wall -O2 conftest.c >&5 +configure:3487: $? = 0 +configure:3513: result: +configure:3519: checking for suffix of object files +configure:3545: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:3549: $? = 0 +configure:3574: result: o +configure:3578: checking whether we are using the GNU C compiler +configure:3607: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:3614: $? = 0 +configure:3631: result: yes +configure:3640: checking whether gcc accepts -g +configure:3670: gcc -c -g conftest.c >&5 +configure:3677: $? = 0 +configure:3778: result: yes +configure:3795: checking for gcc option to accept ISO C89 +configure:3869: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:3876: $? = 0 +configure:3899: result: none needed +configure:3928: checking for style of include used by make +configure:3956: result: GNU +configure:3981: checking dependency style of gcc +configure:4091: result: none +configure:4107: checking whether gcc and cc understand -c and -o together +configure:4142: gcc -c conftest.c -o conftest2.o >&5 +configure:4146: $? = 0 +configure:4152: gcc -c conftest.c -o conftest2.o >&5 +configure:4156: $? = 0 +configure:4167: cc -c conftest.c >&5 +configure:4171: $? = 0 +configure:4179: cc -c conftest.c -o conftest2.o >&5 +configure:4183: $? = 0 +configure:4189: cc -c conftest.c -o conftest2.o >&5 +configure:4193: $? = 0 +configure:4211: result: yes +configure:4239: checking whether gcc accepts -fPIE +configure:4254: result: yes +configure:4271: checking for a BSD-compatible install +configure:4339: result: /usr/bin/install -c +configure:4354: checking for bison +configure:4370: found /usr/bin/bison +configure:4381: result: bison -y +configure:4398: checking for flex +configure:4414: found /usr/bin/flex +configure:4425: result: flex +configure:4462: flex conftest.l +configure:4466: $? = 0 +configure:4468: checking lex output file root +configure:4484: result: lex.yy +configure:4489: checking lex library +configure:4508: gcc -o conftest -g -O2 -g -Wall -O2 conftest.c >&5 +/tmp/cctO6u0B.o: In function `input': +/home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/lex.yy.c:1182: undefined reference to `yywrap' +/tmp/cctO6u0B.o: In function `yylex': +/home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/lex.yy.c:881: undefined reference to `yywrap' +/tmp/cctO6u0B.o: In function `main': +/home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/conftest.l:17: undefined reference to `yywrap' +collect2: ld returned 1 exit status +configure:4515: $? = 1 +configure: failed program was: +| +| #line 3 "lex.yy.c" +| +| #define YY_INT_ALIGNED short int +| +| /* A lexical scanner generated by flex */ +| +| #define FLEX_SCANNER +| #define YY_FLEX_MAJOR_VERSION 2 +| #define YY_FLEX_MINOR_VERSION 5 +| #define YY_FLEX_SUBMINOR_VERSION 35 +| #if YY_FLEX_SUBMINOR_VERSION > 0 +| #define FLEX_BETA +| #endif +| +| /* First, we deal with platform-specific or compiler-specific issues. */ +| +| /* begin standard C headers. */ +| #include +| #include +| #include +| #include +| +| /* end standard C headers. */ +| +| /* flex integer type definitions */ +| +| #ifndef FLEXINT_H +| #define FLEXINT_H +| +| /* C99 systems have . Non-C99 systems may or may not. */ +| +| #if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +| +| /* C99 says to define __STDC_LIMIT_MACROS before including stdint.h, +| * if you want the limit (max/min) macros for int types. +| */ +| #ifndef __STDC_LIMIT_MACROS +| #define __STDC_LIMIT_MACROS 1 +| #endif +| +| #include +| typedef int8_t flex_int8_t; +| typedef uint8_t flex_uint8_t; +| typedef int16_t flex_int16_t; +| typedef uint16_t flex_uint16_t; +| typedef int32_t flex_int32_t; +| typedef uint32_t flex_uint32_t; +| #else +| typedef signed char flex_int8_t; +| typedef short int flex_int16_t; +| typedef int flex_int32_t; +| typedef unsigned char flex_uint8_t; +| typedef unsigned short int flex_uint16_t; +| typedef unsigned int flex_uint32_t; +| +| /* Limits of integral types. */ +| #ifndef INT8_MIN +| #define INT8_MIN (-128) +| #endif +| #ifndef INT16_MIN +| #define INT16_MIN (-32767-1) +| #endif +| #ifndef INT32_MIN +| #define INT32_MIN (-2147483647-1) +| #endif +| #ifndef INT8_MAX +| #define INT8_MAX (127) +| #endif +| #ifndef INT16_MAX +| #define INT16_MAX (32767) +| #endif +| #ifndef INT32_MAX +| #define INT32_MAX (2147483647) +| #endif +| #ifndef UINT8_MAX +| #define UINT8_MAX (255U) +| #endif +| #ifndef UINT16_MAX +| #define UINT16_MAX (65535U) +| #endif +| #ifndef UINT32_MAX +| #define UINT32_MAX (4294967295U) +| #endif +| +| #endif /* ! C99 */ +| +| #endif /* ! FLEXINT_H */ +| +| #ifdef __cplusplus +| +| /* The "const" storage-class-modifier is valid. */ +| #define YY_USE_CONST +| +| #else /* ! __cplusplus */ +| +| /* C99 requires __STDC__ to be defined as 1. */ +| #if defined (__STDC__) +| +| #define YY_USE_CONST +| +| #endif /* defined (__STDC__) */ +| #endif /* ! __cplusplus */ +| +| #ifdef YY_USE_CONST +| #define yyconst const +| #else +| #define yyconst +| #endif +| +| /* Returned upon end-of-file. */ +| #define YY_NULL 0 +| +| /* Promotes a possibly negative, possibly signed char to an unsigned +| * integer for use as an array index. If the signed char is negative, +| * we want to instead treat it as an 8-bit unsigned char, hence the +| * double cast. +| */ +| #define YY_SC_TO_UI(c) ((unsigned int) (unsigned char) c) +| +| /* Enter a start condition. This macro really ought to take a parameter, +| * but we do it the disgusting crufty way forced on us by the ()-less +| * definition of BEGIN. +| */ +| #define BEGIN (yy_start) = 1 + 2 * +| +| /* Translate the current start state into a value that can be later handed +| * to BEGIN to return to the state. The YYSTATE alias is for lex +| * compatibility. +| */ +| #define YY_START (((yy_start) - 1) / 2) +| #define YYSTATE YY_START +| +| /* Action number for EOF rule of a given start state. */ +| #define YY_STATE_EOF(state) (YY_END_OF_BUFFER + state + 1) +| +| /* Special action meaning "start processing a new file". */ +| #define YY_NEW_FILE yyrestart(yyin ) +| +| #define YY_END_OF_BUFFER_CHAR 0 +| +| /* Size of default input buffer. */ +| #ifndef YY_BUF_SIZE +| #ifdef __ia64__ +| /* On IA-64, the buffer size is 16k, not 8k. +| * Moreover, YY_BUF_SIZE is 2*YY_READ_BUF_SIZE in the general case. +| * Ditto for the __ia64__ case accordingly. +| */ +| #define YY_BUF_SIZE 32768 +| #else +| #define YY_BUF_SIZE 16384 +| #endif /* __ia64__ */ +| #endif +| +| /* The state buf must be large enough to hold one state per character in the main buffer. +| */ +| #define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type)) +| +| #ifndef YY_TYPEDEF_YY_BUFFER_STATE +| #define YY_TYPEDEF_YY_BUFFER_STATE +| typedef struct yy_buffer_state *YY_BUFFER_STATE; +| #endif +| +| extern int yyleng; +| +| extern FILE *yyin, *yyout; +| +| #define EOB_ACT_CONTINUE_SCAN 0 +| #define EOB_ACT_END_OF_FILE 1 +| #define EOB_ACT_LAST_MATCH 2 +| +| #define YY_LESS_LINENO(n) +| +| /* Return all but the first "n" matched characters back to the input stream. */ +| #define yyless(n) \ +| do \ +| { \ +| /* Undo effects of setting up yytext. */ \ +| int yyless_macro_arg = (n); \ +| YY_LESS_LINENO(yyless_macro_arg);\ +| *yy_cp = (yy_hold_char); \ +| YY_RESTORE_YY_MORE_OFFSET \ +| (yy_c_buf_p) = yy_cp = yy_bp + yyless_macro_arg - YY_MORE_ADJ; \ +| YY_DO_BEFORE_ACTION; /* set up yytext again */ \ +| } \ +| while ( 0 ) +| +| #define unput(c) yyunput( c, (yytext_ptr) ) +| +| #ifndef YY_TYPEDEF_YY_SIZE_T +| #define YY_TYPEDEF_YY_SIZE_T +| typedef size_t yy_size_t; +| #endif +| +| #ifndef YY_STRUCT_YY_BUFFER_STATE +| #define YY_STRUCT_YY_BUFFER_STATE +| struct yy_buffer_state +| { +| FILE *yy_input_file; +| +| char *yy_ch_buf; /* input buffer */ +| char *yy_buf_pos; /* current position in input buffer */ +| +| /* Size of input buffer in bytes, not including room for EOB +| * characters. +| */ +| yy_size_t yy_buf_size; +| +| /* Number of characters read into yy_ch_buf, not including EOB +| * characters. +| */ +| int yy_n_chars; +| +| /* Whether we "own" the buffer - i.e., we know we created it, +| * and can realloc() it to grow it, and should free() it to +| * delete it. +| */ +| int yy_is_our_buffer; +| +| /* Whether this is an "interactive" input source; if so, and +| * if we're using stdio for input, then we want to use getc() +| * instead of fread(), to make sure we stop fetching input after +| * each newline. +| */ +| int yy_is_interactive; +| +| /* Whether we're considered to be at the beginning of a line. +| * If so, '^' rules will be active on the next match, otherwise +| * not. +| */ +| int yy_at_bol; +| +| int yy_bs_lineno; /**< The line count. */ +| int yy_bs_column; /**< The column count. */ +| +| /* Whether to try to fill the input buffer when we reach the +| * end of it. +| */ +| int yy_fill_buffer; +| +| int yy_buffer_status; +| +| #define YY_BUFFER_NEW 0 +| #define YY_BUFFER_NORMAL 1 +| /* When an EOF's been seen but there's still some text to process +| * then we mark the buffer as YY_EOF_PENDING, to indicate that we +| * shouldn't try reading from the input source any more. We might +| * still have a bunch of tokens to match, though, because of +| * possible backing-up. +| * +| * When we actually see the EOF, we change the status to "new" +| * (via yyrestart()), so that the user can continue scanning by +| * just pointing yyin at a new input file. +| */ +| #define YY_BUFFER_EOF_PENDING 2 +| +| }; +| #endif /* !YY_STRUCT_YY_BUFFER_STATE */ +| +| /* Stack of input buffers. */ +| static size_t yy_buffer_stack_top = 0; /**< index of top of stack. */ +| static size_t yy_buffer_stack_max = 0; /**< capacity of stack. */ +| static YY_BUFFER_STATE * yy_buffer_stack = 0; /**< Stack as an array. */ +| +| /* We provide macros for accessing buffer states in case in the +| * future we want to put the buffer states in a more general +| * "scanner state". +| * +| * Returns the top of the stack, or NULL. +| */ +| #define YY_CURRENT_BUFFER ( (yy_buffer_stack) \ +| ? (yy_buffer_stack)[(yy_buffer_stack_top)] \ +| : NULL) +| +| /* Same as previous macro, but useful when we know that the buffer stack is not +| * NULL or when we need an lvalue. For internal use only. +| */ +| #define YY_CURRENT_BUFFER_LVALUE (yy_buffer_stack)[(yy_buffer_stack_top)] +| +| /* yy_hold_char holds the character lost when yytext is formed. */ +| static char yy_hold_char; +| static int yy_n_chars; /* number of characters read into yy_ch_buf */ +| int yyleng; +| +| /* Points to current character in buffer. */ +| static char *yy_c_buf_p = (char *) 0; +| static int yy_init = 0; /* whether we need to initialize */ +| static int yy_start = 0; /* start state number */ +| +| /* Flag which is used to allow yywrap()'s to do buffer switches +| * instead of setting up a fresh yyin. A bit of a hack ... +| */ +| static int yy_did_buffer_switch_on_eof; +| +| void yyrestart (FILE *input_file ); +| void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ); +| YY_BUFFER_STATE yy_create_buffer (FILE *file,int size ); +| void yy_delete_buffer (YY_BUFFER_STATE b ); +| void yy_flush_buffer (YY_BUFFER_STATE b ); +| void yypush_buffer_state (YY_BUFFER_STATE new_buffer ); +| void yypop_buffer_state (void ); +| +| static void yyensure_buffer_stack (void ); +| static void yy_load_buffer_state (void ); +| static void yy_init_buffer (YY_BUFFER_STATE b,FILE *file ); +| +| #define YY_FLUSH_BUFFER yy_flush_buffer(YY_CURRENT_BUFFER ) +| +| YY_BUFFER_STATE yy_scan_buffer (char *base,yy_size_t size ); +| YY_BUFFER_STATE yy_scan_string (yyconst char *yy_str ); +| YY_BUFFER_STATE yy_scan_bytes (yyconst char *bytes,int len ); +| +| void *yyalloc (yy_size_t ); +| void *yyrealloc (void *,yy_size_t ); +| void yyfree (void * ); +| +| #define yy_new_buffer yy_create_buffer +| +| #define yy_set_interactive(is_interactive) \ +| { \ +| if ( ! YY_CURRENT_BUFFER ){ \ +| yyensure_buffer_stack (); \ +| YY_CURRENT_BUFFER_LVALUE = \ +| yy_create_buffer(yyin,YY_BUF_SIZE ); \ +| } \ +| YY_CURRENT_BUFFER_LVALUE->yy_is_interactive = is_interactive; \ +| } +| +| #define yy_set_bol(at_bol) \ +| { \ +| if ( ! YY_CURRENT_BUFFER ){\ +| yyensure_buffer_stack (); \ +| YY_CURRENT_BUFFER_LVALUE = \ +| yy_create_buffer(yyin,YY_BUF_SIZE ); \ +| } \ +| YY_CURRENT_BUFFER_LVALUE->yy_at_bol = at_bol; \ +| } +| +| #define YY_AT_BOL() (YY_CURRENT_BUFFER_LVALUE->yy_at_bol) +| +| /* Begin user sect3 */ +| +| typedef unsigned char YY_CHAR; +| +| FILE *yyin = (FILE *) 0, *yyout = (FILE *) 0; +| +| typedef int yy_state_type; +| +| extern int yylineno; +| +| int yylineno = 1; +| +| extern char *yytext; +| #define yytext_ptr yytext +| +| static yy_state_type yy_get_previous_state (void ); +| static yy_state_type yy_try_NUL_trans (yy_state_type current_state ); +| static int yy_get_next_buffer (void ); +| static void yy_fatal_error (yyconst char msg[] ); +| +| /* Done after the current pattern has been matched and before the +| * corresponding action - sets up yytext. +| */ +| #define YY_DO_BEFORE_ACTION \ +| (yytext_ptr) = yy_bp; \ +| (yytext_ptr) -= (yy_more_len); \ +| yyleng = (size_t) (yy_cp - (yytext_ptr)); \ +| (yy_hold_char) = *yy_cp; \ +| *yy_cp = '\0'; \ +| (yy_c_buf_p) = yy_cp; +| +| #define YY_NUM_RULES 8 +| #define YY_END_OF_BUFFER 9 +| /* This struct is not used in this scanner, +| but its presence is necessary. */ +| struct yy_trans_info +| { +| flex_int32_t yy_verify; +| flex_int32_t yy_nxt; +| }; +| static yyconst flex_int16_t yy_acclist[23] = +| { 0, +| 9, 7, 8, 8, 1, 7, 8, 2, 7, 8, +| 3, 7, 8, 4, 7, 8, 5, 7, 8, 6, +| 7, 8 +| } ; +| +| static yyconst flex_int16_t yy_accept[14] = +| { 0, +| 1, 1, 1, 2, 4, 5, 8, 11, 14, 17, +| 20, 23, 23 +| } ; +| +| static yyconst flex_int32_t yy_ec[256] = +| { 0, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 3, 4, 5, 6, +| +| 7, 8, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +| 1, 1, 1, 1, 1 +| } ; +| +| static yyconst flex_int32_t yy_meta[9] = +| { 0, +| 1, 1, 1, 1, 1, 1, 1, 1 +| } ; +| +| static yyconst flex_int16_t yy_base[13] = +| { 0, +| 0, 0, 9, 10, 10, 10, 10, 10, 10, 10, +| 10, 10 +| } ; +| +| static yyconst flex_int16_t yy_def[13] = +| { 0, +| 12, 1, 12, 12, 12, 12, 12, 12, 12, 12, +| 12, 0 +| } ; +| +| static yyconst flex_int16_t yy_nxt[19] = +| { 0, +| 4, 5, 6, 7, 8, 9, 10, 11, 12, 3, +| 12, 12, 12, 12, 12, 12, 12, 12 +| } ; +| +| static yyconst flex_int16_t yy_chk[19] = +| { 0, +| 1, 1, 1, 1, 1, 1, 1, 1, 3, 12, +| 12, 12, 12, 12, 12, 12, 12, 12 +| } ; +| +| extern int yy_flex_debug; +| int yy_flex_debug = 0; +| +| static yy_state_type *yy_state_buf=0, *yy_state_ptr=0; +| static char *yy_full_match; +| static int yy_lp; +| #define REJECT \ +| { \ +| *yy_cp = (yy_hold_char); /* undo effects of setting up yytext */ \ +| yy_cp = (yy_full_match); /* restore poss. backed-over text */ \ +| ++(yy_lp); \ +| goto find_rule; \ +| } +| +| static int yy_more_flag = 0; +| static int yy_more_len = 0; +| #define yymore() ((yy_more_flag) = 1) +| #define YY_MORE_ADJ (yy_more_len) +| #define YY_RESTORE_YY_MORE_OFFSET +| char *yytext; +| #line 1 "conftest.l" +| #line 477 "lex.yy.c" +| +| #define INITIAL 0 +| +| #ifndef YY_NO_UNISTD_H +| /* Special case for "unistd.h", since it is non-ANSI. We include it way +| * down here because we want the user's section 1 to have been scanned first. +| * The user has a chance to override it with an option. +| */ +| #include +| #endif +| +| #ifndef YY_EXTRA_TYPE +| #define YY_EXTRA_TYPE void * +| #endif +| +| static int yy_init_globals (void ); +| +| /* Accessor methods to globals. +| These are made visible to non-reentrant scanners for convenience. */ +| +| int yylex_destroy (void ); +| +| int yyget_debug (void ); +| +| void yyset_debug (int debug_flag ); +| +| YY_EXTRA_TYPE yyget_extra (void ); +| +| void yyset_extra (YY_EXTRA_TYPE user_defined ); +| +| FILE *yyget_in (void ); +| +| void yyset_in (FILE * in_str ); +| +| FILE *yyget_out (void ); +| +| void yyset_out (FILE * out_str ); +| +| int yyget_leng (void ); +| +| char *yyget_text (void ); +| +| int yyget_lineno (void ); +| +| void yyset_lineno (int line_number ); +| +| /* Macros after this point can all be overridden by user definitions in +| * section 1. +| */ +| +| #ifndef YY_SKIP_YYWRAP +| #ifdef __cplusplus +| extern "C" int yywrap (void ); +| #else +| extern int yywrap (void ); +| #endif +| #endif +| +| static void yyunput (int c,char *buf_ptr ); +| +| #ifndef yytext_ptr +| static void yy_flex_strncpy (char *,yyconst char *,int ); +| #endif +| +| #ifdef YY_NEED_STRLEN +| static int yy_flex_strlen (yyconst char * ); +| #endif +| +| #ifndef YY_NO_INPUT +| +| #ifdef __cplusplus +| static int yyinput (void ); +| #else +| static int input (void ); +| #endif +| +| #endif +| +| /* Amount of stuff to slurp up with each read. */ +| #ifndef YY_READ_BUF_SIZE +| #ifdef __ia64__ +| /* On IA-64, the buffer size is 16k, not 8k */ +| #define YY_READ_BUF_SIZE 16384 +| #else +| #define YY_READ_BUF_SIZE 8192 +| #endif /* __ia64__ */ +| #endif +| +| /* Copy whatever the last rule matched to the standard output. */ +| #ifndef ECHO +| /* This used to be an fputs(), but since the string might contain NUL's, +| * we now use fwrite(). +| */ +| #define ECHO do { if (fwrite( yytext, yyleng, 1, yyout )) {} } while (0) +| #endif +| +| /* Gets input and stuffs it into "buf". number of characters read, or YY_NULL, +| * is returned in "result". +| */ +| #ifndef YY_INPUT +| #define YY_INPUT(buf,result,max_size) \ +| if ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \ +| { \ +| int c = '*'; \ +| size_t n; \ +| for ( n = 0; n < max_size && \ +| (c = getc( yyin )) != EOF && c != '\n'; ++n ) \ +| buf[n] = (char) c; \ +| if ( c == '\n' ) \ +| buf[n++] = (char) c; \ +| if ( c == EOF && ferror( yyin ) ) \ +| YY_FATAL_ERROR( "input in flex scanner failed" ); \ +| result = n; \ +| } \ +| else \ +| { \ +| errno=0; \ +| while ( (result = fread(buf, 1, max_size, yyin))==0 && ferror(yyin)) \ +| { \ +| if( errno != EINTR) \ +| { \ +| YY_FATAL_ERROR( "input in flex scanner failed" ); \ +| break; \ +| } \ +| errno=0; \ +| clearerr(yyin); \ +| } \ +| }\ +| \ +| +| #endif +| +| /* No semi-colon after return; correct usage is to write "yyterminate();" - +| * we don't want an extra ';' after the "return" because that will cause +| * some compilers to complain about unreachable statements. +| */ +| #ifndef yyterminate +| #define yyterminate() return YY_NULL +| #endif +| +| /* Number of entries by which start-condition stack grows. */ +| #ifndef YY_START_STACK_INCR +| #define YY_START_STACK_INCR 25 +| #endif +| +| /* Report a fatal error. */ +| #ifndef YY_FATAL_ERROR +| #define YY_FATAL_ERROR(msg) yy_fatal_error( msg ) +| #endif +| +| /* end tables serialization structures and prototypes */ +| +| /* Default declaration of generated scanner - a define so the user can +| * easily add parameters. +| */ +| #ifndef YY_DECL +| #define YY_DECL_IS_OURS 1 +| +| extern int yylex (void); +| +| #define YY_DECL int yylex (void) +| #endif /* !YY_DECL */ +| +| /* Code executed at the beginning of each rule, after yytext and yyleng +| * have been set up. +| */ +| #ifndef YY_USER_ACTION +| #define YY_USER_ACTION +| #endif +| +| /* Code executed at the end of each rule. */ +| #ifndef YY_BREAK +| #define YY_BREAK break; +| #endif +| +| #define YY_RULE_SETUP \ +| YY_USER_ACTION +| +| /** The main scanner function which does all the work. +| */ +| YY_DECL +| { +| register yy_state_type yy_current_state; +| register char *yy_cp, *yy_bp; +| register int yy_act; +| +| #line 1 "conftest.l" +| +| #line 666 "lex.yy.c" +| +| if ( !(yy_init) ) +| { +| (yy_init) = 1; +| +| #ifdef YY_USER_INIT +| YY_USER_INIT; +| #endif +| +| /* Create the reject buffer large enough to save one state per allowed character. */ +| if ( ! (yy_state_buf) ) +| (yy_state_buf) = (yy_state_type *)yyalloc(YY_STATE_BUF_SIZE ); +| if ( ! (yy_state_buf) ) +| YY_FATAL_ERROR( "out of dynamic memory in yylex()" ); +| +| if ( ! (yy_start) ) +| (yy_start) = 1; /* first start state */ +| +| if ( ! yyin ) +| yyin = stdin; +| +| if ( ! yyout ) +| yyout = stdout; +| +| if ( ! YY_CURRENT_BUFFER ) { +| yyensure_buffer_stack (); +| YY_CURRENT_BUFFER_LVALUE = +| yy_create_buffer(yyin,YY_BUF_SIZE ); +| } +| +| yy_load_buffer_state( ); +| } +| +| while ( 1 ) /* loops until end-of-file is reached */ +| { +| (yy_more_len) = 0; +| if ( (yy_more_flag) ) +| { +| (yy_more_len) = (yy_c_buf_p) - (yytext_ptr); +| (yy_more_flag) = 0; +| } +| yy_cp = (yy_c_buf_p); +| +| /* Support of yytext. */ +| *yy_cp = (yy_hold_char); +| +| /* yy_bp points to the position in yy_ch_buf of the start of +| * the current run. +| */ +| yy_bp = yy_cp; +| +| yy_current_state = (yy_start); +| +| (yy_state_ptr) = (yy_state_buf); +| *(yy_state_ptr)++ = yy_current_state; +| +| yy_match: +| do +| { +| register YY_CHAR yy_c = yy_ec[YY_SC_TO_UI(*yy_cp)]; +| while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) +| { +| yy_current_state = (int) yy_def[yy_current_state]; +| if ( yy_current_state >= 13 ) +| yy_c = yy_meta[(unsigned int) yy_c]; +| } +| yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; +| *(yy_state_ptr)++ = yy_current_state; +| ++yy_cp; +| } +| while ( yy_base[yy_current_state] != 10 ); +| +| yy_find_action: +| yy_current_state = *--(yy_state_ptr); +| (yy_lp) = yy_accept[yy_current_state]; +| find_rule: /* we branch to this label when backing up */ +| for ( ; ; ) /* until we find what rule we matched */ +| { +| if ( (yy_lp) && (yy_lp) < yy_accept[yy_current_state + 1] ) +| { +| yy_act = yy_acclist[(yy_lp)]; +| { +| (yy_full_match) = yy_cp; +| break; +| } +| } +| --yy_cp; +| yy_current_state = *--(yy_state_ptr); +| (yy_lp) = yy_accept[yy_current_state]; +| } +| +| YY_DO_BEFORE_ACTION; +| +| do_action: /* This label is used only to access EOF actions. */ +| +| switch ( yy_act ) +| { /* beginning of action switch */ +| case 1: +| YY_RULE_SETUP +| #line 2 "conftest.l" +| { ECHO; } +| YY_BREAK +| case 2: +| YY_RULE_SETUP +| #line 3 "conftest.l" +| { REJECT; } +| YY_BREAK +| case 3: +| YY_RULE_SETUP +| #line 4 "conftest.l" +| { yymore (); } +| YY_BREAK +| case 4: +| YY_RULE_SETUP +| #line 5 "conftest.l" +| { yyless (1); } +| YY_BREAK +| case 5: +| YY_RULE_SETUP +| #line 6 "conftest.l" +| { yyless (input () != 0); } +| YY_BREAK +| case 6: +| YY_RULE_SETUP +| #line 7 "conftest.l" +| { unput (yytext[0]); } +| YY_BREAK +| case 7: +| YY_RULE_SETUP +| #line 8 "conftest.l" +| { BEGIN INITIAL; } +| YY_BREAK +| case 8: +| YY_RULE_SETUP +| #line 9 "conftest.l" +| ECHO; +| YY_BREAK +| #line 804 "lex.yy.c" +| case YY_STATE_EOF(INITIAL): +| yyterminate(); +| +| case YY_END_OF_BUFFER: +| { +| /* Amount of text matched not including the EOB char. */ +| int yy_amount_of_matched_text = (int) (yy_cp - (yytext_ptr)) - 1; +| +| /* Undo the effects of YY_DO_BEFORE_ACTION. */ +| *yy_cp = (yy_hold_char); +| YY_RESTORE_YY_MORE_OFFSET +| +| if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_NEW ) +| { +| /* We're scanning a new file or input source. It's +| * possible that this happened because the user +| * just pointed yyin at a new source and called +| * yylex(). If so, then we have to assure +| * consistency between YY_CURRENT_BUFFER and our +| * globals. Here is the right place to do so, because +| * this is the first action (other than possibly a +| * back-up) that will match for the new input source. +| */ +| (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; +| YY_CURRENT_BUFFER_LVALUE->yy_input_file = yyin; +| YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = YY_BUFFER_NORMAL; +| } +| +| /* Note that here we test for yy_c_buf_p "<=" to the position +| * of the first EOB in the buffer, since yy_c_buf_p will +| * already have been incremented past the NUL character +| * (since all states make transitions on EOB to the +| * end-of-buffer state). Contrast this with the test +| * in input(). +| */ +| if ( (yy_c_buf_p) <= &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) +| { /* This was really a NUL. */ +| yy_state_type yy_next_state; +| +| (yy_c_buf_p) = (yytext_ptr) + yy_amount_of_matched_text; +| +| yy_current_state = yy_get_previous_state( ); +| +| /* Okay, we're now positioned to make the NUL +| * transition. We couldn't have +| * yy_get_previous_state() go ahead and do it +| * for us because it doesn't know how to deal +| * with the possibility of jamming (and we don't +| * want to build jamming into it because then it +| * will run more slowly). +| */ +| +| yy_next_state = yy_try_NUL_trans( yy_current_state ); +| +| yy_bp = (yytext_ptr) + YY_MORE_ADJ; +| +| if ( yy_next_state ) +| { +| /* Consume the NUL. */ +| yy_cp = ++(yy_c_buf_p); +| yy_current_state = yy_next_state; +| goto yy_match; +| } +| +| else +| { +| yy_cp = (yy_c_buf_p); +| goto yy_find_action; +| } +| } +| +| else switch ( yy_get_next_buffer( ) ) +| { +| case EOB_ACT_END_OF_FILE: +| { +| (yy_did_buffer_switch_on_eof) = 0; +| +| if ( yywrap( ) ) +| { +| /* Note: because we've taken care in +| * yy_get_next_buffer() to have set up +| * yytext, we can now set up +| * yy_c_buf_p so that if some total +| * hoser (like flex itself) wants to +| * call the scanner after we return the +| * YY_NULL, it'll still work - another +| * YY_NULL will get returned. +| */ +| (yy_c_buf_p) = (yytext_ptr) + YY_MORE_ADJ; +| +| yy_act = YY_STATE_EOF(YY_START); +| goto do_action; +| } +| +| else +| { +| if ( ! (yy_did_buffer_switch_on_eof) ) +| YY_NEW_FILE; +| } +| break; +| } +| +| case EOB_ACT_CONTINUE_SCAN: +| (yy_c_buf_p) = +| (yytext_ptr) + yy_amount_of_matched_text; +| +| yy_current_state = yy_get_previous_state( ); +| +| yy_cp = (yy_c_buf_p); +| yy_bp = (yytext_ptr) + YY_MORE_ADJ; +| goto yy_match; +| +| case EOB_ACT_LAST_MATCH: +| (yy_c_buf_p) = +| &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)]; +| +| yy_current_state = yy_get_previous_state( ); +| +| yy_cp = (yy_c_buf_p); +| yy_bp = (yytext_ptr) + YY_MORE_ADJ; +| goto yy_find_action; +| } +| break; +| } +| +| default: +| YY_FATAL_ERROR( +| "fatal flex scanner internal error--no action found" ); +| } /* end of action switch */ +| } /* end of scanning one token */ +| } /* end of yylex */ +| +| /* yy_get_next_buffer - try to read in a new buffer +| * +| * Returns a code representing an action: +| * EOB_ACT_LAST_MATCH - +| * EOB_ACT_CONTINUE_SCAN - continue scanning from current position +| * EOB_ACT_END_OF_FILE - end of file +| */ +| static int yy_get_next_buffer (void) +| { +| register char *dest = YY_CURRENT_BUFFER_LVALUE->yy_ch_buf; +| register char *source = (yytext_ptr); +| register int number_to_move, i; +| int ret_val; +| +| if ( (yy_c_buf_p) > &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] ) +| YY_FATAL_ERROR( +| "fatal flex scanner internal error--end of buffer missed" ); +| +| if ( YY_CURRENT_BUFFER_LVALUE->yy_fill_buffer == 0 ) +| { /* Don't try to fill the buffer, so this is an EOF. */ +| if ( (yy_c_buf_p) - (yytext_ptr) - YY_MORE_ADJ == 1 ) +| { +| /* We matched a single character, the EOB, so +| * treat this as a final EOF. +| */ +| return EOB_ACT_END_OF_FILE; +| } +| +| else +| { +| /* We matched some text prior to the EOB, first +| * process it. +| */ +| return EOB_ACT_LAST_MATCH; +| } +| } +| +| /* Try to read more data. */ +| +| /* First move last chars to start of buffer. */ +| number_to_move = (int) ((yy_c_buf_p) - (yytext_ptr)) - 1; +| +| for ( i = 0; i < number_to_move; ++i ) +| *(dest++) = *(source++); +| +| if ( YY_CURRENT_BUFFER_LVALUE->yy_buffer_status == YY_BUFFER_EOF_PENDING ) +| /* don't do the read, it's not guaranteed to return an EOF, +| * just force an EOF +| */ +| YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars) = 0; +| +| else +| { +| int num_to_read = +| YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1; +| +| while ( num_to_read <= 0 ) +| { /* Not enough room in the buffer - grow it. */ +| +| YY_FATAL_ERROR( +| "input buffer overflow, can't enlarge buffer because scanner uses REJECT" ); +| +| } +| +| if ( num_to_read > YY_READ_BUF_SIZE ) +| num_to_read = YY_READ_BUF_SIZE; +| +| /* Read in more data. */ +| YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]), +| (yy_n_chars), (size_t) num_to_read ); +| +| YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); +| } +| +| if ( (yy_n_chars) == 0 ) +| { +| if ( number_to_move == YY_MORE_ADJ ) +| { +| ret_val = EOB_ACT_END_OF_FILE; +| yyrestart(yyin ); +| } +| +| else +| { +| ret_val = EOB_ACT_LAST_MATCH; +| YY_CURRENT_BUFFER_LVALUE->yy_buffer_status = +| YY_BUFFER_EOF_PENDING; +| } +| } +| +| else +| ret_val = EOB_ACT_CONTINUE_SCAN; +| +| if ((yy_size_t) ((yy_n_chars) + number_to_move) > YY_CURRENT_BUFFER_LVALUE->yy_buf_size) { +| /* Extend the array by 50%, plus the number we really need. */ +| yy_size_t new_size = (yy_n_chars) + number_to_move + ((yy_n_chars) >> 1); +| YY_CURRENT_BUFFER_LVALUE->yy_ch_buf = (char *) yyrealloc((void *) YY_CURRENT_BUFFER_LVALUE->yy_ch_buf,new_size ); +| if ( ! YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) +| YY_FATAL_ERROR( "out of dynamic memory in yy_get_next_buffer()" ); +| } +| +| (yy_n_chars) += number_to_move; +| YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] = YY_END_OF_BUFFER_CHAR; +| YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars) + 1] = YY_END_OF_BUFFER_CHAR; +| +| (yytext_ptr) = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[0]; +| +| return ret_val; +| } +| +| /* yy_get_previous_state - get the state just before the EOB char was reached */ +| +| static yy_state_type yy_get_previous_state (void) +| { +| register yy_state_type yy_current_state; +| register char *yy_cp; +| +| yy_current_state = (yy_start); +| +| (yy_state_ptr) = (yy_state_buf); +| *(yy_state_ptr)++ = yy_current_state; +| +| for ( yy_cp = (yytext_ptr) + YY_MORE_ADJ; yy_cp < (yy_c_buf_p); ++yy_cp ) +| { +| register YY_CHAR yy_c = (*yy_cp ? yy_ec[YY_SC_TO_UI(*yy_cp)] : 1); +| while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) +| { +| yy_current_state = (int) yy_def[yy_current_state]; +| if ( yy_current_state >= 13 ) +| yy_c = yy_meta[(unsigned int) yy_c]; +| } +| yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; +| *(yy_state_ptr)++ = yy_current_state; +| } +| +| return yy_current_state; +| } +| +| /* yy_try_NUL_trans - try to make a transition on the NUL character +| * +| * synopsis +| * next_state = yy_try_NUL_trans( current_state ); +| */ +| static yy_state_type yy_try_NUL_trans (yy_state_type yy_current_state ) +| { +| register int yy_is_jam; +| +| register YY_CHAR yy_c = 1; +| while ( yy_chk[yy_base[yy_current_state] + yy_c] != yy_current_state ) +| { +| yy_current_state = (int) yy_def[yy_current_state]; +| if ( yy_current_state >= 13 ) +| yy_c = yy_meta[(unsigned int) yy_c]; +| } +| yy_current_state = yy_nxt[yy_base[yy_current_state] + (unsigned int) yy_c]; +| yy_is_jam = (yy_current_state == 12); +| if ( ! yy_is_jam ) +| *(yy_state_ptr)++ = yy_current_state; +| +| return yy_is_jam ? 0 : yy_current_state; +| } +| +| static void yyunput (int c, register char * yy_bp ) +| { +| register char *yy_cp; +| +| yy_cp = (yy_c_buf_p); +| +| /* undo effects of setting up yytext */ +| *yy_cp = (yy_hold_char); +| +| if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) +| { /* need to shift things up to make room */ +| /* +2 for EOB chars. */ +| register int number_to_move = (yy_n_chars) + 2; +| register char *dest = &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[ +| YY_CURRENT_BUFFER_LVALUE->yy_buf_size + 2]; +| register char *source = +| &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[number_to_move]; +| +| while ( source > YY_CURRENT_BUFFER_LVALUE->yy_ch_buf ) +| *--dest = *--source; +| +| yy_cp += (int) (dest - source); +| yy_bp += (int) (dest - source); +| YY_CURRENT_BUFFER_LVALUE->yy_n_chars = +| (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size; +| +| if ( yy_cp < YY_CURRENT_BUFFER_LVALUE->yy_ch_buf + 2 ) +| YY_FATAL_ERROR( "flex scanner push-back overflow" ); +| } +| +| *--yy_cp = (char) c; +| +| (yytext_ptr) = yy_bp; +| (yy_hold_char) = *yy_cp; +| (yy_c_buf_p) = yy_cp; +| } +| +| #ifndef YY_NO_INPUT +| #ifdef __cplusplus +| static int yyinput (void) +| #else +| static int input (void) +| #endif +| +| { +| int c; +| +| *(yy_c_buf_p) = (yy_hold_char); +| +| if ( *(yy_c_buf_p) == YY_END_OF_BUFFER_CHAR ) +| { +| /* yy_c_buf_p now points to the character we want to return. +| * If this occurs *before* the EOB characters, then it's a +| * valid NUL; if not, then we've hit the end of the buffer. +| */ +| if ( (yy_c_buf_p) < &YY_CURRENT_BUFFER_LVALUE->yy_ch_buf[(yy_n_chars)] ) +| /* This was really a NUL. */ +| *(yy_c_buf_p) = '\0'; +| +| else +| { /* need more input */ +| int offset = (yy_c_buf_p) - (yytext_ptr); +| ++(yy_c_buf_p); +| +| switch ( yy_get_next_buffer( ) ) +| { +| case EOB_ACT_LAST_MATCH: +| /* This happens because yy_g_n_b() +| * sees that we've accumulated a +| * token and flags that we need to +| * try matching the token before +| * proceeding. But for input(), +| * there's no matching to consider. +| * So convert the EOB_ACT_LAST_MATCH +| * to EOB_ACT_END_OF_FILE. +| */ +| +| /* Reset buffer status. */ +| yyrestart(yyin ); +| +| /*FALLTHROUGH*/ +| +| case EOB_ACT_END_OF_FILE: +| { +| if ( yywrap( ) ) +| return EOF; +| +| if ( ! (yy_did_buffer_switch_on_eof) ) +| YY_NEW_FILE; +| #ifdef __cplusplus +| return yyinput(); +| #else +| return input(); +| #endif +| } +| +| case EOB_ACT_CONTINUE_SCAN: +| (yy_c_buf_p) = (yytext_ptr) + offset; +| break; +| } +| } +| } +| +| c = *(unsigned char *) (yy_c_buf_p); /* cast for 8-bit char's */ +| *(yy_c_buf_p) = '\0'; /* preserve yytext */ +| (yy_hold_char) = *++(yy_c_buf_p); +| +| return c; +| } +| #endif /* ifndef YY_NO_INPUT */ +| +| /** Immediately switch to a different input stream. +| * @param input_file A readable stream. +| * +| * @note This function does not reset the start condition to @c INITIAL . +| */ +| void yyrestart (FILE * input_file ) +| { +| +| if ( ! YY_CURRENT_BUFFER ){ +| yyensure_buffer_stack (); +| YY_CURRENT_BUFFER_LVALUE = +| yy_create_buffer(yyin,YY_BUF_SIZE ); +| } +| +| yy_init_buffer(YY_CURRENT_BUFFER,input_file ); +| yy_load_buffer_state( ); +| } +| +| /** Switch to a different input buffer. +| * @param new_buffer The new input buffer. +| * +| */ +| void yy_switch_to_buffer (YY_BUFFER_STATE new_buffer ) +| { +| +| /* TODO. We should be able to replace this entire function body +| * with +| * yypop_buffer_state(); +| * yypush_buffer_state(new_buffer); +| */ +| yyensure_buffer_stack (); +| if ( YY_CURRENT_BUFFER == new_buffer ) +| return; +| +| if ( YY_CURRENT_BUFFER ) +| { +| /* Flush out information for old buffer. */ +| *(yy_c_buf_p) = (yy_hold_char); +| YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); +| YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); +| } +| +| YY_CURRENT_BUFFER_LVALUE = new_buffer; +| yy_load_buffer_state( ); +| +| /* We don't actually know whether we did this switch during +| * EOF (yywrap()) processing, but the only time this flag +| * is looked at is after yywrap() is called, so it's safe +| * to go ahead and always set it. +| */ +| (yy_did_buffer_switch_on_eof) = 1; +| } +| +| static void yy_load_buffer_state (void) +| { +| (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_n_chars; +| (yytext_ptr) = (yy_c_buf_p) = YY_CURRENT_BUFFER_LVALUE->yy_buf_pos; +| yyin = YY_CURRENT_BUFFER_LVALUE->yy_input_file; +| (yy_hold_char) = *(yy_c_buf_p); +| } +| +| /** Allocate and initialize an input buffer state. +| * @param file A readable stream. +| * @param size The character buffer size in bytes. When in doubt, use @c YY_BUF_SIZE. +| * +| * @return the allocated buffer state. +| */ +| YY_BUFFER_STATE yy_create_buffer (FILE * file, int size ) +| { +| YY_BUFFER_STATE b; +| +| b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); +| if ( ! b ) +| YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); +| +| b->yy_buf_size = size; +| +| /* yy_ch_buf has to be 2 characters longer than the size given because +| * we need to put in 2 end-of-buffer characters. +| */ +| b->yy_ch_buf = (char *) yyalloc(b->yy_buf_size + 2 ); +| if ( ! b->yy_ch_buf ) +| YY_FATAL_ERROR( "out of dynamic memory in yy_create_buffer()" ); +| +| b->yy_is_our_buffer = 1; +| +| yy_init_buffer(b,file ); +| +| return b; +| } +| +| /** Destroy the buffer. +| * @param b a buffer created with yy_create_buffer() +| * +| */ +| void yy_delete_buffer (YY_BUFFER_STATE b ) +| { +| +| if ( ! b ) +| return; +| +| if ( b == YY_CURRENT_BUFFER ) /* Not sure if we should pop here. */ +| YY_CURRENT_BUFFER_LVALUE = (YY_BUFFER_STATE) 0; +| +| if ( b->yy_is_our_buffer ) +| yyfree((void *) b->yy_ch_buf ); +| +| yyfree((void *) b ); +| } +| +| #ifndef __cplusplus +| extern int isatty (int ); +| #endif /* __cplusplus */ +| +| /* Initializes or reinitializes a buffer. +| * This function is sometimes called more than once on the same buffer, +| * such as during a yyrestart() or at EOF. +| */ +| static void yy_init_buffer (YY_BUFFER_STATE b, FILE * file ) +| +| { +| int oerrno = errno; +| +| yy_flush_buffer(b ); +| +| b->yy_input_file = file; +| b->yy_fill_buffer = 1; +| +| /* If b is the current buffer, then yy_init_buffer was _probably_ +| * called from yyrestart() or through yy_get_next_buffer. +| * In that case, we don't want to reset the lineno or column. +| */ +| if (b != YY_CURRENT_BUFFER){ +| b->yy_bs_lineno = 1; +| b->yy_bs_column = 0; +| } +| +| b->yy_is_interactive = file ? (isatty( fileno(file) ) > 0) : 0; +| +| errno = oerrno; +| } +| +| /** Discard all buffered characters. On the next scan, YY_INPUT will be called. +| * @param b the buffer state to be flushed, usually @c YY_CURRENT_BUFFER. +| * +| */ +| void yy_flush_buffer (YY_BUFFER_STATE b ) +| { +| if ( ! b ) +| return; +| +| b->yy_n_chars = 0; +| +| /* We always need two end-of-buffer characters. The first causes +| * a transition to the end-of-buffer state. The second causes +| * a jam in that state. +| */ +| b->yy_ch_buf[0] = YY_END_OF_BUFFER_CHAR; +| b->yy_ch_buf[1] = YY_END_OF_BUFFER_CHAR; +| +| b->yy_buf_pos = &b->yy_ch_buf[0]; +| +| b->yy_at_bol = 1; +| b->yy_buffer_status = YY_BUFFER_NEW; +| +| if ( b == YY_CURRENT_BUFFER ) +| yy_load_buffer_state( ); +| } +| +| /** Pushes the new state onto the stack. The new state becomes +| * the current state. This function will allocate the stack +| * if necessary. +| * @param new_buffer The new state. +| * +| */ +| void yypush_buffer_state (YY_BUFFER_STATE new_buffer ) +| { +| if (new_buffer == NULL) +| return; +| +| yyensure_buffer_stack(); +| +| /* This block is copied from yy_switch_to_buffer. */ +| if ( YY_CURRENT_BUFFER ) +| { +| /* Flush out information for old buffer. */ +| *(yy_c_buf_p) = (yy_hold_char); +| YY_CURRENT_BUFFER_LVALUE->yy_buf_pos = (yy_c_buf_p); +| YY_CURRENT_BUFFER_LVALUE->yy_n_chars = (yy_n_chars); +| } +| +| /* Only push if top exists. Otherwise, replace top. */ +| if (YY_CURRENT_BUFFER) +| (yy_buffer_stack_top)++; +| YY_CURRENT_BUFFER_LVALUE = new_buffer; +| +| /* copied from yy_switch_to_buffer. */ +| yy_load_buffer_state( ); +| (yy_did_buffer_switch_on_eof) = 1; +| } +| +| /** Removes and deletes the top of the stack, if present. +| * The next element becomes the new top. +| * +| */ +| void yypop_buffer_state (void) +| { +| if (!YY_CURRENT_BUFFER) +| return; +| +| yy_delete_buffer(YY_CURRENT_BUFFER ); +| YY_CURRENT_BUFFER_LVALUE = NULL; +| if ((yy_buffer_stack_top) > 0) +| --(yy_buffer_stack_top); +| +| if (YY_CURRENT_BUFFER) { +| yy_load_buffer_state( ); +| (yy_did_buffer_switch_on_eof) = 1; +| } +| } +| +| /* Allocates the stack if it does not exist. +| * Guarantees space for at least one push. +| */ +| static void yyensure_buffer_stack (void) +| { +| int num_to_alloc; +| +| if (!(yy_buffer_stack)) { +| +| /* First allocation is just for 2 elements, since we don't know if this +| * scanner will even need a stack. We use 2 instead of 1 to avoid an +| * immediate realloc on the next call. +| */ +| num_to_alloc = 1; +| (yy_buffer_stack) = (struct yy_buffer_state**)yyalloc +| (num_to_alloc * sizeof(struct yy_buffer_state*) +| ); +| if ( ! (yy_buffer_stack) ) +| YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); +| +| memset((yy_buffer_stack), 0, num_to_alloc * sizeof(struct yy_buffer_state*)); +| +| (yy_buffer_stack_max) = num_to_alloc; +| (yy_buffer_stack_top) = 0; +| return; +| } +| +| if ((yy_buffer_stack_top) >= ((yy_buffer_stack_max)) - 1){ +| +| /* Increase the buffer to prepare for a possible push. */ +| int grow_size = 8 /* arbitrary grow size */; +| +| num_to_alloc = (yy_buffer_stack_max) + grow_size; +| (yy_buffer_stack) = (struct yy_buffer_state**)yyrealloc +| ((yy_buffer_stack), +| num_to_alloc * sizeof(struct yy_buffer_state*) +| ); +| if ( ! (yy_buffer_stack) ) +| YY_FATAL_ERROR( "out of dynamic memory in yyensure_buffer_stack()" ); +| +| /* zero only the new slots.*/ +| memset((yy_buffer_stack) + (yy_buffer_stack_max), 0, grow_size * sizeof(struct yy_buffer_state*)); +| (yy_buffer_stack_max) = num_to_alloc; +| } +| } +| +| /** Setup the input buffer state to scan directly from a user-specified character buffer. +| * @param base the character buffer +| * @param size the size in bytes of the character buffer +| * +| * @return the newly allocated buffer state object. +| */ +| YY_BUFFER_STATE yy_scan_buffer (char * base, yy_size_t size ) +| { +| YY_BUFFER_STATE b; +| +| if ( size < 2 || +| base[size-2] != YY_END_OF_BUFFER_CHAR || +| base[size-1] != YY_END_OF_BUFFER_CHAR ) +| /* They forgot to leave room for the EOB's. */ +| return 0; +| +| b = (YY_BUFFER_STATE) yyalloc(sizeof( struct yy_buffer_state ) ); +| if ( ! b ) +| YY_FATAL_ERROR( "out of dynamic memory in yy_scan_buffer()" ); +| +| b->yy_buf_size = size - 2; /* "- 2" to take care of EOB's */ +| b->yy_buf_pos = b->yy_ch_buf = base; +| b->yy_is_our_buffer = 0; +| b->yy_input_file = 0; +| b->yy_n_chars = b->yy_buf_size; +| b->yy_is_interactive = 0; +| b->yy_at_bol = 1; +| b->yy_fill_buffer = 0; +| b->yy_buffer_status = YY_BUFFER_NEW; +| +| yy_switch_to_buffer(b ); +| +| return b; +| } +| +| /** Setup the input buffer state to scan a string. The next call to yylex() will +| * scan from a @e copy of @a str. +| * @param yystr a NUL-terminated string to scan +| * +| * @return the newly allocated buffer state object. +| * @note If you want to scan bytes that may contain NUL values, then use +| * yy_scan_bytes() instead. +| */ +| YY_BUFFER_STATE yy_scan_string (yyconst char * yystr ) +| { +| +| return yy_scan_bytes(yystr,strlen(yystr) ); +| } +| +| /** Setup the input buffer state to scan the given bytes. The next call to yylex() will +| * scan from a @e copy of @a bytes. +| * @param yybytes the byte buffer to scan +| * @param _yybytes_len the number of bytes in the buffer pointed to by @a bytes. +| * +| * @return the newly allocated buffer state object. +| */ +| YY_BUFFER_STATE yy_scan_bytes (yyconst char * yybytes, int _yybytes_len ) +| { +| YY_BUFFER_STATE b; +| char *buf; +| yy_size_t n; +| int i; +| +| /* Get memory for full buffer, including space for trailing EOB's. */ +| n = _yybytes_len + 2; +| buf = (char *) yyalloc(n ); +| if ( ! buf ) +| YY_FATAL_ERROR( "out of dynamic memory in yy_scan_bytes()" ); +| +| for ( i = 0; i < _yybytes_len; ++i ) +| buf[i] = yybytes[i]; +| +| buf[_yybytes_len] = buf[_yybytes_len+1] = YY_END_OF_BUFFER_CHAR; +| +| b = yy_scan_buffer(buf,n ); +| if ( ! b ) +| YY_FATAL_ERROR( "bad buffer in yy_scan_bytes()" ); +| +| /* It's okay to grow etc. this buffer, and we should throw it +| * away when we're done. +| */ +| b->yy_is_our_buffer = 1; +| +| return b; +| } +| +| #ifndef YY_EXIT_FAILURE +| #define YY_EXIT_FAILURE 2 +| #endif +| +| static void yy_fatal_error (yyconst char* msg ) +| { +| (void) fprintf( stderr, "%s\n", msg ); +| exit( YY_EXIT_FAILURE ); +| } +| +| /* Redefine yyless() so it works in section 3 code. */ +| +| #undef yyless +| #define yyless(n) \ +| do \ +| { \ +| /* Undo effects of setting up yytext. */ \ +| int yyless_macro_arg = (n); \ +| YY_LESS_LINENO(yyless_macro_arg);\ +| yytext[yyleng] = (yy_hold_char); \ +| (yy_c_buf_p) = yytext + yyless_macro_arg; \ +| (yy_hold_char) = *(yy_c_buf_p); \ +| *(yy_c_buf_p) = '\0'; \ +| yyleng = yyless_macro_arg; \ +| } \ +| while ( 0 ) +| +| /* Accessor methods (get/set functions) to struct members. */ +| +| /** Get the current line number. +| * +| */ +| int yyget_lineno (void) +| { +| +| return yylineno; +| } +| +| /** Get the input stream. +| * +| */ +| FILE *yyget_in (void) +| { +| return yyin; +| } +| +| /** Get the output stream. +| * +| */ +| FILE *yyget_out (void) +| { +| return yyout; +| } +| +| /** Get the length of the current token. +| * +| */ +| int yyget_leng (void) +| { +| return yyleng; +| } +| +| /** Get the current token. +| * +| */ +| +| char *yyget_text (void) +| { +| return yytext; +| } +| +| /** Set the current line number. +| * @param line_number +| * +| */ +| void yyset_lineno (int line_number ) +| { +| +| yylineno = line_number; +| } +| +| /** Set the input stream. This does not discard the current +| * input buffer. +| * @param in_str A readable stream. +| * +| * @see yy_switch_to_buffer +| */ +| void yyset_in (FILE * in_str ) +| { +| yyin = in_str ; +| } +| +| void yyset_out (FILE * out_str ) +| { +| yyout = out_str ; +| } +| +| int yyget_debug (void) +| { +| return yy_flex_debug; +| } +| +| void yyset_debug (int bdebug ) +| { +| yy_flex_debug = bdebug ; +| } +| +| static int yy_init_globals (void) +| { +| /* Initialization is the same as for the non-reentrant scanner. +| * This function is called from yylex_destroy(), so don't allocate here. +| */ +| +| (yy_buffer_stack) = 0; +| (yy_buffer_stack_top) = 0; +| (yy_buffer_stack_max) = 0; +| (yy_c_buf_p) = (char *) 0; +| (yy_init) = 0; +| (yy_start) = 0; +| +| (yy_state_buf) = 0; +| (yy_state_ptr) = 0; +| (yy_full_match) = 0; +| (yy_lp) = 0; +| +| /* Defined in main.c */ +| #ifdef YY_STDINIT +| yyin = stdin; +| yyout = stdout; +| #else +| yyin = (FILE *) 0; +| yyout = (FILE *) 0; +| #endif +| +| /* For future reference: Set errno on error, since we are called by +| * yylex_init() +| */ +| return 0; +| } +| +| /* yylex_destroy is for both reentrant and non-reentrant scanners. */ +| int yylex_destroy (void) +| { +| +| /* Pop the buffer stack, destroying each element. */ +| while(YY_CURRENT_BUFFER){ +| yy_delete_buffer(YY_CURRENT_BUFFER ); +| YY_CURRENT_BUFFER_LVALUE = NULL; +| yypop_buffer_state(); +| } +| +| /* Destroy the stack itself. */ +| yyfree((yy_buffer_stack) ); +| (yy_buffer_stack) = NULL; +| +| yyfree ( (yy_state_buf) ); +| (yy_state_buf) = NULL; +| +| /* Reset the globals. This is important in a non-reentrant scanner so the next time +| * yylex() is called, initialization will occur. */ +| yy_init_globals( ); +| +| return 0; +| } +| +| /* +| * Internal utility routines. +| */ +| +| #ifndef yytext_ptr +| static void yy_flex_strncpy (char* s1, yyconst char * s2, int n ) +| { +| register int i; +| for ( i = 0; i < n; ++i ) +| s1[i] = s2[i]; +| } +| #endif +| +| #ifdef YY_NEED_STRLEN +| static int yy_flex_strlen (yyconst char * s ) +| { +| register int n; +| for ( n = 0; s[n]; ++n ) +| ; +| +| return n; +| } +| #endif +| +| void *yyalloc (yy_size_t size ) +| { +| return (void *) malloc( size ); +| } +| +| void *yyrealloc (void * ptr, yy_size_t size ) +| { +| /* The cast to (char *) in the following accommodates both +| * implementations that use char* generic pointers, and those +| * that use void* generic pointers. It works with the latter +| * because both ANSI C and C++ allow castless assignment from +| * any pointer type to void*, and deal with argument conversions +| * as though doing an assignment. +| */ +| return (void *) realloc( (char *) ptr, size ); +| } +| +| void yyfree (void * ptr ) +| { +| free( (char *) ptr ); /* see yyrealloc() for (char *) cast */ +| } +| +| #define YYTABLES_NAME "yytables" +| +| #line 9 "conftest.l" +| +| +| #ifdef YYTEXT_POINTER +| extern char *yytext; +| #endif +| int +| main (void) +| { +| return ! yylex () + ! yywrap (); +| } +configure:4508: gcc -o conftest -g -O2 -g -Wall -O2 conftest.c -lfl >&5 +configure:4515: $? = 0 +configure:4539: result: -lfl +configure:4545: checking whether yytext is a pointer +configure:4566: gcc -o conftest -g -O2 -g -Wall -O2 conftest.c -lfl >&5 +configure:4573: $? = 0 +configure:4595: result: yes +configure:4682: checking build system type +configure:4700: result: x86_64-pc-linux-gnu +configure:4722: checking host system type +configure:4737: result: x86_64-pc-linux-gnu +configure:4759: checking for a sed that does not truncate output +configure:4825: result: /bin/sed +configure:4843: checking for grep that handles long lines and -e +configure:4903: result: /bin/grep +configure:4908: checking for egrep +configure:4972: result: /bin/grep -E +configure:4977: checking for fgrep +configure:5041: result: /bin/grep -F +configure:5076: checking for ld used by gcc +configure:5143: result: /usr/bin/ld +configure:5152: checking if the linker (/usr/bin/ld) is GNU ld +configure:5167: result: yes +configure:5179: checking for BSD- or MS-compatible name lister (nm) +configure:5228: result: /usr/bin/nm -B +configure:5346: checking the name lister (/usr/bin/nm -B) interface +configure:5353: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:5356: /usr/bin/nm -B "conftest.o" +configure:5359: output +0000000000000000 B some_variable +configure:5366: result: BSD nm +configure:5369: checking whether ln -s works +configure:5373: result: yes +configure:5381: checking the maximum length of command line arguments +configure:5501: result: 3458764513820540925 +configure:5518: checking whether the shell understands some XSI constructs +configure:5528: result: yes +configure:5532: checking whether the shell understands "+=" +configure:5538: result: yes +configure:5573: checking for /usr/bin/ld option to reload object files +configure:5580: result: -r +configure:5649: checking for objdump +configure:5665: found /usr/bin/objdump +configure:5676: result: objdump +configure:5708: checking how to recognize dependent libraries +configure:5904: result: pass_all +configure:5964: checking for ar +configure:5980: found /usr/bin/ar +configure:5991: result: ar +configure:6069: checking for strip +configure:6085: found /usr/bin/strip +configure:6096: result: strip +configure:6168: checking for ranlib +configure:6184: found /usr/bin/ranlib +configure:6195: result: ranlib +configure:6285: checking command to parse /usr/bin/nm -B output from gcc object +configure:6403: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:6406: $? = 0 +configure:6410: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm +configure:6413: $? = 0 +configure:6467: gcc -o conftest -g -O2 -g -Wall -O2 conftest.c conftstm.o >&5 +configure:6470: $? = 0 +configure:6508: result: ok +configure:6603: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:6606: $? = 0 +configure:7374: checking how to run the C preprocessor +configure:7414: gcc -E conftest.c +configure:7421: $? = 0 +configure:7452: gcc -E conftest.c +conftest.c:13:28: error: ac_nonexistent.h: No such file or directory +configure:7459: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| #define PACKAGE_NAME "bluez" +| #define PACKAGE_TARNAME "bluez" +| #define PACKAGE_VERSION "4.66" +| #define PACKAGE_STRING "bluez 4.66" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE "bluez" +| #define VERSION "4.66" +| #define CONFIGDIR "/etc/bluetooth" +| #define STORAGEDIR "/var/lib/bluetooth" +| #define YYTEXT_POINTER 1 +| /* end confdefs.h. */ +| #include +configure:7492: result: gcc -E +configure:7521: gcc -E conftest.c +configure:7528: $? = 0 +configure:7559: gcc -E conftest.c +conftest.c:13:28: error: ac_nonexistent.h: No such file or directory +configure:7566: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| #define PACKAGE_NAME "bluez" +| #define PACKAGE_TARNAME "bluez" +| #define PACKAGE_VERSION "4.66" +| #define PACKAGE_STRING "bluez 4.66" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE "bluez" +| #define VERSION "4.66" +| #define CONFIGDIR "/etc/bluetooth" +| #define STORAGEDIR "/var/lib/bluetooth" +| #define YYTEXT_POINTER 1 +| /* end confdefs.h. */ +| #include +configure:7606: checking for ANSI C header files +configure:7636: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:7643: $? = 0 +configure:7742: gcc -o conftest -g -O2 -g -Wall -O2 conftest.c >&5 +configure:7746: $? = 0 +configure:7752: ./conftest +configure:7756: $? = 0 +configure:7774: result: yes +configure:7798: checking for sys/types.h +configure:7819: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:7826: $? = 0 +configure:7843: result: yes +configure:7798: checking for sys/stat.h +configure:7819: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:7826: $? = 0 +configure:7843: result: yes +configure:7798: checking for stdlib.h +configure:7819: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:7826: $? = 0 +configure:7843: result: yes +configure:7798: checking for string.h +configure:7819: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:7826: $? = 0 +configure:7843: result: yes +configure:7798: checking for memory.h +configure:7819: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:7826: $? = 0 +configure:7843: result: yes +configure:7798: checking for strings.h +configure:7819: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:7826: $? = 0 +configure:7843: result: yes +configure:7798: checking for inttypes.h +configure:7819: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:7826: $? = 0 +configure:7843: result: yes +configure:7798: checking for stdint.h +configure:7819: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:7826: $? = 0 +configure:7843: result: yes +configure:7798: checking for unistd.h +configure:7819: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:7826: $? = 0 +configure:7843: result: yes +configure:7861: checking for dlfcn.h +configure:7882: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:7889: $? = 0 +configure:7906: result: yes +configure:8062: checking for objdir +configure:8077: result: .libs +configure:8369: checking if gcc supports -fno-rtti -fno-exceptions +configure:8387: gcc -c -g -O2 -g -Wall -O2 -fno-rtti -fno-exceptions conftest.c >&5 +cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C +configure:8391: $? = 0 +configure:8404: result: no +configure:8424: checking for gcc option to produce PIC +configure:8696: result: -fPIC -DPIC +configure:8708: checking if gcc PIC flag -fPIC -DPIC works +configure:8726: gcc -c -g -O2 -g -Wall -O2 -fPIC -DPIC -DPIC conftest.c >&5 +configure:8730: $? = 0 +configure:8743: result: yes +configure:8767: checking if gcc static flag -static works +configure:8795: result: yes +configure:8810: checking if gcc supports -c -o file.o +configure:8831: gcc -c -g -O2 -g -Wall -O2 -o out/conftest2.o conftest.c >&5 +configure:8835: $? = 0 +configure:8857: result: yes +configure:8865: checking if gcc supports -c -o file.o +configure:8912: result: yes +configure:8945: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries +configure:10019: result: yes +configure:10056: checking whether -lc should be explicitly linked in +configure:10061: gcc -c -g -O2 -g -Wall -O2 conftest.c >&5 +configure:10064: $? = 0 +configure:10079: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 +configure:10082: $? = 0 +configure:10094: result: no +configure:10258: checking dynamic linker characteristics +configure:10701: gcc -o conftest -g -O2 -g -Wall -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 +configure:10708: $? = 0 +configure:10944: result: GNU/Linux ld.so +configure:11046: checking how to hardcode library paths into programs +configure:11071: result: immediate +configure:11904: checking whether stripping libraries is possible +configure:11909: result: yes +configure:11944: checking if libtool supports shared libraries +configure:11946: result: yes +configure:11949: checking whether to build shared libraries +configure:11970: result: yes +configure:11973: checking whether to build static libraries +configure:11977: result: no +configure:12014: checking for ppoll +configure:12070: gcc -o conftest -g -O2 -g -Wall -O2 conftest.c >&5 +configure:12077: $? = 0 +configure:12097: result: yes +configure:12111: checking for dlopen in -ldl +configure:12146: gcc -o conftest -g -O2 -g -Wall -O2 conftest.c -ldl >&5 +configure:12153: $? = 0 +configure:12174: result: yes +configure:12188: checking for DBUS +configure:12195: $PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0" +configure:12198: $? = 0 +configure:12211: $PKG_CONFIG --exists --print-errors "dbus-1 >= 1.0" +configure:12214: $? = 0 +configure:12253: result: yes +configure:12257: checking for dbus_watch_get_unix_fd in -ldbus-1 +configure:12292: gcc -o conftest -g -O2 -g -Wall -O2 conftest.c -ldbus-1 >&5 +configure:12299: $? = 0 +configure:12320: result: yes +configure:12332: checking for dbus_connection_can_send_type in -ldbus-1 +configure:12367: gcc -o conftest -g -O2 -g -Wall -O2 conftest.c -ldbus-1 >&5 +/tmp/ccsGLax9.o: In function `main': +/home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/conftest.c:36: undefined reference to `dbus_connection_can_send_type' +collect2: ld returned 1 exit status +configure:12374: $? = 1 +configure: failed program was: +| /* confdefs.h. */ +| #define PACKAGE_NAME "bluez" +| #define PACKAGE_TARNAME "bluez" +| #define PACKAGE_VERSION "4.66" +| #define PACKAGE_STRING "bluez 4.66" +| #define PACKAGE_BUGREPORT "" +| #define PACKAGE "bluez" +| #define VERSION "4.66" +| #define CONFIGDIR "/etc/bluetooth" +| #define STORAGEDIR "/var/lib/bluetooth" +| #define YYTEXT_POINTER 1 +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| /* end confdefs.h. */ +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char dbus_connection_can_send_type (); +| int +| main () +| { +| return dbus_connection_can_send_type (); +| ; +| return 0; +| } +configure:12395: result: no +configure:12413: checking for GLIB +configure:12420: $PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.14" +configure:12423: $? = 0 +configure:12436: $PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.14" +configure:12439: $? = 0 +configure:12478: result: yes +configure:12488: checking for ALSA +configure:12495: $PKG_CONFIG --exists --print-errors "alsa" +configure:12498: $? = 0 +configure:12511: $PKG_CONFIG --exists --print-errors "alsa" +configure:12514: $? = 0 +configure:12549: result: yes +configure:12553: checking for clock_gettime in -lrt +configure:12588: gcc -o conftest -g -O2 -g -Wall -O2 conftest.c -lrt >&5 +configure:12595: $? = 0 +configure:12616: result: yes +configure:12630: checking for GSTREAMER +configure:12637: $PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10" +configure:12640: $? = 0 +configure:12653: $PKG_CONFIG --exists --print-errors "gstreamer-0.10 gstreamer-plugins-base-0.10" +configure:12656: $? = 0 +configure:12691: result: yes +configure:12703: checking for USB +configure:12710: $PKG_CONFIG --exists --print-errors "libusb" +configure:12713: $? = 0 +configure:12726: $PKG_CONFIG --exists --print-errors "libusb" +configure:12729: $? = 0 +configure:12764: result: yes +configure:12770: checking for usb_get_busses in -lusb +configure:12805: gcc -o conftest -g -O2 -g -Wall -O2 conftest.c -lusb >&5 +configure:12812: $? = 0 +configure:12833: result: yes +configure:12845: checking for usb_interrupt_read in -lusb +configure:12880: gcc -o conftest -g -O2 -g -Wall -O2 conftest.c -lusb >&5 +configure:12887: $? = 0 +configure:12908: result: yes +configure:12924: checking for SNDFILE +configure:12931: $PKG_CONFIG --exists --print-errors "sndfile" +configure:12934: $? = 0 +configure:12947: $PKG_CONFIG --exists --print-errors "sndfile" +configure:12950: $? = 0 +configure:12985: result: yes +configure:13480: checking for CAPNG +configure:13487: $PKG_CONFIG --exists --print-errors "libcap-ng" +configure:13490: $? = 0 +configure:13503: $PKG_CONFIG --exists --print-errors "libcap-ng" +configure:13506: $? = 0 +configure:13545: result: yes +configure:13566: checking for NETLINK +configure:13573: $PKG_CONFIG --exists --print-errors "libnl-1" +configure:13576: $? = 0 +configure:13589: $PKG_CONFIG --exists --print-errors "libnl-1" +configure:13592: $? = 0 +configure:13631: result: yes +configure:13962: creating ./config.status + +## ---------------------- ## +## Running config.status. ## +## ---------------------- ## + +This file was extended by bluez config.status 4.66, which was +generated by GNU Autoconf 2.63. Invocation command line was + + CONFIG_FILES = + CONFIG_HEADERS = + CONFIG_LINKS = + CONFIG_COMMANDS = + $ ./config.status + +on chimagu + +config.status:1077: creating Makefile +config.status:1077: creating scripts/bluetooth.rules +config.status:1077: creating doc/version.xml +config.status:1077: creating src/bluetoothd.8 +config.status:1077: creating bluez.pc +config.status:1077: creating config.h +config.status:1351: executing depfiles commands +config.status:1351: executing libtool commands + +## ---------------- ## +## Cache variables. ## +## ---------------- ## + +ac_cv_build=x86_64-pc-linux-gnu +ac_cv_c_compiler_gnu=yes +ac_cv_env_ALSA_CFLAGS_set= +ac_cv_env_ALSA_CFLAGS_value= +ac_cv_env_ALSA_LIBS_set= +ac_cv_env_ALSA_LIBS_value= +ac_cv_env_CAPNG_CFLAGS_set= +ac_cv_env_CAPNG_CFLAGS_value= +ac_cv_env_CAPNG_LIBS_set= +ac_cv_env_CAPNG_LIBS_value= +ac_cv_env_CC_set= +ac_cv_env_CC_value= +ac_cv_env_CFLAGS_set=set +ac_cv_env_CFLAGS_value='-g -O2 -g -Wall -O2' +ac_cv_env_CPPFLAGS_set=set +ac_cv_env_CPPFLAGS_value= +ac_cv_env_CPP_set= +ac_cv_env_CPP_value= +ac_cv_env_DBUS_CFLAGS_set= +ac_cv_env_DBUS_CFLAGS_value= +ac_cv_env_DBUS_LIBS_set= +ac_cv_env_DBUS_LIBS_value= +ac_cv_env_GLIB_CFLAGS_set= +ac_cv_env_GLIB_CFLAGS_value= +ac_cv_env_GLIB_LIBS_set= +ac_cv_env_GLIB_LIBS_value= +ac_cv_env_GSTREAMER_CFLAGS_set= +ac_cv_env_GSTREAMER_CFLAGS_value= +ac_cv_env_GSTREAMER_LIBS_set= +ac_cv_env_GSTREAMER_LIBS_value= +ac_cv_env_LDFLAGS_set=set +ac_cv_env_LDFLAGS_value= +ac_cv_env_LIBS_set= +ac_cv_env_LIBS_value= +ac_cv_env_NETLINK_CFLAGS_set= +ac_cv_env_NETLINK_CFLAGS_value= +ac_cv_env_NETLINK_LIBS_set= +ac_cv_env_NETLINK_LIBS_value= +ac_cv_env_PKG_CONFIG_set= +ac_cv_env_PKG_CONFIG_value= +ac_cv_env_SNDFILE_CFLAGS_set= +ac_cv_env_SNDFILE_CFLAGS_value= +ac_cv_env_SNDFILE_LIBS_set= +ac_cv_env_SNDFILE_LIBS_value= +ac_cv_env_USB_CFLAGS_set= +ac_cv_env_USB_CFLAGS_value= +ac_cv_env_USB_LIBS_set= +ac_cv_env_USB_LIBS_value= +ac_cv_env_YACC_set= +ac_cv_env_YACC_value= +ac_cv_env_YFLAGS_set= +ac_cv_env_YFLAGS_value= +ac_cv_env_build_alias_set=set +ac_cv_env_build_alias_value=x86_64-linux-gnu +ac_cv_env_host_alias_set= +ac_cv_env_host_alias_value= +ac_cv_env_target_alias_set= +ac_cv_env_target_alias_value= +ac_cv_func_ppoll=yes +ac_cv_header_dlfcn_h=yes +ac_cv_header_inttypes_h=yes +ac_cv_header_memory_h=yes +ac_cv_header_stdc=yes +ac_cv_header_stdint_h=yes +ac_cv_header_stdlib_h=yes +ac_cv_header_string_h=yes +ac_cv_header_strings_h=yes +ac_cv_header_sys_stat_h=yes +ac_cv_header_sys_types_h=yes +ac_cv_header_unistd_h=yes +ac_cv_host=x86_64-pc-linux-gnu +ac_cv_lib_dbus_1_dbus_connection_can_send_type=no +ac_cv_lib_dbus_1_dbus_watch_get_unix_fd=yes +ac_cv_lib_dl_dlopen=yes +ac_cv_lib_lex=-lfl +ac_cv_lib_rt_clock_gettime=yes +ac_cv_lib_usb_usb_get_busses=yes +ac_cv_lib_usb_usb_interrupt_read=yes +ac_cv_objext=o +ac_cv_path_EGREP='/bin/grep -E' +ac_cv_path_FGREP='/bin/grep -F' +ac_cv_path_GREP=/bin/grep +ac_cv_path_SED=/bin/sed +ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config +ac_cv_path_install='/usr/bin/install -c' +ac_cv_path_mkdir=/bin/mkdir +ac_cv_prog_AWK=gawk +ac_cv_prog_CPP='gcc -E' +ac_cv_prog_LEX=flex +ac_cv_prog_YACC='bison -y' +ac_cv_prog_ac_ct_AR=ar +ac_cv_prog_ac_ct_CC=gcc +ac_cv_prog_ac_ct_OBJDUMP=objdump +ac_cv_prog_ac_ct_RANLIB=ranlib +ac_cv_prog_ac_ct_STRIP=strip +ac_cv_prog_cc_c89= +ac_cv_prog_cc_g=yes +ac_cv_prog_cc_gcc_c_o=yes +ac_cv_prog_cc_pie=yes +ac_cv_prog_lex_root=lex.yy +ac_cv_prog_lex_yytext_pointer=yes +ac_cv_prog_make_make_set=yes +am_cv_CC_dependencies_compiler_type=none +lt_cv_deplibs_check_method=pass_all +lt_cv_file_magic_cmd='$MAGIC_CMD' +lt_cv_file_magic_test_file= +lt_cv_ld_reload_flag=-r +lt_cv_nm_interface='BSD nm' +lt_cv_objdir=.libs +lt_cv_path_LD=/usr/bin/ld +lt_cv_path_NM='/usr/bin/nm -B' +lt_cv_prog_compiler_c_o=yes +lt_cv_prog_compiler_pic_works=yes +lt_cv_prog_compiler_rtti_exceptions=no +lt_cv_prog_compiler_static_works=yes +lt_cv_prog_gnu_ld=yes +lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\''' +lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' +lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\) $/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' +lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' +lt_cv_sys_max_cmd_len=3458764513820540925 +pkg_cv_ALSA_CFLAGS='-I/usr/include/alsa ' +pkg_cv_ALSA_LIBS='-lasound ' +pkg_cv_CAPNG_CFLAGS=' ' +pkg_cv_CAPNG_LIBS='-lcap-ng ' +pkg_cv_DBUS_CFLAGS='-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include ' +pkg_cv_DBUS_LIBS='-ldbus-1 -lpthread -lrt ' +pkg_cv_GLIB_CFLAGS='-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include ' +pkg_cv_GLIB_LIBS='-lglib-2.0 ' +pkg_cv_GSTREAMER_CFLAGS='-pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 ' +pkg_cv_GSTREAMER_LIBS='-pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0 ' +pkg_cv_NETLINK_CFLAGS=' ' +pkg_cv_NETLINK_LIBS='-lnl ' +pkg_cv_SNDFILE_CFLAGS=' ' +pkg_cv_SNDFILE_LIBS='-lsndfile ' +pkg_cv_USB_CFLAGS=' ' +pkg_cv_USB_LIBS='-lusb ' + +## ----------------- ## +## Output variables. ## +## ----------------- ## + +ACLOCAL='${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run aclocal-1.11' +ALSA_CFLAGS='-I/usr/include/alsa ' +ALSA_FALSE='#' +ALSA_LIBS='-lasound -lrt' +ALSA_TRUE='' +AMDEPBACKSLASH='' +AMDEP_FALSE='' +AMDEP_TRUE='#' +AMTAR='${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run tar' +AM_BACKSLASH='\' +AM_DEFAULT_VERBOSITY='1' +AR='ar' +AUDIOPLUGIN_FALSE='#' +AUDIOPLUGIN_TRUE='' +AUTOCONF='${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run autoconf' +AUTOHEADER='${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run autoheader' +AUTOMAKE='${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run automake-1.11' +AWK='gawk' +BCCMD_FALSE='#' +BCCMD_TRUE='' +CAPNG_CFLAGS=' ' +CAPNG_LIBS='-lcap-ng ' +CC='gcc' +CCDEPMODE='depmode=none' +CFLAGS='-g -O2 -g -Wall -O2 -D_FORTIFY_SOURCE=2 -fPIC -g' +CONFIGDIR='/etc/bluetooth' +CONFIGFILES_FALSE='#' +CONFIGFILES_TRUE='' +CPP='gcc -E' +CPPFLAGS='' +CUPS_FALSE='#' +CUPS_TRUE='' +CYGPATH_W='echo' +DBUS_CFLAGS='-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include ' +DBUS_LIBS='-ldbus-1 -lpthread -lrt ' +DEFS='-DHAVE_CONFIG_H' +DEPDIR='.deps' +DFUTOOL_FALSE='#' +DFUTOOL_TRUE='' +DSYMUTIL='' +DUMPBIN='' +DUND_FALSE='#' +DUND_TRUE='' +ECHOPLUGIN_FALSE='' +ECHOPLUGIN_TRUE='#' +ECHO_C='' +ECHO_N='-n' +ECHO_T='' +EGREP='/bin/grep -E' +EXEEXT='' +FGREP='/bin/grep -F' +GLIB_CFLAGS='-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include ' +GLIB_LIBS='-lglib-2.0 ' +GREP='/bin/grep' +GSTREAMER_CFLAGS='-pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 ' +GSTREAMER_FALSE='#' +GSTREAMER_LIBS='-pthread -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lxml2 -lgthread-2.0 -lrt -lglib-2.0 ' +GSTREAMER_PLUGINSDIR='/usr/lib/gstreamer-0.10' +GSTREAMER_TRUE='' +HID2HCI_FALSE='#' +HID2HCI_TRUE='' +HIDD_FALSE='#' +HIDD_TRUE='' +INPUTPLUGIN_FALSE='#' +INPUTPLUGIN_TRUE='' +INSTALL_DATA='${INSTALL} -m 644' +INSTALL_PROGRAM='${INSTALL}' +INSTALL_SCRIPT='${INSTALL}' +INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' +LD='/usr/bin/ld -m elf_x86_64' +LDFLAGS=' -pie' +LEX='flex' +LEXLIB='-lfl' +LEX_OUTPUT_ROOT='lex.yy' +LIBOBJS='' +LIBS='' +LIBTOOL='$(SHELL) $(top_builddir)/libtool' +LIPO='' +LN_S='ln -s' +LTLIBOBJS='' +MAINT='#' +MAINTAINER_MODE_FALSE='' +MAINTAINER_MODE_TRUE='#' +MAKEINFO='${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/missing --run makeinfo' +MKDIR_P='/bin/mkdir -p' +NETLINK_CFLAGS=' ' +NETLINK_FALSE='#' +NETLINK_LIBS='-lnl ' +NETLINK_TRUE='' +NETWORKPLUGIN_FALSE='#' +NETWORKPLUGIN_TRUE='' +NM='/usr/bin/nm -B' +NMEDIT='' +OBJDUMP='objdump' +OBJEXT='o' +OTOOL64='' +OTOOL='' +PACKAGE='bluez' +PACKAGE_BUGREPORT='' +PACKAGE_NAME='bluez' +PACKAGE_STRING='bluez 4.66' +PACKAGE_TARNAME='bluez' +PACKAGE_VERSION='4.66' +PAND_FALSE='#' +PAND_TRUE='' +PATH_SEPARATOR=':' +PCMCIA_FALSE='#' +PCMCIA_TRUE='' +PKG_CONFIG='/usr/bin/pkg-config' +PNATPLUGIN_FALSE='#' +PNATPLUGIN_TRUE='' +RANLIB='ranlib' +SBC_FALSE='#' +SBC_TRUE='' +SED='/bin/sed' +SERIALPLUGIN_FALSE='#' +SERIALPLUGIN_TRUE='' +SERVICEPLUGIN_FALSE='#' +SERVICEPLUGIN_TRUE='' +SET_MAKE='' +SHELL='/bin/sh' +SNDFILE_CFLAGS=' ' +SNDFILE_FALSE='#' +SNDFILE_LIBS='-lsndfile ' +SNDFILE_TRUE='' +STORAGEDIR='/var/lib/bluetooth' +STRIP='strip' +TELEPHONY_DRIVER='telephony-dummy.c' +TEST_FALSE='#' +TEST_TRUE='' +TOOLS_FALSE='#' +TOOLS_TRUE='' +TRACER_FALSE='#' +TRACER_TRUE='' +UDEVRULES_FALSE='#' +UDEVRULES_TRUE='' +UDEV_DATADIR='/lib/udev/rules.d' +USB_CFLAGS=' ' +USB_FALSE='#' +USB_LIBS='-lusb ' +USB_TRUE='' +VERSION='4.66' +YACC='bison -y' +YFLAGS='' +ac_ct_CC='gcc' +ac_ct_DUMPBIN='' +am__EXEEXT_FALSE='' +am__EXEEXT_TRUE='#' +am__fastdepCC_FALSE='' +am__fastdepCC_TRUE='#' +am__include='include' +am__isrc='' +am__leading_dot='.' +am__quote='' +am__tar='${AMTAR} chof - "$$tardir"' +am__untar='${AMTAR} xf -' +bindir='${exec_prefix}/bin' +build='x86_64-pc-linux-gnu' +build_alias='x86_64-linux-gnu' +build_cpu='x86_64' +build_os='linux-gnu' +build_vendor='pc' +datadir='${datarootdir}' +datarootdir='${prefix}/share' +docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' +dvidir='${docdir}' +exec_prefix='${prefix}' +host='x86_64-pc-linux-gnu' +host_alias='' +host_cpu='x86_64' +host_os='linux-gnu' +host_vendor='pc' +htmldir='${docdir}' +includedir='${prefix}/include' +infodir='${prefix}/share/info' +install_sh='${SHELL} /home/iwamatsu/dev/debian/bluetooth/for-testing/bluez-4.66/install-sh' +libdir='/usr/lib' +libexecdir='${prefix}/lib/bluez' +localedir='${datarootdir}/locale' +localstatedir='/var' +lt_ECHO='echo' +mandir='${prefix}/share/man' +mkdir_p='/bin/mkdir -p' +oldincludedir='/usr/include' +pdfdir='${docdir}' +prefix='/usr' +program_transform_name='s,x,x,' +psdir='${docdir}' +sbindir='${exec_prefix}/sbin' +sharedstatedir='${prefix}/com' +sysconfdir='/etc' +target_alias='' + +## ----------- ## +## confdefs.h. ## +## ----------- ## + +#define PACKAGE_NAME "bluez" +#define PACKAGE_TARNAME "bluez" +#define PACKAGE_VERSION "4.66" +#define PACKAGE_STRING "bluez 4.66" +#define PACKAGE_BUGREPORT "" +#define PACKAGE "bluez" +#define VERSION "4.66" +#define CONFIGDIR "/etc/bluetooth" +#define STORAGEDIR "/var/lib/bluetooth" +#define YYTEXT_POINTER 1 +#define STDC_HEADERS 1 +#define HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_STAT_H 1 +#define HAVE_STDLIB_H 1 +#define HAVE_STRING_H 1 +#define HAVE_MEMORY_H 1 +#define HAVE_STRINGS_H 1 +#define HAVE_INTTYPES_H 1 +#define HAVE_STDINT_H 1 +#define HAVE_UNISTD_H 1 +#define HAVE_DLFCN_H 1 +#define LT_OBJDIR ".libs/" +#define NEED_DBUS_CONNECTION_CAN_SEND_TYPE 1 +#define HAVE_LIBUSB 1 +#define HAVE_CAPNG 1 + +configure: exit 0 --- bluez-4.66.orig/debian/bluez.bluetooth.default +++ bluez-4.66/debian/bluez.bluetooth.default @@ -0,0 +1,20 @@ +# Defaults for bluez + +# start bluetooth on boot? +# compatibility note: if this variable is _not_ found bluetooth will start +BLUETOOTH_ENABLED=1 + +# This setting used to switch HID devices (e.g mouse/keyboad) to HCI mode, that +# is you will have bluetooth functionality from your dongle instead of only +# HID. This is accomplished for supported devices by udev in +# /lib/udev/rules.d/62-bluez-hid2hci.rules by invoking hid2hci with correct +# parameters. +# See /usr/share/doc/bluez/NEWS.Debian.gz for further information. + +# Older daemons like pand dund and hidd can be found in bluez-compat package as +# they are deprecated and provided for backward compatibility only. + +# Note that not every bluetooth dongle is capable of switching back to HID mode, +# see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355497 +HID2HCI_ENABLED=0 +HID2HCI_UNDO=0 --- bluez-4.66.orig/debian/README.Debian +++ bluez-4.66/debian/README.Debian @@ -0,0 +1,118 @@ +bluez for Debian +================ + +The /dev/rfcomm* serial devices entries are automatically created for using +RFCOMM with legacy applications -- see rfcomm(8). Users must be in group +'dialout' to have privileges to use these devices. + +You can edit /etc/bluetooth/rfcomm.conf to have some rfcomm devices bound +automatically at boot time. + +If you wish to install PCMCIA card services support for your Bluetooth +devices you should install the bluez-pcmcia-support package. + +Some USB dongles require firmware to make them work: bluez-firmware from the +"non-free" section provides the required firmware. + + +Mailing lists and documentation +------------------------------- +The old sourceforge lists have been discontinued, the new lists can be found at: + +http://www.bluez.org/development/lists/ + +plus a wiki at: http://wiki.bluez.org/ + +PIN (or passkey) management +--------------------------- +Interaction with the local user can be required while BT connection is +being established (pairing process) and the PIN is not yet known or +needs to be changed. + +To retrieve the passkey (or PIN) from the user a service program (agent) +running in user's interactive session needs to be prepared and listen +for requests of the bluez daemon when pairing begins. + +Examples of such programs are kblueplugd (kdebluetooth package) and +bluetooth-applet (bluez-gnome or gnome-bluetooth packages). A minimal +command-line agent is also provided by bluetooth-agent. + +Headset support +--------------- +There's support for bluetooth headset both via ALSA and GStreamer, respectively +via bluez-alsa and bluez-gstreamer packages. + +ALSA +~~~~ +You might setup your headset by discovering it with gnome-bluetooth, once setup +add the following configuration to ~/.asoundrc: + + pcm.bluetooth { + type bluetooth + device + } + +then audio can be played with supported player, e.g. mplayer: + + mplayer -ao alsa:device=bluetooth + +See also: http://wiki.bluez.org/wiki/HOWTO/AudioDevices + +Legacy daemons +-------------- +The bluez-compat package includes old legacy daemons such as dund, pand and hidd +for enabling dial-up, ethernet networking and input devices over bluetooth. + +Bluetooth Networking Quickstart with legacy daemons ++++++++++++++++++++++++++++++++++++++++++++++++++++ +1. Start dund and pand at boot time + +2. PPP over RFCOMM + +This is what most devices call "LAN Access" or "Serial Access". It +uses normal PPP over a serial connection. Most PDAs will be able to +connect using this method. + +Use the 'dund' tool to accept incoming connections. Configure pppd +as per the instructions in the ppp package. Then run: + +dund --listen --sdp --nodetach + +Try and connect your device and you'll see something like: + +dund[9801]: DUN daemon ver 1.1pre4 +dund[9811]: New connection from 00:02:31:24:17:6A + +The --sdp option causes the DUN access to be advertised to other +devices via the SDP protocol. Most devices need this in order to be +able to connect. + +Run dund --help to see the various other options available to you. + +If you want to make an outgoing connection using PPP, for instance to +a mobile phone, use the 'rfcomm' program from bluez-utils to bind a +/dev/rfcommX serial port to the phone, and then then use pppd as you +would with a normal modem. + +3. PAN + +The 'pand' tool allows you to use ethernet style networking over +Bluetooth. It creates a network interface on your machine that can be +configured in the same way normal network devices are. + +For full details see the PAN HOWTO at + + +Keyboard and mouse support with hidd +++++++++++++++++++++++++++++++++++++ +The hidd daemon allows keyboards and mice to be connected to your system. +Make sure you have hidd starting at boot as user root. +Discover you mouse or keyboard bluetooth address (bdaddr) by running +"hcitool scan". You must then connect to your keyboard or mouse using hidd +--connect . On first connection, pairing is likely and you should +press "connect" button on mice/keyboard, if any. Mice normally have a +preset PIN which should be in the manufacturer's documentation, try 0000. +For keyboards, type the PIN on the Bluetooth keyboard and hit enter, and +then supply it to the passkey agent (using a cable-attached keyboard). In +future your keyboard or mouse should reconnect to your computer +automatically. You must invoke hidd as root. --- bluez-4.66.orig/debian/bluez.examples +++ bluez-4.66/debian/bluez.examples @@ -0,0 +1,12 @@ +test/simple-agent +test/simple-service +test/list-devices +test/monitor-bluetooth +test/test-telephony +test/test-manager +test/test-serial +test/test-discovery +test/test-device +test/test-service +test/test-adapter +test/test-network --- bluez-4.66.orig/debian/bluez.preinst +++ bluez-4.66/debian/bluez.preinst @@ -0,0 +1,62 @@ +#!/bin/sh -e + +# snippet from http://www.dpkg.org/dpkg/ConffileHandling + +# Prepare to move a conffile without triggering a dpkg question +prep_mv_conffile() { + CONFFILE="$1" + + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE '{s/ obsolete$//;s/.* //p}\"`" + if [ "$md5sum" = "$old_md5sum" ]; then + rm -f "$CONFFILE" + fi + fi +} + +# Remove a no-longer used conffile +rm_conffile() { + PKGNAME="$1" + CONFFILE="$2" + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE '{s/ obsolete$//;s/.* //p}\"`" + if [ "$md5sum" != "$old_md5sum" ]; then + echo "Obsolete conffile $CONFFILE has been modified by you." + echo "Saving as $CONFFILE.dpkg-bak ..." + mv -f "$CONFFILE" "$CONFFILE".dpkg-bak + else + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi + fi +} + +case "$1" in +install|upgrade) + if dpkg --compare-versions "$2" le "3.7-1"; then + prep_mv_conffile "/etc/dbus-1/system.d/bluez-hcid.conf" + fi + + if dpkg --compare-versions "$2" le "3.30-1"; then + rm_conffile bluez-utils "/etc/bluetooth/network.service" + rm_conffile bluez-utils "/etc/bluetooth/serial.service" + rm_conffile bluez-utils "/etc/bluetooth/input.service" + fi + + # now that modprobe whines remove this old conffile, will be + # http://bugs.debian.org/523050 + base="/etc/modprobe.d/bluez" + rm_conffile bluez "$base" + if [ -e "$base.dpkg-bak" ]; then + if [ -e "$base.conf" ]; then + echo "$base.conf exists, not touching" + else + echo "Moving $base.dpkg-bak to $base.conf" + mv -f "$base.dpkg-bak" "$base.conf" + fi + fi +esac + +#DEBHELPER# --- bluez-4.66.orig/debian/bluez-pcmcia-support.postinst +++ bluez-4.66/debian/bluez-pcmcia-support.postinst @@ -0,0 +1,3 @@ +#!/bin/sh -e + +#DEBHELPER# --- bluez-4.66.orig/debian/watch +++ bluez-4.66/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.kernel.org/pub/linux/bluetooth/ .*bluez-([.\d]+)\.tar\.gz --- bluez-4.66.orig/debian/l2test.1 +++ bluez-4.66/debian/l2test.1 @@ -0,0 +1,45 @@ +.TH BLUETOOTH-AGENT "1" "March 2010" +.SH NAME +l2test \- L2CAP testing +.SH SYNOPSIS +.B l2test +.SH DESCRIPTION +\fBl2test\fP is L2CAP testing program. + +.SH USAGE +l2test [options] [bdaddr] +Modes: +\fB-r\fP listen and receive +\fB-w\fP listen and send +\fB-d\fP listen and dump incoming data +\fB-x\fP listen, then send, then dump incoming data +\fB-s\fP connect and send +\fB-u\fP connect and receive +\fB-n\fP connect and be silent +\fB-y\fP connect, then send, then dump incoming data +\fB-c\fP connect, disconnect, connect, \.\.\. +\fB-m\fP multiple connects +\fB-p\fP trigger dedicated bonding +\fB-z\fP information request +Options: +[\fB-b\fP bytes] [\fB-i\fP device] [\fB-P\fP psm] +[\fB-I\fP imtu] [\fB-O\fP omtu] +[\fB-L\fP seconds] enable SO_LINGER +[\fB-W\fP seconds] enable deferred setup +[\fB-B\fP filename] use data packets from file +[\fB-N\fP num] send num frames (default = infinite) +[\fB-C\fP num] send num frames before delay (default = 1) +[\fB-D\fP milliseconds] delay after sending num frames (default = 0) +[\fB-X\fP mode] select retransmission/flow-control mode +[\fB-F\fP fcs] use CRC16 check (default = 1) +[\fB-R\fP] reliable mode +[\fB-G\fP] use connectionless channel (datagram) +[\fB-A\fP] request authentication +[\fB-E\fP] request encryption +[\fB-S\fP] secure connection +[\fB-M\fP] become master +[\fB-T\fP] enable timestamps + +.SH AUTHOR +This manual page was written by Nobuhiro Iwamatsu , +for the Debian GNU/Linux system (but may be used by others). --- bluez-4.66.orig/debian/bluez-cups.install +++ bluez-4.66/debian/bluez-cups.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/cups/backend/* --- bluez-4.66.orig/debian/bluez.dirs +++ bluez-4.66/debian/bluez.dirs @@ -0,0 +1 @@ +usr/bin --- bluez-4.66.orig/debian/source.lintian-overrides +++ bluez-4.66/debian/source.lintian-overrides @@ -0,0 +1,5 @@ +# transitional packages +bluez source: debhelper-but-no-misc-depends bluez-utils +bluez source: debhelper-but-no-misc-depends bluez-audio +# metapackage +bluez source: debhelper-but-no-misc-depends bluetooth --- bluez-4.66.orig/debian/libbluetooth-dev.install +++ bluez-4.66/debian/libbluetooth-dev.install @@ -0,0 +1,5 @@ +debian/tmp/usr/include/* +debian/tmp/usr/lib/lib*.so +debian/tmp/usr/lib/*.la +debian/tmp/usr/lib/pkgconfig/* +debian/tmp/usr/lib/bluetooth/plugins/*.la --- bluez-4.66.orig/debian/NEWS +++ bluez-4.66/debian/NEWS @@ -0,0 +1,167 @@ +bluez-utils (4.40-1) unstable; urgency=low + + This version includes a new hid2hci program which expects the vendor ID and + product ID of the device to be switched to HID/HCI mode, this means the + switching is no longer done in init script but via udev rules for supported + devices. Adding new devices can be done by dropping rules into + /etc/udev/rules.d/ similar to ones found in + /lib/udev/rules.d/62-bluez-hid2hci.rules or by manually running hid2hci, see + hid2hci(8) manpage for further information. + + This version also ships a simple commandline agent (bluetooth-agent) to do + pairing on the command line + + -- Filippo Giunchedi Fri, 22 May 2009 15:21:35 +0200 + +bluez-utils (3.36-3) unstable; urgency=low + + This version includes an new d-bus policy with updated access control. + As a result of this, only users of netdev group or which are in front of the + computer (i.e. match the at_console="true" rule) are able to communicate + with hcid via dbus. See also #510644. + + -- Filippo Giunchedi Thu, 08 Jan 2009 18:35:38 +0100 + +bluez-utils (3.30-2) unstable; urgency=low + + This upstream version switches the service infrastructure from external + processes to shared objects. Services (i.e. audio) are started automatically + and do not require a .service file in /etc/bluetooth/. audio.service will be + removed automatically by the upgrade unless modified. + + -- Filippo Giunchedi Mon, 14 Apr 2008 17:34:21 +0200 + +bluez-utils (3.7-1) unstable; urgency=low + + This version reverts the /etc/bluetooth/passkeys infrastructure as agents for + passkeys are not supposed to be system-wide. + A bluez-passkey-gnome is provided as a passkey agent, plus there's a example + passkey-agent in /usr/share/doc/bluez-utils/examples/passkey-agent.c + + -- Filippo Giunchedi Sat, 7 Oct 2006 11:43:09 +0200 + +bluez-utils (3.1-3) unstable; urgency=low + + This version includes a new management for outgoing passkey (PIN) requests + while the incoming passkeys defaults to 1234 in /etc/bluetooth/hcid.conf. + See README.Debian for further informations. + + -- Filippo Giunchedi Wed, 26 Jul 2006 11:37:14 +0200 + +bluez-utils (3.1-1) unstable; urgency=low + + This new upstream version removes the need for external pin helper, pin + requests are handled via dbus. The default pin (or now-called "passkey") is + set to 1234 for backward compatibility. + + Also, udev rules for pcmcia card are included along with + /lib/udev/bluetooth.sh (setserial required) in the bluez-pcmcia-support. + + -- Filippo Giunchedi Wed, 26 Jul 2006 11:37:02 +0200 + +bluez-utils (2.24-1) unstable; urgency=low + + This version moves /etc/{init.d,default}/bluez-utils to + /etc/{init.d,default}/bluetooth for LSB compilance. + If local modifications are detected the new files will be installed with + the ".dpkg-new" suffix + + -- Filippo Giunchedi Wed, 7 Jun 2006 13:57:35 +0200 + +bluez-utils (2.19-1) unstable; urgency=high + + * Includes new D-BUS support: sends signals for inquiry results and + remote name resolves. + + * Also adds support for device-specific SDP records. + + -- Edd Dumbill Fri, 19 Aug 2005 01:12:02 +0100 + +bluez-utils (2.9-1) unstable; urgency=low + + * This release improves input device support: EPoX keyboards and + their new HID presenters should now work correctly in report + protocol mode. + + -- Edd Dumbill Sun, 8 Aug 2004 15:19:24 +0100 + +bluez-utils (2.8-1) unstable; urgency=low + + * Users of dongles with HID proxy capability (this is where the dongle + pretends to be a keyboard and mouse until it is switched into Bluetooth + mode, allowing Bluetooth input devices to be used in BIOS etc.) are + now supported. The switch is made as part of the bluez-utils init + script. + + -- Edd Dumbill Mon, 14 Jun 2004 14:24:12 +0100 + +bluez-utils (2.7-1) experimental; urgency=low + + * Upstream has merged bluez-pan with this package. You should + remove the /etc/init.d/bluez-pan script, and use + /etc/default/bluez-utils to configure dund and pand, although + for the moment the old /etc/default/bluez-pan is also read. + + * This source package now has Bluetooth printing support, which + is built into the bluez-cups binary package. + + * DBUS support has been enabled in this build. To use it, add + 'dbus_pin_helper' into the options section, and comment out + the pin_helper. DBUS-aware pin helpers such as that in + bluez-pin will now be used. + + * Bluetooth HID devices (eg, mouse, keyboard) are now supported + for Linux 2.6.6 or better running the hidp patch from bluez.org. + If running these, set HIDD_ENABLED to 1 in /etc/default/bluez-utils + to enable support, then run hidd --connect to connect + to your keyboard or mouse. + + -- Edd Dumbill Wed, 26 May 2004 12:43:08 +0100 + +bluez-utils (2.6-1) experimental; urgency=low + + * Upstream has merged bluez-sdp with this package. The sdp tools + are now in this package. You should remove the /etc/init.d/bluez-sdp + script. + + * All tools from /sbin now live in /usr/sbin: hciattach hciconfig + hcid l2ping. + + -- Edd Dumbill Thu, 6 May 2004 11:58:16 +0100 + +bluez-utils (2.4-4) unstable; urgency=high + + * If you still use the old 'bluepin' PIN assistant: note it has moved + from /bin/ to /usr/bin/. You will need to update your hcid.conf + accordingly. Even better, install bluez-pin and use the helper from + there instead. + * hcitool has also moved to /usr/bin, and l2ping to /sbin. + + -- Edd Dumbill Wed, 15 Jan 2004 18:37:32 +0000 + +bluez-utils (2.4-3) unstable; urgency=low + + * If you're using devfsd and a recent Linux kernel (2.4.22 or later, or + 2.6.x), remove the file /etc/devfs/devices.d/bluez and run update-devfsd. + This will stop your system complaining when devfsd is started. This + package no longer installs that file, but you must remove it yourself. + If you need it in future, you can find it in /usr/share/doc/bluez-utils. + + -- Edd Dumbill Wed, 14 Jan 2004 21:14:35 +0000 + +bluez-utils (2.4-1) unstable; urgency=low + + * The rfcomm program has changed slightly: you now need a "bind yes" + in each entry in /etc/bluetooth/rfcomm.conf to ensure they are bound + at startup time. See man rfcomm for more details. + + -- Edd Dumbill Thu, 1 Jan 2004 18:38:35 +0100 + +bluez-utils (2.3-2) unstable; urgency=low + + * This package now depends on a new PIN helper bluez-pin. If you are + upgrading this package and want to use the new helper instead of the + default one (highly recommended) then alter your pin_helper line in + /etc/bluetooth/hcid.conf to specify /usr/bin/bluez-pin. + + -- Edd Dumbill Thu, 28 Aug 2003 12:38:35 +0100 --- bluez-4.66.orig/debian/bluez-utils.postrm +++ bluez-4.66/debian/bluez-utils.postrm @@ -0,0 +1,6 @@ +#!/bin/sh -e + +#Dummy transitional postrm script +#Don't do anything. + +#DEBHELPER# --- bluez-4.66.orig/debian/libbluetooth3.symbols +++ bluez-4.66/debian/libbluetooth3.symbols @@ -0,0 +1,199 @@ +libbluetooth.so.3 libbluetooth3 #MINVER# + ba2oui@Base 4.43 + ba2str@Base 4.43 + bachk@Base 4.43 + bafprintf@Base 4.43 + baprintf@Base 4.43 + basnprintf@Base 4.43 + basprintf@Base 4.43 + baswap@Base 4.43 + batostr@Base 4.43 + bt_compidtostr@Base 4.43 + bt_error@Base 4.43 + bt_free@Base 4.43 + bt_malloc@Base 4.43 + hci_authenticate_link@Base 4.43 + hci_bustostr@Base 4.43 + hci_change_link_key@Base 4.43 + hci_close_dev@Base 4.43 + hci_cmdtostr@Base 4.43 + hci_commandstostr@Base 4.43 + hci_create_connection@Base 4.43 + hci_delete_stored_link_key@Base 4.43 + hci_devba@Base 4.43 + hci_devid@Base 4.43 + hci_devinfo@Base 4.43 + hci_dflagstostr@Base 4.43 + hci_disconnect@Base 4.43 + hci_dtypetostr@Base 4.43 + hci_encrypt_link@Base 4.43 + hci_exit_park_mode@Base 4.43 + hci_for_each_dev@Base 4.43 + hci_get_route@Base 4.43 + hci_inquiry@Base 4.43 + hci_lmtostr@Base 4.43 + hci_lptostr@Base 4.43 + hci_open_dev@Base 4.43 + hci_park_mode@Base 4.43 + hci_ptypetostr@Base 4.43 + hci_read_afh_map@Base 4.43 + hci_read_afh_mode@Base 4.43 + hci_read_bd_addr@Base 4.43 + hci_read_class_of_dev@Base 4.43 + hci_read_clock@Base 4.43 + hci_read_clock_offset@Base 4.43 + hci_read_current_iac_lap@Base 4.43 + hci_read_ext_inquiry_response@Base 4.43 + hci_read_inq_response_tx_power_level@Base 4.43 + hci_read_inquiry_mode@Base 4.43 + hci_read_inquiry_scan_type@Base 4.43 + hci_read_inquiry_transmit_power_level@Base 4.43 + hci_read_link_policy@Base 4.43 + hci_read_link_quality@Base 4.43 + hci_read_link_supervision_timeout@Base 4.43 + hci_read_local_commands@Base 4.43 + hci_read_local_ext_features@Base 4.43 + hci_read_local_features@Base 4.43 + hci_read_local_name@Base 4.43 + hci_read_local_oob_data@Base 4.43 + hci_read_local_version@Base 4.43 + hci_read_remote_ext_features@Base 4.43 + hci_read_remote_features@Base 4.43 + hci_read_remote_name@Base 4.43 + hci_read_remote_name_cancel@Base 4.43 + hci_read_remote_name_with_clock_offset@Base 4.43 + hci_read_remote_version@Base 4.43 + hci_read_rssi@Base 4.43 + hci_read_simple_pairing_mode@Base 4.43 + hci_read_stored_link_key@Base 4.43 + hci_read_transmit_power_level@Base 4.43 + hci_read_voice_setting@Base 4.43 + hci_scoptypetostr@Base 4.43 + hci_send_cmd@Base 4.43 + hci_send_req@Base 4.43 + hci_set_afh_classification@Base 4.43 + hci_strtolm@Base 4.43 + hci_strtolp@Base 4.43 + hci_strtoptype@Base 4.43 + hci_strtoscoptype@Base 4.43 + hci_strtover@Base 4.43 + hci_switch_role@Base 4.43 + hci_typetostr@Base 4.43 + hci_vertostr@Base 4.43 + hci_write_afh_mode@Base 4.43 + hci_write_class_of_dev@Base 4.43 + hci_write_current_iac_lap@Base 4.43 + hci_write_ext_inquiry_response@Base 4.43 + hci_write_inquiry_mode@Base 4.43 + hci_write_inquiry_scan_type@Base 4.43 + hci_write_inquiry_transmit_power_level@Base 4.43 + hci_write_link_policy@Base 4.43 + hci_write_link_supervision_timeout@Base 4.43 + hci_write_local_name@Base 4.43 + hci_write_simple_pairing_mode@Base 4.43 + hci_write_stored_link_key@Base 4.43 + hci_write_voice_setting@Base 4.43 + lmp_featurestostr@Base 4.43 + lmp_strtover@Base 4.43 + lmp_vertostr@Base 4.43 + sdp_append_to_buf@Base 4.43 + sdp_append_to_pdu@Base 4.43 + sdp_attr_add@Base 4.43 + sdp_attr_add_new@Base 4.43 + sdp_attr_remove@Base 4.43 + sdp_attr_replace@Base 4.43 + sdp_attrid_comp_func@Base 4.43 + sdp_close@Base 4.43 + sdp_connect@Base 4.43 + sdp_copy_record@Base 4.43 + sdp_create@Base 4.43 + sdp_data_alloc@Base 4.43 + sdp_data_alloc_with_length@Base 4.43 + sdp_data_free@Base 4.43 + sdp_data_get@Base 4.43 + sdp_device_record_register@Base 4.43 + sdp_device_record_register_binary@Base 4.43 + sdp_device_record_unregister@Base 4.43 + sdp_device_record_unregister_binary@Base 4.43 + sdp_device_record_update@Base 4.43 + sdp_device_record_update_binary@Base 4.43 + sdp_extract_attr@Base 4.43 + sdp_extract_pdu@Base 4.43 + sdp_extract_seqtype@Base 4.43 + sdp_gen_pdu@Base 4.43 + sdp_gen_record_pdu@Base 4.43 + sdp_gen_tid@Base 4.43 + sdp_general_inquiry@Base 4.43 + sdp_get_access_protos@Base 4.43 + sdp_get_add_access_protos@Base 4.43 + sdp_get_database_state@Base 4.43 + sdp_get_error@Base 4.43 + sdp_get_group_id@Base 4.43 + sdp_get_int_attr@Base 4.43 + sdp_get_lang_attr@Base 4.43 + sdp_get_profile_descs@Base 4.43 + sdp_get_proto_desc@Base 4.43 + sdp_get_proto_port@Base 4.43 + sdp_get_record_state@Base 4.43 + sdp_get_server_ver@Base 4.43 + sdp_get_service_avail@Base 4.43 + sdp_get_service_id@Base 4.43 + sdp_get_service_ttl@Base 4.43 + sdp_get_socket@Base 4.43 + sdp_get_string_attr@Base 4.43 + sdp_get_supp_feat@Base 4.43 + sdp_get_uuidseq_attr@Base 4.43 + sdp_list_append@Base 4.43 + sdp_list_free@Base 4.43 + sdp_list_insert_sorted@Base 4.43 + sdp_list_remove@Base 4.43 + sdp_pattern_add_uuid@Base 4.43 + sdp_pattern_add_uuidseq@Base 4.43 + sdp_process@Base 4.43 + sdp_profile_uuid2strn@Base 4.43 + sdp_proto_uuid2strn@Base 4.43 + sdp_record_alloc@Base 4.43 + sdp_record_free@Base 4.43 + sdp_record_print@Base 4.43 + sdp_record_register@Base 4.43 + sdp_record_unregister@Base 4.43 + sdp_record_update@Base 4.43 + sdp_send_req_w4_rsp@Base 4.43 + sdp_seq_alloc@Base 4.43 + sdp_seq_alloc_with_length@Base 4.43 + sdp_seq_append@Base 4.43 + sdp_service_attr_async@Base 4.43 + sdp_service_attr_req@Base 4.43 + sdp_service_search_async@Base 4.43 + sdp_service_search_attr_async@Base 4.43 + sdp_service_search_attr_req@Base 4.43 + sdp_service_search_req@Base 4.43 + sdp_set_access_protos@Base 4.43 + sdp_set_add_access_protos@Base 4.43 + sdp_set_attrid@Base 4.43 + sdp_set_group_id@Base 4.43 + sdp_set_info_attr@Base 4.43 + sdp_set_lang_attr@Base 4.43 + sdp_set_notify@Base 4.43 + sdp_set_profile_descs@Base 4.43 + sdp_set_seq_len@Base 4.43 + sdp_set_service_id@Base 4.43 + sdp_set_supp_feat@Base 4.43 + sdp_set_url_attr@Base 4.43 + sdp_set_uuidseq_attr@Base 4.43 + sdp_svclass_uuid2strn@Base 4.43 + sdp_uuid128_cmp@Base 4.43 + sdp_uuid128_create@Base 4.43 + sdp_uuid128_to_uuid@Base 4.43 + sdp_uuid16_cmp@Base 4.43 + sdp_uuid16_create@Base 4.43 + sdp_uuid16_to_uuid128@Base 4.43 + sdp_uuid2strn@Base 4.43 + sdp_uuid32_create@Base 4.43 + sdp_uuid32_to_uuid128@Base 4.43 + sdp_uuid_cmp@Base 4.43 + sdp_uuid_extract@Base 4.43 + sdp_uuid_to_proto@Base 4.43 + sdp_uuid_to_uuid128@Base 4.43 + str2ba@Base 4.43 + strtoba@Base 4.43 --- bluez-4.66.orig/debian/bluetooth-agent.1 +++ bluez-4.66/debian/bluetooth-agent.1 @@ -0,0 +1,15 @@ +.TH BLUETOOTH-AGENT "1" "March 2010" +.SH NAME +bluetooth-agent \- Bluetooth pass agent +.SH SYNOPSIS +.B bluetooth-agent +.SH DESCRIPTION +\fBBluetooth-agent\fP is pass agent program for bluetooth. + +.SH USAGE +.TP +bluetooth-agent [\fB--adapter\fP adapter-path] [\fB--path\fP agent-path] [] +.SH AUTHOR +This manual page was written by Nobuhiro Iwamatsu , +for the Debian GNU/Linux system (but may be used by others). + --- bluez-4.66.orig/debian/bluez.install +++ bluez-4.66/debian/bluez.install @@ -0,0 +1,7 @@ +debian/tmp/etc/bluetooth/main.conf +debian/tmp/etc/bluetooth/rfcomm.conf +debian/tmp/etc/dbus*/* +debian/tmp/usr/sbin/* +debian/tmp/usr/bin/* +debian/tmp/usr/share/man/man* +debian/tmp/usr/lib/bluetooth/plugins/*.so --- bluez-4.66.orig/debian/bluez.postinst +++ bluez-4.66/debian/bluez.postinst @@ -0,0 +1,53 @@ +#!/bin/sh +# snippet from http://www.dpkg.org/dpkg/ConffileHandling + +# Move a conffile without triggering a dpkg question +mv_conffile() { + OLDCONFFILE="$1" + NEWCONFFILE="$2" + + if [ -e "$OLDCONFFILE" ]; then + echo "Preserving user changes to $NEWCONFFILE ..." + mv -f "$NEWCONFFILE" "$NEWCONFFILE".dpkg-new + mv -f "$OLDCONFFILE" "$NEWCONFFILE" + fi +} + +set -e +case "$1" in + configure) + if [ -e /etc/init.d/bluez-utils ]; then + update-rc.d -f bluez-utils remove + # maybe a (medium/low debconf?) notice is best suited here + fi + + # use MAKEDEV instead of the original bluez script below as per policy 10.6 + if [ -x /dev/MAKEDEV ]; then + echo "Creating device nodes ..." + cd /dev && ./MAKEDEV bluetooth 1>/dev/null 2>/dev/null + fi + + # create bluetooth group if not already present + if ! getent group bluetooth > /dev/null; then + addgroup --quiet --system bluetooth + fi + + # reload dbus config file + if [ -x /etc/init.d/dbus ]; then + invoke-rc.d dbus force-reload || true + fi + + #reload udev rules + if [ -x /etc/init.d/udev ]; then + invoke-rc.d udev reload || true + fi + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 0 + ;; +esac + +#DEBHELPER# --- bluez-4.66.orig/debian/copyright +++ bluez-4.66/debian/copyright @@ -0,0 +1,112 @@ +This package was debianized by Edd Dumbill on +Sat, 13 Apr 2002 16:09:02 +0100. + +It was downloaded from http://www.bluez.org/ + +BlueZ - Bluetooth protocol stack for Linux + +Copyright: + Copyright (C) 2001-2009 Marcel Holtmann + Copyright (C) 2006-2009 Nokia Corporation + Copyright (C) 2000-2003 Maxim Krasnyansky + Copyright (C) 2002-2003 Jean Tourrilhes + Copyright (C) 2007-2008 Frederic Dalleau + Copyright (C) 2007-2008 Texas Instruments, Inc. + Copyright (C) 2000-2005 CSR Ltd. + Copyright (C) 2005-2008 Brad Midgley + Copyright (C) 2007-2008 David Stockwell + Copyright (C) 2007-2008 Fabien Chevalier + Copyright (C) 2005-2006 Claudio Takahasi + Copyright (C) 2006-2007 Luiz von Dentz + Copyright (C) 2005-2007 Johan Hedberg + Copyright (C) 2005-2006 Brad Midgley + Copyright (C) 2004-2005 Henryk Ploetz + Copyright (C) 2002-2003 Stephen Crane + Copyright (C) 2000-2001 Qualcomm Incorporated + Copyright (C) 2008 Joao Paulo Rechi Vita + Copyright (C) 2009 Lennart Poettering + Copyright (C) 2004 Scott James Remnant + Copyright (C) 2009 Intel Corporation + +License: + audio/ + a2dp.c a2dp.h avdtp.c avdtp.h control.c control.h device.c device.h + gateway.c gateway.h headset.c headset.h main.c manager.c manager.h + sink.c sink.h telephony-dummy.c telephony-maemo.c telephony.h + unix.c unix.h + + License: GPL version 2 or any later version + + gsta2dpsink.c gsta2dpsink.h gstavdtpsink.c + gstavdtpsink.h gstbluetooth.c gstrtpsbcpay.c gstrtpsbcpay.h + gstsbcdec.c gstsbcdec.h gstsbcenc.c gstsbcenc.h + gstsbcparse.c gstsbcparse.h gstsbcutil.c gstsbcutil.h + pcm_bluetooth.c gstbluetooth.c: ctl_bluetooth.c + ipc.c ipc.h rtp.h + ipctest.c + + License: LGPL version 2.1 or any later version + + sbc/ + formats.h sbcdec.c sbcenc.c sbcinfo.c + sbctester.c + + License: GPL version 2 or any later version + + sbc.c sbc.h + sbc_math.h sbc_primitives.c sbc_primitives.h + sbc_primitives_mmx.c sbc_primitives_mmx.h sbc_primitives_neon.c + sbc_primitives_neon.h sbc_tables.h + + License: LGPL version 2.1 or any later version + + tools/ + ubcsp.c ubcsp.h + + License: MIT License + + Permission is hereby granted, free of charge, to any person + obtaining a copy of this software and associated documentation + files (the "Software"), to deal in the Software without + restriction, including without limitation the rights to use, + copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following + conditions: + + The above copyright notice and this permission notice shall be + included in all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + OTHER DEALINGS IN THE SOFTWARE. + + avctrl.c bccmd.c avinfo.c + ciptool.c csr.c csr.h csr_3wire.c csr_bcsp.c csr_h4.c + csr_hci.c csr_usb.c dfu.c dfu.h dfubabel.c dfutool.c + hciattach.h hciattach_st.c hciattach_tialt.c hid2hci.c ppporc.c + hciattach_ti.c + hciattach.c hciconfig.c hcitool.c l2ping.c + hcisecfilter.c sdptool.c + + License: GPL version 2 or any later version + + doc/ + All files. + + License: GFDL version 1.1 or any later version + No Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. + + other: + License: GPL version 2 or any later version + +On Debian GNU/Linux systems, the complete text of the GNU General Public +License can be found in `/usr/share/common-licenses/GPL', the GNU Lesser +General Public License can be found in `/usr/share/common-licenses/LGPL' and +the GNU Free Documentation License can be found in +`/usr/share/common-licenses/GFDL'. --- bluez-4.66.orig/debian/control +++ bluez-4.66/debian/control @@ -0,0 +1,137 @@ +Source: bluez +Section: admin +Priority: optional +Maintainer: Debian Bluetooth Maintainers +Uploaders: Andrea Veri , Nobuhiro Iwamatsu +DM-Upload-Allowed: yes +Build-Depends: debhelper (>= 7), + autotools-dev, + cdbs, + flex, + bison, + gstreamer-tools, + libasound2-dev, + libdbus-1-dev, + libdbus-glib-1-dev, + libglib2.0-dev, + libgstreamer0.10-dev, + libgstreamer-plugins-base0.10-dev, + libnl-dev, + libsndfile1-dev, + libusb-dev, + libcap-ng-dev +Vcs-Svn: svn://svn.debian.org/svn/pkg-bluetooth/packages/bluez/trunk +Vcs-Browser: http://svn.debian.org/wsvn/pkg-bluetooth/packages/bluez/trunk +Homepage: http://www.bluez.org +Standards-Version: 3.8.4 + +Package: libbluetooth3 +Section: libs +Conflicts: libsdp2 (<= 1.5-2) +Replaces: libsdp2 (<= 1.5-2) +Depends: ${shlibs:Depends}, ${misc:Depends} +Architecture: any +Description: Library to use the BlueZ Linux Bluetooth stack + BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source + project distributed under GNU General Public License (GPL). + +Package: libbluetooth-dev +Section: libdevel +Provides: libbluetooth3-dev +Conflicts: libbluetooth-dev, libsdp2-dev (<= 1.5.2), bluez-pan +Replaces: libsdp2-dev (<= 1.5.2) +Depends: libbluetooth3 (= ${binary:Version}), libc6-dev | libc-dev, ${misc:Depends} +Suggests: pkg-config +Priority: extra +Architecture: any +Description: Development files for using the BlueZ Linux Bluetooth library + BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source + project distributed under GNU General Public License (GPL). + +Package: bluetooth +Architecture: all +Depends: bluez +Recommends: bluez-alsa, bluez-cups, bluez-gstreamer +Description: Bluetooth support + This package provides all of the different plugins supported + by the Bluez bluetooth stack. + +Package: bluez +Architecture: any +Depends: ${shlibs:Depends}, module-init-tools, udev | makedev, lsb-base, dbus, ${misc:Depends} +Replaces: bluez-input, bluez-network, bluez-serial, bluez-utils (<= 3.36-3), bluez-audio (<= 3.36-3) +Conflicts: bluez-utils (<= 3.36-3), bluez-audio (<= 3.36-3) +Suggests: python-gobject, python-dbus +Description: Bluetooth tools and daemons + This package contains tools and system daemons for using Bluetooth devices. + . + BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source + project distributed under GNU General Public License (GPL). + +Package: bluez-alsa +Replaces: bluez-audio +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, bluez +Description: Bluetooth ALSA support + This package contains a driver operate with the ALSA stack. + . + BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source + project distributed under GNU General Public License (GPL). + +Package: bluez-gstreamer +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, bluez +Replaces: bluez-audio +Description: Bluetooth GStreamer support + This package contains a plugin to operate with GStreamer applications. + . + BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source + project distributed under GNU General Public License (GPL). + +Package: bluez-cups +Architecture: any +Depends: ${shlibs:Depends}, cups, ${misc:Depends} +Description: Bluetooth printer driver for CUPS + This package contains a driver to let CUPS print to Bluetooth-connected + printers. + . + BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source + project distributed under GNU General Public License (GPL). + +Package: bluez-pcmcia-support +Architecture: any +Priority: extra +Depends: pcmciautils, ${misc:Depends} +Recommends: setserial +Description: PCMCIA support files for BlueZ 2.0 Bluetooth tools + This package contains files to enable PCMCIA card services to recognise + and initialise PCMCIA Bluetooth devices. + . + BlueZ is the official Linux Bluetooth protocol stack. It is an Open Source + project distributed under GNU General Public License (GPL). + +Package: bluez-compat +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: BlueZ 3.x compatibility binaries + This package provides the legacy binaries that were reminiscent of the + BlueZ 3.x pairing methods. These binaries are not supported, and will + go away again in the future. The provided binaries are: + . + hidd + dund + pand + +Package: bluez-utils +Depends: bluetooth +Architecture: all +Description: Transitional package + This is a transitional package to assist with moving people to the + BlueZ 4.x stack. + +Package: bluez-audio +Depends: bluez-alsa (>= 4), bluez-gstreamer (>= 4) +Architecture: all +Description: Transitional package + This is a transitional package to assist with moving people to the + BlueZ 4.x stack. --- bluez-4.66.orig/debian/bluez-pcmcia-support.install +++ bluez-4.66/debian/bluez-pcmcia-support.install @@ -0,0 +1 @@ +scripts/bluetooth_serial /lib/udev --- bluez-4.66.orig/debian/bluez.bluetooth.init +++ bluez-4.66/debian/bluez.bluetooth.init @@ -0,0 +1,203 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: bluetooth +# Required-Start: $local_fs $syslog $remote_fs dbus +# Required-Stop: $local_fs $syslog $remote_fs +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start bluetooth daemons +### END INIT INFO +# +# bluez Bluetooth subsystem starting and stopping +# +# originally from bluez's scripts/bluetooth.init +# +# Edd Dumbill +# LSB 3.0 compilance and enhancements by Filippo Giunchedi +# +# Updated for bluez 4.7 by Mario Limonciello +# +# Note: older daemons like dund pand hidd are now shipped inside the +# bluez-compat package + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +DESC=bluetooth + +DAEMON=/usr/sbin/bluetoothd +HCIATTACH=/usr/sbin/hciattach + +HID2HCI=/usr/sbin/hid2hci +HID2HCI_ENABLED=1 +HID2HCI_UNDO=1 + +UART_CONF=/etc/bluetooth/uart + +RFCOMM=/usr/bin/rfcomm +RFCOMM_NAME=rfcomm +RFCOMM_CONF=/etc/bluetooth/rfcomm.conf +SDPTOOL=/usr/bin/sdptool + +SSD_OPTIONS="--oknodo --quiet --exec $DAEMON" + +test -f /usr/sbin/bluetoothd || exit 0 + +test -f /etc/default/bluetooth && . /etc/default/bluetooth +test -f /etc/default/rcS && . /etc/default/rcS + +. /lib/lsb/init-functions + +set -e + +run_sdptool() +{ + test -x $SDPTOOL || return 1 + + if ! test -z "$SDPTOOL_OPTIONS" ; then + oldifs="$IFS" + IFS=";" + for o in $SDPTOOL_OPTIONS ; do + #echo "execing $SDPTOOL $o" + IFS=" " + if [ "$VERBOSE" != "no" ]; then + $SDPTOOL $o + else + $SDPTOOL $o >/dev/null 2>&1 + fi + done + IFS="$oldifs" + fi + +} + +enable_hci_input() +{ + log_progress_msg "switching to HID/HCI no longer done in init script, see /usr/share/doc/bluez/NEWS.Debian.gz" +} + +disable_hci_input() +{ + log_progress_msg "switching to HID/HCI no longer done in init script, see /usr/share/doc/bluez/NEWS.Debian.gz" +} + +start_uarts() +{ + [ -f $HCIATTACH ] && [ -f $UART_CONF ] || return + grep -v '^#' $UART_CONF | while read i; do + if [ "$VERBOSE" != no ]; then + $HCIATTACH $i + else + $HCIATTACH $i >/dev/null 2>&1 + fi + done +} + +stop_uarts() +{ + killall hciattach > /dev/null 2>&1 || true +} + +start_rfcomm() +{ + if [ -x $RFCOMM ] && [ -f $RFCOMM_CONF ] ; then + # rfcomm must always succeed for now: users + # may not yet have an rfcomm-enabled kernel + if [ "$VERBOSE" != no ]; then + log_progress_msg "rfcomm" + $RFCOMM -f $RFCOMM_CONF bind all || true + else + $RFCOMM -f $RFCOMM_CONF bind all >/dev/null 2>&1 || true + fi + fi +} + +stop_rfcomm() +{ + if [ -x $RFCOMM ] ; then + if [ "$VERBOSE" != no ]; then + log_progress_msg "rfcomm" + $RFCOMM unbind all || true + else + $RFCOMM unbind all >/dev/null 2>&1 || true + fi + fi +} + +restart_rfcomm() +{ + if [ -x $RFCOMM ] && [ -f $RFCOMM_CONF ] ; then + if [ "$VERBOSE" != no ]; then + log_progress_msg "rfcomm" + $RFCOMM unbind all || true + $RFCOMM -f $RFCOMM_CONF bind all || true + else + $RFCOMM unbind all >/dev/null 2>&1|| true + $RFCOMM -f $RFCOMM_CONF bind all >/dev/null 2>&1 || true + fi + fi +} + +case "$1" in + start) + log_daemon_msg "Starting $DESC" + + if test "$BLUETOOTH_ENABLED" = "0"; then + log_progress_msg "disabled. see /etc/default/bluetooth" + log_end_msg 0 + exit 0 + fi + + start-stop-daemon --start $SSD_OPTIONS + log_progress_msg "bluetoothd" + + run_sdptool || true + + start_uarts || true + + if test "$HID2HCI_ENABLED" = "1"; then + enable_hci_input || true + fi + start_rfcomm || true + + if test "$HIDD_ENABLED" = "1" || + test "$PAND_ENABLED" = "1" || + test "$DUND_ENABLED" = "1"; then + log_progress_msg "compatibily daemons not started, see bluez-compat package" + fi + + log_end_msg 0 + ;; + stop) + log_daemon_msg "Stopping $DESC" + if test "$BLUETOOTH_ENABLED" = "0"; then + log_progress_msg "disabled." + log_end_msg 0 + exit 0 + fi + stop_rfcomm || true + if test "$HID2HCI_UNDO" = "1"; then + disable_hci_input || true + fi + start-stop-daemon --stop $SSD_OPTIONS + log_progress_msg "bluetoothd" + stop_uarts || true + log_end_msg 0 + ;; + restart|force-reload) + $0 stop + sleep 1 + $0 start + ;; + status) + status_of_proc "$DAEMON" "$DESC" && exit 0 || exit $? + ;; + *) + N=/etc/init.d/bluetooth + # echo "Usage: $N {start|stop|restart|reload|force-reload|status}" >&2 + echo "Usage: $N {start|stop|restart|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 + +# vim:noet --- bluez-4.66.orig/debian/bluez-gstreamer.install +++ bluez-4.66/debian/bluez-gstreamer.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/gstreamer-*/*.so + --- bluez-4.66.orig/debian/bluetooth-dbus.conf +++ bluez-4.66/debian/bluetooth-dbus.conf @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- bluez-4.66.orig/debian/bluez.manpages +++ bluez-4.66/debian/bluez.manpages @@ -0,0 +1,3 @@ +debian/bluetooth-agent.1 +debian/l2test.1 +debian/hcitrace.1 --- bluez-4.66.orig/debian/bluez.docs +++ bluez-4.66/debian/bluez.docs @@ -0,0 +1,2 @@ +*/*-api.txt +debian/README.Debian --- bluez-4.66.orig/debian/changelog +++ bluez-4.66/debian/changelog @@ -0,0 +1,370 @@ +bluez (4.66-2) testing; urgency=low + + * Fix init script to be a nop when the package is removed. + debian/bluez.bluetooth.init (Closes: #593172). + * Fix removal of obsolete conffile. + debian/bluez.preinst (Closes: #592982, #568301). + * Backports some pathces from upstream (Closes: #601583). + - 0204-Fix-memory-leak.patch + Fix memory leak in hfp_ag_record function. + - 0206-Fix-missing-error-check-to-dbus_message_get_args.patch + Fix missing error check to dbus_message_get_args. + - 0207-Fix-attempt-to-use-a-potential-negative-array-index.patch + Fix attempt to use a potential negative array index. + - 0208-Fix-sdp_get_supp_feat-function.patch + Fix data allocation size to get in sdp_get_supp_feat. + - 0209-Fix-unblock-removed-device.patch + Fix unblock removed device. + - 0213-Fix-not-freeing-memory-on-driver-exit.patch + Fix not freeing memory on driver exit. + - 0214-Fix-possible-memory-leaks-on-ofono-driver.patch + Fix memory leak by add address check. + - 0215-Fix-not-cancelling-authentication-when-bonding-fails.patch + Fix not cancelling authentication when bonding fails + - 0217-Fix-sending-authentication-reply-when-bonding-is-alr.patch + When bonding is already completed, sending authentication reply. + - 0218-Fix-use-of-errno-after-calling-some-function-that-co.patch + Fix return erro code in device_authentication_requested function. + - 0227-core-fix-emitting-pairable-when-there-could-still-oc.patch + Move error check code. + - 0229-Fix-the-return-value-of-read_device_alias.patch + Fix the return value of read_device_alias function. + + -- Nobuhiro Iwamatsu Thu, 21 Oct 2010 17:57:43 +0900 + +bluez (4.66-1) unstable; urgency=low + + * New upstream release. + * Update debian/control. + - Add libcap-ng-dev to Build-depends. + * Update debian/rules. + - Add serial.conf (Closes: #559672). + - Update configure option. + Remove --enable-manpages. + Change --enable-pcmciarules to --enable-pcmcia. + Add --enable-pnat, --enable-tracer, --enable-udevrules, + --enable-configfiles and --enable-capng. + * Add man file of hcitrace. + * Update udev rule (Closes: #535075). + Thanks to Sjoerd Simons. + * Add patch 01_lower_sink_ranking.patch (Closes: #571595). + Thanks to Sebastian Dröge. + + -- Nobuhiro Iwamatsu Tue, 22 Jun 2010 12:45:57 +0900 + +bluez (4.64-1) unstable; urgency=low + + * New upstream release. + + -- Nobuhiro Iwamatsu Sat, 15 May 2010 15:44:23 +0900 + +bluez (4.63-2) unstable; urgency=low + + * Remove some contents from debian/NEWS. (Closes: #579817) + + -- Nobuhiro Iwamatsu Thu, 06 May 2010 06:50:14 +0900 + +bluez (4.63-1) unstable; urgency=low + + * Update debian/control. + - Remove Filippo Giunchedi from uploaders. + - bumped standards-version to 3.8.4. + * Add man files. + bluetooth-agent.1, l2test.1. + * Update libbluetooth3.symbols. + Add hci_bustostr@Base, hci_read_inq_response_tx_power_level@Base, + hci_typetostr@Base, sdp_get_supp_feat@Base, sdp_set_supp_feat@Base + * Update debian/NEWS. + * Add debian/source/format. + + -- Nobuhiro Iwamatsu Tue, 20 Apr 2010 06:08:24 +0900 + +bluez (4.60-1) unstable; urgency=low + + * New upstream release. + * debian/control: + - Add Nobuhiro Iwamatsu to Uploaders (Closes #564569). + + -- Nobuhiro Iwamatsu Sat, 23 Jan 2010 16:03:01 +0900 + +bluez (4.57-1) unstable; urgency=low + + * New upstream bug fix release. + + -- Andrea Veri Thu, 12 Nov 2009 21:27:54 +0100 + +bluez (4.56-2) unstable; urgency=low + + * debian/control: + - makedev re-added as alternate depend of udev, as + it's needed by postints. Thanks to Guillem Jover + for the report. (Closes: #546860) + + -- Andrea Veri Wed, 14 Oct 2009 00:19:19 +0200 + +bluez (4.56-1) unstable; urgency=low + + * New upstream release. (Closes: #539361) + * rctest man page is no more missing. (Closes: #535949) + * debian/control: + - bumped standards-version to 3.8.3. No changes needed. + - added myself into uploaders plus DM tag. + - removed makedev depends. (Closes: #546860) + * debian/copyright: + - added missing copyright holders. + * debian/patches/001_agent_fixes.patch: + - removed, applied upstream + * debian/patches/002_a2dpsink_marginal.patch: + - removed, applied upstream. + * debian/patches/005_l2ping_section.patch: + - removed, applied upstream. + * debian/rules: + - removed the hack to have man page installed correctly. + It has been fixed upstream and points to the right section. (8) + * debian/libbluetooth3.symbols: + - refreshed. + * debian/bluez.examples: + - test/test-* removed and added all needed examples by hand to avoid + the installation of useless stuff. + + -- Andrea Veri Mon, 12 Oct 2009 15:40:02 +0200 + +bluez (4.42-2) unstable; urgency=low + + * Fix "Bashisms in init script" (Closes: #534511) + * Handle upgrade of old /etc/modprobe.d/bluez (Closes: #523050) + * Conflict/Replace bluez-audio in bluez (Closes: #535089) + + -- Filippo Giunchedi Tue, 30 Jun 2009 20:05:13 +0200 + +bluez (4.42-1) unstable; urgency=low + + * New upstream release + + drop not needed debian/patches/003_configure_amd64_rpath.patch + * Provide transitional bluez-audio to migrate to bluez-alsa and + bluez-gstreamer (Closes: #531449) + * Install README.Debian in binary bluez (Closes: #532018) + * Make bluez-{alsa,gstreamer} depend on bluez + * Switch to group bluetooth from netdev for authorized users + (Closes: #534118) + * Mention pand/hidd/dund move to bluez-compat in init script and default + (Closes: #532622) + * debian/patches/002_test_agent_newapi.patch port bluetooth-agent to new + D-Bus API + * Update to S-V 3.8.2: no changes + * Introduce common SSD_OPTIONS in init script and sleep 1 on restart + + -- Filippo Giunchedi Sun, 21 Jun 2009 14:01:04 +0200 + +bluez (4.40-2) unstable; urgency=low + + * Ship a libbluetooth3.symbols file instead of shlibs + * Ship more examples from test/, thus suggest: python-gobject and + python-dbus together with README.examples + * Provide a script in /lib/udev/bluez for waiting on /usr being available + and a patch udev rules to use it + + -- Filippo Giunchedi Tue, 26 May 2009 00:02:53 +0200 + +bluez (4.40-1) unstable; urgency=low + + * New upstream release + - scripts/bluetooth.rules -> scripts/bluetooth-serial.rules + * Upload to unstable + * Change usage for hid2hci: install udev rules and issue a warning from init + script + + -- Filippo Giunchedi Fri, 22 May 2009 14:56:07 +0200 + +bluez (4.34-0exp1) experimental; urgency=low + + * First upload of bluez 4.x (Closes: #499529) + - include parts of the packaging from ubuntu, thanks! + - bluez-utils and bluez-libs are now a single source package + - libbluetooth2 -> libbluetooth3 bump + - conflict bluez with bluez-utils (<= 3.36-3) + - update debian/copyright, thanks to Nobuhiro Iwamatsu + * Remove hid2hci patches/script + * Remove broken link to documentation (Closes: #504675) + * Install a sample commandline agent from test/ into bluetooth-agent + - add 001_test_agent_default_adapter.patch to get the default adapter + * Install test/simple-agent and test/list-devices as examples + * Remove old commented code from maintainer scripts (pcmcia-support postinst + and bluez preinst) + * Update watch file to match bluez only + * Add #DEBHELPER# to debian/bluez-utils.postrm + * Update to S-V 3.8.1: no changes needed + * Fix lintian warnings: + - add -e to remaining maintainer scripts + - remove full path to update-rc.d in debian/bluez.postinst + - override "bluez-utils: maintainer-script-empty postrm" for transitional + bluez-utils postrm + * Use 7 in debian/compat + * Fix debian/bluez.preinst to use dpkg-query, thus removing the lintian + override + + -- Filippo Giunchedi Wed, 01 Apr 2009 12:20:01 +0200 + +bluez (4.29-0ubuntu1) jaunty; urgency=low + + * New upstream version (LP: #326811) + - Use AVRCP version 1.0 for now. + - Decrease AVDTP idle timeout to one second. + - Delay AVRCP connection when remote device connects A2DP. + - Add workaround for AVDTP stream setup with broken headsets. + - Add missing three-way calling feature bit for Handsfree. + - Fix handsfree callheld indicator updating. + - Fix parsing of all AT commands within the buffer. + - Fix authentication replies when disconnected. + - Fix handling of debug combination keys. + - Fix handling of changed combination keys. + - Fix handling of link keys when using no bonding. + - Fix handling of invalid/unknown authentication requirements. + - Fix closing of L2CAP raw socket used for dedicated bonding. + + -- Baptiste Mille-Mathias Sun, 08 Feb 2009 10:48:36 +0100 + +bluez (4.28-0ubuntu1) jaunty; urgency=low + + * New upstream version. (LP: #324492) + - Add AVDTP signal fragmentation support. + - Add more SBC performance optimizations. + - Add more SBC audio quality improvements. + - Use native byte order for audio plugins. + - Set the adapter alias only after checking the EIR data. + - Fix auto-disconnect issue with explicit A2DP connections. + - Fix invalid memory access of ALSA plugin. + - Fix compilation with -Wsign-compare. + + -- Baptiste Mille-Mathias Mon, 02 Feb 2009 21:57:08 +0100 + +bluez (4.27-0ubuntu1) jaunty; urgency=low + + * New upstream version. (LP: #304784) + - Improves interoperability and security handling + with Bluetooth 2.1 based devices. + + -- Mario Limonciello Tue, 27 Jan 2009 12:44:39 -0600 + +bluez (4.25-0ubuntu6) jaunty; urgency=low + + * Drop previous patch, bluez is a bit strange and this is basically ok. + + -- Scott James Remnant Mon, 19 Jan 2009 17:01:14 +0000 + +bluez (4.25-0ubuntu5) jaunty; urgency=low + + * debian/patches/ubuntu_dbus_policy.patch: + - Drop send_interface allow which isn't service-specific. LP: #318740. + + -- Scott James Remnant Mon, 19 Jan 2009 15:38:43 +0000 + +bluez (4.25-0ubuntu4) jaunty; urgency=low + + * Add Breaks to ensure the right udev version is used. + + -- Scott James Remnant Fri, 09 Jan 2009 11:35:06 +0000 + +bluez (4.25-0ubuntu3) jaunty; urgency=low + + * debian/hid2hci.rules: Update to use ATTRS{} instead of SYSFS{} + + -- Scott James Remnant Wed, 07 Jan 2009 14:18:52 +0000 + +bluez (4.25-0ubuntu2) jaunty; urgency=low + + * debian/rules: Install rules into /lib/udev/rules.d + * debian/bluez.preinst: Remove old rule if unchanged. + + -- Scott James Remnant Wed, 07 Jan 2009 11:35:39 +0000 + +bluez (4.25-0ubuntu1) jaunty; urgency=low + + * New upstream release. (LP: #312087) + + -- Baptiste Mille-Mathias Tue, 30 Dec 2008 19:53:44 +0100 + +bluez (4.21-0ubuntu1) jaunty; urgency=low + + * New upstream version. (LP: #304109) + + -- Mario Limonciello Wed, 03 Dec 2008 15:56:03 -0600 + +bluez (4.17-0ubuntu1) jaunty; urgency=low + + * New upstream version. (LP: #284039) + * Drop the following patches that landed upstream: + - logitech_5500_ids.patch + - dell_bt_365.patch + - sco_connect_git.patch + + -- Mario Limonciello Wed, 05 Nov 2008 13:28:35 -0600 + +bluez (4.12-0ubuntu5) intrepid; urgency=low + + * Add debian/hid2hci.rules to enable running hid2hci + as soon as some bluetooth dongles get plugged in. (LP: #288294) + * debian/bluez.postinst: + - Update udev rules on postinst. + * debian/rules: + - Install debian/hid2hci.rules to 62-bluez-hid2hci.rules + + -- Mario Limonciello Sat, 25 Oct 2008 23:32:00 -0500 + +bluez (4.12-0ubuntu4) intrepid; urgency=low + + * Add hid2hci.patch to enable hid2hci to be ran after + suspending a machine. (LP: #268877) + * debian/rules: + - Install new script from above patch. + * Add logitech_5500_ids.patch for enabling hid2hci on + more logitech devices. (LP: #272352) + + -- Mario Limonciello Wed, 22 Oct 2008 16:01:59 -0500 + +bluez (4.12-0ubuntu3) intrepid; urgency=low + + * debian/bluez.postinst: + - Don't show output for MAKEDEV. (LP: 280360) + * Add dell_bt_365.patch which will enable putting the Dell BT365 + adapter into HCI mode upon bootup. (LP: #286724) + * debian/control: + - Add one more binary package for old compatibility binaries. (LP: #281580) + * debian/rules: + - Enable compatibility binaries. These are HIGHLY discouraged from usage + and will not necessarily be here in the future. + * debian/bluez.install: + - Adjust what binaries get installed, to be able to pull out hidd, dund, + and pand as necessary. + + -- Mario Limonciello Mon, 20 Oct 2008 20:37:24 -0500 + +bluez (4.12-0ubuntu2) intrepid; urgency=low + + * debian/control: + - Move libbluetooth3 to the top of the list so that it is the + package that gets to keep the real changelog rather than symlinks. + - Only Replaces: packages rather than conflicts to help with + upgrades (LP: #279954) + + -- Mario Limonciello Tue, 07 Oct 2008 16:32:31 -0500 + +bluez (4.12-0ubuntu1) intrepid; urgency=low + + * Initial Release. (LP: #274950) + - This package replaces bluez-utils and bluez-libs source packages. + - It was generated by merging the contents of bluez-utils and bluez-libs + and updating content. + - Legacy functionality for hidd, dund, and pand are not present, and + have been removed from all configuration files. + * This release introduces encryption (LP: #182191) + * debian/patches: + - bluez-utils-oui-usage.patch was borrowed from the Fedora 10 packaging. + - sco-connect-git.patch was taken from bluez git shortly after 4.12 release. + It should "help" with some sco headset issues. + * debian/control: + - Update different packages per upstream's recommendations. + - Update conflicts/replaces for earlier packages. + - Add a transitional bluez-utils package to help with the transition. + + -- Mario Limonciello Tue, 07 Oct 2008 12:10:29 -0500 --- bluez-4.66.orig/debian/rules +++ bluez-4.66/debian/rules @@ -0,0 +1,79 @@ +#!/usr/bin/make -f +# build rules for bluez + +include /usr/share/cdbs/1/rules/buildcore.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_UPDATE_RCD_PARAMS = "start 25 2 3 4 5 . stop 74 0 1 6 ." +DEB_DH_INSTALLINIT_ARGS = "--name=bluetooth" +DEB_CONFIGURE_EXTRA_FLAGS := --enable-gstreamer \ + --enable-alsa \ + --enable-usb \ + --enable-netlink \ + --enable-tools \ + --enable-test \ + --enable-bccmd \ + --enable-hid2hci \ + --enable-dfutool \ + --enable-cups \ + --enable-pcmcia \ + --enable-debug \ + --enable-hidd \ + --enable-pand \ + --enable-dund \ + --enable-pnat \ + --enable-tracer \ + --enable-udevrules \ + --enable-configfiles \ + --enable-capng + +DEB_DESTDIR := $(CURDIR)/debian/tmp + +#install/bluetooth:: + #install -D -m 0644 $(CURDIR)/debian/bluetooth.override $(CURDIR)/debian/bluetooth/usr/share/lintian/overrides/bluetooth + +install/bluez:: + # conf files + install -D -m 0644 $(CURDIR)/input/input.conf $(CURDIR)/debian/bluez/etc/bluetooth/input.conf + install -D -m 0644 $(CURDIR)/audio/audio.conf $(CURDIR)/debian/bluez/etc/bluetooth/audio.conf + install -D -m 0644 $(CURDIR)/network/network.conf $(CURDIR)/debian/bluez/etc/bluetooth/network.conf + install -D -m 0644 $(CURDIR)/serial/serial.conf $(CURDIR)/debian/bluez/etc/bluetooth/serial.conf + + # udev rules, actually upstream version is changed with + # sed -i 's@RUN+="/usr/sbin/hid2hci@RUN+="/lib/udev/bluez@' scripts/bluetooth-hid2hci.rules + # and the diff is in debian/patches/010_udev_rules_agent.patch + install -D -m 0644 $(CURDIR)/scripts/bluetooth-hid2hci.rules $(CURDIR)/debian/bluez/lib/udev/rules.d/62-bluez-hid2hci.rules + install -D -m 0755 $(CURDIR)/debian/bluez_agent.udev $(CURDIR)/debian/bluez/lib/udev/bluez + + # misc + install -D -m 0755 $(CURDIR)/test/agent $(CURDIR)/debian/bluez/usr/bin/bluetooth-agent + install -D -m 0644 $(CURDIR)/debian/README.examples $(CURDIR)/debian/bluez/usr/share/doc/bluez/examples/README + +#install/bluez-utils:: + #install -D -m 0644 $(CURDIR)/debian/bluez-utils.override $(CURDIR)/debian/bluez-utils/usr/share/lintian/overrides/bluez-utils + +install/bluez-alsa:: + install -D -m 0644 $(CURDIR)/audio/bluetooth.conf $(CURDIR)/debian/bluez-alsa/usr/share/alsa/bluetooth.conf + +install/bluez-pcmcia-support:: + cp -f $(CURDIR)/scripts/bluetooth-serial.rules $(CURDIR)/debian/bluez-pcmcia-support.udev + +binary-install/bluez-compat:: + for d in pand dund hidd; do \ + mv -v $(CURDIR)/debian/bluez/usr/bin/$$d $(CURDIR)/debian/bluez-compat/usr/bin/;\ + mv -v $(CURDIR)/debian/bluez/usr/share/man/man1/$$d* $(CURDIR)/debian/bluez-compat/usr/share/man/man1/;\ + done + +binary-install/bluez-gstreamer:: + LD_LIBRARY_PATH="$(CURDIR)/debian/tmp/usr/lib:$(LD_LIBRARY_PATH)" dh_gstscancodecs -pbluez-gstreamer + +binary-install/bluez:: + install -D -m 0644 $(CURDIR)/debian/bluetooth-dbus.conf $(CURDIR)/debian/bluez/etc/dbus-1/system.d/bluetooth.conf + +binary-install/bluez-pcmcia-support:: + chmod a+x $(CURDIR)/debian/bluez-pcmcia-support/lib/udev/bluetooth_serial + +clean:: + -rm -f $(CURDIR)/debian/bluez-pcmcia-support.udev --- bluez-4.66.orig/debian/bluez-cups.README.Debian +++ bluez-4.66/debian/bluez-cups.README.Debian @@ -0,0 +1,11 @@ +bluez-cups + +To configure a Bluetooth printer, set it up in CUPS like it was connected to +your parallel or USB port. Then edit your /etc/cups/printers.conf and replace +the device URI with a bluetooth one. + +The printer's URI will look something like this: bluetooth://00408C5E5DA4/spp +If your printer uses HCRP (hardcopy cable replacement protocol) then remove +the "/spp" from the end. SPP is serial port protocol. + + -- Edd Dumbill , Fri Jul 16 19:25:21 BST 2004 --- bluez-4.66.orig/debian/libbluetooth3.install +++ bluez-4.66/debian/libbluetooth3.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib*.so.* --- bluez-4.66.orig/debian/bluez_agent.udev +++ bluez-4.66/debian/bluez_agent.udev @@ -0,0 +1,8 @@ +#!/bin/sh -e +# /usr is not guaranteed to be mounted when udev starts + +( + . /lib/udev/hotplug.functions + wait_for_file /usr/sbin/hid2hci + exec /usr/sbin/hid2hci "$@" +) & --- bluez-4.66.orig/debian/bluez-alsa.install +++ bluez-4.66/debian/bluez-alsa.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/alsa-lib/*.so --- bluez-4.66.orig/debian/bluetooth.lintian-overrides +++ bluez-4.66/debian/bluetooth.lintian-overrides @@ -0,0 +1,2 @@ +# package description looks fine, "Bluetooth stack utilities" +bluetooth binary: description-starts-with-package-name --- bluez-4.66.orig/debian/hcitrace.1 +++ bluez-4.66/debian/hcitrace.1 @@ -0,0 +1,22 @@ +.TH HCITRACE "1" "June 2010" +.SH NAME +hcitrace \- hcitrace daemon +.SH SYNOPSIS +.B hcitrace +.SH DESCRIPTION +\fBhcitrace\fP daemon allow per advanced tracing capabilities +with multiple HCI controllers per stream. + +.SH USAGE +hcitrace [OPTION...] + +Help Options: + \fB-h\fP, \fB--help\fP Show help options + +Application Options: + \fB-n\fP, \fB--nodaemon\fP Don't run as daemon in background + \fB-d\fP, \fB--debug\fP Enable debug information output + +.SH AUTHOR +This manual page was written by Nobuhiro Iwamatsu , +for the Debian GNU/Linux system (but may be used by others). --- bluez-4.66.orig/debian/bluez-compat.dirs +++ bluez-4.66/debian/bluez-compat.dirs @@ -0,0 +1,2 @@ +usr/bin +usr/share/man/man1 --- bluez-4.66.orig/debian/bluez-utils.lintian-overrides +++ bluez-4.66/debian/bluez-utils.lintian-overrides @@ -0,0 +1,2 @@ +# empty transitional postrm +bluez-utils: maintainer-script-empty postrm --- bluez-4.66.orig/debian/compat +++ bluez-4.66/debian/compat @@ -0,0 +1 @@ +7 --- bluez-4.66.orig/debian/bluez-alsa.preinst +++ bluez-4.66/debian/bluez-alsa.preinst @@ -0,0 +1,30 @@ +#!/bin/sh -e + +# snippet from http://wiki.debian.org/DpkgConffileHandling + +# Remove a no-longer used conffile +rm_conffile() { + PKGNAME="$1" + CONFFILE="$2" + if [ -e "$CONFFILE" ]; then + md5sum="`md5sum \"$CONFFILE\" | sed -e \"s/ .*//\"`" + old_md5sum="`dpkg-query -W -f='${Conffiles}' $PKGNAME | sed -n -e \"\\\\' $CONFFILE '{s/ obsolete$//;s/.* //p}\"`" + if [ "$md5sum" != "$old_md5sum" ]; then + echo "Obsolete conffile $CONFFILE has been modified by you." + echo "Saving as $CONFFILE.dpkg-bak ..." + mv -f "$CONFFILE" "$CONFFILE".dpkg-bak + else + echo "Removing obsolete conffile $CONFFILE ..." + rm -f "$CONFFILE" + fi + fi +} + +case "$1" in +install|upgrade) + if dpkg --compare-versions "$2" le "3.24-1+b1"; then + rm_conffile bluez-audio "/etc/bluetooth/audio.service" + fi +esac + +#DEBHELPER# --- bluez-4.66.orig/debian/bluez-compat.README.Debian +++ bluez-4.66/debian/bluez-compat.README.Debian @@ -0,0 +1,14 @@ +bluez compatibility daemons +=========================== +This package contains old daemons like dund/pand/hidd which have been obsoleted +by bluetoothd and the D-Bus API, they are provided for backward compatibility. + +It is possibile to start the daemons at boot if needed via /etc/rc.local file. + +If options were used via /etc/default/bluetooth this can be accomplished by a +snippet like: + +test -f /etc/default/bluetooth && . /etc/default/bluetooth +[ "$HIDD_ENABLED" -eq 1 ] && /usr/bin/hidd $HIDD_OPTIONS +[ "$PAND_ENABLED" -eq 1 ] && /usr/bin/pand $PAND_OPTIONS +[ "$DUND_ENABLED" -eq 1 ] && /usr/bin/dund $DUND_OPTIONS --- bluez-4.66.orig/debian/README.examples +++ bluez-4.66/debian/README.examples @@ -0,0 +1,2 @@ +These examples are from the test/ directory of bluez distribution, you'll need +python-gobject and python-dbus to run some of them. --- bluez-4.66.orig/debian/patches/01_lower_sink_ranking.patch +++ bluez-4.66/debian/patches/01_lower_sink_ranking.patch @@ -0,0 +1,13 @@ +# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=571595 +diff --git a/audio/gsta2dpsink.c b/audio/gsta2dpsink.c +index 52b65e5..89794fb 100644 +--- a/audio/gsta2dpsink.c ++++ b/audio/gsta2dpsink.c +@@ -697,6 +697,6 @@ static void gst_a2dp_sink_init(GstA2dpSink *self, + gboolean gst_a2dp_sink_plugin_init(GstPlugin *plugin) + { + return gst_element_register(plugin, "a2dpsink", +- GST_RANK_MARGINAL, GST_TYPE_A2DP_SINK); ++ GST_RANK_MARGINAL-1, GST_TYPE_A2DP_SINK); + } + --- bluez-4.66.orig/debian/patches/0227-core-fix-emitting-pairable-when-there-could-still-oc.patch +++ bluez-4.66/debian/patches/0227-core-fix-emitting-pairable-when-there-could-still-oc.patch @@ -0,0 +1,57 @@ +From b5d5bf263f4034ed9e7d40500ad8815b8e45cc8c Mon Sep 17 00:00:00 2001 +From: Luiz Augusto von Dentz +Date: Wed, 30 Jun 2010 18:22:35 +0300 +Subject: [PATCH 27/37] core: fix emitting pairable when there could still occur an error + +An error could be generate by set_mode which then will make application +to assume that we were unable to change the property, which wasn't the +case. +--- + src/adapter.c | 24 +++++++++++++----------- + 1 files changed, 13 insertions(+), 11 deletions(-) + +diff --git a/src/adapter.c b/src/adapter.c +index 5d90b46..d1fae55 100644 +--- a/src/adapter.c ++++ b/src/adapter.c +@@ -521,6 +521,19 @@ static DBusMessage *set_pairable(DBusConnection *conn, DBusMessage *msg, + if (pairable == adapter->pairable) + goto done; + ++ if (!(adapter->scan_mode & SCAN_INQUIRY)) ++ goto store; ++ ++ mode = (pairable && adapter->discov_timeout > 0 && ++ adapter->discov_timeout <= 60) ? ++ MODE_LIMITED : MODE_DISCOVERABLE; ++ ++ err = set_mode(adapter, mode); ++ if (err < 0 && msg) ++ return failed_strerror(msg, -err); ++ ++store: ++ + adapter->pairable = pairable; + + write_device_pairable(&adapter->bdaddr, pairable); +@@ -533,17 +546,6 @@ static DBusMessage *set_pairable(DBusConnection *conn, DBusMessage *msg, + adapter_set_pairable_timeout(adapter, + adapter->pairable_timeout); + +- if (!(adapter->scan_mode & SCAN_INQUIRY)) +- goto done; +- +- mode = (pairable && adapter->discov_timeout > 0 && +- adapter->discov_timeout <= 60) ? +- MODE_LIMITED : MODE_DISCOVERABLE; +- +- err = set_mode(adapter, mode); +- if (err < 0 && msg) +- return failed_strerror(msg, -err); +- + done: + return msg ? dbus_message_new_method_return(msg) : NULL; + } +-- +1.7.2.3 + --- bluez-4.66.orig/debian/patches/0209-Fix-unblock-removed-device.patch +++ bluez-4.66/debian/patches/0209-Fix-unblock-removed-device.patch @@ -0,0 +1,73 @@ +From e0eddab0745f605fba545d03e84ed13769d744c8 Mon Sep 17 00:00:00 2001 +From: Daniel Orstadius +Date: Mon, 28 Jun 2010 13:45:37 +0300 +Subject: [PATCH 09/37] Fix unblock removed device + +Unblocks a device when removing it. Adds boolean argument to +function device_unblock to only emit property changed signal and +probe drivers when unblocking a device if the device is not +unblocked as part of being removed. +--- + src/device.c | 17 ++++++++++++----- + 1 files changed, 12 insertions(+), 5 deletions(-) + +diff --git a/src/device.c b/src/device.c +index 11b1fd2..73243c9 100644 +--- a/src/device.c ++++ b/src/device.c +@@ -513,7 +513,8 @@ static int device_block(DBusConnection *conn, struct btd_device *device) + return 0; + } + +-static int device_unblock(DBusConnection *conn, struct btd_device *device) ++static int device_unblock(DBusConnection *conn, struct btd_device *device, ++ gboolean silent) + { + int dev_id, dd, err; + bdaddr_t src; +@@ -543,10 +544,12 @@ static int device_unblock(DBusConnection *conn, struct btd_device *device) + if (err < 0) + error("write_blocked(): %s (%d)", strerror(-err), -err); + +- emit_property_changed(conn, device->path, DEVICE_INTERFACE, "Blocked", ++ if (!silent) { ++ emit_property_changed(conn, device->path, ++ DEVICE_INTERFACE, "Blocked", + DBUS_TYPE_BOOLEAN, &device->blocked); +- +- device_probe_drivers(device, device->uuids); ++ device_probe_drivers(device, device->uuids); ++ } + + return 0; + } +@@ -560,7 +563,7 @@ static DBusMessage *set_blocked(DBusConnection *conn, DBusMessage *msg, + if (value) + err = device_block(conn, device); + else +- err = device_unblock(conn, device); ++ err = device_unblock(conn, device, FALSE); + + switch (-err) { + case 0: +@@ -1100,6 +1103,7 @@ static void device_remove_stored(struct btd_device *device) + { + bdaddr_t src; + char addr[18]; ++ DBusConnection *conn = get_dbus_connection(); + + adapter_get_address(device->adapter, &src); + ba2str(&device->bdaddr, addr); +@@ -1109,6 +1113,9 @@ static void device_remove_stored(struct btd_device *device) + delete_entry(&src, "profiles", addr); + delete_entry(&src, "trusts", addr); + delete_all_records(&src, &device->bdaddr); ++ ++ if (device->blocked) ++ device_unblock(conn, device, TRUE); + } + + void device_remove(struct btd_device *device, gboolean remove_stored) +-- +1.7.2.3 + --- bluez-4.66.orig/debian/patches/0213-Fix-not-freeing-memory-on-driver-exit.patch +++ bluez-4.66/debian/patches/0213-Fix-not-freeing-memory-on-driver-exit.patch @@ -0,0 +1,29 @@ +From ef1e62baec7833bd4a53720d1ee2bdcd91e6a705 Mon Sep 17 00:00:00 2001 +From: Luiz Augusto von Dentz +Date: Tue, 8 Jun 2010 10:48:24 +0300 +Subject: [PATCH 13/37] Fix not freeing memory on driver exit + +--- + audio/telephony-maemo6.c | 6 ++++++ + 1 files changed, 6 insertions(+), 0 deletions(-) + +diff --git a/audio/telephony-maemo6.c b/audio/telephony-maemo6.c +index e8b75fd..31704c3 100644 +--- a/audio/telephony-maemo6.c ++++ b/audio/telephony-maemo6.c +@@ -1981,6 +1981,12 @@ int telephony_init(void) + + void telephony_exit(void) + { ++ g_free(net.operator_name); ++ net.operator_name = NULL; ++ ++ g_free(last_dialed_number); ++ last_dialed_number = NULL; ++ + g_slist_foreach(calls, (GFunc) csd_call_free, NULL); + g_slist_free(calls); + calls = NULL; +-- +1.7.2.3 + --- bluez-4.66.orig/debian/patches/0218-Fix-use-of-errno-after-calling-some-function-that-co.patch +++ bluez-4.66/debian/patches/0218-Fix-use-of-errno-after-calling-some-function-that-co.patch @@ -0,0 +1,42 @@ +From 52248c856d1727f0e19fec757bf02508c03832da Mon Sep 17 00:00:00 2001 +From: Luiz Augusto von Dentz +Date: Tue, 29 Jun 2010 15:26:22 +0300 +Subject: [PATCH 18/37] Fix use of errno after calling some function that could overwrite it + +--- + src/device.c | 10 ++++++---- + 1 files changed, 6 insertions(+), 4 deletions(-) + +diff --git a/src/device.c b/src/device.c +index ea0640e..6af76d1 100644 +--- a/src/device.c ++++ b/src/device.c +@@ -1891,8 +1891,9 @@ static int device_authentication_requested(struct btd_device *device, + + dd = hci_open_dev(adapter_get_dev_id(device->adapter)); + if (dd < 0) { +- error("Unable to open adapter: %s(%d)", strerror(errno), errno); +- return -errno; ++ int err = -errno; ++ error("Unable to open adapter: %s(%d)", strerror(-err), -err); ++ return err; + } + + memset(&rp, 0, sizeof(rp)); +@@ -1910,10 +1911,11 @@ static int device_authentication_requested(struct btd_device *device, + rq.event = EVT_CMD_STATUS; + + if (hci_send_req(dd, &rq, HCI_REQ_TIMEOUT) < 0) { ++ int err = -errno; + error("Unable to send HCI request: %s (%d)", +- strerror(errno), errno); ++ strerror(-err), -err); + hci_close_dev(dd); +- return -errno; ++ return err; + } + + if (rp.status) { +-- +1.7.2.3 + --- bluez-4.66.orig/debian/patches/0204-Fix-memory-leak.patch +++ bluez-4.66/debian/patches/0204-Fix-memory-leak.patch @@ -0,0 +1,36 @@ +From b336e93a471f4ede121edaf822cd525c2ffc17a7 Mon Sep 17 00:00:00 2001 +From: Johan Hedberg +Date: Thu, 17 Jun 2010 09:40:56 +0300 +Subject: [PATCH 04/37] Fix memory leak + +--- + audio/manager.c | 8 +++++++- + 1 files changed, 7 insertions(+), 1 deletions(-) + +diff --git a/audio/manager.c b/audio/manager.c +index f6a98cd..5edfb18 100644 +--- a/audio/manager.c ++++ b/audio/manager.c +@@ -351,12 +351,18 @@ static sdp_record_t *hfp_ag_record(uint8_t ch, uint32_t feat) + sdp_data_t *channel, *features; + uint8_t netid = 0x01; + uint16_t sdpfeat; +- sdp_data_t *network = sdp_data_alloc(SDP_UINT8, &netid); ++ sdp_data_t *network; + + record = sdp_record_alloc(); + if (!record) + return NULL; + ++ network = sdp_data_alloc(SDP_UINT8, &netid); ++ if (!network) { ++ sdp_record_free(record); ++ return NULL; ++ } ++ + sdp_uuid16_create(&root_uuid, PUBLIC_BROWSE_GROUP); + root = sdp_list_append(0, &root_uuid); + sdp_set_browse_groups(record, root); +-- +1.7.2.3 + --- bluez-4.66.orig/debian/patches/0215-Fix-not-cancelling-authentication-when-bonding-fails.patch +++ bluez-4.66/debian/patches/0215-Fix-not-cancelling-authentication-when-bonding-fails.patch @@ -0,0 +1,189 @@ +From 8b78d14dd4ac9776f5848dee94ce2fcf976fd6d8 Mon Sep 17 00:00:00 2001 +From: Luiz Augusto von Dentz +Date: Mon, 28 Jun 2010 14:01:05 +0300 +Subject: [PATCH 15/37] Fix not cancelling authentication when bonding fails + +--- + src/dbus-hci.h | 2 - + src/device.c | 101 +++++++++++++++++++++++++------------------------------- + 2 files changed, 45 insertions(+), 58 deletions(-) + +diff --git a/src/dbus-hci.h b/src/dbus-hci.h +index a29dd53..44cd5e5 100644 +--- a/src/dbus-hci.h ++++ b/src/dbus-hci.h +@@ -50,8 +50,6 @@ gboolean get_adapter_and_device(bdaddr_t *src, bdaddr_t *dst, + struct btd_device **device, + gboolean create); + +-DBusMessage *new_authentication_return(DBusMessage *msg, uint8_t status); +- + const char *class_to_icon(uint32_t class); + + void set_dbus_connection(DBusConnection *conn); +diff --git a/src/device.c b/src/device.c +index d4ff131..781b6e2 100644 +--- a/src/device.c ++++ b/src/device.c +@@ -157,14 +157,6 @@ static uint16_t uuid_list[] = { + + static GSList *device_drivers = NULL; + +-static DBusHandlerResult error_connection_attempt_failed(DBusConnection *conn, +- DBusMessage *msg, int err) +-{ +- return error_common_reply(conn, msg, +- ERROR_INTERFACE ".ConnectionAttemptFailed", +- err > 0 ? strerror(err) : "Connection attempt failed"); +-} +- + static DBusHandlerResult error_failed(DBusConnection *conn, + DBusMessage *msg, const char * desc) + { +@@ -1744,7 +1736,7 @@ static gboolean start_discovery(gpointer user_data) + return FALSE; + } + +-DBusMessage *new_authentication_return(DBusMessage *msg, uint8_t status) ++static DBusMessage *new_authentication_return(DBusMessage *msg, int status) + { + switch (status) { + case 0x00: /* success */ +@@ -1902,59 +1894,25 @@ static gboolean bonding_io_cb(GIOChannel *io, GIOCondition cond, + gpointer user_data) + { + struct btd_device *device = user_data; +- DBusMessage *reply; +- +- if (!device->bonding) +- return FALSE; + +- reply = new_authentication_return(device->bonding->msg, +- HCI_CONNECTION_TERMINATED); +- g_dbus_send_message(device->bonding->conn, reply); +- +- bonding_request_free(device->bonding); ++ device->bonding->io_id = 0; ++ device_cancel_bonding(device, HCI_CONNECTION_TERMINATED); + + return FALSE; + } + +-static void bonding_connect_cb(GIOChannel *io, GError *err, gpointer user_data) ++static int device_authentication_requested(struct btd_device *device, ++ int handle) + { +- struct btd_device *device = user_data; + struct hci_request rq; + auth_requested_cp cp; + evt_cmd_status rp; + int dd; +- uint16_t handle; +- +- if (!device->bonding) { +- if (!err) +- g_io_channel_shutdown(io, TRUE, NULL); +- return; +- } +- +- if (err) { +- error("%s", err->message); +- error_connection_attempt_failed(device->bonding->conn, +- device->bonding->msg, +- ENETDOWN); +- goto cleanup; +- } +- +- if (!bt_io_get(io, BT_IO_L2RAW, &err, +- BT_IO_OPT_HANDLE, &handle, +- BT_IO_OPT_INVALID)) { +- error("Unable to get connection handle: %s", err->message); +- error_connection_attempt_failed(device->bonding->conn, +- device->bonding->msg, +- ENETDOWN); +- g_error_free(err); +- goto failed; +- } + + dd = hci_open_dev(adapter_get_dev_id(device->adapter)); + if (dd < 0) { +- DBusMessage *reply = no_such_adapter(device->bonding->msg); +- g_dbus_send_message(device->bonding->conn, reply); +- goto failed; ++ error("Unable to open adapter: %s(%d)", strerror(errno), errno); ++ return -errno; + } + + memset(&rp, 0, sizeof(rp)); +@@ -1974,22 +1932,53 @@ static void bonding_connect_cb(GIOChannel *io, GError *err, gpointer user_data) + if (hci_send_req(dd, &rq, HCI_REQ_TIMEOUT) < 0) { + error("Unable to send HCI request: %s (%d)", + strerror(errno), errno); +- error_failed_errno(device->bonding->conn, device->bonding->msg, +- errno); + hci_close_dev(dd); +- goto failed; ++ return -errno; + } + + if (rp.status) { + error("HCI_Authentication_Requested failed with status 0x%02x", + rp.status); +- error_failed_errno(device->bonding->conn, device->bonding->msg, +- bt_error(rp.status)); + hci_close_dev(dd); +- goto failed; ++ return rp.status; + } + ++ info("Authentication requested"); ++ + hci_close_dev(dd); ++ return 0; ++} ++ ++static void bonding_connect_cb(GIOChannel *io, GError *err, gpointer user_data) ++{ ++ struct btd_device *device = user_data; ++ uint16_t handle; ++ int status; ++ ++ if (!device->bonding) { ++ if (!err) ++ g_io_channel_shutdown(io, TRUE, NULL); ++ return; ++ } ++ ++ if (err) { ++ error("Unable to connect: %s", err->message); ++ status = HCI_CONNECTION_TERMINATED; ++ goto cleanup; ++ } ++ ++ if (!bt_io_get(io, BT_IO_L2RAW, &err, ++ BT_IO_OPT_HANDLE, &handle, ++ BT_IO_OPT_INVALID)) { ++ error("Unable to get connection handle: %s", err->message); ++ g_error_free(err); ++ status = -errno; ++ goto failed; ++ } ++ ++ status = device_authentication_requested(device, handle); ++ if (status != 0) ++ goto failed; + + device->bonding->io_id = g_io_add_watch(io, + G_IO_NVAL | G_IO_HUP | G_IO_ERR, +@@ -2002,7 +1991,7 @@ failed: + + cleanup: + device->bonding->io_id = 0; +- bonding_request_free(device->bonding); ++ device_cancel_bonding(device, status); + } + + static void create_bond_req_exit(DBusConnection *conn, void *user_data) +-- +1.7.2.3 + --- bluez-4.66.orig/debian/patches/0207-Fix-attempt-to-use-a-potential-negative-array-index.patch +++ bluez-4.66/debian/patches/0207-Fix-attempt-to-use-a-potential-negative-array-index.patch @@ -0,0 +1,41 @@ +From 2e0d7c44ff32150c209cf7066dbeb34e464090e5 Mon Sep 17 00:00:00 2001 +From: Johan Hedberg +Date: Thu, 17 Jun 2010 23:20:33 +0300 +Subject: [PATCH 07/37] Fix attempt to use a potential negative array index + +--- + src/security.c | 7 ++++--- + 1 files changed, 4 insertions(+), 3 deletions(-) + +diff --git a/src/security.c b/src/security.c +index e8c463c..ca394e1 100644 +--- a/src/security.c ++++ b/src/security.c +@@ -377,11 +377,14 @@ static void link_key_notify(int dev, bdaddr_t *sba, void *ptr) + dev_id = hci_devid(sa); + if (dev_id < 0) + err = -errno; +- else ++ else { + err = hcid_dbus_link_key_notify(sba, dba, evt->link_key, + evt->key_type, + io_data[dev_id].pin_length, + old_key_type); ++ io_data[dev_id].pin_length = -1; ++ } ++ + if (err < 0) { + uint16_t handle; + +@@ -403,8 +406,6 @@ static void link_key_notify(int dev, bdaddr_t *sba, void *ptr) + DISCONNECT_CP_SIZE, &cp); + } + } +- +- io_data[dev_id].pin_length = -1; + } + + static void return_link_keys(int dev, bdaddr_t *sba, void *ptr) +-- +1.7.2.3 + --- bluez-4.66.orig/debian/patches/0214-Fix-possible-memory-leaks-on-ofono-driver.patch +++ bluez-4.66/debian/patches/0214-Fix-possible-memory-leaks-on-ofono-driver.patch @@ -0,0 +1,30 @@ +From 2a6500b516bb7c864f810cb4bba7584bf24a246a Mon Sep 17 00:00:00 2001 +From: Luiz Augusto von Dentz +Date: Tue, 8 Jun 2010 11:20:15 +0300 +Subject: [PATCH 14/37] Fix possible memory leaks on ofono driver + +--- + audio/telephony-ofono.c | 7 +++++-- + 1 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/audio/telephony-ofono.c b/audio/telephony-ofono.c +index e710ce8..9c20112 100644 +--- a/audio/telephony-ofono.c ++++ b/audio/telephony-ofono.c +@@ -598,8 +598,11 @@ static void list_modem_reply(DBusPendingCall *call, void *user_data) + + dbus_message_iter_get_basic(&sub, &modem_obj_path_local); + modem_obj_path = g_strdup(modem_obj_path_local); +- DBG("modem_obj_path is %p, %s\n", modem_obj_path, +- modem_obj_path); ++ if (modem_obj_path != NULL) { ++ DBG("modem_obj_path is %p, %s\n", modem_obj_path, ++ modem_obj_path); ++ break; ++ } + dbus_message_iter_next(&sub); + } + +-- +1.7.2.3 + --- bluez-4.66.orig/debian/patches/0206-Fix-missing-error-check-to-dbus_message_get_args.patch +++ bluez-4.66/debian/patches/0206-Fix-missing-error-check-to-dbus_message_get_args.patch @@ -0,0 +1,31 @@ +From b2d85659223b628d17bb5f69e00d6f514761cba6 Mon Sep 17 00:00:00 2001 +From: Johan Hedberg +Date: Thu, 17 Jun 2010 21:31:32 +0300 +Subject: [PATCH 06/37] Fix missing error check to dbus_message_get_args + +--- + audio/telephony-maemo6.c | 7 +++++-- + 1 files changed, 5 insertions(+), 2 deletions(-) + +diff --git a/audio/telephony-maemo6.c b/audio/telephony-maemo6.c +index 41950be..e8b75fd 100644 +--- a/audio/telephony-maemo6.c ++++ b/audio/telephony-maemo6.c +@@ -1311,9 +1311,12 @@ static void hal_battery_level_reply(DBusPendingCall *call, void *user_data) + goto done; + } + +- dbus_message_get_args(reply, NULL, ++ if (!dbus_message_get_args(reply, NULL, + DBUS_TYPE_INT32, &level, +- DBUS_TYPE_INVALID); ++ DBUS_TYPE_INVALID)) { ++ error("Unexpected args in hald reply"); ++ goto done; ++ } + + *value = (int) level; + +-- +1.7.2.3 + --- bluez-4.66.orig/debian/patches/0229-Fix-the-return-value-of-read_device_alias.patch +++ bluez-4.66/debian/patches/0229-Fix-the-return-value-of-read_device_alias.patch @@ -0,0 +1,27 @@ +From e4648f70c8228eac9854ed1a2c0dc398dfb777a4 Mon Sep 17 00:00:00 2001 +From: Vinicius Costa Gomes +Date: Fri, 2 Jul 2010 13:09:07 -0300 +Subject: [PATCH 29/37] Fix the return value of read_device_alias + +To mantain consistency read_device_alias must return 0 on +success, not the number of bytes written. +--- + src/storage.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/storage.c b/src/storage.c +index 07c1ac2..e09e257 100644 +--- a/src/storage.c ++++ b/src/storage.c +@@ -73,7 +73,7 @@ int read_device_alias(const char *src, const char *dst, char *alias, size_t size + + free(tmp); + +- return err; ++ return err < 0 ? -EIO : 0; + } + + int write_device_alias(const char *src, const char *dst, const char *alias) +-- +1.7.2.3 + --- bluez-4.66.orig/debian/patches/0217-Fix-sending-authentication-reply-when-bonding-is-alr.patch +++ bluez-4.66/debian/patches/0217-Fix-sending-authentication-reply-when-bonding-is-alr.patch @@ -0,0 +1,36 @@ +From 4a4471e7e071fe8e8ae68d1b130dac6db9748fe2 Mon Sep 17 00:00:00 2001 +From: Luiz Augusto von Dentz +Date: Mon, 28 Jun 2010 11:20:15 +0300 +Subject: [PATCH 17/37] Fix sending authentication reply when bonding is already completed + +It cause errors such: + +2010-06-28 11:12:39.683799 > HCI Event: Auth Complete (0x06) plen 3 + status 0x05 handle 43 + Error: Authentication Failure +2010-06-28 11:12:39.699344 < HCI Command: User Confirmation Request + Negative Reply (0x01|0x002d) plen 6 + bdaddr 00:25:56:D0:7F:63 +2010-06-28 11:12:39.705754 > HCI Event: Command Complete (0x0e) plen 10 + User Confirmation Request Negative Reply (0x01|0x002d) ncmd 1 + status 0x0c bdaddr 00:25:56:D0:7F:63 + Error: Command Disallowed +--- + src/device.c | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/src/device.c b/src/device.c +index 04332c6..ea0640e 100644 +--- a/src/device.c ++++ b/src/device.c +@@ -2075,6 +2075,7 @@ void device_bonding_complete(struct btd_device *device, uint8_t status) + agent_cancel(auth->agent); + + if (status) { ++ device_cancel_authentication(device, TRUE); + device_cancel_bonding(device, status); + return; + } +-- +1.7.2.3 + --- bluez-4.66.orig/debian/patches/010_udev_rules_agent.patch +++ bluez-4.66/debian/patches/010_udev_rules_agent.patch @@ -0,0 +1,66 @@ +--- scripts/bluetooth-hid2hci.rules 2009-05-19 10:04:10.000000000 +0100 ++++ scripts/bluetooth-hid2hci.rules 2009-05-19 10:04:10.000000000 +0100 +@@ -1,3 +1,6 @@ ++ACTION!="add", GOTO="hid2hci_end" ++SUBSYSTEM!="usb", GOTO="hid2hci_end" ++ + # Variety of Dell Bluetooth devices + # + # it looks like a bit of an odd rule, because it is matching +@@ -8,29 +11,36 @@ + # 413c:8154 + # 413c:8158 + # 413c:8162 +-ACTION=="add", ENV{ID_VENDOR}=="413c", ENV{ID_CLASS}=="mouse", ATTRS{bmAttributes}=="e0", KERNEL=="mouse*", RUN+="/usr/sbin/hid2hci --method dell -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci" ++ATTR{idVendor}=="413c", ATTR{ID_CLASS}=="mouse", ATTR{bmAttributes}=="e0", KERNEL=="mouse*", RUN+="/lib/udev/bluez --method dell -v $attr{idVendor} -p $attr{idProduct} --mode hci" + + # Logitech devices +-ACTION=="add", ENV{ID_VENDOR}=="046d", ENV{ID_MODEL}=="c703" RUN+="/usr/sbin/hid2hci --method logitech -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci" +-ACTION=="add", ENV{ID_VENDOR}=="046d", ENV{ID_MODEL}=="c704" RUN+="/usr/sbin/hid2hci --method logitech -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci" +-ACTION=="add", ENV{ID_VENDOR}=="046d", ENV{ID_MODEL}=="c705" RUN+="/usr/sbin/hid2hci --method logitech -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci" +-ACTION=="add", ENV{ID_VENDOR}=="046d", ENV{ID_MODEL}=="c70a" RUN+="/usr/sbin/hid2hci --method logitech -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci" +-ACTION=="add", ENV{ID_VENDOR}=="046d", ENV{ID_MODEL}=="c70b" RUN+="/usr/sbin/hid2hci --method logitech -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci" +-ACTION=="add", ENV{ID_VENDOR}=="046d", ENV{ID_MODEL}=="c70c" RUN+="/usr/sbin/hid2hci --method logitech -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci" +-ACTION=="add", ENV{ID_VENDOR}=="046d", ENV{ID_MODEL}=="c70e" RUN+="/usr/sbin/hid2hci --method logitech -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci" +-ACTION=="add", ENV{ID_VENDOR}=="046d", ENV{ID_MODEL}=="c713" RUN+="/usr/sbin/hid2hci --method logitech -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci" +-ACTION=="add", ENV{ID_VENDOR}=="046d", ENV{ID_MODEL}=="c714" RUN+="/usr/sbin/hid2hci --method logitech -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci" +-ACTION=="add", ENV{ID_VENDOR}=="046d", ENV{ID_MODEL}=="c71b" RUN+="/usr/sbin/hid2hci --method logitech -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci" +-ACTION=="add", ENV{ID_VENDOR}=="046d", ENV{ID_MODEL}=="c71c" RUN+="/usr/sbin/hid2hci --method logitech -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci" ++ATTR{idVendor}!="046d", GOTO="hid2hci_logitech_end" ++ ++ATTR{idProduct}=="c703" RUN+="/lib/udev/bluez --method logitech -v $attr{idVendor} -p $attr{idProduct} --mode hci" ++ATTR{idProduct}=="c704" RUN+="/lib/udev/bluez --method logitech -v $attr{idVendor} -p $attr{idProduct} --mode hci" ++ATTR{idProduct}=="c705" RUN+="/lib/udev/bluez --method logitech -v $attr{idVendor} -p $attr{idProduct} --mode hci" ++ATTR{idProduct}=="c70a" RUN+="/lib/udev/bluez --method logitech -v $attr{idVendor} -p $attr{idProduct} --mode hci" ++ATTR{idProduct}=="c70b" RUN+="/lib/udev/bluez --method logitech -v $attr{idVendor} -p $attr{idProduct} --mode hci" ++ATTR{idProduct}=="c70c" RUN+="/lib/udev/bluez --method logitech -v $attr{idVendor} -p $attr{idProduct} --mode hci" ++ATTR{idProduct}=="c70e" RUN+="/lib/udev/bluez --method logitech -v $attr{idVendor} -p $attr{idProduct} --mode hci" ++ATTR{idProduct}=="c713" RUN+="/lib/udev/bluez --method logitech -v $attr{idVendor} -p $attr{idProduct} --mode hci" ++ATTR{idProduct}=="c714" RUN+="/lib/udev/bluez --method logitech -v $attr{idVendor} -p $attr{idProduct} --mode hci" ++ATTR{idProduct}=="c71b" RUN+="/lib/udev/bluez --method logitech -v $attr{idVendor} -p $attr{idProduct} --mode hci" ++ATTR{idProduct}=="c71c" RUN+="/lib/udev/bluez --method logitech -v $attr{idVendor} -p $attr{idProduct} --mode hci" ++ ++LABEL="hid2hci_logitech_end" ++ + + # CSR devices (in HID mode) +-ACTION=="add", ENV{ID_VENDOR}=="0a12", ENV{ID_MODEL}=="1000" RUN+="/usr/sbin/hid2hci --method csr -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci" +-ACTION=="add", ENV{ID_VENDOR}=="0458", ENV{ID_MODEL}=="1000" RUN+="/usr/sbin/hid2hci --method csr -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci" +-ACTION=="add", ENV{ID_VENDOR}=="05ac", ENV{ID_MODEL}=="1000" RUN+="/usr/sbin/hid2hci --method csr -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hci" ++ATTR{idVendor}=="0a12", ATTR{idProduct}=="1000" RUN+="/lib/udev/bluez --method csr -v $attr{idVendor} -p $attr{idProduct} --mode hci" ++ATTR{idVendor}=="0458", ATTR{idProduct}=="1000" RUN+="/lib/udev/bluez --method csr -v $attr{idVendor} -p $attr{idProduct} --mode hci" ++ATTR{idVendor}=="05ac", ATTR{idProduct}=="1000" RUN+="/lib/udev/bluez --method csr -v $attr{idVendor} -p $attr{idProduct} --mode hci" + + # CSR devices (in HCI mode) +-#ACTION=="add", ENV{ID_VENDOR}=="0a12", ENV{ID_MODEL}=="0001" RUN+="/usr/sbin/hid2hci --method csr -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hid" +-#ACTION=="add", ENV{ID_VENDOR}=="0458", ENV{ID_MODEL}=="003f" RUN+="/usr/sbin/hid2hci --method csr -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hid" +-#ACTION=="add", ENV{ID_VENDOR}=="05ac", ENV{ID_MODEL}=="8203" RUN+="/usr/sbin/hid2hci --method csr -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hid" +-#ACTION=="add", ENV{ID_VENDOR}=="05ac", ENV{ID_MODEL}=="8204" RUN+="/usr/sbin/hid2hci --method csr -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hid" +-#ACTION=="add", ENV{ID_VENDOR}=="05ac", ENV{ID_MODEL}=="8207" RUN+="/usr/sbin/hid2hci --method csr -v $env{ID_VENDOR} -p $env{ID_MODEL} --mode hid" ++#ATTR{idVendor}=="0a12", ATTR{idProduct}=="0001" RUN+="/lib/udev/bluez --method csr -v $attr{idVendor} -p $attr{idProduct} --mode hid" ++#ATTR{idVendor}=="0458", ATTR{idProduct}=="003f" RUN+="/lib/udev/bluez --method csr -v $attr{idVendor} -p $attr{idProduct} --mode hid" ++#ATTR{idVendor}=="05ac", ATTR{idProduct}=="8203" RUN+="/lib/udev/bluez --method csr -v $attr{idVendor} -p $attr{idProduct} --mode hid" ++#ATTR{idVendor}=="05ac", ATTR{idProduct}=="8204" RUN+="/lib/udev/bluez --method csr -v $attr{idVendor} -p $attr{idProduct} --mode hid" ++#ATTR{idVendor}=="05ac", ATTR{idProduct}=="8207" RUN+="/lib/udev/bluez --method csr -v $attr{idVendor} -p $attr{idProduct} --mode hid" ++ ++LABEL="hid2hci_end" --- bluez-4.66.orig/debian/patches/0208-Fix-sdp_get_supp_feat-function.patch +++ bluez-4.66/debian/patches/0208-Fix-sdp_get_supp_feat-function.patch @@ -0,0 +1,53 @@ +From 15b2bfd69b42c2b6a37916a7067a429491a0da95 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Elvis=20Pf=C3=BCtzenreuter?= +Date: Wed, 16 Jun 2010 13:30:48 -0300 +Subject: [PATCH 08/37] Fix sdp_get_supp_feat function + +In case of string data items, value is a pointer by itself. +--- + lib/sdp.c | 25 ++++++++++++++++++++++--- + 1 files changed, 22 insertions(+), 3 deletions(-) + +diff --git a/lib/sdp.c b/lib/sdp.c +index 79f4ae5..17745ac 100644 +--- a/lib/sdp.c ++++ b/lib/sdp.c +@@ -4769,13 +4769,32 @@ int sdp_get_supp_feat(const sdp_record_t *rec, sdp_list_t **seqp) + + if (d->dtd < SDP_SEQ8 || d->dtd > SDP_SEQ32) + goto fail; ++ + subseq = NULL; ++ + for (dd = d->val.dataseq; dd; dd = dd->next) { + sdp_data_t *data; +- if (dd->dtd != SDP_UINT8 && dd->dtd != SDP_UINT16 && +- dd->dtd != SDP_TEXT_STR8) ++ void *val; ++ int length; ++ ++ switch (dd->dtd) { ++ case SDP_URL_STR8: ++ case SDP_URL_STR16: ++ case SDP_TEXT_STR8: ++ case SDP_TEXT_STR16: ++ val = dd->val.str; ++ length = dd->unitSize - sizeof(uint8_t); ++ break; ++ case SDP_UINT8: ++ case SDP_UINT16: ++ val = &dd->val; ++ length = 0; ++ break; ++ default: + goto fail; +- data = sdp_data_alloc(dd->dtd, &dd->val); ++ } ++ ++ data = sdp_data_alloc_with_length(dd->dtd, val, length); + if (data) + subseq = sdp_list_append(subseq, data); + } +-- +1.7.2.3 + --- bluez-4.66.orig/debian/source/format +++ bluez-4.66/debian/source/format @@ -0,0 +1 @@ +1.0