weston-3.0.0/0000775000175000017500000000000013142404611010030 500000000000000weston-3.0.0/configure0000775000175000017500000245227613142404606011705 00000000000000#! /bin/sh # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for weston 3.0.0. # # Report bugs to . # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. # # # This configure script is free software; the Free Software Foundation # gives unlimited permission to copy, distribute and modify it. ## -------------------- ## ## 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 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 # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (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 # 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. as_myself= 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 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Use a proper internal environment variable to ensure we don't fall # into an infinite loop, continuously re-executing ourselves. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then _as_can_reexec=no; export _as_can_reexec; # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 as_fn_exit 255 fi # We don't want this to propagate to other subprocesses. { _as_can_reexec=; unset _as_can_reexec;} if test "x$CONFIG_SHELL" = x; then as_bourne_compatible="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 " as_required="as_fn_return () { (exit \$1); } as_fn_success () { as_fn_return 0; } as_fn_failure () { as_fn_return 1; } as_fn_ret_success () { return 0; } as_fn_ret_failure () { return 1; } exitcode=0 as_fn_success || { exitcode=1; echo as_fn_success failed.; } as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : else exitcode=1; echo positional parameters were not saved. fi test x\$exitcode = x0 || exit 1 test -x / || exit 1" as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 test \$(( 1 + 1 )) = 2 || exit 1 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO PATH=/empty FPATH=/empty; export PATH FPATH test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" if (eval "$as_required") 2>/dev/null; then : as_have_required=yes else as_have_required=no fi if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR as_found=false for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. as_found=: case $as_dir in #( /*) for as_base in sh bash ksh sh5; do # Try only shells that exist, to save several forks. as_shell=$as_dir/$as_base if { test -f "$as_shell" || test -f "$as_shell.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : CONFIG_SHELL=$as_shell as_have_required=yes if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : break 2 fi fi done;; esac as_found=false done $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : CONFIG_SHELL=$SHELL as_have_required=yes fi; } IFS=$as_save_IFS if test "x$CONFIG_SHELL" != x; then : export CONFIG_SHELL # We cannot yet assume a decent shell, so we have to provide a # neutralization value for shells without unset; and this also # works around shells that cannot unset nonexistent variables. # Preserve -v and -x to the replacement shell. BASH_ENV=/dev/null ENV=/dev/null (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV case $- in # (((( *v*x* | *x*v* ) as_opts=-vx ;; *v* ) as_opts=-v ;; *x* ) as_opts=-x ;; * ) as_opts= ;; esac exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} # Admittedly, this is quite paranoid, since all the known shells bail # out after a failed `exec'. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 exit 255 fi if test x$as_have_required = xno; then : $as_echo "$0: This script requires a shell more modern than all" $as_echo "$0: the shells that I found on your system." if test x${ZSH_VERSION+set} = xset ; then $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" $as_echo "$0: be upgraded to zsh 4.3.4 or later." else $as_echo "$0: Please tell bug-autoconf@gnu.org and $0: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=3.0.0 $0: about your system, including any error possibly output $0: before this message. Then install a modern shell, or $0: manually run the script under such a shell if you do $0: have one." fi exit 1 fi fi fi SHELL=${CONFIG_SHELL-/bin/sh} export SHELL # Unset more variables known to interfere with behavior of common tools. CLICOLOR_FORCE= GREP_OPTIONS= unset CLICOLOR_FORCE GREP_OPTIONS ## --------------------- ## ## M4sh Shell Functions. ## ## --------------------- ## # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { 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_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error 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 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi 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'` # 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_lineno_1=$LINENO as_lineno_1a=$LINENO as_lineno_2=$LINENO as_lineno_2a=$LINENO eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { # 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; as_fn_exit 1; } # If we had to re-execute with $CONFIG_SHELL, we're ensured to have # already done that, so ensure we don't try to do so again and fall # in an infinite loop. This has already happened in practice. _as_can_reexec=no; export _as_can_reexec # 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 } ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac 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 -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' 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='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi as_test_x='test -x' as_executable_p=as_fn_executable_p # 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'" SHELL=${CONFIG_SHELL-/bin/sh} test -n "$DJDIR" || exec 7<&0 &1 # Name of the host. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, # so uname gets run too. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` # # Initializations. # ac_default_prefix=/usr/local ac_clean_files= ac_config_libobj_dir=. LIBOBJS= cross_compiling=no subdirs= MFLAGS= MAKEFLAGS= # Identity of this package. PACKAGE_NAME='weston' PACKAGE_TARNAME='weston' PACKAGE_VERSION='3.0.0' PACKAGE_STRING='weston 3.0.0' PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=3.0.0' PACKAGE_URL='http://wayland.freedesktop.org' # Factoring default headers for most tests. ac_includes_default="\ #include #ifdef HAVE_SYS_TYPES_H # include #endif #ifdef HAVE_SYS_STAT_H # include #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif" ac_subst_vars='am__EXEEXT_FALSE am__EXEEXT_TRUE LTLIBOBJS LIBOBJS HAVE_GIT_REPO_FALSE HAVE_GIT_REPO_TRUE SYSTEMD_DAEMON_LIBS SYSTEMD_DAEMON_CFLAGS SYSTEMD_NOTIFY_SUPPORT_FALSE SYSTEMD_NOTIFY_SUPPORT_TRUE WAYLAND_SCANNER_LIBS WAYLAND_SCANNER_CFLAGS wayland_scanner HAVE_LCMS_FALSE HAVE_LCMS_TRUE LCMS_LIBS LCMS_CFLAGS INSTALL_DEMO_CLIENTS_FALSE INSTALL_DEMO_CLIENTS_TRUE LIBUNWIND_LIBS LIBUNWIND_CFLAGS HAVE_LIBUNWIND_FALSE HAVE_LIBUNWIND_TRUE GCC_CFLAGS BUILD_SETBACKLIGHT_FALSE BUILD_SETBACKLIGHT_TRUE SETBACKLIGHT_LIBS SETBACKLIGHT_CFLAGS WCAP_LIBS WCAP_CFLAGS BUILD_WCAP_TOOLS_FALSE BUILD_WCAP_TOOLS_TRUE ENABLE_IVI_SHELL_FALSE ENABLE_IVI_SHELL_TRUE ENABLE_JUNIT_XML_FALSE ENABLE_JUNIT_XML_TRUE LIBXML2_LIBS LIBXML2_CFLAGS HAVE_SYSTEMD_LOGIN_FALSE HAVE_SYSTEMD_LOGIN_TRUE SYSTEMD_LOGIN_LIBS SYSTEMD_LOGIN_CFLAGS ENABLE_DBUS_FALSE ENABLE_DBUS_TRUE DBUS_LIBS DBUS_CFLAGS ENABLE_COLORD_FALSE ENABLE_COLORD_TRUE COLORD_LIBS COLORD_CFLAGS ENABLE_FULLSCREEN_SHELL_FALSE ENABLE_FULLSCREEN_SHELL_TRUE ENABLE_DESKTOP_SHELL_FALSE ENABLE_DESKTOP_SHELL_TRUE BUILD_SUBSURFACES_CLIENT_FALSE BUILD_SUBSURFACES_CLIENT_TRUE BUILD_FULL_GL_CLIENTS_FALSE BUILD_FULL_GL_CLIENTS_TRUE HAVE_CAIRO_GLESV2_FALSE HAVE_CAIRO_GLESV2_TRUE HAVE_PANGO_FALSE HAVE_PANGO_TRUE PAM_LIBS BUILD_WESTON_LAUNCH_FALSE BUILD_WESTON_LAUNCH_TRUE PANGO_LIBS PANGO_CFLAGS CAIRO_EGL_LIBS CAIRO_EGL_CFLAGS WESTON_INFO_LIBS WESTON_INFO_CFLAGS SERVER_LIBS SERVER_CFLAGS CLIENT_LIBS CLIENT_CFLAGS BUILD_CLIENTS_FALSE BUILD_CLIENTS_TRUE BUILD_SIMPLE_DMABUF_V4L_CLIENT_FALSE BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE SIMPLE_DMABUF_V4L_CLIENT_LIBS SIMPLE_DMABUF_V4L_CLIENT_CFLAGS BUILD_SIMPLE_DMABUF_DRM_CLIENT_FALSE BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE LIBDRM_PLATFORM_LIBS LIBDRM_PLATFORM_CFLAGS SIMPLE_DMABUF_DRM_CLIENT_LIBS SIMPLE_DMABUF_DRM_CLIENT_CFLAGS SIMPLE_EGL_CLIENT_LIBS SIMPLE_EGL_CLIENT_CFLAGS BUILD_SIMPLE_EGL_CLIENTS_FALSE BUILD_SIMPLE_EGL_CLIENTS_TRUE SIMPLE_CLIENT_LIBS SIMPLE_CLIENT_CFLAGS BUILD_SIMPLE_CLIENTS_FALSE BUILD_SIMPLE_CLIENTS_TRUE TEST_CLIENT_LIBS TEST_CLIENT_CFLAGS CAIRO_LIBS CAIRO_CFLAGS ENABLE_VAAPI_RECORDER_FALSE ENABLE_VAAPI_RECORDER_TRUE LIBVA_LIBS LIBVA_CFLAGS WEBP_LIBS WEBP_CFLAGS JPEG_LIBS PNG_LIBS PNG_CFLAGS PIXMAN_LIBS PIXMAN_CFLAGS SCREEN_SHARE_LIBS SCREEN_SHARE_CFLAGS ENABLE_SCREEN_SHARING_FALSE ENABLE_SCREEN_SHARING_TRUE RDP_COMPOSITOR_LIBS RDP_COMPOSITOR_CFLAGS ENABLE_RDP_COMPOSITOR_FALSE ENABLE_RDP_COMPOSITOR_TRUE FBDEV_COMPOSITOR_LIBS FBDEV_COMPOSITOR_CFLAGS ENABLE_FBDEV_COMPOSITOR_FALSE ENABLE_FBDEV_COMPOSITOR_TRUE ENABLE_HEADLESS_COMPOSITOR_FALSE ENABLE_HEADLESS_COMPOSITOR_TRUE WAYLAND_COMPOSITOR_EGL_LIBS WAYLAND_COMPOSITOR_EGL_CFLAGS WAYLAND_COMPOSITOR_LIBS WAYLAND_COMPOSITOR_CFLAGS ENABLE_WAYLAND_COMPOSITOR_FALSE ENABLE_WAYLAND_COMPOSITOR_TRUE WAYLAND_PROTOCOLS_DATADIR WAYLAND_PROTOCOLS_LIBS WAYLAND_PROTOCOLS_CFLAGS COMPOSITOR_LIBS COMPOSITOR_CFLAGS LIBINPUT_BACKEND_LIBS LIBINPUT_BACKEND_CFLAGS DRM_COMPOSITOR_GBM_LIBS DRM_COMPOSITOR_GBM_CFLAGS DRM_COMPOSITOR_LIBS DRM_COMPOSITOR_CFLAGS ENABLE_DRM_COMPOSITOR_FALSE ENABLE_DRM_COMPOSITOR_TRUE X11_COMPOSITOR_LIBS X11_COMPOSITOR_CFLAGS X11_COMPOSITOR_XKB_LIBS X11_COMPOSITOR_XKB_CFLAGS XCB_LIBS XCB_CFLAGS ENABLE_X11_COMPOSITOR_FALSE ENABLE_X11_COMPOSITOR_TRUE XWAYLAND_TEST_LIBS XWAYLAND_TEST_CFLAGS XSERVER_PATH XWAYLAND_LIBS XWAYLAND_CFLAGS ENABLE_XWAYLAND_TEST_FALSE ENABLE_XWAYLAND_TEST_TRUE ENABLE_XWAYLAND_FALSE ENABLE_XWAYLAND_TRUE ENABLE_SETUID_INSTALL_FALSE ENABLE_SETUID_INSTALL_TRUE XKBCOMMON_COMPOSE_LIBS XKBCOMMON_COMPOSE_CFLAGS EGL_TESTS_LIBS EGL_TESTS_CFLAGS EGL_LIBS EGL_CFLAGS ENABLE_EGL_FALSE ENABLE_EGL_TRUE ENABLE_DEVDOCS_FALSE ENABLE_DEVDOCS_TRUE DOXYGEN LIBDRM_LIBS LIBDRM_CFLAGS CLOCK_GETRES_LIBS CLOCK_GETTIME_LIBS DLOPEN_LIBS PKG_CONFIG_LIBDIR PKG_CONFIG_PATH PKG_CONFIG WESTON_SHELL_CLIENT WESTON_NATIVE_BACKEND LT_SYS_LIBRARY_PATH OTOOL64 OTOOL LIPO NMEDIT DSYMUTIL MANIFEST_TOOL RANLIB ac_ct_AR AR DLLTOOL OBJDUMP LN_S NM ac_ct_DUMPBIN DUMPBIN LD FGREP host_os host_vendor host_cpu host build_os build_vendor build_cpu build LIBTOOL SED AM_BACKSLASH AM_DEFAULT_VERBOSITY AM_DEFAULT_V AM_V am__fastdepCC_FALSE am__fastdepCC_TRUE CCDEPMODE am__nodep AMDEPBACKSLASH AMDEP_FALSE AMDEP_TRUE am__quote am__include DEPDIR am__untar am__tar AMTAR am__leading_dot SET_MAKE AWK mkdir_p MKDIR_P INSTALL_STRIP_PROGRAM STRIP install_sh MAKEINFO AUTOHEADER AUTOMAKE AUTOCONF ACLOCAL VERSION PACKAGE CYGPATH_W am__isrc INSTALL_DATA INSTALL_SCRIPT INSTALL_PROGRAM EGREP GREP CPP OBJEXT EXEEXT ac_ct_CC CPPFLAGS LDFLAGS CFLAGS CC LT_VERSION_INFO LIBWESTON_MAJOR WESTON_VERSION WESTON_VERSION_MICRO WESTON_VERSION_MINOR WESTON_VERSION_MAJOR target_alias host_alias build_alias LIBS ECHO_T ECHO_N ECHO_C DEFS mandir localedir libdir psdir pdfdir dvidir htmldir infodir docdir oldincludedir includedir runstatedir localstatedir sharedstatedir sysconfdir datadir datarootdir libexecdir sbindir bindir program_transform_name prefix exec_prefix PACKAGE_URL PACKAGE_BUGREPORT PACKAGE_STRING PACKAGE_VERSION PACKAGE_TARNAME PACKAGE_NAME PATH_SEPARATOR SHELL' ac_subst_files='' ac_user_opts=' enable_option_checking enable_largefile enable_dependency_tracking enable_silent_rules enable_static enable_shared with_pic enable_fast_install with_aix_soname with_gnu_ld with_sysroot enable_libtool_lock enable_devdocs enable_egl enable_setuid_install enable_xwayland enable_xwayland_test with_xserver_path enable_x11_compositor enable_drm_compositor enable_wayland_compositor enable_headless_compositor enable_fbdev_compositor enable_rdp_compositor enable_screen_sharing with_cairo with_cairo_glesv2 with_jpeg with_webp enable_vaapi_recorder enable_simple_clients enable_simple_egl_clients enable_simple_dmabuf_drm_client enable_simple_dmabuf_v4l_client enable_clients enable_resize_optimization enable_weston_launch enable_fullscreen_shell enable_colord enable_dbus enable_systemd_login enable_junit_xml enable_ivi_shell enable_wcap_tools enable_libunwind enable_demo_clients_install enable_lcms enable_systemd_notify ' ac_precious_vars='build_alias host_alias target_alias CC CFLAGS LDFLAGS LIBS CPPFLAGS CPP LT_SYS_LIBRARY_PATH WESTON_NATIVE_BACKEND WESTON_SHELL_CLIENT PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR LIBDRM_CFLAGS LIBDRM_LIBS EGL_CFLAGS EGL_LIBS EGL_TESTS_CFLAGS EGL_TESTS_LIBS XKBCOMMON_COMPOSE_CFLAGS XKBCOMMON_COMPOSE_LIBS XWAYLAND_CFLAGS XWAYLAND_LIBS XWAYLAND_TEST_CFLAGS XWAYLAND_TEST_LIBS XCB_CFLAGS XCB_LIBS X11_COMPOSITOR_XKB_CFLAGS X11_COMPOSITOR_XKB_LIBS X11_COMPOSITOR_CFLAGS X11_COMPOSITOR_LIBS DRM_COMPOSITOR_CFLAGS DRM_COMPOSITOR_LIBS DRM_COMPOSITOR_GBM_CFLAGS DRM_COMPOSITOR_GBM_LIBS LIBINPUT_BACKEND_CFLAGS LIBINPUT_BACKEND_LIBS COMPOSITOR_CFLAGS COMPOSITOR_LIBS WAYLAND_PROTOCOLS_CFLAGS WAYLAND_PROTOCOLS_LIBS WAYLAND_COMPOSITOR_CFLAGS WAYLAND_COMPOSITOR_LIBS WAYLAND_COMPOSITOR_EGL_CFLAGS WAYLAND_COMPOSITOR_EGL_LIBS FBDEV_COMPOSITOR_CFLAGS FBDEV_COMPOSITOR_LIBS RDP_COMPOSITOR_CFLAGS RDP_COMPOSITOR_LIBS SCREEN_SHARE_CFLAGS SCREEN_SHARE_LIBS PIXMAN_CFLAGS PIXMAN_LIBS PNG_CFLAGS PNG_LIBS WEBP_CFLAGS WEBP_LIBS LIBVA_CFLAGS LIBVA_LIBS CAIRO_CFLAGS CAIRO_LIBS TEST_CLIENT_CFLAGS TEST_CLIENT_LIBS SIMPLE_CLIENT_CFLAGS SIMPLE_CLIENT_LIBS SIMPLE_EGL_CLIENT_CFLAGS SIMPLE_EGL_CLIENT_LIBS SIMPLE_DMABUF_DRM_CLIENT_CFLAGS SIMPLE_DMABUF_DRM_CLIENT_LIBS LIBDRM_PLATFORM_CFLAGS LIBDRM_PLATFORM_LIBS SIMPLE_DMABUF_V4L_CLIENT_CFLAGS SIMPLE_DMABUF_V4L_CLIENT_LIBS CLIENT_CFLAGS CLIENT_LIBS SERVER_CFLAGS SERVER_LIBS WESTON_INFO_CFLAGS WESTON_INFO_LIBS CAIRO_EGL_CFLAGS CAIRO_EGL_LIBS PANGO_CFLAGS PANGO_LIBS COLORD_CFLAGS COLORD_LIBS DBUS_CFLAGS DBUS_LIBS SYSTEMD_LOGIN_CFLAGS SYSTEMD_LOGIN_LIBS LIBXML2_CFLAGS LIBXML2_LIBS WCAP_CFLAGS WCAP_LIBS SETBACKLIGHT_CFLAGS SETBACKLIGHT_LIBS LIBUNWIND_CFLAGS LIBUNWIND_LIBS LCMS_CFLAGS LCMS_LIBS WAYLAND_SCANNER_CFLAGS WAYLAND_SCANNER_LIBS SYSTEMD_DAEMON_CFLAGS SYSTEMD_DAEMON_LIBS' # Initialize some variables set by options. ac_init_help= ac_init_version=false ac_unrecognized_opts= ac_unrecognized_sep= # The variables have the same names as the options, with # dashes changed to underlines. cache_file=/dev/null exec_prefix=NONE no_create= no_recursion= prefix=NONE program_prefix=NONE program_suffix=NONE program_transform_name=s,x,x, silent= site= srcdir= verbose= x_includes=NONE x_libraries=NONE # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" # and all the variables that are supposed to be based on exec_prefix # by default will actually change. # Use braces instead of parens because sh, perl, etc. also accept them. # (The list follows the same order as the GNU Coding Standards.) bindir='${exec_prefix}/bin' sbindir='${exec_prefix}/sbin' libexecdir='${exec_prefix}/libexec' datarootdir='${prefix}/share' datadir='${datarootdir}' sysconfdir='${prefix}/etc' sharedstatedir='${prefix}/com' localstatedir='${prefix}/var' runstatedir='${localstatedir}/run' includedir='${prefix}/include' oldincludedir='/usr/include' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' infodir='${datarootdir}/info' htmldir='${docdir}' dvidir='${docdir}' pdfdir='${docdir}' psdir='${docdir}' libdir='${exec_prefix}/lib' localedir='${datarootdir}/locale' mandir='${datarootdir}/man' ac_prev= ac_dashdash= for ac_option do # If the previous option needs an argument, assign it. if test -n "$ac_prev"; then eval $ac_prev=\$ac_option ac_prev= continue fi case $ac_option in *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; *=) ac_optarg= ;; *) ac_optarg=yes ;; esac # Accept the important Cygnus configure options, so we can diagnose typos. case $ac_dashdash$ac_option in --) ac_dashdash=yes ;; -bindir | --bindir | --bindi | --bind | --bin | --bi) ac_prev=bindir ;; -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) bindir=$ac_optarg ;; -build | --build | --buil | --bui | --bu) ac_prev=build_alias ;; -build=* | --build=* | --buil=* | --bui=* | --bu=*) build_alias=$ac_optarg ;; -cache-file | --cache-file | --cache-fil | --cache-fi \ | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) ac_prev=cache_file ;; -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) cache_file=$ac_optarg ;; --config-cache | -C) cache_file=config.cache ;; -datadir | --datadir | --datadi | --datad) ac_prev=datadir ;; -datadir=* | --datadir=* | --datadi=* | --datad=*) datadir=$ac_optarg ;; -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | --dataroo | --dataro | --datar) ac_prev=datarootdir ;; -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) datarootdir=$ac_optarg ;; -disable-* | --disable-*) ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=no ;; -docdir | --docdir | --docdi | --doc | --do) ac_prev=docdir ;; -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) docdir=$ac_optarg ;; -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) ac_prev=dvidir ;; -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) dvidir=$ac_optarg ;; -enable-* | --enable-*) ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid feature name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "enable_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval enable_$ac_useropt=\$ac_optarg ;; -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | --exec | --exe | --ex) ac_prev=exec_prefix ;; -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | --exec=* | --exe=* | --ex=*) exec_prefix=$ac_optarg ;; -gas | --gas | --ga | --g) # Obsolete; use --with-gas. with_gas=yes ;; -help | --help | --hel | --he | -h) ac_init_help=long ;; -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) ac_init_help=recursive ;; -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) ac_init_help=short ;; -host | --host | --hos | --ho) ac_prev=host_alias ;; -host=* | --host=* | --hos=* | --ho=*) host_alias=$ac_optarg ;; -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) ac_prev=htmldir ;; -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | --ht=*) htmldir=$ac_optarg ;; -includedir | --includedir | --includedi | --included | --include \ | --includ | --inclu | --incl | --inc) ac_prev=includedir ;; -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | --includ=* | --inclu=* | --incl=* | --inc=*) includedir=$ac_optarg ;; -infodir | --infodir | --infodi | --infod | --info | --inf) ac_prev=infodir ;; -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) infodir=$ac_optarg ;; -libdir | --libdir | --libdi | --libd) ac_prev=libdir ;; -libdir=* | --libdir=* | --libdi=* | --libd=*) libdir=$ac_optarg ;; -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | --libexe | --libex | --libe) ac_prev=libexecdir ;; -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | --libexe=* | --libex=* | --libe=*) libexecdir=$ac_optarg ;; -localedir | --localedir | --localedi | --localed | --locale) ac_prev=localedir ;; -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) localedir=$ac_optarg ;; -localstatedir | --localstatedir | --localstatedi | --localstated \ | --localstate | --localstat | --localsta | --localst | --locals) ac_prev=localstatedir ;; -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) localstatedir=$ac_optarg ;; -mandir | --mandir | --mandi | --mand | --man | --ma | --m) ac_prev=mandir ;; -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) mandir=$ac_optarg ;; -nfp | --nfp | --nf) # Obsolete; use --without-fp. with_fp=no ;; -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | --no-cr | --no-c | -n) no_create=yes ;; -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) no_recursion=yes ;; -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | --oldin | --oldi | --old | --ol | --o) ac_prev=oldincludedir ;; -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) oldincludedir=$ac_optarg ;; -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) ac_prev=prefix ;; -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) prefix=$ac_optarg ;; -program-prefix | --program-prefix | --program-prefi | --program-pref \ | --program-pre | --program-pr | --program-p) ac_prev=program_prefix ;; -program-prefix=* | --program-prefix=* | --program-prefi=* \ | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) program_prefix=$ac_optarg ;; -program-suffix | --program-suffix | --program-suffi | --program-suff \ | --program-suf | --program-su | --program-s) ac_prev=program_suffix ;; -program-suffix=* | --program-suffix=* | --program-suffi=* \ | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) program_suffix=$ac_optarg ;; -program-transform-name | --program-transform-name \ | --program-transform-nam | --program-transform-na \ | --program-transform-n | --program-transform- \ | --program-transform | --program-transfor \ | --program-transfo | --program-transf \ | --program-trans | --program-tran \ | --progr-tra | --program-tr | --program-t) ac_prev=program_transform_name ;; -program-transform-name=* | --program-transform-name=* \ | --program-transform-nam=* | --program-transform-na=* \ | --program-transform-n=* | --program-transform-=* \ | --program-transform=* | --program-transfor=* \ | --program-transfo=* | --program-transf=* \ | --program-trans=* | --program-tran=* \ | --progr-tra=* | --program-tr=* | --program-t=*) program_transform_name=$ac_optarg ;; -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) ac_prev=pdfdir ;; -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) pdfdir=$ac_optarg ;; -psdir | --psdir | --psdi | --psd | --ps) ac_prev=psdir ;; -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) psdir=$ac_optarg ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) silent=yes ;; -runstatedir | --runstatedir | --runstatedi | --runstated \ | --runstate | --runstat | --runsta | --runst | --runs \ | --run | --ru | --r) ac_prev=runstatedir ;; -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ | --run=* | --ru=* | --r=*) runstatedir=$ac_optarg ;; -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) ac_prev=sbindir ;; -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | --sbi=* | --sb=*) sbindir=$ac_optarg ;; -sharedstatedir | --sharedstatedir | --sharedstatedi \ | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | --sharedst | --shareds | --shared | --share | --shar \ | --sha | --sh) ac_prev=sharedstatedir ;; -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | --sha=* | --sh=*) sharedstatedir=$ac_optarg ;; -site | --site | --sit) ac_prev=site ;; -site=* | --site=* | --sit=*) site=$ac_optarg ;; -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) ac_prev=srcdir ;; -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) srcdir=$ac_optarg ;; -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | --syscon | --sysco | --sysc | --sys | --sy) ac_prev=sysconfdir ;; -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) sysconfdir=$ac_optarg ;; -target | --target | --targe | --targ | --tar | --ta | --t) ac_prev=target_alias ;; -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) target_alias=$ac_optarg ;; -v | -verbose | --verbose | --verbos | --verbo | --verb) verbose=yes ;; -version | --version | --versio | --versi | --vers | -V) ac_init_version=: ;; -with-* | --with-*) ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=\$ac_optarg ;; -without-* | --without-*) ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` # Reject names that are not valid shell variable names. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && as_fn_error $? "invalid package name: $ac_useropt" ac_useropt_orig=$ac_useropt ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` case $ac_user_opts in *" "with_$ac_useropt" "*) ;; *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" ac_unrecognized_sep=', ';; esac eval with_$ac_useropt=no ;; --x) # Obsolete; use --with-x. with_x=yes ;; -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | --x-incl | --x-inc | --x-in | --x-i) ac_prev=x_includes ;; -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) x_includes=$ac_optarg ;; -x-libraries | --x-libraries | --x-librarie | --x-librari \ | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) ac_prev=x_libraries ;; -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) x_libraries=$ac_optarg ;; -*) as_fn_error $? "unrecognized option: \`$ac_option' Try \`$0 --help' for more information" ;; *=*) ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` # Reject names that are not valid shell variable names. case $ac_envvar in #( '' | [0-9]* | *[!_$as_cr_alnum]* ) as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; esac eval $ac_envvar=\$ac_optarg export $ac_envvar ;; *) # FIXME: should be removed in autoconf 3.0. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" ;; esac done if test -n "$ac_prev"; then ac_option=--`echo $ac_prev | sed 's/_/-/g'` as_fn_error $? "missing argument to $ac_option" fi if test -n "$ac_unrecognized_opts"; then case $enable_option_checking in no) ;; fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; esac fi # Check all directory arguments for consistency. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ datadir sysconfdir sharedstatedir localstatedir includedir \ oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ libdir localedir mandir runstatedir do eval ac_val=\$$ac_var # Remove trailing slashes. case $ac_val in */ ) ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` eval $ac_var=\$ac_val;; esac # Be sure to have absolute directory names. case $ac_val in [\\/$]* | ?:[\\/]* ) continue;; NONE | '' ) case $ac_var in *prefix ) continue;; esac;; esac as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" done # There might be people who depend on the old broken behavior: `$host' # used to hold the argument of --host etc. # FIXME: To remove some day. build=$build_alias host=$host_alias target=$target_alias # FIXME: To remove some day. if test "x$host_alias" != x; then if test "x$build_alias" = x; then cross_compiling=maybe elif test "x$build_alias" != "x$host_alias"; then cross_compiling=yes fi fi ac_tool_prefix= test -n "$host_alias" && ac_tool_prefix=$host_alias- test "$silent" = yes && exec 6>/dev/null ac_pwd=`pwd` && test -n "$ac_pwd" && ac_ls_di=`ls -di .` && ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || as_fn_error $? "working directory cannot be determined" test "X$ac_ls_di" = "X$ac_pwd_ls_di" || as_fn_error $? "pwd does not report name of working directory" # Find the source files, if location was not specified. if test -z "$srcdir"; then ac_srcdir_defaulted=yes # Try the directory containing this script, then the parent directory. ac_confdir=`$as_dirname -- "$as_myself" || $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ X"$as_myself" : 'X\(//\)[^/]' \| \ X"$as_myself" : 'X\(//\)$' \| \ X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || $as_echo X"$as_myself" | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/ q } /^X\(\/\/\)[^/].*/{ s//\1/ q } /^X\(\/\/\)$/{ s//\1/ q } /^X\(\/\).*/{ s//\1/ q } s/.*/./; q'` srcdir=$ac_confdir if test ! -r "$srcdir/$ac_unique_file"; then srcdir=.. fi else ac_srcdir_defaulted=no fi if test ! -r "$srcdir/$ac_unique_file"; then test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" fi ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" ac_abs_confdir=`( cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" pwd)` # When building in place, set srcdir=. if test "$ac_abs_confdir" = "$ac_pwd"; then srcdir=. fi # Remove unnecessary trailing slashes from srcdir. # Double slashes in file names in object file debugging info # mess up M-x gdb in Emacs. case $srcdir in */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; esac for ac_var in $ac_precious_vars; do eval ac_env_${ac_var}_set=\${${ac_var}+set} eval ac_env_${ac_var}_value=\$${ac_var} eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} eval ac_cv_env_${ac_var}_value=\$${ac_var} done # # Report the --help message. # if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF \`configure' configures weston 3.0.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... To assign environment variables (e.g., CC, CFLAGS...), specify them as VAR=VALUE. See below for descriptions of some of the useful variables. Defaults for the options are specified in brackets. Configuration: -h, --help display this help and exit --help=short display options specific to this package --help=recursive display the short help of all the included packages -V, --version display version information and exit -q, --quiet, --silent do not print \`checking ...' messages --cache-file=FILE cache test results in FILE [disabled] -C, --config-cache alias for \`--cache-file=config.cache' -n, --no-create do not create output files --srcdir=DIR find the sources in DIR [configure dir or \`..'] Installation directories: --prefix=PREFIX install architecture-independent files in PREFIX [$ac_default_prefix] --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX [PREFIX] By default, \`make install' will install all the files in \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify an installation prefix other than \`$ac_default_prefix' using \`--prefix', for instance \`--prefix=\$HOME'. For better control, use the options below. Fine tuning of the installation directories: --bindir=DIR user executables [EPREFIX/bin] --sbindir=DIR system admin executables [EPREFIX/sbin] --libexecdir=DIR program executables [EPREFIX/libexec] --sysconfdir=DIR read-only single-machine data [PREFIX/etc] --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] --localstatedir=DIR modifiable single-machine data [PREFIX/var] --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] --libdir=DIR object code libraries [EPREFIX/lib] --includedir=DIR C header files [PREFIX/include] --oldincludedir=DIR C header files for non-gcc [/usr/include] --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] --datadir=DIR read-only architecture-independent data [DATAROOTDIR] --infodir=DIR info documentation [DATAROOTDIR/info] --localedir=DIR locale-dependent data [DATAROOTDIR/locale] --mandir=DIR man documentation [DATAROOTDIR/man] --docdir=DIR documentation root [DATAROOTDIR/doc/weston] --htmldir=DIR html documentation [DOCDIR] --dvidir=DIR dvi documentation [DOCDIR] --pdfdir=DIR pdf documentation [DOCDIR] --psdir=DIR ps documentation [DOCDIR] _ACEOF cat <<\_ACEOF Program names: --program-prefix=PREFIX prepend PREFIX to installed program names --program-suffix=SUFFIX append SUFFIX to installed program names --program-transform-name=PROGRAM run sed PROGRAM on installed program names System types: --build=BUILD configure for building on BUILD [guessed] --host=HOST cross-compile to build programs to run on HOST [BUILD] _ACEOF fi if test -n "$ac_init_help"; then case $ac_init_help in short | recursive ) echo "Configuration of weston 3.0.0:";; esac cat <<\_ACEOF Optional Features: --disable-option-checking ignore unrecognized --enable/--with options --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) --enable-FEATURE[=ARG] include FEATURE [ARG=yes] --disable-largefile omit support for large files --enable-dependency-tracking do not reject slow dependency extractors --disable-dependency-tracking speeds up one-time build --enable-silent-rules less verbose build output (undo: "make V=1") --disable-silent-rules verbose build output (undo: "make V=0") --enable-static[=PKGS] build static libraries [default=no] --enable-shared[=PKGS] build shared libraries [default=yes] --enable-fast-install[=PKGS] optimize for fast installation [default=yes] --disable-libtool-lock avoid locking (might break parallel builds) --disable-devdocs do not enable building of developer documentation --disable-egl --enable-setuid-install --enable-xwayland --enable-xwayland-test --enable-x11-compositor --enable-drm-compositor --enable-wayland-compositor --enable-headless-compositor --enable-fbdev-compositor --enable-rdp-compositor --enable-screen-sharing --enable-vaapi-recorder --disable-simple-clients do not build the simple wl_shm clients --disable-simple-egl-clients do not build the simple EGL clients --disable-simple-dmabuf-drm-client do not build the simple dmabuf drm client --disable-simple-dmabuf-v4l-client do not build the simple dmabuf v4l client --enable-clients --disable-resize-optimization disable resize optimization allocating a big buffer in toytoolkit --enable-weston-launch --disable-fullscreen-shell do not build fullscreen-shell server plugin --disable-colord do not build colord CMS support --disable-dbus do not build with dbus support --enable-systemd-login Enable logind support --disable-junit-xml do not build with JUnit XML output --disable-ivi-shell do not build ivi-shell server plugin and client --disable-wcap-tools --disable-libunwind Disable libunwind usage for backtraces --enable-demo-clients-install Install demo clients built with weston --disable-lcms Disable lcms support --enable-systemd-notify Enables systemd notifications to notify systemd about weston state and update watchdog. Also sockets provided by systemd in case of socket-base activation are added to wayland display Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use both] --with-aix-soname=aix|svr4|both shared library versioning (aka "SONAME") variant to provide on AIX, [default=aix]. --with-gnu-ld assume the C compiler uses GNU ld [default=no] --with-sysroot[=DIR] Search for dependent libraries within DIR (or the compiler's sysroot if not specified). --with-xserver-path=PATH Path to X server --with-cairo=[image|gl|glesv2] Which Cairo renderer to use for the clients --with-cairo-glesv2 Use GLESv2 cairo --without-jpeg Use jpeglib for JPEG decoding support [default=auto] --without-webp Use libwebp for WebP decoding support [default=auto] Some influential environment variables: CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBS libraries to pass to the linker, e.g. -l CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I if you have headers in a nonstandard directory CPP C preprocessor LT_SYS_LIBRARY_PATH User-defined run-time library search path. WESTON_NATIVE_BACKEND Set the native backend to use, if Weston is not running under Wayland nor X11. [default=drm-backend.so] WESTON_SHELL_CLIENT Set the default desktop shell client to load if none is specified in weston.ini. [default=weston-desktop-shell] PKG_CONFIG path to pkg-config utility PKG_CONFIG_PATH directories to add to pkg-config's search path PKG_CONFIG_LIBDIR path overriding pkg-config's built-in search path LIBDRM_CFLAGS C compiler flags for LIBDRM, overriding pkg-config LIBDRM_LIBS linker flags for LIBDRM, overriding pkg-config EGL_CFLAGS C compiler flags for EGL, overriding pkg-config EGL_LIBS linker flags for EGL, overriding pkg-config EGL_TESTS_CFLAGS C compiler flags for EGL_TESTS, overriding pkg-config EGL_TESTS_LIBS linker flags for EGL_TESTS, overriding pkg-config XKBCOMMON_COMPOSE_CFLAGS C compiler flags for XKBCOMMON_COMPOSE, overriding pkg-config XKBCOMMON_COMPOSE_LIBS linker flags for XKBCOMMON_COMPOSE, overriding pkg-config XWAYLAND_CFLAGS C compiler flags for XWAYLAND, overriding pkg-config XWAYLAND_LIBS linker flags for XWAYLAND, overriding pkg-config XWAYLAND_TEST_CFLAGS C compiler flags for XWAYLAND_TEST, overriding pkg-config XWAYLAND_TEST_LIBS linker flags for XWAYLAND_TEST, overriding pkg-config XCB_CFLAGS C compiler flags for XCB, overriding pkg-config XCB_LIBS linker flags for XCB, overriding pkg-config X11_COMPOSITOR_XKB_CFLAGS C compiler flags for X11_COMPOSITOR_XKB, overriding pkg-config X11_COMPOSITOR_XKB_LIBS linker flags for X11_COMPOSITOR_XKB, overriding pkg-config X11_COMPOSITOR_CFLAGS C compiler flags for X11_COMPOSITOR, overriding pkg-config X11_COMPOSITOR_LIBS linker flags for X11_COMPOSITOR, overriding pkg-config DRM_COMPOSITOR_CFLAGS C compiler flags for DRM_COMPOSITOR, overriding pkg-config DRM_COMPOSITOR_LIBS linker flags for DRM_COMPOSITOR, overriding pkg-config DRM_COMPOSITOR_GBM_CFLAGS C compiler flags for DRM_COMPOSITOR_GBM, overriding pkg-config DRM_COMPOSITOR_GBM_LIBS linker flags for DRM_COMPOSITOR_GBM, overriding pkg-config LIBINPUT_BACKEND_CFLAGS C compiler flags for LIBINPUT_BACKEND, overriding pkg-config LIBINPUT_BACKEND_LIBS linker flags for LIBINPUT_BACKEND, overriding pkg-config COMPOSITOR_CFLAGS C compiler flags for COMPOSITOR, overriding pkg-config COMPOSITOR_LIBS linker flags for COMPOSITOR, overriding pkg-config WAYLAND_PROTOCOLS_CFLAGS C compiler flags for WAYLAND_PROTOCOLS, overriding pkg-config WAYLAND_PROTOCOLS_LIBS linker flags for WAYLAND_PROTOCOLS, overriding pkg-config WAYLAND_COMPOSITOR_CFLAGS C compiler flags for WAYLAND_COMPOSITOR, overriding pkg-config WAYLAND_COMPOSITOR_LIBS linker flags for WAYLAND_COMPOSITOR, overriding pkg-config WAYLAND_COMPOSITOR_EGL_CFLAGS C compiler flags for WAYLAND_COMPOSITOR_EGL, overriding pkg-config WAYLAND_COMPOSITOR_EGL_LIBS linker flags for WAYLAND_COMPOSITOR_EGL, overriding pkg-config FBDEV_COMPOSITOR_CFLAGS C compiler flags for FBDEV_COMPOSITOR, overriding pkg-config FBDEV_COMPOSITOR_LIBS linker flags for FBDEV_COMPOSITOR, overriding pkg-config RDP_COMPOSITOR_CFLAGS C compiler flags for RDP_COMPOSITOR, overriding pkg-config RDP_COMPOSITOR_LIBS linker flags for RDP_COMPOSITOR, overriding pkg-config SCREEN_SHARE_CFLAGS C compiler flags for SCREEN_SHARE, overriding pkg-config SCREEN_SHARE_LIBS linker flags for SCREEN_SHARE, overriding pkg-config PIXMAN_CFLAGS C compiler flags for PIXMAN, overriding pkg-config PIXMAN_LIBS linker flags for PIXMAN, overriding pkg-config PNG_CFLAGS C compiler flags for PNG, overriding pkg-config PNG_LIBS linker flags for PNG, overriding pkg-config WEBP_CFLAGS C compiler flags for WEBP, overriding pkg-config WEBP_LIBS linker flags for WEBP, overriding pkg-config LIBVA_CFLAGS C compiler flags for LIBVA, overriding pkg-config LIBVA_LIBS linker flags for LIBVA, overriding pkg-config CAIRO_CFLAGS C compiler flags for CAIRO, overriding pkg-config CAIRO_LIBS linker flags for CAIRO, overriding pkg-config TEST_CLIENT_CFLAGS C compiler flags for TEST_CLIENT, overriding pkg-config TEST_CLIENT_LIBS linker flags for TEST_CLIENT, overriding pkg-config SIMPLE_CLIENT_CFLAGS C compiler flags for SIMPLE_CLIENT, overriding pkg-config SIMPLE_CLIENT_LIBS linker flags for SIMPLE_CLIENT, overriding pkg-config SIMPLE_EGL_CLIENT_CFLAGS C compiler flags for SIMPLE_EGL_CLIENT, overriding pkg-config SIMPLE_EGL_CLIENT_LIBS linker flags for SIMPLE_EGL_CLIENT, overriding pkg-config SIMPLE_DMABUF_DRM_CLIENT_CFLAGS C compiler flags for SIMPLE_DMABUF_DRM_CLIENT, overriding pkg-config SIMPLE_DMABUF_DRM_CLIENT_LIBS linker flags for SIMPLE_DMABUF_DRM_CLIENT, overriding pkg-config LIBDRM_PLATFORM_CFLAGS C compiler flags for LIBDRM_PLATFORM, overriding pkg-config LIBDRM_PLATFORM_LIBS linker flags for LIBDRM_PLATFORM, overriding pkg-config SIMPLE_DMABUF_V4L_CLIENT_CFLAGS C compiler flags for SIMPLE_DMABUF_V4L_CLIENT, overriding pkg-config SIMPLE_DMABUF_V4L_CLIENT_LIBS linker flags for SIMPLE_DMABUF_V4L_CLIENT, overriding pkg-config CLIENT_CFLAGS C compiler flags for CLIENT, overriding pkg-config CLIENT_LIBS linker flags for CLIENT, overriding pkg-config SERVER_CFLAGS C compiler flags for SERVER, overriding pkg-config SERVER_LIBS linker flags for SERVER, overriding pkg-config WESTON_INFO_CFLAGS C compiler flags for WESTON_INFO, overriding pkg-config WESTON_INFO_LIBS linker flags for WESTON_INFO, overriding pkg-config CAIRO_EGL_CFLAGS C compiler flags for CAIRO_EGL, overriding pkg-config CAIRO_EGL_LIBS linker flags for CAIRO_EGL, overriding pkg-config PANGO_CFLAGS C compiler flags for PANGO, overriding pkg-config PANGO_LIBS linker flags for PANGO, overriding pkg-config COLORD_CFLAGS C compiler flags for COLORD, overriding pkg-config COLORD_LIBS linker flags for COLORD, overriding pkg-config DBUS_CFLAGS C compiler flags for DBUS, overriding pkg-config DBUS_LIBS linker flags for DBUS, overriding pkg-config SYSTEMD_LOGIN_CFLAGS C compiler flags for SYSTEMD_LOGIN, overriding pkg-config SYSTEMD_LOGIN_LIBS linker flags for SYSTEMD_LOGIN, overriding pkg-config LIBXML2_CFLAGS C compiler flags for LIBXML2, overriding pkg-config LIBXML2_LIBS linker flags for LIBXML2, overriding pkg-config WCAP_CFLAGS C compiler flags for WCAP, overriding pkg-config WCAP_LIBS linker flags for WCAP, overriding pkg-config SETBACKLIGHT_CFLAGS C compiler flags for SETBACKLIGHT, overriding pkg-config SETBACKLIGHT_LIBS linker flags for SETBACKLIGHT, overriding pkg-config LIBUNWIND_CFLAGS C compiler flags for LIBUNWIND, overriding pkg-config LIBUNWIND_LIBS linker flags for LIBUNWIND, overriding pkg-config LCMS_CFLAGS C compiler flags for LCMS, overriding pkg-config LCMS_LIBS linker flags for LCMS, overriding pkg-config WAYLAND_SCANNER_CFLAGS C compiler flags for WAYLAND_SCANNER, overriding pkg-config WAYLAND_SCANNER_LIBS linker flags for WAYLAND_SCANNER, overriding pkg-config SYSTEMD_DAEMON_CFLAGS C compiler flags for SYSTEMD_DAEMON, overriding pkg-config SYSTEMD_DAEMON_LIBS linker flags for SYSTEMD_DAEMON, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. Report bugs to . weston home page: . _ACEOF ac_status=$? fi if test "$ac_init_help" = "recursive"; then # If there are subdirs, report their specific --help. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue test -d "$ac_dir" || { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || continue 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 cd "$ac_dir" || { ac_status=$?; continue; } # Check for guested configure. if test -f "$ac_srcdir/configure.gnu"; then echo && $SHELL "$ac_srcdir/configure.gnu" --help=recursive elif test -f "$ac_srcdir/configure"; then echo && $SHELL "$ac_srcdir/configure" --help=recursive else $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi || ac_status=$? cd "$ac_pwd" || { ac_status=$?; break; } done fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF weston configure 3.0.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. _ACEOF exit fi ## ------------------------ ## ## Autoconf initialization. ## ## ------------------------ ## # ac_fn_c_try_compile LINENO # -------------------------- # Try to compile conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest.$ac_objext; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_compile # ac_fn_c_try_cpp LINENO # ---------------------- # Try to preprocess conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_cpp () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_cpp conftest.$ac_ext" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } > conftest.i && { test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || test ! -s conftest.err }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_cpp # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists, giving a warning if it cannot be compiled using # the include files in INCLUDES and setting the cache variable VAR # accordingly. ac_fn_c_check_header_mongrel () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if eval \${$3+:} false; then : { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } else # Is the header compilable? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 $as_echo_n "checking $2 usability... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_header_compiler=yes else ac_header_compiler=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 $as_echo "$ac_header_compiler" >&6; } # Is the header present? { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 $as_echo_n "checking $2 presence... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include <$2> _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : ac_header_preproc=yes else ac_header_preproc=no fi rm -f conftest.err conftest.i conftest.$ac_ext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 $as_echo "$ac_header_preproc" >&6; } # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( yes:no: ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ;; no:yes:* ) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} ( $as_echo "## -------------------------------------------------------------------------------------------------------- ## ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=3.0.0 ## ## -------------------------------------------------------------------------------------------------------- ##" ) | sed "s/^/$as_me: WARNING: /" >&2 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else eval "$3=\$ac_header_compiler" fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } fi eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_mongrel # ac_fn_c_try_run LINENO # ---------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes # that executables *can* be run. ac_fn_c_try_run () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then : ac_retval=0 else $as_echo "$as_me: program exited with status $ac_status" >&5 $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=$ac_status fi rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_run # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES # ------------------------------------------------------- # Tests whether HEADER exists and can be compiled using the include files in # INCLUDES, setting the cache variable VAR accordingly. ac_fn_c_check_header_compile () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 #include <$2> _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_header_compile # ac_fn_c_try_link LINENO # ----------------------- # Try to link conftest.$ac_ext, and return whether this succeeded. ac_fn_c_try_link () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack rm -f conftest.$ac_objext conftest$ac_exeext if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>conftest.err ac_status=$? if test -s conftest.err; then grep -v '^ *+' conftest.err >conftest.er1 cat conftest.er1 >&5 mv -f conftest.er1 conftest.err fi $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && { test -z "$ac_c_werror_flag" || test ! -s conftest.err } && test -s conftest$ac_exeext && { test "$cross_compiling" = yes || test -x conftest$ac_exeext }; then : ac_retval=0 else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 ac_retval=1 fi # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would # interfere with the next link command; also delete a directory that is # left behind by Apple's compiler. We do this before executing the actions. rm -rf conftest.dSYM conftest_ipa8_conftest.oo eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno as_fn_set_status $ac_retval } # ac_fn_c_try_link # ac_fn_c_check_func LINENO FUNC VAR # ---------------------------------- # Tests whether FUNC exists, setting the cache variable VAR accordingly ac_fn_c_check_func () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 $as_echo_n "checking for $2... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ /* Define $2 to an innocuous variant, in case declares $2. For example, HP-UX 11i declares gettimeofday. */ #define $2 innocuous_$2 /* System header to define __stub macros and hopefully few prototypes, which can conflict with char $2 (); below. Prefer to if __STDC__ is defined, since exists even on freestanding compilers. */ #ifdef __STDC__ # include #else # include #endif #undef $2 /* 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 $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined __stub_$2 || defined __stub___$2 choke me #endif int main () { return $2 (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_func # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES # --------------------------------------------- # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR # accordingly. ac_fn_c_check_decl () { as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack as_decl_name=`echo $2|sed 's/ *(.*//'` as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5 $as_echo_n "checking whether $as_decl_name is declared... " >&6; } if eval \${$3+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $4 int main () { #ifndef $as_decl_name #ifdef __cplusplus (void) $as_decl_use; #else (void) $as_decl_name; #endif #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : eval "$3=yes" else eval "$3=no" fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi eval ac_res=\$$3 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 $as_echo "$ac_res" >&6; } eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno } # ac_fn_c_check_decl cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by weston $as_me 3.0.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ _ACEOF exec 5>>config.log { cat <<_ASUNAME ## --------- ## ## Platform. ## ## --------- ## hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` _ASUNAME as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. $as_echo "PATH: $as_dir" done IFS=$as_save_IFS } >&5 cat >&5 <<_ACEOF ## ----------- ## ## Core tests. ## ## ----------- ## _ACEOF # Keep a trace of the command line. # Strip out --no-create and --no-recursion so they do not pile up. # Strip out --silent because we don't want to record it for future runs. # Also quote any args containing shell meta-characters. # Make two passes to allow for proper duplicate-argument suppression. ac_configure_args= ac_configure_args0= ac_configure_args1= ac_must_keep_next=false for ac_pass in 1 2 do for ac_arg do case $ac_arg in -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | -silent | --silent | --silen | --sile | --sil) continue ;; *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; esac case $ac_pass in 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 2) as_fn_append ac_configure_args1 " '$ac_arg'" if test $ac_must_keep_next = true; then ac_must_keep_next=false # Got value, back to normal. else case $ac_arg in *=* | --config-cache | -C | -disable-* | --disable-* \ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | -with-* | --with-* | -without-* | --without-* | --x) case "$ac_configure_args0 " in "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; esac ;; -* ) ac_must_keep_next=true ;; esac fi as_fn_append ac_configure_args " '$ac_arg'" ;; esac done done { ac_configure_args0=; unset ac_configure_args0;} { ac_configure_args1=; unset ac_configure_args1;} # When interrupted or exit'd, cleanup temporary files, and complete # config.log. We remove comments because anyway the quotes in there # would cause problems or look ugly. # WARNING: Use '\'' to represent an apostrophe within the trap. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. trap 'exit_status=$? # Save into config.log some information that might help in debugging. { echo $as_echo "## ---------------- ## ## Cache variables. ## ## ---------------- ##" echo # The following way of writing the cache mishandles newlines in values, ( for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( *${as_nl}ac_space=\ *) sed -n \ "s/'\''/'\''\\\\'\'''\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" ;; #( *) sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) echo $as_echo "## ----------------- ## ## Output variables. ## ## ----------------- ##" echo for ac_var in $ac_subst_vars do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo if test -n "$ac_subst_files"; then $as_echo "## ------------------- ## ## File substitutions. ## ## ------------------- ##" echo for ac_var in $ac_subst_files do eval ac_val=\$$ac_var case $ac_val in *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; esac $as_echo "$ac_var='\''$ac_val'\''" done | sort echo fi if test -s confdefs.h; then $as_echo "## ----------- ## ## confdefs.h. ## ## ----------- ##" echo cat confdefs.h echo fi test "$ac_signal" != 0 && $as_echo "$as_me: caught signal $ac_signal" $as_echo "$as_me: exit $exit_status" } >&5 rm -f core *.core core.conftest.* && rm -f -r conftest* confdefs* conf$$* $ac_clean_files && exit $exit_status ' 0 for ac_signal in 1 2 13 15; do trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal done ac_signal=0 # confdefs.h avoids OS command line length limits that DEFS can exceed. rm -f -r conftest* confdefs.h $as_echo "/* confdefs.h */" > confdefs.h # Predefined preprocessor variables. cat >>confdefs.h <<_ACEOF #define PACKAGE_NAME "$PACKAGE_NAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_TARNAME "$PACKAGE_TARNAME" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_VERSION "$PACKAGE_VERSION" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_STRING "$PACKAGE_STRING" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" _ACEOF cat >>confdefs.h <<_ACEOF #define PACKAGE_URL "$PACKAGE_URL" _ACEOF # Let the site file select an alternate cache file if it wants to. # Prefer an explicitly selected file to automatically selected ones. ac_site_file1=NONE ac_site_file2=NONE if test -n "$CONFIG_SITE"; then # We do not want a PATH search for config.site. case $CONFIG_SITE in #(( -*) ac_site_file1=./$CONFIG_SITE;; */*) ac_site_file1=$CONFIG_SITE;; *) ac_site_file1=./$CONFIG_SITE;; esac elif test "x$prefix" != xNONE; then ac_site_file1=$prefix/share/config.site ac_site_file2=$prefix/etc/config.site else ac_site_file1=$ac_default_prefix/share/config.site ac_site_file2=$ac_default_prefix/etc/config.site fi for ac_site_file in "$ac_site_file1" "$ac_site_file2" do test "x$ac_site_file" = xNONE && continue if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 $as_echo "$as_me: loading site script $ac_site_file" >&6;} sed 's/^/| /' "$ac_site_file" >&5 . "$ac_site_file" \ || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "failed to load site script $ac_site_file See \`config.log' for more details" "$LINENO" 5; } fi done if test -r "$cache_file"; then # Some versions of bash will fail to source /dev/null (special files # actually), so we avoid doing that. DJGPP emulates it as a regular file. if test /dev/null != "$cache_file" && test -f "$cache_file"; then { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 $as_echo "$as_me: loading cache $cache_file" >&6;} case $cache_file in [\\/]* | ?:[\\/]* ) . "$cache_file";; *) . "./$cache_file";; esac fi else { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 $as_echo "$as_me: creating cache $cache_file" >&6;} >$cache_file fi # Check that the precious variables saved in the cache have kept the same # value. ac_cache_corrupted=false for ac_var in $ac_precious_vars; do eval ac_old_set=\$ac_cv_env_${ac_var}_set eval ac_new_set=\$ac_env_${ac_var}_set eval ac_old_val=\$ac_cv_env_${ac_var}_value eval ac_new_val=\$ac_env_${ac_var}_value case $ac_old_set,$ac_new_set in set,) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} ac_cache_corrupted=: ;; ,set) { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} ac_cache_corrupted=: ;; ,);; *) if test "x$ac_old_val" != "x$ac_new_val"; then # differences in whitespace do not lead to failure. ac_old_val_w=`echo x $ac_old_val` ac_new_val_w=`echo x $ac_new_val` if test "$ac_old_val_w" != "$ac_new_val_w"; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} ac_cache_corrupted=: else { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} eval $ac_var=\$ac_old_val fi { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} fi;; esac # Pass precious variables to config.status. if test "$ac_new_set" = set; then case $ac_new_val in *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; *) ac_arg=$ac_var=$ac_new_val ;; esac case " $ac_configure_args " in *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. *) as_fn_append ac_configure_args " '$ac_arg'" ;; esac fi done if $ac_cache_corrupted; then { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 fi ## -------------------- ## ## Main body of script. ## ## -------------------- ## ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu WAYLAND_PREREQ_VERSION="1.12.0" WESTON_VERSION_MAJOR=3 WESTON_VERSION_MINOR=0 WESTON_VERSION_MICRO=0 WESTON_VERSION=3.0.0 LIBWESTON_MAJOR=3 # We use minor as current and age since on ABI/API break/removal we bump major # so minor will be reset to 0. LT_VERSION_INFO=0:0:0 ac_aux_dir= for ac_dir in build-aux "$srcdir"/build-aux; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" break elif test -f "$ac_dir/install.sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install.sh -c" break elif test -f "$ac_dir/shtool"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/shtool install -c" break fi done if test -z "$ac_aux_dir"; then as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5 fi # These three variables are undocumented and unsupported, # and are intended to be withdrawn in a future Autoconf release. # They can cause serious problems if a builder's source tree is in a directory # whose full name contains unusual characters. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. ac_config_headers="$ac_config_headers config.h" # Expand $ac_aux_dir to an absolute path. am_aux_dir=`cd "$ac_aux_dir" && pwd` ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" # Try to create an executable without -o first, disregard a.out. # It will help us diagnose broken compilers, and finding out an intuition # of exeext. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 $as_echo_n "checking whether the C compiler works... " >&6; } ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` # The possible output files: ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" ac_rmfiles= for ac_file in $ac_files do case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; * ) ac_rmfiles="$ac_rmfiles $ac_file";; esac done rm -f $ac_rmfiles if { { ac_try="$ac_link_default" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link_default") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' # in a Makefile. We should not override ac_cv_exeext if it was cached, # so that the user can short-circuit this test for compilers unknown to # Autoconf. for ac_file in $ac_files '' do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; [ab].out ) # We found the default executable, but exeext='' is most # certainly right. break;; *.* ) if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; then :; else ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` fi # We set ac_cv_exeext here because the later test for it is not # safe: cross compilers may not add the suffix if given an `-o' # argument, so we may need to know it at that point already. # Even if this section looks crufty: it has the advantage of # actually working. break;; * ) break;; esac done test "$ac_cv_exeext" = no && ac_cv_exeext= else ac_file='' fi if test -z "$ac_file"; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error 77 "C compiler cannot create executables See \`config.log' for more details" "$LINENO" 5; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 $as_echo_n "checking for C compiler default output file name... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 $as_echo "$ac_file" >&6; } ac_exeext=$ac_cv_exeext rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 $as_echo_n "checking for suffix of executables... " >&6; } if { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : # If both `conftest.exe' and `conftest' are `present' (well, observable) # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will # work properly (i.e., refer to `conftest.exe'), while it won't with # `rm'. for ac_file in conftest.exe conftest conftest.*; do test -f "$ac_file" || continue case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` break;; * ) break;; esac done else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of executables: cannot compile and link See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest conftest$ac_cv_exeext { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 $as_echo "$ac_cv_exeext" >&6; } rm -f conftest.$ac_ext EXEEXT=$ac_cv_exeext ac_exeext=$EXEEXT cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include int main () { FILE *f = fopen ("conftest.out", "w"); return ferror (f) || fclose (f) != 0; ; return 0; } _ACEOF ac_clean_files="$ac_clean_files conftest.out" # Check that the compiler produces executables we can run. If not, either # the compiler is broken, or we cross compile. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 $as_echo_n "checking whether we are cross compiling... " >&6; } if test "$cross_compiling" != yes; then { { ac_try="$ac_link" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_link") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if { ac_try='./conftest$ac_cv_exeext' { { case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_try") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; }; then cross_compiling=no else if test "$cross_compiling" = maybe; then cross_compiling=yes else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot run C compiled programs. If you meant to cross compile, use \`--host'. See \`config.log' for more details" "$LINENO" 5; } fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 $as_echo "$cross_compiling" >&6; } rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out ac_clean_files=$ac_clean_files_save { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 $as_echo_n "checking for suffix of object files... " >&6; } if ${ac_cv_objext+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF rm -f conftest.o conftest.obj if { { ac_try="$ac_compile" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compile") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then : for ac_file in conftest.o conftest.obj conftest.*; do test -f "$ac_file" || continue; case $ac_file in *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` break;; esac done else $as_echo "$as_me: failed program was:" >&5 sed 's/^/| /' conftest.$ac_ext >&5 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "cannot compute suffix of object files: cannot compile See \`config.log' for more details" "$LINENO" 5; } fi rm -f conftest.$ac_cv_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 $as_echo "$ac_cv_objext" >&6; } OBJEXT=$ac_cv_objext ac_objext=$OBJEXT { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } if ${am_cv_prog_cc_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 $as_echo "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 $as_echo_n "checking how to run the C preprocessor... " >&6; } # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= fi if test -z "$CPP"; then if ${ac_cv_prog_CPP+:} false; then : $as_echo_n "(cached) " >&6 else # Double quotes because CPP needs to be expanded for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" do ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : break fi done ac_cv_prog_CPP=$CPP fi CPP=$ac_cv_prog_CPP else ac_cv_prog_CPP=$CPP fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 $as_echo "$CPP" >&6; } ac_preproc_ok=false for ac_c_preproc_warn_flag in '' yes do # Use a header file that comes with gcc, so configuring glibc # with a fresh cross-compiler works. # Prefer to if __STDC__ is defined, since # exists even on freestanding compilers. # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. "Syntax error" is here to catch this case. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #ifdef __STDC__ # include #else # include #endif Syntax error _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : else # Broken: fails on valid input. continue fi rm -f conftest.err conftest.i conftest.$ac_ext # OK, works on sane cases. Now check whether nonexistent headers # can be detected and how. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if ac_fn_c_try_cpp "$LINENO"; then : # Broken: success on invalid input. continue else # Passes both tests. ac_preproc_ok=: break fi rm -f conftest.err conftest.i conftest.$ac_ext done # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. rm -f conftest.i conftest.err conftest.$ac_ext if $ac_preproc_ok; then : else { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "C preprocessor \"$CPP\" fails sanity check See \`config.log' for more details" "$LINENO" 5; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } if ${ac_cv_path_GREP+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$GREP"; then ac_path_GREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in grep ggrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_GREP" || continue # Check for GNU ac_path_GREP and select it if it is found. # Check for GNU $ac_path_GREP case `"$ac_path_GREP" --version 2>&1` in *GNU*) ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'GREP' >> "conftest.nl" "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_GREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_GREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_GREP"; then as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_GREP=$GREP fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 $as_echo "$ac_cv_path_GREP" >&6; } GREP="$ac_cv_path_GREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 $as_echo_n "checking for egrep... " >&6; } if ${ac_cv_path_EGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 then ac_cv_path_EGREP="$GREP -E" else if test -z "$EGREP"; then ac_path_EGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in egrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_EGREP" || continue # Check for GNU ac_path_EGREP and select it if it is found. # Check for GNU $ac_path_EGREP case `"$ac_path_EGREP" --version 2>&1` in *GNU*) ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'EGREP' >> "conftest.nl" "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_EGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_EGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_EGREP"; then as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_EGREP=$EGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 $as_echo "$ac_cv_path_EGREP" >&6; } EGREP="$ac_cv_path_EGREP" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 $as_echo_n "checking for ANSI C header files... " >&6; } if ${ac_cv_header_stdc+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #include #include int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_header_stdc=yes else ac_cv_header_stdc=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext if test $ac_cv_header_stdc = yes; then # SunOS 4.x string.h does not declare mem*, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "memchr" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include _ACEOF if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | $EGREP "free" >/dev/null 2>&1; then : else ac_cv_header_stdc=no fi rm -f conftest* fi if test $ac_cv_header_stdc = yes; then # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. if test "$cross_compiling" = yes; then : : else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include #if ((' ' & 0x0FF) == 0x020) # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) #else # define ISLOWER(c) \ (('a' <= (c) && (c) <= 'i') \ || ('j' <= (c) && (c) <= 'r') \ || ('s' <= (c) && (c) <= 'z')) # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) #endif #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) int main () { int i; for (i = 0; i < 256; i++) if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) return 2; return 0; } _ACEOF if ac_fn_c_try_run "$LINENO"; then : else ac_cv_header_stdc=no fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ conftest.$ac_objext conftest.beam conftest.$ac_ext fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 $as_echo "$ac_cv_header_stdc" >&6; } if test $ac_cv_header_stdc = yes; then $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi # On IRIX 5.3, sys/types and inttypes.h are conflicting. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ inttypes.h stdint.h unistd.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default " if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 _ACEOF fi done ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default" if test "x$ac_cv_header_minix_config_h" = xyes; then : MINIX=yes else MINIX= fi if test "$MINIX" = yes; then $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h $as_echo "#define _MINIX 1" >>confdefs.h fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; } if ${ac_cv_safe_to_define___extensions__+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ # define __EXTENSIONS__ 1 $ac_includes_default int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_safe_to_define___extensions__=yes else ac_cv_safe_to_define___extensions__=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } test $ac_cv_safe_to_define___extensions__ = yes && $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h $as_echo "#define _ALL_SOURCE 1" >>confdefs.h $as_echo "#define _GNU_SOURCE 1" >>confdefs.h $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h # Check whether --enable-largefile was given. if test "${enable_largefile+set}" = set; then : enableval=$enable_largefile; fi if test "$enable_largefile" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5 $as_echo_n "checking for special C compiler options needed for large files... " >&6; } if ${ac_cv_sys_largefile_CC+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_sys_largefile_CC=no if test "$GCC" != yes; then ac_save_CC=$CC while :; do # IRIX 6.2 and later do not support large files by default, # so use the C compiler's -n32 option if that helps. cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : break fi rm -f core conftest.err conftest.$ac_objext CC="$CC -n32" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_largefile_CC=' -n32'; break fi rm -f core conftest.err conftest.$ac_objext break done CC=$ac_save_CC rm -f conftest.$ac_ext fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5 $as_echo "$ac_cv_sys_largefile_CC" >&6; } if test "$ac_cv_sys_largefile_CC" != no; then CC=$CC$ac_cv_sys_largefile_CC fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; } if ${ac_cv_sys_file_offset_bits+:} false; then : $as_echo_n "(cached) " >&6 else while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_file_offset_bits=no; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _FILE_OFFSET_BITS 64 #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_file_offset_bits=64; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_sys_file_offset_bits=unknown break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5 $as_echo "$ac_cv_sys_file_offset_bits" >&6; } case $ac_cv_sys_file_offset_bits in #( no | unknown) ;; *) cat >>confdefs.h <<_ACEOF #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits _ACEOF ;; esac rm -rf conftest* if test $ac_cv_sys_file_offset_bits = unknown; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; } if ${ac_cv_sys_large_files+:} false; then : $as_echo_n "(cached) " >&6 else while :; do cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_large_files=no; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #define _LARGE_FILES 1 #include /* Check that off_t can represent 2**63 - 1 correctly. We can't simply define LARGE_OFF_T to be 9223372036854775807, since some C++ compilers masquerading as C compilers incorrectly reject 9223372036854775807. */ #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31)) int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1]; int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_sys_large_files=1; break fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_sys_large_files=unknown break done fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5 $as_echo "$ac_cv_sys_large_files" >&6; } case $ac_cv_sys_large_files in #( no | unknown) ;; *) cat >>confdefs.h <<_ACEOF #define _LARGE_FILES $ac_cv_sys_large_files _ACEOF ;; esac rm -rf conftest* fi fi am__api_version='1.15' # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: # SysV /etc/install, /usr/sbin/install # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install # AmigaOS /C/install, which installs bootblocks on floppy discs # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag # AFS /usr/afsws/bin/install, which mishandles nonexistent args # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" # OS/2's system install, which has a completely different semantic # ./install, which can be erroneously created by make from ./install.sh. # Reject install programs that cannot install multiple files. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 $as_echo_n "checking for a BSD-compatible install... " >&6; } if test -z "$INSTALL"; then if ${ac_cv_path_install+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. # Account for people who put trailing slashes in PATH elements. case $as_dir/ in #(( ./ | .// | /[cC]/* | \ /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ /usr/ucb/* ) ;; *) # OSF1 and SCO ODT 3.0 have their own names for install. # Don't use installbsd from OSF since it installs stuff as root # by default. for ac_prog in ginstall scoinst install; do for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then if test $ac_prog = install && grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. : elif test $ac_prog = install && grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then # program-specific install script used by HP pwplus--don't use. : else rm -rf conftest.one conftest.two conftest.dir echo one > conftest.one echo two > conftest.two mkdir conftest.dir if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && test -s conftest.one && test -s conftest.two && test -s conftest.dir/conftest.one && test -s conftest.dir/conftest.two then ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" break 3 fi fi fi done done ;; esac done IFS=$as_save_IFS rm -rf conftest.one conftest.two conftest.dir fi if test "${ac_cv_path_install+set}" = set; then INSTALL=$ac_cv_path_install else # As a last resort, use the slow shell script. Don't cache a # value for INSTALL within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. INSTALL=$ac_install_sh fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 $as_echo "$INSTALL" >&6; } # Use test -z because SunOS4 sh mishandles braces in ${var-val}. # It thinks the first close brace ends the variable substitution. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 $as_echo_n "checking whether build environment is sane... " >&6; } # Reject unsafe characters in $srcdir or the absolute working directory # name. Accept space and tab only in the latter. am_lf=' ' case `pwd` in *[\\\"\#\$\&\'\`$am_lf]*) as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; esac case $srcdir in *[\\\"\#\$\&\'\`$am_lf\ \ ]*) as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;; esac # Do 'set' in a subshell so we don't clobber the current shell's # arguments. Must try -L first in case configure is actually a # symlink; some systems play weird games with the mod time of symlinks # (eg FreeBSD returns the mod time of the symlink's containing # directory). if ( am_has_slept=no for am_try in 1 2; do echo "timestamp, slept: $am_has_slept" > conftest.file set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` if test "$*" = "X"; then # -L didn't work. set X `ls -t "$srcdir/configure" conftest.file` fi if test "$*" != "X $srcdir/configure conftest.file" \ && test "$*" != "X conftest.file $srcdir/configure"; then # If neither matched, then we have a broken ls. This can happen # if, for instance, CONFIG_SHELL is bash and it inherits a # broken ls alias from the environment. This has actually # happened. Such a system could not be considered "sane". as_fn_error $? "ls -t appears to fail. Make sure there is not a broken alias in your environment" "$LINENO" 5 fi if test "$2" = conftest.file || test $am_try -eq 2; then break fi # Just in case. sleep 1 am_has_slept=yes done test "$2" = conftest.file ) then # Ok. : else as_fn_error $? "newly created file is older than distributed files! Check your system clock" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } # If we didn't sleep, we still need to ensure time stamps of config.status and # generated files are strictly newer. am_sleep_pid= if grep 'slept: no' conftest.file >/dev/null 2>&1; then ( sleep 1 ) & am_sleep_pid=$! fi rm -f conftest.file test "$program_prefix" != NONE && program_transform_name="s&^&$program_prefix&;$program_transform_name" # Use a double $ so make ignores it. test "$program_suffix" != NONE && program_transform_name="s&\$&$program_suffix&;$program_transform_name" # Double any \ or $. # By default was `s,x,x', remove it if useless. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` if test x"${MISSING+set}" != xset; then case $am_aux_dir in *\ * | *\ *) MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; *) MISSING="\${SHELL} $am_aux_dir/missing" ;; esac fi # Use eval to expand $SHELL if eval "$MISSING --is-lightweight"; then am_missing_run="$MISSING " else am_missing_run= { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;} fi if test x"${install_sh+set}" != xset; then case $am_aux_dir in *\ * | *\ *) install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; *) install_sh="\${SHELL} $am_aux_dir/install-sh" esac fi # Installed binaries are usually stripped using 'strip' when the user # run "make install-strip". However 'strip' might not be the right # tool to use in cross-compilation environments, therefore Automake # will honor the 'STRIP' environment variable to overrule this program. if test "$cross_compiling" != no; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi fi INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } if test -z "$MKDIR_P"; then if ${ac_cv_path_mkdir+:} false; then : $as_echo_n "(cached) " >&6 else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in mkdir gmkdir; do for ac_exec_ext in '' $ac_executable_extensions; do as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( 'mkdir (GNU coreutils) '* | \ 'mkdir (coreutils) '* | \ 'mkdir (fileutils) '4.1*) ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext break 3;; esac done done done IFS=$as_save_IFS fi test -d ./--version && rmdir ./--version if test "${ac_cv_path_mkdir+set}" = set; then MKDIR_P="$ac_cv_path_mkdir -p" else # As a last resort, use the slow shell script. Don't cache a # value for MKDIR_P within a source directory, because that will # break other packages using the cache if that directory is # removed, or if the value is a relative name. MKDIR_P="$ac_install_sh -d" fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 $as_echo "$MKDIR_P" >&6; } for ac_prog in gawk mawk nawk awk do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AWK+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AWK"; then ac_cv_prog_AWK="$AWK" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AWK="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AWK=$ac_cv_prog_AWK if test -n "$AWK"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 $as_echo "$AWK" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AWK" && break done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } set x ${MAKE-make} ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : $as_echo_n "(cached) " >&6 else cat >conftest.make <<\_ACEOF SHELL = /bin/sh all: @echo '@@@%%%=$(MAKE)=@@@%%%' _ACEOF # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. case `${MAKE-make} -f conftest.make 2>/dev/null` in *@@@%%%=?*=@@@%%%*) eval ac_cv_prog_make_${ac_make}_set=yes;; *) eval ac_cv_prog_make_${ac_make}_set=no;; esac rm -f conftest.make fi if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } SET_MAKE= else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } SET_MAKE="MAKE=${MAKE-make}" fi rm -rf .tst 2>/dev/null mkdir .tst 2>/dev/null if test -d .tst; then am__leading_dot=. else am__leading_dot=_ fi rmdir .tst 2>/dev/null DEPDIR="${am__leading_dot}deps" ac_config_commands="$ac_config_commands depfiles" am_make=${MAKE-make} cat > confinc << 'END' am__doit: @echo this is the am__doit target .PHONY: am__doit END # If we don't find an include directive, just comment out the code. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 $as_echo_n "checking for style of include used by $am_make... " >&6; } am__include="#" am__quote= _am_result=none # First try GNU make style include. echo "include confinc" > confmf # Ignore all kinds of additional output from 'make'. case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=include am__quote= _am_result=GNU ;; esac # Now try BSD make style include. if test "$am__include" = "#"; then echo '.include "confinc"' > confmf case `$am_make -s -f confmf 2> /dev/null` in #( *the\ am__doit\ target*) am__include=.include am__quote="\"" _am_result=BSD ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 $as_echo "$_am_result" >&6; } rm -f confinc confmf # Check whether --enable-dependency-tracking was given. if test "${enable_dependency_tracking+set}" = set; then : enableval=$enable_dependency_tracking; fi if test "x$enable_dependency_tracking" != xno; then am_depcomp="$ac_aux_dir/depcomp" AMDEPBACKSLASH='\' am__nodep='_no' fi if test "x$enable_dependency_tracking" != xno; then AMDEP_TRUE= AMDEP_FALSE='#' else AMDEP_TRUE='#' AMDEP_FALSE= fi # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=1;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' if test "`cd $srcdir && pwd`" != "`pwd`"; then # Use -I$(srcdir) only when $(srcdir) != ., so that make's output # is not polluted with repeated "-I." am__isrc=' -I$(srcdir)' # test to see if srcdir already configured if test -f $srcdir/config.status; then as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 fi fi # test whether we have cygpath if test -z "$CYGPATH_W"; then if (cygpath --version) >/dev/null 2>/dev/null; then CYGPATH_W='cygpath -w' else CYGPATH_W=echo fi fi # Define the identity of the package. PACKAGE='weston' VERSION='3.0.0' cat >>confdefs.h <<_ACEOF #define PACKAGE "$PACKAGE" _ACEOF cat >>confdefs.h <<_ACEOF #define VERSION "$VERSION" _ACEOF # Some tools Automake needs. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} # For better backward compatibility. To be removed once Automake 1.9.x # dies out for good. For more background, see: # # mkdir_p='$(MKDIR_P)' # We need awk for the "check" target (and possibly the TAP driver). The # system "awk" is bad on some platforms. # Always define AMTAR for backward compatibility. Yes, it's still used # in the wild :-( We should find a proper way to deprecate it ... AMTAR='$${TAR-tar}' # We'll loop over all known methods to create a tar archive until one works. _am_tools='gnutar pax cpio none' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' depcc="$CC" am_compiler_list= { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 $as_echo_n "checking dependency style of $depcc... " >&6; } if ${am_cv_CC_dependencies_compiler_type+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then # We make a subdir and do the tests there. Otherwise we can end up # making bogus files that we don't know about and never remove. For # instance it was reported that on HP-UX the gcc test will end up # making a dummy file named 'D' -- because '-MD' means "put the output # in D". rm -rf conftest.dir mkdir conftest.dir # Copy depcomp to subdir because otherwise we won't find it if we're # using a relative directory. cp "$am_depcomp" conftest.dir cd conftest.dir # We will build objects and dependencies in a subdirectory because # it helps to detect inapplicable dependency modes. For instance # both Tru64's cc and ICC support -MD to output dependencies as a # side effect of compilation, but ICC will put the dependencies in # the current directory while Tru64 will put them in the object # directory. mkdir sub am_cv_CC_dependencies_compiler_type=none if test "$am_compiler_list" = ""; then am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` fi am__universal=false case " $depcc " in #( *\ -arch\ *\ -arch\ *) am__universal=true ;; esac for depmode in $am_compiler_list; do # Setup a source with many dependencies, because some compilers # like to wrap large dependency lists on column 80 (with \), and # we should not choose a depcomp mode which is confused by this. # # We need to recreate these files for each test, as the compiler may # overwrite some of them when testing with obscure command lines. # This happens at least with the AIX C compiler. : > sub/conftest.c for i in 1 2 3 4 5 6; do echo '#include "conftst'$i'.h"' >> sub/conftest.c # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with # Solaris 10 /bin/sh. echo '/* dummy */' > sub/conftst$i.h done echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf # We check with '-c' and '-o' for the sake of the "dashmstdout" # mode. It turns out that the SunPro C++ compiler does not properly # handle '-M -o', and we need to detect this. Also, some Intel # versions had trouble with output in subdirs. am__obj=sub/conftest.${OBJEXT-o} am__minus_obj="-o $am__obj" case $depmode in gcc) # This depmode causes a compiler race in universal mode. test "$am__universal" = false || continue ;; nosideeffect) # After this tag, mechanisms are not by side-effect, so they'll # only be used when explicitly requested. if test "x$enable_dependency_tracking" = xyes; then continue else break fi ;; msvc7 | msvc7msys | msvisualcpp | msvcmsys) # This compiler won't grok '-c -o', but also, the minuso test has # not run yet. These depmodes are late enough in the game, and # so weak that their functioning should not be impacted. am__obj=conftest.${OBJEXT-o} am__minus_obj= ;; none) break ;; esac if depmode=$depmode \ source=sub/conftest.c object=$am__obj \ depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ >/dev/null 2>conftest.err && grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && grep $am__obj sub/conftest.Po > /dev/null 2>&1 && ${MAKE-make} -s -f confmf > /dev/null 2>&1; then # icc doesn't choke on unknown options, it will just issue warnings # or remarks (even with -Werror). So we grep stderr for any message # that says an option was ignored or not supported. # When given -MP, icc 7.0 and 7.1 complain thusly: # icc: Command line warning: ignoring option '-M'; no argument required # The diagnosis changed in icc 8.0: # icc: Command line remark: option '-MP' not supported if (grep 'ignoring option' conftest.err || grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else am_cv_CC_dependencies_compiler_type=$depmode break fi fi done cd .. rm -rf conftest.dir else am_cv_CC_dependencies_compiler_type=none fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type if test "x$enable_dependency_tracking" != xno \ && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then am__fastdepCC_TRUE= am__fastdepCC_FALSE='#' else am__fastdepCC_TRUE='#' am__fastdepCC_FALSE= fi # POSIX will say in a future version that running "rm -f" with no argument # is OK; and we want to be able to make that assumption in our Makefile # recipes. So use an aggressive probe to check that the usage we want is # actually supported "in the wild" to an acceptable degree. # See automake bug#10828. # To make any issue more visible, cause the running configure to be aborted # by default if the 'rm' program in use doesn't match our expectations; the # user can still override this though. if rm -f && rm -fr && rm -rf; then : OK; else cat >&2 <<'END' Oops! Your 'rm' program seems unable to run without file operands specified on the command line, even when the '-f' option is present. This is contrary to the behaviour of most rm programs out there, and not conforming with the upcoming POSIX standard: Please tell bug-automake@gnu.org about your system, including the value of your $PATH and any error possibly output before this message. This can help us improve future automake versions. END if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then echo 'Configuration will proceed anyway, since you have set the' >&2 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2 echo >&2 else cat >&2 <<'END' Aborting the configuration process, to ensure you take notice of the issue. You can download and install GNU coreutils to get an 'rm' implementation that behaves properly: . If you want to complete the configuration process using your problematic 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM to "yes", and re-run configure. END as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5 fi fi # Check whether --enable-silent-rules was given. if test "${enable_silent_rules+set}" = set; then : enableval=$enable_silent_rules; fi case $enable_silent_rules in # ((( yes) AM_DEFAULT_VERBOSITY=0;; no) AM_DEFAULT_VERBOSITY=1;; *) AM_DEFAULT_VERBOSITY=0;; esac am_make=${MAKE-make} { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5 $as_echo_n "checking whether $am_make supports nested variables... " >&6; } if ${am_cv_make_support_nested_variables+:} false; then : $as_echo_n "(cached) " >&6 else if $as_echo 'TRUE=$(BAR$(V)) BAR0=false BAR1=true V=1 am__doit: @$(TRUE) .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then am_cv_make_support_nested_variables=yes else am_cv_make_support_nested_variables=no fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5 $as_echo "$am_cv_make_support_nested_variables" >&6; } if test $am_cv_make_support_nested_variables = yes; then AM_V='$(V)' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' else AM_V=$AM_DEFAULT_VERBOSITY AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY fi AM_BACKSLASH='\' # Check Weston and libweston version consistency # Check for programs ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. set dummy ${ac_tool_prefix}gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_CC"; then ac_ct_CC=$CC # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="gcc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi else CC="$ac_cv_prog_CC" fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. set dummy ${ac_tool_prefix}cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="${ac_tool_prefix}cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi fi if test -z "$CC"; then # Extract the first word of "cc", so it can be a program name with args. set dummy cc; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else ac_prog_rejected=no as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then ac_prog_rejected=yes continue fi ac_cv_prog_CC="cc" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS if test $ac_prog_rejected = yes; then # We found a bogon in the path, so make sure we never use it. set dummy $ac_cv_prog_CC shift if test $# != 0; then # We chose a different compiler from the bogus one. # However, it has the same basename, so the bogon will be chosen # first if we set CC to just the basename; use the full file name. shift ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" fi fi fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$CC"; then if test -n "$ac_tool_prefix"; then for ac_prog in cl.exe do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$CC"; then ac_cv_prog_CC="$CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_CC="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi CC=$ac_cv_prog_CC if test -n "$CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 $as_echo "$CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$CC" && break done fi if test -z "$CC"; then ac_ct_CC=$CC for ac_prog in cl.exe do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_CC+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_CC"; then ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_CC="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_CC=$ac_cv_prog_ac_ct_CC if test -n "$ac_ct_CC"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 $as_echo "$ac_ct_CC" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_CC" && break done if test "x$ac_ct_CC" = x; then CC="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac CC=$ac_ct_CC fi fi fi test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "no acceptable C compiler found in \$PATH See \`config.log' for more details" "$LINENO" 5; } # Provide some information about the compiler. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 set X $ac_compile ac_compiler=$2 for ac_option in --version -v -V -qversion; do { { ac_try="$ac_compiler $ac_option >&5" case "(($ac_try" in *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; *) ac_try_echo=$ac_try;; esac eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" $as_echo "$ac_try_echo"; } >&5 (eval "$ac_compiler $ac_option >&5") 2>conftest.err ac_status=$? if test -s conftest.err; then sed '10a\ ... rest of stderr output deleted ... 10q' conftest.err >conftest.er1 cat conftest.er1 >&5 fi rm -f conftest.er1 conftest.err $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } done { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } if ${ac_cv_c_compiler_gnu+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { #ifndef __GNUC__ choke me #endif ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_compiler_gnu=yes else ac_compiler_gnu=no fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_cv_c_compiler_gnu=$ac_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 $as_echo "$ac_cv_c_compiler_gnu" >&6; } if test $ac_compiler_gnu = yes; then GCC=yes else GCC= fi ac_test_CFLAGS=${CFLAGS+set} ac_save_CFLAGS=$CFLAGS { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 $as_echo_n "checking whether $CC accepts -g... " >&6; } if ${ac_cv_prog_cc_g+:} false; then : $as_echo_n "(cached) " >&6 else ac_save_c_werror_flag=$ac_c_werror_flag ac_c_werror_flag=yes ac_cv_prog_cc_g=no CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes else CFLAGS="" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : else ac_c_werror_flag=$ac_save_c_werror_flag CFLAGS="-g" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_g=yes fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ac_c_werror_flag=$ac_save_c_werror_flag fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 $as_echo "$ac_cv_prog_cc_g" >&6; } if test "$ac_test_CFLAGS" = set; then CFLAGS=$ac_save_CFLAGS elif test $ac_cv_prog_cc_g = yes; then if test "$GCC" = yes; then CFLAGS="-g -O2" else CFLAGS="-g" fi else if test "$GCC" = yes; then CFLAGS="-O2" else CFLAGS= fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } if ${ac_cv_prog_cc_c89+:} false; then : $as_echo_n "(cached) " >&6 else ac_cv_prog_cc_c89=no ac_save_CC=$CC cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ #include #include struct stat; /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ struct buf { int x; }; FILE * (*rcsopen) (struct buf *, struct stat *, int); static char *e (p, i) char **p; int i; { return p[i]; } static char *f (char * (*g) (char **, int), char **p, ...) { char *s; va_list v; va_start (v,p); s = g (p, va_arg (v,int)); va_end (v); return s; } /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has function prototypes and stuff, but not '\xHH' hex character constants. These don't provoke an error unfortunately, instead are silently treated as 'x'. The following induces an error, until -std is added to get proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an array size at least. It's necessary to write '\x00'==0 to get something that's true only with -std. */ int osf4_cc_array ['\x00' == 0 ? 1 : -1]; /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters inside strings and character constants. */ #define FOO(x) 'x' int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; int test (int i, double x); struct s1 {int (*f) (int a);}; struct s2 {int (*f) (double a);}; int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); int argc; char **argv; int main () { return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; ; return 0; } _ACEOF for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" do CC="$ac_save_CC $ac_arg" if ac_fn_c_try_compile "$LINENO"; then : ac_cv_prog_cc_c89=$ac_arg fi rm -f core conftest.err conftest.$ac_objext test "x$ac_cv_prog_cc_c89" != "xno" && break done rm -f conftest.$ac_ext CC=$ac_save_CC fi # AC_CACHE_VAL case "x$ac_cv_prog_cc_c89" in x) { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 $as_echo "none needed" >&6; } ;; xno) { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 $as_echo "unsupported" >&6; } ;; *) CC="$CC $ac_cv_prog_cc_c89" { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; esac if test "x$ac_cv_prog_cc_c89" != xno; then : fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; } if ${am_cv_prog_cc_c_o+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF # Make sure it works both with $CC and with simple cc. # Following AC_PROG_CC_C_O, we do the test twice because some # compilers refuse to overwrite an existing .o file with -o, # though they will create one. am_cv_prog_cc_c_o=yes for am_i in 1 2; do if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } \ && test -f conftest2.$ac_objext; then : OK else am_cv_prog_cc_c_o=no break fi done rm -f core conftest* unset am_i fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5 $as_echo "$am_cv_prog_cc_c_o" >&6; } if test "$am_cv_prog_cc_c_o" != yes; then # Losing compiler, so override with the script. # FIXME: It is wrong to rewrite CC. # But if we don't then we get into trouble of one sort or another. # A longer-term fix would be to have automake use am__CC in this case, # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)" CC="$am_aux_dir/compile $CC" fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } if ${ac_cv_path_SED+:} false; then : $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed { ac_script=; unset ac_script;} if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" ac_path_SED_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_SED_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 $as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed # Initialize libtool case `pwd` in *\ * | *\ *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; esac macro_version='2.4.6' macro_revision='2.4.6' ltmain=$ac_aux_dir/ltmain.sh # Make sure we can run config.sub. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 $as_echo_n "checking build system type... " >&6; } if ${ac_cv_build+:} false; then : $as_echo_n "(cached) " >&6 else ac_build_alias=$build_alias test "x$ac_build_alias" = x && ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` test "x$ac_build_alias" = x && as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 $as_echo "$ac_cv_build" >&6; } case $ac_cv_build in *-*-*) ;; *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; esac build=$ac_cv_build ac_save_IFS=$IFS; IFS='-' set x $ac_cv_build shift build_cpu=$1 build_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: build_os=$* IFS=$ac_save_IFS case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 $as_echo_n "checking host system type... " >&6; } if ${ac_cv_host+:} false; then : $as_echo_n "(cached) " >&6 else if test "x$host_alias" = x; then ac_cv_host=$ac_cv_build else ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 $as_echo "$ac_cv_host" >&6; } case $ac_cv_host in *-*-*) ;; *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; esac host=$ac_cv_host ac_save_IFS=$IFS; IFS='-' set x $ac_cv_host shift host_cpu=$1 host_vendor=$2 shift; shift # Remember, the first character of IFS is used to create $*, # except with old shells: host_os=$* IFS=$ac_save_IFS case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac # Backslashify metacharacters that are still active within # double-quoted strings. sed_quote_subst='s/\(["`$\\]\)/\\\1/g' # Same as above, but do not quote variable references. double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution to delay expansion of an escaped shell variable in a # double_quote_subst'ed string. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' # Sed substitution to delay expansion of an escaped single quote. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' # Sed substitution to avoid accidental globbing in evaled expressions no_glob_subst='s/\*/\\\*/g' ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 $as_echo_n "checking how to print strings... " >&6; } # Test print first, because it will be a builtin if present. if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='print -r --' elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then ECHO='printf %s\n' else # Use this function as a fallback that always works. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } ECHO='func_fallback_echo' fi # func_echo_all arg... # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "" } case $ECHO in printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 $as_echo "printf" >&6; } ;; print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 $as_echo "print -r" >&6; } ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 $as_echo "cat" >&6; } ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 $as_echo_n "checking for a sed that does not truncate output... " >&6; } if ${ac_cv_path_SED+:} false; then : $as_echo_n "(cached) " >&6 else ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for ac_i in 1 2 3 4 5 6 7; do ac_script="$ac_script$as_nl$ac_script" done echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed { ac_script=; unset ac_script;} if test -z "$SED"; then ac_path_SED_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in sed gsed; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_SED" || continue # Check for GNU ac_path_SED and select it if it is found. # Check for GNU $ac_path_SED case `"$ac_path_SED" --version 2>&1` in *GNU*) ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo '' >> "conftest.nl" "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_SED_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_SED="$ac_path_SED" ac_path_SED_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_SED_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_SED"; then as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 fi else ac_cv_path_SED=$SED fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 $as_echo "$ac_cv_path_SED" >&6; } SED="$ac_cv_path_SED" rm -f conftest.sed test -z "$SED" && SED=sed Xsed="$SED -e 1s/^X//" { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 $as_echo_n "checking for fgrep... " >&6; } if ${ac_cv_path_FGREP+:} false; then : $as_echo_n "(cached) " >&6 else if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 then ac_cv_path_FGREP="$GREP -F" else if test -z "$FGREP"; then ac_path_FGREP_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in fgrep; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_FGREP" || continue # Check for GNU ac_path_FGREP and select it if it is found. # Check for GNU $ac_path_FGREP case `"$ac_path_FGREP" --version 2>&1` in *GNU*) ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; *) ac_count=0 $as_echo_n 0123456789 >"conftest.in" while : do cat "conftest.in" "conftest.in" >"conftest.tmp" mv "conftest.tmp" "conftest.in" cp "conftest.in" "conftest.nl" $as_echo 'FGREP' >> "conftest.nl" "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break as_fn_arith $ac_count + 1 && ac_count=$as_val if test $ac_count -gt ${ac_path_FGREP_max-0}; then # Best one so far, save it but keep looking for a better one ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_max=$ac_count fi # 10*(2^10) chars as input seems more than enough test $ac_count -gt 10 && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out;; esac $ac_path_FGREP_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_FGREP"; then as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 fi else ac_cv_path_FGREP=$FGREP fi fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 $as_echo "$ac_cv_path_FGREP" >&6; } FGREP="$ac_cv_path_FGREP" test -z "$GREP" && GREP=grep # Check whether --with-gnu-ld was given. if test "${with_gnu_ld+set}" = set; then : withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes else with_gnu_ld=no fi ac_prog=ld if test yes = "$GCC"; then # Check if gcc -print-prog-name=ld gives a path. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 $as_echo_n "checking for ld used by $CC... " >&6; } case $host in *-*-mingw*) # gcc leaves a trailing carriage return, which upsets mingw ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; *) ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; esac case $ac_prog in # Accept absolute paths. [\\/]* | ?:[\\/]*) re_direlt='/[^/][^/]*/\.\./' # Canonicalize the pathname of ld ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` done test -z "$LD" && LD=$ac_prog ;; "") # If it fails, then pretend we aren't using GCC. ac_prog=ld ;; *) # If it is relative, then search for the first ld in PATH. with_gnu_ld=unknown ;; esac elif test yes = "$with_gnu_ld"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 $as_echo_n "checking for GNU ld... " >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 $as_echo_n "checking for non-GNU ld... " >&6; } fi if ${lt_cv_path_LD+:} false; then : $as_echo_n "(cached) " >&6 else if test -z "$LD"; then lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then lt_cv_path_LD=$ac_dir/$ac_prog # Check to see if the program is GNU ld. I'd rather use --version, # but apparently some variants of GNU ld only accept -v. # Break only if it was the GNU/non-GNU ld that we prefer. case `"$lt_cv_path_LD" -v 2>&1 &5 $as_echo "$LD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } if ${lt_cv_prog_gnu_ld+:} false; then : $as_echo_n "(cached) " >&6 else # I'd rather use --version here, but apparently some GNU lds only accept -v. case `$LD -v 2>&1 &5 $as_echo "$lt_cv_prog_gnu_ld" >&6; } with_gnu_ld=$lt_cv_prog_gnu_ld { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } if ${lt_cv_path_NM+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NM"; then # Let the user override the test. lt_cv_path_NM=$NM else lt_nm_to_check=${ac_tool_prefix}nm if test -n "$ac_tool_prefix" && test "$build" = "$host"; then lt_nm_to_check="$lt_nm_to_check nm" fi for lt_tmp_nm in $lt_nm_to_check; do lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. tmp_nm=$ac_dir/$lt_tmp_nm if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then # Check to see if the nm accepts a BSD-compat flag. # Adding the 'sed 1q' prevents false positives on HP-UX, which says: # nm: unknown option "B" ignored # Tru64's nm complains that /dev/null is an invalid object file # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty case $build_os in mingw*) lt_bad_file=conftest.nm/nofile ;; *) lt_bad_file=/dev/null ;; esac case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in *$lt_bad_file* | *'Invalid file or object type'*) lt_cv_path_NM="$tmp_nm -B" break 2 ;; *) case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in */dev/null*) lt_cv_path_NM="$tmp_nm -p" break 2 ;; *) lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but continue # so that we can try to find one that supports BSD flags ;; esac ;; esac fi done IFS=$lt_save_ifs done : ${lt_cv_path_NM=no} fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 $as_echo "$lt_cv_path_NM" >&6; } if test no != "$lt_cv_path_NM"; then NM=$lt_cv_path_NM else # Didn't find any BSD compatible name lister, look for dumpbin. if test -n "$DUMPBIN"; then : # Let the user override the test. else if test -n "$ac_tool_prefix"; then for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DUMPBIN"; then ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DUMPBIN=$ac_cv_prog_DUMPBIN if test -n "$DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 $as_echo "$DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$DUMPBIN" && break done fi if test -z "$DUMPBIN"; then ac_ct_DUMPBIN=$DUMPBIN for ac_prog in dumpbin "link -dump" do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DUMPBIN"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN if test -n "$ac_ct_DUMPBIN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 $as_echo "$ac_ct_DUMPBIN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_DUMPBIN" && break done if test "x$ac_ct_DUMPBIN" = x; then DUMPBIN=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DUMPBIN=$ac_ct_DUMPBIN fi fi case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in *COFF*) DUMPBIN="$DUMPBIN -symbols -headers" ;; *) DUMPBIN=: ;; esac fi if test : != "$DUMPBIN"; then NM=$DUMPBIN fi fi test -z "$NM" && NM=nm { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 $as_echo_n "checking the name lister ($NM) interface... " >&6; } if ${lt_cv_nm_interface+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_nm_interface="BSD nm" echo "int some_variable = 0;" > conftest.$ac_ext (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) (eval "$ac_compile" 2>conftest.err) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) cat conftest.err >&5 (eval echo "\"\$as_me:$LINENO: output\"" >&5) cat conftest.out >&5 if $GREP 'External.*some_variable' conftest.out > /dev/null; then lt_cv_nm_interface="MS dumpbin" fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 $as_echo "$lt_cv_nm_interface" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 $as_echo_n "checking whether ln -s works... " >&6; } LN_S=$as_ln_s if test "$LN_S" = "ln -s"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 $as_echo "no, using $LN_S" >&6; } fi # find the maximum length of command line arguments { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 $as_echo_n "checking the maximum length of command line arguments... " >&6; } if ${lt_cv_sys_max_cmd_len+:} false; then : $as_echo_n "(cached) " >&6 else i=0 teststring=ABCD case $build_os in msdosdjgpp*) # On DJGPP, this test can blow up pretty badly due to problems in libc # (any single argument exceeding 2000 bytes causes a buffer overrun # during glob expansion). Even if it were fixed, the result of this # check would be larger than it should be. lt_cv_sys_max_cmd_len=12288; # 12K is about right ;; gnu*) # Under GNU Hurd, this test is not required because there is # no limit to the length of command line arguments. # Libtool will interpret -1 as no limit whatsoever lt_cv_sys_max_cmd_len=-1; ;; cygwin* | mingw* | cegcc*) # On Win9x/ME, this test blows up -- it succeeds, but takes # about 5 minutes as the teststring grows exponentially. # Worse, since 9x/ME are not pre-emptively multitasking, # you end up with a "frozen" computer, even though with patience # the test eventually succeeds (with a max line length of 256k). # Instead, let's just punt: use the minimum linelength reported by # all of the supported platforms: 8192 (on NT/2K/XP). lt_cv_sys_max_cmd_len=8192; ;; mint*) # On MiNT this can take a long time and run out of memory. lt_cv_sys_max_cmd_len=8192; ;; amigaos*) # On AmigaOS with pdksh, this test takes hours, literally. # So we just punt and use a minimum line length of 8192. lt_cv_sys_max_cmd_len=8192; ;; bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*) # This has been around since 386BSD, at least. Likely further. if test -x /sbin/sysctl; then lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` elif test -x /usr/sbin/sysctl; then lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` else lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs fi # And add a safety zone lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` ;; interix*) # We know the value 262144 and hardcode it with a safety zone (like BSD) lt_cv_sys_max_cmd_len=196608 ;; os2*) # The test takes a long time on OS/2. lt_cv_sys_max_cmd_len=8192 ;; osf*) # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not # nice to cause kernel panics so lets avoid the loop below. # First set a reasonable default. lt_cv_sys_max_cmd_len=16384 # if test -x /sbin/sysconfig; then case `/sbin/sysconfig -q proc exec_disable_arg_limit` in *1*) lt_cv_sys_max_cmd_len=-1 ;; esac fi ;; sco3.2v5*) lt_cv_sys_max_cmd_len=102400 ;; sysv5* | sco5v6* | sysv4.2uw2*) kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` if test -n "$kargmax"; then lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` else lt_cv_sys_max_cmd_len=32768 fi ;; *) lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` if test -n "$lt_cv_sys_max_cmd_len" && \ test undefined != "$lt_cv_sys_max_cmd_len"; then lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` else # Make teststring a little bigger before we do anything with it. # a 1K string should be a reasonable start. for i in 1 2 3 4 5 6 7 8; do teststring=$teststring$teststring done SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} # If test is not a shell built-in, we'll probably end up computing a # maximum length that is only half of the actual maximum length, but # we can't tell. while { test X`env echo "$teststring$teststring" 2>/dev/null` \ = "X$teststring$teststring"; } >/dev/null 2>&1 && test 17 != "$i" # 1/2 MB should be enough do i=`expr $i + 1` teststring=$teststring$teststring done # Only check the string length outside the loop. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` teststring= # Add a significant safety factor because C++ compilers can tack on # massive amounts of additional arguments before passing them to the # linker. It appears as though 1/2 is a usable value. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` fi ;; esac fi if test -n "$lt_cv_sys_max_cmd_len"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 $as_echo "none" >&6; } fi max_cmd_len=$lt_cv_sys_max_cmd_len : ${CP="cp -f"} : ${MV="mv -f"} : ${RM="rm -f"} if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then lt_unset=unset else lt_unset=false fi # test EBCDIC or ASCII case `echo X|tr X '\101'` in A) # ASCII based system # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr lt_SP2NL='tr \040 \012' lt_NL2SP='tr \015\012 \040\040' ;; *) # EBCDIC based system lt_SP2NL='tr \100 \n' lt_NL2SP='tr \r\n \100\100' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } if ${lt_cv_to_host_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 ;; esac ;; *-*-cygwin* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin ;; *-*-cygwin* ) lt_cv_to_host_file_cmd=func_convert_file_noop ;; * ) # otherwise, assume *nix lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin ;; esac ;; * ) # unhandled hosts (and "normal" native builds) lt_cv_to_host_file_cmd=func_convert_file_noop ;; esac fi to_host_file_cmd=$lt_cv_to_host_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 $as_echo "$lt_cv_to_host_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } if ${lt_cv_to_tool_file_cmd+:} false; then : $as_echo_n "(cached) " >&6 else #assume ordinary cross tools, or native build. lt_cv_to_tool_file_cmd=func_convert_file_noop case $host in *-*-mingw* ) case $build in *-*-mingw* ) # actually msys lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 ;; esac ;; esac fi to_tool_file_cmd=$lt_cv_to_tool_file_cmd { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 $as_echo_n "checking for $LD option to reload object files... " >&6; } if ${lt_cv_ld_reload_flag+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_reload_flag='-r' fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 $as_echo "$lt_cv_ld_reload_flag" >&6; } reload_flag=$lt_cv_ld_reload_flag case $reload_flag in "" | " "*) ;; *) reload_flag=" $reload_flag" ;; esac reload_cmds='$LD$reload_flag -o $output$reload_objs' case $host_os in cygwin* | mingw* | pw32* | cegcc*) if test yes != "$GCC"; then reload_cmds=false fi ;; darwin*) if test yes = "$GCC"; then reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs' else reload_cmds='$LD$reload_flag -o $output$reload_objs' fi ;; esac if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. set dummy ${ac_tool_prefix}objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OBJDUMP"; then ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OBJDUMP=$ac_cv_prog_OBJDUMP if test -n "$OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 $as_echo "$OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OBJDUMP"; then ac_ct_OBJDUMP=$OBJDUMP # Extract the first word of "objdump", so it can be a program name with args. set dummy objdump; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OBJDUMP"; then ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OBJDUMP="objdump" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP if test -n "$ac_ct_OBJDUMP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 $as_echo "$ac_ct_OBJDUMP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OBJDUMP" = x; then OBJDUMP="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OBJDUMP=$ac_ct_OBJDUMP fi else OBJDUMP="$ac_cv_prog_OBJDUMP" fi test -z "$OBJDUMP" && OBJDUMP=objdump { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 $as_echo_n "checking how to recognize dependent libraries... " >&6; } if ${lt_cv_deplibs_check_method+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_deplibs_check_method='unknown' # Need to set the preceding variable on all platforms that support # interlibrary dependencies. # 'none' -- dependencies not supported. # 'unknown' -- same as none, but documents that we really don't know. # 'pass_all' -- all dependencies passed with no checks. # 'test_compile' -- check by making test program. # 'file_magic [[regex]]' -- check by looking for files in library path # that responds to the $file_magic_cmd with a given extended regex. # If you have 'file' or equivalent on your system and you're not sure # whether 'pass_all' will *always* work, you probably want this one. case $host_os in aix[4-9]*) lt_cv_deplibs_check_method=pass_all ;; beos*) lt_cv_deplibs_check_method=pass_all ;; bsdi[45]*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' lt_cv_file_magic_cmd='/usr/bin/file -L' lt_cv_file_magic_test_file=/shlib/libc.so ;; cygwin*) # func_win32_libid is a shell function defined in ltmain.sh lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' ;; mingw* | pw32*) # Base MSYS/MinGW do not provide the 'file' command needed by # func_win32_libid shell function, so use a weaker test based on 'objdump', # unless we find 'file', for example because we are cross-compiling. if ( file / ) >/dev/null 2>&1; then lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' lt_cv_file_magic_cmd='func_win32_libid' else # Keep this pattern in sync with the one in func_win32_libid. lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' lt_cv_file_magic_cmd='$OBJDUMP -f' fi ;; cegcc*) # use the weaker test based on 'objdump'. See mingw*. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' lt_cv_file_magic_cmd='$OBJDUMP -f' ;; darwin* | rhapsody*) lt_cv_deplibs_check_method=pass_all ;; freebsd* | dragonfly*) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then case $host_cpu in i*86 ) # Not sure whether the presence of OpenBSD here was a mistake. # Let's accept both of them until this is cleared up. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` ;; esac else lt_cv_deplibs_check_method=pass_all fi ;; haiku*) lt_cv_deplibs_check_method=pass_all ;; hpux10.20* | hpux11*) lt_cv_file_magic_cmd=/usr/bin/file case $host_cpu in ia64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so ;; hppa*64*) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl ;; *) lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' lt_cv_file_magic_test_file=/usr/lib/libc.sl ;; esac ;; interix[3-9]*) # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' ;; irix5* | irix6* | nonstopux*) case $LD in *-32|*"-32 ") libmagic=32-bit;; *-n32|*"-n32 ") libmagic=N32;; *-64|*"-64 ") libmagic=64-bit;; *) libmagic=never-match;; esac lt_cv_deplibs_check_method=pass_all ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) lt_cv_deplibs_check_method=pass_all ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' fi ;; newos6*) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' lt_cv_file_magic_cmd=/usr/bin/file lt_cv_file_magic_test_file=/usr/lib/libnls.so ;; *nto* | *qnx*) lt_cv_deplibs_check_method=pass_all ;; openbsd* | bitrig*) if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' else lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' fi ;; osf3* | osf4* | osf5*) lt_cv_deplibs_check_method=pass_all ;; rdos*) lt_cv_deplibs_check_method=pass_all ;; solaris*) lt_cv_deplibs_check_method=pass_all ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) lt_cv_deplibs_check_method=pass_all ;; sysv4 | sysv4.3*) case $host_vendor in motorola) lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` ;; ncr) lt_cv_deplibs_check_method=pass_all ;; sequent) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; sni) lt_cv_file_magic_cmd='/bin/file' lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" lt_cv_file_magic_test_file=/lib/libc.so ;; siemens) lt_cv_deplibs_check_method=pass_all ;; pc) lt_cv_deplibs_check_method=pass_all ;; esac ;; tpf*) lt_cv_deplibs_check_method=pass_all ;; os2*) lt_cv_deplibs_check_method=pass_all ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 $as_echo "$lt_cv_deplibs_check_method" >&6; } file_magic_glob= want_nocaseglob=no if test "$build" = "$host"; then case $host_os in mingw* | pw32*) if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then want_nocaseglob=yes else file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` fi ;; esac fi file_magic_cmd=$lt_cv_file_magic_cmd deplibs_check_method=$lt_cv_deplibs_check_method test -z "$deplibs_check_method" && deplibs_check_method=unknown if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. set dummy ${ac_tool_prefix}dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DLLTOOL"; then ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DLLTOOL=$ac_cv_prog_DLLTOOL if test -n "$DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 $as_echo "$DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DLLTOOL"; then ac_ct_DLLTOOL=$DLLTOOL # Extract the first word of "dlltool", so it can be a program name with args. set dummy dlltool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DLLTOOL"; then ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DLLTOOL="dlltool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL if test -n "$ac_ct_DLLTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 $as_echo "$ac_ct_DLLTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DLLTOOL" = x; then DLLTOOL="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DLLTOOL=$ac_ct_DLLTOOL fi else DLLTOOL="$ac_cv_prog_DLLTOOL" fi test -z "$DLLTOOL" && DLLTOOL=dlltool { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_sharedlib_from_linklib_cmd='unknown' case $host_os in cygwin* | mingw* | pw32* | cegcc*) # two different shell functions defined in ltmain.sh; # decide which one to use based on capabilities of $DLLTOOL case `$DLLTOOL --help 2>&1` in *--identify-strict*) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib ;; *) lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback ;; esac ;; *) # fallback: assume linklib IS sharedlib lt_cv_sharedlib_from_linklib_cmd=$ECHO ;; esac fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO if test -n "$ac_tool_prefix"; then for ac_prog in ar do # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. set dummy $ac_tool_prefix$ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$AR"; then ac_cv_prog_AR="$AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_AR="$ac_tool_prefix$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi AR=$ac_cv_prog_AR if test -n "$AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 $as_echo "$AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$AR" && break done fi if test -z "$AR"; then ac_ct_AR=$AR for ac_prog in ar do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_AR+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_AR"; then ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_AR="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_AR=$ac_cv_prog_ac_ct_AR if test -n "$ac_ct_AR"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 $as_echo "$ac_ct_AR" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$ac_ct_AR" && break done if test "x$ac_ct_AR" = x; then AR="false" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac AR=$ac_ct_AR fi fi : ${AR=ar} : ${AR_FLAGS=cru} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 $as_echo_n "checking for archiver @FILE support... " >&6; } if ${lt_cv_ar_at_file+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ar_at_file=no cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_compile "$LINENO"; then : echo conftest.$ac_objext > conftest.lst lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test 0 -eq "$ac_status"; then # Ensure the archiver fails upon bogus file names. rm -f conftest.$ac_objext libconftest.a { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 (eval $lt_ar_try) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } if test 0 -ne "$ac_status"; then lt_cv_ar_at_file=@ fi fi rm -f conftest.* libconftest.a fi rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 $as_echo "$lt_cv_ar_at_file" >&6; } if test no = "$lt_cv_ar_at_file"; then archiver_list_spec= else archiver_list_spec=$lt_cv_ar_at_file fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. set dummy ${ac_tool_prefix}strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$STRIP"; then ac_cv_prog_STRIP="$STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_STRIP="${ac_tool_prefix}strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi STRIP=$ac_cv_prog_STRIP if test -n "$STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 $as_echo "$STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_STRIP"; then ac_ct_STRIP=$STRIP # Extract the first word of "strip", so it can be a program name with args. set dummy strip; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_STRIP+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_STRIP"; then ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_STRIP="strip" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP if test -n "$ac_ct_STRIP"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 $as_echo "$ac_ct_STRIP" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_STRIP" = x; then STRIP=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac STRIP=$ac_ct_STRIP fi else STRIP="$ac_cv_prog_STRIP" fi test -z "$STRIP" && STRIP=: if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. set dummy ${ac_tool_prefix}ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$RANLIB"; then ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi RANLIB=$ac_cv_prog_RANLIB if test -n "$RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 $as_echo "$RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_RANLIB"; then ac_ct_RANLIB=$RANLIB # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_RANLIB"; then ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_RANLIB="ranlib" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB if test -n "$ac_ct_RANLIB"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 $as_echo "$ac_ct_RANLIB" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_RANLIB" = x; then RANLIB=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac RANLIB=$ac_ct_RANLIB fi else RANLIB="$ac_cv_prog_RANLIB" fi test -z "$RANLIB" && RANLIB=: # Determine commands to create old-style static archives. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' old_postinstall_cmds='chmod 644 $oldlib' old_postuninstall_cmds= if test -n "$RANLIB"; then case $host_os in bitrig* | openbsd*) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" ;; *) old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" ;; esac old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" fi case $host_os in darwin*) lock_old_archive_extraction=yes ;; *) lock_old_archive_extraction=no ;; esac # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Check for command to grab the raw symbol name followed by C symbol from nm. { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } if ${lt_cv_sys_global_symbol_pipe+:} false; then : $as_echo_n "(cached) " >&6 else # These are sane defaults that work on at least a few old systems. # [They come from Ultrix. What could be older than Ultrix?!! ;)] # Character class describing NM global symbol codes. symcode='[BCDEGRST]' # Regexp to match symbols that can be accessed directly from C. sympat='\([_A-Za-z][_A-Za-z0-9]*\)' # Define system-specific variables. case $host_os in aix*) symcode='[BCDT]' ;; cygwin* | mingw* | pw32* | cegcc*) symcode='[ABCDGISTW]' ;; hpux*) if test ia64 = "$host_cpu"; then symcode='[ABCDEGRST]' fi ;; irix* | nonstopux*) symcode='[BCDEGRST]' ;; osf*) symcode='[BCDEGQRST]' ;; solaris*) symcode='[BDRT]' ;; sco3.2v5*) symcode='[DT]' ;; sysv4.2uw2*) symcode='[DT]' ;; sysv5* | sco5v6* | unixware* | OpenUNIX*) symcode='[ABDT]' ;; sysv4) symcode='[DFNSTU]' ;; esac # If we're using GNU nm, then use its standard symbol codes. case `$NM -V 2>&1` in *GNU* | *'with BFD'*) symcode='[ABCDGIRSTW]' ;; esac if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Gets list of data symbols to import. lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'" # Adjust the below global symbol transforms to fixup imported variables. lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'" lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'" lt_c_name_lib_hook="\ -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\ -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'" else # Disable hooks by default. lt_cv_sys_global_symbol_to_import= lt_cdecl_hook= lt_c_name_hook= lt_c_name_lib_hook= fi # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. lt_cv_sys_global_symbol_to_cdecl="sed -n"\ $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" # Transform an extracted symbol line into symbol name and symbol address lt_cv_sys_global_symbol_to_c_name_address="sed -n"\ $lt_c_name_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'" # Transform an extracted symbol line into symbol name with lib prefix and # symbol address. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\ $lt_c_name_lib_hook\ " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\ " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'" # Handle CRLF in mingw tool chain opt_cr= case $build_os in mingw*) opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp ;; esac # Try without a prefix underscore, then with it. for ac_symprfx in "" "_"; do # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. symxfrm="\\1 $ac_symprfx\\2 \\2" # Write the raw and C identifiers. if test "$lt_cv_nm_interface" = "MS dumpbin"; then # Fake it for dumpbin and say T for any non-static function, # D for any global variable and I for any imported variable. # Also find C++ and __fastcall symbols from MSVC++, # which start with @ or ?. lt_cv_sys_global_symbol_pipe="$AWK '"\ " {last_section=section; section=\$ 3};"\ " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\ " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\ " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\ " \$ 0!~/External *\|/{next};"\ " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ " {if(hide[section]) next};"\ " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\ " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\ " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\ " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\ " ' prfx=^$ac_symprfx" else lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" fi lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" # Check to see that the pipe works correctly. pipe_works=no rm -f conftest* cat > conftest.$ac_ext <<_LT_EOF #ifdef __cplusplus extern "C" { #endif char nm_test_var; void nm_test_func(void); void nm_test_func(void){} #ifdef __cplusplus } #endif int main(){nm_test_var='a';nm_test_func();return(0);} _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then # Now try to grab the symbols. nlist=conftest.nm if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "$nlist"; then # Try sorting and uniquifying the output. if sort "$nlist" | uniq > "$nlist"T; then mv -f "$nlist"T "$nlist" else rm -f "$nlist"T fi # Make sure that we snagged all the symbols we need. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then if $GREP ' nm_test_func$' "$nlist" >/dev/null; then cat <<_LT_EOF > conftest.$ac_ext /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_DLSYM_CONST const #endif #ifdef __cplusplus extern "C" { #endif _LT_EOF # Now generate the symbol file. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' cat <<_LT_EOF >> conftest.$ac_ext /* The mapping between symbol names and symbols. */ LT_DLSYM_CONST struct { const char *name; void *address; } lt__PROGRAM__LTX_preloaded_symbols[] = { { "@PROGRAM@", (void *) 0 }, _LT_EOF $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext cat <<\_LT_EOF >> conftest.$ac_ext {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt__PROGRAM__LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif _LT_EOF # Now try linking the two files. mv conftest.$ac_objext conftstm.$ac_objext lt_globsym_save_LIBS=$LIBS lt_globsym_save_CFLAGS=$CFLAGS LIBS=conftstm.$ac_objext CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s conftest$ac_exeext; then pipe_works=yes fi LIBS=$lt_globsym_save_LIBS CFLAGS=$lt_globsym_save_CFLAGS else echo "cannot find nm_test_func in $nlist" >&5 fi else echo "cannot find nm_test_var in $nlist" >&5 fi else echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 fi else echo "$progname: failed program was:" >&5 cat conftest.$ac_ext >&5 fi rm -rf conftest* conftst* # Do not use the global_symbol_pipe unless it works. if test yes = "$pipe_works"; then break else lt_cv_sys_global_symbol_pipe= fi done fi if test -z "$lt_cv_sys_global_symbol_pipe"; then lt_cv_sys_global_symbol_to_cdecl= fi if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 $as_echo "failed" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 $as_echo "ok" >&6; } fi # Response file support. if test "$lt_cv_nm_interface" = "MS dumpbin"; then nm_file_list_spec='@' elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then nm_file_list_spec='@' fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 $as_echo_n "checking for sysroot... " >&6; } # Check whether --with-sysroot was given. if test "${with_sysroot+set}" = set; then : withval=$with_sysroot; else with_sysroot=no fi lt_sysroot= case $with_sysroot in #( yes) if test yes = "$GCC"; then lt_sysroot=`$CC --print-sysroot 2>/dev/null` fi ;; #( /*) lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` ;; #( no|'') ;; #( *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5 $as_echo "$with_sysroot" >&6; } as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 $as_echo "${lt_sysroot:-no}" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5 $as_echo_n "checking for a working dd... " >&6; } if ${ac_cv_path_lt_DD+:} false; then : $as_echo_n "(cached) " >&6 else printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i : ${lt_DD:=$DD} if test -z "$lt_DD"; then ac_path_lt_DD_found=false # Loop through the user's path and test for each of PROGNAME-LIST as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_prog in dd; do for ac_exec_ext in '' $ac_executable_extensions; do ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext" as_fn_executable_p "$ac_path_lt_DD" || continue if "$ac_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=: fi $ac_path_lt_DD_found && break 3 done done done IFS=$as_save_IFS if test -z "$ac_cv_path_lt_DD"; then : fi else ac_cv_path_lt_DD=$lt_DD fi rm -f conftest.i conftest2.i conftest.out fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5 $as_echo "$ac_cv_path_lt_DD" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5 $as_echo_n "checking how to truncate binary pipes... " >&6; } if ${lt_cv_truncate_bin+:} false; then : $as_echo_n "(cached) " >&6 else printf 0123456789abcdef0123456789abcdef >conftest.i cat conftest.i conftest.i >conftest2.i lt_cv_truncate_bin= if "$ac_cv_path_lt_DD" bs=32 count=1 conftest.out 2>/dev/null; then cmp -s conftest.i conftest.out \ && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1" fi rm -f conftest.i conftest2.i conftest.out test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q" fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5 $as_echo "$lt_cv_truncate_bin" >&6; } # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in $*""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } # Check whether --enable-libtool-lock was given. if test "${enable_libtool_lock+set}" = set; then : enableval=$enable_libtool_lock; fi test no = "$enable_libtool_lock" || enable_libtool_lock=yes # Some flags need to be propagated to the compiler or linker for good # libtool support. case $host in ia64-*-hpux*) # Find out what ABI is being produced by ac_compile, and set mode # options accordingly. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.$ac_objext` in *ELF-32*) HPUX_IA64_MODE=32 ;; *ELF-64*) HPUX_IA64_MODE=64 ;; esac fi rm -rf conftest* ;; *-*-irix6*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '#line '$LINENO' "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then if test yes = "$lt_cv_prog_gnu_ld"; then case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -melf32bsmip" ;; *N32*) LD="${LD-ld} -melf32bmipn32" ;; *64-bit*) LD="${LD-ld} -melf64bmip" ;; esac else case `/usr/bin/file conftest.$ac_objext` in *32-bit*) LD="${LD-ld} -32" ;; *N32*) LD="${LD-ld} -n32" ;; *64-bit*) LD="${LD-ld} -64" ;; esac fi fi rm -rf conftest* ;; mips64*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo '#line '$LINENO' "configure"' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then emul=elf case `/usr/bin/file conftest.$ac_objext` in *32-bit*) emul="${emul}32" ;; *64-bit*) emul="${emul}64" ;; esac case `/usr/bin/file conftest.$ac_objext` in *MSB*) emul="${emul}btsmip" ;; *LSB*) emul="${emul}ltsmip" ;; esac case `/usr/bin/file conftest.$ac_objext` in *N32*) emul="${emul}n32" ;; esac LD="${LD-ld} -m $emul" fi rm -rf conftest* ;; x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|s390*-*tpf*|sparc*-*linux*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. Note that the listed cases only cover the # situations where additional linker options are needed (such as when # doing 32-bit compilation for a host where ld defaults to 64-bit, or # vice versa); the common cases where no linker options are needed do # not appear in the list. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *32-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_i386_fbsd" ;; x86_64-*linux*) case `/usr/bin/file conftest.o` in *x86-64*) LD="${LD-ld} -m elf32_x86_64" ;; *) LD="${LD-ld} -m elf_i386" ;; esac ;; powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) LD="${LD-ld} -m elf_s390" ;; sparc64-*linux*) LD="${LD-ld} -m elf32_sparc" ;; esac ;; *64-bit*) case $host in x86_64-*kfreebsd*-gnu) LD="${LD-ld} -m elf_x86_64_fbsd" ;; x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; powerpcle-*linux*) LD="${LD-ld} -m elf64lppc" ;; powerpc-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*) LD="${LD-ld} -m elf64_s390" ;; sparc*-*linux*) LD="${LD-ld} -m elf64_sparc" ;; esac ;; esac fi rm -rf conftest* ;; *-*-sco3.2v5*) # On SCO OpenServer 5, we need -belf to get full-featured binaries. SAVE_CFLAGS=$CFLAGS CFLAGS="$CFLAGS -belf" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } if ${lt_cv_cc_needs_belf+:} false; then : $as_echo_n "(cached) " >&6 else ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_cc_needs_belf=yes else lt_cv_cc_needs_belf=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 $as_echo "$lt_cv_cc_needs_belf" >&6; } if test yes != "$lt_cv_cc_needs_belf"; then # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf CFLAGS=$SAVE_CFLAGS fi ;; *-*solaris*) # Find out what ABI is being produced by ac_compile, and set linker # options accordingly. echo 'int i;' > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then case `/usr/bin/file conftest.o` in *64-bit*) case $lt_cv_prog_gnu_ld in yes*) case $host in i?86-*-solaris*|x86_64-*-solaris*) LD="${LD-ld} -m elf_x86_64" ;; sparc*-*-solaris*) LD="${LD-ld} -m elf64_sparc" ;; esac # GNU ld 2.21 introduced _sol2 emulations. Use them if available. if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then LD=${LD-ld}_sol2 fi ;; *) if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then LD="${LD-ld} -64" fi ;; esac ;; esac fi rm -rf conftest* ;; esac need_locks=$enable_libtool_lock if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. set dummy ${ac_tool_prefix}mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$MANIFEST_TOOL"; then ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL if test -n "$MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 $as_echo "$MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_MANIFEST_TOOL"; then ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL # Extract the first word of "mt", so it can be a program name with args. set dummy mt; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_MANIFEST_TOOL"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL if test -n "$ac_ct_MANIFEST_TOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_MANIFEST_TOOL" = x; then MANIFEST_TOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL fi else MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" fi test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } if ${lt_cv_path_mainfest_tool+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_path_mainfest_tool=no echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out cat conftest.err >&5 if $GREP 'Manifest Tool' conftest.out > /dev/null; then lt_cv_path_mainfest_tool=yes fi rm -f conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 $as_echo "$lt_cv_path_mainfest_tool" >&6; } if test yes != "$lt_cv_path_mainfest_tool"; then MANIFEST_TOOL=: fi case $host_os in rhapsody* | darwin*) if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DSYMUTIL"; then ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DSYMUTIL=$ac_cv_prog_DSYMUTIL if test -n "$DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 $as_echo "$DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_DSYMUTIL"; then ac_ct_DSYMUTIL=$DSYMUTIL # Extract the first word of "dsymutil", so it can be a program name with args. set dummy dsymutil; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_DSYMUTIL"; then ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL if test -n "$ac_ct_DSYMUTIL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 $as_echo "$ac_ct_DSYMUTIL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_DSYMUTIL" = x; then DSYMUTIL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac DSYMUTIL=$ac_ct_DSYMUTIL fi else DSYMUTIL="$ac_cv_prog_DSYMUTIL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. set dummy ${ac_tool_prefix}nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$NMEDIT"; then ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi NMEDIT=$ac_cv_prog_NMEDIT if test -n "$NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 $as_echo "$NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_NMEDIT"; then ac_ct_NMEDIT=$NMEDIT # Extract the first word of "nmedit", so it can be a program name with args. set dummy nmedit; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_NMEDIT"; then ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_NMEDIT="nmedit" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT if test -n "$ac_ct_NMEDIT"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 $as_echo "$ac_ct_NMEDIT" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_NMEDIT" = x; then NMEDIT=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac NMEDIT=$ac_ct_NMEDIT fi else NMEDIT="$ac_cv_prog_NMEDIT" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. set dummy ${ac_tool_prefix}lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$LIPO"; then ac_cv_prog_LIPO="$LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_LIPO="${ac_tool_prefix}lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi LIPO=$ac_cv_prog_LIPO if test -n "$LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 $as_echo "$LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_LIPO"; then ac_ct_LIPO=$LIPO # Extract the first word of "lipo", so it can be a program name with args. set dummy lipo; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_LIPO+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_LIPO"; then ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_LIPO="lipo" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO if test -n "$ac_ct_LIPO"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 $as_echo "$ac_ct_LIPO" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_LIPO" = x; then LIPO=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac LIPO=$ac_ct_LIPO fi else LIPO="$ac_cv_prog_LIPO" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. set dummy ${ac_tool_prefix}otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL"; then ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL="${ac_tool_prefix}otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL=$ac_cv_prog_OTOOL if test -n "$OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 $as_echo "$OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL"; then ac_ct_OTOOL=$OTOOL # Extract the first word of "otool", so it can be a program name with args. set dummy otool; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL"; then ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL="otool" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL if test -n "$ac_ct_OTOOL"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 $as_echo "$ac_ct_OTOOL" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL" = x; then OTOOL=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL=$ac_ct_OTOOL fi else OTOOL="$ac_cv_prog_OTOOL" fi if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. set dummy ${ac_tool_prefix}otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$OTOOL64"; then ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi OTOOL64=$ac_cv_prog_OTOOL64 if test -n "$OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 $as_echo "$OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_prog_OTOOL64"; then ac_ct_OTOOL64=$OTOOL64 # Extract the first word of "otool64", so it can be a program name with args. set dummy otool64; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$ac_ct_OTOOL64"; then ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_ac_ct_OTOOL64="otool64" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 if test -n "$ac_ct_OTOOL64"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 $as_echo "$ac_ct_OTOOL64" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_ct_OTOOL64" = x; then OTOOL64=":" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac OTOOL64=$ac_ct_OTOOL64 fi else OTOOL64="$ac_cv_prog_OTOOL64" fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 $as_echo_n "checking for -single_module linker flag... " >&6; } if ${lt_cv_apple_cc_single_mod+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_apple_cc_single_mod=no if test -z "$LT_MULTI_MODULE"; then # By default we will add the -single_module flag. You can override # by either setting the environment variable LT_MULTI_MODULE # non-empty at configure time, or by adding -multi_module to the # link flags. rm -rf libconftest.dylib* echo "int foo(void){return 1;}" > conftest.c echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c" >&5 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ -dynamiclib -Wl,-single_module conftest.c 2>conftest.err _lt_result=$? # If there is a non-empty error log, and "single_module" # appears in it, assume the flag caused a linker warning if test -s conftest.err && $GREP single_module conftest.err; then cat conftest.err >&5 # Otherwise, if the output was created with a 0 exit code from # the compiler, it worked. elif test -f libconftest.dylib && test 0 = "$_lt_result"; then lt_cv_apple_cc_single_mod=yes else cat conftest.err >&5 fi rm -rf libconftest.dylib* rm -f conftest.* fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } if ${lt_cv_ld_exported_symbols_list+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_exported_symbols_list=no save_LDFLAGS=$LDFLAGS echo "_main" > conftest.sym LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_ld_exported_symbols_list=yes else lt_cv_ld_exported_symbols_list=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 $as_echo_n "checking for -force_load linker flag... " >&6; } if ${lt_cv_ld_force_load+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_ld_force_load=no cat > conftest.c << _LT_EOF int forced_loaded() { return 2;} _LT_EOF echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 echo "$AR cru libconftest.a conftest.o" >&5 $AR cru libconftest.a conftest.o 2>&5 echo "$RANLIB libconftest.a" >&5 $RANLIB libconftest.a 2>&5 cat > conftest.c << _LT_EOF int main() { return 0;} _LT_EOF echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err _lt_result=$? if test -s conftest.err && $GREP force_load conftest.err; then cat conftest.err >&5 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then lt_cv_ld_force_load=yes else cat conftest.err >&5 fi rm -f conftest.err libconftest.a conftest conftest.c rm -rf conftest.dSYM fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 $as_echo "$lt_cv_ld_force_load" >&6; } case $host_os in rhapsody* | darwin1.[012]) _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;; darwin1.*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; darwin*) # darwin 5.x on # if running on 10.5 or later, the deployment target defaults # to the OS version, if on x86, and 10.4, the deployment # target defaults to 10.4. Don't you love it? case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[91]*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; 10.[012][,.]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; esac ;; esac if test yes = "$lt_cv_apple_cc_single_mod"; then _lt_dar_single_mod='$single_module' fi if test yes = "$lt_cv_ld_exported_symbols_list"; then _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym' else _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib' fi if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then _lt_dsymutil='~$DSYMUTIL $lib || :' else _lt_dsymutil= fi ;; esac # func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x$2 in x) ;; *:) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" ;; x:*) eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" ;; *::*) eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" ;; *) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" ;; esac } for ac_header in dlfcn.h do : ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default " if test "x$ac_cv_header_dlfcn_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_DLFCN_H 1 _ACEOF fi done # Set options # Check whether --enable-static was given. if test "${enable_static+set}" = set; then : enableval=$enable_static; p=${PACKAGE-default} case $enableval in yes) enable_static=yes ;; no) enable_static=no ;; *) enable_static=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_static=yes fi done IFS=$lt_save_ifs ;; esac else enable_static=no fi enable_dlopen=no enable_win32_dll=no # Check whether --enable-shared was given. if test "${enable_shared+set}" = set; then : enableval=$enable_shared; p=${PACKAGE-default} case $enableval in yes) enable_shared=yes ;; no) enable_shared=no ;; *) enable_shared=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_shared=yes fi done IFS=$lt_save_ifs ;; esac else enable_shared=yes fi # Check whether --with-pic was given. if test "${with_pic+set}" = set; then : withval=$with_pic; lt_p=${PACKAGE-default} case $withval in yes|no) pic_mode=$withval ;; *) pic_mode=default # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for lt_pkg in $withval; do IFS=$lt_save_ifs if test "X$lt_pkg" = "X$lt_p"; then pic_mode=yes fi done IFS=$lt_save_ifs ;; esac else pic_mode=default fi # Check whether --enable-fast-install was given. if test "${enable_fast_install+set}" = set; then : enableval=$enable_fast_install; p=${PACKAGE-default} case $enableval in yes) enable_fast_install=yes ;; no) enable_fast_install=no ;; *) enable_fast_install=no # Look at the argument we got. We use all the common list separators. lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR, for pkg in $enableval; do IFS=$lt_save_ifs if test "X$pkg" = "X$p"; then enable_fast_install=yes fi done IFS=$lt_save_ifs ;; esac else enable_fast_install=yes fi shared_archive_member_spec= case $host,$enable_shared in power*-*-aix[5-9]*,yes) { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; } # Check whether --with-aix-soname was given. if test "${with_aix_soname+set}" = set; then : withval=$with_aix_soname; case $withval in aix|svr4|both) ;; *) as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5 ;; esac lt_cv_with_aix_soname=$with_aix_soname else if ${lt_cv_with_aix_soname+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_with_aix_soname=aix fi with_aix_soname=$lt_cv_with_aix_soname fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5 $as_echo "$with_aix_soname" >&6; } if test aix != "$with_aix_soname"; then # For the AIX way of multilib, we name the shared archive member # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o', # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File. # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag, # the AIX toolchain works better with OBJECT_MODE set (default 32). if test 64 = "${OBJECT_MODE-32}"; then shared_archive_member_spec=shr_64 else shared_archive_member_spec=shr fi fi ;; *) with_aix_soname=aix ;; esac # This can be used to rebuild libtool when needed LIBTOOL_DEPS=$ltmain # Always use our own libtool. LIBTOOL='$(SHELL) $(top_builddir)/libtool' test -z "$LN_S" && LN_S="ln -s" if test -n "${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 $as_echo_n "checking for objdir... " >&6; } if ${lt_cv_objdir+:} false; then : $as_echo_n "(cached) " >&6 else rm -f .libs 2>/dev/null mkdir .libs 2>/dev/null if test -d .libs; then lt_cv_objdir=.libs else # MS-DOS does not allow filenames that begin with a dot. lt_cv_objdir=_libs fi rmdir .libs 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 $as_echo "$lt_cv_objdir" >&6; } objdir=$lt_cv_objdir cat >>confdefs.h <<_ACEOF #define LT_OBJDIR "$lt_cv_objdir/" _ACEOF case $host_os in aix3*) # 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 set != "${COLLECT_NAMES+set}"; then COLLECT_NAMES= export COLLECT_NAMES fi ;; esac # Global variables: ofile=libtool can_build_shared=yes # All known linkers require a '.a' archive for static linking (except MSVC, # which needs '.lib'). libext=a with_gnu_ld=$lt_cv_prog_gnu_ld old_CC=$CC old_CFLAGS=$CFLAGS # Set sane defaults for various variables test -z "$CC" && CC=cc test -z "$LTCC" && LTCC=$CC test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS test -z "$LD" && LD=ld test -z "$ac_objext" && ac_objext=o func_cc_basename $compiler cc_basename=$func_cc_basename_result # Only perform the check for file, if the check method requires it test -z "$MAGIC_CMD" && MAGIC_CMD=file case $deplibs_check_method in file_magic*) if test "$file_magic_cmd" = '$MAGIC_CMD'; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD=$MAGIC_CMD lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/${ac_tool_prefix}file"; then lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD=$lt_cv_path_MAGIC_CMD if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; esac fi MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test -z "$lt_cv_path_MAGIC_CMD"; then if test -n "$ac_tool_prefix"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 $as_echo_n "checking for file... " >&6; } if ${lt_cv_path_MAGIC_CMD+:} false; then : $as_echo_n "(cached) " >&6 else case $MAGIC_CMD in [\\/*] | ?:[\\/]*) lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path. ;; *) lt_save_MAGIC_CMD=$MAGIC_CMD lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" for ac_dir in $ac_dummy; do IFS=$lt_save_ifs test -z "$ac_dir" && ac_dir=. if test -f "$ac_dir/file"; then lt_cv_path_MAGIC_CMD=$ac_dir/"file" if test -n "$file_magic_test_file"; then case $deplibs_check_method in "file_magic "*) file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` MAGIC_CMD=$lt_cv_path_MAGIC_CMD if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | $EGREP "$file_magic_regex" > /dev/null; then : else cat <<_LT_EOF 1>&2 *** Warning: the command libtool uses to detect shared libraries, *** $file_magic_cmd, produces output that libtool cannot recognize. *** The result is that libtool may fail to recognize shared libraries *** as such. This will affect the creation of libtool libraries that *** depend on shared libraries, but programs linked with such libtool *** libraries will work regardless of this problem. Nevertheless, you *** may want to report the problem to your system manager and/or to *** bug-libtool@gnu.org _LT_EOF fi ;; esac fi break fi done IFS=$lt_save_ifs MAGIC_CMD=$lt_save_MAGIC_CMD ;; esac fi MAGIC_CMD=$lt_cv_path_MAGIC_CMD if test -n "$MAGIC_CMD"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 $as_echo "$MAGIC_CMD" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi else MAGIC_CMD=: fi fi fi ;; esac # Use C for the default configuration in the libtool script lt_save_CC=$CC ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu # Source file extension for C test sources. ac_ext=c # Object file extension for compiled C test sources. objext=o objext=$objext # Code to be used in simple compile tests lt_simple_compile_test_code="int some_variable = 0;" # Code to be used in simple link tests lt_simple_link_test_code='int main(){return(0);}' # If no C compiler was specified, use CC. LTCC=${LTCC-"$CC"} # If no C compiler flags were specified, use CFLAGS. LTCFLAGS=${LTCFLAGS-"$CFLAGS"} # Allow CC to be a program name with arguments. compiler=$CC # Save the default compiler, since it gets overwritten when the other # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. compiler_DEFAULT=$CC # save warnings/boilerplate of simple test code ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" >conftest.$ac_ext eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_compiler_boilerplate=`cat conftest.err` $RM conftest* ac_outfile=conftest.$ac_objext echo "$lt_simple_link_test_code" >conftest.$ac_ext eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err _lt_linker_boilerplate=`cat conftest.err` $RM -r conftest* ## CAVEAT EMPTOR: ## There is no encapsulation within the following macros, do not change ## the running order or otherwise move them around unless you know exactly ## what you are doing... if test -n "$compiler"; then lt_prog_compiler_no_builtin_flag= if test yes = "$GCC"; then case $cc_basename in nvcc*) lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; *) lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_rtti_exceptions=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_rtti_exceptions=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" else : fi fi lt_prog_compiler_wl= lt_prog_compiler_pic= lt_prog_compiler_static= if test yes = "$GCC"; then lt_prog_compiler_wl='-Wl,' lt_prog_compiler_static='-static' case $host_os in aix*) # All AIX code is PIC. if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' fi lt_prog_compiler_pic='-fPIC' ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support lt_prog_compiler_pic='-fPIC' ;; m68k) # FIXME: we need at least 68020 code to build shared libraries, but # adding the '-m68020' flag to GCC prevents building anything better, # like '-m68040'. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' ;; esac ;; beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) # PIC is the default for these OSes. ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). # Although the cygwin gcc ignores -fPIC, still need this for old-style # (--disable-auto-import) libraries lt_prog_compiler_pic='-DDLL_EXPORT' case $host_os in os2*) lt_prog_compiler_static='$wl-static' ;; esac ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' ;; haiku*) # PIC is the default for Haiku. # The "-static" flag exists, but is broken. lt_prog_compiler_static= ;; hpux*) # PIC is the default for 64-bit PA HP-UX, but not for 32-bit # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag # sets the default TLS model and affects inlining. case $host_cpu in hppa*64*) # +Z the default ;; *) lt_prog_compiler_pic='-fPIC' ;; esac ;; interix[3-9]*) # Interix 3.x gcc -fpic/-fPIC options generate broken code. # Instead, we relocate shared libraries at runtime. ;; msdosdjgpp*) # Just because we use GCC doesn't mean we suddenly get shared libraries # on systems that don't support them. lt_prog_compiler_can_build_shared=no enable_shared=no ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic=-Kconform_pic fi ;; *) lt_prog_compiler_pic='-fPIC' ;; esac case $cc_basename in nvcc*) # Cuda Compiler Driver 2.2 lt_prog_compiler_wl='-Xlinker ' if test -n "$lt_prog_compiler_pic"; then lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" fi ;; esac else # PORTME Check for flag to pass linker flags through the system compiler. case $host_os in aix*) lt_prog_compiler_wl='-Wl,' if test ia64 = "$host_cpu"; then # AIX 5 now supports IA64 processor lt_prog_compiler_static='-Bstatic' else lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' fi ;; darwin* | rhapsody*) # PIC is the default on this platform # Common symbols not allowed in MH_DYLIB files lt_prog_compiler_pic='-fno-common' case $cc_basename in nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; esac ;; mingw* | cygwin* | pw32* | os2* | cegcc*) # This hack is so that the source file can tell whether it is being # built for inclusion in a dll (and should export symbols for example). lt_prog_compiler_pic='-DDLL_EXPORT' case $host_os in os2*) lt_prog_compiler_static='$wl-static' ;; esac ;; hpux9* | hpux10* | hpux11*) lt_prog_compiler_wl='-Wl,' # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but # not for PA HP-UX. case $host_cpu in hppa*64*|ia64*) # +Z the default ;; *) lt_prog_compiler_pic='+Z' ;; esac # Is there a better lt_prog_compiler_static that works with the bundled CC? lt_prog_compiler_static='$wl-a ${wl}archive' ;; irix5* | irix6* | nonstopux*) lt_prog_compiler_wl='-Wl,' # PIC (with -KPIC) is the default. lt_prog_compiler_static='-non_shared' ;; linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) case $cc_basename in # old Intel for x86_64, which still supported -KPIC. ecc*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-static' ;; # icc used to be incompatible with GCC. # ICC 10 doesn't accept -KPIC any more. icc* | ifort*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; # Lahey Fortran 8.1. lf95*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='--shared' lt_prog_compiler_static='--static' ;; nagfor*) # NAG Fortran compiler lt_prog_compiler_wl='-Wl,-Wl,,' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; tcc*) # Fabrice Bellard et al's Tiny C Compiler lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group compilers (*not* the Pentium gcc compiler, # which looks to be a dead project) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; ccc*) lt_prog_compiler_wl='-Wl,' # All Alpha code is PIC. lt_prog_compiler_static='-non_shared' ;; xl* | bgxl* | bgf* | mpixl*) # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-qpic' lt_prog_compiler_static='-qstaticlink' ;; *) case `$CC -V 2>&1 | sed 5q` in *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) # Sun Fortran 8.3 passes all unrecognized flags to the linker lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='' ;; *Sun\ F* | *Sun*Fortran*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Qoption ld ' ;; *Sun\ C*) # Sun C 5.9 lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' lt_prog_compiler_wl='-Wl,' ;; *Intel*\ [CF]*Compiler*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fPIC' lt_prog_compiler_static='-static' ;; *Portland\ Group*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-fpic' lt_prog_compiler_static='-Bstatic' ;; esac ;; esac ;; newsos6) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; *nto* | *qnx*) # QNX uses GNU C++, but need to define -shared option too, otherwise # it will coredump. lt_prog_compiler_pic='-fPIC -shared' ;; osf3* | osf4* | osf5*) lt_prog_compiler_wl='-Wl,' # All OSF/1 code is PIC. lt_prog_compiler_static='-non_shared' ;; rdos*) lt_prog_compiler_static='-non_shared' ;; solaris*) lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' case $cc_basename in f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) lt_prog_compiler_wl='-Qoption ld ';; *) lt_prog_compiler_wl='-Wl,';; esac ;; sunos4*) lt_prog_compiler_wl='-Qoption ld ' lt_prog_compiler_pic='-PIC' lt_prog_compiler_static='-Bstatic' ;; sysv4 | sysv4.2uw2* | sysv4.3*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; sysv4*MP*) if test -d /usr/nec; then lt_prog_compiler_pic='-Kconform_pic' lt_prog_compiler_static='-Bstatic' fi ;; sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_pic='-KPIC' lt_prog_compiler_static='-Bstatic' ;; unicos*) lt_prog_compiler_wl='-Wl,' lt_prog_compiler_can_build_shared=no ;; uts4*) lt_prog_compiler_pic='-pic' lt_prog_compiler_static='-Bstatic' ;; *) lt_prog_compiler_can_build_shared=no ;; esac fi case $host_os in # For platforms that do not support PIC, -DPIC is meaningless: *djgpp*) lt_prog_compiler_pic= ;; *) lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } if ${lt_cv_prog_compiler_pic+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic=$lt_prog_compiler_pic fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 $as_echo "$lt_cv_prog_compiler_pic" >&6; } lt_prog_compiler_pic=$lt_cv_prog_compiler_pic # # Check to make sure the PIC flag actually works. # if test -n "$lt_prog_compiler_pic"; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } if ${lt_cv_prog_compiler_pic_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_pic_works=no ac_outfile=conftest.$ac_objext echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. # The option is referenced via a variable to avoid confusing sed. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>conftest.err) ac_status=$? cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s "$ac_outfile"; then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings other than the usual output. $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_pic_works=yes fi fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } if test yes = "$lt_cv_prog_compiler_pic_works"; then case $lt_prog_compiler_pic in "" | " "*) ;; *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; esac else lt_prog_compiler_pic= lt_prog_compiler_can_build_shared=no fi fi # # Check to make sure the static flag actually works. # wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } if ${lt_cv_prog_compiler_static_works+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_static_works=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS $lt_tmp_static_flag" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler_static_works=yes fi else lt_cv_prog_compiler_static_works=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } if test yes = "$lt_cv_prog_compiler_static_works"; then : else lt_prog_compiler_static= fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } if ${lt_cv_prog_compiler_c_o+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler_c_o=no $RM -r conftest 2>/dev/null mkdir conftest cd conftest mkdir out echo "$lt_simple_compile_test_code" > conftest.$ac_ext lt_compiler_flag="-o out/conftest2.$ac_objext" # Insert the option either (1) after the last *FLAGS variable, or # (2) before a word containing "conftest.", or (3) at the end. # Note that $ac_compile itself does not contain backslashes and begins # with a dollar sign (not a hyphen), so the echo should work correctly. lt_compile=`echo "$ac_compile" | $SED \ -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ -e 's:$: $lt_compiler_flag:'` (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) (eval "$lt_compile" 2>out/conftest.err) ac_status=$? cat out/conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 if (exit $ac_status) && test -s out/conftest2.$ac_objext then # The compiler can only warn and ignore the option if not recognized # So say no if there are warnings $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then lt_cv_prog_compiler_c_o=yes fi fi chmod u+w . 2>&5 $RM conftest* # SGI C++ compiler will create directory out/ii_files/ for # template instantiation test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files $RM out/* && rmdir out cd .. $RM -r conftest $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } hard_links=nottested if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then # do not overwrite the value of need_locks provided by the user { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 $as_echo_n "checking if we can lock with hard links... " >&6; } hard_links=yes $RM conftest* ln conftest.a conftest.b 2>/dev/null && hard_links=no touch conftest.a ln conftest.a conftest.b 2>&5 || hard_links=no ln conftest.a conftest.b 2>/dev/null && hard_links=no { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 $as_echo "$hard_links" >&6; } if test no = "$hard_links"; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;} need_locks=warn fi else need_locks=no fi { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } runpath_var= allow_undefined_flag= always_export_symbols=no archive_cmds= archive_expsym_cmds= compiler_needs_object=no enable_shared_with_static_runtimes=no export_dynamic_flag_spec= export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' hardcode_automatic=no hardcode_direct=no hardcode_direct_absolute=no hardcode_libdir_flag_spec= hardcode_libdir_separator= hardcode_minus_L=no hardcode_shlibpath_var=unsupported inherit_rpath=no link_all_deplibs=unknown module_cmds= module_expsym_cmds= old_archive_from_new_cmds= old_archive_from_expsyms_cmds= thread_safe_flag_spec= whole_archive_flag_spec= # include_expsyms should be a list of space-separated symbols to be *always* # included in the symbol list include_expsyms= # exclude_expsyms can be an extended regexp of symbols to exclude # it will be wrapped by ' (' and ')$', so one must not match beginning or # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc', # as well as any symbol that contains 'd'. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out # platforms (ab)use it in PIC code, but their linkers get confused if # the symbol is explicitly referenced. Since portable code cannot # rely on this symbol name, it's probably fine to never include it in # preloaded symbol tables. # Exclude shared library initialization/finalization symbols. extract_expsyms_cmds= case $host_os in cygwin* | mingw* | pw32* | cegcc*) # FIXME: the MSVC++ port hasn't been tested in a loooong time # When not using gcc, we currently assume that we are using # Microsoft Visual C++. if test yes != "$GCC"; then with_gnu_ld=no fi ;; interix*) # we just hope/assume this is gcc and not c89 (= MSVC++) with_gnu_ld=yes ;; openbsd* | bitrig*) with_gnu_ld=no ;; linux* | k*bsd*-gnu | gnu*) link_all_deplibs=no ;; esac ld_shlibs=yes # On some targets, GNU ld is compatible enough with the native linker # that we're better off using the native interface for both. lt_use_gnu_ld_interface=no if test yes = "$with_gnu_ld"; then case $host_os in aix*) # The AIX port of GNU ld has always aspired to compatibility # with the native linker. However, as the warning in the GNU ld # block says, versions before 2.19.5* couldn't really create working # shared libraries, regardless of the interface used. case `$LD -v 2>&1` in *\ \(GNU\ Binutils\)\ 2.19.5*) ;; *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; *\ \(GNU\ Binutils\)\ [3-9]*) ;; *) lt_use_gnu_ld_interface=yes ;; esac ;; *) lt_use_gnu_ld_interface=yes ;; esac fi if test yes = "$lt_use_gnu_ld_interface"; then # If archive_cmds runs LD, not CC, wlarc should be empty wlarc='$wl' # Set some defaults for GNU ld with shared library support. These # are reset later if shared libraries are not supported. Putting them # here allows them to be overridden if necessary. runpath_var=LD_RUN_PATH hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' export_dynamic_flag_spec='$wl--export-dynamic' # ancient GNU ld didn't support --whole-archive et. al. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive' else whole_archive_flag_spec= fi supports_anon_versioning=no case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in *GNU\ gold*) supports_anon_versioning=yes ;; *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... *\ 2.11.*) ;; # other 2.11 versions *) supports_anon_versioning=yes ;; esac # See if GNU ld supports shared libraries. case $host_os in aix[3-9]*) # On AIX/PPC, the GNU linker is very broken if test ia64 != "$host_cpu"; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: the GNU linker, at least up to release 2.19, is reported *** to be unable to reliably create shared libraries on AIX. *** Therefore, libtool is disabling shared libraries support. If you *** really care for shared libraries, you may want to install binutils *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. *** You will then need to restart the configuration process. _LT_EOF fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; beos*) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then allow_undefined_flag=unsupported # Joseph Beckenbach says some releases of gcc # support --undefined. This deserves some investigation. FIXME archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' else ld_shlibs=no fi ;; cygwin* | mingw* | pw32* | cegcc*) # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, # as there is no search path for DLLs. hardcode_libdir_flag_spec='-L$libdir' export_dynamic_flag_spec='$wl--export-all-symbols' allow_undefined_flag=unsupported always_export_symbols=no enable_shared_with_static_runtimes=yes export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' # If the export-symbols file already is a .def file, use it as # is; otherwise, prepend EXPORTS... archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then cp $export_symbols $output_objdir/$soname.def; else echo EXPORTS > $output_objdir/$soname.def; cat $export_symbols >> $output_objdir/$soname.def; fi~ $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' else ld_shlibs=no fi ;; haiku*) archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' link_all_deplibs=yes ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported shrext_cmds=.dll archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' enable_shared_with_static_runtimes=yes ;; interix[3-9]*) hardcode_direct=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='$wl-rpath,$libdir' export_dynamic_flag_spec='$wl-E' # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. # Instead, shared libraries are loaded at an image base (0x10000000 by # default) and relocated if they conflict, which is a slow very memory # consuming and fragmenting process. To avoid this, we pick a random, # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link # time. Moving up from 0x10000000 also allows more sbrk(2) space. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' archive_expsym_cmds='sed "s|^|_|" $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--retain-symbols-file,$output_objdir/$soname.expsym $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' ;; gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) tmp_diet=no if test linux-dietlibc = "$host_os"; then case $cc_basename in diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) esac fi if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ && test no = "$tmp_diet" then tmp_addflag=' $pic_flag' tmp_sharedflag='-shared' case $cc_basename,$host_cpu in pgcc*) # Portland Group C compiler whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag' ;; pgf77* | pgf90* | pgf95* | pgfortran*) # Portland Group f77 and f90 compilers whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' tmp_addflag=' $pic_flag -Mnomain' ;; ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 tmp_addflag=' -i_dynamic' ;; efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 tmp_addflag=' -i_dynamic -nofor_main' ;; ifc* | ifort*) # Intel Fortran compiler tmp_addflag=' -nofor_main' ;; lf95*) # Lahey Fortran 8.1 whole_archive_flag_spec= tmp_sharedflag='--shared' ;; nagfor*) # NAGFOR 5.3 tmp_sharedflag='-Wl,-shared' ;; xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) tmp_sharedflag='-qmkshrobj' tmp_addflag= ;; nvcc*) # Cuda Compiler Driver 2.2 whole_archive_flag_spec='$wl--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' compiler_needs_object=yes ;; esac case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C 5.9 whole_archive_flag_spec='$wl--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` $wl--no-whole-archive' compiler_needs_object=yes tmp_sharedflag='-G' ;; *Sun\ F*) # Sun Fortran 8.3 tmp_sharedflag='-G' ;; esac archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' if test yes = "$supports_anon_versioning"; then 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 '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib' fi case $cc_basename in tcc*) export_dynamic_flag_spec='-rdynamic' ;; xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' if test yes = "$supports_anon_versioning"; then 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~ $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' fi ;; esac else ld_shlibs=no fi ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' wlarc= else archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' fi ;; solaris*) if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: The releases 2.8.* of the GNU linker cannot reliably *** create shared libraries on Solaris systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.9.1 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) case `$LD -v 2>&1` in *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) ld_shlibs=no cat <<_LT_EOF 1>&2 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot *** reliably create shared libraries on SCO systems. Therefore, libtool *** is disabling shared libraries support. We urge you to upgrade GNU *** binutils to release 2.16.91.0.3 or newer. Another option is to modify *** your PATH or compiler configuration so that the native linker is *** used, and then restart. _LT_EOF ;; *) # For security reasons, it is highly recommended that you always # use absolute paths for naming shared libraries, and exclude the # DT_RUNPATH tag from executables and libraries. But doing so # requires that you compile everything twice, which is a pain. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac ;; sunos4*) archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' wlarc= hardcode_direct=yes hardcode_shlibpath_var=no ;; *) if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib' else ld_shlibs=no fi ;; esac if test no = "$ld_shlibs"; then runpath_var= hardcode_libdir_flag_spec= export_dynamic_flag_spec= whole_archive_flag_spec= fi else # PORTME fill in a description of your system's linker (not GNU ld) case $host_os in aix3*) allow_undefined_flag=unsupported always_export_symbols=yes archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' # Note: this linker hardcodes the directories in LIBPATH if there # are no directories specified by -L. hardcode_minus_L=yes if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then # Neither direct hardcoding nor static linking is supported with a # broken collect2. hardcode_direct=unsupported fi ;; aix[4-9]*) if test ia64 = "$host_cpu"; then # On IA64, the linker does run time linking by default, so we don't # have to do anything special. aix_use_runtimelinking=no exp_sym_flag='-Bexport' no_entry_flag= else # If we're using GNU nm, then we don't want the "-C" option. # -C means demangle to GNU nm, but means don't demangle to AIX nm. # Without the "-l" option, or with the "-B" option, AIX nm treats # weak defined symbols like other global defined symbols, whereas # GNU nm marks them as "W". # While the 'weak' keyword is ignored in the Export File, we need # it in the Import File for the 'aix-soname' feature, so we have # to replace the "-B" option with "-P" for AIX nm. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols' else export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols' fi aix_use_runtimelinking=no # Test if we are trying to use run time linking or normal # AIX style linking. If -brtl is somewhere in LDFLAGS, we # have runtime linking enabled, and use it for executables. # For shared libraries, we enable/disable runtime linking # depending on the kind of the shared library created - # when "with_aix_soname,aix_use_runtimelinking" is: # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables # "aix,yes" lib.so shared, rtl:yes, for executables # lib.a static archive # "both,no" lib.so.V(shr.o) shared, rtl:yes # lib.a(lib.so.V) shared, rtl:no, for executables # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a(lib.so.V) shared, rtl:no # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables # lib.a static archive case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) for ld_flag in $LDFLAGS; do if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then aix_use_runtimelinking=yes break fi done if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then # With aix-soname=svr4, we create the lib.so.V shared archives only, # so we don't have lib.a shared libs to link our executables. # We have to force runtime linking in this case. aix_use_runtimelinking=yes LDFLAGS="$LDFLAGS -Wl,-brtl" fi ;; esac exp_sym_flag='-bexport' no_entry_flag='-bnoentry' fi # When large executables or shared objects are built, AIX ld can # have problems creating the table of contents. If linking a library # or program results in "error TOC overflow" add -mminimal-toc to # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. archive_cmds='' hardcode_direct=yes hardcode_direct_absolute=yes hardcode_libdir_separator=':' link_all_deplibs=yes file_list_spec='$wl-f,' case $with_aix_soname,$aix_use_runtimelinking in aix,*) ;; # traditional, no import file svr4,* | *,yes) # use import file # The Import File defines what to hardcode. hardcode_direct=no hardcode_direct_absolute=no ;; esac if test yes = "$GCC"; then case $host_os in aix4.[012]|aix4.[012].*) # We only want to do this on AIX 4.2 and lower, the check # below for broken collect2 doesn't work under 4.3+ collect2name=`$CC -print-prog-name=collect2` if test -f "$collect2name" && strings "$collect2name" | $GREP resolve_lib_name >/dev/null then # We have reworked collect2 : else # We have old collect2 hardcode_direct=unsupported # It fails to find uninstalled libraries when the uninstalled # path is not listed in the libpath. Setting hardcode_minus_L # to unsupported forces relinking hardcode_minus_L=yes hardcode_libdir_flag_spec='-L$libdir' hardcode_libdir_separator= fi ;; esac shared_flag='-shared' if test yes = "$aix_use_runtimelinking"; then shared_flag="$shared_flag "'$wl-G' fi # Need to ensure runtime linking is disabled for the traditional # shared library, or the linker may eventually find shared libraries # /with/ Import File - we do not want to mix them. shared_flag_aix='-shared' shared_flag_svr4='-shared $wl-G' else # not using gcc if test ia64 = "$host_cpu"; then # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release # chokes on -Wl,-G. The following line is correct: shared_flag='-G' else if test yes = "$aix_use_runtimelinking"; then shared_flag='$wl-G' else shared_flag='$wl-bM:SRE' fi shared_flag_aix='$wl-bM:SRE' shared_flag_svr4='$wl-G' fi fi export_dynamic_flag_spec='$wl-bexpall' # It seems that -bexpall does not export symbols beginning with # underscore (_), so it is better to generate a list of symbols to export. always_export_symbols=yes if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then # Warning - without using the other runtime loading flags (-brtl), # -berok will link without error, but may produce a broken library. allow_undefined_flag='-berok' # Determine the default libpath from the value encoded in an # empty executable. if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=/usr/lib:/lib fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag else if test ia64 = "$host_cpu"; then hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib' allow_undefined_flag="-z nodefs" archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\$wl$no_entry_flag"' $compiler_flags $wl$allow_undefined_flag '"\$wl$exp_sym_flag:\$export_symbols" else # Determine the default libpath from the value encoded in an # empty executable. if test set = "${lt_cv_aix_libpath+set}"; then aix_libpath=$lt_cv_aix_libpath else if ${lt_cv_aix_libpath_+:} false; then : $as_echo_n "(cached) " >&6 else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_aix_libpath_sed=' /Import File Strings/,/^$/ { /^0/ { s/^0 *\([^ ]*\) *$/\1/ p } }' lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` # Check for a 64-bit object if we didn't find anything. if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext if test -z "$lt_cv_aix_libpath_"; then lt_cv_aix_libpath_=/usr/lib:/lib fi fi aix_libpath=$lt_cv_aix_libpath_ fi hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath" # Warning - without using the other run time loading flags, # -berok will link without error, but may produce a broken library. no_undefined_flag=' $wl-bernotok' allow_undefined_flag=' $wl-berok' if test yes = "$with_gnu_ld"; then # We only use this code for GNU lds that support --whole-archive. whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive' else # Exported symbols can be pulled into shared objects from archives whole_archive_flag_spec='$convenience' fi archive_cmds_need_lc=yes archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d' # -brtl affects multiple linker settings, -berok does not and is overridden later compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`' if test svr4 != "$with_aix_soname"; then # This is similar to how AIX traditionally builds its shared libraries. archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname' fi if test aix != "$with_aix_soname"; then archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp' else # used by -dlpreopen to get the symbols archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir' fi archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d' fi fi ;; amigaos*) case $host_cpu in powerpc) # see comment about AmigaOS4 .so support archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib' archive_expsym_cmds='' ;; m68k) archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes ;; esac ;; bsdi[45]*) export_dynamic_flag_spec=-rdynamic ;; cygwin* | mingw* | pw32* | cegcc*) # When not using gcc, we currently assume that we are using # Microsoft Visual C++. # hardcode_libdir_flag_spec is actually meaningless, as there is # no search path for DLLs. case $cc_basename in cl*) # Native MSVC hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported always_export_symbols=yes file_list_spec='@' # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames=' archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then cp "$export_symbols" "$output_objdir/$soname.def"; echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp"; else $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp; fi~ $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ linknames=' # The linker will not automatically build a static lib if we build a DLL. # _LT_TAGVAR(old_archive_from_new_cmds, )='true' enable_shared_with_static_runtimes=yes exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' # Don't use ranlib old_postinstall_cmds='chmod 644 $oldlib' postlink_cmds='lt_outputfile="@OUTPUT@"~ lt_tool_outputfile="@TOOL_OUTPUT@"~ case $lt_outputfile in *.exe|*.EXE) ;; *) lt_outputfile=$lt_outputfile.exe lt_tool_outputfile=$lt_tool_outputfile.exe ;; esac~ if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; $RM "$lt_outputfile.manifest"; fi' ;; *) # Assume MSVC wrapper hardcode_libdir_flag_spec=' ' allow_undefined_flag=unsupported # Tell ltmain to make .lib files, not .a files. libext=lib # Tell ltmain to make .dll files, not .so files. shrext_cmds=.dll # FIXME: Setting linknames here is a bad hack. archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' # The linker will automatically build a .lib file if we build a DLL. old_archive_from_new_cmds='true' # FIXME: Should let the user specify the lib program. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' enable_shared_with_static_runtimes=yes ;; esac ;; darwin* | rhapsody*) archive_cmds_need_lc=no hardcode_direct=no hardcode_automatic=yes hardcode_shlibpath_var=unsupported if test yes = "$lt_cv_ld_force_load"; then whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' else whole_archive_flag_spec='' fi link_all_deplibs=yes allow_undefined_flag=$_lt_dar_allow_undefined case $cc_basename in ifort*|nagfor*) _lt_dar_can_shared=yes ;; *) _lt_dar_can_shared=$GCC ;; esac if test yes = "$_lt_dar_can_shared"; then output_verbose_link_cmd=func_echo_all archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil" module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil" archive_expsym_cmds="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dar_export_syms$_lt_dsymutil" module_expsym_cmds="sed -e 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dar_export_syms$_lt_dsymutil" else ld_shlibs=no fi ;; dgux*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor # support. Future versions do this automatically, but an explicit c++rt0.o # does not break anything, and helps significantly (at the cost of a little # extra space). freebsd2.2*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; # Unfortunately, older versions of FreeBSD 2 do not have this feature. freebsd2.*) archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; # FreeBSD 3 and greater uses gcc -shared to do shared libraries. freebsd* | dragonfly*) archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; hpux9*) if test yes = "$GCC"; then archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' else archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib' fi hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: hardcode_direct=yes # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes export_dynamic_flag_spec='$wl-E' ;; hpux10*) if test yes,no = "$GCC,$with_gnu_ld"; then archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi if test no = "$with_gnu_ld"; then hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes fi ;; hpux11*) if test yes,no = "$GCC,$with_gnu_ld"; then case $host_cpu in hppa*64*) archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' ;; esac else case $host_cpu in hppa*64*) archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' ;; ia64*) archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' ;; *) # Older versions of the 11.00 compiler do not understand -b yet # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 $as_echo_n "checking if $CC understands -b... " >&6; } if ${lt_cv_prog_compiler__b+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_prog_compiler__b=no save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -b" echo "$lt_simple_link_test_code" > conftest.$ac_ext if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then # The linker can only warn and ignore the option if not recognized # So say no if there are warnings if test -s conftest.err; then # Append any errors to the config.log. cat conftest.err 1>&5 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 if diff conftest.exp conftest.er2 >/dev/null; then lt_cv_prog_compiler__b=yes fi else lt_cv_prog_compiler__b=yes fi fi $RM -r conftest* LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 $as_echo "$lt_cv_prog_compiler__b" >&6; } if test yes = "$lt_cv_prog_compiler__b"; then archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' fi ;; esac fi if test no = "$with_gnu_ld"; then hardcode_libdir_flag_spec='$wl+b $wl$libdir' hardcode_libdir_separator=: case $host_cpu in hppa*64*|ia64*) hardcode_direct=no hardcode_shlibpath_var=no ;; *) hardcode_direct=yes hardcode_direct_absolute=yes export_dynamic_flag_spec='$wl-E' # hardcode_minus_L: Not really in the search PATH, # but as the default location of the library. hardcode_minus_L=yes ;; esac fi ;; irix5* | irix6* | nonstopux*) if test yes = "$GCC"; then archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' # Try to use the -exported_symbol ld option, if it does not # work, assume that -exports_file does not work either and # implicitly export all symbols. # This should be the same for all languages, so no per-tag cache variable. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } if ${lt_cv_irix_exported_symbol+:} false; then : $as_echo_n "(cached) " >&6 else save_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int foo (void) { return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : lt_cv_irix_exported_symbol=yes else lt_cv_irix_exported_symbol=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 $as_echo "$lt_cv_irix_exported_symbol" >&6; } if test yes = "$lt_cv_irix_exported_symbol"; then archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations $wl-exports_file $wl$export_symbols -o $lib' fi link_all_deplibs=no else archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -exports_file $export_symbols -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: inherit_rpath=yes link_all_deplibs=yes ;; linux*) case $cc_basename in tcc*) # Fabrice Bellard et al's Tiny C Compiler ld_shlibs=yes archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' ;; esac ;; netbsd* | netbsdelf*-gnu) if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out else archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF fi hardcode_libdir_flag_spec='-R$libdir' hardcode_direct=yes hardcode_shlibpath_var=no ;; newsos6) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: hardcode_shlibpath_var=no ;; *nto* | *qnx*) ;; openbsd* | bitrig*) if test -f /usr/libexec/ld.so; then hardcode_direct=yes hardcode_shlibpath_var=no hardcode_direct_absolute=yes if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols' hardcode_libdir_flag_spec='$wl-rpath,$libdir' export_dynamic_flag_spec='$wl-E' else archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' hardcode_libdir_flag_spec='$wl-rpath,$libdir' fi else ld_shlibs=no fi ;; os2*) hardcode_libdir_flag_spec='-L$libdir' hardcode_minus_L=yes allow_undefined_flag=unsupported shrext_cmds=.dll archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~ $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~ $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~ $ECHO EXPORTS >> $output_objdir/$libname.def~ prefix_cmds="$SED"~ if test EXPORTS = "`$SED 1q $export_symbols`"; then prefix_cmds="$prefix_cmds -e 1d"; fi~ prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~ cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~ $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~ emximp -o $lib $output_objdir/$libname.def' old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def' enable_shared_with_static_runtimes=yes ;; osf3*) if test yes = "$GCC"; then allow_undefined_flag=' $wl-expect_unresolved $wl\*' archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' fi archive_cmds_need_lc='no' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' hardcode_libdir_separator=: ;; osf4* | osf5*) # as osf3* with the addition of -msym flag if test yes = "$GCC"; then allow_undefined_flag=' $wl-expect_unresolved $wl\*' archive_cmds='$CC -shared$allow_undefined_flag $pic_flag $libobjs $deplibs $compiler_flags $wl-msym $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` $wl-update_registry $wl$output_objdir/so_locations -o $lib' hardcode_libdir_flag_spec='$wl-rpath $wl$libdir' else allow_undefined_flag=' -expect_unresolved \*' archive_cmds='$CC -shared$allow_undefined_flag $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib' archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ $CC -shared$allow_undefined_flag $wl-input $wl$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~$RM $lib.exp' # Both c and cxx compiler support -rpath directly hardcode_libdir_flag_spec='-rpath $libdir' fi archive_cmds_need_lc='no' hardcode_libdir_separator=: ;; solaris*) no_undefined_flag=' -z defs' if test yes = "$GCC"; then wlarc='$wl' archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -shared $pic_flag $wl-z ${wl}text $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' else case `$CC -V 2>&1` in *"Compilers 5.0"*) wlarc='' archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' ;; *) wlarc='$wl' archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' ;; esac fi hardcode_libdir_flag_spec='-R$libdir' hardcode_shlibpath_var=no case $host_os in solaris2.[0-5] | solaris2.[0-5].*) ;; *) # The compiler driver will combine and reorder linker options, # but understands '-z linker_flag'. GCC discards it without '$wl', # but is careful enough not to reorder. # Supported since Solaris 2.6 (maybe 2.5.1?) if test yes = "$GCC"; then whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract' else whole_archive_flag_spec='-z allextract$convenience -z defaultextract' fi ;; esac link_all_deplibs=yes ;; sunos4*) if test sequent = "$host_vendor"; then # Use $CC to link under sequent, because it throws in some extra .o # files that make .init and .fini sections work. archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' fi hardcode_libdir_flag_spec='-L$libdir' hardcode_direct=yes hardcode_minus_L=yes hardcode_shlibpath_var=no ;; sysv4) case $host_vendor in sni) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=yes # is this really true??? ;; siemens) ## LD is ld it makes a PLAMLIB ## CC just makes a GrossModule. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' reload_cmds='$CC -r -o $output$reload_objs' hardcode_direct=no ;; motorola) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_direct=no #Motorola manual says yes, but my tests say they lie ;; esac runpath_var='LD_RUN_PATH' hardcode_shlibpath_var=no ;; sysv4.3*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no export_dynamic_flag_spec='-Bexport' ;; sysv4*MP*) if test -d /usr/nec; then archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_shlibpath_var=no runpath_var=LD_RUN_PATH hardcode_runpath_var=yes ld_shlibs=yes fi ;; sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) no_undefined_flag='$wl-z,text' archive_cmds_need_lc=no hardcode_shlibpath_var=no runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; sysv5* | sco3.2v5* | sco5v6*) # Note: We CANNOT use -z defs as we might desire, because we do not # link with -lc, and that would cause any symbols used from libc to # always be unresolved, which means just about no library would # ever link correctly. If we're not using GNU ld we use -z text # though, which does catch some bad symbols but isn't as heavy-handed # as -z defs. no_undefined_flag='$wl-z,text' allow_undefined_flag='$wl-z,nodefs' archive_cmds_need_lc=no hardcode_shlibpath_var=no hardcode_libdir_flag_spec='$wl-R,$libdir' hardcode_libdir_separator=':' link_all_deplibs=yes export_dynamic_flag_spec='$wl-Bexport' runpath_var='LD_RUN_PATH' if test yes = "$GCC"; then archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' else archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags' fi ;; uts4*) archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' hardcode_libdir_flag_spec='-L$libdir' hardcode_shlibpath_var=no ;; *) ld_shlibs=no ;; esac if test sni = "$host_vendor"; then case $host in sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) export_dynamic_flag_spec='$wl-Blargedynsym' ;; esac fi fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 $as_echo "$ld_shlibs" >&6; } test no = "$ld_shlibs" && can_build_shared=no with_gnu_ld=$with_gnu_ld # # Do we need to explicitly link libc? # case "x$archive_cmds_need_lc" in x|xyes) # Assume -lc should be added archive_cmds_need_lc=yes if test yes,yes = "$GCC,$enable_shared"; then case $archive_cmds in *'~'*) # FIXME: we may have to deal with multi-command sequences. ;; '$CC '*) # Test whether the compiler implicitly links with -lc since on some # systems, -lgcc has to come before -lc. If gcc already passes -lc # to ld, don't add -lc before -lgcc. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } if ${lt_cv_archive_cmds_need_lc+:} false; then : $as_echo_n "(cached) " >&6 else $RM conftest* echo "$lt_simple_compile_test_code" > conftest.$ac_ext if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 (eval $ac_compile) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } 2>conftest.err; then soname=conftest lib=conftest libobjs=conftest.$ac_objext deplibs= wl=$lt_prog_compiler_wl pic_flag=$lt_prog_compiler_pic compiler_flags=-v linker_flags=-v verstring= output_objdir=. libname=conftest lt_save_allow_undefined_flag=$allow_undefined_flag allow_undefined_flag= if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } then lt_cv_archive_cmds_need_lc=no else lt_cv_archive_cmds_need_lc=yes fi allow_undefined_flag=$lt_save_allow_undefined_flag else cat conftest.err 1>&5 fi $RM conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc ;; esac fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 $as_echo_n "checking dynamic linker characteristics... " >&6; } if test yes = "$GCC"; then case $host_os in darwin*) lt_awk_arg='/^libraries:/,/LR/' ;; *) lt_awk_arg='/^libraries:/' ;; esac case $host_os in mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;; *) lt_sed_strip_eq='s|=/|/|g' ;; esac lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` case $lt_search_path_spec in *\;*) # if the path contains ";" then we assume it to be the separator # otherwise default to the standard path separator (i.e. ":") - it is # assumed that no part of a normal pathname contains ";" but that should # okay in the real world where ";" in dirpaths is itself problematic. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` ;; *) lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` ;; esac # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary... lt_tmp_lt_search_path_spec= lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` # ...but if some path component already ends with the multilib dir we assume # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer). case "$lt_multi_os_dir; $lt_search_path_spec " in "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*) lt_multi_os_dir= ;; esac for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir" elif test -n "$lt_multi_os_dir"; then test -d "$lt_sys_path" && \ lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" fi done lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' BEGIN {RS = " "; FS = "/|\n";} { lt_foo = ""; lt_count = 0; for (lt_i = NF; lt_i > 0; lt_i--) { if ($lt_i != "" && $lt_i != ".") { if ($lt_i == "..") { lt_count++; } else { if (lt_count == 0) { lt_foo = "/" $lt_i lt_foo; } else { lt_count--; } } } } if (lt_foo != "") { lt_freq[lt_foo]++; } if (lt_freq[lt_foo] == 1) { print lt_foo; } }'` # AWK program above erroneously prepends '/' to C:/dos/paths # for these hosts. case $host_os in mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ $SED 's|/\([A-Za-z]:\)|\1|g'` ;; esac sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` else sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" fi library_names_spec= libname_spec='lib$name' soname_spec= shrext_cmds=.so postinstall_cmds= postuninstall_cmds= finish_cmds= finish_eval= shlibpath_var= shlibpath_overrides_runpath=unknown version_type=none dynamic_linker="$host_os ld.so" sys_lib_dlsearch_path_spec="/lib /usr/lib" need_lib_prefix=unknown hardcode_into_libs=no # when you set need_version to no, make sure it does not cause -set_version # flags to be left without arguments need_version=unknown case $host_os in aix3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname.a' shlibpath_var=LIBPATH # AIX 3 has no versioning support, so we append a major version to the name. soname_spec='$libname$release$shared_ext$major' ;; aix[4-9]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no hardcode_into_libs=yes if test ia64 = "$host_cpu"; then # AIX 5 supports IA64 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH else # With GCC up to 2.95.x, collect2 would create an import file # for dependence libraries. The import file would start with # the line '#! .'. This would cause the generated library to # depend on '.', always an invalid library. This was fixed in # development snapshots of GCC prior to 3.0. case $host_os in aix4 | aix4.[01] | aix4.[01].*) if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' echo ' yes ' echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then : else can_build_shared=no fi ;; esac # Using Import Files as archive members, it is possible to support # filename-based versioning of shared library archives on AIX. While # this would work for both with and without runtime linking, it will # prevent static linking of such archives. So we do filename-based # shared library versioning with .so extension only, which is used # when both runtime linking and shared linking is enabled. # Unfortunately, runtime linking may impact performance, so we do # not want this to be the default eventually. Also, we use the # versioned .so libs for executables only if there is the -brtl # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only. # To allow for filename-based versioning support, we need to create # libNAME.so.V as an archive file, containing: # *) an Import File, referring to the versioned filename of the # archive as well as the shared archive member, telling the # bitwidth (32 or 64) of that shared object, and providing the # list of exported symbols of that shared object, eventually # decorated with the 'weak' keyword # *) the shared object with the F_LOADONLY flag set, to really avoid # it being seen by the linker. # At run time we better use the real file rather than another symlink, # but for link time we create the symlink libNAME.so -> libNAME.so.V case $with_aix_soname,$aix_use_runtimelinking in # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct # soname into executable. Probably we can add versioning support to # collect2, so additional links can be useful in future. aix,yes) # traditional libtool dynamic_linker='AIX unversionable lib.so' # If using run time linking (on AIX 4.2 or later) use lib.so # instead of lib.a to let people know that these are not # typical AIX shared libraries. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; aix,no) # traditional AIX only dynamic_linker='AIX lib.a(lib.so.V)' # We preserve .a as extension for shared libraries through AIX4.2 # and later when we are not doing run time linking. library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' ;; svr4,*) # full svr4 only dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,yes) # both, prefer svr4 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)" library_names_spec='$libname$release$shared_ext$major $libname$shared_ext' # unpreferred sharedlib libNAME.a needs extra handling postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"' postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"' # We do not specify a path in Import Files, so LIBPATH fires. shlibpath_overrides_runpath=yes ;; *,no) # both, prefer aix dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)" library_names_spec='$libname$release.a $libname.a' soname_spec='$libname$release$shared_ext$major' # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)' postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"' ;; esac shlibpath_var=LIBPATH fi ;; amigaos*) case $host_cpu in powerpc) # Since July 2007 AmigaOS4 officially supports .so libraries. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' ;; m68k) library_names_spec='$libname.ixlibrary $libname.a' # Create ${libname}_ixlibrary.a entries in /sys/libs. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' ;; esac ;; beos*) library_names_spec='$libname$shared_ext' dynamic_linker="$host_os ld.so" shlibpath_var=LIBRARY_PATH ;; bsdi[45]*) version_type=linux # correct to gnu/linux during the next big refactor need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" # the default ld.so.conf also contains /usr/contrib/lib and # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow # libtool to hard-code these into programs ;; cygwin* | mingw* | pw32* | cegcc*) version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no case $GCC,$cc_basename in yes,*) # gcc library_names_spec='$libname.dll.a' # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes case $host_os in cygwin*) # Cygwin DLLs use 'cyg' prefix rather than 'lib' soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" ;; mingw* | cegcc*) # MinGW DLLs use traditional 'lib' prefix soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' ;; pw32*) # pw32 DLLs use 'pw' prefix rather than 'lib' library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' ;; esac dynamic_linker='Win32 ld.exe' ;; *,cl*) # Native MSVC libname_spec='$name' soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext' library_names_spec='$libname.dll.lib' case $build_os in mingw*) sys_lib_search_path_spec= lt_save_ifs=$IFS IFS=';' for lt_path in $LIB do IFS=$lt_save_ifs # Let DOS variable expansion print the short 8.3 style file name. lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" done IFS=$lt_save_ifs # Convert to MSYS style. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` ;; cygwin*) # Convert to unix form, then to dos form, then back to unix form # but this time dos style (no spaces!) so that the unix form looks # like /cygdrive/c/PROGRA~1:/cygdr... sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` ;; *) sys_lib_search_path_spec=$LIB if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then # It is most probably a Windows format PATH. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` else sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` fi # FIXME: find the short name or the path components, as spaces are # common. (e.g. "Program Files" -> "PROGRA~1") ;; esac # DLL is installed to $(libdir)/../bin by postinstall_cmds postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' shlibpath_overrides_runpath=yes dynamic_linker='Win32 link.exe' ;; *) # Assume MSVC wrapper library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib' dynamic_linker='Win32 ld.exe' ;; esac # FIXME: first we should search . and the directory the executable is in shlibpath_var=PATH ;; darwin* | rhapsody*) dynamic_linker="$host_os dyld" version_type=darwin need_lib_prefix=no need_version=no library_names_spec='$libname$release$major$shared_ext $libname$shared_ext' soname_spec='$libname$release$major$shared_ext' shlibpath_overrides_runpath=yes shlibpath_var=DYLD_LIBRARY_PATH shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' ;; dgux*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; freebsd* | dragonfly*) # DragonFly does not have aout. When/if they implement a new # versioning mechanism, adjust this. if test -x /usr/bin/objformat; then objformat=`/usr/bin/objformat` else case $host_os in freebsd[23].*) objformat=aout ;; *) objformat=elf ;; esac fi version_type=freebsd-$objformat case $version_type in freebsd-elf*) library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' need_version=no need_lib_prefix=no ;; freebsd-*) library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' need_version=yes ;; esac shlibpath_var=LD_LIBRARY_PATH case $host_os in freebsd2.*) shlibpath_overrides_runpath=yes ;; freebsd3.[01]* | freebsdelf3.[01]*) shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; *) # from 4.6 on, and DragonFly shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; esac ;; haiku*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no dynamic_linker="$host_os runtime_loader" library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LIBRARY_PATH shlibpath_overrides_runpath=no sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' hardcode_into_libs=yes ;; hpux9* | hpux10* | hpux11*) # Give a soname corresponding to the major version so that dld.sl refuses to # link against other versions. version_type=sunos need_lib_prefix=no need_version=no case $host_cpu in ia64*) shrext_cmds='.so' hardcode_into_libs=yes dynamic_linker="$host_os dld.so" shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' if test 32 = "$HPUX_IA64_MODE"; then sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" sys_lib_dlsearch_path_spec=/usr/lib/hpux32 else sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" sys_lib_dlsearch_path_spec=/usr/lib/hpux64 fi ;; hppa*64*) shrext_cmds='.sl' hardcode_into_libs=yes dynamic_linker="$host_os dld.sl" shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; *) shrext_cmds='.sl' dynamic_linker="$host_os dld.sl" shlibpath_var=SHLIB_PATH shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' ;; esac # HP-UX runs *really* slowly unless shared libraries are mode 555, ... postinstall_cmds='chmod 555 $lib' # or fails outright, so override atomically: install_override_mode=555 ;; interix[3-9]*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; irix5* | irix6* | nonstopux*) case $host_os in nonstopux*) version_type=nonstopux ;; *) if test yes = "$lt_cv_prog_gnu_ld"; then version_type=linux # correct to gnu/linux during the next big refactor else version_type=irix fi ;; esac need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext' case $host_os in irix5* | nonstopux*) libsuff= shlibsuff= ;; *) case $LD in # libtool.m4 will add one of these switches to LD *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") libsuff= shlibsuff= libmagic=32-bit;; *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") libsuff=64 shlibsuff=64 libmagic=64-bit;; *) libsuff= shlibsuff= libmagic=never-match;; esac ;; esac shlibpath_var=LD_LIBRARY${shlibsuff}_PATH shlibpath_overrides_runpath=no sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff" sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff" hardcode_into_libs=yes ;; # No shared lib support for Linux oldld, aout, or coff. linux*oldld* | linux*aout* | linux*coff*) dynamic_linker=no ;; linux*android*) version_type=none # Android doesn't support versioned libraries. need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext' soname_spec='$libname$release$shared_ext' finish_cmds= shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes dynamic_linker='Android linker' # Don't embed -rpath directories since the linker doesn't support them. hardcode_libdir_flag_spec='-L$libdir' ;; # This must be glibc/ELF. linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no # Some binutils ld are patched to set DT_RUNPATH if ${lt_cv_shlibpath_overrides_runpath+:} false; then : $as_echo_n "(cached) " >&6 else lt_cv_shlibpath_overrides_runpath=no save_LDFLAGS=$LDFLAGS save_libdir=$libdir eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ int main () { ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : lt_cv_shlibpath_overrides_runpath=yes fi fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LDFLAGS=$save_LDFLAGS libdir=$save_libdir fi shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath # This implies no fast_install, which is unacceptable. # Some rework will be needed to allow for fast_install # before this can be enabled. hardcode_into_libs=yes # Ideally, we could use ldconfig to report *all* directores which are # searched for libraries, however this is still not possible. Aside from not # being certain /sbin/ldconfig is available, command # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64, # even though it is searched at run-time. Try to do the best guess by # appending ld.so.conf contents (and includes) to the search path. if test -f /etc/ld.so.conf; then lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" fi # We used to test for /lib/ld.so.1 and disable shared libraries on # powerpc, because MkLinux only supported shared libraries with the # GNU dynamic linker. Since this was broken with cross compilers, # most powerpc-linux boxes support dynamic linking these days and # people can always --disable-shared, the test was removed, and we # assume the GNU/Linux dynamic linker is in use. dynamic_linker='GNU/Linux ld.so' ;; netbsdelf*-gnu) version_type=linux need_lib_prefix=no need_version=no library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' soname_spec='${libname}${release}${shared_ext}$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='NetBSD ld.elf_so' ;; netbsd*) version_type=sunos need_lib_prefix=no need_version=no if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' dynamic_linker='NetBSD (a.out) ld.so' else library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' dynamic_linker='NetBSD ld.elf_so' fi shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes ;; newsos6) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; *nto* | *qnx*) version_type=qnx need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes dynamic_linker='ldqnx.so' ;; openbsd* | bitrig*) version_type=sunos sys_lib_dlsearch_path_spec=/usr/lib need_lib_prefix=no if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then need_version=no else need_version=yes fi library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes ;; os2*) libname_spec='$name' version_type=windows shrext_cmds=.dll need_version=no need_lib_prefix=no # OS/2 can only load a DLL with a base name of 8 characters or less. soname_spec='`test -n "$os2dllname" && libname="$os2dllname"; v=$($ECHO $release$versuffix | tr -d .-); n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _); $ECHO $n$v`$shared_ext' library_names_spec='${libname}_dll.$libext' dynamic_linker='OS/2 ld.exe' shlibpath_var=BEGINLIBPATH sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec postinstall_cmds='base_file=`basename \$file`~ dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~ dldir=$destdir/`dirname \$dlpath`~ test -d \$dldir || mkdir -p \$dldir~ $install_prog $dir/$dlname \$dldir/$dlname~ chmod a+x \$dldir/$dlname~ if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; fi' postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~ dlpath=$dir/\$dldll~ $RM \$dlpath' ;; osf3* | osf4* | osf5*) version_type=osf need_lib_prefix=no need_version=no soname_spec='$libname$release$shared_ext$major' library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec ;; rdos*) dynamic_linker=no ;; solaris*) version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes # ldd complains unless libraries are executable postinstall_cmds='chmod +x $lib' ;; sunos4*) version_type=sunos library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix' finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes if test yes = "$with_gnu_ld"; then need_lib_prefix=no fi need_version=yes ;; sysv4 | sysv4.3*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH case $host_vendor in sni) shlibpath_overrides_runpath=no need_lib_prefix=no runpath_var=LD_RUN_PATH ;; siemens) need_lib_prefix=no ;; motorola) need_lib_prefix=no need_version=no shlibpath_overrides_runpath=no sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' ;; esac ;; sysv4*MP*) if test -d /usr/nec; then version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext' soname_spec='$libname$shared_ext.$major' shlibpath_var=LD_LIBRARY_PATH fi ;; sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) version_type=sco need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=yes hardcode_into_libs=yes if test yes = "$with_gnu_ld"; then sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' else sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' case $host_os in sco3.2v5*) sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" ;; esac fi sys_lib_dlsearch_path_spec='/usr/lib' ;; tpf*) # TPF is a cross-target only. Preferred cross-host = GNU/Linux. version_type=linux # correct to gnu/linux during the next big refactor need_lib_prefix=no need_version=no library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' shlibpath_var=LD_LIBRARY_PATH shlibpath_overrides_runpath=no hardcode_into_libs=yes ;; uts4*) version_type=linux # correct to gnu/linux during the next big refactor library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext' soname_spec='$libname$release$shared_ext$major' shlibpath_var=LD_LIBRARY_PATH ;; *) dynamic_linker=no ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 $as_echo "$dynamic_linker" >&6; } test no = "$dynamic_linker" && can_build_shared=no variables_saved_for_relink="PATH $shlibpath_var $runpath_var" if test yes = "$GCC"; then variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" fi if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec fi if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec fi # remember unaugmented sys_lib_dlsearch_path content for libtool script decls... configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH" # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } hardcode_action= if test -n "$hardcode_libdir_flag_spec" || test -n "$runpath_var" || test yes = "$hardcode_automatic"; then # We can hardcode non-existent directories. if test no != "$hardcode_direct" && # If the only mechanism to avoid hardcoding is shlibpath_var, we # have to relink, otherwise we might link with an installed library # when we should be linking with a yet-to-be-installed one ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" && test no != "$hardcode_minus_L"; then # Linking always hardcodes the temporary library directory. hardcode_action=relink else # We can link without hardcoding, and we can hardcode nonexisting dirs. hardcode_action=immediate fi else # We cannot hardcode anything, or else we can only hardcode existing # directories. hardcode_action=unsupported fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 $as_echo "$hardcode_action" >&6; } if test relink = "$hardcode_action" || test yes = "$inherit_rpath"; then # Fast installation is not supported enable_fast_install=no elif test yes = "$shlibpath_overrides_runpath" || test no = "$enable_shared"; then # Fast installation is not necessary enable_fast_install=needless fi if test yes != "$enable_dlopen"; then enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown else lt_cv_dlopen=no lt_cv_dlopen_libs= case $host_os in beos*) lt_cv_dlopen=load_add_on lt_cv_dlopen_libs= lt_cv_dlopen_self=yes ;; mingw* | pw32* | cegcc*) lt_cv_dlopen=LoadLibrary lt_cv_dlopen_libs= ;; cygwin*) lt_cv_dlopen=dlopen lt_cv_dlopen_libs= ;; darwin*) # if libdl is installed we need to link against it { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl else lt_cv_dlopen=dyld lt_cv_dlopen_libs= lt_cv_dlopen_self=yes fi ;; tpf*) # Don't try to run any link tests for TPF. We know it's impossible # because TPF is a cross-compiler, and we know how we open DSOs. lt_cv_dlopen=dlopen lt_cv_dlopen_libs= lt_cv_dlopen_self=no ;; *) ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" if test "x$ac_cv_func_shl_load" = xyes; then : lt_cv_dlopen=shl_load else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 $as_echo_n "checking for shl_load in -ldld... " >&6; } if ${ac_cv_lib_dld_shl_load+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 shl_load (); int main () { return shl_load (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_shl_load=yes else ac_cv_lib_dld_shl_load=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } if test "x$ac_cv_lib_dld_shl_load" = xyes; then : lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld else ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" if test "x$ac_cv_func_dlopen" = xyes; then : lt_cv_dlopen=dlopen else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 $as_echo_n "checking for dlopen in -ldl... " >&6; } if ${ac_cv_lib_dl_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldl $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dl_dlopen=yes else ac_cv_lib_dl_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } if test "x$ac_cv_lib_dl_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 $as_echo_n "checking for dlopen in -lsvld... " >&6; } if ${ac_cv_lib_svld_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-lsvld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_svld_dlopen=yes else ac_cv_lib_svld_dlopen=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } if test "x$ac_cv_lib_svld_dlopen" = xyes; then : lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld else { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 $as_echo_n "checking for dld_link in -ldld... " >&6; } if ${ac_cv_lib_dld_dld_link+:} false; then : $as_echo_n "(cached) " >&6 else ac_check_lib_save_LIBS=$LIBS LIBS="-ldld $LIBS" cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 dld_link (); int main () { return dld_link (); ; return 0; } _ACEOF if ac_fn_c_try_link "$LINENO"; then : ac_cv_lib_dld_dld_link=yes else ac_cv_lib_dld_dld_link=no fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext LIBS=$ac_check_lib_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } if test "x$ac_cv_lib_dld_dld_link" = xyes; then : lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld fi fi fi fi fi fi ;; esac if test no = "$lt_cv_dlopen"; then enable_dlopen=no else enable_dlopen=yes fi case $lt_cv_dlopen in dlopen) save_CPPFLAGS=$CPPFLAGS test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" save_LDFLAGS=$LDFLAGS wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" save_LIBS=$LIBS LIBS="$lt_cv_dlopen_libs $LIBS" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 $as_echo_n "checking whether a program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self+:} false; then : $as_echo_n "(cached) " >&6 else if test yes = "$cross_compiling"; then : lt_cv_dlopen_self=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; esac else : # compilation failed lt_cv_dlopen_self=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 $as_echo "$lt_cv_dlopen_self" >&6; } if test yes = "$lt_cv_dlopen_self"; then wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } if ${lt_cv_dlopen_self_static+:} false; then : $as_echo_n "(cached) " >&6 else if test yes = "$cross_compiling"; then : lt_cv_dlopen_self_static=cross else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF #line $LINENO "configure" #include "confdefs.h" #if HAVE_DLFCN_H #include #endif #include #ifdef RTLD_GLOBAL # define LT_DLGLOBAL RTLD_GLOBAL #else # ifdef DL_GLOBAL # define LT_DLGLOBAL DL_GLOBAL # else # define LT_DLGLOBAL 0 # endif #endif /* We may have to define LT_DLLAZY_OR_NOW in the command line if we find out it does not work in some platform. */ #ifndef LT_DLLAZY_OR_NOW # ifdef RTLD_LAZY # define LT_DLLAZY_OR_NOW RTLD_LAZY # else # ifdef DL_LAZY # define LT_DLLAZY_OR_NOW DL_LAZY # else # ifdef RTLD_NOW # define LT_DLLAZY_OR_NOW RTLD_NOW # else # ifdef DL_NOW # define LT_DLLAZY_OR_NOW DL_NOW # else # define LT_DLLAZY_OR_NOW 0 # endif # endif # endif # endif #endif /* When -fvisibility=hidden is used, assume the code has been annotated correspondingly for the symbols needed. */ #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) int fnord () __attribute__((visibility("default"))); #endif int fnord () { return 42; } int main () { void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); int status = $lt_dlunknown; if (self) { if (dlsym (self,"fnord")) status = $lt_dlno_uscore; else { if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; else puts (dlerror ()); } /* dlclose (self); */ } else puts (dlerror ()); return status; } _LT_EOF if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 (eval $ac_link) 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then (./conftest; exit; ) >&5 2>/dev/null lt_status=$? case x$lt_status in x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; esac else : # compilation failed lt_cv_dlopen_self_static=no fi fi rm -fr conftest* fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 $as_echo "$lt_cv_dlopen_self_static" >&6; } fi CPPFLAGS=$save_CPPFLAGS LDFLAGS=$save_LDFLAGS LIBS=$save_LIBS ;; esac case $lt_cv_dlopen_self in yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; *) enable_dlopen_self=unknown ;; esac case $lt_cv_dlopen_self_static in yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; *) enable_dlopen_self_static=unknown ;; esac fi striplib= old_striplib= { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 $as_echo_n "checking whether stripping libraries is possible... " >&6; } if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" test -z "$striplib" && striplib="$STRIP --strip-unneeded" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else # FIXME - insert some real tests, host_os isn't really good enough case $host_os in darwin*) if test -n "$STRIP"; then striplib="$STRIP -x" old_striplib="$STRIP -S" { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi ;; *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } ;; esac fi # Report what library types will actually be built { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 $as_echo_n "checking if libtool supports shared libraries... " >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 $as_echo "$can_build_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 $as_echo_n "checking whether to build shared libraries... " >&6; } test no = "$can_build_shared" && enable_shared=no # On AIX, shared libraries and static libraries use the same namespace, and # are all built from PIC. case $host_os in aix3*) test yes = "$enable_shared" && enable_static=no if test -n "$RANLIB"; then archive_cmds="$archive_cmds~\$RANLIB \$lib" postinstall_cmds='$RANLIB $lib' fi ;; aix[4-9]*) if test ia64 != "$host_cpu"; then case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in yes,aix,yes) ;; # shared object as lib.so file only yes,svr4,*) ;; # shared object as lib.so archive member only yes,*) enable_static=no ;; # shared object in lib.a archive as well esac fi ;; esac { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 $as_echo "$enable_shared" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 $as_echo_n "checking whether to build static libraries... " >&6; } # Make sure either enable_shared or enable_static is yes. test yes = "$enable_shared" || enable_static=yes { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 $as_echo "$enable_static" >&6; } fi ac_ext=c ac_cpp='$CPP $CPPFLAGS' ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' ac_compiler_gnu=$ac_cv_c_compiler_gnu CC=$lt_save_CC ac_config_commands="$ac_config_commands libtool" # Only expand once: if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi PKG_CONFIG=$ac_cv_path_PKG_CONFIG if test -n "$PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 $as_echo "$PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi fi if test -z "$ac_cv_path_PKG_CONFIG"; then ac_pt_PKG_CONFIG=$PKG_CONFIG # Extract the first word of "pkg-config", so it can be a program name with args. set dummy pkg-config; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : $as_echo_n "(cached) " >&6 else case $ac_pt_PKG_CONFIG in [\\/]* | ?:[\\/]*) ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG if test -n "$ac_pt_PKG_CONFIG"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 $as_echo "$ac_pt_PKG_CONFIG" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test "x$ac_pt_PKG_CONFIG" = x; then PKG_CONFIG="" else case $cross_compiling:$ac_tool_warned in yes:) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} ac_tool_warned=yes ;; esac PKG_CONFIG=$ac_pt_PKG_CONFIG fi else PKG_CONFIG="$ac_cv_path_PKG_CONFIG" fi fi if test -n "$PKG_CONFIG"; then _pkg_min_version=0.9.0 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } PKG_CONFIG="" fi fi weston_save_LIBS=${LIBS} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5 $as_echo_n "checking for library containing dlopen... " >&6; } if ${ac_cv_search_dlopen+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 dlopen (); int main () { return dlopen (); ; return 0; } _ACEOF for ac_lib in '' dl; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_dlopen=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_dlopen+:} false; then : break fi done if ${ac_cv_search_dlopen+:} false; then : else ac_cv_search_dlopen=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5 $as_echo "$ac_cv_search_dlopen" >&6; } ac_res=$ac_cv_search_dlopen if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi case ${ac_cv_search_dlopen} in #( 'none required') : ;; #( no) : ;; #( *) : DLOPEN_LIBS=${ac_cv_search_dlopen} ;; esac LIBS=${weston_save_LIBS} # In old glibc versions (< 2.17) clock_gettime() and clock_getres() are in librt weston_save_LIBS=${LIBS} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5 $as_echo_n "checking for library containing clock_gettime... " >&6; } if ${ac_cv_search_clock_gettime+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 clock_gettime (); int main () { return clock_gettime (); ; return 0; } _ACEOF for ac_lib in '' rt; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_clock_gettime=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_clock_gettime+:} false; then : break fi done if ${ac_cv_search_clock_gettime+:} false; then : else ac_cv_search_clock_gettime=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5 $as_echo "$ac_cv_search_clock_gettime" >&6; } ac_res=$ac_cv_search_clock_gettime if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi case ${ac_cv_search_clock_gettime} in #( 'none required') : ;; #( no) : ;; #( *) : CLOCK_GETTIME_LIBS=${ac_cv_search_clock_gettime} ;; esac LIBS=${weston_save_LIBS} weston_save_LIBS=${LIBS} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_getres" >&5 $as_echo_n "checking for library containing clock_getres... " >&6; } if ${ac_cv_search_clock_getres+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 clock_getres (); int main () { return clock_getres (); ; return 0; } _ACEOF for ac_lib in '' rt; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_clock_getres=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_clock_getres+:} false; then : break fi done if ${ac_cv_search_clock_getres+:} false; then : else ac_cv_search_clock_getres=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_getres" >&5 $as_echo "$ac_cv_search_clock_getres" >&6; } ac_res=$ac_cv_search_clock_getres if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" fi case ${ac_cv_search_clock_getres} in #( 'none required') : ;; #( no) : ;; #( *) : CLOCK_GETRES_LIBS=${ac_cv_search_clock_getres} ;; esac LIBS=${weston_save_LIBS} ac_fn_c_check_decl "$LINENO" "SFD_CLOEXEC" "ac_cv_have_decl_SFD_CLOEXEC" "#include " if test "x$ac_cv_have_decl_SFD_CLOEXEC" = xyes; then : else as_fn_error $? "\"SFD_CLOEXEC is needed to compile weston\"" "$LINENO" 5 fi ac_fn_c_check_decl "$LINENO" "TFD_CLOEXEC" "ac_cv_have_decl_TFD_CLOEXEC" "#include " if test "x$ac_cv_have_decl_TFD_CLOEXEC" = xyes; then : else as_fn_error $? "\"TFD_CLOEXEC is needed to compile weston\"" "$LINENO" 5 fi ac_fn_c_check_decl "$LINENO" "CLOCK_MONOTONIC" "ac_cv_have_decl_CLOCK_MONOTONIC" "#include " if test "x$ac_cv_have_decl_CLOCK_MONOTONIC" = xyes; then : else as_fn_error $? "\"CLOCK_MONOTONIC is needed to compile weston\"" "$LINENO" 5 fi for ac_header in execinfo.h do : ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default" if test "x$ac_cv_header_execinfo_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_EXECINFO_H 1 _ACEOF fi done for ac_func in mkostemp strchrnul initgroups posix_fallocate do : as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" if eval test \"x\$"$as_ac_var"\" = x"yes"; then : cat >>confdefs.h <<_ACEOF #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 _ACEOF fi done # check for libdrm as a build-time dependency only # libdrm 2.4.30 introduced drm_fourcc.h. pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDRM" >&5 $as_echo_n "checking for LIBDRM... " >&6; } if test -n "$LIBDRM_CFLAGS"; then pkg_cv_LIBDRM_CFLAGS="$LIBDRM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.30\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.30") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBDRM_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.4.30" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBDRM_LIBS"; then pkg_cv_LIBDRM_LIBS="$LIBDRM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.4.30\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdrm >= 2.4.30") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBDRM_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.4.30" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBDRM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm >= 2.4.30" 2>&1` else LIBDRM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm >= 2.4.30" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBDRM_PKG_ERRORS" >&5 as_fn_error $? " libdrm is a hard build-time dependency for libweston core, but a sufficient version was not found. However, libdrm is not a runtime dependency unless you have features enabled that require it." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } as_fn_error $? " libdrm is a hard build-time dependency for libweston core, but a sufficient version was not found. However, libdrm is not a runtime dependency unless you have features enabled that require it." "$LINENO" 5 else LIBDRM_CFLAGS=$pkg_cv_LIBDRM_CFLAGS LIBDRM_LIBS=$pkg_cv_LIBDRM_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi COMPOSITOR_MODULES="wayland-server >= $WAYLAND_PREREQ_VERSION pixman-1 >= 0.25.2" ac_config_files="$ac_config_files doc/doxygen/tools.doxygen doc/doxygen/tooldev.doxygen" # Check whether --enable-devdocs was given. if test "${enable_devdocs+set}" = set; then : enableval=$enable_devdocs; else enable_devdocs=auto fi if test "x$enable_devdocs" != "xno"; then for ac_prog in doxygen do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_prog_DOXYGEN+:} false; then : $as_echo_n "(cached) " >&6 else if test -n "$DOXYGEN"; then ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test. else as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_prog_DOXYGEN="$ac_prog" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS fi fi DOXYGEN=$ac_cv_prog_DOXYGEN if test -n "$DOXYGEN"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5 $as_echo "$DOXYGEN" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi test -n "$DOXYGEN" && break done if test "x$DOXYGEN" = "x" -a "x$enable_devdocs" = "xyes"; then as_fn_error $? "Developer documentation explicitly requested, but Doxygen couldn't be found" "$LINENO" 5 fi if test "x$DOXYGEN" != "x"; then enable_devdocs=yes else enable_devdocs=no fi fi if test "x$enable_devdocs" = "xyes"; then ENABLE_DEVDOCS_TRUE= ENABLE_DEVDOCS_FALSE='#' else ENABLE_DEVDOCS_TRUE='#' ENABLE_DEVDOCS_FALSE= fi # Check whether --enable-egl was given. if test "${enable_egl+set}" = set; then : enableval=$enable_egl; else enable_egl=yes fi if test x$enable_egl = xyes; then ENABLE_EGL_TRUE= ENABLE_EGL_FALSE='#' else ENABLE_EGL_TRUE='#' ENABLE_EGL_FALSE= fi if test x$enable_egl = xyes; then $as_echo "#define ENABLE_EGL 1" >>confdefs.h pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGL" >&5 $as_echo_n "checking for EGL... " >&6; } if test -n "$EGL_CFLAGS"; then pkg_cv_EGL_CFLAGS="$EGL_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl glesv2\""; } >&5 ($PKG_CONFIG --exists --print-errors "egl glesv2") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EGL_CFLAGS=`$PKG_CONFIG --cflags "egl glesv2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$EGL_LIBS"; then pkg_cv_EGL_LIBS="$EGL_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl glesv2\""; } >&5 ($PKG_CONFIG --exists --print-errors "egl glesv2") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EGL_LIBS=`$PKG_CONFIG --libs "egl glesv2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "egl glesv2" 2>&1` else EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "egl glesv2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$EGL_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (egl glesv2) were not met: $EGL_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables EGL_CFLAGS and EGL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables EGL_CFLAGS and EGL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else EGL_CFLAGS=$pkg_cv_EGL_CFLAGS EGL_LIBS=$pkg_cv_EGL_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EGL_TESTS" >&5 $as_echo_n "checking for EGL_TESTS... " >&6; } if test -n "$EGL_TESTS_CFLAGS"; then pkg_cv_EGL_TESTS_CFLAGS="$EGL_TESTS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl glesv2 wayland-client wayland-egl\""; } >&5 ($PKG_CONFIG --exists --print-errors "egl glesv2 wayland-client wayland-egl") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EGL_TESTS_CFLAGS=`$PKG_CONFIG --cflags "egl glesv2 wayland-client wayland-egl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$EGL_TESTS_LIBS"; then pkg_cv_EGL_TESTS_LIBS="$EGL_TESTS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl glesv2 wayland-client wayland-egl\""; } >&5 ($PKG_CONFIG --exists --print-errors "egl glesv2 wayland-client wayland-egl") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_EGL_TESTS_LIBS=`$PKG_CONFIG --libs "egl glesv2 wayland-client wayland-egl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then EGL_TESTS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "egl glesv2 wayland-client wayland-egl" 2>&1` else EGL_TESTS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "egl glesv2 wayland-client wayland-egl" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$EGL_TESTS_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (egl glesv2 wayland-client wayland-egl) were not met: $EGL_TESTS_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables EGL_TESTS_CFLAGS and EGL_TESTS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables EGL_TESTS_CFLAGS and EGL_TESTS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else EGL_TESTS_CFLAGS=$pkg_cv_EGL_TESTS_CFLAGS EGL_TESTS_LIBS=$pkg_cv_EGL_TESTS_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi fi COMPOSITOR_MODULES="$COMPOSITOR_MODULES xkbcommon >= 0.3.0" pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XKBCOMMON_COMPOSE" >&5 $as_echo_n "checking for XKBCOMMON_COMPOSE... " >&6; } if test -n "$XKBCOMMON_COMPOSE_CFLAGS"; then pkg_cv_XKBCOMMON_COMPOSE_CFLAGS="$XKBCOMMON_COMPOSE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbcommon >= 0.5.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "xkbcommon >= 0.5.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XKBCOMMON_COMPOSE_CFLAGS=`$PKG_CONFIG --cflags "xkbcommon >= 0.5.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$XKBCOMMON_COMPOSE_LIBS"; then pkg_cv_XKBCOMMON_COMPOSE_LIBS="$XKBCOMMON_COMPOSE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbcommon >= 0.5.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "xkbcommon >= 0.5.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XKBCOMMON_COMPOSE_LIBS=`$PKG_CONFIG --libs "xkbcommon >= 0.5.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then XKBCOMMON_COMPOSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xkbcommon >= 0.5.0" 2>&1` else XKBCOMMON_COMPOSE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xkbcommon >= 0.5.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$XKBCOMMON_COMPOSE_PKG_ERRORS" >&5 true elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } true else XKBCOMMON_COMPOSE_CFLAGS=$pkg_cv_XKBCOMMON_COMPOSE_CFLAGS XKBCOMMON_COMPOSE_LIBS=$pkg_cv_XKBCOMMON_COMPOSE_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_XKBCOMMON_COMPOSE 1" >>confdefs.h fi # Check whether --enable-setuid-install was given. if test "${enable_setuid_install+set}" = set; then : enableval=$enable_setuid_install; else enable_setuid_install=yes fi if test x$enable_setuid_install = xyes; then ENABLE_SETUID_INSTALL_TRUE= ENABLE_SETUID_INSTALL_FALSE='#' else ENABLE_SETUID_INSTALL_TRUE='#' ENABLE_SETUID_INSTALL_FALSE= fi # Check whether --enable-xwayland was given. if test "${enable_xwayland+set}" = set; then : enableval=$enable_xwayland; else enable_xwayland=yes fi # Check whether --enable-xwayland-test was given. if test "${enable_xwayland_test+set}" = set; then : enableval=$enable_xwayland_test; else enable_xwayland_test=yes fi if test x$enable_xwayland = xyes; then ENABLE_XWAYLAND_TRUE= ENABLE_XWAYLAND_FALSE='#' else ENABLE_XWAYLAND_TRUE='#' ENABLE_XWAYLAND_FALSE= fi if test x$enable_xwayland = xyes -a x$enable_xwayland_test = xyes; then ENABLE_XWAYLAND_TEST_TRUE= ENABLE_XWAYLAND_TEST_FALSE='#' else ENABLE_XWAYLAND_TEST_TRUE='#' ENABLE_XWAYLAND_TEST_FALSE= fi if test x$enable_xwayland = xyes; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XWAYLAND" >&5 $as_echo_n "checking for XWAYLAND... " >&6; } if test -n "$XWAYLAND_CFLAGS"; then pkg_cv_XWAYLAND_CFLAGS="$XWAYLAND_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-xfixes xcb-composite xcursor cairo-xcb\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb xcb-xfixes xcb-composite xcursor cairo-xcb") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XWAYLAND_CFLAGS=`$PKG_CONFIG --cflags "xcb xcb-xfixes xcb-composite xcursor cairo-xcb" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$XWAYLAND_LIBS"; then pkg_cv_XWAYLAND_LIBS="$XWAYLAND_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb xcb-xfixes xcb-composite xcursor cairo-xcb\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb xcb-xfixes xcb-composite xcursor cairo-xcb") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XWAYLAND_LIBS=`$PKG_CONFIG --libs "xcb xcb-xfixes xcb-composite xcursor cairo-xcb" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then XWAYLAND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb xcb-xfixes xcb-composite xcursor cairo-xcb" 2>&1` else XWAYLAND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb xcb-xfixes xcb-composite xcursor cairo-xcb" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$XWAYLAND_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (xcb xcb-xfixes xcb-composite xcursor cairo-xcb) were not met: $XWAYLAND_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XWAYLAND_CFLAGS and XWAYLAND_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables XWAYLAND_CFLAGS and XWAYLAND_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else XWAYLAND_CFLAGS=$pkg_cv_XWAYLAND_CFLAGS XWAYLAND_LIBS=$pkg_cv_XWAYLAND_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi $as_echo "#define BUILD_XWAYLAND 1" >>confdefs.h # Check whether --with-xserver-path was given. if test "${with_xserver_path+set}" = set; then : withval=$with_xserver_path; XSERVER_PATH="$withval" else XSERVER_PATH="/usr/bin/Xwayland" fi if test x$enable_xwayland_test = xyes; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XWAYLAND_TEST" >&5 $as_echo_n "checking for XWAYLAND_TEST... " >&6; } if test -n "$XWAYLAND_TEST_CFLAGS"; then pkg_cv_XWAYLAND_TEST_CFLAGS="$XWAYLAND_TEST_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5 ($PKG_CONFIG --exists --print-errors "x11") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XWAYLAND_TEST_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$XWAYLAND_TEST_LIBS"; then pkg_cv_XWAYLAND_TEST_LIBS="$XWAYLAND_TEST_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5 ($PKG_CONFIG --exists --print-errors "x11") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XWAYLAND_TEST_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then XWAYLAND_TEST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11" 2>&1` else XWAYLAND_TEST_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$XWAYLAND_TEST_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (x11) were not met: $XWAYLAND_TEST_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XWAYLAND_TEST_CFLAGS and XWAYLAND_TEST_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables XWAYLAND_TEST_CFLAGS and XWAYLAND_TEST_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else XWAYLAND_TEST_CFLAGS=$pkg_cv_XWAYLAND_TEST_CFLAGS XWAYLAND_TEST_LIBS=$pkg_cv_XWAYLAND_TEST_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi fi fi # Check whether --enable-x11-compositor was given. if test "${enable_x11_compositor+set}" = set; then : enableval=$enable_x11_compositor; else enable_x11_compositor=yes fi if test x$enable_x11_compositor = xyes; then ENABLE_X11_COMPOSITOR_TRUE= ENABLE_X11_COMPOSITOR_FALSE='#' else ENABLE_X11_COMPOSITOR_TRUE='#' ENABLE_X11_COMPOSITOR_FALSE= fi have_xcb_xkb=no if test x$enable_x11_compositor = xyes; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XCB" >&5 $as_echo_n "checking for XCB... " >&6; } if test -n "$XCB_CFLAGS"; then pkg_cv_XCB_CFLAGS="$XCB_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.8\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb >= 1.8") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XCB_CFLAGS=`$PKG_CONFIG --cflags "xcb >= 1.8" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$XCB_LIBS"; then pkg_cv_XCB_LIBS="$XCB_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb >= 1.8\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb >= 1.8") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_XCB_LIBS=`$PKG_CONFIG --libs "xcb >= 1.8" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then XCB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb >= 1.8" 2>&1` else XCB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb >= 1.8" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$XCB_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (xcb >= 1.8) were not met: $XCB_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables XCB_CFLAGS and XCB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables XCB_CFLAGS and XCB_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else XCB_CFLAGS=$pkg_cv_XCB_CFLAGS XCB_LIBS=$pkg_cv_XCB_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi X11_COMPOSITOR_MODULES="x11 x11-xcb xcb-shm" pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11_COMPOSITOR_XKB" >&5 $as_echo_n "checking for X11_COMPOSITOR_XKB... " >&6; } if test -n "$X11_COMPOSITOR_XKB_CFLAGS"; then pkg_cv_X11_COMPOSITOR_XKB_CFLAGS="$X11_COMPOSITOR_XKB_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xkb >= 1.9\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb-xkb >= 1.9") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_X11_COMPOSITOR_XKB_CFLAGS=`$PKG_CONFIG --cflags "xcb-xkb >= 1.9" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$X11_COMPOSITOR_XKB_LIBS"; then pkg_cv_X11_COMPOSITOR_XKB_LIBS="$X11_COMPOSITOR_XKB_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xcb-xkb >= 1.9\""; } >&5 ($PKG_CONFIG --exists --print-errors "xcb-xkb >= 1.9") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_X11_COMPOSITOR_XKB_LIBS=`$PKG_CONFIG --libs "xcb-xkb >= 1.9" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then X11_COMPOSITOR_XKB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xcb-xkb >= 1.9" 2>&1` else X11_COMPOSITOR_XKB_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xcb-xkb >= 1.9" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$X11_COMPOSITOR_XKB_PKG_ERRORS" >&5 have_xcb_xkb="no" elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_xcb_xkb="no" else X11_COMPOSITOR_XKB_CFLAGS=$pkg_cv_X11_COMPOSITOR_XKB_CFLAGS X11_COMPOSITOR_XKB_LIBS=$pkg_cv_X11_COMPOSITOR_XKB_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_xcb_xkb="yes" fi if test "x$have_xcb_xkb" = xyes; then X11_COMPOSITOR_MODULES="$X11_COMPOSITOR_MODULES xcb-xkb" $as_echo "#define HAVE_XCB_XKB 1" >>confdefs.h fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11_COMPOSITOR" >&5 $as_echo_n "checking for X11_COMPOSITOR... " >&6; } if test -n "$X11_COMPOSITOR_CFLAGS"; then pkg_cv_X11_COMPOSITOR_CFLAGS="$X11_COMPOSITOR_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_COMPOSITOR_MODULES\""; } >&5 ($PKG_CONFIG --exists --print-errors "$X11_COMPOSITOR_MODULES") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_X11_COMPOSITOR_CFLAGS=`$PKG_CONFIG --cflags "$X11_COMPOSITOR_MODULES" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$X11_COMPOSITOR_LIBS"; then pkg_cv_X11_COMPOSITOR_LIBS="$X11_COMPOSITOR_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$X11_COMPOSITOR_MODULES\""; } >&5 ($PKG_CONFIG --exists --print-errors "$X11_COMPOSITOR_MODULES") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_X11_COMPOSITOR_LIBS=`$PKG_CONFIG --libs "$X11_COMPOSITOR_MODULES" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then X11_COMPOSITOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$X11_COMPOSITOR_MODULES" 2>&1` else X11_COMPOSITOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$X11_COMPOSITOR_MODULES" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$X11_COMPOSITOR_PKG_ERRORS" >&5 as_fn_error $? "Package requirements ($X11_COMPOSITOR_MODULES) were not met: $X11_COMPOSITOR_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables X11_COMPOSITOR_CFLAGS and X11_COMPOSITOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables X11_COMPOSITOR_CFLAGS and X11_COMPOSITOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else X11_COMPOSITOR_CFLAGS=$pkg_cv_X11_COMPOSITOR_CFLAGS X11_COMPOSITOR_LIBS=$pkg_cv_X11_COMPOSITOR_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi $as_echo "#define BUILD_X11_COMPOSITOR 1" >>confdefs.h fi # Check whether --enable-drm-compositor was given. if test "${enable_drm_compositor+set}" = set; then : enableval=$enable_drm_compositor; else enable_drm_compositor=yes fi if test x$enable_drm_compositor = xyes; then ENABLE_DRM_COMPOSITOR_TRUE= ENABLE_DRM_COMPOSITOR_FALSE='#' else ENABLE_DRM_COMPOSITOR_TRUE='#' ENABLE_DRM_COMPOSITOR_FALSE= fi if test x$enable_drm_compositor = xyes; then $as_echo "#define BUILD_DRM_COMPOSITOR 1" >>confdefs.h pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRM_COMPOSITOR" >&5 $as_echo_n "checking for DRM_COMPOSITOR... " >&6; } if test -n "$DRM_COMPOSITOR_CFLAGS"; then pkg_cv_DRM_COMPOSITOR_CFLAGS="$DRM_COMPOSITOR_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DRM_COMPOSITOR_CFLAGS=`$PKG_CONFIG --cflags "libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$DRM_COMPOSITOR_LIBS"; then pkg_cv_DRM_COMPOSITOR_LIBS="$DRM_COMPOSITOR_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DRM_COMPOSITOR_LIBS=`$PKG_CONFIG --libs "libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then DRM_COMPOSITOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0" 2>&1` else DRM_COMPOSITOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$DRM_COMPOSITOR_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (libudev >= 136 libdrm >= 2.4.30 gbm mtdev >= 1.1.0) were not met: $DRM_COMPOSITOR_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables DRM_COMPOSITOR_CFLAGS and DRM_COMPOSITOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables DRM_COMPOSITOR_CFLAGS and DRM_COMPOSITOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else DRM_COMPOSITOR_CFLAGS=$pkg_cv_DRM_COMPOSITOR_CFLAGS DRM_COMPOSITOR_LIBS=$pkg_cv_DRM_COMPOSITOR_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRM_COMPOSITOR_GBM" >&5 $as_echo_n "checking for DRM_COMPOSITOR_GBM... " >&6; } if test -n "$DRM_COMPOSITOR_GBM_CFLAGS"; then pkg_cv_DRM_COMPOSITOR_GBM_CFLAGS="$DRM_COMPOSITOR_GBM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gbm >= 10.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "gbm >= 10.2") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DRM_COMPOSITOR_GBM_CFLAGS=`$PKG_CONFIG --cflags "gbm >= 10.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$DRM_COMPOSITOR_GBM_LIBS"; then pkg_cv_DRM_COMPOSITOR_GBM_LIBS="$DRM_COMPOSITOR_GBM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gbm >= 10.2\""; } >&5 ($PKG_CONFIG --exists --print-errors "gbm >= 10.2") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DRM_COMPOSITOR_GBM_LIBS=`$PKG_CONFIG --libs "gbm >= 10.2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then DRM_COMPOSITOR_GBM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "gbm >= 10.2" 2>&1` else DRM_COMPOSITOR_GBM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "gbm >= 10.2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$DRM_COMPOSITOR_GBM_PKG_ERRORS" >&5 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gbm does not support dmabuf import, will omit that capability" >&5 $as_echo "$as_me: WARNING: gbm does not support dmabuf import, will omit that capability" >&2;} elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gbm does not support dmabuf import, will omit that capability" >&5 $as_echo "$as_me: WARNING: gbm does not support dmabuf import, will omit that capability" >&2;} else DRM_COMPOSITOR_GBM_CFLAGS=$pkg_cv_DRM_COMPOSITOR_GBM_CFLAGS DRM_COMPOSITOR_GBM_LIBS=$pkg_cv_DRM_COMPOSITOR_GBM_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_GBM_FD_IMPORT 1" >>confdefs.h fi fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBINPUT_BACKEND" >&5 $as_echo_n "checking for LIBINPUT_BACKEND... " >&6; } if test -n "$LIBINPUT_BACKEND_CFLAGS"; then pkg_cv_LIBINPUT_BACKEND_CFLAGS="$LIBINPUT_BACKEND_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 0.8.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libinput >= 0.8.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBINPUT_BACKEND_CFLAGS=`$PKG_CONFIG --cflags "libinput >= 0.8.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBINPUT_BACKEND_LIBS"; then pkg_cv_LIBINPUT_BACKEND_LIBS="$LIBINPUT_BACKEND_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libinput >= 0.8.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libinput >= 0.8.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBINPUT_BACKEND_LIBS=`$PKG_CONFIG --libs "libinput >= 0.8.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBINPUT_BACKEND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libinput >= 0.8.0" 2>&1` else LIBINPUT_BACKEND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libinput >= 0.8.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBINPUT_BACKEND_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (libinput >= 0.8.0) were not met: $LIBINPUT_BACKEND_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables LIBINPUT_BACKEND_CFLAGS and LIBINPUT_BACKEND_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables LIBINPUT_BACKEND_CFLAGS and LIBINPUT_BACKEND_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else LIBINPUT_BACKEND_CFLAGS=$pkg_cv_LIBINPUT_BACKEND_CFLAGS LIBINPUT_BACKEND_LIBS=$pkg_cv_LIBINPUT_BACKEND_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for COMPOSITOR" >&5 $as_echo_n "checking for COMPOSITOR... " >&6; } if test -n "$COMPOSITOR_CFLAGS"; then pkg_cv_COMPOSITOR_CFLAGS="$COMPOSITOR_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$COMPOSITOR_MODULES\""; } >&5 ($PKG_CONFIG --exists --print-errors "$COMPOSITOR_MODULES") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_COMPOSITOR_CFLAGS=`$PKG_CONFIG --cflags "$COMPOSITOR_MODULES" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$COMPOSITOR_LIBS"; then pkg_cv_COMPOSITOR_LIBS="$COMPOSITOR_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$COMPOSITOR_MODULES\""; } >&5 ($PKG_CONFIG --exists --print-errors "$COMPOSITOR_MODULES") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_COMPOSITOR_LIBS=`$PKG_CONFIG --libs "$COMPOSITOR_MODULES" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then COMPOSITOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$COMPOSITOR_MODULES" 2>&1` else COMPOSITOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$COMPOSITOR_MODULES" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$COMPOSITOR_PKG_ERRORS" >&5 as_fn_error $? "Package requirements ($COMPOSITOR_MODULES) were not met: $COMPOSITOR_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables COMPOSITOR_CFLAGS and COMPOSITOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables COMPOSITOR_CFLAGS and COMPOSITOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else COMPOSITOR_CFLAGS=$pkg_cv_COMPOSITOR_CFLAGS COMPOSITOR_LIBS=$pkg_cv_COMPOSITOR_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_PROTOCOLS" >&5 $as_echo_n "checking for WAYLAND_PROTOCOLS... " >&6; } if test -n "$WAYLAND_PROTOCOLS_CFLAGS"; then pkg_cv_WAYLAND_PROTOCOLS_CFLAGS="$WAYLAND_PROTOCOLS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-protocols >= 1.8\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-protocols >= 1.8") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WAYLAND_PROTOCOLS_CFLAGS=`$PKG_CONFIG --cflags "wayland-protocols >= 1.8" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$WAYLAND_PROTOCOLS_LIBS"; then pkg_cv_WAYLAND_PROTOCOLS_LIBS="$WAYLAND_PROTOCOLS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-protocols >= 1.8\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-protocols >= 1.8") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WAYLAND_PROTOCOLS_LIBS=`$PKG_CONFIG --libs "wayland-protocols >= 1.8" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then WAYLAND_PROTOCOLS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-protocols >= 1.8" 2>&1` else WAYLAND_PROTOCOLS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-protocols >= 1.8" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$WAYLAND_PROTOCOLS_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (wayland-protocols >= 1.8) were not met: $WAYLAND_PROTOCOLS_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables WAYLAND_PROTOCOLS_CFLAGS and WAYLAND_PROTOCOLS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables WAYLAND_PROTOCOLS_CFLAGS and WAYLAND_PROTOCOLS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else WAYLAND_PROTOCOLS_CFLAGS=$pkg_cv_WAYLAND_PROTOCOLS_CFLAGS WAYLAND_PROTOCOLS_LIBS=$pkg_cv_WAYLAND_PROTOCOLS_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } ac_wayland_protocols_pkgdatadir=`$PKG_CONFIG --variable=pkgdatadir wayland-protocols` fi WAYLAND_PROTOCOLS_DATADIR=$ac_wayland_protocols_pkgdatadir # Check whether --enable-wayland-compositor was given. if test "${enable_wayland_compositor+set}" = set; then : enableval=$enable_wayland_compositor; else enable_wayland_compositor=yes fi if test x$enable_wayland_compositor = xyes; then ENABLE_WAYLAND_COMPOSITOR_TRUE= ENABLE_WAYLAND_COMPOSITOR_FALSE='#' else ENABLE_WAYLAND_COMPOSITOR_TRUE='#' ENABLE_WAYLAND_COMPOSITOR_FALSE= fi if test x$enable_wayland_compositor = xyes; then $as_echo "#define BUILD_WAYLAND_COMPOSITOR 1" >>confdefs.h pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_COMPOSITOR" >&5 $as_echo_n "checking for WAYLAND_COMPOSITOR... " >&6; } if test -n "$WAYLAND_COMPOSITOR_CFLAGS"; then pkg_cv_WAYLAND_COMPOSITOR_CFLAGS="$WAYLAND_COMPOSITOR_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client >= \$WAYLAND_PREREQ_VERSION wayland-cursor\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client >= $WAYLAND_PREREQ_VERSION wayland-cursor") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WAYLAND_COMPOSITOR_CFLAGS=`$PKG_CONFIG --cflags "wayland-client >= $WAYLAND_PREREQ_VERSION wayland-cursor" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$WAYLAND_COMPOSITOR_LIBS"; then pkg_cv_WAYLAND_COMPOSITOR_LIBS="$WAYLAND_COMPOSITOR_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client >= \$WAYLAND_PREREQ_VERSION wayland-cursor\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client >= $WAYLAND_PREREQ_VERSION wayland-cursor") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WAYLAND_COMPOSITOR_LIBS=`$PKG_CONFIG --libs "wayland-client >= $WAYLAND_PREREQ_VERSION wayland-cursor" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then WAYLAND_COMPOSITOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-client >= $WAYLAND_PREREQ_VERSION wayland-cursor" 2>&1` else WAYLAND_COMPOSITOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-client >= $WAYLAND_PREREQ_VERSION wayland-cursor" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$WAYLAND_COMPOSITOR_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (wayland-client >= $WAYLAND_PREREQ_VERSION wayland-cursor) were not met: $WAYLAND_COMPOSITOR_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables WAYLAND_COMPOSITOR_CFLAGS and WAYLAND_COMPOSITOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables WAYLAND_COMPOSITOR_CFLAGS and WAYLAND_COMPOSITOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else WAYLAND_COMPOSITOR_CFLAGS=$pkg_cv_WAYLAND_COMPOSITOR_CFLAGS WAYLAND_COMPOSITOR_LIBS=$pkg_cv_WAYLAND_COMPOSITOR_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi if test x$enable_egl = xyes; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_COMPOSITOR_EGL" >&5 $as_echo_n "checking for WAYLAND_COMPOSITOR_EGL... " >&6; } if test -n "$WAYLAND_COMPOSITOR_EGL_CFLAGS"; then pkg_cv_WAYLAND_COMPOSITOR_EGL_CFLAGS="$WAYLAND_COMPOSITOR_EGL_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WAYLAND_COMPOSITOR_EGL_CFLAGS=`$PKG_CONFIG --cflags "wayland-egl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$WAYLAND_COMPOSITOR_EGL_LIBS"; then pkg_cv_WAYLAND_COMPOSITOR_EGL_LIBS="$WAYLAND_COMPOSITOR_EGL_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-egl") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WAYLAND_COMPOSITOR_EGL_LIBS=`$PKG_CONFIG --libs "wayland-egl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then WAYLAND_COMPOSITOR_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-egl" 2>&1` else WAYLAND_COMPOSITOR_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-egl" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$WAYLAND_COMPOSITOR_EGL_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (wayland-egl) were not met: $WAYLAND_COMPOSITOR_EGL_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables WAYLAND_COMPOSITOR_EGL_CFLAGS and WAYLAND_COMPOSITOR_EGL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables WAYLAND_COMPOSITOR_EGL_CFLAGS and WAYLAND_COMPOSITOR_EGL_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else WAYLAND_COMPOSITOR_EGL_CFLAGS=$pkg_cv_WAYLAND_COMPOSITOR_EGL_CFLAGS WAYLAND_COMPOSITOR_EGL_LIBS=$pkg_cv_WAYLAND_COMPOSITOR_EGL_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi fi fi # Check whether --enable-headless-compositor was given. if test "${enable_headless_compositor+set}" = set; then : enableval=$enable_headless_compositor; else enable_headless_compositor=yes fi if test x$enable_headless_compositor = xyes; then ENABLE_HEADLESS_COMPOSITOR_TRUE= ENABLE_HEADLESS_COMPOSITOR_FALSE='#' else ENABLE_HEADLESS_COMPOSITOR_TRUE='#' ENABLE_HEADLESS_COMPOSITOR_FALSE= fi if test x$enable_headless_compositor = xyes; then $as_echo "#define BUILD_HEADLESS_COMPOSITOR 1" >>confdefs.h fi # Check whether --enable-fbdev-compositor was given. if test "${enable_fbdev_compositor+set}" = set; then : enableval=$enable_fbdev_compositor; else enable_fbdev_compositor=yes fi if test x$enable_fbdev_compositor = xyes; then ENABLE_FBDEV_COMPOSITOR_TRUE= ENABLE_FBDEV_COMPOSITOR_FALSE='#' else ENABLE_FBDEV_COMPOSITOR_TRUE='#' ENABLE_FBDEV_COMPOSITOR_FALSE= fi if test x$enable_fbdev_compositor = xyes; then : $as_echo "#define BUILD_FBDEV_COMPOSITOR 1" >>confdefs.h pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FBDEV_COMPOSITOR" >&5 $as_echo_n "checking for FBDEV_COMPOSITOR... " >&6; } if test -n "$FBDEV_COMPOSITOR_CFLAGS"; then pkg_cv_FBDEV_COMPOSITOR_CFLAGS="$FBDEV_COMPOSITOR_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 136 mtdev >= 1.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libudev >= 136 mtdev >= 1.1.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FBDEV_COMPOSITOR_CFLAGS=`$PKG_CONFIG --cflags "libudev >= 136 mtdev >= 1.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$FBDEV_COMPOSITOR_LIBS"; then pkg_cv_FBDEV_COMPOSITOR_LIBS="$FBDEV_COMPOSITOR_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 136 mtdev >= 1.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libudev >= 136 mtdev >= 1.1.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_FBDEV_COMPOSITOR_LIBS=`$PKG_CONFIG --libs "libudev >= 136 mtdev >= 1.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then FBDEV_COMPOSITOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev >= 136 mtdev >= 1.1.0" 2>&1` else FBDEV_COMPOSITOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libudev >= 136 mtdev >= 1.1.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$FBDEV_COMPOSITOR_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (libudev >= 136 mtdev >= 1.1.0) were not met: $FBDEV_COMPOSITOR_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables FBDEV_COMPOSITOR_CFLAGS and FBDEV_COMPOSITOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables FBDEV_COMPOSITOR_CFLAGS and FBDEV_COMPOSITOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else FBDEV_COMPOSITOR_CFLAGS=$pkg_cv_FBDEV_COMPOSITOR_CFLAGS FBDEV_COMPOSITOR_LIBS=$pkg_cv_FBDEV_COMPOSITOR_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi fi # Check whether --enable-rdp-compositor was given. if test "${enable_rdp_compositor+set}" = set; then : enableval=$enable_rdp_compositor; else enable_rdp_compositor=no fi if test x$enable_rdp_compositor = xyes; then ENABLE_RDP_COMPOSITOR_TRUE= ENABLE_RDP_COMPOSITOR_FALSE='#' else ENABLE_RDP_COMPOSITOR_TRUE='#' ENABLE_RDP_COMPOSITOR_FALSE= fi if test x$enable_rdp_compositor = xyes; then $as_echo "#define BUILD_RDP_COMPOSITOR 1" >>confdefs.h pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RDP_COMPOSITOR" >&5 $as_echo_n "checking for RDP_COMPOSITOR... " >&6; } if test -n "$RDP_COMPOSITOR_CFLAGS"; then pkg_cv_RDP_COMPOSITOR_CFLAGS="$RDP_COMPOSITOR_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp2 >= 2.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "freerdp2 >= 2.0.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_RDP_COMPOSITOR_CFLAGS=`$PKG_CONFIG --cflags "freerdp2 >= 2.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$RDP_COMPOSITOR_LIBS"; then pkg_cv_RDP_COMPOSITOR_LIBS="$RDP_COMPOSITOR_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp2 >= 2.0.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "freerdp2 >= 2.0.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_RDP_COMPOSITOR_LIBS=`$PKG_CONFIG --libs "freerdp2 >= 2.0.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then RDP_COMPOSITOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freerdp2 >= 2.0.0" 2>&1` else RDP_COMPOSITOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freerdp2 >= 2.0.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$RDP_COMPOSITOR_PKG_ERRORS" >&5 pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RDP_COMPOSITOR" >&5 $as_echo_n "checking for RDP_COMPOSITOR... " >&6; } if test -n "$RDP_COMPOSITOR_CFLAGS"; then pkg_cv_RDP_COMPOSITOR_CFLAGS="$RDP_COMPOSITOR_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp >= 1.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "freerdp >= 1.1.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_RDP_COMPOSITOR_CFLAGS=`$PKG_CONFIG --cflags "freerdp >= 1.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$RDP_COMPOSITOR_LIBS"; then pkg_cv_RDP_COMPOSITOR_LIBS="$RDP_COMPOSITOR_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp >= 1.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "freerdp >= 1.1.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_RDP_COMPOSITOR_LIBS=`$PKG_CONFIG --libs "freerdp >= 1.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then RDP_COMPOSITOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freerdp >= 1.1.0" 2>&1` else RDP_COMPOSITOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freerdp >= 1.1.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$RDP_COMPOSITOR_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (freerdp >= 1.1.0) were not met: $RDP_COMPOSITOR_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables RDP_COMPOSITOR_CFLAGS and RDP_COMPOSITOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables RDP_COMPOSITOR_CFLAGS and RDP_COMPOSITOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else RDP_COMPOSITOR_CFLAGS=$pkg_cv_RDP_COMPOSITOR_CFLAGS RDP_COMPOSITOR_LIBS=$pkg_cv_RDP_COMPOSITOR_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RDP_COMPOSITOR" >&5 $as_echo_n "checking for RDP_COMPOSITOR... " >&6; } if test -n "$RDP_COMPOSITOR_CFLAGS"; then pkg_cv_RDP_COMPOSITOR_CFLAGS="$RDP_COMPOSITOR_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp >= 1.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "freerdp >= 1.1.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_RDP_COMPOSITOR_CFLAGS=`$PKG_CONFIG --cflags "freerdp >= 1.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$RDP_COMPOSITOR_LIBS"; then pkg_cv_RDP_COMPOSITOR_LIBS="$RDP_COMPOSITOR_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freerdp >= 1.1.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "freerdp >= 1.1.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_RDP_COMPOSITOR_LIBS=`$PKG_CONFIG --libs "freerdp >= 1.1.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then RDP_COMPOSITOR_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "freerdp >= 1.1.0" 2>&1` else RDP_COMPOSITOR_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "freerdp >= 1.1.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$RDP_COMPOSITOR_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (freerdp >= 1.1.0) were not met: $RDP_COMPOSITOR_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables RDP_COMPOSITOR_CFLAGS and RDP_COMPOSITOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables RDP_COMPOSITOR_CFLAGS and RDP_COMPOSITOR_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else RDP_COMPOSITOR_CFLAGS=$pkg_cv_RDP_COMPOSITOR_CFLAGS RDP_COMPOSITOR_LIBS=$pkg_cv_RDP_COMPOSITOR_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi else RDP_COMPOSITOR_CFLAGS=$pkg_cv_RDP_COMPOSITOR_CFLAGS RDP_COMPOSITOR_LIBS=$pkg_cv_RDP_COMPOSITOR_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi SAVED_CPPFLAGS="$CPPFLAGS" CPPFLAGS="$CPPFLAGS $RDP_COMPOSITOR_CFLAGS" for ac_header in freerdp/version.h do : ac_fn_c_check_header_mongrel "$LINENO" "freerdp/version.h" "ac_cv_header_freerdp_version_h" "$ac_includes_default" if test "x$ac_cv_header_freerdp_version_h" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_FREERDP_VERSION_H 1 _ACEOF fi done CPPFLAGS="$SAVED_CPPFLAGS" fi # Check whether --enable-screen-sharing was given. if test "${enable_screen_sharing+set}" = set; then : enableval=$enable_screen_sharing; else enable_screen_sharing=no fi if test x$enable_screen_sharing = xyes; then ENABLE_SCREEN_SHARING_TRUE= ENABLE_SCREEN_SHARING_FALSE='#' else ENABLE_SCREEN_SHARING_TRUE='#' ENABLE_SCREEN_SHARING_FALSE= fi if test x$enable_screen_sharing = xyes; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SCREEN_SHARE" >&5 $as_echo_n "checking for SCREEN_SHARE... " >&6; } if test -n "$SCREEN_SHARE_CFLAGS"; then pkg_cv_SCREEN_SHARE_CFLAGS="$SCREEN_SHARE_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SCREEN_SHARE_CFLAGS=`$PKG_CONFIG --cflags "wayland-client" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$SCREEN_SHARE_LIBS"; then pkg_cv_SCREEN_SHARE_LIBS="$SCREEN_SHARE_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SCREEN_SHARE_LIBS=`$PKG_CONFIG --libs "wayland-client" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then SCREEN_SHARE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-client" 2>&1` else SCREEN_SHARE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-client" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$SCREEN_SHARE_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (wayland-client) were not met: $SCREEN_SHARE_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables SCREEN_SHARE_CFLAGS and SCREEN_SHARE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables SCREEN_SHARE_CFLAGS and SCREEN_SHARE_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else SCREEN_SHARE_CFLAGS=$pkg_cv_SCREEN_SHARE_CFLAGS SCREEN_SHARE_LIBS=$pkg_cv_SCREEN_SHARE_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi if test x$enable_rdp_compositor != xyes; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The screen-share.so module requires the RDP backend." >&5 $as_echo "$as_me: WARNING: The screen-share.so module requires the RDP backend." >&2;} fi fi # Check whether --with-cairo was given. if test "${with_cairo+set}" = set; then : withval=$with_cairo; else with_cairo="image" fi if test "x$with_cairo" = "ximage"; then cairo_modules="cairo" else if test "x$with_cairo" = "xgl"; then cairo_modules="cairo-gl" { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The --with-cairo=gl option can cause increased resource usage and potential instability, and thus is not recommended. It is needed only for a few special demo programs." >&5 $as_echo "$as_me: WARNING: The --with-cairo=gl option can cause increased resource usage and potential instability, and thus is not recommended. It is needed only for a few special demo programs." >&2;} else if test "x$with_cairo" = "xglesv2"; then cairo_modules="cairo-glesv2" { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The --with-cairo=gles2 option can cause increased resource usage and potential instability, and thus is not recommended. It is needed only for a few special demo programs." >&5 $as_echo "$as_me: WARNING: The --with-cairo=gles2 option can cause increased resource usage and potential instability, and thus is not recommended. It is needed only for a few special demo programs." >&2;} else as_fn_error $? "Unknown cairo renderer requested" "$LINENO" 5 fi fi fi # Included for legacy compat # Check whether --with-cairo-glesv2 was given. if test "${with_cairo_glesv2+set}" = set; then : withval=$with_cairo_glesv2; fi if test "x$with_cairo_glesv2" = "xyes"; then cairo_modules="cairo-glesv2" with_cairo="glesv2" fi if test "x$cairo_modules" = "xcairo-glesv2"; then $as_echo "#define USE_CAIRO_GLESV2 1" >>confdefs.h fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PIXMAN" >&5 $as_echo_n "checking for PIXMAN... " >&6; } if test -n "$PIXMAN_CFLAGS"; then pkg_cv_PIXMAN_CFLAGS="$PIXMAN_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PIXMAN_CFLAGS=`$PKG_CONFIG --cflags "pixman-1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$PIXMAN_LIBS"; then pkg_cv_PIXMAN_LIBS="$PIXMAN_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pixman-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "pixman-1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PIXMAN_LIBS=`$PKG_CONFIG --libs "pixman-1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then PIXMAN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pixman-1" 2>&1` else PIXMAN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pixman-1" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$PIXMAN_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (pixman-1) were not met: $PIXMAN_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PIXMAN_CFLAGS and PIXMAN_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables PIXMAN_CFLAGS and PIXMAN_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else PIXMAN_CFLAGS=$pkg_cv_PIXMAN_CFLAGS PIXMAN_LIBS=$pkg_cv_PIXMAN_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PNG" >&5 $as_echo_n "checking for PNG... " >&6; } if test -n "$PNG_CFLAGS"; then pkg_cv_PNG_CFLAGS="$PNG_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpng") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PNG_CFLAGS=`$PKG_CONFIG --cflags "libpng" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$PNG_LIBS"; then pkg_cv_PNG_LIBS="$PNG_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libpng\""; } >&5 ($PKG_CONFIG --exists --print-errors "libpng") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PNG_LIBS=`$PKG_CONFIG --libs "libpng" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then PNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libpng" 2>&1` else PNG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libpng" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$PNG_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (libpng) were not met: $PNG_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables PNG_CFLAGS and PNG_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables PNG_CFLAGS and PNG_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else PNG_CFLAGS=$pkg_cv_PNG_CFLAGS PNG_LIBS=$pkg_cv_PNG_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi # Check whether --with-jpeg was given. if test "${with_jpeg+set}" = set; then : withval=$with_jpeg; fi if test "x$with_jpeg" != "xno"; then : weston_save_LIBS=${LIBS} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing jpeg_CreateDecompress" >&5 $as_echo_n "checking for library containing jpeg_CreateDecompress... " >&6; } if ${ac_cv_search_jpeg_CreateDecompress+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 jpeg_CreateDecompress (); int main () { return jpeg_CreateDecompress (); ; return 0; } _ACEOF for ac_lib in '' jpeg; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_jpeg_CreateDecompress=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_jpeg_CreateDecompress+:} false; then : break fi done if ${ac_cv_search_jpeg_CreateDecompress+:} false; then : else ac_cv_search_jpeg_CreateDecompress=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_jpeg_CreateDecompress" >&5 $as_echo "$ac_cv_search_jpeg_CreateDecompress" >&6; } ac_res=$ac_cv_search_jpeg_CreateDecompress if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" have_jpeglib=yes else have_jpeglib=no fi case ${ac_cv_search_jpeg_CreateDecompress} in #( 'none required') : have_jpeglib=yes ;; #( no) : ;; #( *) : JPEG_LIBS=${ac_cv_search_jpeg_CreateDecompress} ;; esac LIBS=${weston_save_LIBS} else have_jpeglib=no fi if test "x$have_jpeglib" = "xyes"; then : $as_echo "#define HAVE_JPEG 1" >>confdefs.h else if test "x$with_jpeg" = "xyes"; then : as_fn_error $? "JPEG support explicitly requested, but jpeglib couldn't be found" "$LINENO" 5 fi fi # Check whether --with-webp was given. if test "${with_webp+set}" = set; then : withval=$with_webp; fi if test "x$with_webp" != "xno"; then : pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBP" >&5 $as_echo_n "checking for WEBP... " >&6; } if test -n "$WEBP_CFLAGS"; then pkg_cv_WEBP_CFLAGS="$WEBP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwebp\""; } >&5 ($PKG_CONFIG --exists --print-errors "libwebp") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WEBP_CFLAGS=`$PKG_CONFIG --cflags "libwebp" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$WEBP_LIBS"; then pkg_cv_WEBP_LIBS="$WEBP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libwebp\""; } >&5 ($PKG_CONFIG --exists --print-errors "libwebp") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WEBP_LIBS=`$PKG_CONFIG --libs "libwebp" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then WEBP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libwebp" 2>&1` else WEBP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libwebp" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$WEBP_PKG_ERRORS" >&5 have_webp=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_webp=no else WEBP_CFLAGS=$pkg_cv_WEBP_CFLAGS WEBP_LIBS=$pkg_cv_WEBP_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_webp=yes fi else have_webp=no fi if test "x$have_webp" = "xyes"; then : $as_echo "#define HAVE_WEBP 1" >>confdefs.h else if test "x$with_webp" = "xyes"; then : as_fn_error $? "WebP support explicitly requested, but libwebp couldn't be found" "$LINENO" 5 fi fi # Check whether --enable-vaapi-recorder was given. if test "${enable_vaapi_recorder+set}" = set; then : enableval=$enable_vaapi_recorder; else enable_vaapi_recorder=auto fi have_libva=no if test x$enable_vaapi_recorder != xno; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBVA" >&5 $as_echo_n "checking for LIBVA... " >&6; } if test -n "$LIBVA_CFLAGS"; then pkg_cv_LIBVA_CFLAGS="$LIBVA_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva >= 0.34.0 libva-drm >= 0.34.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libva >= 0.34.0 libva-drm >= 0.34.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBVA_CFLAGS=`$PKG_CONFIG --cflags "libva >= 0.34.0 libva-drm >= 0.34.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBVA_LIBS"; then pkg_cv_LIBVA_LIBS="$LIBVA_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libva >= 0.34.0 libva-drm >= 0.34.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "libva >= 0.34.0 libva-drm >= 0.34.0") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBVA_LIBS=`$PKG_CONFIG --libs "libva >= 0.34.0 libva-drm >= 0.34.0" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBVA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libva >= 0.34.0 libva-drm >= 0.34.0" 2>&1` else LIBVA_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libva >= 0.34.0 libva-drm >= 0.34.0" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBVA_PKG_ERRORS" >&5 have_libva=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_libva=no else LIBVA_CFLAGS=$pkg_cv_LIBVA_CFLAGS LIBVA_LIBS=$pkg_cv_LIBVA_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_libva=yes fi if test "x$have_libva" = "xno" -a "x$enable_vaapi_recorder" = "xyes"; then as_fn_error $? "vaapi-recorder explicitly enabled, but libva couldn't be found" "$LINENO" 5 fi if test "x$have_libva" = "xyes"; then : $as_echo "#define BUILD_VAAPI_RECORDER 1" >>confdefs.h fi fi if test "x$have_libva" = xyes; then ENABLE_VAAPI_RECORDER_TRUE= ENABLE_VAAPI_RECORDER_FALSE='#' else ENABLE_VAAPI_RECORDER_TRUE='#' ENABLE_VAAPI_RECORDER_FALSE= fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5 $as_echo_n "checking for CAIRO... " >&6; } if test -n "$CAIRO_CFLAGS"; then pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$CAIRO_LIBS"; then pkg_cv_CAIRO_LIBS="$CAIRO_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo" 2>&1` else CAIRO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$CAIRO_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (cairo) were not met: $CAIRO_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables CAIRO_CFLAGS and CAIRO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables CAIRO_CFLAGS and CAIRO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS CAIRO_LIBS=$pkg_cv_CAIRO_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TEST_CLIENT" >&5 $as_echo_n "checking for TEST_CLIENT... " >&6; } if test -n "$TEST_CLIENT_CFLAGS"; then pkg_cv_TEST_CLIENT_CFLAGS="$TEST_CLIENT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client >= \$WAYLAND_PREREQ_VERSION pixman-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client >= $WAYLAND_PREREQ_VERSION pixman-1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_TEST_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "wayland-client >= $WAYLAND_PREREQ_VERSION pixman-1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$TEST_CLIENT_LIBS"; then pkg_cv_TEST_CLIENT_LIBS="$TEST_CLIENT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client >= \$WAYLAND_PREREQ_VERSION pixman-1\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client >= $WAYLAND_PREREQ_VERSION pixman-1") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_TEST_CLIENT_LIBS=`$PKG_CONFIG --libs "wayland-client >= $WAYLAND_PREREQ_VERSION pixman-1" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-client >= $WAYLAND_PREREQ_VERSION pixman-1" 2>&1` else TEST_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-client >= $WAYLAND_PREREQ_VERSION pixman-1" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$TEST_CLIENT_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (wayland-client >= $WAYLAND_PREREQ_VERSION pixman-1) were not met: $TEST_CLIENT_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables TEST_CLIENT_CFLAGS and TEST_CLIENT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables TEST_CLIENT_CFLAGS and TEST_CLIENT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else TEST_CLIENT_CFLAGS=$pkg_cv_TEST_CLIENT_CFLAGS TEST_CLIENT_LIBS=$pkg_cv_TEST_CLIENT_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi # Check whether --enable-simple-clients was given. if test "${enable_simple_clients+set}" = set; then : enableval=$enable_simple_clients; else enable_simple_clients=yes fi if test "x$enable_simple_clients" = "xyes"; then BUILD_SIMPLE_CLIENTS_TRUE= BUILD_SIMPLE_CLIENTS_FALSE='#' else BUILD_SIMPLE_CLIENTS_TRUE='#' BUILD_SIMPLE_CLIENTS_FALSE= fi if test x$enable_simple_clients = xyes; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIMPLE_CLIENT" >&5 $as_echo_n "checking for SIMPLE_CLIENT... " >&6; } if test -n "$SIMPLE_CLIENT_CFLAGS"; then pkg_cv_SIMPLE_CLIENT_CFLAGS="$SIMPLE_CLIENT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SIMPLE_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "wayland-client" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$SIMPLE_CLIENT_LIBS"; then pkg_cv_SIMPLE_CLIENT_LIBS="$SIMPLE_CLIENT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SIMPLE_CLIENT_LIBS=`$PKG_CONFIG --libs "wayland-client" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then SIMPLE_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-client" 2>&1` else SIMPLE_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-client" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$SIMPLE_CLIENT_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (wayland-client) were not met: $SIMPLE_CLIENT_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables SIMPLE_CLIENT_CFLAGS and SIMPLE_CLIENT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables SIMPLE_CLIENT_CFLAGS and SIMPLE_CLIENT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else SIMPLE_CLIENT_CFLAGS=$pkg_cv_SIMPLE_CLIENT_CFLAGS SIMPLE_CLIENT_LIBS=$pkg_cv_SIMPLE_CLIENT_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi fi # Check whether --enable-simple-egl-clients was given. if test "${enable_simple_egl_clients+set}" = set; then : enableval=$enable_simple_egl_clients; else enable_simple_egl_clients="$enable_egl" fi if test "x$enable_simple_egl_clients" = "xyes"; then BUILD_SIMPLE_EGL_CLIENTS_TRUE= BUILD_SIMPLE_EGL_CLIENTS_FALSE='#' else BUILD_SIMPLE_EGL_CLIENTS_TRUE='#' BUILD_SIMPLE_EGL_CLIENTS_FALSE= fi if test x$enable_simple_egl_clients = xyes; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIMPLE_EGL_CLIENT" >&5 $as_echo_n "checking for SIMPLE_EGL_CLIENT... " >&6; } if test -n "$SIMPLE_EGL_CLIENT_CFLAGS"; then pkg_cv_SIMPLE_EGL_CLIENT_CFLAGS="$SIMPLE_EGL_CLIENT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl glesv2 wayland-client wayland-egl wayland-cursor\""; } >&5 ($PKG_CONFIG --exists --print-errors "egl glesv2 wayland-client wayland-egl wayland-cursor") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SIMPLE_EGL_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "egl glesv2 wayland-client wayland-egl wayland-cursor" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$SIMPLE_EGL_CLIENT_LIBS"; then pkg_cv_SIMPLE_EGL_CLIENT_LIBS="$SIMPLE_EGL_CLIENT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"egl glesv2 wayland-client wayland-egl wayland-cursor\""; } >&5 ($PKG_CONFIG --exists --print-errors "egl glesv2 wayland-client wayland-egl wayland-cursor") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SIMPLE_EGL_CLIENT_LIBS=`$PKG_CONFIG --libs "egl glesv2 wayland-client wayland-egl wayland-cursor" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then SIMPLE_EGL_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "egl glesv2 wayland-client wayland-egl wayland-cursor" 2>&1` else SIMPLE_EGL_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "egl glesv2 wayland-client wayland-egl wayland-cursor" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$SIMPLE_EGL_CLIENT_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (egl glesv2 wayland-client wayland-egl wayland-cursor) were not met: $SIMPLE_EGL_CLIENT_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables SIMPLE_EGL_CLIENT_CFLAGS and SIMPLE_EGL_CLIENT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables SIMPLE_EGL_CLIENT_CFLAGS and SIMPLE_EGL_CLIENT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else SIMPLE_EGL_CLIENT_CFLAGS=$pkg_cv_SIMPLE_EGL_CLIENT_CFLAGS SIMPLE_EGL_CLIENT_LIBS=$pkg_cv_SIMPLE_EGL_CLIENT_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi fi # Check whether --enable-simple-dmabuf-drm-client was given. if test "${enable_simple_dmabuf_drm_client+set}" = set; then : enableval=$enable_simple_dmabuf_drm_client; else enable_simple_dmabuf_drm_client="auto" fi if ! test "x$enable_simple_dmabuf_drm_client" = "xno"; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIMPLE_DMABUF_DRM_CLIENT" >&5 $as_echo_n "checking for SIMPLE_DMABUF_DRM_CLIENT... " >&6; } if test -n "$SIMPLE_DMABUF_DRM_CLIENT_CFLAGS"; then pkg_cv_SIMPLE_DMABUF_DRM_CLIENT_CFLAGS="$SIMPLE_DMABUF_DRM_CLIENT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client libdrm egl\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client libdrm egl") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SIMPLE_DMABUF_DRM_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "wayland-client libdrm egl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$SIMPLE_DMABUF_DRM_CLIENT_LIBS"; then pkg_cv_SIMPLE_DMABUF_DRM_CLIENT_LIBS="$SIMPLE_DMABUF_DRM_CLIENT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client libdrm egl\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client libdrm egl") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SIMPLE_DMABUF_DRM_CLIENT_LIBS=`$PKG_CONFIG --libs "wayland-client libdrm egl" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then SIMPLE_DMABUF_DRM_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-client libdrm egl" 2>&1` else SIMPLE_DMABUF_DRM_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-client libdrm egl" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$SIMPLE_DMABUF_DRM_CLIENT_PKG_ERRORS" >&5 have_simple_dmabuf_drm_client=unsupported elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_simple_dmabuf_drm_client=unsupported else SIMPLE_DMABUF_DRM_CLIENT_CFLAGS=$pkg_cv_SIMPLE_DMABUF_DRM_CLIENT_CFLAGS SIMPLE_DMABUF_DRM_CLIENT_LIBS=$pkg_cv_SIMPLE_DMABUF_DRM_CLIENT_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDRM_PLATFORM" >&5 $as_echo_n "checking for LIBDRM_PLATFORM... " >&6; } if test -n "$LIBDRM_PLATFORM_CFLAGS"; then pkg_cv_LIBDRM_PLATFORM_CFLAGS="$LIBDRM_PLATFORM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm_freedreno\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdrm_freedreno") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBDRM_PLATFORM_CFLAGS=`$PKG_CONFIG --cflags "libdrm_freedreno" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBDRM_PLATFORM_LIBS"; then pkg_cv_LIBDRM_PLATFORM_LIBS="$LIBDRM_PLATFORM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm_freedreno\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdrm_freedreno") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBDRM_PLATFORM_LIBS=`$PKG_CONFIG --libs "libdrm_freedreno" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBDRM_PLATFORM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm_freedreno" 2>&1` else LIBDRM_PLATFORM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm_freedreno" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBDRM_PLATFORM_PKG_ERRORS" >&5 pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDRM_PLATFORM" >&5 $as_echo_n "checking for LIBDRM_PLATFORM... " >&6; } if test -n "$LIBDRM_PLATFORM_CFLAGS"; then pkg_cv_LIBDRM_PLATFORM_CFLAGS="$LIBDRM_PLATFORM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm_intel\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdrm_intel") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBDRM_PLATFORM_CFLAGS=`$PKG_CONFIG --cflags "libdrm_intel" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBDRM_PLATFORM_LIBS"; then pkg_cv_LIBDRM_PLATFORM_LIBS="$LIBDRM_PLATFORM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm_intel\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdrm_intel") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBDRM_PLATFORM_LIBS=`$PKG_CONFIG --libs "libdrm_intel" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBDRM_PLATFORM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm_intel" 2>&1` else LIBDRM_PLATFORM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm_intel" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBDRM_PLATFORM_PKG_ERRORS" >&5 have_simple_dmabuf_drm_client=unsupported elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_simple_dmabuf_drm_client=unsupported else LIBDRM_PLATFORM_CFLAGS=$pkg_cv_LIBDRM_PLATFORM_CFLAGS LIBDRM_PLATFORM_LIBS=$pkg_cv_LIBDRM_PLATFORM_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_LIBDRM_INTEL 1" >>confdefs.h have_simple_dmabuf_drm_client=intel fi elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDRM_PLATFORM" >&5 $as_echo_n "checking for LIBDRM_PLATFORM... " >&6; } if test -n "$LIBDRM_PLATFORM_CFLAGS"; then pkg_cv_LIBDRM_PLATFORM_CFLAGS="$LIBDRM_PLATFORM_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm_intel\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdrm_intel") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBDRM_PLATFORM_CFLAGS=`$PKG_CONFIG --cflags "libdrm_intel" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBDRM_PLATFORM_LIBS"; then pkg_cv_LIBDRM_PLATFORM_LIBS="$LIBDRM_PLATFORM_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm_intel\""; } >&5 ($PKG_CONFIG --exists --print-errors "libdrm_intel") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBDRM_PLATFORM_LIBS=`$PKG_CONFIG --libs "libdrm_intel" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBDRM_PLATFORM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm_intel" 2>&1` else LIBDRM_PLATFORM_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm_intel" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBDRM_PLATFORM_PKG_ERRORS" >&5 have_simple_dmabuf_drm_client=unsupported elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_simple_dmabuf_drm_client=unsupported else LIBDRM_PLATFORM_CFLAGS=$pkg_cv_LIBDRM_PLATFORM_CFLAGS LIBDRM_PLATFORM_LIBS=$pkg_cv_LIBDRM_PLATFORM_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_LIBDRM_INTEL 1" >>confdefs.h have_simple_dmabuf_drm_client=intel fi else LIBDRM_PLATFORM_CFLAGS=$pkg_cv_LIBDRM_PLATFORM_CFLAGS LIBDRM_PLATFORM_LIBS=$pkg_cv_LIBDRM_PLATFORM_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } $as_echo "#define HAVE_LIBDRM_FREEDRENO 1" >>confdefs.h have_simple_dmabuf_drm_client=freedreno fi fi if test "x$have_simple_dmabuf_drm_client" = "xunsupported" -a "x$enable_simple_dmabuf_drm_client" = "xyes"; then as_fn_error $? "DRM dmabuf client explicitly enabled, but libdrm_intel or libdrm_freedreno not found" "$LINENO" 5 fi if test "x$have_simple_dmabuf_drm_client" = "xfreedreno" -o "x$have_simple_dmabuf_drm_client" = "xintel"; then enable_simple_dmabuf_drm_client="yes" fi fi if test "x$enable_simple_dmabuf_drm_client" = "xyes"; then BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE= BUILD_SIMPLE_DMABUF_DRM_CLIENT_FALSE='#' else BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE='#' BUILD_SIMPLE_DMABUF_DRM_CLIENT_FALSE= fi # Check whether --enable-simple-dmabuf-v4l-client was given. if test "${enable_simple_dmabuf_v4l_client+set}" = set; then : enableval=$enable_simple_dmabuf_v4l_client; else enable_simple_dmabuf_v4l_client="auto" fi if ! test "x$enable_simple_dmabuf_v4l_client" = "xno"; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIMPLE_DMABUF_V4L_CLIENT" >&5 $as_echo_n "checking for SIMPLE_DMABUF_V4L_CLIENT... " >&6; } if test -n "$SIMPLE_DMABUF_V4L_CLIENT_CFLAGS"; then pkg_cv_SIMPLE_DMABUF_V4L_CLIENT_CFLAGS="$SIMPLE_DMABUF_V4L_CLIENT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client libdrm\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client libdrm") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SIMPLE_DMABUF_V4L_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "wayland-client libdrm" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$SIMPLE_DMABUF_V4L_CLIENT_LIBS"; then pkg_cv_SIMPLE_DMABUF_V4L_CLIENT_LIBS="$SIMPLE_DMABUF_V4L_CLIENT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client libdrm\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client libdrm") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SIMPLE_DMABUF_V4L_CLIENT_LIBS=`$PKG_CONFIG --libs "wayland-client libdrm" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then SIMPLE_DMABUF_V4L_CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-client libdrm" 2>&1` else SIMPLE_DMABUF_V4L_CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-client libdrm" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$SIMPLE_DMABUF_V4L_CLIENT_PKG_ERRORS" >&5 have_simple_dmabuf_v4l_client=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_simple_dmabuf_v4l_client=no else SIMPLE_DMABUF_V4L_CLIENT_CFLAGS=$pkg_cv_SIMPLE_DMABUF_V4L_CLIENT_CFLAGS SIMPLE_DMABUF_V4L_CLIENT_LIBS=$pkg_cv_SIMPLE_DMABUF_V4L_CLIENT_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_simple_dmabuf_v4l_client=yes fi if test "x$have_simple_dmabuf_v4l_client" = "xno" -a "x$enable_simple_dmabuf_v4l_client" = "xyes"; then as_fn_error $? "V4L dmabuf client explicitly enabled, but libdrm couldn't be found" "$LINENO" 5 fi enable_simple_dmabuf_v4l_client="$have_simple_dmabuf_v4l_client" fi if test "x$enable_simple_dmabuf_v4l_client" = "xyes"; then BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE= BUILD_SIMPLE_DMABUF_V4L_CLIENT_FALSE='#' else BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE='#' BUILD_SIMPLE_DMABUF_V4L_CLIENT_FALSE= fi # Check whether --enable-clients was given. if test "${enable_clients+set}" = set; then : enableval=$enable_clients; else enable_clients=yes fi if test x$enable_clients = xyes; then BUILD_CLIENTS_TRUE= BUILD_CLIENTS_FALSE='#' else BUILD_CLIENTS_TRUE='#' BUILD_CLIENTS_FALSE= fi have_cairo_egl=no if test x$enable_clients = xyes; then $as_echo "#define BUILD_CLIENTS 1" >>confdefs.h pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CLIENT" >&5 $as_echo_n "checking for CLIENT... " >&6; } if test -n "$CLIENT_CFLAGS"; then pkg_cv_CLIENT_CFLAGS="$CLIENT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client >= \$WAYLAND_PREREQ_VERSION cairo >= 1.10.0 xkbcommon wayland-cursor\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client >= $WAYLAND_PREREQ_VERSION cairo >= 1.10.0 xkbcommon wayland-cursor") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CLIENT_CFLAGS=`$PKG_CONFIG --cflags "wayland-client >= $WAYLAND_PREREQ_VERSION cairo >= 1.10.0 xkbcommon wayland-cursor" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$CLIENT_LIBS"; then pkg_cv_CLIENT_LIBS="$CLIENT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client >= \$WAYLAND_PREREQ_VERSION cairo >= 1.10.0 xkbcommon wayland-cursor\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client >= $WAYLAND_PREREQ_VERSION cairo >= 1.10.0 xkbcommon wayland-cursor") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CLIENT_LIBS=`$PKG_CONFIG --libs "wayland-client >= $WAYLAND_PREREQ_VERSION cairo >= 1.10.0 xkbcommon wayland-cursor" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then CLIENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-client >= $WAYLAND_PREREQ_VERSION cairo >= 1.10.0 xkbcommon wayland-cursor" 2>&1` else CLIENT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-client >= $WAYLAND_PREREQ_VERSION cairo >= 1.10.0 xkbcommon wayland-cursor" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$CLIENT_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (wayland-client >= $WAYLAND_PREREQ_VERSION cairo >= 1.10.0 xkbcommon wayland-cursor) were not met: $CLIENT_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables CLIENT_CFLAGS and CLIENT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables CLIENT_CFLAGS and CLIENT_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else CLIENT_CFLAGS=$pkg_cv_CLIENT_CFLAGS CLIENT_LIBS=$pkg_cv_CLIENT_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SERVER" >&5 $as_echo_n "checking for SERVER... " >&6; } if test -n "$SERVER_CFLAGS"; then pkg_cv_SERVER_CFLAGS="$SERVER_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-server\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-server") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SERVER_CFLAGS=`$PKG_CONFIG --cflags "wayland-server" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$SERVER_LIBS"; then pkg_cv_SERVER_LIBS="$SERVER_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-server\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-server") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SERVER_LIBS=`$PKG_CONFIG --libs "wayland-server" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then SERVER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-server" 2>&1` else SERVER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-server" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$SERVER_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (wayland-server) were not met: $SERVER_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables SERVER_CFLAGS and SERVER_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables SERVER_CFLAGS and SERVER_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else SERVER_CFLAGS=$pkg_cv_SERVER_CFLAGS SERVER_LIBS=$pkg_cv_SERVER_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WESTON_INFO" >&5 $as_echo_n "checking for WESTON_INFO... " >&6; } if test -n "$WESTON_INFO_CFLAGS"; then pkg_cv_WESTON_INFO_CFLAGS="$WESTON_INFO_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client >= \$WAYLAND_PREREQ_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client >= $WAYLAND_PREREQ_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WESTON_INFO_CFLAGS=`$PKG_CONFIG --cflags "wayland-client >= $WAYLAND_PREREQ_VERSION" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$WESTON_INFO_LIBS"; then pkg_cv_WESTON_INFO_LIBS="$WESTON_INFO_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-client >= \$WAYLAND_PREREQ_VERSION\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-client >= $WAYLAND_PREREQ_VERSION") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WESTON_INFO_LIBS=`$PKG_CONFIG --libs "wayland-client >= $WAYLAND_PREREQ_VERSION" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then WESTON_INFO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-client >= $WAYLAND_PREREQ_VERSION" 2>&1` else WESTON_INFO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-client >= $WAYLAND_PREREQ_VERSION" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$WESTON_INFO_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (wayland-client >= $WAYLAND_PREREQ_VERSION) were not met: $WESTON_INFO_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables WESTON_INFO_CFLAGS and WESTON_INFO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables WESTON_INFO_CFLAGS and WESTON_INFO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else WESTON_INFO_CFLAGS=$pkg_cv_WESTON_INFO_CFLAGS WESTON_INFO_LIBS=$pkg_cv_WESTON_INFO_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi # Only check for cairo-egl if a GL or GLES renderer requested if test "x$cairo_modules" = "xcairo-gl" -o "x$cairo_modules" = "xcairo-glesv2"; then : pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO_EGL" >&5 $as_echo_n "checking for CAIRO_EGL... " >&6; } if test -n "$CAIRO_EGL_CFLAGS"; then pkg_cv_CAIRO_EGL_CFLAGS="$CAIRO_EGL_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl egl cairo-egl >= 1.11.3 \$cairo_modules\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-egl egl cairo-egl >= 1.11.3 $cairo_modules") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CAIRO_EGL_CFLAGS=`$PKG_CONFIG --cflags "wayland-egl egl cairo-egl >= 1.11.3 $cairo_modules" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$CAIRO_EGL_LIBS"; then pkg_cv_CAIRO_EGL_LIBS="$CAIRO_EGL_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-egl egl cairo-egl >= 1.11.3 \$cairo_modules\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-egl egl cairo-egl >= 1.11.3 $cairo_modules") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_CAIRO_EGL_LIBS=`$PKG_CONFIG --libs "wayland-egl egl cairo-egl >= 1.11.3 $cairo_modules" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then CAIRO_EGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-egl egl cairo-egl >= 1.11.3 $cairo_modules" 2>&1` else CAIRO_EGL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-egl egl cairo-egl >= 1.11.3 $cairo_modules" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$CAIRO_EGL_PKG_ERRORS" >&5 have_cairo_egl=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_cairo_egl=no else CAIRO_EGL_CFLAGS=$pkg_cv_CAIRO_EGL_CFLAGS CAIRO_EGL_LIBS=$pkg_cv_CAIRO_EGL_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_cairo_egl=yes fi if test "x$have_cairo_egl" = "xyes"; then : $as_echo "#define HAVE_CAIRO_EGL 1" >>confdefs.h else as_fn_error $? "cairo-egl not used because $CAIRO_EGL_PKG_ERRORS" "$LINENO" 5 fi else have_cairo_egl=no fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGO" >&5 $as_echo_n "checking for PANGO... " >&6; } if test -n "$PANGO_CFLAGS"; then pkg_cv_PANGO_CFLAGS="$PANGO_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangocairo pango glib-2.0 >= 2.36\""; } >&5 ($PKG_CONFIG --exists --print-errors "pangocairo pango glib-2.0 >= 2.36") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PANGO_CFLAGS=`$PKG_CONFIG --cflags "pangocairo pango glib-2.0 >= 2.36" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$PANGO_LIBS"; then pkg_cv_PANGO_LIBS="$PANGO_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangocairo pango glib-2.0 >= 2.36\""; } >&5 ($PKG_CONFIG --exists --print-errors "pangocairo pango glib-2.0 >= 2.36") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_PANGO_LIBS=`$PKG_CONFIG --libs "pangocairo pango glib-2.0 >= 2.36" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then PANGO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pangocairo pango glib-2.0 >= 2.36" 2>&1` else PANGO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pangocairo pango glib-2.0 >= 2.36" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$PANGO_PKG_ERRORS" >&5 have_pango=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_pango=no else PANGO_CFLAGS=$pkg_cv_PANGO_CFLAGS PANGO_LIBS=$pkg_cv_PANGO_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_pango=yes fi fi # Check whether --enable-resize-optimization was given. if test "${enable_resize_optimization+set}" = set; then : enableval=$enable_resize_optimization; else enable_resize_optimization=yes fi if test "x$enable_resize_optimization" = "xyes"; then : $as_echo "#define USE_RESIZE_POOL 1" >>confdefs.h fi # Check whether --enable-weston-launch was given. if test "${enable_weston_launch+set}" = set; then : enableval=$enable_weston_launch; else enable_weston_launch=yes fi if test x$enable_weston_launch = xyes; then BUILD_WESTON_LAUNCH_TRUE= BUILD_WESTON_LAUNCH_FALSE='#' else BUILD_WESTON_LAUNCH_TRUE='#' BUILD_WESTON_LAUNCH_FALSE= fi if test x$enable_weston_launch = xyes; then weston_save_LIBS=${LIBS} { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pam_open_session" >&5 $as_echo_n "checking for library containing pam_open_session... " >&6; } if ${ac_cv_search_pam_open_session+:} false; then : $as_echo_n "(cached) " >&6 else ac_func_search_save_LIBS=$LIBS cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* 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 pam_open_session (); int main () { return pam_open_session (); ; return 0; } _ACEOF for ac_lib in '' pam; do if test -z "$ac_lib"; then ac_res="none required" else ac_res=-l$ac_lib LIBS="-l$ac_lib $ac_func_search_save_LIBS" fi if ac_fn_c_try_link "$LINENO"; then : ac_cv_search_pam_open_session=$ac_res fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext if ${ac_cv_search_pam_open_session+:} false; then : break fi done if ${ac_cv_search_pam_open_session+:} false; then : else ac_cv_search_pam_open_session=no fi rm conftest.$ac_ext LIBS=$ac_func_search_save_LIBS fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pam_open_session" >&5 $as_echo "$ac_cv_search_pam_open_session" >&6; } ac_res=$ac_cv_search_pam_open_session if test "$ac_res" != no; then : test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" have_pam=yes else have_pam=no fi case ${ac_cv_search_pam_open_session} in #( 'none required') : have_pam=yes ;; #( no) : ;; #( *) : PAM_LIBS=${ac_cv_search_pam_open_session} ;; esac LIBS=${weston_save_LIBS} if test x$have_pam = xno; then as_fn_error $? "weston-launch requires pam" "$LINENO" 5 fi fi if test "x$have_pango" = "xyes"; then HAVE_PANGO_TRUE= HAVE_PANGO_FALSE='#' else HAVE_PANGO_TRUE='#' HAVE_PANGO_FALSE= fi if test "x$have_cairo_egl" = "xyes" -a "x$cairo_modules" = "xcairo-glesv2" -a "x$enable_egl" = "xyes"; then HAVE_CAIRO_GLESV2_TRUE= HAVE_CAIRO_GLESV2_FALSE='#' else HAVE_CAIRO_GLESV2_TRUE='#' HAVE_CAIRO_GLESV2_FALSE= fi if test x$cairo_modules = "xcairo-gl" -a "x$have_cairo_egl" = "xyes" -a "x$enable_egl" = "xyes"; then BUILD_FULL_GL_CLIENTS_TRUE= BUILD_FULL_GL_CLIENTS_FALSE='#' else BUILD_FULL_GL_CLIENTS_TRUE='#' BUILD_FULL_GL_CLIENTS_FALSE= fi if test '(' "x$have_cairo_egl" != "xyes" -o "x$cairo_modules" = "xcairo-glesv2" ')' -a "x$enable_simple_egl_clients" = "xyes"; then BUILD_SUBSURFACES_CLIENT_TRUE= BUILD_SUBSURFACES_CLIENT_FALSE='#' else BUILD_SUBSURFACES_CLIENT_TRUE='#' BUILD_SUBSURFACES_CLIENT_FALSE= fi if true; then ENABLE_DESKTOP_SHELL_TRUE= ENABLE_DESKTOP_SHELL_FALSE='#' else ENABLE_DESKTOP_SHELL_TRUE='#' ENABLE_DESKTOP_SHELL_FALSE= fi # Check whether --enable-fullscreen-shell was given. if test "${enable_fullscreen_shell+set}" = set; then : enableval=$enable_fullscreen_shell; else enable_fullscreen_shell=yes fi if test "x$enable_fullscreen_shell" = "xyes"; then ENABLE_FULLSCREEN_SHELL_TRUE= ENABLE_FULLSCREEN_SHELL_FALSE='#' else ENABLE_FULLSCREEN_SHELL_TRUE='#' ENABLE_FULLSCREEN_SHELL_FALSE= fi # CMS modules # Check whether --enable-colord was given. if test "${enable_colord+set}" = set; then : enableval=$enable_colord; else enable_colord=auto fi have_colord=no if test "x$enable_colord" != "xno"; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for COLORD" >&5 $as_echo_n "checking for COLORD... " >&6; } if test -n "$COLORD_CFLAGS"; then pkg_cv_COLORD_CFLAGS="$COLORD_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"colord >= 0.1.27\""; } >&5 ($PKG_CONFIG --exists --print-errors "colord >= 0.1.27") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_COLORD_CFLAGS=`$PKG_CONFIG --cflags "colord >= 0.1.27" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$COLORD_LIBS"; then pkg_cv_COLORD_LIBS="$COLORD_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"colord >= 0.1.27\""; } >&5 ($PKG_CONFIG --exists --print-errors "colord >= 0.1.27") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_COLORD_LIBS=`$PKG_CONFIG --libs "colord >= 0.1.27" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then COLORD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "colord >= 0.1.27" 2>&1` else COLORD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "colord >= 0.1.27" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$COLORD_PKG_ERRORS" >&5 have_colord=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_colord=no else COLORD_CFLAGS=$pkg_cv_COLORD_CFLAGS COLORD_LIBS=$pkg_cv_COLORD_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_colord=yes fi if test "x$have_colord" = "xno" -a "x$enable_colord" = "xyes"; then as_fn_error $? "colord support explicitly requested, but colord couldn't be found" "$LINENO" 5 fi if test "x$have_colord" = "xyes"; then enable_colord=yes fi fi if test "x$enable_colord" = "xyes"; then ENABLE_COLORD_TRUE= ENABLE_COLORD_FALSE='#' else ENABLE_COLORD_TRUE='#' ENABLE_COLORD_FALSE= fi # dbus support # Check whether --enable-dbus was given. if test "${enable_dbus+set}" = set; then : enableval=$enable_dbus; else enable_dbus=auto fi if test "x$enable_dbus" != "xno"; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DBUS" >&5 $as_echo_n "checking for DBUS... " >&6; } if test -n "$DBUS_CFLAGS"; then pkg_cv_DBUS_CFLAGS="$DBUS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.6") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DBUS_CFLAGS=`$PKG_CONFIG --cflags "dbus-1 >= 1.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$DBUS_LIBS"; then pkg_cv_DBUS_LIBS="$DBUS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dbus-1 >= 1.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "dbus-1 >= 1.6") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_DBUS_LIBS=`$PKG_CONFIG --libs "dbus-1 >= 1.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then DBUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "dbus-1 >= 1.6" 2>&1` else DBUS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "dbus-1 >= 1.6" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$DBUS_PKG_ERRORS" >&5 have_dbus=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_dbus=no else DBUS_CFLAGS=$pkg_cv_DBUS_CFLAGS DBUS_LIBS=$pkg_cv_DBUS_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_dbus=yes fi if test "x$have_dbus" = "xno" -a "x$enable_dbus" = "xyes"; then as_fn_error $? "dbus support explicitly requested, but libdbus couldn't be found" "$LINENO" 5 fi if test "x$have_dbus" = "xyes"; then enable_dbus=yes $as_echo "#define HAVE_DBUS 1" >>confdefs.h else enable_dbus=no fi fi if test "x$enable_dbus" = "xyes"; then ENABLE_DBUS_TRUE= ENABLE_DBUS_FALSE='#' else ENABLE_DBUS_TRUE='#' ENABLE_DBUS_FALSE= fi # systemd-login support # Check whether --enable-systemd-login was given. if test "${enable_systemd_login+set}" = set; then : enableval=$enable_systemd_login; else enable_systemd_login=auto fi if test x$enable_systemd_login != xno -a x$have_dbus != xno; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD_LOGIN" >&5 $as_echo_n "checking for SYSTEMD_LOGIN... " >&6; } if test -n "$SYSTEMD_LOGIN_CFLAGS"; then pkg_cv_SYSTEMD_LOGIN_CFLAGS="$SYSTEMD_LOGIN_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd >= 209") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SYSTEMD_LOGIN_CFLAGS=`$PKG_CONFIG --cflags "libsystemd >= 209" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$SYSTEMD_LOGIN_LIBS"; then pkg_cv_SYSTEMD_LOGIN_LIBS="$SYSTEMD_LOGIN_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd >= 209\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd >= 209") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SYSTEMD_LOGIN_LIBS=`$PKG_CONFIG --libs "libsystemd >= 209" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then SYSTEMD_LOGIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd >= 209" 2>&1` else SYSTEMD_LOGIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd >= 209" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$SYSTEMD_LOGIN_PKG_ERRORS" >&5 have_systemd_login_209=no;have_systemd_login=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_systemd_login_209=no;have_systemd_login=no else SYSTEMD_LOGIN_CFLAGS=$pkg_cv_SYSTEMD_LOGIN_CFLAGS SYSTEMD_LOGIN_LIBS=$pkg_cv_SYSTEMD_LOGIN_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_systemd_login_209=yes;have_systemd_login=yes fi # Older versions of systemd package systemd-login separately. Fall back on that if test x$have_systemd_login != xyes; then : pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD_LOGIN" >&5 $as_echo_n "checking for SYSTEMD_LOGIN... " >&6; } if test -n "$SYSTEMD_LOGIN_CFLAGS"; then pkg_cv_SYSTEMD_LOGIN_CFLAGS="$SYSTEMD_LOGIN_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-login >= 198\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd-login >= 198") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SYSTEMD_LOGIN_CFLAGS=`$PKG_CONFIG --cflags "libsystemd-login >= 198" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$SYSTEMD_LOGIN_LIBS"; then pkg_cv_SYSTEMD_LOGIN_LIBS="$SYSTEMD_LOGIN_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd-login >= 198\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd-login >= 198") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SYSTEMD_LOGIN_LIBS=`$PKG_CONFIG --libs "libsystemd-login >= 198" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then SYSTEMD_LOGIN_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd-login >= 198" 2>&1` else SYSTEMD_LOGIN_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd-login >= 198" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$SYSTEMD_LOGIN_PKG_ERRORS" >&5 have_systemd_login=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_systemd_login=no else SYSTEMD_LOGIN_CFLAGS=$pkg_cv_SYSTEMD_LOGIN_CFLAGS SYSTEMD_LOGIN_LIBS=$pkg_cv_SYSTEMD_LOGIN_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_systemd_login=yes fi fi else have_systemd_login=no fi if test "x$have_systemd_login" = "xno" -a "x$enable_systemd_login" = "xyes"; then as_fn_error $? "systemd-login support explicitly enabled, but can't find libsystemd>=209, libsystemd-login or dbus" "$LINENO" 5 fi if test "x$have_systemd_login" = "xyes"; then : $as_echo "#define HAVE_SYSTEMD_LOGIN 1" >>confdefs.h fi if test "x$have_systemd_login" = "xyes"; then HAVE_SYSTEMD_LOGIN_TRUE= HAVE_SYSTEMD_LOGIN_FALSE='#' else HAVE_SYSTEMD_LOGIN_TRUE='#' HAVE_SYSTEMD_LOGIN_FALSE= fi if test "x$have_systemd_login_209" = "xyes"; then : $as_echo "#define HAVE_SYSTEMD_LOGIN_209 1" >>confdefs.h fi # Note that other features might want libxml2, or this feature might use # alternative xml libraries at some point. Therefore the feature and # pre-requisite concepts are split. # Check whether --enable-junit_xml was given. if test "${enable_junit_xml+set}" = set; then : enableval=$enable_junit_xml; else enable_junit_xml=auto fi if test "x$enable_junit_xml" != "xno"; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBXML2" >&5 $as_echo_n "checking for LIBXML2... " >&6; } if test -n "$LIBXML2_CFLAGS"; then pkg_cv_LIBXML2_CFLAGS="$LIBXML2_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML2_CFLAGS=`$PKG_CONFIG --cflags "libxml-2.0 >= 2.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBXML2_LIBS"; then pkg_cv_LIBXML2_LIBS="$LIBXML2_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libxml-2.0 >= 2.6\""; } >&5 ($PKG_CONFIG --exists --print-errors "libxml-2.0 >= 2.6") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBXML2_LIBS=`$PKG_CONFIG --libs "libxml-2.0 >= 2.6" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBXML2_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libxml-2.0 >= 2.6" 2>&1` else LIBXML2_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libxml-2.0 >= 2.6" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBXML2_PKG_ERRORS" >&5 have_libxml2=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_libxml2=no else LIBXML2_CFLAGS=$pkg_cv_LIBXML2_CFLAGS LIBXML2_LIBS=$pkg_cv_LIBXML2_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_libxml2=yes fi if test "x$have_libxml2" = "xno" -a "x$enable_junit_xml" = "xyes"; then as_fn_error $? "JUnit XML support explicitly requested, but libxml2 couldn't be found" "$LINENO" 5 fi if test "x$have_libxml2" = "xyes"; then enable_junit_xml=yes $as_echo "#define ENABLE_JUNIT_XML 1" >>confdefs.h else enable_junit_xml=no fi fi if test "x$enable_junit_xml" = "xyes"; then ENABLE_JUNIT_XML_TRUE= ENABLE_JUNIT_XML_FALSE='#' else ENABLE_JUNIT_XML_TRUE='#' ENABLE_JUNIT_XML_FALSE= fi # ivi-shell support # Check whether --enable-ivi-shell was given. if test "${enable_ivi_shell+set}" = set; then : enableval=$enable_ivi_shell; else enable_ivi_shell=yes fi if test "x$enable_ivi_shell" = "xyes"; then ENABLE_IVI_SHELL_TRUE= ENABLE_IVI_SHELL_FALSE='#' else ENABLE_IVI_SHELL_TRUE='#' ENABLE_IVI_SHELL_FALSE= fi # Check whether --enable-wcap-tools was given. if test "${enable_wcap_tools+set}" = set; then : enableval=$enable_wcap_tools; else enable_wcap_tools=yes fi if test x$enable_wcap_tools = xyes; then BUILD_WCAP_TOOLS_TRUE= BUILD_WCAP_TOOLS_FALSE='#' else BUILD_WCAP_TOOLS_TRUE='#' BUILD_WCAP_TOOLS_FALSE= fi if test x$enable_wcap_tools = xyes; then $as_echo "#define BUILD_WCAP_TOOLS 1" >>confdefs.h pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WCAP" >&5 $as_echo_n "checking for WCAP... " >&6; } if test -n "$WCAP_CFLAGS"; then pkg_cv_WCAP_CFLAGS="$WCAP_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WCAP_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$WCAP_LIBS"; then pkg_cv_WCAP_LIBS="$WCAP_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WCAP_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then WCAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "cairo" 2>&1` else WCAP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "cairo" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$WCAP_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (cairo) were not met: $WCAP_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables WCAP_CFLAGS and WCAP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables WCAP_CFLAGS and WCAP_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else WCAP_CFLAGS=$pkg_cv_WCAP_CFLAGS WCAP_LIBS=$pkg_cv_WCAP_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi WCAP_LIBS="$WCAP_LIBS -lm" fi pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SETBACKLIGHT" >&5 $as_echo_n "checking for SETBACKLIGHT... " >&6; } if test -n "$SETBACKLIGHT_CFLAGS"; then pkg_cv_SETBACKLIGHT_CFLAGS="$SETBACKLIGHT_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev libdrm\""; } >&5 ($PKG_CONFIG --exists --print-errors "libudev libdrm") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SETBACKLIGHT_CFLAGS=`$PKG_CONFIG --cflags "libudev libdrm" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$SETBACKLIGHT_LIBS"; then pkg_cv_SETBACKLIGHT_LIBS="$SETBACKLIGHT_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev libdrm\""; } >&5 ($PKG_CONFIG --exists --print-errors "libudev libdrm") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SETBACKLIGHT_LIBS=`$PKG_CONFIG --libs "libudev libdrm" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then SETBACKLIGHT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev libdrm" 2>&1` else SETBACKLIGHT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libudev libdrm" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$SETBACKLIGHT_PKG_ERRORS" >&5 enable_setbacklight=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } enable_setbacklight=no else SETBACKLIGHT_CFLAGS=$pkg_cv_SETBACKLIGHT_CFLAGS SETBACKLIGHT_LIBS=$pkg_cv_SETBACKLIGHT_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } enable_setbacklight=yes fi if test "x$enable_setbacklight" = "xyes"; then BUILD_SETBACKLIGHT_TRUE= BUILD_SETBACKLIGHT_FALSE='#' else BUILD_SETBACKLIGHT_TRUE='#' BUILD_SETBACKLIGHT_FALSE= fi if test "x$GCC" = "xyes"; then GCC_CFLAGS="-Wall -Wextra -Wno-unused-parameter \ -Wno-shift-negative-value -Wno-missing-field-initializers \ -g -fvisibility=hidden \ -Wstrict-prototypes -Wmissing-prototypes -Wsign-compare" fi # Check whether --enable-libunwind was given. if test "${enable_libunwind+set}" = set; then : enableval=$enable_libunwind; else enable_libunwind=auto fi if test "x$enable_libunwind" = xyes; then HAVE_LIBUNWIND_TRUE= HAVE_LIBUNWIND_FALSE='#' else HAVE_LIBUNWIND_TRUE='#' HAVE_LIBUNWIND_FALSE= fi have_libunwind=no if test "x$enable_libunwind" != "xno"; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUNWIND" >&5 $as_echo_n "checking for LIBUNWIND... " >&6; } if test -n "$LIBUNWIND_CFLAGS"; then pkg_cv_LIBUNWIND_CFLAGS="$LIBUNWIND_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libunwind\""; } >&5 ($PKG_CONFIG --exists --print-errors "libunwind") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBUNWIND_CFLAGS=`$PKG_CONFIG --cflags "libunwind" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LIBUNWIND_LIBS"; then pkg_cv_LIBUNWIND_LIBS="$LIBUNWIND_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libunwind\""; } >&5 ($PKG_CONFIG --exists --print-errors "libunwind") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LIBUNWIND_LIBS=`$PKG_CONFIG --libs "libunwind" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LIBUNWIND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libunwind" 2>&1` else LIBUNWIND_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libunwind" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LIBUNWIND_PKG_ERRORS" >&5 have_libunwind=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_libunwind=no else LIBUNWIND_CFLAGS=$pkg_cv_LIBUNWIND_CFLAGS LIBUNWIND_LIBS=$pkg_cv_LIBUNWIND_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_libunwind=yes fi if test "x$have_libunwind" = "xno" -a "x$enable_libunwind" = "xyes"; then as_fn_error $? "libunwind support explicitly requested, but libunwind couldn't be found" "$LINENO" 5 fi if test "x$have_libunwind" = "xyes"; then enable_libunwind=yes $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h fi fi if test "x$WESTON_NATIVE_BACKEND" = "x"; then WESTON_NATIVE_BACKEND="drm-backend.so" fi { $as_echo "$as_me:${as_lineno-$LINENO}: Weston's native backend: $WESTON_NATIVE_BACKEND" >&5 $as_echo "$as_me: Weston's native backend: $WESTON_NATIVE_BACKEND" >&6;} cat >>confdefs.h <<_ACEOF #define WESTON_NATIVE_BACKEND "$WESTON_NATIVE_BACKEND" _ACEOF if test "x$WESTON_SHELL_CLIENT" = "x"; then WESTON_SHELL_CLIENT="weston-desktop-shell" fi { $as_echo "$as_me:${as_lineno-$LINENO}: Weston's default desktop shell client: $WESTON_SHELL_CLIENT" >&5 $as_echo "$as_me: Weston's default desktop shell client: $WESTON_SHELL_CLIENT" >&6;} cat >>confdefs.h <<_ACEOF #define WESTON_SHELL_CLIENT "$WESTON_SHELL_CLIENT" _ACEOF # Check whether --enable-demo-clients-install was given. if test "${enable_demo_clients_install+set}" = set; then : enableval=$enable_demo_clients_install; else enable_demo_clients_install=no fi if test "x$enable_demo_clients_install" = "xyes"; then INSTALL_DEMO_CLIENTS_TRUE= INSTALL_DEMO_CLIENTS_FALSE='#' else INSTALL_DEMO_CLIENTS_TRUE='#' INSTALL_DEMO_CLIENTS_FALSE= fi # Check whether --enable-lcms was given. if test "${enable_lcms+set}" = set; then : enableval=$enable_lcms; else enable_lcms=auto fi have_lcms=no if test "x$enable_lcms" != "xno"; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LCMS" >&5 $as_echo_n "checking for LCMS... " >&6; } if test -n "$LCMS_CFLAGS"; then pkg_cv_LCMS_CFLAGS="$LCMS_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2\""; } >&5 ($PKG_CONFIG --exists --print-errors "lcms2") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LCMS_CFLAGS=`$PKG_CONFIG --cflags "lcms2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$LCMS_LIBS"; then pkg_cv_LCMS_LIBS="$LCMS_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lcms2\""; } >&5 ($PKG_CONFIG --exists --print-errors "lcms2") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_LCMS_LIBS=`$PKG_CONFIG --libs "lcms2" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then LCMS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "lcms2" 2>&1` else LCMS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "lcms2" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$LCMS_PKG_ERRORS" >&5 have_lcms=no elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } have_lcms=no else LCMS_CFLAGS=$pkg_cv_LCMS_CFLAGS LCMS_LIBS=$pkg_cv_LCMS_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } have_lcms=yes fi if test "x$have_lcms" = "xno" -a "x$enable_lcms" = "xyes"; then as_fn_error $? "lcms support explicitly requested, but lcms couldn't be found" "$LINENO" 5 fi if test "x$have_lcms" = "xyes"; then enable_lcms=yes $as_echo "#define HAVE_LCMS 1" >>confdefs.h fi fi if test "x$enable_lcms" = xyes; then HAVE_LCMS_TRUE= HAVE_LCMS_FALSE='#' else HAVE_LCMS_TRUE='#' HAVE_LCMS_FALSE= fi # Extract the first word of "wayland-scanner", so it can be a program name with args. set dummy wayland-scanner; ac_word=$2 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 $as_echo_n "checking for $ac_word... " >&6; } if ${ac_cv_path_wayland_scanner+:} false; then : $as_echo_n "(cached) " >&6 else case $wayland_scanner in [\\/]* | ?:[\\/]*) ac_cv_path_wayland_scanner="$wayland_scanner" # Let the user override the test with a path. ;; *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR for as_dir in $PATH do IFS=$as_save_IFS test -z "$as_dir" && as_dir=. for ac_exec_ext in '' $ac_executable_extensions; do if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then ac_cv_path_wayland_scanner="$as_dir/$ac_word$ac_exec_ext" $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 break 2 fi done done IFS=$as_save_IFS ;; esac fi wayland_scanner=$ac_cv_path_wayland_scanner if test -n "$wayland_scanner"; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wayland_scanner" >&5 $as_echo "$wayland_scanner" >&6; } else { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } fi if test x$wayland_scanner = x; then pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WAYLAND_SCANNER" >&5 $as_echo_n "checking for WAYLAND_SCANNER... " >&6; } if test -n "$WAYLAND_SCANNER_CFLAGS"; then pkg_cv_WAYLAND_SCANNER_CFLAGS="$WAYLAND_SCANNER_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-scanner\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-scanner") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WAYLAND_SCANNER_CFLAGS=`$PKG_CONFIG --cflags "wayland-scanner" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$WAYLAND_SCANNER_LIBS"; then pkg_cv_WAYLAND_SCANNER_LIBS="$WAYLAND_SCANNER_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"wayland-scanner\""; } >&5 ($PKG_CONFIG --exists --print-errors "wayland-scanner") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_WAYLAND_SCANNER_LIBS=`$PKG_CONFIG --libs "wayland-scanner" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then WAYLAND_SCANNER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "wayland-scanner" 2>&1` else WAYLAND_SCANNER_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "wayland-scanner" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$WAYLAND_SCANNER_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (wayland-scanner) were not met: $WAYLAND_SCANNER_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables WAYLAND_SCANNER_CFLAGS and WAYLAND_SCANNER_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables WAYLAND_SCANNER_CFLAGS and WAYLAND_SCANNER_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else WAYLAND_SCANNER_CFLAGS=$pkg_cv_WAYLAND_SCANNER_CFLAGS WAYLAND_SCANNER_LIBS=$pkg_cv_WAYLAND_SCANNER_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi wayland_scanner=`$PKG_CONFIG --variable=wayland_scanner wayland-scanner` fi # Check whether --enable-systemd_notify was given. if test "${enable_systemd_notify+set}" = set; then : enableval=$enable_systemd_notify; else enable_systemd_notify=no fi if test x$enable_systemd_notify = xyes; then SYSTEMD_NOTIFY_SUPPORT_TRUE= SYSTEMD_NOTIFY_SUPPORT_FALSE='#' else SYSTEMD_NOTIFY_SUPPORT_TRUE='#' SYSTEMD_NOTIFY_SUPPORT_FALSE= fi if test "x$enable_systemd_notify" = "xyes"; then $as_echo "#define SYSTEMD_NOTIFY_SUPPORT 1" >>confdefs.h pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD_DAEMON" >&5 $as_echo_n "checking for SYSTEMD_DAEMON... " >&6; } if test -n "$SYSTEMD_DAEMON_CFLAGS"; then pkg_cv_SYSTEMD_DAEMON_CFLAGS="$SYSTEMD_DAEMON_CFLAGS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SYSTEMD_DAEMON_CFLAGS=`$PKG_CONFIG --cflags "libsystemd" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test -n "$SYSTEMD_DAEMON_LIBS"; then pkg_cv_SYSTEMD_DAEMON_LIBS="$SYSTEMD_DAEMON_LIBS" elif test -n "$PKG_CONFIG"; then if test -n "$PKG_CONFIG" && \ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsystemd\""; } >&5 ($PKG_CONFIG --exists --print-errors "libsystemd") 2>&5 ac_status=$? $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 test $ac_status = 0; }; then pkg_cv_SYSTEMD_DAEMON_LIBS=`$PKG_CONFIG --libs "libsystemd" 2>/dev/null` test "x$?" != "x0" && pkg_failed=yes else pkg_failed=yes fi else pkg_failed=untried fi if test $pkg_failed = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then _pkg_short_errors_supported=yes else _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libsystemd" 2>&1` else SYSTEMD_DAEMON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libsystemd" 2>&1` fi # Put the nasty error message in config.log where it belongs echo "$SYSTEMD_DAEMON_PKG_ERRORS" >&5 as_fn_error $? "Package requirements (libsystemd) were not met: $SYSTEMD_DAEMON_PKG_ERRORS Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you may set the environment variables SYSTEMD_DAEMON_CFLAGS and SYSTEMD_DAEMON_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details." "$LINENO" 5 elif test $pkg_failed = untried; then { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 $as_echo "no" >&6; } { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config. Alternatively, you may set the environment variables SYSTEMD_DAEMON_CFLAGS and SYSTEMD_DAEMON_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. To get pkg-config, see . See \`config.log' for more details" "$LINENO" 5; } else SYSTEMD_DAEMON_CFLAGS=$pkg_cv_SYSTEMD_DAEMON_CFLAGS SYSTEMD_DAEMON_LIBS=$pkg_cv_SYSTEMD_DAEMON_LIBS { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 $as_echo "yes" >&6; } fi fi ac_config_files="$ac_config_files Makefile libweston/version.h compositor/weston.pc" # AC_CONFIG_FILES needs the full name when running autoconf, so we need to use # libweston_abi_version here, and outside [] because of m4 quoting rules ac_config_files="$ac_config_files libweston/libweston-3.pc:libweston/libweston.pc.in" ac_config_files="$ac_config_files libweston-desktop/libweston-desktop-3.pc:libweston-desktop/libweston-desktop.pc.in" if test -f $srcdir/.git/logs/HEAD; then HAVE_GIT_REPO_TRUE= HAVE_GIT_REPO_FALSE='#' else HAVE_GIT_REPO_TRUE='#' HAVE_GIT_REPO_FALSE= fi cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure # tests run on this system so they can be shared between configure # scripts and configure runs, see configure's option --config-cache. # It is not useful on other systems. If it contains results you don't # want to keep, you may remove or edit it. # # config.status only pays attention to the cache file if you give it # the --recheck option to rerun configure. # # `ac_cv_env_foo' variables (set or unset) will be overridden when # loading this file, other *unset* `ac_cv_foo' will be assigned the # following values. _ACEOF # The following way of writing the cache mishandles newlines in values, # but we know of no workaround that is simple, portable, and efficient. # So, we kill variables containing newlines. # Ultrix sh set writes to stderr and can't be redirected directly, # and sets the high bit in the cache file unless we assign to the vars. ( for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do eval ac_val=\$$ac_var case $ac_val in #( *${as_nl}*) case $ac_var in #( *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; esac case $ac_var in #( _ | IFS | as_nl) ;; #( BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( *) { eval $ac_var=; unset $ac_var;} ;; esac ;; esac done (set) 2>&1 | case $as_nl`(ac_space=' '; set) 2>&1` in #( *${as_nl}ac_space=\ *) # `set' does not quote correctly, so add quotes: double-quote # substitution turns \\\\ into \\, and sed turns \\ into \. sed -n \ "s/'/'\\\\''/g; s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" ;; #( *) # `set' quotes correctly as required by POSIX, so do not add quotes. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" ;; esac | sort ) | sed ' /^ac_cv_env_/b end t clear :clear s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ t end s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ :end' >>confcache if diff "$cache_file" confcache >/dev/null 2>&1; then :; else if test -w "$cache_file"; then if test "x$cache_file" != "x/dev/null"; then { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 $as_echo "$as_me: updating cache $cache_file" >&6;} if test ! -f "$cache_file" || test -h "$cache_file"; then cat confcache >"$cache_file" else case $cache_file in #( */* | ?:*) mv -f confcache "$cache_file"$$ && mv -f "$cache_file"$$ "$cache_file" ;; #( *) mv -f confcache "$cache_file" ;; esac fi fi else { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} fi fi rm -f confcache test "x$prefix" = xNONE && prefix=$ac_default_prefix # Let make expand exec_prefix. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' DEFS=-DHAVE_CONFIG_H ac_libobjs= ac_ltlibobjs= U= for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue # 1. Remove the extension, and $U if already installed. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' ac_i=`$as_echo "$ac_i" | sed "$ac_script"` # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR # will be set to the directory where LIBOBJS objects are built. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' done LIBOBJS=$ac_libobjs LTLIBOBJS=$ac_ltlibobjs { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5 $as_echo_n "checking that generated files are newer than configure... " >&6; } if test -n "$am_sleep_pid"; then # Hide warnings about reused PIDs. wait $am_sleep_pid 2>/dev/null fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5 $as_echo "done" >&6; } if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then as_fn_error $? "conditional \"AMDEP\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then as_fn_error $? "conditional \"am__fastdepCC\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -n "$EXEEXT"; then am__EXEEXT_TRUE= am__EXEEXT_FALSE='#' else am__EXEEXT_TRUE='#' am__EXEEXT_FALSE= fi if test -z "${ENABLE_DEVDOCS_TRUE}" && test -z "${ENABLE_DEVDOCS_FALSE}"; then as_fn_error $? "conditional \"ENABLE_DEVDOCS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_EGL_TRUE}" && test -z "${ENABLE_EGL_FALSE}"; then as_fn_error $? "conditional \"ENABLE_EGL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_SETUID_INSTALL_TRUE}" && test -z "${ENABLE_SETUID_INSTALL_FALSE}"; then as_fn_error $? "conditional \"ENABLE_SETUID_INSTALL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_XWAYLAND_TRUE}" && test -z "${ENABLE_XWAYLAND_FALSE}"; then as_fn_error $? "conditional \"ENABLE_XWAYLAND\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_XWAYLAND_TEST_TRUE}" && test -z "${ENABLE_XWAYLAND_TEST_FALSE}"; then as_fn_error $? "conditional \"ENABLE_XWAYLAND_TEST\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_X11_COMPOSITOR_TRUE}" && test -z "${ENABLE_X11_COMPOSITOR_FALSE}"; then as_fn_error $? "conditional \"ENABLE_X11_COMPOSITOR\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_DRM_COMPOSITOR_TRUE}" && test -z "${ENABLE_DRM_COMPOSITOR_FALSE}"; then as_fn_error $? "conditional \"ENABLE_DRM_COMPOSITOR\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_WAYLAND_COMPOSITOR_TRUE}" && test -z "${ENABLE_WAYLAND_COMPOSITOR_FALSE}"; then as_fn_error $? "conditional \"ENABLE_WAYLAND_COMPOSITOR\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_HEADLESS_COMPOSITOR_TRUE}" && test -z "${ENABLE_HEADLESS_COMPOSITOR_FALSE}"; then as_fn_error $? "conditional \"ENABLE_HEADLESS_COMPOSITOR\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_FBDEV_COMPOSITOR_TRUE}" && test -z "${ENABLE_FBDEV_COMPOSITOR_FALSE}"; then as_fn_error $? "conditional \"ENABLE_FBDEV_COMPOSITOR\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_RDP_COMPOSITOR_TRUE}" && test -z "${ENABLE_RDP_COMPOSITOR_FALSE}"; then as_fn_error $? "conditional \"ENABLE_RDP_COMPOSITOR\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_SCREEN_SHARING_TRUE}" && test -z "${ENABLE_SCREEN_SHARING_FALSE}"; then as_fn_error $? "conditional \"ENABLE_SCREEN_SHARING\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_VAAPI_RECORDER_TRUE}" && test -z "${ENABLE_VAAPI_RECORDER_FALSE}"; then as_fn_error $? "conditional \"ENABLE_VAAPI_RECORDER\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_SIMPLE_CLIENTS_TRUE}" && test -z "${BUILD_SIMPLE_CLIENTS_FALSE}"; then as_fn_error $? "conditional \"BUILD_SIMPLE_CLIENTS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_SIMPLE_EGL_CLIENTS_TRUE}" && test -z "${BUILD_SIMPLE_EGL_CLIENTS_FALSE}"; then as_fn_error $? "conditional \"BUILD_SIMPLE_EGL_CLIENTS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE}" && test -z "${BUILD_SIMPLE_DMABUF_DRM_CLIENT_FALSE}"; then as_fn_error $? "conditional \"BUILD_SIMPLE_DMABUF_DRM_CLIENT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE}" && test -z "${BUILD_SIMPLE_DMABUF_V4L_CLIENT_FALSE}"; then as_fn_error $? "conditional \"BUILD_SIMPLE_DMABUF_V4L_CLIENT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_CLIENTS_TRUE}" && test -z "${BUILD_CLIENTS_FALSE}"; then as_fn_error $? "conditional \"BUILD_CLIENTS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_WESTON_LAUNCH_TRUE}" && test -z "${BUILD_WESTON_LAUNCH_FALSE}"; then as_fn_error $? "conditional \"BUILD_WESTON_LAUNCH\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_PANGO_TRUE}" && test -z "${HAVE_PANGO_FALSE}"; then as_fn_error $? "conditional \"HAVE_PANGO\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_CAIRO_GLESV2_TRUE}" && test -z "${HAVE_CAIRO_GLESV2_FALSE}"; then as_fn_error $? "conditional \"HAVE_CAIRO_GLESV2\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_FULL_GL_CLIENTS_TRUE}" && test -z "${BUILD_FULL_GL_CLIENTS_FALSE}"; then as_fn_error $? "conditional \"BUILD_FULL_GL_CLIENTS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_SUBSURFACES_CLIENT_TRUE}" && test -z "${BUILD_SUBSURFACES_CLIENT_FALSE}"; then as_fn_error $? "conditional \"BUILD_SUBSURFACES_CLIENT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_DESKTOP_SHELL_TRUE}" && test -z "${ENABLE_DESKTOP_SHELL_FALSE}"; then as_fn_error $? "conditional \"ENABLE_DESKTOP_SHELL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_FULLSCREEN_SHELL_TRUE}" && test -z "${ENABLE_FULLSCREEN_SHELL_FALSE}"; then as_fn_error $? "conditional \"ENABLE_FULLSCREEN_SHELL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_COLORD_TRUE}" && test -z "${ENABLE_COLORD_FALSE}"; then as_fn_error $? "conditional \"ENABLE_COLORD\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_DBUS_TRUE}" && test -z "${ENABLE_DBUS_FALSE}"; then as_fn_error $? "conditional \"ENABLE_DBUS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_SYSTEMD_LOGIN_TRUE}" && test -z "${HAVE_SYSTEMD_LOGIN_FALSE}"; then as_fn_error $? "conditional \"HAVE_SYSTEMD_LOGIN\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_JUNIT_XML_TRUE}" && test -z "${ENABLE_JUNIT_XML_FALSE}"; then as_fn_error $? "conditional \"ENABLE_JUNIT_XML\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${ENABLE_IVI_SHELL_TRUE}" && test -z "${ENABLE_IVI_SHELL_FALSE}"; then as_fn_error $? "conditional \"ENABLE_IVI_SHELL\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_WCAP_TOOLS_TRUE}" && test -z "${BUILD_WCAP_TOOLS_FALSE}"; then as_fn_error $? "conditional \"BUILD_WCAP_TOOLS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${BUILD_SETBACKLIGHT_TRUE}" && test -z "${BUILD_SETBACKLIGHT_FALSE}"; then as_fn_error $? "conditional \"BUILD_SETBACKLIGHT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LIBUNWIND_TRUE}" && test -z "${HAVE_LIBUNWIND_FALSE}"; then as_fn_error $? "conditional \"HAVE_LIBUNWIND\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${INSTALL_DEMO_CLIENTS_TRUE}" && test -z "${INSTALL_DEMO_CLIENTS_FALSE}"; then as_fn_error $? "conditional \"INSTALL_DEMO_CLIENTS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_LCMS_TRUE}" && test -z "${HAVE_LCMS_FALSE}"; then as_fn_error $? "conditional \"HAVE_LCMS\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${SYSTEMD_NOTIFY_SUPPORT_TRUE}" && test -z "${SYSTEMD_NOTIFY_SUPPORT_FALSE}"; then as_fn_error $? "conditional \"SYSTEMD_NOTIFY_SUPPORT\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi if test -z "${HAVE_GIT_REPO_TRUE}" && test -z "${HAVE_GIT_REPO_FALSE}"; then as_fn_error $? "conditional \"HAVE_GIT_REPO\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 ac_clean_files_save=$ac_clean_files ac_clean_files="$ac_clean_files $CONFIG_STATUS" { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} as_write_fail=0 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 #! $SHELL # Generated by $as_me. # 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-$SHELL} export SHELL _ASEOF cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 ## -------------------- ## ## 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 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 # Prefer a ksh shell builtin over an external printf program on Solaris, # but without wasting forks for bash or zsh. if test -z "$BASH_VERSION$ZSH_VERSION" \ && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then as_echo='print -r --' as_echo_n='print -rn --' elif (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 # 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. as_myself= 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 fi # Unset variables that we do not need and which cause bugs (e.g. in # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" # suppresses any "Segmentation fault" message there. '((' could # trigger a bug in pdksh 5.2.14. for as_var in BASH_ENV ENV MAIL MAILPATH do eval test x\${$as_var+set} = xset \ && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : done PS1='$ ' PS2='> ' PS4='+ ' # NLS nuisances. LC_ALL=C export LC_ALL LANGUAGE=C export LANGUAGE # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # as_fn_error STATUS ERROR [LINENO LOG_FD] # ---------------------------------------- # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are # provided, also output the error to LOG_FD, referencing LINENO. Then exit the # script with STATUS, using 1 if that was 0. as_fn_error () { as_status=$1; test $as_status -eq 0 && as_status=1 if test "$4"; then as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 fi $as_echo "$as_me: error: $2" >&2 as_fn_exit $as_status } # as_fn_error # as_fn_set_status STATUS # ----------------------- # Set $? to STATUS, without forking. as_fn_set_status () { return $1 } # as_fn_set_status # as_fn_exit STATUS # ----------------- # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. as_fn_exit () { set +e as_fn_set_status $1 exit $1 } # as_fn_exit # as_fn_unset VAR # --------------- # Portably unset VAR. as_fn_unset () { { eval $1=; unset $1;} } as_unset=as_fn_unset # as_fn_append VAR VALUE # ---------------------- # Append the text in VALUE to the end of the definition contained in VAR. Take # advantage of any shell optimizations that allow amortized linear growth over # repeated appends, instead of the typical quadratic growth present in naive # implementations. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : eval 'as_fn_append () { eval $1+=\$2 }' else as_fn_append () { eval $1=\$$1\$2 } fi # as_fn_append # as_fn_arith ARG... # ------------------ # Perform arithmetic evaluation on the ARGs, and store the result in the # global $as_val. Take advantage of shells that can avoid forks. The arguments # must be portable across $(()) and expr. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : eval 'as_fn_arith () { as_val=$(( $* )) }' else as_fn_arith () { as_val=`expr "$@" || test $? -eq 1` } fi # as_fn_arith 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 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then as_dirname=dirname else as_dirname=false fi 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'` # 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 ECHO_C= ECHO_N= ECHO_T= case `echo -n x` in #((((( -n*) case `echo 'xy\c'` in *c*) ECHO_T=' ';; # ECHO_T is single tab character. xy) ECHO_C='\c';; *) echo `echo ksh88 bug on AIX 6.1` > /dev/null ECHO_T=' ';; esac;; *) ECHO_N='-n';; esac 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 -pR'. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || as_ln_s='cp -pR' elif ln conf$$.file conf$$ 2>/dev/null; then as_ln_s=ln else as_ln_s='cp -pR' fi else as_ln_s='cp -pR' fi rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file rmdir conf$$.dir 2>/dev/null # as_fn_mkdir_p # ------------- # Create "$as_dir" as a directory, including parents if necessary. as_fn_mkdir_p () { case $as_dir in #( -*) as_dir=./$as_dir;; esac test -d "$as_dir" || eval $as_mkdir_p || { 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_fn_error $? "cannot create directory $as_dir" } # as_fn_mkdir_p if mkdir -p . 2>/dev/null; then as_mkdir_p='mkdir -p "$as_dir"' else test -d ./-p && rmdir ./-p as_mkdir_p=false fi # as_fn_executable_p FILE # ----------------------- # Test if FILE is an executable regular file. as_fn_executable_p () { test -f "$1" && test -x "$1" } # as_fn_executable_p as_test_x='test -x' as_executable_p=as_fn_executable_p # 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 ## ----------------------------------- ## ## Main body of $CONFIG_STATUS script. ## ## ----------------------------------- ## _ASEOF test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=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 weston $as_me 3.0.0, which was generated by GNU Autoconf 2.69. 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` " _ACEOF case $ac_config_files in *" "*) set x $ac_config_files; shift; ac_config_files=$*;; esac case $ac_config_headers in *" "*) set x $ac_config_headers; shift; ac_config_headers=$*;; esac cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # Files that config.status was made for. config_files="$ac_config_files" config_headers="$ac_config_headers" config_commands="$ac_config_commands" _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 ac_cs_usage="\ \`$as_me' instantiates files and other configuration actions from templates according to the current configuration. Unless the files and actions are specified as TAGs, all are instantiated by default. Usage: $0 [OPTION]... [TAG]... -h, --help print this help, then exit -V, --version print version number and configuration settings, then exit --config print configuration, 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 . weston home page: ." _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ weston config.status 3.0.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" Copyright (C) 2012 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='$ac_pwd' srcdir='$srcdir' INSTALL='$INSTALL' MKDIR_P='$MKDIR_P' AWK='$AWK' test -n "\$AWK" || AWK=awk _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # 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=`expr "X$1" : 'X\([^=]*\)='` ac_optarg= 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 ;; --config | --confi | --conf | --con | --co | --c ) $as_echo "$ac_cs_config"; 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"` ;; '') as_fn_error $? "missing file argument" ;; esac as_fn_append 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 as_fn_append CONFIG_HEADERS " '$ac_optarg'" ac_need_defaults=false;; --he | --h) # Conflict between --help and --header as_fn_error $? "ambiguous option: \`$1' Try \`$0 --help' for more information.";; --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_fn_error $? "unrecognized option: \`$1' Try \`$0 --help' for more information." ;; *) as_fn_append 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 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 if \$ac_cs_recheck; then set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion shift \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 CONFIG_SHELL='$SHELL' export CONFIG_SHELL exec "\$@" fi _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 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 _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 # # INIT-COMMANDS # AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$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='$sed_quote_subst' double_quote_subst='$double_quote_subst' delay_variable_subst='$delay_variable_subst' macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`' SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`' objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`' configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`' hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' LTCC='$LTCC' LTCFLAGS='$LTCFLAGS' compiler='$compiler_DEFAULT' # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$1 _LTECHO_EOF' } # Quote evaled strings. for var in SHELL \ ECHO \ PATH_SEPARATOR \ SED \ GREP \ EGREP \ FGREP \ LD \ NM \ LN_S \ lt_SP2NL \ lt_NL2SP \ reload_flag \ OBJDUMP \ deplibs_check_method \ file_magic_cmd \ file_magic_glob \ want_nocaseglob \ DLLTOOL \ sharedlib_from_linklib_cmd \ AR \ AR_FLAGS \ archiver_list_spec \ STRIP \ RANLIB \ CC \ CFLAGS \ compiler \ lt_cv_sys_global_symbol_pipe \ lt_cv_sys_global_symbol_to_cdecl \ lt_cv_sys_global_symbol_to_import \ lt_cv_sys_global_symbol_to_c_name_address \ lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ lt_cv_nm_interface \ nm_file_list_spec \ lt_cv_truncate_bin \ lt_prog_compiler_no_builtin_flag \ lt_prog_compiler_pic \ lt_prog_compiler_wl \ lt_prog_compiler_static \ lt_cv_prog_compiler_c_o \ need_locks \ MANIFEST_TOOL \ 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_separator \ exclude_expsyms \ include_expsyms \ file_list_spec \ variables_saved_for_relink \ libname_spec \ library_names_spec \ soname_spec \ install_override_mode \ finish_eval \ old_striplib \ striplib; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) 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 \ postlink_cmds \ postinstall_cmds \ postuninstall_cmds \ finish_cmds \ sys_lib_search_path_spec \ configure_time_dlsearch_path \ configure_time_lt_sys_library_path; do case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in *[\\\\\\\`\\"\\\$]*) eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes ;; *) eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" ;; esac done ac_aux_dir='$ac_aux_dir' # See if we are running on zsh, and set the options that allow our # commands through without removal of \ escapes INIT. if test -n "\${ZSH_VERSION+set}"; then setopt NO_GLOB_SUBST fi PACKAGE='$PACKAGE' VERSION='$VERSION' RM='$RM' ofile='$ofile' _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # 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" ;; "doc/doxygen/tools.doxygen") CONFIG_FILES="$CONFIG_FILES doc/doxygen/tools.doxygen" ;; "doc/doxygen/tooldev.doxygen") CONFIG_FILES="$CONFIG_FILES doc/doxygen/tooldev.doxygen" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "libweston/version.h") CONFIG_FILES="$CONFIG_FILES libweston/version.h" ;; "compositor/weston.pc") CONFIG_FILES="$CONFIG_FILES compositor/weston.pc" ;; "libweston/libweston-3.pc") CONFIG_FILES="$CONFIG_FILES libweston/libweston-3.pc:libweston/libweston.pc.in" ;; "libweston-desktop/libweston-desktop-3.pc") CONFIG_FILES="$CONFIG_FILES libweston-desktop/libweston-desktop-3.pc:libweston-desktop/libweston-desktop.pc.in" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 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= ac_tmp= trap 'exit_status=$? : "${ac_tmp:=$tmp}" { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status ' 0 trap 'as_fn_exit 1' 1 2 13 15 } # Create a (secure) tmp directory for tmp files. { tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && test -d "$tmp" } || { tmp=./conf$$-$RANDOM (umask 077 && mkdir "$tmp") } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 ac_tmp=$tmp # 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=`echo X | tr X '\015'` # On cygwin, bash can eat \r inside `` if the user requested igncr. # But we know of no other shell where ac_cr would be empty at this # point, so we can use a bashism as a fallback. if test "x$ac_cr" = x; then eval ac_cr=\$\'\\r\' fi 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 {' >"$ac_tmp/subs1.awk" && _ACEOF { echo "cat >conf$$subs.awk <<_ACEOF" && echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && echo "_ACEOF" } >conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` ac_delim='%!_!# ' for ac_last_try in false false false false false :; do . ./conf$$subs.sh || as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` if test $ac_delim_n = $ac_delim_num; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done rm -f conf$$subs.sh cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && _ACEOF sed -n ' h s/^/S["/; s/!.*/"]=/ p g s/^[^!]*!// :repl t repl s/'"$ac_delim"'$// t delim :nl h s/\(.\{148\}\)..*/\1/ t more1 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ p n b repl :more1 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t nl :delim h s/\(.\{148\}\)..*/\1/ t more2 s/["\\]/\\&/g; s/^/"/; s/$/"/ p b :more2 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ p g s/.\{148\}// t delim ' >$CONFIG_STATUS || ac_write_fail=1 rm -f conf$$subs.awk cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 _ACAWK cat >>"\$ac_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 _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 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 < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 _ACEOF # VPATH may cause trouble with some makes, so we remove sole $(srcdir), # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and # trailing colons and then remove the whole line if VPATH becomes empty # (actually we leave an empty line to preserve line numbers). if test "x$srcdir" = x.; then ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ h s/// s/^/:/ s/[ ]*$/:/ s/:\$(srcdir):/:/g s/:\${srcdir}:/:/g s/:@srcdir@:/:/g s/^:*// s/:*$// x s/\(=[ ]*\).*/\1/ G s/\n// s/^[^=]*=[ ]*$// }' fi cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=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 >"$ac_tmp/defines.awk" <<\_ACAWK || BEGIN { _ACEOF # Transform confdefs.h into an awk script `defines.awk', embedded as # here-document in config.status, that substitutes the proper values into # config.h.in to produce config.h. # Create a delimiter string that does not exist in confdefs.h, to ease # handling of long lines. ac_delim='%!_!# ' for ac_last_try in false false :; do ac_tt=`sed -n "/$ac_delim/p" confdefs.h` if test -z "$ac_tt"; then break elif $ac_last_try; then as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 else ac_delim="$ac_delim!$ac_delim _$ac_delim!! " fi done # For the awk script, D is an array of macro values keyed by name, # likewise P contains macro parameters if any. Preserve backslash # newline sequences. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* sed -n ' s/.\{148\}/&'"$ac_delim"'/g t rset :rset s/^[ ]*#[ ]*define[ ][ ]*/ / t def d :def s/\\$// t bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3"/p s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p d :bsnl s/["\\]/\\&/g s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ D["\1"]=" \3\\\\\\n"\\/p t cont s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p t cont d :cont n s/.\{148\}/&'"$ac_delim"'/g t clear :clear s/\\$// t bsnlc s/["\\]/\\&/g; s/^/"/; s/$/"/p d :bsnlc s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p b cont ' >$CONFIG_STATUS || ac_write_fail=1 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 for (key in D) D_is_set[key] = 1 FS = "" } /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\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 _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 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_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; :[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="$ac_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_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; esac case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac as_fn_append 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:${as_lineno-$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 >"$ac_tmp/stdin" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 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"; as_fn_mkdir_p 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 _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # 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:${as_lineno-$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;} _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_datarootdir_hack=' s&@datadir@&$datadir&g s&@docdir@&$docdir&g s&@infodir@&$infodir&g s&@localedir@&$localedir&g s&@mandir@&$mandir&g s&\\\${datarootdir}&$datarootdir&g' ;; esac _ACEOF # Neutralize VPATH when `$srcdir' = `.'. # Shell code in configure.ac might set extrasub. # FIXME: do we really want to maintain this feature? cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_sed_extra="$ac_vpsub $extrasub _ACEOF cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 :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 "$ac_tmp/subs.awk" \ >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ "$ac_tmp/out"`; test -z "$ac_out"; } && { $as_echo "$as_me:${as_lineno-$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 "$ac_tmp/stdin" case $ac_file in -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; esac \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; :H) # # CONFIG_HEADER # if test x"$ac_file" != x-; then { $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" } >"$ac_tmp/config.h" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 $as_echo "$as_me: $ac_file is unchanged" >&6;} else rm -f "$ac_file" mv "$ac_tmp/config.h" "$ac_file" \ || as_fn_error $? "could not create $ac_file" "$LINENO" 5 fi else $as_echo "/* $configure_input */" \ && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ || as_fn_error $? "could not create -" "$LINENO" 5 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:${as_lineno-$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"" || { # Older Autoconf 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"` # 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'`; 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; as_fn_mkdir_p # echo "creating $dirpart/$file" echo '# dummy' > "$dirpart/$file" done done } ;; "libtool":C) # See if we are running on zsh, and set the options that 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 # Generated automatically by $as_me ($PACKAGE) $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. # Provide generalized library-building support services. # Written by Gordon Matzigkeit, 1996 # Copyright (C) 2014 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. # 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 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 this program. If not, see . # The names of the tagged configurations supported by this script. available_tags='' # Configured defaults for sys_lib_dlsearch_path munging. : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"} # ### BEGIN LIBTOOL CONFIG # Which release of libtool.m4 was used? macro_version=$macro_version macro_revision=$macro_revision # Whether or not to build static libraries. build_old_libs=$enable_static # 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 # Shared archive member basename,for filename based shared library versioning on AIX. shared_archive_member_spec=$shared_archive_member_spec # Shell to use when invoking shell scripts. SHELL=$lt_SHELL # An echo program that protects backslashes. ECHO=$lt_ECHO # The PATH separator for the build system. PATH_SEPARATOR=$lt_PATH_SEPARATOR # 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 # convert \$build file names to \$host format. to_host_file_cmd=$lt_cv_to_host_file_cmd # convert \$build files to toolchain format. to_tool_file_cmd=$lt_cv_to_tool_file_cmd # 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 # How to find potential files when deplibs_check_method = "file_magic". file_magic_glob=$lt_file_magic_glob # Find potential files using nocaseglob when deplibs_check_method = "file_magic". want_nocaseglob=$lt_want_nocaseglob # DLL creation program. DLLTOOL=$lt_DLLTOOL # Command to associate shared and link libraries. sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd # The archiver. AR=$lt_AR # Flags to create an archive. AR_FLAGS=$lt_AR_FLAGS # How to feed a file listing to the archiver. archiver_list_spec=$lt_archiver_list_spec # 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 # Whether to use a lock for old archive extraction. lock_old_archive_extraction=$lock_old_archive_extraction # 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 into a list of symbols to manually relocate. global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import # 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 lister interface. nm_interface=$lt_lt_cv_nm_interface # Specify filename containing input files for \$NM. nm_file_list_spec=$lt_nm_file_list_spec # The root where to search for dependent libraries,and where our libraries should be installed. lt_sysroot=$lt_sysroot # Command to truncate a binary pipe. lt_truncate_bin=$lt_lt_cv_truncate_bin # The name of the directory that contains temporary libtool files. objdir=$objdir # 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 # Manifest tool. MANIFEST_TOOL=$lt_MANIFEST_TOOL # 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 # Permission mode override for installation of shared libraries. install_override_mode=$lt_install_override_mode # 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 # Detected run-time system search path for libraries. sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path # Explicit LT_SYS_LIBRARY_PATH set during ./configure time. configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path # 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 # How to create reloadable object files. reload_flag=$lt_reload_flag reload_cmds=$lt_reload_cmds # 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 # Additional compiler flags for building library objects. pic_flag=$lt_lt_prog_compiler_pic # How to pass a linker flag through the compiler. wl=$lt_lt_prog_compiler_wl # 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 # 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 # 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 # Commands necessary for finishing linking programs. postlink_cmds=$lt_postlink_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 cat <<'_LT_EOF' >> "$cfgfile" # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE # func_munge_path_list VARIABLE PATH # ----------------------------------- # VARIABLE is name of variable containing _space_ separated list of # directories to be munged by the contents of PATH, which is string # having a format: # "DIR[:DIR]:" # string "DIR[ DIR]" will be prepended to VARIABLE # ":DIR[:DIR]" # string "DIR[ DIR]" will be appended to VARIABLE # "DIRP[:DIRP]::[DIRA:]DIRA" # string "DIRP[ DIRP]" will be prepended to VARIABLE and string # "DIRA[ DIRA]" will be appended to VARIABLE # "DIR[:DIR]" # VARIABLE will be replaced by "DIR[ DIR]" func_munge_path_list () { case x$2 in x) ;; *:) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\" ;; x:*) eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\" ;; *::*) eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\" eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\" ;; *) eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\" ;; esac } # Calculate cc_basename. Skip known compiler wrappers and cross-prefix. func_cc_basename () { for cc_temp in $*""; do case $cc_temp in compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; \-*) ;; *) break;; esac done func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` } # ### END FUNCTIONS SHARED WITH CONFIGURE _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 set != "${COLLECT_NAMES+set}"; 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 '$q' "$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 as_fn_exit 0 _ACEOF ac_clean_files=$ac_clean_files_save test $ac_write_fail = 0 || as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 # configure is writing to config.log, and then calls config.status. # config.status does its own redirection, appending to config.log. # Unfortunately, on DOS this fails, as config.log is still kept open # by configure, so config.status won't be able to write to it; its # output is simply discarded. So we exec the FD to /dev/null, # effectively closing config.log, so it can be properly (re)opened and # appended to by config.status. When coming back to configure, we # need to make the FD available again. if test "$no_create" != yes; then ac_cs_success=: ac_config_status_args= test "$silent" = yes && ac_config_status_args="$ac_config_status_args --quiet" exec 5>/dev/null $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false exec 5>>config.log # Use ||, not &&, to avoid exiting from the if with $? = 1, which # would make configure fail if this is the last instruction. $ac_cs_success || as_fn_exit 1 fi if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} fi { $as_echo "$as_me:${as_lineno-$LINENO}: result: Native Backend ${WESTON_NATIVE_BACKEND} setuid Install ${enable_setuid_install} Cairo Renderer ${with_cairo} EGL ${enable_egl} xcb_xkb ${have_xcb_xkb} XWayland ${enable_xwayland} dbus ${enable_dbus} ivi-shell ${enable_ivi_shell} Build wcap utility ${enable_wcap_tools} Build Fullscreen Shell ${enable_fullscreen_shell} Enable developer documentation ${enable_devdocs} weston-launch utility ${enable_weston_launch} systemd-login support ${have_systemd_login} systemd notify support ${enable_systemd_notify} DRM Compositor ${enable_drm_compositor} X11 Compositor ${enable_x11_compositor} Wayland Compositor ${enable_wayland_compositor} Headless Compositor ${enable_headless_compositor} FBDEV Compositor ${enable_fbdev_compositor} RDP Compositor ${enable_rdp_compositor} Screen Sharing ${enable_screen_sharing} JUnit XML output ${enable_junit_xml} Build Clients ${enable_clients} Build EGL Clients ${have_cairo_egl} Build Simple Clients ${enable_simple_clients} Build Simple EGL Clients ${enable_simple_egl_clients} Install Demo Clients ${enable_demo_clients_install} Colord Support ${have_colord} LCMS2 Support ${have_lcms} libjpeg Support ${have_jpeglib} libwebp Support ${have_webp} libunwind Support ${have_libunwind} VA H.264 encoding Support ${have_libva} " >&5 $as_echo " Native Backend ${WESTON_NATIVE_BACKEND} setuid Install ${enable_setuid_install} Cairo Renderer ${with_cairo} EGL ${enable_egl} xcb_xkb ${have_xcb_xkb} XWayland ${enable_xwayland} dbus ${enable_dbus} ivi-shell ${enable_ivi_shell} Build wcap utility ${enable_wcap_tools} Build Fullscreen Shell ${enable_fullscreen_shell} Enable developer documentation ${enable_devdocs} weston-launch utility ${enable_weston_launch} systemd-login support ${have_systemd_login} systemd notify support ${enable_systemd_notify} DRM Compositor ${enable_drm_compositor} X11 Compositor ${enable_x11_compositor} Wayland Compositor ${enable_wayland_compositor} Headless Compositor ${enable_headless_compositor} FBDEV Compositor ${enable_fbdev_compositor} RDP Compositor ${enable_rdp_compositor} Screen Sharing ${enable_screen_sharing} JUnit XML output ${enable_junit_xml} Build Clients ${enable_clients} Build EGL Clients ${have_cairo_egl} Build Simple Clients ${enable_simple_clients} Build Simple EGL Clients ${enable_simple_egl_clients} Install Demo Clients ${enable_demo_clients_install} Colord Support ${have_colord} LCMS2 Support ${have_lcms} libjpeg Support ${have_jpeglib} libwebp Support ${have_webp} libunwind Support ${have_libunwind} VA H.264 encoding Support ${have_libva} " >&6; } weston-3.0.0/fullscreen-shell/0000775000175000017500000000000013142404611013277 500000000000000weston-3.0.0/fullscreen-shell/fullscreen-shell.c0000664000175000017500000006275113142404577016660 00000000000000/* * Copyright © 2013 Jason Ekstrand * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include #include #include "compositor.h" #include "compositor/weston.h" #include "fullscreen-shell-unstable-v1-server-protocol.h" #include "shared/helpers.h" struct fullscreen_shell { struct wl_client *client; struct wl_listener client_destroyed; struct weston_compositor *compositor; struct weston_layer layer; struct wl_list output_list; struct wl_listener output_created_listener; struct wl_listener seat_created_listener; /* List of one surface per client, presented for the NULL output * * This is implemented as a list in case someone fixes the shell * implementation to support more than one client. */ struct wl_list default_surface_list; /* struct fs_client_surface::link */ }; struct fs_output { struct fullscreen_shell *shell; struct wl_list link; struct weston_output *output; struct wl_listener output_destroyed; struct { struct weston_surface *surface; struct wl_listener surface_destroyed; struct wl_resource *mode_feedback; int presented_for_mode; enum zwp_fullscreen_shell_v1_present_method method; int32_t framerate; } pending; struct weston_surface *surface; struct wl_listener surface_destroyed; struct weston_view *view; struct weston_view *black_view; struct weston_transform transform; /* matrix from x, y */ int presented_for_mode; enum zwp_fullscreen_shell_v1_present_method method; uint32_t framerate; }; struct pointer_focus_listener { struct fullscreen_shell *shell; struct wl_listener pointer_focus; struct wl_listener seat_caps; struct wl_listener seat_destroyed; }; struct fs_client_surface { struct weston_surface *surface; enum zwp_fullscreen_shell_v1_present_method method; struct wl_list link; /* struct fullscreen_shell::default_surface_list */ struct wl_listener surface_destroyed; }; static void remove_default_surface(struct fs_client_surface *surf) { wl_list_remove(&surf->surface_destroyed.link); wl_list_remove(&surf->link); free(surf); } static void default_surface_destroy_listener(struct wl_listener *listener, void *data) { struct fs_client_surface *surf; surf = container_of(listener, struct fs_client_surface, surface_destroyed); remove_default_surface(surf); } static void replace_default_surface(struct fullscreen_shell *shell, struct weston_surface *surface, enum zwp_fullscreen_shell_v1_present_method method) { struct fs_client_surface *surf, *prev = NULL; if (!wl_list_empty(&shell->default_surface_list)) prev = container_of(shell->default_surface_list.prev, struct fs_client_surface, link); surf = zalloc(sizeof *surf); if (!surf) return; surf->surface = surface; surf->method = method; if (prev) remove_default_surface(prev); wl_list_insert(shell->default_surface_list.prev, &surf->link); surf->surface_destroyed.notify = default_surface_destroy_listener; wl_signal_add(&surface->destroy_signal, &surf->surface_destroyed); } static void pointer_focus_changed(struct wl_listener *listener, void *data) { struct weston_pointer *pointer = data; if (pointer->focus && pointer->focus->surface->resource) weston_seat_set_keyboard_focus(pointer->seat, pointer->focus->surface); } static void seat_caps_changed(struct wl_listener *l, void *data) { struct weston_seat *seat = data; struct weston_keyboard *keyboard = weston_seat_get_keyboard(seat); struct weston_pointer *pointer = weston_seat_get_pointer(seat); struct pointer_focus_listener *listener; struct fs_output *fsout; listener = container_of(l, struct pointer_focus_listener, seat_caps); /* no pointer */ if (pointer) { if (!listener->pointer_focus.link.prev) { wl_signal_add(&pointer->focus_signal, &listener->pointer_focus); } } else { if (listener->pointer_focus.link.prev) { wl_list_remove(&listener->pointer_focus.link); } } if (keyboard && keyboard->focus != NULL) { wl_list_for_each(fsout, &listener->shell->output_list, link) { if (fsout->surface) { weston_seat_set_keyboard_focus(seat, fsout->surface); return; } } } } static void seat_destroyed(struct wl_listener *l, void *data) { struct pointer_focus_listener *listener; listener = container_of(l, struct pointer_focus_listener, seat_destroyed); free(listener); } static void seat_created(struct wl_listener *l, void *data) { struct weston_seat *seat = data; struct pointer_focus_listener *listener; listener = zalloc(sizeof *listener); if (!listener) return; listener->shell = container_of(l, struct fullscreen_shell, seat_created_listener); listener->pointer_focus.notify = pointer_focus_changed; listener->seat_caps.notify = seat_caps_changed; listener->seat_destroyed.notify = seat_destroyed; wl_signal_add(&seat->destroy_signal, &listener->seat_destroyed); wl_signal_add(&seat->updated_caps_signal, &listener->seat_caps); seat_caps_changed(&listener->seat_caps, seat); } static void black_surface_committed(struct weston_surface *es, int32_t sx, int32_t sy) { } static struct weston_view * create_black_surface(struct weston_compositor *ec, struct fs_output *fsout, float x, float y, int w, int h) { struct weston_surface *surface = NULL; struct weston_view *view; surface = weston_surface_create(ec); if (surface == NULL) { weston_log("no memory\n"); return NULL; } view = weston_view_create(surface); if (!view) { weston_surface_destroy(surface); weston_log("no memory\n"); return NULL; } surface->committed = black_surface_committed; surface->committed_private = fsout; weston_surface_set_color(surface, 0.0f, 0.0f, 0.0f, 1.0f); pixman_region32_fini(&surface->opaque); pixman_region32_init_rect(&surface->opaque, 0, 0, w, h); pixman_region32_fini(&surface->input); pixman_region32_init_rect(&surface->input, 0, 0, w, h); weston_surface_set_size(surface, w, h); weston_view_set_position(view, x, y); return view; } static void fs_output_set_surface(struct fs_output *fsout, struct weston_surface *surface, enum zwp_fullscreen_shell_v1_present_method method, int32_t framerate, int presented_for_mode); static void fs_output_apply_pending(struct fs_output *fsout); static void fs_output_clear_pending(struct fs_output *fsout); static void fs_output_destroy(struct fs_output *fsout) { fs_output_set_surface(fsout, NULL, 0, 0, 0); fs_output_clear_pending(fsout); wl_list_remove(&fsout->link); if (fsout->output) wl_list_remove(&fsout->output_destroyed.link); } static void output_destroyed(struct wl_listener *listener, void *data) { struct fs_output *output = container_of(listener, struct fs_output, output_destroyed); fs_output_destroy(output); } static void surface_destroyed(struct wl_listener *listener, void *data) { struct fs_output *fsout = container_of(listener, struct fs_output, surface_destroyed); fsout->surface = NULL; fsout->view = NULL; wl_list_remove(&fsout->transform.link); wl_list_init(&fsout->transform.link); } static void pending_surface_destroyed(struct wl_listener *listener, void *data) { struct fs_output *fsout = container_of(listener, struct fs_output, pending.surface_destroyed); fsout->pending.surface = NULL; } static void configure_presented_surface(struct weston_surface *surface, int32_t sx, int32_t sy); static struct fs_output * fs_output_create(struct fullscreen_shell *shell, struct weston_output *output) { struct fs_output *fsout; struct fs_client_surface *surf; fsout = zalloc(sizeof *fsout); if (!fsout) return NULL; fsout->shell = shell; wl_list_insert(&shell->output_list, &fsout->link); fsout->output = output; fsout->output_destroyed.notify = output_destroyed; wl_signal_add(&output->destroy_signal, &fsout->output_destroyed); fsout->surface_destroyed.notify = surface_destroyed; fsout->pending.surface_destroyed.notify = pending_surface_destroyed; fsout->black_view = create_black_surface(shell->compositor, fsout, output->x, output->y, output->width, output->height); fsout->black_view->surface->is_mapped = true; fsout->black_view->is_mapped = true; weston_layer_entry_insert(&shell->layer.view_list, &fsout->black_view->layer_link); wl_list_init(&fsout->transform.link); if (!wl_list_empty(&shell->default_surface_list)) { surf = container_of(shell->default_surface_list.prev, struct fs_client_surface, link); fs_output_set_surface(fsout, surf->surface, surf->method, 0, 0); configure_presented_surface(surf->surface, 0, 0); } return fsout; } static struct fs_output * fs_output_for_output(struct weston_output *output) { struct wl_listener *listener; if (!output) return NULL; listener = wl_signal_get(&output->destroy_signal, output_destroyed); return container_of(listener, struct fs_output, output_destroyed); } static void restore_output_mode(struct weston_output *output) { if (output && output->original_mode) weston_output_mode_switch_to_native(output); } /* * Returns the bounding box of a surface and all its sub-surfaces, * in surface-local coordinates. */ static void surface_subsurfaces_boundingbox(struct weston_surface *surface, int32_t *x, int32_t *y, int32_t *w, int32_t *h) { pixman_region32_t region; pixman_box32_t *box; struct weston_subsurface *subsurface; pixman_region32_init_rect(®ion, 0, 0, surface->width, surface->height); wl_list_for_each(subsurface, &surface->subsurface_list, parent_link) { pixman_region32_union_rect(®ion, ®ion, subsurface->position.x, subsurface->position.y, subsurface->surface->width, subsurface->surface->height); } box = pixman_region32_extents(®ion); if (x) *x = box->x1; if (y) *y = box->y1; if (w) *w = box->x2 - box->x1; if (h) *h = box->y2 - box->y1; pixman_region32_fini(®ion); } static void fs_output_center_view(struct fs_output *fsout) { int32_t surf_x, surf_y, surf_width, surf_height; float x, y; struct weston_output *output = fsout->output; surface_subsurfaces_boundingbox(fsout->view->surface, &surf_x, &surf_y, &surf_width, &surf_height); x = output->x + (output->width - surf_width) / 2 - surf_x / 2; y = output->y + (output->height - surf_height) / 2 - surf_y / 2; weston_view_set_position(fsout->view, x, y); } static void fs_output_scale_view(struct fs_output *fsout, float width, float height) { float x, y; int32_t surf_x, surf_y, surf_width, surf_height; struct weston_matrix *matrix; struct weston_view *view = fsout->view; struct weston_output *output = fsout->output; surface_subsurfaces_boundingbox(view->surface, &surf_x, &surf_y, &surf_width, &surf_height); if (output->width == surf_width && output->height == surf_height) { weston_view_set_position(view, fsout->output->x - surf_x, fsout->output->y - surf_y); } else { matrix = &fsout->transform.matrix; weston_matrix_init(matrix); weston_matrix_scale(matrix, width / surf_width, height / surf_height, 1); wl_list_remove(&fsout->transform.link); wl_list_insert(&fsout->view->geometry.transformation_list, &fsout->transform.link); x = output->x + (output->width - width) / 2 - surf_x; y = output->y + (output->height - height) / 2 - surf_y; weston_view_set_position(view, x, y); } } static void fs_output_configure(struct fs_output *fsout, struct weston_surface *surface); static void fs_output_configure_simple(struct fs_output *fsout, struct weston_surface *configured_surface) { struct weston_output *output = fsout->output; float output_aspect, surface_aspect; int32_t surf_x, surf_y, surf_width, surf_height; if (fsout->pending.surface == configured_surface) fs_output_apply_pending(fsout); assert(fsout->view); restore_output_mode(fsout->output); wl_list_remove(&fsout->transform.link); wl_list_init(&fsout->transform.link); surface_subsurfaces_boundingbox(fsout->view->surface, &surf_x, &surf_y, &surf_width, &surf_height); output_aspect = (float) output->width / (float) output->height; surface_aspect = (float) surf_width / (float) surf_height; switch (fsout->method) { case ZWP_FULLSCREEN_SHELL_V1_PRESENT_METHOD_DEFAULT: case ZWP_FULLSCREEN_SHELL_V1_PRESENT_METHOD_CENTER: fs_output_center_view(fsout); break; case ZWP_FULLSCREEN_SHELL_V1_PRESENT_METHOD_ZOOM: if (output_aspect < surface_aspect) fs_output_scale_view(fsout, output->width, output->width / surface_aspect); else fs_output_scale_view(fsout, output->height * surface_aspect, output->height); break; case ZWP_FULLSCREEN_SHELL_V1_PRESENT_METHOD_ZOOM_CROP: if (output_aspect < surface_aspect) fs_output_scale_view(fsout, output->height * surface_aspect, output->height); else fs_output_scale_view(fsout, output->width, output->width / surface_aspect); break; case ZWP_FULLSCREEN_SHELL_V1_PRESENT_METHOD_STRETCH: fs_output_scale_view(fsout, output->width, output->height); break; default: break; } weston_view_set_position(fsout->black_view, fsout->output->x - surf_x, fsout->output->y - surf_y); weston_surface_set_size(fsout->black_view->surface, fsout->output->width, fsout->output->height); } static void fs_output_configure_for_mode(struct fs_output *fsout, struct weston_surface *configured_surface) { int32_t surf_x, surf_y, surf_width, surf_height; struct weston_mode mode; int ret; if (fsout->pending.surface != configured_surface) { /* Nothing to really reconfigure. We'll just recenter the * view in case they played with subsurfaces */ fs_output_center_view(fsout); return; } /* We have a pending surface */ surface_subsurfaces_boundingbox(fsout->pending.surface, &surf_x, &surf_y, &surf_width, &surf_height); /* The actual output mode is in physical units. We need to * transform the surface size to physical unit size by flipping ans * possibly scaling it. */ switch (fsout->output->transform) { case WL_OUTPUT_TRANSFORM_90: case WL_OUTPUT_TRANSFORM_FLIPPED_90: case WL_OUTPUT_TRANSFORM_270: case WL_OUTPUT_TRANSFORM_FLIPPED_270: mode.width = surf_height * fsout->output->native_scale; mode.height = surf_width * fsout->output->native_scale; break; case WL_OUTPUT_TRANSFORM_NORMAL: case WL_OUTPUT_TRANSFORM_FLIPPED: case WL_OUTPUT_TRANSFORM_180: case WL_OUTPUT_TRANSFORM_FLIPPED_180: default: mode.width = surf_width * fsout->output->native_scale; mode.height = surf_height * fsout->output->native_scale; } mode.flags = 0; mode.refresh = fsout->pending.framerate; ret = weston_output_mode_switch_to_temporary(fsout->output, &mode, fsout->output->native_scale); if (ret != 0) { /* The mode switch failed. Clear the pending and * reconfigure as per normal */ if (fsout->pending.mode_feedback) { zwp_fullscreen_shell_mode_feedback_v1_send_mode_failed( fsout->pending.mode_feedback); wl_resource_destroy(fsout->pending.mode_feedback); fsout->pending.mode_feedback = NULL; } fs_output_clear_pending(fsout); return; } if (fsout->pending.mode_feedback) { zwp_fullscreen_shell_mode_feedback_v1_send_mode_successful( fsout->pending.mode_feedback); wl_resource_destroy(fsout->pending.mode_feedback); fsout->pending.mode_feedback = NULL; } fs_output_apply_pending(fsout); weston_view_set_position(fsout->view, fsout->output->x - surf_x, fsout->output->y - surf_y); } static void fs_output_configure(struct fs_output *fsout, struct weston_surface *surface) { if (fsout->pending.surface == surface) { if (fsout->pending.presented_for_mode) fs_output_configure_for_mode(fsout, surface); else fs_output_configure_simple(fsout, surface); } else { if (fsout->presented_for_mode) fs_output_configure_for_mode(fsout, surface); else fs_output_configure_simple(fsout, surface); } weston_output_schedule_repaint(fsout->output); } static void configure_presented_surface(struct weston_surface *surface, int32_t sx, int32_t sy) { struct fullscreen_shell *shell = surface->committed_private; struct fs_output *fsout; if (surface->committed != configure_presented_surface) return; wl_list_for_each(fsout, &shell->output_list, link) if (fsout->surface == surface || fsout->pending.surface == surface) fs_output_configure(fsout, surface); } static void fs_output_apply_pending(struct fs_output *fsout) { assert(fsout->pending.surface); if (fsout->surface && fsout->surface != fsout->pending.surface) { wl_list_remove(&fsout->surface_destroyed.link); weston_view_destroy(fsout->view); fsout->view = NULL; if (wl_list_empty(&fsout->surface->views)) { fsout->surface->committed = NULL; fsout->surface->committed_private = NULL; } fsout->surface = NULL; } fsout->method = fsout->pending.method; fsout->framerate = fsout->pending.framerate; fsout->presented_for_mode = fsout->pending.presented_for_mode; if (fsout->surface != fsout->pending.surface) { fsout->surface = fsout->pending.surface; fsout->view = weston_view_create(fsout->surface); if (!fsout->view) { weston_log("no memory\n"); return; } fsout->view->is_mapped = true; wl_signal_add(&fsout->surface->destroy_signal, &fsout->surface_destroyed); weston_layer_entry_insert(&fsout->shell->layer.view_list, &fsout->view->layer_link); } fs_output_clear_pending(fsout); } static void fs_output_clear_pending(struct fs_output *fsout) { if (!fsout->pending.surface) return; if (fsout->pending.mode_feedback) { zwp_fullscreen_shell_mode_feedback_v1_send_present_cancelled( fsout->pending.mode_feedback); wl_resource_destroy(fsout->pending.mode_feedback); fsout->pending.mode_feedback = NULL; } wl_list_remove(&fsout->pending.surface_destroyed.link); fsout->pending.surface = NULL; } static void fs_output_set_surface(struct fs_output *fsout, struct weston_surface *surface, enum zwp_fullscreen_shell_v1_present_method method, int32_t framerate, int presented_for_mode) { fs_output_clear_pending(fsout); if (surface) { if (!surface->committed) { surface->committed = configure_presented_surface; surface->committed_private = fsout->shell; } fsout->pending.surface = surface; wl_signal_add(&fsout->pending.surface->destroy_signal, &fsout->pending.surface_destroyed); fsout->pending.method = method; fsout->pending.framerate = framerate; fsout->pending.presented_for_mode = presented_for_mode; } else if (fsout->surface) { /* we clear immediately */ wl_list_remove(&fsout->surface_destroyed.link); weston_view_destroy(fsout->view); fsout->view = NULL; if (wl_list_empty(&fsout->surface->views)) { fsout->surface->committed = NULL; fsout->surface->committed_private = NULL; } fsout->surface = NULL; weston_output_schedule_repaint(fsout->output); } } static void fullscreen_shell_release(struct wl_client *client, struct wl_resource *resource) { wl_resource_destroy(resource); } static void fullscreen_shell_present_surface(struct wl_client *client, struct wl_resource *resource, struct wl_resource *surface_res, uint32_t method, struct wl_resource *output_res) { struct fullscreen_shell *shell = wl_resource_get_user_data(resource); struct weston_output *output; struct weston_surface *surface; struct weston_seat *seat; struct fs_output *fsout; surface = surface_res ? wl_resource_get_user_data(surface_res) : NULL; switch(method) { case ZWP_FULLSCREEN_SHELL_V1_PRESENT_METHOD_DEFAULT: case ZWP_FULLSCREEN_SHELL_V1_PRESENT_METHOD_CENTER: case ZWP_FULLSCREEN_SHELL_V1_PRESENT_METHOD_ZOOM: case ZWP_FULLSCREEN_SHELL_V1_PRESENT_METHOD_ZOOM_CROP: case ZWP_FULLSCREEN_SHELL_V1_PRESENT_METHOD_STRETCH: break; default: wl_resource_post_error(resource, ZWP_FULLSCREEN_SHELL_V1_ERROR_INVALID_METHOD, "Invalid presentation method"); } if (output_res) { output = weston_output_from_resource(output_res); fsout = fs_output_for_output(output); fs_output_set_surface(fsout, surface, method, 0, 0); } else { replace_default_surface(shell, surface, method); wl_list_for_each(fsout, &shell->output_list, link) fs_output_set_surface(fsout, surface, method, 0, 0); } if (surface) { wl_list_for_each(seat, &shell->compositor->seat_list, link) { struct weston_keyboard *keyboard = weston_seat_get_keyboard(seat); if (keyboard && !keyboard->focus) weston_seat_set_keyboard_focus(seat, surface); } } } static void mode_feedback_destroyed(struct wl_resource *resource) { struct fs_output *fsout = wl_resource_get_user_data(resource); fsout->pending.mode_feedback = NULL; } static void fullscreen_shell_present_surface_for_mode(struct wl_client *client, struct wl_resource *resource, struct wl_resource *surface_res, struct wl_resource *output_res, int32_t framerate, uint32_t feedback_id) { struct fullscreen_shell *shell = wl_resource_get_user_data(resource); struct weston_output *output; struct weston_surface *surface; struct weston_seat *seat; struct fs_output *fsout; output = weston_output_from_resource(output_res); fsout = fs_output_for_output(output); if (surface_res == NULL) { fs_output_set_surface(fsout, NULL, 0, 0, 0); return; } surface = wl_resource_get_user_data(surface_res); fs_output_set_surface(fsout, surface, 0, framerate, 1); fsout->pending.mode_feedback = wl_resource_create(client, &zwp_fullscreen_shell_mode_feedback_v1_interface, 1, feedback_id); wl_resource_set_implementation(fsout->pending.mode_feedback, NULL, fsout, mode_feedback_destroyed); wl_list_for_each(seat, &shell->compositor->seat_list, link) { struct weston_keyboard *keyboard = weston_seat_get_keyboard(seat); if (keyboard && !keyboard->focus) weston_seat_set_keyboard_focus(seat, surface); } } struct zwp_fullscreen_shell_v1_interface fullscreen_shell_implementation = { fullscreen_shell_release, fullscreen_shell_present_surface, fullscreen_shell_present_surface_for_mode, }; static void output_created(struct wl_listener *listener, void *data) { struct fullscreen_shell *shell; shell = container_of(listener, struct fullscreen_shell, output_created_listener); fs_output_create(shell, data); } static void client_destroyed(struct wl_listener *listener, void *data) { struct fullscreen_shell *shell = container_of(listener, struct fullscreen_shell, client_destroyed); shell->client = NULL; } static void bind_fullscreen_shell(struct wl_client *client, void *data, uint32_t version, uint32_t id) { struct fullscreen_shell *shell = data; struct wl_resource *resource; if (shell->client != NULL && shell->client != client) return; else if (shell->client == NULL) { shell->client = client; wl_client_add_destroy_listener(client, &shell->client_destroyed); } resource = wl_resource_create(client, &zwp_fullscreen_shell_v1_interface, 1, id); wl_resource_set_implementation(resource, &fullscreen_shell_implementation, shell, NULL); if (shell->compositor->capabilities & WESTON_CAP_CURSOR_PLANE) zwp_fullscreen_shell_v1_send_capability(resource, ZWP_FULLSCREEN_SHELL_V1_CAPABILITY_CURSOR_PLANE); if (shell->compositor->capabilities & WESTON_CAP_ARBITRARY_MODES) zwp_fullscreen_shell_v1_send_capability(resource, ZWP_FULLSCREEN_SHELL_V1_CAPABILITY_ARBITRARY_MODES); } WL_EXPORT int wet_shell_init(struct weston_compositor *compositor, int *argc, char *argv[]) { struct fullscreen_shell *shell; struct weston_seat *seat; struct weston_output *output; shell = zalloc(sizeof *shell); if (shell == NULL) return -1; shell->compositor = compositor; wl_list_init(&shell->default_surface_list); shell->client_destroyed.notify = client_destroyed; weston_layer_init(&shell->layer, compositor); weston_layer_set_position(&shell->layer, WESTON_LAYER_POSITION_FULLSCREEN); wl_list_init(&shell->output_list); shell->output_created_listener.notify = output_created; wl_signal_add(&compositor->output_created_signal, &shell->output_created_listener); wl_list_for_each(output, &compositor->output_list, link) fs_output_create(shell, output); shell->seat_created_listener.notify = seat_created; wl_signal_add(&compositor->seat_created_signal, &shell->seat_created_listener); wl_list_for_each(seat, &compositor->seat_list, link) seat_created(NULL, seat); wl_global_create(compositor->wl_display, &zwp_fullscreen_shell_v1_interface, 1, shell, bind_fullscreen_shell); return 0; } weston-3.0.0/config.h.in0000664000175000017500000001161213142404606012000 00000000000000/* config.h.in. Generated from configure.ac by autoheader. */ /* Build the Wayland clients */ #undef BUILD_CLIENTS /* Build the DRM compositor */ #undef BUILD_DRM_COMPOSITOR /* Build the fbdev compositor */ #undef BUILD_FBDEV_COMPOSITOR /* Build the headless compositor */ #undef BUILD_HEADLESS_COMPOSITOR /* Build the RDP compositor */ #undef BUILD_RDP_COMPOSITOR /* Build the vaapi recorder */ #undef BUILD_VAAPI_RECORDER /* Build the Wayland (nested) compositor */ #undef BUILD_WAYLAND_COMPOSITOR /* Build the wcap tools */ #undef BUILD_WCAP_TOOLS /* Build the X11 compositor */ #undef BUILD_X11_COMPOSITOR /* Build the X server launcher */ #undef BUILD_XWAYLAND /* Build Weston with EGL support */ #undef ENABLE_EGL /* Build Weston with JUnit output support */ #undef ENABLE_JUNIT_XML /* Have cairo-egl */ #undef HAVE_CAIRO_EGL /* Build with dbus support */ #undef HAVE_DBUS /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H /* Define to 1 if you have the header file. */ #undef HAVE_EXECINFO_H /* Define to 1 if you have the header file. */ #undef HAVE_FREERDP_VERSION_H /* gbm supports dmabuf import */ #undef HAVE_GBM_FD_IMPORT /* Define to 1 if you have the `initgroups' function. */ #undef HAVE_INITGROUPS /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H /* Have jpeglib */ #undef HAVE_JPEG /* Have lcms support */ #undef HAVE_LCMS /* Build freedreno dmabuf client */ #undef HAVE_LIBDRM_FREEDRENO /* Build intel dmabuf client */ #undef HAVE_LIBDRM_INTEL /* Have libunwind support */ #undef HAVE_LIBUNWIND /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H /* Define to 1 if you have the `mkostemp' function. */ #undef HAVE_MKOSTEMP /* Define to 1 if you have the `posix_fallocate' function. */ #undef HAVE_POSIX_FALLOCATE /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H /* Define to 1 if you have the header file. */ #undef HAVE_STDLIB_H /* Define to 1 if you have the `strchrnul' function. */ #undef HAVE_STRCHRNUL /* Define to 1 if you have the header file. */ #undef HAVE_STRINGS_H /* Define to 1 if you have the header file. */ #undef HAVE_STRING_H /* Have systemd-login */ #undef HAVE_SYSTEMD_LOGIN /* Have systemd-login >= 209 */ #undef HAVE_SYSTEMD_LOGIN_209 /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H /* Have webp */ #undef HAVE_WEBP /* libxcb supports XKB protocol */ #undef HAVE_XCB_XKB /* Define if xkbcommon is 0.5.0 or newer */ #undef HAVE_XKBCOMMON_COMPOSE /* Define to the sub-directory where libtool stores uninstalled libraries. */ #undef LT_OBJDIR /* Name of package */ #undef PACKAGE /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ #undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME /* Define to the home page for this package. */ #undef PACKAGE_URL /* Define to the version of this package. */ #undef PACKAGE_VERSION /* Define to 1 if you have the ANSI C header files. */ #undef STDC_HEADERS /* Build the systemd sd_notify support */ #undef SYSTEMD_NOTIFY_SUPPORT /* Use the GLESv2 GL cairo backend */ #undef USE_CAIRO_GLESV2 /* Use resize memory pool as a performance optimization */ #undef USE_RESIZE_POOL /* Enable extensions on AIX 3, Interix. */ #ifndef _ALL_SOURCE # undef _ALL_SOURCE #endif /* Enable GNU extensions on systems that have them. */ #ifndef _GNU_SOURCE # undef _GNU_SOURCE #endif /* Enable threading extensions on Solaris. */ #ifndef _POSIX_PTHREAD_SEMANTICS # undef _POSIX_PTHREAD_SEMANTICS #endif /* Enable extensions on HP NonStop. */ #ifndef _TANDEM_SOURCE # undef _TANDEM_SOURCE #endif /* Enable general extensions on Solaris. */ #ifndef __EXTENSIONS__ # undef __EXTENSIONS__ #endif /* Version number of package */ #undef VERSION /* The default backend to load, if not wayland nor x11. */ #undef WESTON_NATIVE_BACKEND /* The default desktop shell client to load. */ #undef WESTON_SHELL_CLIENT /* Enable large inode numbers on Mac OS X 10.5. */ #ifndef _DARWIN_USE_64_BIT_INODE # define _DARWIN_USE_64_BIT_INODE 1 #endif /* Number of bits in a file offset, on hosts where this is settable. */ #undef _FILE_OFFSET_BITS /* Define for large files, on AIX-style hosts. */ #undef _LARGE_FILES /* Define to 1 if on MINIX. */ #undef _MINIX /* Define to 2 if the system does not provide POSIX.1 features except with this defined. */ #undef _POSIX_1_SOURCE /* Define to 1 if you need to in order for `stat' and other things to work. */ #undef _POSIX_SOURCE weston-3.0.0/wcap/0000775000175000017500000000000013142404611010762 500000000000000weston-3.0.0/wcap/main.c0000664000175000017500000001700413142404577012007 00000000000000/* * Copyright © 2012 Intel Corporation * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include #include #include #include #include #include #include #include "wcap-decode.h" static void write_png(struct wcap_decoder *decoder, const char *filename) { cairo_surface_t *surface; surface = cairo_image_surface_create_for_data((unsigned char *) decoder->frame, CAIRO_FORMAT_ARGB32, decoder->width, decoder->height, decoder->width * 4); cairo_surface_write_to_png(surface, filename); cairo_surface_destroy(surface); } static inline int rgb_to_yuv(uint32_t format, uint32_t p, int *u, int *v) { int r, g, b, y; switch (format) { case WCAP_FORMAT_XRGB8888: r = (p >> 16) & 0xff; g = (p >> 8) & 0xff; b = (p >> 0) & 0xff; break; case WCAP_FORMAT_XBGR8888: r = (p >> 0) & 0xff; g = (p >> 8) & 0xff; b = (p >> 16) & 0xff; break; default: assert(0); } y = (19595 * r + 38469 * g + 7472 * b) >> 16; if (y > 255) y = 255; *u += 46727 * (r - y); *v += 36962 * (b - y); return y; } static inline int clamp_uv(int u) { int clamp = (u >> 18) + 128; if (clamp < 0) return 0; else if (clamp > 255) return 255; else return clamp; } static void convert_to_yv12(struct wcap_decoder *decoder, unsigned char *out) { unsigned char *y1, *y2, *u, *v; uint32_t *p1, *p2, *end; int i, u_accum, v_accum, stride0, stride1; uint32_t format = decoder->format; stride0 = decoder->width; stride1 = decoder->width / 2; for (i = 0; i < decoder->height; i += 2) { y1 = out + stride0 * i; y2 = y1 + stride0; v = out + stride0 * decoder->height + stride1 * i / 2; u = v + stride1 * decoder->height / 2; p1 = decoder->frame + decoder->width * i; p2 = p1 + decoder->width; end = p1 + decoder->width; while (p1 < end) { u_accum = 0; v_accum = 0; y1[0] = rgb_to_yuv(format, p1[0], &u_accum, &v_accum); y1[1] = rgb_to_yuv(format, p1[1], &u_accum, &v_accum); y2[0] = rgb_to_yuv(format, p2[0], &u_accum, &v_accum); y2[1] = rgb_to_yuv(format, p2[1], &u_accum, &v_accum); u[0] = clamp_uv(u_accum); v[0] = clamp_uv(v_accum); y1 += 2; p1 += 2; y2 += 2; p2 += 2; u++; v++; } } } static void convert_to_yuv444(struct wcap_decoder *decoder, unsigned char *out) { unsigned char *yp, *up, *vp; uint32_t *rp, *end; int u, v; int i, stride, psize; uint32_t format = decoder->format; stride = decoder->width; psize = stride * decoder->height; for (i = 0; i < decoder->height; i++) { yp = out + stride * i; up = yp + (psize * 2); vp = yp + (psize * 1); rp = decoder->frame + decoder->width * i; end = rp + decoder->width; while (rp < end) { u = 0; v = 0; yp[0] = rgb_to_yuv(format, rp[0], &u, &v); up[0] = clamp_uv(u/.3); vp[0] = clamp_uv(v/.3); up++; vp++; yp++; rp++; } } } static void output_yuv_frame(struct wcap_decoder *decoder, int depth) { static unsigned char *out; int size; if (depth == 444) { size = decoder->width * decoder->height * 3; } else { size = decoder->width * decoder->height * 3 / 2; } if (out == NULL) out = malloc(size); if (depth == 444) { convert_to_yuv444(decoder, out); } else { convert_to_yv12(decoder, out); } printf("FRAME\n"); fwrite(out, 1, size, stdout); } static void usage(int exit_code) { fprintf(stderr, "usage: wcap-decode " "[--help] [--yuv4mpeg2] [--frame=] [--all] \n" "\t[--rate=] \n\n" "\t--help\t\t\tthis help text\n" "\t--yuv4mpeg2\t\tdump wcap file to stdout in yuv4mpeg2 format\n" "\t--yuv4mpeg2-444\t\tdump wcap file to stdout in yuv4mpeg2 444 format\n" "\t--frame=\t\twrite out the given frame number as png\n" "\t--all\t\t\twrite all frames as pngs\n" "\t--rate=\treplay frame rate for yuv4mpeg2,\n" "\t\t\t\tspecified as an integer fraction\n\n"); exit(exit_code); } int main(int argc, char *argv[]) { struct wcap_decoder *decoder; int i, j, output_frame = -1, yuv4mpeg2 = 0, all = 0, has_frame; int num = 30, denom = 1; char filename[200]; char *mode; uint32_t msecs, frame_time; for (i = 1, j = 1; i < argc; i++) { if (strcmp(argv[i], "--yuv4mpeg2-444") == 0) { yuv4mpeg2 = 444; } else if (strcmp(argv[i], "--yuv4mpeg2") == 0) { yuv4mpeg2 = 420; } else if (strcmp(argv[i], "--help") == 0) { usage(EXIT_SUCCESS); } else if (strcmp(argv[i], "--all") == 0) { all = 1; } else if (sscanf(argv[i], "--frame=%d", &output_frame) == 1) { ; } else if (sscanf(argv[i], "--rate=%d", &num) == 1) { ; } else if (sscanf(argv[i], "--rate=%d:%d", &num, &denom) == 2) { ; } else if (strcmp(argv[i], "--") == 0) { break; } else if (argv[i][0] == '-') { fprintf(stderr, "unknown option or invalid argument: %s\n", argv[i]); usage(EXIT_FAILURE); } else { argv[j++] = argv[i]; } } argc = j; if (argc != 2) usage(EXIT_FAILURE); if (denom == 0) { fprintf(stderr, "invalid rate, denom can not be 0\n"); exit(EXIT_FAILURE); } decoder = wcap_decoder_create(argv[1]); if (decoder == NULL) { fprintf(stderr, "Creating wcap decoder failed\n"); exit(EXIT_FAILURE); } if (yuv4mpeg2 && isatty(1)) { fprintf(stderr, "Not dumping yuv4mpeg2 data to terminal. Pipe output to a file or a process.\n"); fprintf(stderr, "For example, to encode to webm, use something like\n\n"); fprintf(stderr, "\t$ wcap-decode --yuv4mpeg2 ../capture.wcap |\n" "\t\tvpxenc --target-bitrate=1024 --best -t 4 -o foo.webm -\n\n"); exit(EXIT_FAILURE); } if (yuv4mpeg2) { if (yuv4mpeg2 == 444) { mode = "C444"; } else { mode = "C420jpeg"; } printf("YUV4MPEG2 %s W%d H%d F%d:%d Ip A0:0\n", mode, decoder->width, decoder->height, num, denom); fflush(stdout); } i = 0; has_frame = wcap_decoder_get_frame(decoder); msecs = decoder->msecs; frame_time = 1000 * denom / num; while (has_frame) { if (all || i == output_frame) { snprintf(filename, sizeof filename, "wcap-frame-%d.png", i); write_png(decoder, filename); fprintf(stderr, "wrote %s\n", filename); } if (yuv4mpeg2) output_yuv_frame(decoder, yuv4mpeg2); i++; msecs += frame_time; while (decoder->msecs < msecs && has_frame) has_frame = wcap_decoder_get_frame(decoder); } fprintf(stderr, "wcap file: size %dx%d, %d frames\n", decoder->width, decoder->height, i); wcap_decoder_destroy(decoder); return EXIT_SUCCESS; } weston-3.0.0/wcap/wcap-decode.c0000664000175000017500000000771313142404577013244 00000000000000/* * Copyright © 2012 Intel Corporation * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include #include #include #include #include #include #include "wcap-decode.h" static void wcap_decoder_decode_rectangle(struct wcap_decoder *decoder, struct wcap_rectangle *rect) { uint32_t v, *p = decoder->p, *d; int width = rect->x2 - rect->x1, height = rect->y2 - rect->y1; int x, i, j, k, l, count = width * height; unsigned char r, g, b, dr, dg, db; d = decoder->frame + (rect->y2 - 1) * decoder->width; x = rect->x1; i = 0; while (i < count) { v = *p++; l = v >> 24; if (l < 0xe0) { j = l + 1; } else { j = 1 << (l - 0xe0 + 7); } dr = (v >> 16); dg = (v >> 8); db = (v >> 0); for (k = 0; k < j; k++) { r = (d[x] >> 16) + dr; g = (d[x] >> 8) + dg; b = (d[x] >> 0) + db; d[x] = 0xff000000 | (r << 16) | (g << 8) | b; x++; if (x == rect->x2) { x = rect->x1; d -= decoder->width; } } i += j; } if (i != count) printf("rle encoding longer than expected (%d expected %d)\n", i, count); decoder->p = p; } int wcap_decoder_get_frame(struct wcap_decoder *decoder) { struct wcap_rectangle *rects; struct wcap_frame_header *header; uint32_t i; if (decoder->p == decoder->end) return 0; header = decoder->p; decoder->msecs = header->msecs; decoder->count++; rects = (void *) (header + 1); decoder->p = (uint32_t *) (rects + header->nrects); for (i = 0; i < header->nrects; i++) wcap_decoder_decode_rectangle(decoder, &rects[i]); return 1; } struct wcap_decoder * wcap_decoder_create(const char *filename) { struct wcap_decoder *decoder; struct wcap_header *header; int frame_size; struct stat buf; decoder = malloc(sizeof *decoder); if (decoder == NULL) return NULL; decoder->fd = open(filename, O_RDONLY); if (decoder->fd == -1) { free(decoder); return NULL; } fstat(decoder->fd, &buf); decoder->size = buf.st_size; decoder->map = mmap(NULL, decoder->size, PROT_READ, MAP_PRIVATE, decoder->fd, 0); if (decoder->map == MAP_FAILED) { fprintf(stderr, "mmap failed\n"); close(decoder->fd); free(decoder); return NULL; } header = decoder->map; decoder->format = header->format; decoder->count = 0; decoder->width = header->width; decoder->height = header->height; decoder->p = header + 1; decoder->end = decoder->map + decoder->size; frame_size = header->width * header->height * 4; decoder->frame = malloc(frame_size); if (decoder->frame == NULL) { close(decoder->fd); free(decoder); return NULL; } memset(decoder->frame, 0, frame_size); return decoder; } void wcap_decoder_destroy(struct wcap_decoder *decoder) { munmap(decoder->map, decoder->size); close(decoder->fd); free(decoder->frame); free(decoder); } weston-3.0.0/wcap/wcap-decode.h0000664000175000017500000000367413142404577013253 00000000000000/* * Copyright © 2012 Intel Corporation * * 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 (including the * next paragraph) 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. */ #ifndef _WCAP_DECODE_ #define _WCAP_DECODE_ #include #define WCAP_HEADER_MAGIC 0x57434150 #define WCAP_FORMAT_XRGB8888 0x34325258 #define WCAP_FORMAT_XBGR8888 0x34324258 #define WCAP_FORMAT_RGBX8888 0x34325852 #define WCAP_FORMAT_BGRX8888 0x34325842 struct wcap_header { uint32_t magic; uint32_t format; uint32_t width, height; }; struct wcap_frame_header { uint32_t msecs; uint32_t nrects; }; struct wcap_rectangle { int32_t x1, y1, x2, y2; }; struct wcap_decoder { int fd; size_t size; void *map, *p, *end; uint32_t *frame; uint32_t format; uint32_t msecs; uint32_t count; int width, height; }; int wcap_decoder_get_frame(struct wcap_decoder *decoder); struct wcap_decoder *wcap_decoder_create(const char *filename); void wcap_decoder_destroy(struct wcap_decoder *decoder); #endif weston-3.0.0/build-aux/0000775000175000017500000000000013142404611011722 500000000000000weston-3.0.0/build-aux/test-driver0000755000175000017500000001104013142404607014037 00000000000000#! /bin/sh # test-driver - basic testsuite driver script. scriptversion=2013-07-13.22; # UTC # Copyright (C) 2011-2014 Free Software Foundation, Inc. # # This program 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, or (at your option) # any later version. # # This program 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 this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . # Make unconditional expansion of undefined variables an error. This # helps a lot in preventing typo-related bugs. set -u usage_error () { echo "$0: $*" >&2 print_usage >&2 exit 2 } print_usage () { cat <$log_file 2>&1 estatus=$? if test $enable_hard_errors = no && test $estatus -eq 99; then tweaked_estatus=1 else tweaked_estatus=$estatus fi case $tweaked_estatus:$expect_failure in 0:yes) col=$red res=XPASS recheck=yes gcopy=yes;; 0:*) col=$grn res=PASS recheck=no gcopy=no;; 77:*) col=$blu res=SKIP recheck=no gcopy=yes;; 99:*) col=$mgn res=ERROR recheck=yes gcopy=yes;; *:yes) col=$lgn res=XFAIL recheck=no gcopy=yes;; *:*) col=$red res=FAIL recheck=yes gcopy=yes;; esac # Report the test outcome and exit status in the logs, so that one can # know whether the test passed or failed simply by looking at the '.log' # file, without the need of also peaking into the corresponding '.trs' # file (automake bug#11814). echo "$res $test_name (exit status: $estatus)" >>$log_file # Report outcome to console. echo "${col}${res}${std}: $test_name" # Register the test result, and other relevant metadata. echo ":test-result: $res" > $trs_file echo ":global-test-result: $res" >> $trs_file echo ":recheck: $recheck" >> $trs_file echo ":copy-in-global-log: $gcopy" >> $trs_file # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: weston-3.0.0/build-aux/config.sub0000755000175000017500000010646013142404607013637 00000000000000#! /bin/sh # Configuration validation subroutine script. # Copyright 1992-2015 Free Software Foundation, Inc. timestamp='2015-08-20' # This file 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 3 of the License, or # (at your option) any later version. # # This program 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 this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # Please send patches to . # # Configuration subroutine to validate and canonicalize a configuration type. # Supply the specified configuration type as an argument. # If it is invalid, we print an error message on stderr and exit with code 1. # Otherwise, we print the canonical config type on stdout and succeed. # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD # This file is supposed to be the same for all GNU packages # and recognize all the CPU types, system types and aliases # that are meaningful with *any* GNU software. # Each package is responsible for reporting which valid configurations # it does not support. The user should be able to distinguish # a failure to support a valid configuration from a meaningless # configuration. # The goal of this file is to map all the various variations of a given # machine specification into a single specification in the form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM # or in some cases, the newer four-part form: # CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM # It is wrong to echo any other type of specification. me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] CPU-MFR-OPSYS $0 [OPTION] ALIAS Canonicalize a configuration name. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.sub ($timestamp) Copyright 1992-2015 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." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" exit 1 ;; *local*) # First pass through any local machine types. echo $1 exit ;; * ) break ;; esac done case $# in 0) echo "$me: missing argument$help" >&2 exit 1;; 1) ;; *) echo "$me: too many arguments$help" >&2 exit 1;; esac # Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any). # Here we must recognize all the valid KERNEL-OS combinations. maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` case $maybe_os in nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \ knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \ kopensolaris*-gnu* | \ storm-chaos* | os2-emx* | rtmk-nova*) os=-$maybe_os basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` ;; android-linux) os=-linux-android basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown ;; *) basic_machine=`echo $1 | sed 's/-[^-]*$//'` if [ $basic_machine != $1 ] then os=`echo $1 | sed 's/.*-/-/'` else os=; fi ;; esac ### Let's recognize common machines as not being operating systems so ### that things like config.sub decstation-3100 work. We also ### recognize some manufacturers as not being operating systems, so we ### can provide default operating systems below. case $os in -sun*os*) # Prevent following clause from handling this invalid input. ;; -dec* | -mips* | -sequent* | -encore* | -pc532* | -sgi* | -sony* | \ -att* | -7300* | -3300* | -delta* | -motorola* | -sun[234]* | \ -unicom* | -ibm* | -next | -hp | -isi* | -apollo | -altos* | \ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \ -apple | -axis | -knuth | -cray | -microblaze*) os= basic_machine=$1 ;; -bluegene*) os=-cnk ;; -sim | -cisco | -oki | -wec | -winbond) os= basic_machine=$1 ;; -scout) ;; -wrs) os=-vxworks basic_machine=$1 ;; -chorusos*) os=-chorusos basic_machine=$1 ;; -chorusrdb) os=-chorusrdb basic_machine=$1 ;; -hiux*) os=-hiuxwe2 ;; -sco6) os=-sco5v6 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5) os=-sco3.2v5 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco4) os=-sco3.2v4 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2.[4-9]*) os=`echo $os | sed -e 's/sco3.2./sco3.2v/'` basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco3.2v[4-9]*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco5v6*) # Don't forget version if it is 3.2v4 or newer. basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -sco*) os=-sco3.2v2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -udk*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -isc) os=-isc2.2 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -clix*) basic_machine=clipper-intergraph ;; -isc*) basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'` ;; -lynx*178) os=-lynxos178 ;; -lynx*5) os=-lynxos5 ;; -lynx*) os=-lynxos ;; -ptx*) basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'` ;; -windowsnt*) os=`echo $os | sed -e 's/windowsnt/winnt/'` ;; -psos*) os=-psos ;; -mint | -mint[0-9]*) basic_machine=m68k-atari os=-mint ;; esac # Decode aliases for certain CPU-COMPANY combinations. case $basic_machine in # Recognize the basic CPU types without company name. # Some are omitted here because they have special meanings below. 1750a | 580 \ | a29k \ | aarch64 | aarch64_be \ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ | arc | arceb \ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \ | avr | avr32 \ | ba \ | be32 | be64 \ | bfin \ | c4x | c8051 | clipper \ | d10v | d30v | dlx | dsp16xx \ | e2k | epiphany \ | fido | fr30 | frv | ft32 \ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \ | hexagon \ | i370 | i860 | i960 | ia64 \ | ip2k | iq2000 \ | k1om \ | le32 | le64 \ | lm32 \ | m32c | m32r | m32rle | m68000 | m68k | m88k \ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \ | mips | mipsbe | mipseb | mipsel | mipsle \ | mips16 \ | mips64 | mips64el \ | mips64octeon | mips64octeonel \ | mips64orion | mips64orionel \ | mips64r5900 | mips64r5900el \ | mips64vr | mips64vrel \ | mips64vr4100 | mips64vr4100el \ | mips64vr4300 | mips64vr4300el \ | mips64vr5000 | mips64vr5000el \ | mips64vr5900 | mips64vr5900el \ | mipsisa32 | mipsisa32el \ | mipsisa32r2 | mipsisa32r2el \ | mipsisa32r6 | mipsisa32r6el \ | mipsisa64 | mipsisa64el \ | mipsisa64r2 | mipsisa64r2el \ | mipsisa64r6 | mipsisa64r6el \ | mipsisa64sb1 | mipsisa64sb1el \ | mipsisa64sr71k | mipsisa64sr71kel \ | mipsr5900 | mipsr5900el \ | mipstx39 | mipstx39el \ | mn10200 | mn10300 \ | moxie \ | mt \ | msp430 \ | nds32 | nds32le | nds32be \ | nios | nios2 | nios2eb | nios2el \ | ns16k | ns32k \ | open8 | or1k | or1knd | or32 \ | pdp10 | pdp11 | pj | pjl \ | powerpc | powerpc64 | powerpc64le | powerpcle \ | pyramid \ | riscv32 | riscv64 \ | rl78 | rx \ | score \ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \ | spu \ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \ | ubicom32 \ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \ | visium \ | we32k \ | x86 | xc16x | xstormy16 | xtensa \ | z8k | z80) basic_machine=$basic_machine-unknown ;; c54x) basic_machine=tic54x-unknown ;; c55x) basic_machine=tic55x-unknown ;; c6x) basic_machine=tic6x-unknown ;; leon|leon[3-9]) basic_machine=sparc-$basic_machine ;; m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip) basic_machine=$basic_machine-unknown os=-none ;; m88110 | m680[12346]0 | m683?2 | m68360 | m5200 | v70 | w65 | z8k) ;; ms1) basic_machine=mt-unknown ;; strongarm | thumb | xscale) basic_machine=arm-unknown ;; xgate) basic_machine=$basic_machine-unknown os=-none ;; xscaleeb) basic_machine=armeb-unknown ;; xscaleel) basic_machine=armel-unknown ;; # We use `pc' rather than `unknown' # because (1) that's what they normally are, and # (2) the word "unknown" tends to confuse beginning users. i*86 | x86_64) basic_machine=$basic_machine-pc ;; # Object if more than one company name word. *-*-*) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; # Recognize the basic CPU types with company name. 580-* \ | a29k-* \ | aarch64-* | aarch64_be-* \ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* | avr32-* \ | ba-* \ | be32-* | be64-* \ | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* \ | c8051-* | clipper-* | craynv-* | cydra-* \ | d10v-* | d30v-* | dlx-* \ | e2k-* | elxsi-* \ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \ | h8300-* | h8500-* \ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \ | hexagon-* \ | i*86-* | i860-* | i960-* | ia64-* \ | ip2k-* | iq2000-* \ | k1om-* \ | le32-* | le64-* \ | lm32-* \ | m32c-* | m32r-* | m32rle-* \ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \ | microblaze-* | microblazeel-* \ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \ | mips16-* \ | mips64-* | mips64el-* \ | mips64octeon-* | mips64octeonel-* \ | mips64orion-* | mips64orionel-* \ | mips64r5900-* | mips64r5900el-* \ | mips64vr-* | mips64vrel-* \ | mips64vr4100-* | mips64vr4100el-* \ | mips64vr4300-* | mips64vr4300el-* \ | mips64vr5000-* | mips64vr5000el-* \ | mips64vr5900-* | mips64vr5900el-* \ | mipsisa32-* | mipsisa32el-* \ | mipsisa32r2-* | mipsisa32r2el-* \ | mipsisa32r6-* | mipsisa32r6el-* \ | mipsisa64-* | mipsisa64el-* \ | mipsisa64r2-* | mipsisa64r2el-* \ | mipsisa64r6-* | mipsisa64r6el-* \ | mipsisa64sb1-* | mipsisa64sb1el-* \ | mipsisa64sr71k-* | mipsisa64sr71kel-* \ | mipsr5900-* | mipsr5900el-* \ | mipstx39-* | mipstx39el-* \ | mmix-* \ | mt-* \ | msp430-* \ | nds32-* | nds32le-* | nds32be-* \ | nios-* | nios2-* | nios2eb-* | nios2el-* \ | none-* | np1-* | ns16k-* | ns32k-* \ | open8-* \ | or1k*-* \ | orion-* \ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \ | pyramid-* \ | riscv32-* | riscv64-* \ | rl78-* | romp-* | rs6000-* | rx-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \ | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \ | tahoe-* \ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \ | tile*-* \ | tron-* \ | ubicom32-* \ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \ | vax-* \ | visium-* \ | we32k-* \ | x86-* | x86_64-* | xc16x-* | xps100-* \ | xstormy16-* | xtensa*-* \ | ymp-* \ | z8k-* | z80-*) ;; # Recognize the basic CPU types without company name, with glob match. xtensa*) basic_machine=$basic_machine-unknown ;; # Recognize the various machine names and aliases which stand # for a CPU type and a company and sometimes even an OS. 386bsd) basic_machine=i386-unknown os=-bsd ;; 3b1 | 7300 | 7300-att | att-7300 | pc7300 | safari | unixpc) basic_machine=m68000-att ;; 3b*) basic_machine=we32k-att ;; a29khif) basic_machine=a29k-amd os=-udi ;; abacus) basic_machine=abacus-unknown ;; adobe68k) basic_machine=m68010-adobe os=-scout ;; alliant | fx80) basic_machine=fx80-alliant ;; altos | altos3068) basic_machine=m68k-altos ;; am29k) basic_machine=a29k-none os=-bsd ;; amd64) basic_machine=x86_64-pc ;; amd64-*) basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; amdahl) basic_machine=580-amdahl os=-sysv ;; amiga | amiga-*) basic_machine=m68k-unknown ;; amigaos | amigados) basic_machine=m68k-unknown os=-amigaos ;; amigaunix | amix) basic_machine=m68k-unknown os=-sysv4 ;; apollo68) basic_machine=m68k-apollo os=-sysv ;; apollo68bsd) basic_machine=m68k-apollo os=-bsd ;; aros) basic_machine=i386-pc os=-aros ;; asmjs) basic_machine=asmjs-unknown ;; aux) basic_machine=m68k-apple os=-aux ;; balance) basic_machine=ns32k-sequent os=-dynix ;; blackfin) basic_machine=bfin-unknown os=-linux ;; blackfin-*) basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; bluegene*) basic_machine=powerpc-ibm os=-cnk ;; c54x-*) basic_machine=tic54x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c55x-*) basic_machine=tic55x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c6x-*) basic_machine=tic6x-`echo $basic_machine | sed 's/^[^-]*-//'` ;; c90) basic_machine=c90-cray os=-unicos ;; cegcc) basic_machine=arm-unknown os=-cegcc ;; convex-c1) basic_machine=c1-convex os=-bsd ;; convex-c2) basic_machine=c2-convex os=-bsd ;; convex-c32) basic_machine=c32-convex os=-bsd ;; convex-c34) basic_machine=c34-convex os=-bsd ;; convex-c38) basic_machine=c38-convex os=-bsd ;; cray | j90) basic_machine=j90-cray os=-unicos ;; craynv) basic_machine=craynv-cray os=-unicosmp ;; cr16 | cr16-*) basic_machine=cr16-unknown os=-elf ;; crds | unos) basic_machine=m68k-crds ;; crisv32 | crisv32-* | etraxfs*) basic_machine=crisv32-axis ;; cris | cris-* | etrax*) basic_machine=cris-axis ;; crx) basic_machine=crx-unknown os=-elf ;; da30 | da30-*) basic_machine=m68k-da30 ;; decstation | decstation-3100 | pmax | pmax-* | pmin | dec3100 | decstatn) basic_machine=mips-dec ;; decsystem10* | dec10*) basic_machine=pdp10-dec os=-tops10 ;; decsystem20* | dec20*) basic_machine=pdp10-dec os=-tops20 ;; delta | 3300 | motorola-3300 | motorola-delta \ | 3300-motorola | delta-motorola) basic_machine=m68k-motorola ;; delta88) basic_machine=m88k-motorola os=-sysv3 ;; dicos) basic_machine=i686-pc os=-dicos ;; djgpp) basic_machine=i586-pc os=-msdosdjgpp ;; dpx20 | dpx20-*) basic_machine=rs6000-bull os=-bosx ;; dpx2* | dpx2*-bull) basic_machine=m68k-bull os=-sysv3 ;; ebmon29k) basic_machine=a29k-amd os=-ebmon ;; elxsi) basic_machine=elxsi-elxsi os=-bsd ;; encore | umax | mmax) basic_machine=ns32k-encore ;; es1800 | OSE68k | ose68k | ose | OSE) basic_machine=m68k-ericsson os=-ose ;; fx2800) basic_machine=i860-alliant ;; genix) basic_machine=ns32k-ns ;; gmicro) basic_machine=tron-gmicro os=-sysv ;; go32) basic_machine=i386-pc os=-go32 ;; h3050r* | hiux*) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; h8300hms) basic_machine=h8300-hitachi os=-hms ;; h8300xray) basic_machine=h8300-hitachi os=-xray ;; h8500hms) basic_machine=h8500-hitachi os=-hms ;; harris) basic_machine=m88k-harris os=-sysv3 ;; hp300-*) basic_machine=m68k-hp ;; hp300bsd) basic_machine=m68k-hp os=-bsd ;; hp300hpux) basic_machine=m68k-hp os=-hpux ;; hp3k9[0-9][0-9] | hp9[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k2[0-9][0-9] | hp9k31[0-9]) basic_machine=m68000-hp ;; hp9k3[2-9][0-9]) basic_machine=m68k-hp ;; hp9k6[0-9][0-9] | hp6[0-9][0-9]) basic_machine=hppa1.0-hp ;; hp9k7[0-79][0-9] | hp7[0-79][0-9]) basic_machine=hppa1.1-hp ;; hp9k78[0-9] | hp78[0-9]) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[67]1 | hp8[67]1 | hp9k80[24] | hp80[24] | hp9k8[78]9 | hp8[78]9 | hp9k893 | hp893) # FIXME: really hppa2.0-hp basic_machine=hppa1.1-hp ;; hp9k8[0-9][13679] | hp8[0-9][13679]) basic_machine=hppa1.1-hp ;; hp9k8[0-9][0-9] | hp8[0-9][0-9]) basic_machine=hppa1.0-hp ;; hppa-next) os=-nextstep3 ;; hppaosf) basic_machine=hppa1.1-hp os=-osf ;; hppro) basic_machine=hppa1.1-hp os=-proelf ;; i370-ibm* | ibm*) basic_machine=i370-ibm ;; i*86v32) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv32 ;; i*86v4*) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv4 ;; i*86v) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-sysv ;; i*86sol2) basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'` os=-solaris2 ;; i386mach) basic_machine=i386-mach os=-mach ;; i386-vsta | vsta) basic_machine=i386-unknown os=-vsta ;; iris | iris4d) basic_machine=mips-sgi case $os in -irix*) ;; *) os=-irix4 ;; esac ;; isi68 | isi) basic_machine=m68k-isi os=-sysv ;; leon-*|leon[3-9]-*) basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'` ;; m68knommu) basic_machine=m68k-unknown os=-linux ;; m68knommu-*) basic_machine=m68k-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; m88k-omron*) basic_machine=m88k-omron ;; magnum | m3230) basic_machine=mips-mips os=-sysv ;; merlin) basic_machine=ns32k-utek os=-sysv ;; microblaze*) basic_machine=microblaze-xilinx ;; mingw64) basic_machine=x86_64-pc os=-mingw64 ;; mingw32) basic_machine=i686-pc os=-mingw32 ;; mingw32ce) basic_machine=arm-unknown os=-mingw32ce ;; miniframe) basic_machine=m68000-convergent ;; *mint | -mint[0-9]* | *MiNT | *MiNT[0-9]*) basic_machine=m68k-atari os=-mint ;; mips3*-*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'` ;; mips3*) basic_machine=`echo $basic_machine | sed -e 's/mips3/mips64/'`-unknown ;; monitor) basic_machine=m68k-rom68k os=-coff ;; morphos) basic_machine=powerpc-unknown os=-morphos ;; moxiebox) basic_machine=moxie-unknown os=-moxiebox ;; msdos) basic_machine=i386-pc os=-msdos ;; ms1-*) basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'` ;; msys) basic_machine=i686-pc os=-msys ;; mvs) basic_machine=i370-ibm os=-mvs ;; nacl) basic_machine=le32-unknown os=-nacl ;; ncr3000) basic_machine=i486-ncr os=-sysv4 ;; netbsd386) basic_machine=i386-unknown os=-netbsd ;; netwinder) basic_machine=armv4l-rebel os=-linux ;; news | news700 | news800 | news900) basic_machine=m68k-sony os=-newsos ;; news1000) basic_machine=m68030-sony os=-newsos ;; news-3600 | risc-news) basic_machine=mips-sony os=-newsos ;; necv70) basic_machine=v70-nec os=-sysv ;; next | m*-next ) basic_machine=m68k-next case $os in -nextstep* ) ;; -ns2*) os=-nextstep2 ;; *) os=-nextstep3 ;; esac ;; nh3000) basic_machine=m68k-harris os=-cxux ;; nh[45]000) basic_machine=m88k-harris os=-cxux ;; nindy960) basic_machine=i960-intel os=-nindy ;; mon960) basic_machine=i960-intel os=-mon960 ;; nonstopux) basic_machine=mips-compaq os=-nonstopux ;; np1) basic_machine=np1-gould ;; neo-tandem) basic_machine=neo-tandem ;; nse-tandem) basic_machine=nse-tandem ;; nsr-tandem) basic_machine=nsr-tandem ;; op50n-* | op60c-*) basic_machine=hppa1.1-oki os=-proelf ;; openrisc | openrisc-*) basic_machine=or32-unknown ;; os400) basic_machine=powerpc-ibm os=-os400 ;; OSE68000 | ose68000) basic_machine=m68000-ericsson os=-ose ;; os68k) basic_machine=m68k-none os=-os68k ;; pa-hitachi) basic_machine=hppa1.1-hitachi os=-hiuxwe2 ;; paragon) basic_machine=i860-intel os=-osf ;; parisc) basic_machine=hppa-unknown os=-linux ;; parisc-*) basic_machine=hppa-`echo $basic_machine | sed 's/^[^-]*-//'` os=-linux ;; pbd) basic_machine=sparc-tti ;; pbb) basic_machine=m68k-tti ;; pc532 | pc532-*) basic_machine=ns32k-pc532 ;; pc98) basic_machine=i386-pc ;; pc98-*) basic_machine=i386-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium | p5 | k5 | k6 | nexgen | viac3) basic_machine=i586-pc ;; pentiumpro | p6 | 6x86 | athlon | athlon_*) basic_machine=i686-pc ;; pentiumii | pentium2 | pentiumiii | pentium3) basic_machine=i686-pc ;; pentium4) basic_machine=i786-pc ;; pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*) basic_machine=i586-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumpro-* | p6-* | 6x86-* | athlon-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentiumii-* | pentium2-* | pentiumiii-* | pentium3-*) basic_machine=i686-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pentium4-*) basic_machine=i786-`echo $basic_machine | sed 's/^[^-]*-//'` ;; pn) basic_machine=pn-gould ;; power) basic_machine=power-ibm ;; ppc | ppcbe) basic_machine=powerpc-unknown ;; ppc-* | ppcbe-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppcle | powerpclittle | ppc-le | powerpc-little) basic_machine=powerpcle-unknown ;; ppcle-* | powerpclittle-*) basic_machine=powerpcle-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64) basic_machine=powerpc64-unknown ;; ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ppc64le | powerpc64little | ppc64-le | powerpc64-little) basic_machine=powerpc64le-unknown ;; ppc64le-* | powerpc64little-*) basic_machine=powerpc64le-`echo $basic_machine | sed 's/^[^-]*-//'` ;; ps2) basic_machine=i386-ibm ;; pw32) basic_machine=i586-unknown os=-pw32 ;; rdos | rdos64) basic_machine=x86_64-pc os=-rdos ;; rdos32) basic_machine=i386-pc os=-rdos ;; rom68k) basic_machine=m68k-rom68k os=-coff ;; rm[46]00) basic_machine=mips-siemens ;; rtpc | rtpc-*) basic_machine=romp-ibm ;; s390 | s390-*) basic_machine=s390-ibm ;; s390x | s390x-*) basic_machine=s390x-ibm ;; sa29200) basic_machine=a29k-amd os=-udi ;; sb1) basic_machine=mipsisa64sb1-unknown ;; sb1el) basic_machine=mipsisa64sb1el-unknown ;; sde) basic_machine=mipsisa32-sde os=-elf ;; sei) basic_machine=mips-sei os=-seiux ;; sequent) basic_machine=i386-sequent ;; sh) basic_machine=sh-hitachi os=-hms ;; sh5el) basic_machine=sh5le-unknown ;; sh64) basic_machine=sh64-unknown ;; sparclite-wrs | simso-wrs) basic_machine=sparclite-wrs os=-vxworks ;; sps7) basic_machine=m68k-bull os=-sysv2 ;; spur) basic_machine=spur-unknown ;; st2000) basic_machine=m68k-tandem ;; stratus) basic_machine=i860-stratus os=-sysv4 ;; strongarm-* | thumb-*) basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'` ;; sun2) basic_machine=m68000-sun ;; sun2os3) basic_machine=m68000-sun os=-sunos3 ;; sun2os4) basic_machine=m68000-sun os=-sunos4 ;; sun3os3) basic_machine=m68k-sun os=-sunos3 ;; sun3os4) basic_machine=m68k-sun os=-sunos4 ;; sun4os3) basic_machine=sparc-sun os=-sunos3 ;; sun4os4) basic_machine=sparc-sun os=-sunos4 ;; sun4sol2) basic_machine=sparc-sun os=-solaris2 ;; sun3 | sun3-*) basic_machine=m68k-sun ;; sun4) basic_machine=sparc-sun ;; sun386 | sun386i | roadrunner) basic_machine=i386-sun ;; sv1) basic_machine=sv1-cray os=-unicos ;; symmetry) basic_machine=i386-sequent os=-dynix ;; t3e) basic_machine=alphaev5-cray os=-unicos ;; t90) basic_machine=t90-cray os=-unicos ;; tile*) basic_machine=$basic_machine-unknown os=-linux-gnu ;; tx39) basic_machine=mipstx39-unknown ;; tx39el) basic_machine=mipstx39el-unknown ;; toad1) basic_machine=pdp10-xkl os=-tops20 ;; tower | tower-32) basic_machine=m68k-ncr ;; tpf) basic_machine=s390x-ibm os=-tpf ;; udi29k) basic_machine=a29k-amd os=-udi ;; ultra3) basic_machine=a29k-nyu os=-sym1 ;; v810 | necv810) basic_machine=v810-nec os=-none ;; vaxv) basic_machine=vax-dec os=-sysv ;; vms) basic_machine=vax-dec os=-vms ;; vpp*|vx|vx-*) basic_machine=f301-fujitsu ;; vxworks960) basic_machine=i960-wrs os=-vxworks ;; vxworks68) basic_machine=m68k-wrs os=-vxworks ;; vxworks29k) basic_machine=a29k-wrs os=-vxworks ;; w65*) basic_machine=w65-wdc os=-none ;; w89k-*) basic_machine=hppa1.1-winbond os=-proelf ;; xbox) basic_machine=i686-pc os=-mingw32 ;; xps | xps100) basic_machine=xps100-honeywell ;; xscale-* | xscalee[bl]-*) basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'` ;; ymp) basic_machine=ymp-cray os=-unicos ;; z8k-*-coff) basic_machine=z8k-unknown os=-sim ;; z80-*-coff) basic_machine=z80-unknown os=-sim ;; none) basic_machine=none-none os=-none ;; # Here we handle the default manufacturer of certain CPU types. It is in # some cases the only manufacturer, in others, it is the most popular. w89k) basic_machine=hppa1.1-winbond ;; op50n) basic_machine=hppa1.1-oki ;; op60c) basic_machine=hppa1.1-oki ;; romp) basic_machine=romp-ibm ;; mmix) basic_machine=mmix-knuth ;; rs6000) basic_machine=rs6000-ibm ;; vax) basic_machine=vax-dec ;; pdp10) # there are many clones, so DEC is not a safe bet basic_machine=pdp10-unknown ;; pdp11) basic_machine=pdp11-dec ;; we32k) basic_machine=we32k-att ;; sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele) basic_machine=sh-unknown ;; sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v) basic_machine=sparc-sun ;; cydra) basic_machine=cydra-cydrome ;; orion) basic_machine=orion-highlevel ;; orion105) basic_machine=clipper-highlevel ;; mac | mpw | mac-mpw) basic_machine=m68k-apple ;; pmac | pmac-mpw) basic_machine=powerpc-apple ;; *-unknown) # Make sure to match an already-canonicalized machine name. ;; *) echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2 exit 1 ;; esac # Here we canonicalize certain aliases for manufacturers. case $basic_machine in *-digital*) basic_machine=`echo $basic_machine | sed 's/digital.*/dec/'` ;; *-commodore*) basic_machine=`echo $basic_machine | sed 's/commodore.*/cbm/'` ;; *) ;; esac # Decode manufacturer-specific aliases for certain operating systems. if [ x"$os" != x"" ] then case $os in # First match some system type aliases # that might get confused with valid system types. # -solaris* is a basic system type, with this one exception. -auroraux) os=-auroraux ;; -solaris1 | -solaris1.*) os=`echo $os | sed -e 's|solaris1|sunos4|'` ;; -solaris) os=-solaris2 ;; -svr4*) os=-sysv4 ;; -unixware*) os=-sysv4.2uw ;; -gnu/linux*) os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'` ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \ | -sym* | -kopensolaris* | -plan9* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* | -aros* | -cloudabi* | -sortix* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \ | -bitrig* | -openbsd* | -solidbsd* \ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* | -cegcc* \ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \ | -linux-newlib* | -linux-musl* | -linux-uclibc* \ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* | -tirtos*) # Remember, each alternative MUST END IN *, to match a version number. ;; -qnx*) case $basic_machine in x86-* | i*86-*) ;; *) os=-nto$os ;; esac ;; -nto-qnx*) ;; -nto*) os=`echo $os | sed -e 's|nto|nto-qnx|'` ;; -sim | -es1800* | -hms* | -xray | -os68k* | -none* | -v88r* \ | -windows* | -osx | -abug | -netware* | -os9* | -beos* | -haiku* \ | -macos* | -mpw* | -magic* | -mmixware* | -mon960* | -lnews*) ;; -mac*) os=`echo $os | sed -e 's|mac|macos|'` ;; -linux-dietlibc) os=-linux-dietlibc ;; -linux*) os=`echo $os | sed -e 's|linux|linux-gnu|'` ;; -sunos5*) os=`echo $os | sed -e 's|sunos5|solaris2|'` ;; -sunos6*) os=`echo $os | sed -e 's|sunos6|solaris3|'` ;; -opened*) os=-openedition ;; -os400*) os=-os400 ;; -wince*) os=-wince ;; -osfrose*) os=-osfrose ;; -osf*) os=-osf ;; -utek*) os=-bsd ;; -dynix*) os=-bsd ;; -acis*) os=-aos ;; -atheos*) os=-atheos ;; -syllable*) os=-syllable ;; -386bsd) os=-bsd ;; -ctix* | -uts*) os=-sysv ;; -nova*) os=-rtmk-nova ;; -ns2 ) os=-nextstep2 ;; -nsk*) os=-nsk ;; # Preserve the version number of sinix5. -sinix5.*) os=`echo $os | sed -e 's|sinix|sysv|'` ;; -sinix*) os=-sysv4 ;; -tpf*) os=-tpf ;; -triton*) os=-sysv3 ;; -oss*) os=-sysv3 ;; -svr4) os=-sysv4 ;; -svr3) os=-sysv3 ;; -sysvr4) os=-sysv4 ;; # This must come after -sysvr4. -sysv*) ;; -ose*) os=-ose ;; -es1800*) os=-ose ;; -xenix) os=-xenix ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) os=-mint ;; -aros*) os=-aros ;; -zvmoe) os=-zvmoe ;; -dicos*) os=-dicos ;; -nacl*) ;; -none) ;; *) # Get rid of the `-' at the beginning of $os. os=`echo $os | sed 's/[^-]*-//'` echo Invalid configuration \`$1\': system \`$os\' not recognized 1>&2 exit 1 ;; esac else # Here we handle the default operating systems that come with various machines. # The value should be what the vendor currently ships out the door with their # machine or put another way, the most popular os provided with the machine. # Note that if you're going to try to match "-MANUFACTURER" here (say, # "-sun"), then you have to tell the case statement up towards the top # that MANUFACTURER isn't an operating system. Otherwise, code above # will signal an error saying that MANUFACTURER isn't an operating # system, and we'll never get to this point. case $basic_machine in score-*) os=-elf ;; spu-*) os=-elf ;; *-acorn) os=-riscix1.2 ;; arm*-rebel) os=-linux ;; arm*-semi) os=-aout ;; c4x-* | tic4x-*) os=-coff ;; c8051-*) os=-elf ;; hexagon-*) os=-elf ;; tic54x-*) os=-coff ;; tic55x-*) os=-coff ;; tic6x-*) os=-coff ;; # This must come before the *-dec entry. pdp10-*) os=-tops20 ;; pdp11-*) os=-none ;; *-dec | vax-*) os=-ultrix4.2 ;; m68*-apollo) os=-domain ;; i386-sun) os=-sunos4.0.2 ;; m68000-sun) os=-sunos3 ;; m68*-cisco) os=-aout ;; mep-*) os=-elf ;; mips*-cisco) os=-elf ;; mips*-*) os=-elf ;; or32-*) os=-coff ;; *-tti) # must be before sparc entry or we get the wrong os. os=-sysv3 ;; sparc-* | *-sun) os=-sunos4.1.1 ;; *-be) os=-beos ;; *-haiku) os=-haiku ;; *-ibm) os=-aix ;; *-knuth) os=-mmixware ;; *-wec) os=-proelf ;; *-winbond) os=-proelf ;; *-oki) os=-proelf ;; *-hp) os=-hpux ;; *-hitachi) os=-hiux ;; i860-* | *-att | *-ncr | *-altos | *-motorola | *-convergent) os=-sysv ;; *-cbm) os=-amigaos ;; *-dg) os=-dgux ;; *-dolphin) os=-sysv3 ;; m68k-ccur) os=-rtu ;; m88k-omron*) os=-luna ;; *-next ) os=-nextstep ;; *-sequent) os=-ptx ;; *-crds) os=-unos ;; *-ns) os=-genix ;; i370-*) os=-mvs ;; *-next) os=-nextstep3 ;; *-gould) os=-sysv ;; *-highlevel) os=-bsd ;; *-encore) os=-bsd ;; *-sgi) os=-irix ;; *-siemens) os=-sysv4 ;; *-masscomp) os=-rtu ;; f30[01]-fujitsu | f700-fujitsu) os=-uxpv ;; *-rom68k) os=-coff ;; *-*bug) os=-coff ;; *-apple) os=-macos ;; *-atari*) os=-mint ;; *) os=-none ;; esac fi # Here we handle the case where we know the os, and the CPU type, but not the # manufacturer. We pick the logical manufacturer. vendor=unknown case $basic_machine in *-unknown) case $os in -riscix*) vendor=acorn ;; -sunos*) vendor=sun ;; -cnk*|-aix*) vendor=ibm ;; -beos*) vendor=be ;; -hpux*) vendor=hp ;; -mpeix*) vendor=hp ;; -hiux*) vendor=hitachi ;; -unos*) vendor=crds ;; -dgux*) vendor=dg ;; -luna*) vendor=omron ;; -genix*) vendor=ns ;; -mvs* | -opened*) vendor=ibm ;; -os400*) vendor=ibm ;; -ptx*) vendor=sequent ;; -tpf*) vendor=ibm ;; -vxsim* | -vxworks* | -windiss*) vendor=wrs ;; -aux*) vendor=apple ;; -hms*) vendor=hitachi ;; -mpw* | -macos*) vendor=apple ;; -*mint | -mint[0-9]* | -*MiNT | -MiNT[0-9]*) vendor=atari ;; -vos*) vendor=stratus ;; esac basic_machine=`echo $basic_machine | sed "s/unknown/$vendor/"` ;; esac echo $basic_machine$os exit # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: weston-3.0.0/build-aux/depcomp0000755000175000017500000005601613142404607013232 00000000000000#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2013-05-30.07; # UTC # Copyright (C) 1999-2014 Free Software Foundation, Inc. # This program 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, or (at your option) # any later version. # This program 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 this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # Originally written by Alexandre Oliva . case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: depcomp [--help] [--version] PROGRAM [ARGS] Run PROGRAMS ARGS to compile a file, generating dependencies as side-effects. Environment variables: depmode Dependency tracking mode. source Source file read by 'PROGRAMS ARGS'. object Object file output by 'PROGRAMS ARGS'. DEPDIR directory where to store dependencies. depfile Dependency file to output. tmpdepfile Temporary file to use when outputting dependencies. libtool Whether libtool is used (yes/no). Report bugs to . EOF exit $? ;; -v | --v*) echo "depcomp $scriptversion" exit $? ;; esac # Get the directory component of the given path, and save it in the # global variables '$dir'. Note that this directory component will # be either empty or ending with a '/' character. This is deliberate. set_dir_from () { case $1 in */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;; *) dir=;; esac } # Get the suffix-stripped basename of the given path, and save it the # global variable '$base'. set_base_from () { base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'` } # If no dependency file was actually created by the compiler invocation, # we still have to create a dummy depfile, to avoid errors with the # Makefile "include basename.Plo" scheme. make_dummy_depfile () { echo "#dummy" > "$depfile" } # Factor out some common post-processing of the generated depfile. # Requires the auxiliary global variable '$tmpdepfile' to be set. aix_post_process_depfile () { # If the compiler actually managed to produce a dependency file, # post-process it. if test -f "$tmpdepfile"; then # Each line is of the form 'foo.o: dependency.h'. # Do two passes, one to just change these to # $object: dependency.h # and one to simply output # dependency.h: # which is needed to avoid the deleted-header problem. { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile" sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile" } > "$depfile" rm -f "$tmpdepfile" else make_dummy_depfile fi } # A tabulation character. tab=' ' # A newline character. nl=' ' # Character ranges might be problematic outside the C locale. # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then echo "depcomp: Variables source, object and depmode must be set" 1>&2 exit 1 fi # Dependencies for sub/bar.o or sub/bar.obj go into sub/.deps/bar.Po. depfile=${depfile-`echo "$object" | sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`} tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`} rm -f "$tmpdepfile" # Avoid interferences from the environment. gccflag= dashmflag= # Some modes work just like other modes, but use different flags. We # parameterize here, but still list the modes in the big case below, # to make depend.m4 easier to write. Note that we *cannot* use a case # here, because this file can only contain one case statement. if test "$depmode" = hp; then # HP compiler uses -M and no extra arg. gccflag=-M depmode=gcc fi if test "$depmode" = dashXmstdout; then # This is just like dashmstdout with a different argument. dashmflag=-xM depmode=dashmstdout fi cygpath_u="cygpath -u -f -" if test "$depmode" = msvcmsys; then # This is just like msvisualcpp but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvisualcpp fi if test "$depmode" = msvc7msys; then # This is just like msvc7 but w/o cygpath translation. # Just convert the backslash-escaped backslashes to single forward # slashes to satisfy depend.m4 cygpath_u='sed s,\\\\,/,g' depmode=msvc7 fi if test "$depmode" = xlc; then # IBM C/C++ Compilers xlc/xlC can output gcc-like dependency information. gccflag=-qmakedep=gcc,-MF depmode=gcc fi case "$depmode" in gcc3) ## gcc 3 implements dependency tracking that does exactly what ## we want. Yay! Note: for some reason libtool 1.4 doesn't like ## it if -MD -MP comes after the -MF stuff. Hmm. ## Unfortunately, FreeBSD c89 acceptance of flags depends upon ## the command line argument order; so add the flags where they ## appear in depend2.am. Note that the slowdown incurred here ## affects only configure: in makefiles, %FASTDEP% shortcuts this. for arg do case $arg in -c) set fnord "$@" -MT "$object" -MD -MP -MF "$tmpdepfile" "$arg" ;; *) set fnord "$@" "$arg" ;; esac shift # fnord shift # $arg done "$@" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi mv "$tmpdepfile" "$depfile" ;; gcc) ## Note that this doesn't just cater to obsosete pre-3.x GCC compilers. ## but also to in-use compilers like IMB xlc/xlC and the HP C compiler. ## (see the conditional assignment to $gccflag above). ## There are various ways to get dependency output from gcc. Here's ## why we pick this rather obscure method: ## - Don't want to use -MD because we'd like the dependencies to end ## up in a subdir. Having to rename by hand is ugly. ## (We might end up doing this anyway to support other compilers.) ## - The DEPENDENCIES_OUTPUT environment variable makes gcc act like ## -MM, not -M (despite what the docs say). Also, it might not be ## supported by the other compilers which use the 'gcc' depmode. ## - Using -M directly means running the compiler twice (even worse ## than renaming). if test -z "$gccflag"; then gccflag=-MD, fi "$@" -Wp,"$gccflag$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The second -e expression handles DOS-style file names with drive # letters. sed -e 's/^[^:]*: / /' \ -e 's/^['$alpha']:\/[^:]*: / /' < "$tmpdepfile" >> "$depfile" ## This next piece of magic avoids the "deleted header file" problem. ## The problem is that when a header file which appears in a .P file ## is deleted, the dependency causes make to die (because there is ## typically no way to rebuild the header). We avoid this by adding ## dummy dependencies for each header file. Too bad gcc doesn't do ## this for us directly. ## Some versions of gcc put a space before the ':'. On the theory ## that the space means something, we add a space to the output as ## well. hp depmode also adds that space, but also prefixes the VPATH ## to the object. Take care to not repeat it in the output. ## Some versions of the HPUX 10.20 sed can't process this invocation ## correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; sgi) if test "$libtool" = yes; then "$@" "-Wp,-MDupdate,$tmpdepfile" else "$@" -MDupdate "$tmpdepfile" fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" if test -f "$tmpdepfile"; then # yes, the sourcefile depend on other files echo "$object : \\" > "$depfile" # Clip off the initial element (the dependent). Don't try to be # clever and replace this with sed code, as IRIX sed won't handle # lines with more than a fixed number of characters (4096 in # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines; # the IRIX cc adds comments like '#:fec' to the end of the # dependency line. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \ | tr "$nl" ' ' >> "$depfile" echo >> "$depfile" # The second pass generates a dummy entry for each header file. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \ >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" ;; xlc) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; aix) # The C for AIX Compiler uses -M and outputs the dependencies # in a .u file. In older versions, this file always lives in the # current directory. Also, the AIX compiler puts '$object:' at the # start of each line; $object doesn't have directory information. # Version 6 uses the directory in both cases. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.u tmpdepfile2=$base.u tmpdepfile3=$dir.libs/$base.u "$@" -Wc,-M else tmpdepfile1=$dir$base.u tmpdepfile2=$dir$base.u tmpdepfile3=$dir$base.u "$@" -M fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done aix_post_process_depfile ;; tcc) # tcc (Tiny C Compiler) understand '-MD -MF file' since version 0.9.26 # FIXME: That version still under development at the moment of writing. # Make that this statement remains true also for stable, released # versions. # It will wrap lines (doesn't matter whether long or short) with a # trailing '\', as in: # # foo.o : \ # foo.c \ # foo.h \ # # It will put a trailing '\' even on the last line, and will use leading # spaces rather than leading tabs (at least since its commit 0394caf7 # "Emit spaces for -MD"). "$@" -MD -MF "$tmpdepfile" stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each non-empty line is of the form 'foo.o : \' or ' dep.h \'. # We have to change lines of the first kind to '$object: \'. sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile" # And for each line of the second kind, we have to emit a 'dep.h:' # dummy dependency, to avoid the deleted-header problem. sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile" rm -f "$tmpdepfile" ;; ## The order of this option in the case statement is important, since the ## shell code in configure will try each of these formats in the order ## listed in this file. A plain '-MD' option would be understood by many ## compilers, so we must ensure this comes after the gcc and icc options. pgcc) # Portland's C compiler understands '-MD'. # Will always output deps to 'file.d' where file is the root name of the # source file under compilation, even if file resides in a subdirectory. # The object file name does not affect the name of the '.d' file. # pgcc 10.2 will output # foo.o: sub/foo.c sub/foo.h # and will wrap long lines using '\' : # foo.o: sub/foo.c ... \ # sub/foo.h ... \ # ... set_dir_from "$object" # Use the source, not the object, to determine the base name, since # that's sadly what pgcc will do too. set_base_from "$source" tmpdepfile=$base.d # For projects that build the same source file twice into different object # files, the pgcc approach of using the *source* file root name can cause # problems in parallel builds. Use a locking strategy to avoid stomping on # the same $tmpdepfile. lockdir=$base.d-lock trap " echo '$0: caught signal, cleaning up...' >&2 rmdir '$lockdir' exit 1 " 1 2 13 15 numtries=100 i=$numtries while test $i -gt 0; do # mkdir is a portable test-and-set. if mkdir "$lockdir" 2>/dev/null; then # This process acquired the lock. "$@" -MD stat=$? # Release the lock. rmdir "$lockdir" break else # If the lock is being held by a different process, wait # until the winning process is done or we timeout. while test -d "$lockdir" && test $i -gt 0; do sleep 1 i=`expr $i - 1` done fi i=`expr $i - 1` done trap - 1 2 13 15 if test $i -le 0; then echo "$0: failed to acquire lock after $numtries attempts" >&2 echo "$0: check lockdir '$lockdir'" >&2 exit 1 fi if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" # Each line is of the form `foo.o: dependent.h', # or `foo.o: dep1.h dep2.h \', or ` dep3.h dep4.h \'. # Do two passes, one to just change these to # `$object: dependent.h' and one to simply `dependent.h:'. sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this invocation # correctly. Breaking it into two sed invocations is a workaround. sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; hp2) # The "hp" stanza above does not work with aCC (C++) and HP's ia64 # compilers, which have integrated preprocessors. The correct option # to use with these is +Maked; it writes dependencies to a file named # 'foo.d', which lands next to the object file, wherever that # happens to be. # Much of this is similar to the tru64 case; see comments there. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then tmpdepfile1=$dir$base.d tmpdepfile2=$dir.libs/$base.d "$@" -Wc,+Maked else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d "$@" +Maked fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" do test -f "$tmpdepfile" && break done if test -f "$tmpdepfile"; then sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile" # Add 'dependent.h:' lines. sed -ne '2,${ s/^ *// s/ \\*$// s/$/:/ p }' "$tmpdepfile" >> "$depfile" else make_dummy_depfile fi rm -f "$tmpdepfile" "$tmpdepfile2" ;; tru64) # The Tru64 compiler uses -MD to generate dependencies as a side # effect. 'cc -MD -o foo.o ...' puts the dependencies into 'foo.o.d'. # At least on Alpha/Redhat 6.1, Compaq CCC V6.2-504 seems to put # dependencies in 'foo.d' instead, so we check for that too. # Subdirectories are respected. set_dir_from "$object" set_base_from "$object" if test "$libtool" = yes; then # Libtool generates 2 separate objects for the 2 libraries. These # two compilations output dependencies in $dir.libs/$base.o.d and # in $dir$base.o.d. We have to check for both files, because # one of the two compilations can be disabled. We should prefer # $dir$base.o.d over $dir.libs/$base.o.d because the latter is # automatically cleaned when .libs/ is deleted, while ignoring # the former would cause a distcleancheck panic. tmpdepfile1=$dir$base.o.d # libtool 1.5 tmpdepfile2=$dir.libs/$base.o.d # Likewise. tmpdepfile3=$dir.libs/$base.d # Compaq CCC V6.2-504 "$@" -Wc,-MD else tmpdepfile1=$dir$base.d tmpdepfile2=$dir$base.d tmpdepfile3=$dir$base.d "$@" -MD fi stat=$? if test $stat -ne 0; then rm -f "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" exit $stat fi for tmpdepfile in "$tmpdepfile1" "$tmpdepfile2" "$tmpdepfile3" do test -f "$tmpdepfile" && break done # Same post-processing that is required for AIX mode. aix_post_process_depfile ;; msvc7) if test "$libtool" = yes; then showIncludes=-Wc,-showIncludes else showIncludes=-showIncludes fi "$@" $showIncludes > "$tmpdepfile" stat=$? grep -v '^Note: including file: ' "$tmpdepfile" if test $stat -ne 0; then rm -f "$tmpdepfile" exit $stat fi rm -f "$depfile" echo "$object : \\" > "$depfile" # The first sed program below extracts the file names and escapes # backslashes for cygpath. The second sed program outputs the file # name when reading, but also accumulates all include files in the # hold buffer in order to output them again at the end. This only # works with sed implementations that can handle large buffers. sed < "$tmpdepfile" -n ' /^Note: including file: *\(.*\)/ { s//\1/ s/\\/\\\\/g p }' | $cygpath_u | sort -u | sed -n ' s/ /\\ /g s/\(.*\)/'"$tab"'\1 \\/p s/.\(.*\) \\/\1:/ H $ { s/.*/'"$tab"'/ G p }' >> "$depfile" echo >> "$depfile" # make sure the fragment doesn't end with a backslash rm -f "$tmpdepfile" ;; msvc7msys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; #nosideeffect) # This comment above is used by automake to tell side-effect # dependency tracking mechanisms from slower ones. dashmstdout) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout, regardless of -o. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done test -z "$dashmflag" && dashmflag=-M # Require at least two characters before searching for ':' # in the target name. This is to cope with DOS-style filenames: # a dependency such as 'c:/foo/bar' could be seen as target 'c' otherwise. "$@" $dashmflag | sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile" rm -f "$depfile" cat < "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process this sed invocation # correctly. Breaking it into two sed invocations is a workaround. tr ' ' "$nl" < "$tmpdepfile" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; dashXmstdout) # This case only exists to satisfy depend.m4. It is never actually # run, as this mode is specially recognized in the preamble. exit 1 ;; makedepend) "$@" || exit $? # Remove any Libtool call if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # X makedepend shift cleared=no eat=no for arg do case $cleared in no) set ""; shift cleared=yes ;; esac if test $eat = yes; then eat=no continue fi case "$arg" in -D*|-I*) set fnord "$@" "$arg"; shift ;; # Strip any option that makedepend may not understand. Remove # the object too, otherwise makedepend will parse it as a source file. -arch) eat=yes ;; -*|$object) ;; *) set fnord "$@" "$arg"; shift ;; esac done obj_suffix=`echo "$object" | sed 's/^.*\././'` touch "$tmpdepfile" ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@" rm -f "$depfile" # makedepend may prepend the VPATH from the source file name to the object. # No need to regex-escape $object, excess matching of '.' is harmless. sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile" # Some versions of the HPUX 10.20 sed can't process the last invocation # correctly. Breaking it into two sed invocations is a workaround. sed '1,2d' "$tmpdepfile" \ | tr ' ' "$nl" \ | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \ | sed -e 's/$/ :/' >> "$depfile" rm -f "$tmpdepfile" "$tmpdepfile".bak ;; cpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi # Remove '-o $object'. IFS=" " for arg do case $arg in -o) shift ;; $object) shift ;; *) set fnord "$@" "$arg" shift # fnord shift # $arg ;; esac done "$@" -E \ | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ -e '/^#line [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \ | sed '$ s: \\$::' > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" cat < "$tmpdepfile" >> "$depfile" sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile" rm -f "$tmpdepfile" ;; msvisualcpp) # Important note: in order to support this mode, a compiler *must* # always write the preprocessed file to stdout. "$@" || exit $? # Remove the call to Libtool. if test "$libtool" = yes; then while test "X$1" != 'X--mode=compile'; do shift done shift fi IFS=" " for arg do case "$arg" in -o) shift ;; $object) shift ;; "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI") set fnord "$@" shift shift ;; *) set fnord "$@" "$arg" shift shift ;; esac done "$@" -E 2>/dev/null | sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile" rm -f "$depfile" echo "$object : \\" > "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile" echo "$tab" >> "$depfile" sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile" rm -f "$tmpdepfile" ;; msvcmsys) # This case exists only to let depend.m4 do its work. It works by # looking at the text of this script. This case will never be run, # since it is checked for above. exit 1 ;; none) exec "$@" ;; *) echo "Unknown depmode $depmode" 1>&2 exit 1 ;; esac exit 0 # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: weston-3.0.0/build-aux/install-sh0000755000175000017500000003546313142404607013664 00000000000000#!/bin/sh # install - install a program, script, or datafile scriptversion=2014-09-12.12; # UTC # This originates from X11R5 (mit/util/scripts/install.sh), which was # later released in X11R6 (xc/config/util/install.sh) with the # following copyright and license. # # Copyright (C) 1994 X Consortium # # 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 # X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN # AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- # TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. # # Except as contained in this notice, the name of the X Consortium shall not # be used in advertising or otherwise to promote the sale, use or other deal- # ings in this Software without prior written authorization from the X Consor- # tium. # # # FSF changes to this file are in the public domain. # # Calling this script install-sh is preferred over install.sh, to prevent # 'make' implicit rules from creating a file called install from it # when there is no Makefile. # # This script is compatible with the BSD install script, but was written # from scratch. tab=' ' nl=' ' IFS=" $tab$nl" # Set DOITPROG to "echo" to test this script. doit=${DOITPROG-} doit_exec=${doit:-exec} # Put in absolute file names if you don't have them in your path; # or use environment vars. chgrpprog=${CHGRPPROG-chgrp} chmodprog=${CHMODPROG-chmod} chownprog=${CHOWNPROG-chown} cmpprog=${CMPPROG-cmp} cpprog=${CPPROG-cp} mkdirprog=${MKDIRPROG-mkdir} mvprog=${MVPROG-mv} rmprog=${RMPROG-rm} stripprog=${STRIPPROG-strip} posix_mkdir= # Desired mode of installed file. mode=0755 chgrpcmd= chmodcmd=$chmodprog chowncmd= mvcmd=$mvprog rmcmd="$rmprog -f" stripcmd= src= dst= dir_arg= dst_arg= copy_on_change=false is_target_a_directory=possibly usage="\ Usage: $0 [OPTION]... [-T] SRCFILE DSTFILE or: $0 [OPTION]... SRCFILES... DIRECTORY or: $0 [OPTION]... -t DIRECTORY SRCFILES... or: $0 [OPTION]... -d DIRECTORIES... In the 1st form, copy SRCFILE to DSTFILE. In the 2nd and 3rd, copy all SRCFILES to DIRECTORY. In the 4th, create DIRECTORIES. Options: --help display this help and exit. --version display version info and exit. -c (ignored) -C install only if different (preserve the last data modification time) -d create directories instead of installing files. -g GROUP $chgrpprog installed files to GROUP. -m MODE $chmodprog installed files to MODE. -o USER $chownprog installed files to USER. -s $stripprog installed files. -t DIRECTORY install into DIRECTORY. -T report an error if DSTFILE is a directory. Environment variables override the default commands: CHGRPPROG CHMODPROG CHOWNPROG CMPPROG CPPROG MKDIRPROG MVPROG RMPROG STRIPPROG " while test $# -ne 0; do case $1 in -c) ;; -C) copy_on_change=true;; -d) dir_arg=true;; -g) chgrpcmd="$chgrpprog $2" shift;; --help) echo "$usage"; exit $?;; -m) mode=$2 case $mode in *' '* | *"$tab"* | *"$nl"* | *'*'* | *'?'* | *'['*) echo "$0: invalid mode: $mode" >&2 exit 1;; esac shift;; -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) is_target_a_directory=always dst_arg=$2 # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) is_target_a_directory=never;; --version) echo "$0 $scriptversion"; exit $?;; --) shift break;; -*) echo "$0: invalid option: $1" >&2 exit 1;; *) break;; esac shift done # We allow the use of options -d and -T together, by making -d # take the precedence; this is for compatibility with GNU install. if test -n "$dir_arg"; then if test -n "$dst_arg"; then echo "$0: target directory not allowed when installing a directory." >&2 exit 1 fi fi if test $# -ne 0 && test -z "$dir_arg$dst_arg"; then # When -d is used, all remaining arguments are directories to create. # When -t is used, the destination is already specified. # Otherwise, the last argument is the destination. Remove it from $@. for arg do if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for 'test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 fi # It's OK to call 'install-sh -d' without argument. # This can happen when creating conditional directories. exit 0 fi if test -z "$dir_arg"; then if test $# -gt 1 || test "$is_target_a_directory" = always; then if test ! -d "$dst_arg"; then echo "$0: $dst_arg: Is not a directory." >&2 exit 1 fi fi fi if test -z "$dir_arg"; then do_exit='(exit $ret); exit $ret' trap "ret=129; $do_exit" 1 trap "ret=130; $do_exit" 2 trap "ret=141; $do_exit" 13 trap "ret=143; $do_exit" 15 # Set umask so as not to create temps with too-generous modes. # However, 'strip' requires both read and write access to temps. case $mode in # Optimize common cases. *644) cp_umask=133;; *755) cp_umask=22;; *[0-7]) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw='% 200' fi cp_umask=`expr '(' 777 - $mode % 1000 ')' $u_plus_rw`;; *) if test -z "$stripcmd"; then u_plus_rw= else u_plus_rw=,u+rw fi cp_umask=$mode$u_plus_rw;; esac fi for src do # Protect names problematic for 'test' and other utilities. case $src in -* | [=\(\)!]) src=./$src;; esac if test -n "$dir_arg"; then dst=$src dstdir=$dst test -d "$dstdir" dstdir_status=$? else # Waiting for this to be detected by the "$cpprog $src $dsttmp" command # might cause directories to be created, which would be especially bad # if $src (and thus $dsttmp) contains '*'. if test ! -f "$src" && test ! -d "$src"; then echo "$0: $src does not exist." >&2 exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi dst=$dst_arg # If destination is a directory, append the input filename; won't work # if double slashes aren't ignored. if test -d "$dst"; then if test "$is_target_a_directory" = never; then echo "$0: $dst_arg: Is a directory" >&2 exit 1 fi dstdir=$dst dst=$dstdir/`basename "$src"` dstdir_status=0 else dstdir=`dirname "$dst"` test -d "$dstdir" dstdir_status=$? fi fi obsolete_mkdir_used=false if test $dstdir_status != 0; then case $posix_mkdir in '') # Create intermediate dirs using mode 755 as modified by the umask. # This is like FreeBSD 'install' as of 1997-10-28. umask=`umask` case $stripcmd.$umask in # Optimize common cases. *[2367][2367]) mkdir_umask=$umask;; .*0[02][02] | .[02][02] | .[02]) mkdir_umask=22;; *[0-7]) mkdir_umask=`expr $umask + 22 \ - $umask % 100 % 40 + $umask % 20 \ - $umask % 10 % 4 + $umask % 2 `;; *) mkdir_umask=$umask,go-w;; esac # With -d, create the new directory with the user-specified mode. # Otherwise, rely on $mkdir_umask. if test -n "$dir_arg"; then mkdir_mode=-m$mode else mkdir_mode= fi posix_mkdir=false case $umask in *[123567][0-7][0-7]) # POSIX mkdir -p sets u+wx bits regardless of umask, which # is incompatible with FreeBSD 'install' when (umask & 300) != 0. ;; *) # $RANDOM is not portable (e.g. dash); use it when possible to # lower collision chance tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0 # As "mkdir -p" follows symlinks and we work in /tmp possibly; so # create the $tmpdir first (and fail if unsuccessful) to make sure # that nobody tries to guess the $tmpdir name. if (umask $mkdir_umask && $mkdirprog $mkdir_mode "$tmpdir" && exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1 then if test -z "$dir_arg" || { # Check for POSIX incompatibilities with -m. # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or # other-writable bit of parent directory when it shouldn't. # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. test_tmpdir="$tmpdir/a" ls_ld_tmpdir=`ls -ld "$test_tmpdir"` case $ls_ld_tmpdir in d????-?r-*) different_mode=700;; d????-?--*) different_mode=755;; *) false;; esac && $mkdirprog -m$different_mode -p -- "$test_tmpdir" && { ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"` test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" } } then posix_mkdir=: fi rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" else # Remove any dirs left behind by ancient mkdir implementations. rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null fi trap '' 0;; esac;; esac if $posix_mkdir && ( umask $mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir" ) then : else # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; [-=\(\)!]*) prefix='./';; *) prefix='';; esac oIFS=$IFS IFS=/ set -f set fnord $dstdir shift set +f IFS=$oIFS prefixes= for d do test X"$d" = X && continue prefix=$prefix$d if test -d "$prefix"; then prefixes= else if $posix_mkdir; then (umask=$mkdir_umask && $doit_exec $mkdirprog $mkdir_mode -p -- "$dstdir") && break # Don't fail if two instances are running concurrently. test -d "$prefix" || exit 1 else case $prefix in *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;; *) qprefix=$prefix;; esac prefixes="$prefixes '$qprefix'" fi fi prefix=$prefix/ done if test -n "$prefixes"; then # Don't fail if two instances are running concurrently. (umask $mkdir_umask && eval "\$doit_exec \$mkdirprog $prefixes") || test -d "$dstdir" || exit 1 obsolete_mkdir_used=true fi fi fi if test -n "$dir_arg"; then { test -z "$chowncmd" || $doit $chowncmd "$dst"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dst"; } && { test "$obsolete_mkdir_used$chowncmd$chgrpcmd" = false || test -z "$chmodcmd" || $doit $chmodcmd $mode "$dst"; } || exit 1 else # Make a couple of temp file names in the proper directory. dsttmp=$dstdir/_inst.$$_ rmtmp=$dstdir/_rm.$$_ # Trap to clean up those temp files at exit. trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 # Copy the file name to the temp name. (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && # and set any options; do chmod last to preserve setuid bits. # # If any of these fail, we abort the whole thing. If we want to # ignore errors from any of these, just make sure not to ignore # errors from the above "$doit $cpprog $src $dsttmp" command. # { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && # If -C, don't bother to copy if it wouldn't change the file. if $copy_on_change && old=`LC_ALL=C ls -dlL "$dst" 2>/dev/null` && new=`LC_ALL=C ls -dlL "$dsttmp" 2>/dev/null` && set -f && set X $old && old=:$2:$4:$5:$6 && set X $new && new=:$2:$4:$5:$6 && set +f && test "$old" = "$new" && $cmpprog "$dst" "$dsttmp" >/dev/null 2>&1 then rm -f "$dsttmp" else # Rename the file to the real destination. $doit $mvcmd -f "$dsttmp" "$dst" 2>/dev/null || # The rename failed, perhaps because mv can't rename something else # to itself, or perhaps because mv is so ancient that it does not # support -f. { # Now remove or move aside any old file at destination location. # We try this two ways since rm can't unlink itself on some # systems and the destination file might be busy for other # reasons. In this case, the final cleanup might fail but the new # file should still install successfully. { test ! -f "$dst" || $doit $rmcmd -f "$dst" 2>/dev/null || { $doit $mvcmd -f "$dst" "$rmtmp" 2>/dev/null && { $doit $rmcmd -f "$rmtmp" 2>/dev/null; :; } } || { echo "$0: cannot unlink or rename $dst" >&2 (exit 1); exit 1 } } && # Now rename the file to the real destination. $doit $mvcmd "$dsttmp" "$dst" } fi || exit 1 trap '' 0 fi done # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: weston-3.0.0/build-aux/config.guess0000755000175000017500000012475313142404607014201 00000000000000#! /bin/sh # Attempt to guess a canonical system name. # Copyright 1992-2015 Free Software Foundation, Inc. timestamp='2015-08-20' # This file 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 3 of the License, or # (at your option) any later version. # # This program 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 this program; if not, see . # # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that # program. This Exception is an additional permission under section 7 # of the GNU General Public License, version 3 ("GPLv3"). # # Originally written by Per Bothner; maintained since 2000 by Ben Elliston. # # You can get the latest version of this script from: # http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD # # Please send patches to . me=`echo "$0" | sed -e 's,.*/,,'` usage="\ Usage: $0 [OPTION] Output the configuration name of the system \`$me' is run on. Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit Report bugs and patches to ." version="\ GNU config.guess ($timestamp) Originally written by Per Bothner. Copyright 1992-2015 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." help=" Try \`$me --help' for more information." # Parse command line while test $# -gt 0 ; do case $1 in --time-stamp | --time* | -t ) echo "$timestamp" ; exit ;; --version | -v ) echo "$version" ; exit ;; --help | --h* | -h ) echo "$usage"; exit ;; -- ) # Stop option processing shift; break ;; - ) # Use stdin as input. break ;; -* ) echo "$me: invalid option $1$help" >&2 exit 1 ;; * ) break ;; esac done if test $# != 0; then echo "$me: too many arguments$help" >&2 exit 1 fi trap 'exit 1' 1 2 15 # CC_FOR_BUILD -- compiler used by this script. Note that the use of a # compiler to aid in system detection is discouraged as it requires # temporary files to be created and, as you can see below, it is a # headache to deal with in a portable fashion. # Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still # use `HOST_CC' if defined, but it is deprecated. # Portable tmp directory creation inspired by the Autoconf team. set_cc_for_build=' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;' # This is needed to find uname on a Pyramid OSx when run in the BSD universe. # (ghazi@noc.rutgers.edu 1994-08-24) if (test -f /.attbin/uname) >/dev/null 2>&1 ; then PATH=$PATH:/.attbin ; export PATH fi UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown case "${UNAME_SYSTEM}" in Linux|GNU|GNU/*) # If the system lacks a compiler, then just pick glibc. # We could probably try harder. LIBC=gnu eval $set_cc_for_build cat <<-EOF > $dummy.c #include #if defined(__UCLIBC__) LIBC=uclibc #elif defined(__dietlibc__) LIBC=dietlibc #else LIBC=gnu #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^LIBC' | sed 's, ,,g'` ;; esac # Note: order is significant - the case branches are not exclusive. case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in *:NetBSD:*:*) # NetBSD (nbsd) targets should (where applicable) match one or # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*, # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently # switched to ELF, *-*-netbsd* would select the old # object file format. This provides both forward # compatibility and a consistent mechanism for selecting the # object file format. # # Note: NetBSD doesn't particularly care about the vendor # portion of the name. We always set it to "unknown". sysctl="sysctl -n hw.machine_arch" UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \ /sbin/$sysctl 2>/dev/null || \ /usr/sbin/$sysctl 2>/dev/null || \ echo unknown)` case "${UNAME_MACHINE_ARCH}" in armeb) machine=armeb-unknown ;; arm*) machine=arm-unknown ;; sh3el) machine=shl-unknown ;; sh3eb) machine=sh-unknown ;; sh5el) machine=sh5le-unknown ;; earmv*) arch=`echo ${UNAME_MACHINE_ARCH} | sed -e 's,^e\(armv[0-9]\).*$,\1,'` endian=`echo ${UNAME_MACHINE_ARCH} | sed -ne 's,^.*\(eb\)$,\1,p'` machine=${arch}${endian}-unknown ;; *) machine=${UNAME_MACHINE_ARCH}-unknown ;; esac # The Operating System including object format, if it has switched # to ELF recently, or will in the future. case "${UNAME_MACHINE_ARCH}" in arm*|earm*|i386|m68k|ns32k|sh3*|sparc|vax) eval $set_cc_for_build if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ELF__ then # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout). # Return netbsd for either. FIX? os=netbsd else os=netbsdelf fi ;; *) os=netbsd ;; esac # Determine ABI tags. case "${UNAME_MACHINE_ARCH}" in earm*) expr='s/^earmv[0-9]/-eabi/;s/eb$//' abi=`echo ${UNAME_MACHINE_ARCH} | sed -e "$expr"` ;; esac # The OS release # Debian GNU/NetBSD machines have a different userland, and # thus, need a distinct triplet. However, they do not need # kernel version information, so it can be replaced with a # suitable tag, in the style of linux-gnu. case "${UNAME_VERSION}" in Debian*) release='-gnu' ;; *) release=`echo ${UNAME_RELEASE} | sed -e 's/[-_].*//' | cut -d. -f1,2` ;; esac # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM: # contains redundant information, the shorter form: # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used. echo "${machine}-${os}${release}${abi}" exit ;; *:Bitrig:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'` echo ${UNAME_MACHINE_ARCH}-unknown-bitrig${UNAME_RELEASE} exit ;; *:OpenBSD:*:*) UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'` echo ${UNAME_MACHINE_ARCH}-unknown-openbsd${UNAME_RELEASE} exit ;; *:ekkoBSD:*:*) echo ${UNAME_MACHINE}-unknown-ekkobsd${UNAME_RELEASE} exit ;; *:SolidBSD:*:*) echo ${UNAME_MACHINE}-unknown-solidbsd${UNAME_RELEASE} exit ;; macppc:MirBSD:*:*) echo powerpc-unknown-mirbsd${UNAME_RELEASE} exit ;; *:MirBSD:*:*) echo ${UNAME_MACHINE}-unknown-mirbsd${UNAME_RELEASE} exit ;; *:Sortix:*:*) echo ${UNAME_MACHINE}-unknown-sortix exit ;; alpha:OSF1:*:*) case $UNAME_RELEASE in *4.0) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'` ;; *5.*) UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'` ;; esac # According to Compaq, /usr/sbin/psrinfo has been available on # OSF/1 and Tru64 systems produced since 1995. I hope that # covers most systems running today. This code pipes the CPU # types through head -n 1, so we only detect the type of CPU 0. ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1` case "$ALPHA_CPU_TYPE" in "EV4 (21064)") UNAME_MACHINE="alpha" ;; "EV4.5 (21064)") UNAME_MACHINE="alpha" ;; "LCA4 (21066/21068)") UNAME_MACHINE="alpha" ;; "EV5 (21164)") UNAME_MACHINE="alphaev5" ;; "EV5.6 (21164A)") UNAME_MACHINE="alphaev56" ;; "EV5.6 (21164PC)") UNAME_MACHINE="alphapca56" ;; "EV5.7 (21164PC)") UNAME_MACHINE="alphapca57" ;; "EV6 (21264)") UNAME_MACHINE="alphaev6" ;; "EV6.7 (21264A)") UNAME_MACHINE="alphaev67" ;; "EV6.8CB (21264C)") UNAME_MACHINE="alphaev68" ;; "EV6.8AL (21264B)") UNAME_MACHINE="alphaev68" ;; "EV6.8CX (21264D)") UNAME_MACHINE="alphaev68" ;; "EV6.9A (21264/EV69A)") UNAME_MACHINE="alphaev69" ;; "EV7 (21364)") UNAME_MACHINE="alphaev7" ;; "EV7.9 (21364A)") UNAME_MACHINE="alphaev79" ;; esac # A Pn.n version is a patched version. # A Vn.n version is a released version. # A Tn.n version is a released field test version. # A Xn.n version is an unreleased experimental baselevel. # 1.2 uses "1.2" for uname -r. echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` # Reset EXIT trap before exiting to avoid spurious non-zero exit code. exitcode=$? trap '' 0 exit $exitcode ;; Alpha\ *:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # Should we change UNAME_MACHINE based on the output of uname instead # of the specific Alpha model? echo alpha-pc-interix exit ;; 21064:Windows_NT:50:3) echo alpha-dec-winnt3.5 exit ;; Amiga*:UNIX_System_V:4.0:*) echo m68k-unknown-sysv4 exit ;; *:[Aa]miga[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-amigaos exit ;; *:[Mm]orph[Oo][Ss]:*:*) echo ${UNAME_MACHINE}-unknown-morphos exit ;; *:OS/390:*:*) echo i370-ibm-openedition exit ;; *:z/VM:*:*) echo s390-ibm-zvmoe exit ;; *:OS400:*:*) echo powerpc-ibm-os400 exit ;; arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*) echo arm-acorn-riscix${UNAME_RELEASE} exit ;; arm*:riscos:*:*|arm*:RISCOS:*:*) echo arm-unknown-riscos exit ;; SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*) echo hppa1.1-hitachi-hiuxmpp exit ;; Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*) # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE. if test "`(/bin/universe) 2>/dev/null`" = att ; then echo pyramid-pyramid-sysv3 else echo pyramid-pyramid-bsd fi exit ;; NILE*:*:*:dcosx) echo pyramid-pyramid-svr4 exit ;; DRS?6000:unix:4.0:6*) echo sparc-icl-nx6 exit ;; DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*) case `/usr/bin/uname -p` in sparc) echo sparc-icl-nx7; exit ;; esac ;; s390x:SunOS:*:*) echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4H:SunOS:5.*:*) echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*) echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*) echo i386-pc-auroraux${UNAME_RELEASE} exit ;; i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*) eval $set_cc_for_build SUN_ARCH="i386" # If there is a compiler, see if it is configured for 64-bit objects. # Note that the Sun cc does not turn __LP64__ into 1 like gcc does. # This test works for both compilers. if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then SUN_ARCH="x86_64" fi fi echo ${SUN_ARCH}-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:6*:*) # According to config.sub, this is the proper way to canonicalize # SunOS6. Hard to guess exactly what SunOS6 will be like, but # it's likely to be more like Solaris than SunOS4. echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; sun4*:SunOS:*:*) case "`/usr/bin/arch -k`" in Series*|S4*) UNAME_RELEASE=`uname -v` ;; esac # Japanese Language versions have a version number like `4.1.3-JL'. echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'` exit ;; sun3*:SunOS:*:*) echo m68k-sun-sunos${UNAME_RELEASE} exit ;; sun*:*:4.2BSD:*) UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null` test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3 case "`/bin/arch`" in sun3) echo m68k-sun-sunos${UNAME_RELEASE} ;; sun4) echo sparc-sun-sunos${UNAME_RELEASE} ;; esac exit ;; aushp:SunOS:*:*) echo sparc-auspex-sunos${UNAME_RELEASE} exit ;; # The situation for MiNT is a little confusing. The machine name # can be virtually everything (everything which is not # "atarist" or "atariste" at least should have a processor # > m68000). The system name ranges from "MiNT" over "FreeMiNT" # to the lowercase version "mint" (or "freemint"). Finally # the system name "TOS" denotes a system which is actually not # MiNT. But MiNT is downward compatible to TOS, so this should # be no problem. atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*) echo m68k-atari-mint${UNAME_RELEASE} exit ;; milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*) echo m68k-milan-mint${UNAME_RELEASE} exit ;; hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*) echo m68k-hades-mint${UNAME_RELEASE} exit ;; *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*) echo m68k-unknown-mint${UNAME_RELEASE} exit ;; m68k:machten:*:*) echo m68k-apple-machten${UNAME_RELEASE} exit ;; powerpc:machten:*:*) echo powerpc-apple-machten${UNAME_RELEASE} exit ;; RISC*:Mach:*:*) echo mips-dec-mach_bsd4.3 exit ;; RISC*:ULTRIX:*:*) echo mips-dec-ultrix${UNAME_RELEASE} exit ;; VAX*:ULTRIX*:*:*) echo vax-dec-ultrix${UNAME_RELEASE} exit ;; 2020:CLIX:*:* | 2430:CLIX:*:*) echo clipper-intergraph-clix${UNAME_RELEASE} exit ;; mips:*:*:UMIPS | mips:*:*:RISCos) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #ifdef __cplusplus #include /* for printf() prototype */ int main (int argc, char *argv[]) { #else int main (argc, argv) int argc; char *argv[]; { #endif #if defined (host_mips) && defined (MIPSEB) #if defined (SYSTYPE_SYSV) printf ("mips-mips-riscos%ssysv\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_SVR4) printf ("mips-mips-riscos%ssvr4\n", argv[1]); exit (0); #endif #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD) printf ("mips-mips-riscos%sbsd\n", argv[1]); exit (0); #endif #endif exit (-1); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && dummyarg=`echo "${UNAME_RELEASE}" | sed -n 's/\([0-9]*\).*/\1/p'` && SYSTEM_NAME=`$dummy $dummyarg` && { echo "$SYSTEM_NAME"; exit; } echo mips-mips-riscos${UNAME_RELEASE} exit ;; Motorola:PowerMAX_OS:*:*) echo powerpc-motorola-powermax exit ;; Motorola:*:4.3:PL8-*) echo powerpc-harris-powermax exit ;; Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*) echo powerpc-harris-powermax exit ;; Night_Hawk:Power_UNIX:*:*) echo powerpc-harris-powerunix exit ;; m88k:CX/UX:7*:*) echo m88k-harris-cxux7 exit ;; m88k:*:4*:R4*) echo m88k-motorola-sysv4 exit ;; m88k:*:3*:R3*) echo m88k-motorola-sysv3 exit ;; AViiON:dgux:*:*) # DG/UX returns AViiON for all architectures UNAME_PROCESSOR=`/usr/bin/uname -p` if [ $UNAME_PROCESSOR = mc88100 ] || [ $UNAME_PROCESSOR = mc88110 ] then if [ ${TARGET_BINARY_INTERFACE}x = m88kdguxelfx ] || \ [ ${TARGET_BINARY_INTERFACE}x = x ] then echo m88k-dg-dgux${UNAME_RELEASE} else echo m88k-dg-dguxbcs${UNAME_RELEASE} fi else echo i586-dg-dgux${UNAME_RELEASE} fi exit ;; M88*:DolphinOS:*:*) # DolphinOS (SVR3) echo m88k-dolphin-sysv3 exit ;; M88*:*:R3*:*) # Delta 88k system running SVR3 echo m88k-motorola-sysv3 exit ;; XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3) echo m88k-tektronix-sysv3 exit ;; Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD) echo m68k-tektronix-bsd exit ;; *:IRIX*:*:*) echo mips-sgi-irix`echo ${UNAME_RELEASE}|sed -e 's/-/_/g'` exit ;; ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX. echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id exit ;; # Note that: echo "'`uname -s`'" gives 'AIX ' i*86:AIX:*:*) echo i386-ibm-aix exit ;; ia64:AIX:*:*) if [ -x /usr/bin/oslevel ] ; then IBM_REV=`/usr/bin/oslevel` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${UNAME_MACHINE}-ibm-aix${IBM_REV} exit ;; *:AIX:2:3) if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include main() { if (!__power_pc()) exit(1); puts("powerpc-ibm-aix3.2.5"); exit(0); } EOF if $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` then echo "$SYSTEM_NAME" else echo rs6000-ibm-aix3.2.5 fi elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then echo rs6000-ibm-aix3.2.4 else echo rs6000-ibm-aix3.2 fi exit ;; *:AIX:*:[4567]) IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'` if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then IBM_ARCH=rs6000 else IBM_ARCH=powerpc fi if [ -x /usr/bin/lslpp ] ; then IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc | awk -F: '{ print $3 }' | sed s/[0-9]*$/0/` else IBM_REV=${UNAME_VERSION}.${UNAME_RELEASE} fi echo ${IBM_ARCH}-ibm-aix${IBM_REV} exit ;; *:AIX:*:*) echo rs6000-ibm-aix exit ;; ibmrt:4.4BSD:*|romp-ibm:BSD:*) echo romp-ibm-bsd4.4 exit ;; ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and echo romp-ibm-bsd${UNAME_RELEASE} # 4.3 with uname added to exit ;; # report: romp-ibm BSD 4.3 *:BOSX:*:*) echo rs6000-bull-bosx exit ;; DPX/2?00:B.O.S.:*:*) echo m68k-bull-sysv3 exit ;; 9000/[34]??:4.3bsd:1.*:*) echo m68k-hp-bsd exit ;; hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*) echo m68k-hp-bsd4.4 exit ;; 9000/[34678]??:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` case "${UNAME_MACHINE}" in 9000/31? ) HP_ARCH=m68000 ;; 9000/[34]?? ) HP_ARCH=m68k ;; 9000/[678][0-9][0-9]) if [ -x /usr/bin/getconf ]; then sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null` sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null` case "${sc_cpu_version}" in 523) HP_ARCH="hppa1.0" ;; # CPU_PA_RISC1_0 528) HP_ARCH="hppa1.1" ;; # CPU_PA_RISC1_1 532) # CPU_PA_RISC2_0 case "${sc_kernel_bits}" in 32) HP_ARCH="hppa2.0n" ;; 64) HP_ARCH="hppa2.0w" ;; '') HP_ARCH="hppa2.0" ;; # HP-UX 10.20 esac ;; esac fi if [ "${HP_ARCH}" = "" ]; then eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #define _HPUX_SOURCE #include #include int main () { #if defined(_SC_KERNEL_BITS) long bits = sysconf(_SC_KERNEL_BITS); #endif long cpu = sysconf (_SC_CPU_VERSION); switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0"); break; case CPU_PA_RISC1_1: puts ("hppa1.1"); break; case CPU_PA_RISC2_0: #if defined(_SC_KERNEL_BITS) switch (bits) { case 64: puts ("hppa2.0w"); break; case 32: puts ("hppa2.0n"); break; default: puts ("hppa2.0"); break; } break; #else /* !defined(_SC_KERNEL_BITS) */ puts ("hppa2.0"); break; #endif default: puts ("hppa1.0"); break; } exit (0); } EOF (CCOPTS= $CC_FOR_BUILD -o $dummy $dummy.c 2>/dev/null) && HP_ARCH=`$dummy` test -z "$HP_ARCH" && HP_ARCH=hppa fi ;; esac if [ ${HP_ARCH} = "hppa2.0w" ] then eval $set_cc_for_build # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler # generating 64-bit code. GNU and HP use different nomenclature: # # $ CC_FOR_BUILD=cc ./config.guess # => hppa2.0w-hp-hpux11.23 # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess # => hppa64-hp-hpux11.23 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | grep -q __LP64__ then HP_ARCH="hppa2.0w" else HP_ARCH="hppa64" fi fi echo ${HP_ARCH}-hp-hpux${HPUX_REV} exit ;; ia64:HP-UX:*:*) HPUX_REV=`echo ${UNAME_RELEASE}|sed -e 's/[^.]*.[0B]*//'` echo ia64-hp-hpux${HPUX_REV} exit ;; 3050*:HI-UX:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #include int main () { long cpu = sysconf (_SC_CPU_VERSION); /* The order matters, because CPU_IS_HP_MC68K erroneously returns true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct results, however. */ if (CPU_IS_PA_RISC (cpu)) { switch (cpu) { case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break; case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break; case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break; default: puts ("hppa-hitachi-hiuxwe2"); break; } } else if (CPU_IS_HP_MC68K (cpu)) puts ("m68k-hitachi-hiuxwe2"); else puts ("unknown-hitachi-hiuxwe2"); exit (0); } EOF $CC_FOR_BUILD -o $dummy $dummy.c && SYSTEM_NAME=`$dummy` && { echo "$SYSTEM_NAME"; exit; } echo unknown-hitachi-hiuxwe2 exit ;; 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:* ) echo hppa1.1-hp-bsd exit ;; 9000/8??:4.3bsd:*:*) echo hppa1.0-hp-bsd exit ;; *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*) echo hppa1.0-hp-mpeix exit ;; hp7??:OSF1:*:* | hp8?[79]:OSF1:*:* ) echo hppa1.1-hp-osf exit ;; hp8??:OSF1:*:*) echo hppa1.0-hp-osf exit ;; i*86:OSF1:*:*) if [ -x /usr/sbin/sysversion ] ; then echo ${UNAME_MACHINE}-unknown-osf1mk else echo ${UNAME_MACHINE}-unknown-osf1 fi exit ;; parisc*:Lites*:*:*) echo hppa1.1-hp-lites exit ;; C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*) echo c1-convex-bsd exit ;; C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*) if getsysinfo -f scalar_acc then echo c32-convex-bsd else echo c2-convex-bsd fi exit ;; C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*) echo c34-convex-bsd exit ;; C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*) echo c38-convex-bsd exit ;; C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*) echo c4-convex-bsd exit ;; CRAY*Y-MP:*:*:*) echo ymp-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*[A-Z]90:*:*:*) echo ${UNAME_MACHINE}-cray-unicos${UNAME_RELEASE} \ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \ -e 's/\.[^.]*$/.X/' exit ;; CRAY*TS:*:*:*) echo t90-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*T3E:*:*:*) echo alphaev5-cray-unicosmk${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; CRAY*SV1:*:*:*) echo sv1-cray-unicos${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; *:UNICOS/mp:*:*) echo craynv-cray-unicosmp${UNAME_RELEASE} | sed -e 's/\.[^.]*$/.X/' exit ;; F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*) FUJITSU_PROC=`uname -m | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | sed -e 's/ /_/'` echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; 5000:UNIX_System_V:4.*:*) FUJITSU_SYS=`uname -p | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/\///'` FUJITSU_REL=`echo ${UNAME_RELEASE} | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz' | sed -e 's/ /_/'` echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}" exit ;; i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*) echo ${UNAME_MACHINE}-pc-bsdi${UNAME_RELEASE} exit ;; sparc*:BSD/OS:*:*) echo sparc-unknown-bsdi${UNAME_RELEASE} exit ;; *:BSD/OS:*:*) echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE} exit ;; *:FreeBSD:*:*) UNAME_PROCESSOR=`/usr/bin/uname -p` case ${UNAME_PROCESSOR} in amd64) echo x86_64-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; *) echo ${UNAME_PROCESSOR}-unknown-freebsd`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` ;; esac exit ;; i*:CYGWIN*:*) echo ${UNAME_MACHINE}-pc-cygwin exit ;; *:MINGW64*:*) echo ${UNAME_MACHINE}-pc-mingw64 exit ;; *:MINGW*:*) echo ${UNAME_MACHINE}-pc-mingw32 exit ;; *:MSYS*:*) echo ${UNAME_MACHINE}-pc-msys exit ;; i*:windows32*:*) # uname -m includes "-pc" on this system. echo ${UNAME_MACHINE}-mingw32 exit ;; i*:PW*:*) echo ${UNAME_MACHINE}-pc-pw32 exit ;; *:Interix*:*) case ${UNAME_MACHINE} in x86) echo i586-pc-interix${UNAME_RELEASE} exit ;; authenticamd | genuineintel | EM64T) echo x86_64-unknown-interix${UNAME_RELEASE} exit ;; IA64) echo ia64-unknown-interix${UNAME_RELEASE} exit ;; esac ;; [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*) echo i${UNAME_MACHINE}-pc-mks exit ;; 8664:Windows_NT:*) echo x86_64-pc-mks exit ;; i*:Windows_NT*:* | Pentium*:Windows_NT*:*) # How do we know it's Interix rather than the generic POSIX subsystem? # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we # UNAME_MACHINE based on the output of uname instead of i386? echo i586-pc-interix exit ;; i*:UWIN*:*) echo ${UNAME_MACHINE}-pc-uwin exit ;; amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) echo x86_64-unknown-cygwin exit ;; p*:CYGWIN*:*) echo powerpcle-unknown-cygwin exit ;; prep*:SunOS:5.*:*) echo powerpcle-unknown-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'` exit ;; *:GNU:*:*) # the GNU system echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-${LIBC}`echo ${UNAME_RELEASE}|sed -e 's,/.*$,,'` exit ;; *:GNU/*:*:*) # other systems with GNU libc and userland echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC} exit ;; i*86:Minix:*:*) echo ${UNAME_MACHINE}-pc-minix exit ;; aarch64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; aarch64_be:Linux:*:*) UNAME_MACHINE=aarch64_be echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; alpha:Linux:*:*) case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in EV5) UNAME_MACHINE=alphaev5 ;; EV56) UNAME_MACHINE=alphaev56 ;; PCA56) UNAME_MACHINE=alphapca56 ;; PCA57) UNAME_MACHINE=alphapca56 ;; EV6) UNAME_MACHINE=alphaev6 ;; EV67) UNAME_MACHINE=alphaev67 ;; EV68*) UNAME_MACHINE=alphaev68 ;; esac objdump --private-headers /bin/sh | grep -q ld.so.1 if test "$?" = 0 ; then LIBC="gnulibc1" ; fi echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arc:Linux:*:* | arceb:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; arm*:Linux:*:*) eval $set_cc_for_build if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_EABI__ then echo ${UNAME_MACHINE}-unknown-linux-${LIBC} else if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \ | grep -q __ARM_PCS_VFP then echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabi else echo ${UNAME_MACHINE}-unknown-linux-${LIBC}eabihf fi fi exit ;; avr32*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; cris:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; crisv32:Linux:*:*) echo ${UNAME_MACHINE}-axis-linux-${LIBC} exit ;; e2k:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; frv:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; hexagon:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:Linux:*:*) echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; ia64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m32r*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; m68*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; mips:Linux:*:* | mips64:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c #undef CPU #undef ${UNAME_MACHINE} #undef ${UNAME_MACHINE}el #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=${UNAME_MACHINE}el #else #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB) CPU=${UNAME_MACHINE} #else CPU= #endif #endif EOF eval `$CC_FOR_BUILD -E $dummy.c 2>/dev/null | grep '^CPU'` test x"${CPU}" != x && { echo "${CPU}-unknown-linux-${LIBC}"; exit; } ;; openrisc*:Linux:*:*) echo or1k-unknown-linux-${LIBC} exit ;; or32:Linux:*:* | or1k*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; padre:Linux:*:*) echo sparc-unknown-linux-${LIBC} exit ;; parisc64:Linux:*:* | hppa64:Linux:*:*) echo hppa64-unknown-linux-${LIBC} exit ;; parisc:Linux:*:* | hppa:Linux:*:*) # Look for CPU level case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in PA7*) echo hppa1.1-unknown-linux-${LIBC} ;; PA8*) echo hppa2.0-unknown-linux-${LIBC} ;; *) echo hppa-unknown-linux-${LIBC} ;; esac exit ;; ppc64:Linux:*:*) echo powerpc64-unknown-linux-${LIBC} exit ;; ppc:Linux:*:*) echo powerpc-unknown-linux-${LIBC} exit ;; ppc64le:Linux:*:*) echo powerpc64le-unknown-linux-${LIBC} exit ;; ppcle:Linux:*:*) echo powerpcle-unknown-linux-${LIBC} exit ;; s390:Linux:*:* | s390x:Linux:*:*) echo ${UNAME_MACHINE}-ibm-linux-${LIBC} exit ;; sh64*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sh*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; sparc:Linux:*:* | sparc64:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; tile*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; vax:Linux:*:*) echo ${UNAME_MACHINE}-dec-linux-${LIBC} exit ;; x86_64:Linux:*:*) echo ${UNAME_MACHINE}-pc-linux-${LIBC} exit ;; xtensa*:Linux:*:*) echo ${UNAME_MACHINE}-unknown-linux-${LIBC} exit ;; i*86:DYNIX/ptx:4*:*) # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there. # earlier versions are messed up and put the nodename in both # sysname and nodename. echo i386-sequent-sysv4 exit ;; i*86:UNIX_SV:4.2MP:2.*) # Unixware is an offshoot of SVR4, but it has its own version # number series starting with 2... # I am not positive that other SVR4 systems won't match this, # I just have to hope. -- rms. # Use sysv4.2uw... so that sysv4* matches it. echo ${UNAME_MACHINE}-pc-sysv4.2uw${UNAME_VERSION} exit ;; i*86:OS/2:*:*) # If we were able to find `uname', then EMX Unix compatibility # is probably installed. echo ${UNAME_MACHINE}-pc-os2-emx exit ;; i*86:XTS-300:*:STOP) echo ${UNAME_MACHINE}-unknown-stop exit ;; i*86:atheos:*:*) echo ${UNAME_MACHINE}-unknown-atheos exit ;; i*86:syllable:*:*) echo ${UNAME_MACHINE}-pc-syllable exit ;; i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*) echo i386-unknown-lynxos${UNAME_RELEASE} exit ;; i*86:*DOS:*:*) echo ${UNAME_MACHINE}-pc-msdosdjgpp exit ;; i*86:*:4.*:* | i*86:SYSTEM_V:4.*:*) UNAME_REL=`echo ${UNAME_RELEASE} | sed 's/\/MP$//'` if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then echo ${UNAME_MACHINE}-univel-sysv${UNAME_REL} else echo ${UNAME_MACHINE}-pc-sysv${UNAME_REL} fi exit ;; i*86:*:5:[678]*) # UnixWare 7.x, OpenUNIX and OpenServer 6. case `/bin/uname -X | grep "^Machine"` in *486*) UNAME_MACHINE=i486 ;; *Pentium) UNAME_MACHINE=i586 ;; *Pent*|*Celeron) UNAME_MACHINE=i686 ;; esac echo ${UNAME_MACHINE}-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}${UNAME_VERSION} exit ;; i*86:*:3.2:*) if test -f /usr/options/cb.name; then UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')` (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486 (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \ && UNAME_MACHINE=i586 (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \ && UNAME_MACHINE=i686 (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \ && UNAME_MACHINE=i686 echo ${UNAME_MACHINE}-pc-sco$UNAME_REL else echo ${UNAME_MACHINE}-pc-sysv32 fi exit ;; pc:*:*:*) # Left here for compatibility: # uname -m prints for DJGPP always 'pc', but it prints nothing about # the processor, so we play safe by assuming i586. # Note: whatever this is, it MUST be the same as what config.sub # prints for the "djgpp" host, or else GDB configury will decide that # this is a cross-build. echo i586-pc-msdosdjgpp exit ;; Intel:Mach:3*:*) echo i386-pc-mach3 exit ;; paragon:*:*:*) echo i860-intel-osf1 exit ;; i860:*:4.*:*) # i860-SVR4 if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then echo i860-stardent-sysv${UNAME_RELEASE} # Stardent Vistra i860-SVR4 else # Add other i860-SVR4 vendors below as they are discovered. echo i860-unknown-sysv${UNAME_RELEASE} # Unknown i860-SVR4 fi exit ;; mini*:CTIX:SYS*5:*) # "miniframe" echo m68010-convergent-sysv exit ;; mc68k:UNIX:SYSTEM5:3.51m) echo m68k-convergent-sysv exit ;; M680?0:D-NIX:5.3:*) echo m68k-diab-dnix exit ;; M68*:*:R3V[5678]*:*) test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;; 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0) OS_REL='' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*) /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4; exit; } ;; NCR*:*:4.2:* | MPRAS*:*:4.2:*) OS_REL='.3' test -r /etc/.relid \ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid` /bin/uname -p 2>/dev/null | grep 86 >/dev/null \ && { echo i486-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \ && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;; m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*) echo m68k-unknown-lynxos${UNAME_RELEASE} exit ;; mc68030:UNIX_System_V:4.*:*) echo m68k-atari-sysv4 exit ;; TSUNAMI:LynxOS:2.*:*) echo sparc-unknown-lynxos${UNAME_RELEASE} exit ;; rs6000:LynxOS:2.*:*) echo rs6000-unknown-lynxos${UNAME_RELEASE} exit ;; PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*) echo powerpc-unknown-lynxos${UNAME_RELEASE} exit ;; SM[BE]S:UNIX_SV:*:*) echo mips-dde-sysv${UNAME_RELEASE} exit ;; RM*:ReliantUNIX-*:*:*) echo mips-sni-sysv4 exit ;; RM*:SINIX-*:*:*) echo mips-sni-sysv4 exit ;; *:SINIX-*:*:*) if uname -p 2>/dev/null >/dev/null ; then UNAME_MACHINE=`(uname -p) 2>/dev/null` echo ${UNAME_MACHINE}-sni-sysv4 else echo ns32k-sni-sysv fi exit ;; PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort # says echo i586-unisys-sysv4 exit ;; *:UNIX_System_V:4*:FTX*) # From Gerald Hewes . # How about differentiating between stratus architectures? -djm echo hppa1.1-stratus-sysv4 exit ;; *:*:*:FTX*) # From seanf@swdc.stratus.com. echo i860-stratus-sysv4 exit ;; i*86:VOS:*:*) # From Paul.Green@stratus.com. echo ${UNAME_MACHINE}-stratus-vos exit ;; *:VOS:*:*) # From Paul.Green@stratus.com. echo hppa1.1-stratus-vos exit ;; mc68*:A/UX:*:*) echo m68k-apple-aux${UNAME_RELEASE} exit ;; news*:NEWS-OS:6*:*) echo mips-sony-newsos6 exit ;; R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*) if [ -d /usr/nec ]; then echo mips-nec-sysv${UNAME_RELEASE} else echo mips-unknown-sysv${UNAME_RELEASE} fi exit ;; BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only. echo powerpc-be-beos exit ;; BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only. echo powerpc-apple-beos exit ;; BePC:BeOS:*:*) # BeOS running on Intel PC compatible. echo i586-pc-beos exit ;; BePC:Haiku:*:*) # Haiku running on Intel PC compatible. echo i586-pc-haiku exit ;; x86_64:Haiku:*:*) echo x86_64-unknown-haiku exit ;; SX-4:SUPER-UX:*:*) echo sx4-nec-superux${UNAME_RELEASE} exit ;; SX-5:SUPER-UX:*:*) echo sx5-nec-superux${UNAME_RELEASE} exit ;; SX-6:SUPER-UX:*:*) echo sx6-nec-superux${UNAME_RELEASE} exit ;; SX-7:SUPER-UX:*:*) echo sx7-nec-superux${UNAME_RELEASE} exit ;; SX-8:SUPER-UX:*:*) echo sx8-nec-superux${UNAME_RELEASE} exit ;; SX-8R:SUPER-UX:*:*) echo sx8r-nec-superux${UNAME_RELEASE} exit ;; Power*:Rhapsody:*:*) echo powerpc-apple-rhapsody${UNAME_RELEASE} exit ;; *:Rhapsody:*:*) echo ${UNAME_MACHINE}-apple-rhapsody${UNAME_RELEASE} exit ;; *:Darwin:*:*) UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown eval $set_cc_for_build if test "$UNAME_PROCESSOR" = unknown ; then UNAME_PROCESSOR=powerpc fi if test `echo "$UNAME_RELEASE" | sed -e 's/\..*//'` -le 10 ; then if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \ (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \ grep IS_64BIT_ARCH >/dev/null then case $UNAME_PROCESSOR in i386) UNAME_PROCESSOR=x86_64 ;; powerpc) UNAME_PROCESSOR=powerpc64 ;; esac fi fi elif test "$UNAME_PROCESSOR" = i386 ; then # Avoid executing cc on OS X 10.9, as it ships with a stub # that puts up a graphical alert prompting to install # developer tools. Any system running Mac OS X 10.7 or # later (Darwin 11 and later) is required to have a 64-bit # processor. This is not true of the ARM version of Darwin # that Apple uses in portable devices. UNAME_PROCESSOR=x86_64 fi echo ${UNAME_PROCESSOR}-apple-darwin${UNAME_RELEASE} exit ;; *:procnto*:*:* | *:QNX:[0123456789]*:*) UNAME_PROCESSOR=`uname -p` if test "$UNAME_PROCESSOR" = "x86"; then UNAME_PROCESSOR=i386 UNAME_MACHINE=pc fi echo ${UNAME_PROCESSOR}-${UNAME_MACHINE}-nto-qnx${UNAME_RELEASE} exit ;; *:QNX:*:4*) echo i386-pc-qnx exit ;; NEO-?:NONSTOP_KERNEL:*:*) echo neo-tandem-nsk${UNAME_RELEASE} exit ;; NSE-*:NONSTOP_KERNEL:*:*) echo nse-tandem-nsk${UNAME_RELEASE} exit ;; NSR-?:NONSTOP_KERNEL:*:*) echo nsr-tandem-nsk${UNAME_RELEASE} exit ;; *:NonStop-UX:*:*) echo mips-compaq-nonstopux exit ;; BS2000:POSIX*:*:*) echo bs2000-siemens-sysv exit ;; DS/*:UNIX_System_V:*:*) echo ${UNAME_MACHINE}-${UNAME_SYSTEM}-${UNAME_RELEASE} exit ;; *:Plan9:*:*) # "uname -m" is not consistent, so use $cputype instead. 386 # is converted to i386 for consistency with other x86 # operating systems. if test "$cputype" = "386"; then UNAME_MACHINE=i386 else UNAME_MACHINE="$cputype" fi echo ${UNAME_MACHINE}-unknown-plan9 exit ;; *:TOPS-10:*:*) echo pdp10-unknown-tops10 exit ;; *:TENEX:*:*) echo pdp10-unknown-tenex exit ;; KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*) echo pdp10-dec-tops20 exit ;; XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*) echo pdp10-xkl-tops20 exit ;; *:TOPS-20:*:*) echo pdp10-unknown-tops20 exit ;; *:ITS:*:*) echo pdp10-unknown-its exit ;; SEI:*:*:SEIUX) echo mips-sei-seiux${UNAME_RELEASE} exit ;; *:DragonFly:*:*) echo ${UNAME_MACHINE}-unknown-dragonfly`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'` exit ;; *:*VMS:*:*) UNAME_MACHINE=`(uname -p) 2>/dev/null` case "${UNAME_MACHINE}" in A*) echo alpha-dec-vms ; exit ;; I*) echo ia64-dec-vms ; exit ;; V*) echo vax-dec-vms ; exit ;; esac ;; *:XENIX:*:SysV) echo i386-pc-xenix exit ;; i*86:skyos:*:*) echo ${UNAME_MACHINE}-pc-skyos`echo ${UNAME_RELEASE}` | sed -e 's/ .*$//' exit ;; i*86:rdos:*:*) echo ${UNAME_MACHINE}-pc-rdos exit ;; i*86:AROS:*:*) echo ${UNAME_MACHINE}-pc-aros exit ;; x86_64:VMkernel:*:*) echo ${UNAME_MACHINE}-unknown-esx exit ;; esac cat >&2 < in order to provide the needed information to handle your system. config.guess timestamp = $timestamp uname -m = `(uname -m) 2>/dev/null || echo unknown` uname -r = `(uname -r) 2>/dev/null || echo unknown` uname -s = `(uname -s) 2>/dev/null || echo unknown` uname -v = `(uname -v) 2>/dev/null || echo unknown` /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null` /bin/uname -X = `(/bin/uname -X) 2>/dev/null` hostinfo = `(hostinfo) 2>/dev/null` /bin/universe = `(/bin/universe) 2>/dev/null` /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null` /bin/arch = `(/bin/arch) 2>/dev/null` /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null` /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null` UNAME_MACHINE = ${UNAME_MACHINE} UNAME_RELEASE = ${UNAME_RELEASE} UNAME_SYSTEM = ${UNAME_SYSTEM} UNAME_VERSION = ${UNAME_VERSION} EOF exit 1 # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "timestamp='" # time-stamp-format: "%:y-%02m-%02d" # time-stamp-end: "'" # End: weston-3.0.0/build-aux/ltmain.sh0000644000175000017500000117146413142404603013477 00000000000000#! /bin/sh ## DO NOT EDIT - This file generated from ./build-aux/ltmain.in ## by inline-source v2014-01-03.01 # libtool (GNU libtool) 2.4.6 # Provide generalized library-building support services. # Written by Gordon Matzigkeit , 1996 # Copyright (C) 1996-2015 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. # 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 this program. If not, see . PROGRAM=libtool PACKAGE=libtool VERSION="2.4.6 Debian-2.4.6-0.1" package_revision=2.4.6 ## ------ ## ## Usage. ## ## ------ ## # Run './libtool --help' for help with using this script from the # command line. ## ------------------------------- ## ## User overridable command paths. ## ## ------------------------------- ## # After configure completes, it has a better idea of some of the # shell tools we need than the defaults used by the functions shared # with bootstrap, so set those here where they can still be over- # ridden by the user, but otherwise take precedence. : ${AUTOCONF="autoconf"} : ${AUTOMAKE="automake"} ## -------------------------- ## ## Source external libraries. ## ## -------------------------- ## # Much of our low-level functionality needs to be sourced from external # libraries, which are installed to $pkgauxdir. # Set a version string for this script. scriptversion=2015-01-20.17; # UTC # General shell script boiler plate, and helper functions. # Written by Gary V. Vaughan, 2004 # Copyright (C) 2004-2015 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. # This program 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 3 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. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNES 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 this program. If not, see . # Please report bugs or propose patches to gary@gnu.org. ## ------ ## ## Usage. ## ## ------ ## # Evaluate this file near the top of your script to gain access to # the functions and variables defined here: # # . `echo "$0" | ${SED-sed} 's|[^/]*$||'`/build-aux/funclib.sh # # If you need to override any of the default environment variable # settings, do that before evaluating this file. ## -------------------- ## ## Shell normalisation. ## ## -------------------- ## # Some shells need a little help to be as Bourne compatible as possible. # Before doing anything else, make sure all that help has been provided! 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 # NLS nuisances: We save the old values in case they are required later. _G_user_locale= _G_safe_locale= for _G_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test set = \"\${$_G_var+set}\"; then save_$_G_var=\$$_G_var $_G_var=C export $_G_var _G_user_locale=\"$_G_var=\\\$save_\$_G_var; \$_G_user_locale\" _G_safe_locale=\"$_G_var=C; \$_G_safe_locale\" fi" done # CDPATH. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH # Make sure IFS has a sensible default sp=' ' nl=' ' IFS="$sp $nl" # There are apparently some retarded systems that use ';' as a PATH separator! 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 ## ------------------------- ## ## Locate command utilities. ## ## ------------------------- ## # func_executable_p FILE # ---------------------- # Check that FILE is an executable regular file. func_executable_p () { test -f "$1" && test -x "$1" } # func_path_progs PROGS_LIST CHECK_FUNC [PATH] # -------------------------------------------- # Search for either a program that responds to --version with output # containing "GNU", or else returned by CHECK_FUNC otherwise, by # trying all the directories in PATH with each of the elements of # PROGS_LIST. # # CHECK_FUNC should accept the path to a candidate program, and # set $func_check_prog_result if it truncates its output less than # $_G_path_prog_max characters. func_path_progs () { _G_progs_list=$1 _G_check_func=$2 _G_PATH=${3-"$PATH"} _G_path_prog_max=0 _G_path_prog_found=false _G_save_IFS=$IFS; IFS=${PATH_SEPARATOR-:} for _G_dir in $_G_PATH; do IFS=$_G_save_IFS test -z "$_G_dir" && _G_dir=. for _G_prog_name in $_G_progs_list; do for _exeext in '' .EXE; do _G_path_prog=$_G_dir/$_G_prog_name$_exeext func_executable_p "$_G_path_prog" || continue case `"$_G_path_prog" --version 2>&1` in *GNU*) func_path_progs_result=$_G_path_prog _G_path_prog_found=: ;; *) $_G_check_func $_G_path_prog func_path_progs_result=$func_check_prog_result ;; esac $_G_path_prog_found && break 3 done done done IFS=$_G_save_IFS test -z "$func_path_progs_result" && { echo "no acceptable sed could be found in \$PATH" >&2 exit 1 } } # We want to be able to use the functions in this file before configure # has figured out where the best binaries are kept, which means we have # to search for them ourselves - except when the results are already set # where we skip the searches. # Unless the user overrides by setting SED, search the path for either GNU # sed, or the sed that truncates its output the least. test -z "$SED" && { _G_sed_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ for _G_i in 1 2 3 4 5 6 7; do _G_sed_script=$_G_sed_script$nl$_G_sed_script done echo "$_G_sed_script" 2>/dev/null | sed 99q >conftest.sed _G_sed_script= func_check_prog_sed () { _G_path_prog=$1 _G_count=0 printf 0123456789 >conftest.in while : do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo '' >> conftest.nl "$_G_path_prog" -f conftest.sed conftest.out 2>/dev/null || break diff conftest.out conftest.nl >/dev/null 2>&1 || break _G_count=`expr $_G_count + 1` if test "$_G_count" -gt "$_G_path_prog_max"; then # Best one so far, save it but keep looking for a better one func_check_prog_result=$_G_path_prog _G_path_prog_max=$_G_count fi # 10*(2^10) chars as input seems more than enough test 10 -lt "$_G_count" && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out } func_path_progs "sed gsed" func_check_prog_sed $PATH:/usr/xpg4/bin rm -f conftest.sed SED=$func_path_progs_result } # Unless the user overrides by setting GREP, search the path for either GNU # grep, or the grep that truncates its output the least. test -z "$GREP" && { func_check_prog_grep () { _G_path_prog=$1 _G_count=0 _G_path_prog_max=0 printf 0123456789 >conftest.in while : do cat conftest.in conftest.in >conftest.tmp mv conftest.tmp conftest.in cp conftest.in conftest.nl echo 'GREP' >> conftest.nl "$_G_path_prog" -e 'GREP$' -e '-(cannot match)-' conftest.out 2>/dev/null || break diff conftest.out conftest.nl >/dev/null 2>&1 || break _G_count=`expr $_G_count + 1` if test "$_G_count" -gt "$_G_path_prog_max"; then # Best one so far, save it but keep looking for a better one func_check_prog_result=$_G_path_prog _G_path_prog_max=$_G_count fi # 10*(2^10) chars as input seems more than enough test 10 -lt "$_G_count" && break done rm -f conftest.in conftest.tmp conftest.nl conftest.out } func_path_progs "grep ggrep" func_check_prog_grep $PATH:/usr/xpg4/bin GREP=$func_path_progs_result } ## ------------------------------- ## ## User overridable command paths. ## ## ------------------------------- ## # All uppercase variable names are used for environment variables. These # variables can be overridden by the user before calling a script that # uses them if a suitable command of that name is not already available # in the command search PATH. : ${CP="cp -f"} : ${ECHO="printf %s\n"} : ${EGREP="$GREP -E"} : ${FGREP="$GREP -F"} : ${LN_S="ln -s"} : ${MAKE="make"} : ${MKDIR="mkdir"} : ${MV="mv -f"} : ${RM="rm -f"} : ${SHELL="${CONFIG_SHELL-/bin/sh}"} ## -------------------- ## ## Useful sed snippets. ## ## -------------------- ## sed_dirname='s|/[^/]*$||' sed_basename='s|^.*/||' # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. sed_quote_subst='s|\([`"$\\]\)|\\\1|g' # Same as above, but do not quote variable references. sed_double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution that turns a string into a regex matching for the # string literally. sed_make_literal_regex='s|[].[^$\\*\/]|\\&|g' # Sed substitution that converts a w32 file name or path # that contains forward slashes, into one that contains # (escaped) backslashes. A very naive implementation. sed_naive_backslashify='s|\\\\*|\\|g;s|/|\\|g;s|\\|\\\\|g' # Re-'\' parameter expansions in output of sed_double_quote_subst that # were '\'-ed in input to the same. If an odd number of '\' preceded a # '$' in input to sed_double_quote_subst, that '$' was protected from # expansion. Since each input '\' is now two '\'s, look for any number # of runs of four '\'s followed by two '\'s and then a '$'. '\' that '$'. _G_bs='\\' _G_bs2='\\\\' _G_bs4='\\\\\\\\' _G_dollar='\$' sed_double_backslash="\ s/$_G_bs4/&\\ /g s/^$_G_bs2$_G_dollar/$_G_bs&/ s/\\([^$_G_bs]\\)$_G_bs2$_G_dollar/\\1$_G_bs2$_G_bs$_G_dollar/g s/\n//g" ## ----------------- ## ## Global variables. ## ## ----------------- ## # Except for the global variables explicitly listed below, the following # functions in the '^func_' namespace, and the '^require_' namespace # variables initialised in the 'Resource management' section, sourcing # this file will not pollute your global namespace with anything # else. There's no portable way to scope variables in Bourne shell # though, so actually running these functions will sometimes place # results into a variable named after the function, and often use # temporary variables in the '^_G_' namespace. If you are careful to # avoid using those namespaces casually in your sourcing script, things # should continue to work as you expect. And, of course, you can freely # overwrite any of the functions or variables defined here before # calling anything to customize them. EXIT_SUCCESS=0 EXIT_FAILURE=1 EXIT_MISMATCH=63 # $? = 63 is used to indicate version mismatch to missing. EXIT_SKIP=77 # $? = 77 is used to indicate a skipped test to automake. # Allow overriding, eg assuming that you follow the convention of # putting '$debug_cmd' at the start of all your functions, you can get # bash to show function call trace with: # # debug_cmd='eval echo "${FUNCNAME[0]} $*" >&2' bash your-script-name debug_cmd=${debug_cmd-":"} exit_cmd=: # By convention, finish your script with: # # exit $exit_status # # so that you can set exit_status to non-zero if you want to indicate # something went wrong during execution without actually bailing out at # the point of failure. exit_status=$EXIT_SUCCESS # Work around backward compatibility issue on IRIX 6.5. On IRIX 6.4+, sh # is ksh but when the shell is invoked as "sh" and the current value of # the _XPG environment variable is not equal to 1 (one), the special # positional parameter $0, within a function call, is the name of the # function. progpath=$0 # The name of this program. progname=`$ECHO "$progpath" |$SED "$sed_basename"` # Make sure we have an absolute progpath for reexecution: case $progpath in [\\/]*|[A-Za-z]:\\*) ;; *[\\/]*) progdir=`$ECHO "$progpath" |$SED "$sed_dirname"` progdir=`cd "$progdir" && pwd` progpath=$progdir/$progname ;; *) _G_IFS=$IFS IFS=${PATH_SEPARATOR-:} for progdir in $PATH; do IFS=$_G_IFS test -x "$progdir/$progname" && break done IFS=$_G_IFS test -n "$progdir" || progdir=`pwd` progpath=$progdir/$progname ;; esac ## ----------------- ## ## Standard options. ## ## ----------------- ## # The following options affect the operation of the functions defined # below, and should be set appropriately depending on run-time para- # meters passed on the command line. opt_dry_run=false opt_quiet=false opt_verbose=false # Categories 'all' and 'none' are always available. Append any others # you will pass as the first argument to func_warning from your own # code. warning_categories= # By default, display warnings according to 'opt_warning_types'. Set # 'warning_func' to ':' to elide all warnings, or func_fatal_error to # treat the next displayed warning as a fatal error. warning_func=func_warn_and_continue # Set to 'all' to display all warnings, 'none' to suppress all # warnings, or a space delimited list of some subset of # 'warning_categories' to display only the listed warnings. opt_warning_types=all ## -------------------- ## ## Resource management. ## ## -------------------- ## # This section contains definitions for functions that each ensure a # particular resource (a file, or a non-empty configuration variable for # example) is available, and if appropriate to extract default values # from pertinent package files. Call them using their associated # 'require_*' variable to ensure that they are executed, at most, once. # # It's entirely deliberate that calling these functions can set # variables that don't obey the namespace limitations obeyed by the rest # of this file, in order that that they be as useful as possible to # callers. # require_term_colors # ------------------- # Allow display of bold text on terminals that support it. require_term_colors=func_require_term_colors func_require_term_colors () { $debug_cmd test -t 1 && { # COLORTERM and USE_ANSI_COLORS environment variables take # precedence, because most terminfo databases neglect to describe # whether color sequences are supported. test -n "${COLORTERM+set}" && : ${USE_ANSI_COLORS="1"} if test 1 = "$USE_ANSI_COLORS"; then # Standard ANSI escape sequences tc_reset='' tc_bold=''; tc_standout='' tc_red=''; tc_green='' tc_blue=''; tc_cyan='' else # Otherwise trust the terminfo database after all. test -n "`tput sgr0 2>/dev/null`" && { tc_reset=`tput sgr0` test -n "`tput bold 2>/dev/null`" && tc_bold=`tput bold` tc_standout=$tc_bold test -n "`tput smso 2>/dev/null`" && tc_standout=`tput smso` test -n "`tput setaf 1 2>/dev/null`" && tc_red=`tput setaf 1` test -n "`tput setaf 2 2>/dev/null`" && tc_green=`tput setaf 2` test -n "`tput setaf 4 2>/dev/null`" && tc_blue=`tput setaf 4` test -n "`tput setaf 5 2>/dev/null`" && tc_cyan=`tput setaf 5` } fi } require_term_colors=: } ## ----------------- ## ## Function library. ## ## ----------------- ## # This section contains a variety of useful functions to call in your # scripts. Take note of the portable wrappers for features provided by # some modern shells, which will fall back to slower equivalents on # less featureful shells. # func_append VAR VALUE # --------------------- # Append VALUE onto the existing contents of VAR. # We should try to minimise forks, especially on Windows where they are # unreasonably slow, so skip the feature probes when bash or zsh are # being used: if test set = "${BASH_VERSION+set}${ZSH_VERSION+set}"; then : ${_G_HAVE_ARITH_OP="yes"} : ${_G_HAVE_XSI_OPS="yes"} # The += operator was introduced in bash 3.1 case $BASH_VERSION in [12].* | 3.0 | 3.0*) ;; *) : ${_G_HAVE_PLUSEQ_OP="yes"} ;; esac fi # _G_HAVE_PLUSEQ_OP # Can be empty, in which case the shell is probed, "yes" if += is # useable or anything else if it does not work. test -z "$_G_HAVE_PLUSEQ_OP" \ && (eval 'x=a; x+=" b"; test "a b" = "$x"') 2>/dev/null \ && _G_HAVE_PLUSEQ_OP=yes if test yes = "$_G_HAVE_PLUSEQ_OP" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_append () { $debug_cmd eval "$1+=\$2" }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_append () { $debug_cmd eval "$1=\$$1\$2" } fi # func_append_quoted VAR VALUE # ---------------------------- # Quote VALUE and append to the end of shell variable VAR, separated # by a space. if test yes = "$_G_HAVE_PLUSEQ_OP"; then eval 'func_append_quoted () { $debug_cmd func_quote_for_eval "$2" eval "$1+=\\ \$func_quote_for_eval_result" }' else func_append_quoted () { $debug_cmd func_quote_for_eval "$2" eval "$1=\$$1\\ \$func_quote_for_eval_result" } fi # func_append_uniq VAR VALUE # -------------------------- # Append unique VALUE onto the existing contents of VAR, assuming # entries are delimited by the first character of VALUE. For example: # # func_append_uniq options " --another-option option-argument" # # will only append to $options if " --another-option option-argument " # is not already present somewhere in $options already (note spaces at # each end implied by leading space in second argument). func_append_uniq () { $debug_cmd eval _G_current_value='`$ECHO $'$1'`' _G_delim=`expr "$2" : '\(.\)'` case $_G_delim$_G_current_value$_G_delim in *"$2$_G_delim"*) ;; *) func_append "$@" ;; esac } # func_arith TERM... # ------------------ # Set func_arith_result to the result of evaluating TERMs. test -z "$_G_HAVE_ARITH_OP" \ && (eval 'test 2 = $(( 1 + 1 ))') 2>/dev/null \ && _G_HAVE_ARITH_OP=yes if test yes = "$_G_HAVE_ARITH_OP"; then eval 'func_arith () { $debug_cmd func_arith_result=$(( $* )) }' else func_arith () { $debug_cmd func_arith_result=`expr "$@"` } fi # func_basename FILE # ------------------ # Set func_basename_result to FILE with everything up to and including # the last / stripped. if test yes = "$_G_HAVE_XSI_OPS"; then # If this shell supports suffix pattern removal, then use it to avoid # forking. Hide the definitions single quotes in case the shell chokes # on unsupported syntax... _b='func_basename_result=${1##*/}' _d='case $1 in */*) func_dirname_result=${1%/*}$2 ;; * ) func_dirname_result=$3 ;; esac' else # ...otherwise fall back to using sed. _b='func_basename_result=`$ECHO "$1" |$SED "$sed_basename"`' _d='func_dirname_result=`$ECHO "$1" |$SED "$sed_dirname"` if test "X$func_dirname_result" = "X$1"; then func_dirname_result=$3 else func_append func_dirname_result "$2" fi' fi eval 'func_basename () { $debug_cmd '"$_b"' }' # func_dirname FILE APPEND NONDIR_REPLACEMENT # ------------------------------------------- # Compute the dirname of FILE. If nonempty, add APPEND to the result, # otherwise set result to NONDIR_REPLACEMENT. eval 'func_dirname () { $debug_cmd '"$_d"' }' # 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" # For efficiency, we do not delegate to the functions above but instead # duplicate the functionality here. eval 'func_dirname_and_basename () { $debug_cmd '"$_b"' '"$_d"' }' # func_echo ARG... # ---------------- # Echo program name prefixed message. func_echo () { $debug_cmd _G_message=$* func_echo_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_IFS $ECHO "$progname: $_G_line" done IFS=$func_echo_IFS } # func_echo_all ARG... # -------------------- # Invoke $ECHO with all args, space-separated. func_echo_all () { $ECHO "$*" } # func_echo_infix_1 INFIX ARG... # ------------------------------ # Echo program name, followed by INFIX on the first line, with any # additional lines not showing INFIX. func_echo_infix_1 () { $debug_cmd $require_term_colors _G_infix=$1; shift _G_indent=$_G_infix _G_prefix="$progname: $_G_infix: " _G_message=$* # Strip color escape sequences before counting printable length for _G_tc in "$tc_reset" "$tc_bold" "$tc_standout" "$tc_red" "$tc_green" "$tc_blue" "$tc_cyan" do test -n "$_G_tc" && { _G_esc_tc=`$ECHO "$_G_tc" | $SED "$sed_make_literal_regex"` _G_indent=`$ECHO "$_G_indent" | $SED "s|$_G_esc_tc||g"` } done _G_indent="$progname: "`echo "$_G_indent" | $SED 's|.| |g'`" " ## exclude from sc_prohibit_nested_quotes func_echo_infix_1_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_infix_1_IFS $ECHO "$_G_prefix$tc_bold$_G_line$tc_reset" >&2 _G_prefix=$_G_indent done IFS=$func_echo_infix_1_IFS } # func_error ARG... # ----------------- # Echo program name prefixed message to standard error. func_error () { $debug_cmd $require_term_colors func_echo_infix_1 " $tc_standout${tc_red}error$tc_reset" "$*" >&2 } # func_fatal_error ARG... # ----------------------- # Echo program name prefixed message to standard error, and exit. func_fatal_error () { $debug_cmd func_error "$*" exit $EXIT_FAILURE } # func_grep EXPRESSION FILENAME # ----------------------------- # Check whether EXPRESSION matches any line of FILENAME, without output. func_grep () { $debug_cmd $GREP "$1" "$2" >/dev/null 2>&1 } # func_len STRING # --------------- # Set func_len_result to the length of STRING. STRING may not # start with a hyphen. test -z "$_G_HAVE_XSI_OPS" \ && (eval 'x=a/b/c; test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ && _G_HAVE_XSI_OPS=yes if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_len () { $debug_cmd func_len_result=${#1} }' else func_len () { $debug_cmd func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len` } fi # func_mkdir_p DIRECTORY-PATH # --------------------------- # Make sure the entire path to DIRECTORY-PATH is available. func_mkdir_p () { $debug_cmd _G_directory_path=$1 _G_dir_list= if test -n "$_G_directory_path" && test : != "$opt_dry_run"; then # Protect directory names starting with '-' case $_G_directory_path in -*) _G_directory_path=./$_G_directory_path ;; esac # While some portion of DIR does not yet exist... while test ! -d "$_G_directory_path"; do # ...make a list in topmost first order. Use a colon delimited # list incase some portion of path contains whitespace. _G_dir_list=$_G_directory_path:$_G_dir_list # If the last portion added has no slash in it, the list is done case $_G_directory_path in */*) ;; *) break ;; esac # ...otherwise throw away the child directory and loop _G_directory_path=`$ECHO "$_G_directory_path" | $SED -e "$sed_dirname"` done _G_dir_list=`$ECHO "$_G_dir_list" | $SED 's|:*$||'` func_mkdir_p_IFS=$IFS; IFS=: for _G_dir in $_G_dir_list; do IFS=$func_mkdir_p_IFS # mkdir can fail with a 'File exist' error if two processes # try to create one of the directories concurrently. Don't # stop in that case! $MKDIR "$_G_dir" 2>/dev/null || : done IFS=$func_mkdir_p_IFS # Bail out if we (or some other process) failed to create a directory. test -d "$_G_directory_path" || \ func_fatal_error "Failed to create '$1'" fi } # func_mktempdir [BASENAME] # ------------------------- # Make a temporary directory that won't clash with other running # libtool processes, and avoids race conditions if possible. If # given, BASENAME is the basename for that directory. func_mktempdir () { $debug_cmd _G_template=${TMPDIR-/tmp}/${1-$progname} if test : = "$opt_dry_run"; then # Return a directory name, but don't create it in dry-run mode _G_tmpdir=$_G_template-$$ else # If mktemp works, use that first and foremost _G_tmpdir=`mktemp -d "$_G_template-XXXXXXXX" 2>/dev/null` if test ! -d "$_G_tmpdir"; then # Failing that, at least try and use $RANDOM to avoid a race _G_tmpdir=$_G_template-${RANDOM-0}$$ func_mktempdir_umask=`umask` umask 0077 $MKDIR "$_G_tmpdir" umask $func_mktempdir_umask fi # If we're not in dry-run mode, bomb out on failure test -d "$_G_tmpdir" || \ func_fatal_error "cannot create temporary directory '$_G_tmpdir'" fi $ECHO "$_G_tmpdir" } # func_normal_abspath PATH # ------------------------ # Remove doubled-up and trailing slashes, "." path components, # and cancel out any ".." path components in PATH after making # it an absolute path. func_normal_abspath () { $debug_cmd # These SED scripts presuppose an absolute path with a trailing slash. _G_pathcar='s|^/\([^/]*\).*$|\1|' _G_pathcdr='s|^/[^/]*||' _G_removedotparts=':dotsl s|/\./|/|g t dotsl s|/\.$|/|' _G_collapseslashes='s|/\{1,\}|/|g' _G_finalslash='s|/*$|/|' # Start from root dir and reassemble the path. func_normal_abspath_result= func_normal_abspath_tpath=$1 func_normal_abspath_altnamespace= case $func_normal_abspath_tpath in "") # Empty path, that just means $cwd. func_stripname '' '/' "`pwd`" func_normal_abspath_result=$func_stripname_result return ;; # The next three entries are used to spot a run of precisely # two leading slashes without using negated character classes; # we take advantage of case's first-match behaviour. ///*) # Unusual form of absolute path, do nothing. ;; //*) # Not necessarily an ordinary path; POSIX reserves leading '//' # and for example Cygwin uses it to access remote file shares # over CIFS/SMB, so we conserve a leading double slash if found. func_normal_abspath_altnamespace=/ ;; /*) # Absolute path, do nothing. ;; *) # Relative path, prepend $cwd. func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath ;; esac # Cancel out all the simple stuff to save iterations. We also want # the path to end with a slash for ease of parsing, so make sure # there is one (and only one) here. func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$_G_removedotparts" -e "$_G_collapseslashes" -e "$_G_finalslash"` while :; do # Processed it all yet? if test / = "$func_normal_abspath_tpath"; then # If we ascended to the root using ".." the result may be empty now. if test -z "$func_normal_abspath_result"; then func_normal_abspath_result=/ fi break fi func_normal_abspath_tcomponent=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$_G_pathcar"` func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \ -e "$_G_pathcdr"` # Figure out what to do with it case $func_normal_abspath_tcomponent in "") # Trailing empty path component, ignore it. ;; ..) # Parent dir; strip last assembled component from result. func_dirname "$func_normal_abspath_result" func_normal_abspath_result=$func_dirname_result ;; *) # Actual path component, append it. func_append func_normal_abspath_result "/$func_normal_abspath_tcomponent" ;; esac done # Restore leading double-slash if one was found on entry. func_normal_abspath_result=$func_normal_abspath_altnamespace$func_normal_abspath_result } # func_notquiet ARG... # -------------------- # Echo program name prefixed message only when not in quiet mode. func_notquiet () { $debug_cmd $opt_quiet || func_echo ${1+"$@"} # A bug in bash halts the script if the last line of a function # fails when set -e is in force, so we need another command to # work around that: : } # func_relative_path SRCDIR DSTDIR # -------------------------------- # Set func_relative_path_result to the relative path from SRCDIR to DSTDIR. func_relative_path () { $debug_cmd func_relative_path_result= func_normal_abspath "$1" func_relative_path_tlibdir=$func_normal_abspath_result func_normal_abspath "$2" func_relative_path_tbindir=$func_normal_abspath_result # Ascend the tree starting from libdir while :; do # check if we have found a prefix of bindir case $func_relative_path_tbindir in $func_relative_path_tlibdir) # found an exact match func_relative_path_tcancelled= break ;; $func_relative_path_tlibdir*) # found a matching prefix func_stripname "$func_relative_path_tlibdir" '' "$func_relative_path_tbindir" func_relative_path_tcancelled=$func_stripname_result if test -z "$func_relative_path_result"; then func_relative_path_result=. fi break ;; *) func_dirname $func_relative_path_tlibdir func_relative_path_tlibdir=$func_dirname_result if test -z "$func_relative_path_tlibdir"; then # Have to descend all the way to the root! func_relative_path_result=../$func_relative_path_result func_relative_path_tcancelled=$func_relative_path_tbindir break fi func_relative_path_result=../$func_relative_path_result ;; esac done # Now calculate path; take care to avoid doubling-up slashes. func_stripname '' '/' "$func_relative_path_result" func_relative_path_result=$func_stripname_result func_stripname '/' '/' "$func_relative_path_tcancelled" if test -n "$func_stripname_result"; then func_append func_relative_path_result "/$func_stripname_result" fi # Normalisation. If bindir is libdir, return '.' else relative path. if test -n "$func_relative_path_result"; then func_stripname './' '' "$func_relative_path_result" func_relative_path_result=$func_stripname_result fi test -n "$func_relative_path_result" || func_relative_path_result=. : } # func_quote_for_eval ARG... # -------------------------- # Aesthetically quote ARGs to be evaled later. # This function returns two values: # i) func_quote_for_eval_result # double-quoted, suitable for a subsequent eval # ii) func_quote_for_eval_unquoted_result # has all characters that are still active within double # quotes backslashified. func_quote_for_eval () { $debug_cmd func_quote_for_eval_unquoted_result= func_quote_for_eval_result= while test 0 -lt $#; do case $1 in *[\\\`\"\$]*) _G_unquoted_arg=`printf '%s\n' "$1" |$SED "$sed_quote_subst"` ;; *) _G_unquoted_arg=$1 ;; esac if test -n "$func_quote_for_eval_unquoted_result"; then func_append func_quote_for_eval_unquoted_result " $_G_unquoted_arg" else func_append func_quote_for_eval_unquoted_result "$_G_unquoted_arg" fi case $_G_unquoted_arg in # Double-quote args containing shell metacharacters to delay # word splitting, command substitution and variable expansion # for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") _G_quoted_arg=\"$_G_unquoted_arg\" ;; *) _G_quoted_arg=$_G_unquoted_arg ;; esac if test -n "$func_quote_for_eval_result"; then func_append func_quote_for_eval_result " $_G_quoted_arg" else func_append func_quote_for_eval_result "$_G_quoted_arg" fi shift done } # func_quote_for_expand ARG # ------------------------- # Aesthetically quote ARG to be evaled later; same as above, # but do not quote variable references. func_quote_for_expand () { $debug_cmd case $1 in *[\\\`\"]*) _G_arg=`$ECHO "$1" | $SED \ -e "$sed_double_quote_subst" -e "$sed_double_backslash"` ;; *) _G_arg=$1 ;; esac case $_G_arg in # Double-quote args containing shell metacharacters to delay # word splitting and command substitution for a subsequent eval. # Many Bourne shells cannot handle close brackets correctly # in scan sets, so we specify it separately. *[\[\~\#\^\&\*\(\)\{\}\|\;\<\>\?\'\ \ ]*|*]*|"") _G_arg=\"$_G_arg\" ;; esac func_quote_for_expand_result=$_G_arg } # func_stripname PREFIX SUFFIX NAME # --------------------------------- # strip PREFIX and SUFFIX from NAME, and store in func_stripname_result. # 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). if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_stripname () { $debug_cmd # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are # positional parameters, so assign one to ordinary variable first. func_stripname_result=$3 func_stripname_result=${func_stripname_result#"$1"} func_stripname_result=${func_stripname_result%"$2"} }' else func_stripname () { $debug_cmd case $2 in .*) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%\\\\$2\$%%"`;; *) func_stripname_result=`$ECHO "$3" | $SED -e "s%^$1%%" -e "s%$2\$%%"`;; esac } fi # func_show_eval CMD [FAIL_EXP] # ----------------------------- # Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. func_show_eval () { $debug_cmd _G_cmd=$1 _G_fail_exp=${2-':'} func_quote_for_expand "$_G_cmd" eval "func_notquiet $func_quote_for_expand_result" $opt_dry_run || { eval "$_G_cmd" _G_status=$? if test 0 -ne "$_G_status"; then eval "(exit $_G_status); $_G_fail_exp" fi } } # func_show_eval_locale CMD [FAIL_EXP] # ------------------------------------ # Unless opt_quiet is true, then output CMD. Then, if opt_dryrun is # not true, evaluate CMD. If the evaluation of CMD fails, and FAIL_EXP # is given, then evaluate it. Use the saved locale for evaluation. func_show_eval_locale () { $debug_cmd _G_cmd=$1 _G_fail_exp=${2-':'} $opt_quiet || { func_quote_for_expand "$_G_cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || { eval "$_G_user_locale $_G_cmd" _G_status=$? eval "$_G_safe_locale" if test 0 -ne "$_G_status"; then eval "(exit $_G_status); $_G_fail_exp" fi } } # func_tr_sh # ---------- # Turn $1 into a string suitable for a shell variable name. # Result is stored in $func_tr_sh_result. All characters # not in the set a-zA-Z0-9_ are replaced with '_'. Further, # if $1 begins with a digit, a '_' is prepended as well. func_tr_sh () { $debug_cmd case $1 in [0-9]* | *[!a-zA-Z0-9_]*) func_tr_sh_result=`$ECHO "$1" | $SED -e 's/^\([0-9]\)/_\1/' -e 's/[^a-zA-Z0-9_]/_/g'` ;; * ) func_tr_sh_result=$1 ;; esac } # func_verbose ARG... # ------------------- # Echo program name prefixed message in verbose mode only. func_verbose () { $debug_cmd $opt_verbose && func_echo "$*" : } # func_warn_and_continue ARG... # ----------------------------- # Echo program name prefixed warning message to standard error. func_warn_and_continue () { $debug_cmd $require_term_colors func_echo_infix_1 "${tc_red}warning$tc_reset" "$*" >&2 } # func_warning CATEGORY ARG... # ---------------------------- # Echo program name prefixed warning message to standard error. Warning # messages can be filtered according to CATEGORY, where this function # elides messages where CATEGORY is not listed in the global variable # 'opt_warning_types'. func_warning () { $debug_cmd # CATEGORY must be in the warning_categories list! case " $warning_categories " in *" $1 "*) ;; *) func_internal_error "invalid warning category '$1'" ;; esac _G_category=$1 shift case " $opt_warning_types " in *" $_G_category "*) $warning_func ${1+"$@"} ;; esac } # func_sort_ver VER1 VER2 # ----------------------- # 'sort -V' is not generally available. # Note this deviates from the version comparison in automake # in that it treats 1.5 < 1.5.0, and treats 1.4.4a < 1.4-p3a # but this should suffice as we won't be specifying old # version formats or redundant trailing .0 in bootstrap.conf. # If we did want full compatibility then we should probably # use m4_version_compare from autoconf. func_sort_ver () { $debug_cmd printf '%s\n%s\n' "$1" "$2" \ | sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n } # func_lt_ver PREV CURR # --------------------- # Return true if PREV and CURR are in the correct order according to # func_sort_ver, otherwise false. Use it like this: # # func_lt_ver "$prev_ver" "$proposed_ver" || func_fatal_error "..." func_lt_ver () { $debug_cmd test "x$1" = x`func_sort_ver "$1" "$2" | $SED 1q` } # Local variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" # time-stamp-time-zone: "UTC" # End: #! /bin/sh # Set a version string for this script. scriptversion=2014-01-07.03; # UTC # A portable, pluggable option parser for Bourne shell. # Written by Gary V. Vaughan, 2010 # Copyright (C) 2010-2015 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. # This program 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 3 of the License, or # (at your option) any later version. # This program 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 this program. If not, see . # Please report bugs or propose patches to gary@gnu.org. ## ------ ## ## Usage. ## ## ------ ## # This file is a library for parsing options in your shell scripts along # with assorted other useful supporting features that you can make use # of too. # # For the simplest scripts you might need only: # # #!/bin/sh # . relative/path/to/funclib.sh # . relative/path/to/options-parser # scriptversion=1.0 # func_options ${1+"$@"} # eval set dummy "$func_options_result"; shift # ...rest of your script... # # In order for the '--version' option to work, you will need to have a # suitably formatted comment like the one at the top of this file # starting with '# Written by ' and ending with '# warranty; '. # # For '-h' and '--help' to work, you will also need a one line # description of your script's purpose in a comment directly above the # '# Written by ' line, like the one at the top of this file. # # The default options also support '--debug', which will turn on shell # execution tracing (see the comment above debug_cmd below for another # use), and '--verbose' and the func_verbose function to allow your script # to display verbose messages only when your user has specified # '--verbose'. # # After sourcing this file, you can plug processing for additional # options by amending the variables from the 'Configuration' section # below, and following the instructions in the 'Option parsing' # section further down. ## -------------- ## ## Configuration. ## ## -------------- ## # You should override these variables in your script after sourcing this # file so that they reflect the customisations you have added to the # option parser. # The usage line for option parsing errors and the start of '-h' and # '--help' output messages. You can embed shell variables for delayed # expansion at the time the message is displayed, but you will need to # quote other shell meta-characters carefully to prevent them being # expanded when the contents are evaled. usage='$progpath [OPTION]...' # Short help message in response to '-h' and '--help'. Add to this or # override it after sourcing this library to reflect the full set of # options your script accepts. usage_message="\ --debug enable verbose shell tracing -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] -v, --verbose verbosely report processing --version print version information and exit -h, --help print short or long help message and exit " # Additional text appended to 'usage_message' in response to '--help'. long_help_message=" Warning categories include: 'all' show all warnings 'none' turn off all the warnings 'error' warnings are treated as fatal errors" # Help message printed before fatal option parsing errors. fatal_help="Try '\$progname --help' for more information." ## ------------------------- ## ## Hook function management. ## ## ------------------------- ## # This section contains functions for adding, removing, and running hooks # to the main code. A hook is just a named list of of function, that can # be run in order later on. # func_hookable FUNC_NAME # ----------------------- # Declare that FUNC_NAME will run hooks added with # 'func_add_hook FUNC_NAME ...'. func_hookable () { $debug_cmd func_append hookable_fns " $1" } # func_add_hook FUNC_NAME HOOK_FUNC # --------------------------------- # Request that FUNC_NAME call HOOK_FUNC before it returns. FUNC_NAME must # first have been declared "hookable" by a call to 'func_hookable'. func_add_hook () { $debug_cmd case " $hookable_fns " in *" $1 "*) ;; *) func_fatal_error "'$1' does not accept hook functions." ;; esac eval func_append ${1}_hooks '" $2"' } # func_remove_hook FUNC_NAME HOOK_FUNC # ------------------------------------ # Remove HOOK_FUNC from the list of functions called by FUNC_NAME. func_remove_hook () { $debug_cmd eval ${1}_hooks='`$ECHO "\$'$1'_hooks" |$SED "s| '$2'||"`' } # func_run_hooks FUNC_NAME [ARG]... # --------------------------------- # Run all hook functions registered to FUNC_NAME. # It is assumed that the list of hook functions contains nothing more # than a whitespace-delimited list of legal shell function names, and # no effort is wasted trying to catch shell meta-characters or preserve # whitespace. func_run_hooks () { $debug_cmd case " $hookable_fns " in *" $1 "*) ;; *) func_fatal_error "'$1' does not support hook funcions.n" ;; esac eval _G_hook_fns=\$$1_hooks; shift for _G_hook in $_G_hook_fns; do eval $_G_hook '"$@"' # store returned options list back into positional # parameters for next 'cmd' execution. eval _G_hook_result=\$${_G_hook}_result eval set dummy "$_G_hook_result"; shift done func_quote_for_eval ${1+"$@"} func_run_hooks_result=$func_quote_for_eval_result } ## --------------- ## ## Option parsing. ## ## --------------- ## # In order to add your own option parsing hooks, you must accept the # full positional parameter list in your hook function, remove any # options that you action, and then pass back the remaining unprocessed # options in '_result', escaped suitably for # 'eval'. Like this: # # my_options_prep () # { # $debug_cmd # # # Extend the existing usage message. # usage_message=$usage_message' # -s, --silent don'\''t print informational messages # ' # # func_quote_for_eval ${1+"$@"} # my_options_prep_result=$func_quote_for_eval_result # } # func_add_hook func_options_prep my_options_prep # # # my_silent_option () # { # $debug_cmd # # # Note that for efficiency, we parse as many options as we can # # recognise in a loop before passing the remainder back to the # # caller on the first unrecognised argument we encounter. # while test $# -gt 0; do # opt=$1; shift # case $opt in # --silent|-s) opt_silent=: ;; # # Separate non-argument short options: # -s*) func_split_short_opt "$_G_opt" # set dummy "$func_split_short_opt_name" \ # "-$func_split_short_opt_arg" ${1+"$@"} # shift # ;; # *) set dummy "$_G_opt" "$*"; shift; break ;; # esac # done # # func_quote_for_eval ${1+"$@"} # my_silent_option_result=$func_quote_for_eval_result # } # func_add_hook func_parse_options my_silent_option # # # my_option_validation () # { # $debug_cmd # # $opt_silent && $opt_verbose && func_fatal_help "\ # '--silent' and '--verbose' options are mutually exclusive." # # func_quote_for_eval ${1+"$@"} # my_option_validation_result=$func_quote_for_eval_result # } # func_add_hook func_validate_options my_option_validation # # You'll alse need to manually amend $usage_message to reflect the extra # options you parse. It's preferable to append if you can, so that # multiple option parsing hooks can be added safely. # func_options [ARG]... # --------------------- # All the functions called inside func_options are hookable. See the # individual implementations for details. func_hookable func_options func_options () { $debug_cmd func_options_prep ${1+"$@"} eval func_parse_options \ ${func_options_prep_result+"$func_options_prep_result"} eval func_validate_options \ ${func_parse_options_result+"$func_parse_options_result"} eval func_run_hooks func_options \ ${func_validate_options_result+"$func_validate_options_result"} # save modified positional parameters for caller func_options_result=$func_run_hooks_result } # func_options_prep [ARG]... # -------------------------- # All initialisations required before starting the option parse loop. # Note that when calling hook functions, we pass through the list of # positional parameters. If a hook function modifies that list, and # needs to propogate that back to rest of this script, then the complete # modified list must be put in 'func_run_hooks_result' before # returning. func_hookable func_options_prep func_options_prep () { $debug_cmd # Option defaults: opt_verbose=false opt_warning_types= func_run_hooks func_options_prep ${1+"$@"} # save modified positional parameters for caller func_options_prep_result=$func_run_hooks_result } # func_parse_options [ARG]... # --------------------------- # The main option parsing loop. func_hookable func_parse_options func_parse_options () { $debug_cmd func_parse_options_result= # this just eases exit handling while test $# -gt 0; do # Defer to hook functions for initial option parsing, so they # get priority in the event of reusing an option name. func_run_hooks func_parse_options ${1+"$@"} # Adjust func_parse_options positional parameters to match eval set dummy "$func_run_hooks_result"; shift # Break out of the loop if we already parsed every option. test $# -gt 0 || break _G_opt=$1 shift case $_G_opt in --debug|-x) debug_cmd='set -x' func_echo "enabling shell trace mode" $debug_cmd ;; --no-warnings|--no-warning|--no-warn) set dummy --warnings none ${1+"$@"} shift ;; --warnings|--warning|-W) test $# = 0 && func_missing_arg $_G_opt && break case " $warning_categories $1" in *" $1 "*) # trailing space prevents matching last $1 above func_append_uniq opt_warning_types " $1" ;; *all) opt_warning_types=$warning_categories ;; *none) opt_warning_types=none warning_func=: ;; *error) opt_warning_types=$warning_categories warning_func=func_fatal_error ;; *) func_fatal_error \ "unsupported warning category: '$1'" ;; esac shift ;; --verbose|-v) opt_verbose=: ;; --version) func_version ;; -\?|-h) func_usage ;; --help) func_help ;; # Separate optargs to long options (plugins may need this): --*=*) func_split_equals "$_G_opt" set dummy "$func_split_equals_lhs" \ "$func_split_equals_rhs" ${1+"$@"} shift ;; # Separate optargs to short options: -W*) func_split_short_opt "$_G_opt" set dummy "$func_split_short_opt_name" \ "$func_split_short_opt_arg" ${1+"$@"} shift ;; # Separate non-argument short options: -\?*|-h*|-v*|-x*) func_split_short_opt "$_G_opt" set dummy "$func_split_short_opt_name" \ "-$func_split_short_opt_arg" ${1+"$@"} shift ;; --) break ;; -*) func_fatal_help "unrecognised option: '$_G_opt'" ;; *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; esac done # save modified positional parameters for caller func_quote_for_eval ${1+"$@"} func_parse_options_result=$func_quote_for_eval_result } # func_validate_options [ARG]... # ------------------------------ # Perform any sanity checks on option settings and/or unconsumed # arguments. func_hookable func_validate_options func_validate_options () { $debug_cmd # Display all warnings if -W was not given. test -n "$opt_warning_types" || opt_warning_types=" $warning_categories" func_run_hooks func_validate_options ${1+"$@"} # Bail if the options were screwed! $exit_cmd $EXIT_FAILURE # save modified positional parameters for caller func_validate_options_result=$func_run_hooks_result } ## ----------------- ## ## Helper functions. ## ## ----------------- ## # This section contains the helper functions used by the rest of the # hookable option parser framework in ascii-betical order. # func_fatal_help ARG... # ---------------------- # Echo program name prefixed message to standard error, followed by # a help hint, and exit. func_fatal_help () { $debug_cmd eval \$ECHO \""Usage: $usage"\" eval \$ECHO \""$fatal_help"\" func_error ${1+"$@"} exit $EXIT_FAILURE } # func_help # --------- # Echo long help message to standard output and exit. func_help () { $debug_cmd func_usage_message $ECHO "$long_help_message" exit 0 } # func_missing_arg ARGNAME # ------------------------ # Echo program name prefixed message to standard error and set global # exit_cmd. func_missing_arg () { $debug_cmd func_error "Missing argument for '$1'." exit_cmd=exit } # func_split_equals STRING # ------------------------ # Set func_split_equals_lhs and func_split_equals_rhs shell variables after # splitting STRING at the '=' sign. test -z "$_G_HAVE_XSI_OPS" \ && (eval 'x=a/b/c; test 5aa/bb/cc = "${#x}${x%%/*}${x%/*}${x#*/}${x##*/}"') 2>/dev/null \ && _G_HAVE_XSI_OPS=yes if test yes = "$_G_HAVE_XSI_OPS" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_split_equals () { $debug_cmd func_split_equals_lhs=${1%%=*} func_split_equals_rhs=${1#*=} test "x$func_split_equals_lhs" = "x$1" \ && func_split_equals_rhs= }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_split_equals () { $debug_cmd func_split_equals_lhs=`expr "x$1" : 'x\([^=]*\)'` func_split_equals_rhs= test "x$func_split_equals_lhs" = "x$1" \ || func_split_equals_rhs=`expr "x$1" : 'x[^=]*=\(.*\)$'` } fi #func_split_equals # func_split_short_opt SHORTOPT # ----------------------------- # Set func_split_short_opt_name and func_split_short_opt_arg shell # variables after splitting SHORTOPT after the 2nd character. if test yes = "$_G_HAVE_XSI_OPS" then # This is an XSI compatible shell, allowing a faster implementation... eval 'func_split_short_opt () { $debug_cmd func_split_short_opt_arg=${1#??} func_split_short_opt_name=${1%"$func_split_short_opt_arg"} }' else # ...otherwise fall back to using expr, which is often a shell builtin. func_split_short_opt () { $debug_cmd func_split_short_opt_name=`expr "x$1" : 'x-\(.\)'` func_split_short_opt_arg=`expr "x$1" : 'x-.\(.*\)$'` } fi #func_split_short_opt # func_usage # ---------- # Echo short help message to standard output and exit. func_usage () { $debug_cmd func_usage_message $ECHO "Run '$progname --help |${PAGER-more}' for full usage" exit 0 } # func_usage_message # ------------------ # Echo short help message to standard output. func_usage_message () { $debug_cmd eval \$ECHO \""Usage: $usage"\" echo $SED -n 's|^# || /^Written by/{ x;p;x } h /^Written by/q' < "$progpath" echo eval \$ECHO \""$usage_message"\" } # func_version # ------------ # Echo version message to standard output and exit. func_version () { $debug_cmd printf '%s\n' "$progname $scriptversion" $SED -n ' /(C)/!b go :more /\./!{ N s|\n# | | b more } :go /^# Written by /,/# warranty; / { s|^# || s|^# *$|| s|\((C)\)[ 0-9,-]*[ ,-]\([1-9][0-9]* \)|\1 \2| p } /^# Written by / { s|^# || p } /^warranty; /q' < "$progpath" exit $? } # Local variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'before-save-hook 'time-stamp) # time-stamp-pattern: "10/scriptversion=%:y-%02m-%02d.%02H; # UTC" # time-stamp-time-zone: "UTC" # End: # Set a version string. scriptversion='(GNU libtool) 2.4.6' # func_echo ARG... # ---------------- # Libtool also displays the current mode in messages, so override # funclib.sh func_echo with this custom definition. func_echo () { $debug_cmd _G_message=$* func_echo_IFS=$IFS IFS=$nl for _G_line in $_G_message; do IFS=$func_echo_IFS $ECHO "$progname${opt_mode+: $opt_mode}: $_G_line" done IFS=$func_echo_IFS } # func_warning ARG... # ------------------- # Libtool warnings are not categorized, so override funclib.sh # func_warning with this simpler definition. func_warning () { $debug_cmd $warning_func ${1+"$@"} } ## ---------------- ## ## Options parsing. ## ## ---------------- ## # Hook in the functions to make sure our own options are parsed during # the option parsing loop. usage='$progpath [OPTION]... [MODE-ARG]...' # Short help message in response to '-h'. usage_message="Options: --config show all configuration variables --debug enable verbose shell tracing -n, --dry-run display commands without modifying any files --features display basic configuration information and exit --mode=MODE use operation mode MODE --no-warnings equivalent to '-Wnone' --preserve-dup-deps don't remove duplicate dependency libraries --quiet, --silent don't print informational messages --tag=TAG use configuration variables from tag TAG -v, --verbose print more informational messages than default --version print version information -W, --warnings=CATEGORY report the warnings falling in CATEGORY [all] -h, --help, --help-all print short, long, or detailed help message " # Additional text appended to 'usage_message' in response to '--help'. func_help () { $debug_cmd func_usage_message $ECHO "$long_help_message MODE must be one of the following: clean remove files from the build directory compile compile a source file into a libtool object execute automatically set library path, then run a program finish complete the installation of libtool libraries install install libraries or executables link create a library or an executable uninstall remove libraries from an installed directory MODE-ARGS vary depending on the MODE. When passed as first option, '--mode=MODE' may be abbreviated as 'MODE' or a unique abbreviation of that. Try '$progname --help --mode=MODE' for a more detailed description of MODE. When reporting a bug, please describe a test case to reproduce it and include the following information: host-triplet: $host shell: $SHELL compiler: $LTCC compiler flags: $LTCFLAGS linker: $LD (gnu? $with_gnu_ld) version: $progname (GNU libtool) 2.4.6 automake: `($AUTOMAKE --version) 2>/dev/null |$SED 1q` autoconf: `($AUTOCONF --version) 2>/dev/null |$SED 1q` Report bugs to . GNU libtool home page: . General help using GNU software: ." exit 0 } # func_lo2o OBJECT-NAME # --------------------- # Transform OBJECT-NAME from a '.lo' suffix to the platform specific # object suffix. lo2o=s/\\.lo\$/.$objext/ o2lo=s/\\.$objext\$/.lo/ if test yes = "$_G_HAVE_XSI_OPS"; then eval 'func_lo2o () { case $1 in *.lo) func_lo2o_result=${1%.lo}.$objext ;; * ) func_lo2o_result=$1 ;; esac }' # func_xform LIBOBJ-OR-SOURCE # --------------------------- # Transform LIBOBJ-OR-SOURCE from a '.o' or '.c' (or otherwise) # suffix to a '.lo' libtool-object suffix. eval 'func_xform () { func_xform_result=${1%.*}.lo }' else # ...otherwise fall back to using sed. func_lo2o () { func_lo2o_result=`$ECHO "$1" | $SED "$lo2o"` } func_xform () { func_xform_result=`$ECHO "$1" | $SED 's|\.[^.]*$|.lo|'` } fi # func_fatal_configuration ARG... # ------------------------------- # Echo program name prefixed message to standard error, followed by # a configuration failure hint, and exit. func_fatal_configuration () { func__fatal_error ${1+"$@"} \ "See the $PACKAGE documentation for more information." \ "Fatal configuration error." } # func_config # ----------- # Display the configuration for all the tags in this script. func_config () { re_begincf='^# ### BEGIN LIBTOOL' re_endcf='^# ### END LIBTOOL' # Default configuration. $SED "1,/$re_begincf CONFIG/d;/$re_endcf CONFIG/,\$d" < "$progpath" # Now print the configurations for the tags. for tagname in $taglist; do $SED -n "/$re_begincf TAG CONFIG: $tagname\$/,/$re_endcf TAG CONFIG: $tagname\$/p" < "$progpath" done exit $? } # func_features # ------------- # Display the features supported by this script. func_features () { echo "host: $host" if test yes = "$build_libtool_libs"; then echo "enable shared libraries" else echo "disable shared libraries" fi if test yes = "$build_old_libs"; then echo "enable static libraries" else echo "disable static libraries" fi exit $? } # func_enable_tag TAGNAME # ----------------------- # Verify that TAGNAME is valid, and either flag an error and exit, or # enable the TAGNAME tag. We also add TAGNAME to the global $taglist # variable here. func_enable_tag () { # Global variable: tagname=$1 re_begincf="^# ### BEGIN LIBTOOL TAG CONFIG: $tagname\$" re_endcf="^# ### END LIBTOOL TAG CONFIG: $tagname\$" sed_extractcf=/$re_begincf/,/$re_endcf/p # Validate tagname. case $tagname in *[!-_A-Za-z0-9,/]*) func_fatal_error "invalid tag name: $tagname" ;; esac # Don't test for the "default" C tag, as we know it's # there but not specially marked. case $tagname in CC) ;; *) if $GREP "$re_begincf" "$progpath" >/dev/null 2>&1; then taglist="$taglist $tagname" # Evaluate the configuration. Be careful to quote the path # and the sed script, to avoid splitting on whitespace, but # also don't use non-portable quotes within backquotes within # quotes we have to do it in 2 steps: extractedcf=`$SED -n -e "$sed_extractcf" < "$progpath"` eval "$extractedcf" else func_error "ignoring unknown tag $tagname" fi ;; esac } # func_check_version_match # ------------------------ # Ensure that we are using m4 macros, and libtool script from the same # release of libtool. func_check_version_match () { if test "$package_revision" != "$macro_revision"; then if test "$VERSION" != "$macro_version"; then if test -z "$macro_version"; then cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from an older release. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, but the $progname: definition of this LT_INIT comes from $PACKAGE $macro_version. $progname: You should recreate aclocal.m4 with macros from $PACKAGE $VERSION $progname: and run autoconf again. _LT_EOF fi else cat >&2 <<_LT_EOF $progname: Version mismatch error. This is $PACKAGE $VERSION, revision $package_revision, $progname: but the definition of this LT_INIT comes from revision $macro_revision. $progname: You should recreate aclocal.m4 with macros from revision $package_revision $progname: of $PACKAGE $VERSION and run autoconf again. _LT_EOF fi exit $EXIT_MISMATCH fi } # libtool_options_prep [ARG]... # ----------------------------- # Preparation for options parsed by libtool. libtool_options_prep () { $debug_mode # Option defaults: opt_config=false opt_dlopen= opt_dry_run=false opt_help=false opt_mode= opt_preserve_dup_deps=false opt_quiet=false nonopt= preserve_args= # Shorthand for --mode=foo, only valid as the first argument case $1 in clean|clea|cle|cl) shift; set dummy --mode clean ${1+"$@"}; shift ;; compile|compil|compi|comp|com|co|c) shift; set dummy --mode compile ${1+"$@"}; shift ;; execute|execut|execu|exec|exe|ex|e) shift; set dummy --mode execute ${1+"$@"}; shift ;; finish|finis|fini|fin|fi|f) shift; set dummy --mode finish ${1+"$@"}; shift ;; install|instal|insta|inst|ins|in|i) shift; set dummy --mode install ${1+"$@"}; shift ;; link|lin|li|l) shift; set dummy --mode link ${1+"$@"}; shift ;; uninstall|uninstal|uninsta|uninst|unins|unin|uni|un|u) shift; set dummy --mode uninstall ${1+"$@"}; shift ;; esac # Pass back the list of options. func_quote_for_eval ${1+"$@"} libtool_options_prep_result=$func_quote_for_eval_result } func_add_hook func_options_prep libtool_options_prep # libtool_parse_options [ARG]... # --------------------------------- # Provide handling for libtool specific options. libtool_parse_options () { $debug_cmd # Perform our own loop to consume as many options as possible in # each iteration. while test $# -gt 0; do _G_opt=$1 shift case $_G_opt in --dry-run|--dryrun|-n) opt_dry_run=: ;; --config) func_config ;; --dlopen|-dlopen) opt_dlopen="${opt_dlopen+$opt_dlopen }$1" shift ;; --preserve-dup-deps) opt_preserve_dup_deps=: ;; --features) func_features ;; --finish) set dummy --mode finish ${1+"$@"}; shift ;; --help) opt_help=: ;; --help-all) opt_help=': help-all' ;; --mode) test $# = 0 && func_missing_arg $_G_opt && break opt_mode=$1 case $1 in # Valid mode arguments: clean|compile|execute|finish|install|link|relink|uninstall) ;; # Catch anything else as an error *) func_error "invalid argument for $_G_opt" exit_cmd=exit break ;; esac shift ;; --no-silent|--no-quiet) opt_quiet=false func_append preserve_args " $_G_opt" ;; --no-warnings|--no-warning|--no-warn) opt_warning=false func_append preserve_args " $_G_opt" ;; --no-verbose) opt_verbose=false func_append preserve_args " $_G_opt" ;; --silent|--quiet) opt_quiet=: opt_verbose=false func_append preserve_args " $_G_opt" ;; --tag) test $# = 0 && func_missing_arg $_G_opt && break opt_tag=$1 func_append preserve_args " $_G_opt $1" func_enable_tag "$1" shift ;; --verbose|-v) opt_quiet=false opt_verbose=: func_append preserve_args " $_G_opt" ;; # An option not handled by this hook function: *) set dummy "$_G_opt" ${1+"$@"}; shift; break ;; esac done # save modified positional parameters for caller func_quote_for_eval ${1+"$@"} libtool_parse_options_result=$func_quote_for_eval_result } func_add_hook func_parse_options libtool_parse_options # libtool_validate_options [ARG]... # --------------------------------- # Perform any sanity checks on option settings and/or unconsumed # arguments. libtool_validate_options () { # save first non-option argument if test 0 -lt $#; then nonopt=$1 shift fi # preserve --debug test : = "$debug_cmd" || func_append preserve_args " --debug" case $host in # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452 # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788 *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*) # don't eliminate duplications in $postdeps and $predeps opt_duplicate_compiler_generated_deps=: ;; *) opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps ;; esac $opt_help || { # Sanity checks first: func_check_version_match test yes != "$build_libtool_libs" \ && test yes != "$build_old_libs" \ && func_fatal_configuration "not configured to build any kind of library" # Darwin sucks eval std_shrext=\"$shrext_cmds\" # Only execute mode is allowed to have -dlopen flags. if test -n "$opt_dlopen" && test execute != "$opt_mode"; then func_error "unrecognized option '-dlopen'" $ECHO "$help" 1>&2 exit $EXIT_FAILURE fi # Change the help message to a mode-specific one. generic_help=$help help="Try '$progname --help --mode=$opt_mode' for more information." } # Pass back the unparsed argument list func_quote_for_eval ${1+"$@"} libtool_validate_options_result=$func_quote_for_eval_result } func_add_hook func_validate_options libtool_validate_options # Process options as early as possible so that --help and --version # can return quickly. func_options ${1+"$@"} eval set dummy "$func_options_result"; shift ## ----------- ## ## Main. ## ## ----------- ## magic='%%%MAGIC variable%%%' magic_exe='%%%MAGIC EXE variable%%%' # Global variables. extracted_archives= extracted_serial=0 # If this variable is set in any of the actions, the command in it # will be execed at the end. This prevents here-documents from being # left over by shells. exec_cmd= # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF $1 _LTECHO_EOF' } # func_generated_by_libtool # True iff stdin has been generated by Libtool. This function is only # a basic sanity check; it will hardly flush out determined imposters. func_generated_by_libtool_p () { $GREP "^# Generated by .*$PACKAGE" > /dev/null 2>&1 } # func_lalib_p file # True iff FILE is a libtool '.la' library or '.lo' object file. # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_lalib_p () { test -f "$1" && $SED -e 4q "$1" 2>/dev/null | func_generated_by_libtool_p } # func_lalib_unsafe_p file # True iff FILE is a libtool '.la' library or '.lo' object file. # This function implements the same check as func_lalib_p without # resorting to external programs. To this end, it redirects stdin and # closes it afterwards, without saving the original file descriptor. # As a safety measure, use it only where a negative result would be # fatal anyway. Works if 'file' does not exist. func_lalib_unsafe_p () { lalib_p=no if test -f "$1" && test -r "$1" && exec 5<&0 <"$1"; then for lalib_p_l in 1 2 3 4 do read lalib_p_line case $lalib_p_line in \#\ Generated\ by\ *$PACKAGE* ) lalib_p=yes; break;; esac done exec 0<&5 5<&- fi test yes = "$lalib_p" } # func_ltwrapper_script_p file # True iff FILE is a libtool wrapper script # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_script_p () { test -f "$1" && $lt_truncate_bin < "$1" 2>/dev/null | func_generated_by_libtool_p } # func_ltwrapper_executable_p file # True iff FILE is a libtool wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_executable_p () { func_ltwrapper_exec_suffix= case $1 in *.exe) ;; *) func_ltwrapper_exec_suffix=.exe ;; esac $GREP "$magic_exe" "$1$func_ltwrapper_exec_suffix" >/dev/null 2>&1 } # func_ltwrapper_scriptname file # Assumes file is an ltwrapper_executable # uses $file to determine the appropriate filename for a # temporary ltwrapper_script. func_ltwrapper_scriptname () { func_dirname_and_basename "$1" "" "." func_stripname '' '.exe' "$func_basename_result" func_ltwrapper_scriptname_result=$func_dirname_result/$objdir/${func_stripname_result}_ltshwrapper } # func_ltwrapper_p file # True iff FILE is a libtool wrapper script or wrapper executable # This function is only a basic sanity check; it will hardly flush out # determined imposters. func_ltwrapper_p () { func_ltwrapper_script_p "$1" || func_ltwrapper_executable_p "$1" } # func_execute_cmds commands fail_cmd # Execute tilde-delimited COMMANDS. # If FAIL_CMD is given, eval that upon failure. # FAIL_CMD may read-access the current command in variable CMD! func_execute_cmds () { $debug_cmd save_ifs=$IFS; IFS='~' for cmd in $1; do IFS=$sp$nl eval cmd=\"$cmd\" IFS=$save_ifs func_show_eval "$cmd" "${2-:}" done IFS=$save_ifs } # func_source file # Source FILE, adding directory component if necessary. # Note that it is not necessary on cygwin/mingw to append a dot to # FILE even if both FILE and FILE.exe exist: automatic-append-.exe # behavior happens only for exec(3), not for open(2)! Also, sourcing # 'FILE.' does not work on cygwin managed mounts. func_source () { $debug_cmd case $1 in */* | *\\*) . "$1" ;; *) . "./$1" ;; esac } # func_resolve_sysroot PATH # Replace a leading = in PATH with a sysroot. Store the result into # func_resolve_sysroot_result func_resolve_sysroot () { func_resolve_sysroot_result=$1 case $func_resolve_sysroot_result in =*) func_stripname '=' '' "$func_resolve_sysroot_result" func_resolve_sysroot_result=$lt_sysroot$func_stripname_result ;; esac } # func_replace_sysroot PATH # If PATH begins with the sysroot, replace it with = and # store the result into func_replace_sysroot_result. func_replace_sysroot () { case $lt_sysroot:$1 in ?*:"$lt_sysroot"*) func_stripname "$lt_sysroot" '' "$1" func_replace_sysroot_result='='$func_stripname_result ;; *) # Including no sysroot. func_replace_sysroot_result=$1 ;; esac } # func_infer_tag arg # Infer tagged configuration to use if any are available and # if one wasn't chosen via the "--tag" command line option. # Only attempt this if the compiler in the base compile # command doesn't match the default compiler. # arg is usually of the form 'gcc ...' func_infer_tag () { $debug_cmd if test -n "$available_tags" && test -z "$tagname"; then CC_quoted= for arg in $CC; do func_append_quoted CC_quoted "$arg" done CC_expanded=`func_echo_all $CC` CC_quoted_expanded=`func_echo_all $CC_quoted` case $@ in # Blanks in the command may have been stripped by the calling shell, # but not from the CC environment variable when configure was run. " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) ;; # Blanks at the start of $base_compile will cause this to fail # if we don't check for them as well. *) for z in $available_tags; do if $GREP "^# ### BEGIN LIBTOOL TAG CONFIG: $z$" < "$progpath" > /dev/null; then # Evaluate the configuration. eval "`$SED -n -e '/^# ### BEGIN LIBTOOL TAG CONFIG: '$z'$/,/^# ### END LIBTOOL TAG CONFIG: '$z'$/p' < $progpath`" CC_quoted= for arg in $CC; do # Double-quote args containing other shell metacharacters. func_append_quoted CC_quoted "$arg" done CC_expanded=`func_echo_all $CC` CC_quoted_expanded=`func_echo_all $CC_quoted` case "$@ " in " $CC "* | "$CC "* | " $CC_expanded "* | "$CC_expanded "* | \ " $CC_quoted"* | "$CC_quoted "* | " $CC_quoted_expanded "* | "$CC_quoted_expanded "*) # The compiler in the base compile command matches # the one in the tagged configuration. # Assume this is the tagged configuration we want. tagname=$z break ;; esac fi done # If $tagname still isn't set, then no tagged configuration # was found and let the user know that the "--tag" command # line option must be used. if test -z "$tagname"; then func_echo "unable to infer tagged configuration" func_fatal_error "specify a tag with '--tag'" # else # func_verbose "using $tagname tagged configuration" fi ;; esac fi } # func_write_libtool_object output_name pic_name nonpic_name # Create a libtool object file (analogous to a ".la" file), # but don't create it if we're doing a dry run. func_write_libtool_object () { write_libobj=$1 if test yes = "$build_libtool_libs"; then write_lobj=\'$2\' else write_lobj=none fi if test yes = "$build_old_libs"; then write_oldobj=\'$3\' else write_oldobj=none fi $opt_dry_run || { cat >${write_libobj}T </dev/null` if test "$?" -eq 0 && test -n "$func_convert_core_file_wine_to_w32_tmp"; then func_convert_core_file_wine_to_w32_result=`$ECHO "$func_convert_core_file_wine_to_w32_tmp" | $SED -e "$sed_naive_backslashify"` else func_convert_core_file_wine_to_w32_result= fi fi } # end: func_convert_core_file_wine_to_w32 # func_convert_core_path_wine_to_w32 ARG # Helper function used by path conversion functions when $build is *nix, and # $host is mingw, cygwin, or some other w32 environment. Relies on a correctly # configured wine environment available, with the winepath program in $build's # $PATH. Assumes ARG has no leading or trailing path separator characters. # # ARG is path to be converted from $build format to win32. # Result is available in $func_convert_core_path_wine_to_w32_result. # Unconvertible file (directory) names in ARG are skipped; if no directory names # are convertible, then the result may be empty. func_convert_core_path_wine_to_w32 () { $debug_cmd # unfortunately, winepath doesn't convert paths, only file names func_convert_core_path_wine_to_w32_result= if test -n "$1"; then oldIFS=$IFS IFS=: for func_convert_core_path_wine_to_w32_f in $1; do IFS=$oldIFS func_convert_core_file_wine_to_w32 "$func_convert_core_path_wine_to_w32_f" if test -n "$func_convert_core_file_wine_to_w32_result"; then if test -z "$func_convert_core_path_wine_to_w32_result"; then func_convert_core_path_wine_to_w32_result=$func_convert_core_file_wine_to_w32_result else func_append func_convert_core_path_wine_to_w32_result ";$func_convert_core_file_wine_to_w32_result" fi fi done IFS=$oldIFS fi } # end: func_convert_core_path_wine_to_w32 # func_cygpath ARGS... # Wrapper around calling the cygpath program via LT_CYGPATH. This is used when # when (1) $build is *nix and Cygwin is hosted via a wine environment; or (2) # $build is MSYS and $host is Cygwin, or (3) $build is Cygwin. In case (1) or # (2), returns the Cygwin file name or path in func_cygpath_result (input # file name or path is assumed to be in w32 format, as previously converted # from $build's *nix or MSYS format). In case (3), returns the w32 file name # or path in func_cygpath_result (input file name or path is assumed to be in # Cygwin format). Returns an empty string on error. # # ARGS are passed to cygpath, with the last one being the file name or path to # be converted. # # Specify the absolute *nix (or w32) name to cygpath in the LT_CYGPATH # environment variable; do not put it in $PATH. func_cygpath () { $debug_cmd if test -n "$LT_CYGPATH" && test -f "$LT_CYGPATH"; then func_cygpath_result=`$LT_CYGPATH "$@" 2>/dev/null` if test "$?" -ne 0; then # on failure, ensure result is empty func_cygpath_result= fi else func_cygpath_result= func_error "LT_CYGPATH is empty or specifies non-existent file: '$LT_CYGPATH'" fi } #end: func_cygpath # func_convert_core_msys_to_w32 ARG # Convert file name or path ARG from MSYS format to w32 format. Return # result in func_convert_core_msys_to_w32_result. func_convert_core_msys_to_w32 () { $debug_cmd # awkward: cmd appends spaces to result func_convert_core_msys_to_w32_result=`( cmd //c echo "$1" ) 2>/dev/null | $SED -e 's/[ ]*$//' -e "$sed_naive_backslashify"` } #end: func_convert_core_msys_to_w32 # func_convert_file_check ARG1 ARG2 # Verify that ARG1 (a file name in $build format) was converted to $host # format in ARG2. Otherwise, emit an error message, but continue (resetting # func_to_host_file_result to ARG1). func_convert_file_check () { $debug_cmd if test -z "$2" && test -n "$1"; then func_error "Could not determine host file name corresponding to" func_error " '$1'" func_error "Continuing, but uninstalled executables may not work." # Fallback: func_to_host_file_result=$1 fi } # end func_convert_file_check # func_convert_path_check FROM_PATHSEP TO_PATHSEP FROM_PATH TO_PATH # Verify that FROM_PATH (a path in $build format) was converted to $host # format in TO_PATH. Otherwise, emit an error message, but continue, resetting # func_to_host_file_result to a simplistic fallback value (see below). func_convert_path_check () { $debug_cmd if test -z "$4" && test -n "$3"; then func_error "Could not determine the host path corresponding to" func_error " '$3'" func_error "Continuing, but uninstalled executables may not work." # Fallback. This is a deliberately simplistic "conversion" and # should not be "improved". See libtool.info. if test "x$1" != "x$2"; then lt_replace_pathsep_chars="s|$1|$2|g" func_to_host_path_result=`echo "$3" | $SED -e "$lt_replace_pathsep_chars"` else func_to_host_path_result=$3 fi fi } # end func_convert_path_check # func_convert_path_front_back_pathsep FRONTPAT BACKPAT REPL ORIG # Modifies func_to_host_path_result by prepending REPL if ORIG matches FRONTPAT # and appending REPL if ORIG matches BACKPAT. func_convert_path_front_back_pathsep () { $debug_cmd case $4 in $1 ) func_to_host_path_result=$3$func_to_host_path_result ;; esac case $4 in $2 ) func_append func_to_host_path_result "$3" ;; esac } # end func_convert_path_front_back_pathsep ################################################## # $build to $host FILE NAME CONVERSION FUNCTIONS # ################################################## # invoked via '$to_host_file_cmd ARG' # # In each case, ARG is the path to be converted from $build to $host format. # Result will be available in $func_to_host_file_result. # func_to_host_file ARG # Converts the file name ARG from $build format to $host format. Return result # in func_to_host_file_result. func_to_host_file () { $debug_cmd $to_host_file_cmd "$1" } # end func_to_host_file # func_to_tool_file ARG LAZY # converts the file name ARG from $build format to toolchain format. Return # result in func_to_tool_file_result. If the conversion in use is listed # in (the comma separated) LAZY, no conversion takes place. func_to_tool_file () { $debug_cmd case ,$2, in *,"$to_tool_file_cmd",*) func_to_tool_file_result=$1 ;; *) $to_tool_file_cmd "$1" func_to_tool_file_result=$func_to_host_file_result ;; esac } # end func_to_tool_file # func_convert_file_noop ARG # Copy ARG to func_to_host_file_result. func_convert_file_noop () { func_to_host_file_result=$1 } # end func_convert_file_noop # func_convert_file_msys_to_w32 ARG # Convert file name ARG from (mingw) MSYS to (mingw) w32 format; automatic # conversion to w32 is not available inside the cwrapper. Returns result in # func_to_host_file_result. func_convert_file_msys_to_w32 () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then func_convert_core_msys_to_w32 "$1" func_to_host_file_result=$func_convert_core_msys_to_w32_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_msys_to_w32 # func_convert_file_cygwin_to_w32 ARG # Convert file name ARG from Cygwin to w32 format. Returns result in # func_to_host_file_result. func_convert_file_cygwin_to_w32 () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then # because $build is cygwin, we call "the" cygpath in $PATH; no need to use # LT_CYGPATH in this case. func_to_host_file_result=`cygpath -m "$1"` fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_cygwin_to_w32 # func_convert_file_nix_to_w32 ARG # Convert file name ARG from *nix to w32 format. Requires a wine environment # and a working winepath. Returns result in func_to_host_file_result. func_convert_file_nix_to_w32 () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then func_convert_core_file_wine_to_w32 "$1" func_to_host_file_result=$func_convert_core_file_wine_to_w32_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_nix_to_w32 # func_convert_file_msys_to_cygwin ARG # Convert file name ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. # Returns result in func_to_host_file_result. func_convert_file_msys_to_cygwin () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then func_convert_core_msys_to_w32 "$1" func_cygpath -u "$func_convert_core_msys_to_w32_result" func_to_host_file_result=$func_cygpath_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_msys_to_cygwin # func_convert_file_nix_to_cygwin ARG # Convert file name ARG from *nix to Cygwin format. Requires Cygwin installed # in a wine environment, working winepath, and LT_CYGPATH set. Returns result # in func_to_host_file_result. func_convert_file_nix_to_cygwin () { $debug_cmd func_to_host_file_result=$1 if test -n "$1"; then # convert from *nix to w32, then use cygpath to convert from w32 to cygwin. func_convert_core_file_wine_to_w32 "$1" func_cygpath -u "$func_convert_core_file_wine_to_w32_result" func_to_host_file_result=$func_cygpath_result fi func_convert_file_check "$1" "$func_to_host_file_result" } # end func_convert_file_nix_to_cygwin ############################################# # $build to $host PATH CONVERSION FUNCTIONS # ############################################# # invoked via '$to_host_path_cmd ARG' # # In each case, ARG is the path to be converted from $build to $host format. # The result will be available in $func_to_host_path_result. # # Path separators are also converted from $build format to $host format. If # ARG begins or ends with a path separator character, it is preserved (but # converted to $host format) on output. # # All path conversion functions are named using the following convention: # file name conversion function : func_convert_file_X_to_Y () # path conversion function : func_convert_path_X_to_Y () # where, for any given $build/$host combination the 'X_to_Y' value is the # same. If conversion functions are added for new $build/$host combinations, # the two new functions must follow this pattern, or func_init_to_host_path_cmd # will break. # func_init_to_host_path_cmd # Ensures that function "pointer" variable $to_host_path_cmd is set to the # appropriate value, based on the value of $to_host_file_cmd. to_host_path_cmd= func_init_to_host_path_cmd () { $debug_cmd if test -z "$to_host_path_cmd"; then func_stripname 'func_convert_file_' '' "$to_host_file_cmd" to_host_path_cmd=func_convert_path_$func_stripname_result fi } # func_to_host_path ARG # Converts the path ARG from $build format to $host format. Return result # in func_to_host_path_result. func_to_host_path () { $debug_cmd func_init_to_host_path_cmd $to_host_path_cmd "$1" } # end func_to_host_path # func_convert_path_noop ARG # Copy ARG to func_to_host_path_result. func_convert_path_noop () { func_to_host_path_result=$1 } # end func_convert_path_noop # func_convert_path_msys_to_w32 ARG # Convert path ARG from (mingw) MSYS to (mingw) w32 format; automatic # conversion to w32 is not available inside the cwrapper. Returns result in # func_to_host_path_result. func_convert_path_msys_to_w32 () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # Remove leading and trailing path separator characters from ARG. MSYS # behavior is inconsistent here; cygpath turns them into '.;' and ';.'; # and winepath ignores them completely. func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" func_to_host_path_result=$func_convert_core_msys_to_w32_result func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_msys_to_w32 # func_convert_path_cygwin_to_w32 ARG # Convert path ARG from Cygwin to w32 format. Returns result in # func_to_host_file_result. func_convert_path_cygwin_to_w32 () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_to_host_path_result=`cygpath -m -p "$func_to_host_path_tmp1"` func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_cygwin_to_w32 # func_convert_path_nix_to_w32 ARG # Convert path ARG from *nix to w32 format. Requires a wine environment and # a working winepath. Returns result in func_to_host_file_result. func_convert_path_nix_to_w32 () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" func_to_host_path_result=$func_convert_core_path_wine_to_w32_result func_convert_path_check : ";" \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" ";" "$1" fi } # end func_convert_path_nix_to_w32 # func_convert_path_msys_to_cygwin ARG # Convert path ARG from MSYS to Cygwin format. Requires LT_CYGPATH set. # Returns result in func_to_host_file_result. func_convert_path_msys_to_cygwin () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # See func_convert_path_msys_to_w32: func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_msys_to_w32 "$func_to_host_path_tmp1" func_cygpath -u -p "$func_convert_core_msys_to_w32_result" func_to_host_path_result=$func_cygpath_result func_convert_path_check : : \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" : "$1" fi } # end func_convert_path_msys_to_cygwin # func_convert_path_nix_to_cygwin ARG # Convert path ARG from *nix to Cygwin format. Requires Cygwin installed in a # a wine environment, working winepath, and LT_CYGPATH set. Returns result in # func_to_host_file_result. func_convert_path_nix_to_cygwin () { $debug_cmd func_to_host_path_result=$1 if test -n "$1"; then # Remove leading and trailing path separator characters from # ARG. msys behavior is inconsistent here, cygpath turns them # into '.;' and ';.', and winepath ignores them completely. func_stripname : : "$1" func_to_host_path_tmp1=$func_stripname_result func_convert_core_path_wine_to_w32 "$func_to_host_path_tmp1" func_cygpath -u -p "$func_convert_core_path_wine_to_w32_result" func_to_host_path_result=$func_cygpath_result func_convert_path_check : : \ "$func_to_host_path_tmp1" "$func_to_host_path_result" func_convert_path_front_back_pathsep ":*" "*:" : "$1" fi } # end func_convert_path_nix_to_cygwin # func_dll_def_p FILE # True iff FILE is a Windows DLL '.def' file. # Keep in sync with _LT_DLL_DEF_P in libtool.m4 func_dll_def_p () { $debug_cmd func_dll_def_p_tmp=`$SED -n \ -e 's/^[ ]*//' \ -e '/^\(;.*\)*$/d' \ -e 's/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p' \ -e q \ "$1"` test DEF = "$func_dll_def_p_tmp" } # func_mode_compile arg... func_mode_compile () { $debug_cmd # Get the compilation command and the source file. base_compile= srcfile=$nonopt # always keep a non-empty value in "srcfile" suppress_opt=yes suppress_output= arg_mode=normal libobj= later= pie_flag= for arg do case $arg_mode in arg ) # do not "continue". Instead, add this to base_compile lastarg=$arg arg_mode=normal ;; target ) libobj=$arg arg_mode=normal continue ;; normal ) # Accept any command-line options. case $arg in -o) test -n "$libobj" && \ func_fatal_error "you cannot specify '-o' more than once" arg_mode=target continue ;; -pie | -fpie | -fPIE) func_append pie_flag " $arg" continue ;; -shared | -static | -prefer-pic | -prefer-non-pic) func_append later " $arg" continue ;; -no-suppress) suppress_opt=no continue ;; -Xcompiler) arg_mode=arg # the next one goes into the "base_compile" arg list continue # The current "srcfile" will either be retained or ;; # replaced later. I would guess that would be a bug. -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result lastarg= save_ifs=$IFS; IFS=, for arg in $args; do IFS=$save_ifs func_append_quoted lastarg "$arg" done IFS=$save_ifs func_stripname ' ' '' "$lastarg" lastarg=$func_stripname_result # Add the arguments to base_compile. func_append base_compile " $lastarg" continue ;; *) # Accept the current argument as the source file. # The previous "srcfile" becomes the current argument. # lastarg=$srcfile srcfile=$arg ;; esac # case $arg ;; esac # case $arg_mode # Aesthetically quote the previous argument. func_append_quoted base_compile "$lastarg" done # for arg case $arg_mode in arg) func_fatal_error "you must specify an argument for -Xcompile" ;; target) func_fatal_error "you must specify a target with '-o'" ;; *) # Get the name of the library object. test -z "$libobj" && { func_basename "$srcfile" libobj=$func_basename_result } ;; esac # Recognize several different file suffixes. # If the user specifies -o file.o, it is replaced with file.lo case $libobj in *.[cCFSifmso] | \ *.ada | *.adb | *.ads | *.asm | \ *.c++ | *.cc | *.ii | *.class | *.cpp | *.cxx | \ *.[fF][09]? | *.for | *.java | *.go | *.obj | *.sx | *.cu | *.cup) func_xform "$libobj" libobj=$func_xform_result ;; esac case $libobj in *.lo) func_lo2o "$libobj"; obj=$func_lo2o_result ;; *) func_fatal_error "cannot determine name of library object from '$libobj'" ;; esac func_infer_tag $base_compile for arg in $later; do case $arg in -shared) test yes = "$build_libtool_libs" \ || func_fatal_configuration "cannot build a shared library" build_old_libs=no continue ;; -static) build_libtool_libs=no build_old_libs=yes continue ;; -prefer-pic) pic_mode=yes continue ;; -prefer-non-pic) pic_mode=no continue ;; esac done func_quote_for_eval "$libobj" test "X$libobj" != "X$func_quote_for_eval_result" \ && $ECHO "X$libobj" | $GREP '[]~#^*{};<>?"'"'"' &()|`$[]' \ && func_warning "libobj name '$libobj' may not contain shell special characters." func_dirname_and_basename "$obj" "/" "" objname=$func_basename_result xdir=$func_dirname_result lobj=$xdir$objdir/$objname test -z "$base_compile" && \ func_fatal_help "you must specify a compilation command" # Delete any leftover library objects. if test yes = "$build_old_libs"; then removelist="$obj $lobj $libobj ${libobj}T" else removelist="$lobj $libobj ${libobj}T" fi # On Cygwin there's no "real" PIC flag so we must build both object types case $host_os in cygwin* | mingw* | pw32* | os2* | cegcc*) pic_mode=default ;; esac if test no = "$pic_mode" && test pass_all != "$deplibs_check_method"; then # non-PIC code in shared libraries is not supported pic_mode=default fi # Calculate the filename of the output object if compiler does # not support -o with -c if test no = "$compiler_c_o"; then output_obj=`$ECHO "$srcfile" | $SED 's%^.*/%%; s%\.[^.]*$%%'`.$objext lockfile=$output_obj.lock else output_obj= need_locks=no lockfile= fi # Lock this critical section if it is needed # We use this script file to make the link, it avoids creating a new file if test yes = "$need_locks"; then until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done elif test warn = "$need_locks"; then if test -f "$lockfile"; then $ECHO "\ *** ERROR, $lockfile exists and contains: `cat $lockfile 2>/dev/null` This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support '-c' and '-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi func_append removelist " $output_obj" $ECHO "$srcfile" > "$lockfile" fi $opt_dry_run || $RM $removelist func_append removelist " $lockfile" trap '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' 1 2 15 func_to_tool_file "$srcfile" func_convert_file_msys_to_w32 srcfile=$func_to_tool_file_result func_quote_for_eval "$srcfile" qsrcfile=$func_quote_for_eval_result # Only build a PIC object if we are building libtool libraries. if test yes = "$build_libtool_libs"; then # Without this assignment, base_compile gets emptied. fbsd_hideous_sh_bug=$base_compile if test no != "$pic_mode"; then command="$base_compile $qsrcfile $pic_flag" else # Don't build PIC code command="$base_compile $qsrcfile" fi func_mkdir_p "$xdir$objdir" if test -z "$output_obj"; then # Place PIC objects in $objdir func_append command " -o $lobj" fi func_show_eval_locale "$command" \ 'test -n "$output_obj" && $RM $removelist; exit $EXIT_FAILURE' if test warn = "$need_locks" && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support '-c' and '-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed, then go on to compile the next one if test -n "$output_obj" && test "X$output_obj" != "X$lobj"; then func_show_eval '$MV "$output_obj" "$lobj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi # Allow error messages only from the first compilation. if test yes = "$suppress_opt"; then suppress_output=' >/dev/null 2>&1' fi fi # Only build a position-dependent object if we build old libraries. if test yes = "$build_old_libs"; then if test yes != "$pic_mode"; then # Don't build PIC code command="$base_compile $qsrcfile$pie_flag" else command="$base_compile $qsrcfile $pic_flag" fi if test yes = "$compiler_c_o"; then func_append command " -o $obj" fi # Suppress compiler output if we already did a PIC compilation. func_append command "$suppress_output" func_show_eval_locale "$command" \ '$opt_dry_run || $RM $removelist; exit $EXIT_FAILURE' if test warn = "$need_locks" && test "X`cat $lockfile 2>/dev/null`" != "X$srcfile"; then $ECHO "\ *** ERROR, $lockfile contains: `cat $lockfile 2>/dev/null` but it should contain: $srcfile This indicates that another process is trying to use the same temporary object file, and libtool could not work around it because your compiler does not support '-c' and '-o' together. If you repeat this compilation, it may succeed, by chance, but you had better avoid parallel builds (make -j) in this platform, or get a better compiler." $opt_dry_run || $RM $removelist exit $EXIT_FAILURE fi # Just move the object if needed if test -n "$output_obj" && test "X$output_obj" != "X$obj"; then func_show_eval '$MV "$output_obj" "$obj"' \ 'error=$?; $opt_dry_run || $RM $removelist; exit $error' fi fi $opt_dry_run || { func_write_libtool_object "$libobj" "$objdir/$objname" "$objname" # Unlock the critical section if it was locked if test no != "$need_locks"; then removelist=$lockfile $RM "$lockfile" fi } exit $EXIT_SUCCESS } $opt_help || { test compile = "$opt_mode" && func_mode_compile ${1+"$@"} } func_mode_help () { # We need to display help for each of the modes. case $opt_mode in "") # Generic help is extracted from the usage comments # at the start of this file. func_help ;; clean) $ECHO \ "Usage: $progname [OPTION]... --mode=clean RM [RM-OPTION]... FILE... Remove files from the build directory. RM is the name of the program to use to delete files associated with each FILE (typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed to RM. If FILE is a libtool library, object or program, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; compile) $ECHO \ "Usage: $progname [OPTION]... --mode=compile COMPILE-COMMAND... SOURCEFILE Compile a source file into a libtool library object. This mode accepts the following additional options: -o OUTPUT-FILE set the output file name to OUTPUT-FILE -no-suppress do not suppress compiler output for multiple passes -prefer-pic try to build PIC objects only -prefer-non-pic try to build non-PIC objects only -shared do not build a '.o' file suitable for static linking -static only build a '.o' file suitable for static linking -Wc,FLAG pass FLAG directly to the compiler COMPILE-COMMAND is a command to be used in creating a 'standard' object file from the given SOURCEFILE. The output file name is determined by removing the directory component from SOURCEFILE, then substituting the C source code suffix '.c' with the library object suffix, '.lo'." ;; execute) $ECHO \ "Usage: $progname [OPTION]... --mode=execute COMMAND [ARGS]... Automatically set library path, then run a program. This mode accepts the following additional options: -dlopen FILE add the directory containing FILE to the library path This mode sets the library path environment variable according to '-dlopen' flags. If any of the ARGS are libtool executable wrappers, then they are translated into their corresponding uninstalled binary, and any of their required library directories are added to the library path. Then, COMMAND is executed, with ARGS as arguments." ;; finish) $ECHO \ "Usage: $progname [OPTION]... --mode=finish [LIBDIR]... Complete the installation of libtool libraries. Each LIBDIR is a directory that contains libtool libraries. The commands that this mode executes may require superuser privileges. Use the '--dry-run' option if you just want to see what would be executed." ;; install) $ECHO \ "Usage: $progname [OPTION]... --mode=install INSTALL-COMMAND... Install executables or libraries. INSTALL-COMMAND is the installation command. The first component should be either the 'install' or 'cp' program. The following components of INSTALL-COMMAND are treated specially: -inst-prefix-dir PREFIX-DIR Use PREFIX-DIR as a staging area for installation The rest of the components are interpreted as arguments to that command (only BSD-compatible install options are recognized)." ;; link) $ECHO \ "Usage: $progname [OPTION]... --mode=link LINK-COMMAND... Link object files or libraries together to form another library, or to create an executable program. LINK-COMMAND is a command using the C compiler that you would use to create a program from several object files. The following components of LINK-COMMAND are treated specially: -all-static do not do any dynamic linking at all -avoid-version do not add a version suffix if possible -bindir BINDIR specify path to binaries directory (for systems where libraries must be found in the PATH setting at runtime) -dlopen FILE '-dlpreopen' FILE if it cannot be dlopened at runtime -dlpreopen FILE link in FILE and add its symbols to lt_preloaded_symbols -export-dynamic allow symbols from OUTPUT-FILE to be resolved with dlsym(3) -export-symbols SYMFILE try to export only the symbols listed in SYMFILE -export-symbols-regex REGEX try to export only the symbols matching REGEX -LLIBDIR search LIBDIR for required installed libraries -lNAME OUTPUT-FILE requires the installed library libNAME -module build a library that can dlopened -no-fast-install disable the fast-install mode -no-install link a not-installable executable -no-undefined declare that a library does not refer to external symbols -o OUTPUT-FILE create OUTPUT-FILE from the specified objects -objectlist FILE use a list of object files found in FILE to specify objects -os2dllname NAME force a short DLL name on OS/2 (no effect on other OSes) -precious-files-regex REGEX don't remove output files matching REGEX -release RELEASE specify package release information -rpath LIBDIR the created library will eventually be installed in LIBDIR -R[ ]LIBDIR add LIBDIR to the runtime path of programs and libraries -shared only do dynamic linking of libtool libraries -shrext SUFFIX override the standard shared library file extension -static do not do any dynamic linking of uninstalled libtool libraries -static-libtool-libs do not do any dynamic linking of libtool libraries -version-info CURRENT[:REVISION[:AGE]] specify library version info [each variable defaults to 0] -weak LIBNAME declare that the target provides the LIBNAME interface -Wc,FLAG -Xcompiler FLAG pass linker-specific FLAG directly to the compiler -Wl,FLAG -Xlinker FLAG pass linker-specific FLAG directly to the linker -XCClinker FLAG pass link-specific FLAG to the compiler driver (CC) All other options (arguments beginning with '-') are ignored. Every other argument is treated as a filename. Files ending in '.la' are treated as uninstalled libtool libraries, other files are standard or library object files. If the OUTPUT-FILE ends in '.la', then a libtool library is created, only library objects ('.lo' files) may be specified, and '-rpath' is required, except when creating a convenience library. If OUTPUT-FILE ends in '.a' or '.lib', then a standard library is created using 'ar' and 'ranlib', or on Windows using 'lib'. If OUTPUT-FILE ends in '.lo' or '.$objext', then a reloadable object file is created, otherwise an executable program is created." ;; uninstall) $ECHO \ "Usage: $progname [OPTION]... --mode=uninstall RM [RM-OPTION]... FILE... Remove libraries from an installation directory. RM is the name of the program to use to delete files associated with each FILE (typically '/bin/rm'). RM-OPTIONS are options (such as '-f') to be passed to RM. If FILE is a libtool library, all the files associated with it are deleted. Otherwise, only FILE itself is deleted using RM." ;; *) func_fatal_help "invalid operation mode '$opt_mode'" ;; esac echo $ECHO "Try '$progname --help' for more information about other modes." } # Now that we've collected a possible --mode arg, show help if necessary if $opt_help; then if test : = "$opt_help"; then func_mode_help else { func_help noexit for opt_mode in compile link execute install finish uninstall clean; do func_mode_help done } | $SED -n '1p; 2,$s/^Usage:/ or: /p' { func_help noexit for opt_mode in compile link execute install finish uninstall clean; do echo func_mode_help done } | $SED '1d /^When reporting/,/^Report/{ H d } $x /information about other modes/d /more detailed .*MODE/d s/^Usage:.*--mode=\([^ ]*\) .*/Description of \1 mode:/' fi exit $? fi # func_mode_execute arg... func_mode_execute () { $debug_cmd # The first argument is the command name. cmd=$nonopt test -z "$cmd" && \ func_fatal_help "you must specify a COMMAND" # Handle -dlopen flags immediately. for file in $opt_dlopen; do test -f "$file" \ || func_fatal_help "'$file' is not a file" dir= case $file in *.la) func_resolve_sysroot "$file" file=$func_resolve_sysroot_result # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "'$lib' is not a valid libtool archive" # Read the libtool library. dlname= library_names= func_source "$file" # Skip this library if it cannot be dlopened. if test -z "$dlname"; then # Warn if it was a shared library. test -n "$library_names" && \ func_warning "'$file' was not linked with '-export-dynamic'" continue fi func_dirname "$file" "" "." dir=$func_dirname_result if test -f "$dir/$objdir/$dlname"; then func_append dir "/$objdir" else if test ! -f "$dir/$dlname"; then func_fatal_error "cannot find '$dlname' in '$dir' or '$dir/$objdir'" fi fi ;; *.lo) # Just add the directory containing the .lo file. func_dirname "$file" "" "." dir=$func_dirname_result ;; *) func_warning "'-dlopen' is ignored for non-libtool libraries and objects" continue ;; esac # Get the absolute pathname. absdir=`cd "$dir" && pwd` test -n "$absdir" && dir=$absdir # Now add the directory to shlibpath_var. if eval "test -z \"\$$shlibpath_var\""; then eval "$shlibpath_var=\"\$dir\"" else eval "$shlibpath_var=\"\$dir:\$$shlibpath_var\"" fi done # This variable tells wrapper scripts just to set shlibpath_var # rather than running their programs. libtool_execute_magic=$magic # Check if any of the arguments is a wrapper script. args= for file do case $file in -* | *.la | *.lo ) ;; *) # Do a test to see if this is really a libtool program. if func_ltwrapper_script_p "$file"; then func_source "$file" # Transform arg to wrapped name. file=$progdir/$program elif func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" func_source "$func_ltwrapper_scriptname_result" # Transform arg to wrapped name. file=$progdir/$program fi ;; esac # Quote arguments (to preserve shell metacharacters). func_append_quoted args "$file" done if $opt_dry_run; then # Display what would be done. if test -n "$shlibpath_var"; then eval "\$ECHO \"\$shlibpath_var=\$$shlibpath_var\"" echo "export $shlibpath_var" fi $ECHO "$cmd$args" exit $EXIT_SUCCESS else if test -n "$shlibpath_var"; then # Export the shlibpath_var. eval "export $shlibpath_var" fi # Restore saved environment variables for lt_var in LANG LANGUAGE LC_ALL LC_CTYPE LC_COLLATE LC_MESSAGES do eval "if test \"\${save_$lt_var+set}\" = set; then $lt_var=\$save_$lt_var; export $lt_var else $lt_unset $lt_var fi" done # Now prepare to actually exec the command. exec_cmd=\$cmd$args fi } test execute = "$opt_mode" && func_mode_execute ${1+"$@"} # func_mode_finish arg... func_mode_finish () { $debug_cmd libs= libdirs= admincmds= for opt in "$nonopt" ${1+"$@"} do if test -d "$opt"; then func_append libdirs " $opt" elif test -f "$opt"; then if func_lalib_unsafe_p "$opt"; then func_append libs " $opt" else func_warning "'$opt' is not a valid libtool archive" fi else func_fatal_error "invalid argument '$opt'" fi done if test -n "$libs"; then if test -n "$lt_sysroot"; then sysroot_regex=`$ECHO "$lt_sysroot" | $SED "$sed_make_literal_regex"` sysroot_cmd="s/\([ ']\)$sysroot_regex/\1/g;" else sysroot_cmd= fi # Remove sysroot references if $opt_dry_run; then for lib in $libs; do echo "removing references to $lt_sysroot and '=' prefixes from $lib" done else tmpdir=`func_mktempdir` for lib in $libs; do $SED -e "$sysroot_cmd s/\([ ']-[LR]\)=/\1/g; s/\([ ']\)=/\1/g" $lib \ > $tmpdir/tmp-la mv -f $tmpdir/tmp-la $lib done ${RM}r "$tmpdir" fi fi if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then for libdir in $libdirs; do if test -n "$finish_cmds"; then # Do each command in the finish commands. func_execute_cmds "$finish_cmds" 'admincmds="$admincmds '"$cmd"'"' fi if test -n "$finish_eval"; then # Do the single finish_eval. eval cmds=\"$finish_eval\" $opt_dry_run || eval "$cmds" || func_append admincmds " $cmds" fi done fi # Exit here if they wanted silent mode. $opt_quiet && exit $EXIT_SUCCESS if test -n "$finish_cmds$finish_eval" && test -n "$libdirs"; then echo "----------------------------------------------------------------------" echo "Libraries have been installed in:" for libdir in $libdirs; do $ECHO " $libdir" done echo echo "If you ever happen to want to link against installed libraries" echo "in a given directory, LIBDIR, you must either use libtool, and" echo "specify the full pathname of the library, or use the '-LLIBDIR'" echo "flag during linking and do at least one of the following:" if test -n "$shlibpath_var"; then echo " - add LIBDIR to the '$shlibpath_var' environment variable" echo " during execution" fi if test -n "$runpath_var"; then echo " - add LIBDIR to the '$runpath_var' environment variable" echo " during linking" fi if test -n "$hardcode_libdir_flag_spec"; then libdir=LIBDIR eval flag=\"$hardcode_libdir_flag_spec\" $ECHO " - use the '$flag' linker flag" fi if test -n "$admincmds"; then $ECHO " - have your system administrator run these commands:$admincmds" fi if test -f /etc/ld.so.conf; then echo " - have your system administrator add LIBDIR to '/etc/ld.so.conf'" fi echo echo "See any operating system documentation about shared libraries for" case $host in solaris2.[6789]|solaris2.1[0-9]) echo "more information, such as the ld(1), crle(1) and ld.so(8) manual" echo "pages." ;; *) echo "more information, such as the ld(1) and ld.so(8) manual pages." ;; esac echo "----------------------------------------------------------------------" fi exit $EXIT_SUCCESS } test finish = "$opt_mode" && func_mode_finish ${1+"$@"} # func_mode_install arg... func_mode_install () { $debug_cmd # There may be an optional sh(1) argument at the beginning of # install_prog (especially on Windows NT). if test "$SHELL" = "$nonopt" || test /bin/sh = "$nonopt" || # Allow the use of GNU shtool's install command. case $nonopt in *shtool*) :;; *) false;; esac then # Aesthetically quote it. func_quote_for_eval "$nonopt" install_prog="$func_quote_for_eval_result " arg=$1 shift else install_prog= arg=$nonopt fi # The real first argument should be the name of the installation program. # Aesthetically quote it. func_quote_for_eval "$arg" func_append install_prog "$func_quote_for_eval_result" install_shared_prog=$install_prog case " $install_prog " in *[\\\ /]cp\ *) install_cp=: ;; *) install_cp=false ;; esac # We need to accept at least all the BSD install flags. dest= files= opts= prev= install_type= isdir=false stripme= no_mode=: for arg do arg2= if test -n "$dest"; then func_append files " $dest" dest=$arg continue fi case $arg in -d) isdir=: ;; -f) if $install_cp; then :; else prev=$arg fi ;; -g | -m | -o) prev=$arg ;; -s) stripme=" -s" continue ;; -*) ;; *) # If the previous option needed an argument, then skip it. if test -n "$prev"; then if test X-m = "X$prev" && test -n "$install_override_mode"; then arg2=$install_override_mode no_mode=false fi prev= else dest=$arg continue fi ;; esac # Aesthetically quote the argument. func_quote_for_eval "$arg" func_append install_prog " $func_quote_for_eval_result" if test -n "$arg2"; then func_quote_for_eval "$arg2" fi func_append install_shared_prog " $func_quote_for_eval_result" done test -z "$install_prog" && \ func_fatal_help "you must specify an install program" test -n "$prev" && \ func_fatal_help "the '$prev' option requires an argument" if test -n "$install_override_mode" && $no_mode; then if $install_cp; then :; else func_quote_for_eval "$install_override_mode" func_append install_shared_prog " -m $func_quote_for_eval_result" fi fi if test -z "$files"; then if test -z "$dest"; then func_fatal_help "no file or destination specified" else func_fatal_help "you must specify a destination" fi fi # Strip any trailing slash from the destination. func_stripname '' '/' "$dest" dest=$func_stripname_result # Check to see that the destination is a directory. test -d "$dest" && isdir=: if $isdir; then destdir=$dest destname= else func_dirname_and_basename "$dest" "" "." destdir=$func_dirname_result destname=$func_basename_result # Not a directory, so check to see that there is only one file specified. set dummy $files; shift test "$#" -gt 1 && \ func_fatal_help "'$dest' is not a directory" fi case $destdir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) for file in $files; do case $file in *.lo) ;; *) func_fatal_help "'$destdir' must be an absolute directory name" ;; esac done ;; esac # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic=$magic staticlibs= future_libdirs= current_libdirs= for file in $files; do # Do each installation. case $file in *.$libext) # Do the static libraries later. func_append staticlibs " $file" ;; *.la) func_resolve_sysroot "$file" file=$func_resolve_sysroot_result # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$file" \ || func_fatal_help "'$file' is not a valid libtool archive" library_names= old_library= relink_command= func_source "$file" # Add the libdir to current_libdirs if it is the destination. if test "X$destdir" = "X$libdir"; then case "$current_libdirs " in *" $libdir "*) ;; *) func_append current_libdirs " $libdir" ;; esac else # Note the libdir as a future libdir. case "$future_libdirs " in *" $libdir "*) ;; *) func_append future_libdirs " $libdir" ;; esac fi func_dirname "$file" "/" "" dir=$func_dirname_result func_append dir "$objdir" if test -n "$relink_command"; then # Determine the prefix the user has applied to our future dir. inst_prefix_dir=`$ECHO "$destdir" | $SED -e "s%$libdir\$%%"` # Don't allow the user to place us outside of our expected # location b/c this prevents finding dependent libraries that # are installed to the same prefix. # At present, this check doesn't affect windows .dll's that # are installed into $libdir/../bin (currently, that works fine) # but it's something to keep an eye on. test "$inst_prefix_dir" = "$destdir" && \ func_fatal_error "error: cannot install '$file' to a directory not ending in $libdir" if test -n "$inst_prefix_dir"; then # Stick the inst_prefix_dir data into the link command. relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%-inst-prefix-dir $inst_prefix_dir%"` else relink_command=`$ECHO "$relink_command" | $SED "s%@inst_prefix_dir@%%"` fi func_warning "relinking '$file'" func_show_eval "$relink_command" \ 'func_fatal_error "error: relink '\''$file'\'' with the above command before installing it"' fi # See the names of the shared library. set dummy $library_names; shift if test -n "$1"; then realname=$1 shift srcname=$realname test -n "$relink_command" && srcname=${realname}T # Install the shared library and build the symlinks. func_show_eval "$install_shared_prog $dir/$srcname $destdir/$realname" \ 'exit $?' tstripme=$stripme case $host_os in cygwin* | mingw* | pw32* | cegcc*) case $realname in *.dll.a) tstripme= ;; esac ;; os2*) case $realname in *_dll.a) tstripme= ;; esac ;; esac if test -n "$tstripme" && test -n "$striplib"; then func_show_eval "$striplib $destdir/$realname" 'exit $?' fi if test "$#" -gt 0; then # Delete the old symlinks, and create new ones. # Try 'ln -sf' first, because the 'ln' binary might depend on # the symlink we replace! Solaris /bin/ln does not understand -f, # so we also need to try rm && ln -s. for linkname do test "$linkname" != "$realname" \ && func_show_eval "(cd $destdir && { $LN_S -f $realname $linkname || { $RM $linkname && $LN_S $realname $linkname; }; })" done fi # Do each command in the postinstall commands. lib=$destdir/$realname func_execute_cmds "$postinstall_cmds" 'exit $?' fi # Install the pseudo-library for information purposes. func_basename "$file" name=$func_basename_result instname=$dir/${name}i func_show_eval "$install_prog $instname $destdir/$name" 'exit $?' # Maybe install the static library, too. test -n "$old_library" && func_append staticlibs " $dir/$old_library" ;; *.lo) # Install (i.e. copy) a libtool object. # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile=$destdir/$destname else func_basename "$file" destfile=$func_basename_result destfile=$destdir/$destfile fi # Deduce the name of the destination old-style object file. case $destfile in *.lo) func_lo2o "$destfile" staticdest=$func_lo2o_result ;; *.$objext) staticdest=$destfile destfile= ;; *) func_fatal_help "cannot copy a libtool object to '$destfile'" ;; esac # Install the libtool object if requested. test -n "$destfile" && \ func_show_eval "$install_prog $file $destfile" 'exit $?' # Install the old object if enabled. if test yes = "$build_old_libs"; then # Deduce the name of the old-style object file. func_lo2o "$file" staticobj=$func_lo2o_result func_show_eval "$install_prog \$staticobj \$staticdest" 'exit $?' fi exit $EXIT_SUCCESS ;; *) # Figure out destination file name, if it wasn't already specified. if test -n "$destname"; then destfile=$destdir/$destname else func_basename "$file" destfile=$func_basename_result destfile=$destdir/$destfile fi # If the file is missing, and there is a .exe on the end, strip it # because it is most likely a libtool script we actually want to # install stripped_ext= case $file in *.exe) if test ! -f "$file"; then func_stripname '' '.exe' "$file" file=$func_stripname_result stripped_ext=.exe fi ;; esac # Do a test to see if this is really a libtool program. case $host in *cygwin* | *mingw*) if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" wrapper=$func_ltwrapper_scriptname_result else func_stripname '' '.exe' "$file" wrapper=$func_stripname_result fi ;; *) wrapper=$file ;; esac if func_ltwrapper_script_p "$wrapper"; then notinst_deplibs= relink_command= func_source "$wrapper" # Check the variables that should have been set. test -z "$generated_by_libtool_version" && \ func_fatal_error "invalid libtool wrapper script '$wrapper'" finalize=: for lib in $notinst_deplibs; do # Check to see that each library is installed. libdir= if test -f "$lib"; then func_source "$lib" fi libfile=$libdir/`$ECHO "$lib" | $SED 's%^.*/%%g'` if test -n "$libdir" && test ! -f "$libfile"; then func_warning "'$lib' has not been installed in '$libdir'" finalize=false fi done relink_command= func_source "$wrapper" outputname= if test no = "$fast_install" && test -n "$relink_command"; then $opt_dry_run || { if $finalize; then tmpdir=`func_mktempdir` func_basename "$file$stripped_ext" file=$func_basename_result outputname=$tmpdir/$file # Replace the output file specification. relink_command=`$ECHO "$relink_command" | $SED 's%@OUTPUT@%'"$outputname"'%g'` $opt_quiet || { func_quote_for_expand "$relink_command" eval "func_echo $func_quote_for_expand_result" } if eval "$relink_command"; then : else func_error "error: relink '$file' with the above command before installing it" $opt_dry_run || ${RM}r "$tmpdir" continue fi file=$outputname else func_warning "cannot relink '$file'" fi } else # Install the binary that we compiled earlier. file=`$ECHO "$file$stripped_ext" | $SED "s%\([^/]*\)$%$objdir/\1%"` fi fi # remove .exe since cygwin /usr/bin/install will append another # one anyway case $install_prog,$host in */usr/bin/install*,*cygwin*) case $file:$destfile in *.exe:*.exe) # this is ok ;; *.exe:*) destfile=$destfile.exe ;; *:*.exe) func_stripname '' '.exe' "$destfile" destfile=$func_stripname_result ;; esac ;; esac func_show_eval "$install_prog\$stripme \$file \$destfile" 'exit $?' $opt_dry_run || if test -n "$outputname"; then ${RM}r "$tmpdir" fi ;; esac done for file in $staticlibs; do func_basename "$file" name=$func_basename_result # Set up the ranlib parameters. oldlib=$destdir/$name func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 tool_oldlib=$func_to_tool_file_result func_show_eval "$install_prog \$file \$oldlib" 'exit $?' if test -n "$stripme" && test -n "$old_striplib"; then func_show_eval "$old_striplib $tool_oldlib" 'exit $?' fi # Do each command in the postinstall commands. func_execute_cmds "$old_postinstall_cmds" 'exit $?' done test -n "$future_libdirs" && \ func_warning "remember to run '$progname --finish$future_libdirs'" if test -n "$current_libdirs"; then # Maybe just do a dry run. $opt_dry_run && current_libdirs=" -n$current_libdirs" exec_cmd='$SHELL "$progpath" $preserve_args --finish$current_libdirs' else exit $EXIT_SUCCESS fi } test install = "$opt_mode" && func_mode_install ${1+"$@"} # func_generate_dlsyms outputname originator pic_p # Extract symbols from dlprefiles and create ${outputname}S.o with # a dlpreopen symbol table. func_generate_dlsyms () { $debug_cmd my_outputname=$1 my_originator=$2 my_pic_p=${3-false} my_prefix=`$ECHO "$my_originator" | $SED 's%[^a-zA-Z0-9]%_%g'` my_dlsyms= if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then if test -n "$NM" && test -n "$global_symbol_pipe"; then my_dlsyms=${my_outputname}S.c else func_error "not configured to extract global symbols from dlpreopened files" fi fi if test -n "$my_dlsyms"; then case $my_dlsyms in "") ;; *.c) # Discover the nlist of each of the dlfiles. nlist=$output_objdir/$my_outputname.nm func_show_eval "$RM $nlist ${nlist}S ${nlist}T" # Parse the name list into a source file. func_verbose "creating $output_objdir/$my_dlsyms" $opt_dry_run || $ECHO > "$output_objdir/$my_dlsyms" "\ /* $my_dlsyms - symbol resolution table for '$my_outputname' dlsym emulation. */ /* Generated by $PROGRAM (GNU $PACKAGE) $VERSION */ #ifdef __cplusplus extern \"C\" { #endif #if defined __GNUC__ && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4)) #pragma GCC diagnostic ignored \"-Wstrict-prototypes\" #endif /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE /* DATA imports from DLLs on WIN32 can't be const, because runtime relocations are performed -- see ld's documentation on pseudo-relocs. */ # define LT_DLSYM_CONST #elif defined __osf__ /* This system does not cope well with relocations in const data. */ # define LT_DLSYM_CONST #else # define LT_DLSYM_CONST const #endif #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) /* External symbol declarations for the compiler. */\ " if test yes = "$dlself"; then func_verbose "generating symbol list for '$output'" $opt_dry_run || echo ': @PROGRAM@ ' > "$nlist" # Add our own program objects to the symbol list. progfiles=`$ECHO "$objs$old_deplibs" | $SP2NL | $SED "$lo2o" | $NL2SP` for progfile in $progfiles; do func_to_tool_file "$progfile" func_convert_file_msys_to_w32 func_verbose "extracting global C symbols from '$func_to_tool_file_result'" $opt_dry_run || eval "$NM $func_to_tool_file_result | $global_symbol_pipe >> '$nlist'" done if test -n "$exclude_expsyms"; then $opt_dry_run || { eval '$EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi if test -n "$export_symbols_regex"; then $opt_dry_run || { eval '$EGREP -e "$export_symbols_regex" "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' } fi # Prepare the list of exported symbols if test -z "$export_symbols"; then export_symbols=$output_objdir/$outputname.exp $opt_dry_run || { $RM $export_symbols eval "$SED -n -e '/^: @PROGRAM@ $/d' -e 's/^.* \(.*\)$/\1/p' "'< "$nlist" > "$export_symbols"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$export_symbols" >> "$output_objdir/$outputname.def"' ;; esac } else $opt_dry_run || { eval "$SED -e 's/\([].[*^$]\)/\\\\\1/g' -e 's/^/ /' -e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"' eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist" > "$nlist"T' eval '$MV "$nlist"T "$nlist"' case $host in *cygwin* | *mingw* | *cegcc* ) eval "echo EXPORTS "'> "$output_objdir/$outputname.def"' eval 'cat "$nlist" >> "$output_objdir/$outputname.def"' ;; esac } fi fi for dlprefile in $dlprefiles; do func_verbose "extracting global C symbols from '$dlprefile'" func_basename "$dlprefile" name=$func_basename_result case $host in *cygwin* | *mingw* | *cegcc* ) # if an import library, we need to obtain dlname if func_win32_import_lib_p "$dlprefile"; then func_tr_sh "$dlprefile" eval "curr_lafile=\$libfile_$func_tr_sh_result" dlprefile_dlbasename= if test -n "$curr_lafile" && func_lalib_p "$curr_lafile"; then # Use subshell, to avoid clobbering current variable values dlprefile_dlname=`source "$curr_lafile" && echo "$dlname"` if test -n "$dlprefile_dlname"; then func_basename "$dlprefile_dlname" dlprefile_dlbasename=$func_basename_result else # no lafile. user explicitly requested -dlpreopen . $sharedlib_from_linklib_cmd "$dlprefile" dlprefile_dlbasename=$sharedlib_from_linklib_result fi fi $opt_dry_run || { if test -n "$dlprefile_dlbasename"; then eval '$ECHO ": $dlprefile_dlbasename" >> "$nlist"' else func_warning "Could not compute DLL name from $name" eval '$ECHO ": $name " >> "$nlist"' fi func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe | $SED -e '/I __imp/d' -e 's/I __nm_/D /;s/_nm__//' >> '$nlist'" } else # not an import lib $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" } fi ;; *) $opt_dry_run || { eval '$ECHO ": $name " >> "$nlist"' func_to_tool_file "$dlprefile" func_convert_file_msys_to_w32 eval "$NM \"$func_to_tool_file_result\" 2>/dev/null | $global_symbol_pipe >> '$nlist'" } ;; esac done $opt_dry_run || { # Make sure we have at least an empty file. test -f "$nlist" || : > "$nlist" if test -n "$exclude_expsyms"; then $EGREP -v " ($exclude_expsyms)$" "$nlist" > "$nlist"T $MV "$nlist"T "$nlist" fi # Try sorting and uniquifying the output. if $GREP -v "^: " < "$nlist" | if sort -k 3 /dev/null 2>&1; then sort -k 3 else sort +2 fi | uniq > "$nlist"S; then : else $GREP -v "^: " < "$nlist" > "$nlist"S fi if test -f "$nlist"S; then eval "$global_symbol_to_cdecl"' < "$nlist"S >> "$output_objdir/$my_dlsyms"' else echo '/* NONE */' >> "$output_objdir/$my_dlsyms" fi func_show_eval '$RM "${nlist}I"' if test -n "$global_symbol_to_import"; then eval "$global_symbol_to_import"' < "$nlist"S > "$nlist"I' fi echo >> "$output_objdir/$my_dlsyms" "\ /* The mapping between symbol names and symbols. */ typedef struct { const char *name; void *address; } lt_dlsymlist; extern LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[];\ " if test -s "$nlist"I; then echo >> "$output_objdir/$my_dlsyms" "\ static void lt_syminit(void) { LT_DLSYM_CONST lt_dlsymlist *symbol = lt_${my_prefix}_LTX_preloaded_symbols; for (; symbol->name; ++symbol) {" $SED 's/.*/ if (STREQ (symbol->name, \"&\")) symbol->address = (void *) \&&;/' < "$nlist"I >> "$output_objdir/$my_dlsyms" echo >> "$output_objdir/$my_dlsyms" "\ } }" fi echo >> "$output_objdir/$my_dlsyms" "\ LT_DLSYM_CONST lt_dlsymlist lt_${my_prefix}_LTX_preloaded_symbols[] = { {\"$my_originator\", (void *) 0}," if test -s "$nlist"I; then echo >> "$output_objdir/$my_dlsyms" "\ {\"@INIT@\", (void *) <_syminit}," fi case $need_lib_prefix in no) eval "$global_symbol_to_c_name_address" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; *) eval "$global_symbol_to_c_name_address_lib_prefix" < "$nlist" >> "$output_objdir/$my_dlsyms" ;; esac echo >> "$output_objdir/$my_dlsyms" "\ {0, (void *) 0} }; /* This works around a problem in FreeBSD linker */ #ifdef FREEBSD_WORKAROUND static const void *lt_preloaded_setup() { return lt_${my_prefix}_LTX_preloaded_symbols; } #endif #ifdef __cplusplus } #endif\ " } # !$opt_dry_run pic_flag_for_symtable= case "$compile_command " in *" -static "*) ;; *) case $host in # compiling the symbol table file with pic_flag works around # a FreeBSD bug that causes programs to crash when -lm is # linked before any other PIC object. But we must not use # pic_flag when linking with -static. The problem exists in # FreeBSD 2.2.6 and is fixed in FreeBSD 3.1. *-*-freebsd2.*|*-*-freebsd3.0*|*-*-freebsdelf3.0*) pic_flag_for_symtable=" $pic_flag -DFREEBSD_WORKAROUND" ;; *-*-hpux*) pic_flag_for_symtable=" $pic_flag" ;; *) $my_pic_p && pic_flag_for_symtable=" $pic_flag" ;; esac ;; esac symtab_cflags= for arg in $LTCFLAGS; do case $arg in -pie | -fpie | -fPIE) ;; *) func_append symtab_cflags " $arg" ;; esac done # Now compile the dynamic symbol file. func_show_eval '(cd $output_objdir && $LTCC$symtab_cflags -c$no_builtin_flag$pic_flag_for_symtable "$my_dlsyms")' 'exit $?' # Clean up the generated files. func_show_eval '$RM "$output_objdir/$my_dlsyms" "$nlist" "${nlist}S" "${nlist}T" "${nlist}I"' # Transform the symbol file into the correct name. symfileobj=$output_objdir/${my_outputname}S.$objext case $host in *cygwin* | *mingw* | *cegcc* ) if test -f "$output_objdir/$my_outputname.def"; then compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$output_objdir/$my_outputname.def $symfileobj%"` else compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` fi ;; *) compile_command=`$ECHO "$compile_command" | $SED "s%@SYMFILE@%$symfileobj%"` finalize_command=`$ECHO "$finalize_command" | $SED "s%@SYMFILE@%$symfileobj%"` ;; esac ;; *) func_fatal_error "unknown suffix for '$my_dlsyms'" ;; esac else # We keep going just in case the user didn't refer to # lt_preloaded_symbols. The linker will fail if global_symbol_pipe # really was required. # Nullify the symbol file. compile_command=`$ECHO "$compile_command" | $SED "s% @SYMFILE@%%"` finalize_command=`$ECHO "$finalize_command" | $SED "s% @SYMFILE@%%"` fi } # func_cygming_gnu_implib_p ARG # This predicate returns with zero status (TRUE) if # ARG is a GNU/binutils-style import library. Returns # with nonzero status (FALSE) otherwise. func_cygming_gnu_implib_p () { $debug_cmd func_to_tool_file "$1" func_convert_file_msys_to_w32 func_cygming_gnu_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $EGREP ' (_head_[A-Za-z0-9_]+_[ad]l*|[A-Za-z0-9_]+_[ad]l*_iname)$'` test -n "$func_cygming_gnu_implib_tmp" } # func_cygming_ms_implib_p ARG # This predicate returns with zero status (TRUE) if # ARG is an MS-style import library. Returns # with nonzero status (FALSE) otherwise. func_cygming_ms_implib_p () { $debug_cmd func_to_tool_file "$1" func_convert_file_msys_to_w32 func_cygming_ms_implib_tmp=`$NM "$func_to_tool_file_result" | eval "$global_symbol_pipe" | $GREP '_NULL_IMPORT_DESCRIPTOR'` test -n "$func_cygming_ms_implib_tmp" } # func_win32_libid arg # return the library type of file 'arg' # # Need a lot of goo to handle *both* DLLs and import libs # Has to be a shell function in order to 'eat' the argument # that is supplied when $file_magic_command is called. # Despite the name, also deal with 64 bit binaries. func_win32_libid () { $debug_cmd win32_libid_type=unknown win32_fileres=`file -L $1 2>/dev/null` case $win32_fileres in *ar\ archive\ import\ library*) # definitely import win32_libid_type="x86 archive import" ;; *ar\ archive*) # could be an import, or static # Keep the egrep pattern in sync with the one in _LT_CHECK_MAGIC_METHOD. if eval $OBJDUMP -f $1 | $SED -e '10q' 2>/dev/null | $EGREP 'file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' >/dev/null; then case $nm_interface in "MS dumpbin") if func_cygming_ms_implib_p "$1" || func_cygming_gnu_implib_p "$1" then win32_nmres=import else win32_nmres= fi ;; *) func_to_tool_file "$1" func_convert_file_msys_to_w32 win32_nmres=`eval $NM -f posix -A \"$func_to_tool_file_result\" | $SED -n -e ' 1,100{ / I /{ s|.*|import| p q } }'` ;; esac case $win32_nmres in import*) win32_libid_type="x86 archive import";; *) win32_libid_type="x86 archive static";; esac fi ;; *DLL*) win32_libid_type="x86 DLL" ;; *executable*) # but shell scripts are "executable" too... case $win32_fileres in *MS\ Windows\ PE\ Intel*) win32_libid_type="x86 DLL" ;; esac ;; esac $ECHO "$win32_libid_type" } # func_cygming_dll_for_implib ARG # # Platform-specific function to extract the # name of the DLL associated with the specified # import library ARG. # Invoked by eval'ing the libtool variable # $sharedlib_from_linklib_cmd # Result is available in the variable # $sharedlib_from_linklib_result func_cygming_dll_for_implib () { $debug_cmd sharedlib_from_linklib_result=`$DLLTOOL --identify-strict --identify "$1"` } # func_cygming_dll_for_implib_fallback_core SECTION_NAME LIBNAMEs # # The is the core of a fallback implementation of a # platform-specific function to extract the name of the # DLL associated with the specified import library LIBNAME. # # SECTION_NAME is either .idata$6 or .idata$7, depending # on the platform and compiler that created the implib. # # Echos the name of the DLL associated with the # specified import library. func_cygming_dll_for_implib_fallback_core () { $debug_cmd match_literal=`$ECHO "$1" | $SED "$sed_make_literal_regex"` $OBJDUMP -s --section "$1" "$2" 2>/dev/null | $SED '/^Contents of section '"$match_literal"':/{ # Place marker at beginning of archive member dllname section s/.*/====MARK====/ p d } # These lines can sometimes be longer than 43 characters, but # are always uninteresting /:[ ]*file format pe[i]\{,1\}-/d /^In archive [^:]*:/d # Ensure marker is printed /^====MARK====/p # Remove all lines with less than 43 characters /^.\{43\}/!d # From remaining lines, remove first 43 characters s/^.\{43\}//' | $SED -n ' # Join marker and all lines until next marker into a single line /^====MARK====/ b para H $ b para b :para x s/\n//g # Remove the marker s/^====MARK====// # Remove trailing dots and whitespace s/[\. \t]*$// # Print /./p' | # we now have a list, one entry per line, of the stringified # contents of the appropriate section of all members of the # archive that possess that section. Heuristic: eliminate # all those that have a first or second character that is # a '.' (that is, objdump's representation of an unprintable # character.) This should work for all archives with less than # 0x302f exports -- but will fail for DLLs whose name actually # begins with a literal '.' or a single character followed by # a '.'. # # Of those that remain, print the first one. $SED -e '/^\./d;/^.\./d;q' } # func_cygming_dll_for_implib_fallback ARG # Platform-specific function to extract the # name of the DLL associated with the specified # import library ARG. # # This fallback implementation is for use when $DLLTOOL # does not support the --identify-strict option. # Invoked by eval'ing the libtool variable # $sharedlib_from_linklib_cmd # Result is available in the variable # $sharedlib_from_linklib_result func_cygming_dll_for_implib_fallback () { $debug_cmd if func_cygming_gnu_implib_p "$1"; then # binutils import library sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$7' "$1"` elif func_cygming_ms_implib_p "$1"; then # ms-generated import library sharedlib_from_linklib_result=`func_cygming_dll_for_implib_fallback_core '.idata$6' "$1"` else # unknown sharedlib_from_linklib_result= fi } # func_extract_an_archive dir oldlib func_extract_an_archive () { $debug_cmd f_ex_an_ar_dir=$1; shift f_ex_an_ar_oldlib=$1 if test yes = "$lock_old_archive_extraction"; then lockfile=$f_ex_an_ar_oldlib.lock until $opt_dry_run || ln "$progpath" "$lockfile" 2>/dev/null; do func_echo "Waiting for $lockfile to be removed" sleep 2 done fi func_show_eval "(cd \$f_ex_an_ar_dir && $AR x \"\$f_ex_an_ar_oldlib\")" \ 'stat=$?; rm -f "$lockfile"; exit $stat' if test yes = "$lock_old_archive_extraction"; then $opt_dry_run || rm -f "$lockfile" fi if ($AR t "$f_ex_an_ar_oldlib" | sort | sort -uc >/dev/null 2>&1); then : else func_fatal_error "object name conflicts in archive: $f_ex_an_ar_dir/$f_ex_an_ar_oldlib" fi } # func_extract_archives gentop oldlib ... func_extract_archives () { $debug_cmd my_gentop=$1; shift my_oldlibs=${1+"$@"} my_oldobjs= my_xlib= my_xabs= my_xdir= for my_xlib in $my_oldlibs; do # Extract the objects. case $my_xlib in [\\/]* | [A-Za-z]:[\\/]*) my_xabs=$my_xlib ;; *) my_xabs=`pwd`"/$my_xlib" ;; esac func_basename "$my_xlib" my_xlib=$func_basename_result my_xlib_u=$my_xlib while :; do case " $extracted_archives " in *" $my_xlib_u "*) func_arith $extracted_serial + 1 extracted_serial=$func_arith_result my_xlib_u=lt$extracted_serial-$my_xlib ;; *) break ;; esac done extracted_archives="$extracted_archives $my_xlib_u" my_xdir=$my_gentop/$my_xlib_u func_mkdir_p "$my_xdir" case $host in *-darwin*) func_verbose "Extracting $my_xabs" # Do not bother doing anything if just a dry run $opt_dry_run || { darwin_orig_dir=`pwd` cd $my_xdir || exit $? darwin_archive=$my_xabs darwin_curdir=`pwd` func_basename "$darwin_archive" darwin_base_archive=$func_basename_result darwin_arches=`$LIPO -info "$darwin_archive" 2>/dev/null | $GREP Architectures 2>/dev/null || true` if test -n "$darwin_arches"; then darwin_arches=`$ECHO "$darwin_arches" | $SED -e 's/.*are://'` darwin_arch= func_verbose "$darwin_base_archive has multiple architectures $darwin_arches" for darwin_arch in $darwin_arches; do func_mkdir_p "unfat-$$/$darwin_base_archive-$darwin_arch" $LIPO -thin $darwin_arch -output "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" "$darwin_archive" cd "unfat-$$/$darwin_base_archive-$darwin_arch" func_extract_an_archive "`pwd`" "$darwin_base_archive" cd "$darwin_curdir" $RM "unfat-$$/$darwin_base_archive-$darwin_arch/$darwin_base_archive" done # $darwin_arches ## Okay now we've a bunch of thin objects, gotta fatten them up :) darwin_filelist=`find unfat-$$ -type f -name \*.o -print -o -name \*.lo -print | $SED -e "$sed_basename" | sort -u` darwin_file= darwin_files= for darwin_file in $darwin_filelist; do darwin_files=`find unfat-$$ -name $darwin_file -print | sort | $NL2SP` $LIPO -create -output "$darwin_file" $darwin_files done # $darwin_filelist $RM -rf unfat-$$ cd "$darwin_orig_dir" else cd $darwin_orig_dir func_extract_an_archive "$my_xdir" "$my_xabs" fi # $darwin_arches } # !$opt_dry_run ;; *) func_extract_an_archive "$my_xdir" "$my_xabs" ;; esac my_oldobjs="$my_oldobjs "`find $my_xdir -name \*.$objext -print -o -name \*.lo -print | sort | $NL2SP` done func_extract_archives_result=$my_oldobjs } # func_emit_wrapper [arg=no] # # Emit a libtool wrapper script on stdout. # Don't directly open a file because we may want to # incorporate the script contents within a cygwin/mingw # wrapper executable. Must ONLY be called from within # func_mode_link because it depends on a number of variables # set therein. # # ARG is the value that the WRAPPER_SCRIPT_BELONGS_IN_OBJDIR # variable will take. If 'yes', then the emitted script # will assume that the directory where it is stored is # the $objdir directory. This is a cygwin/mingw-specific # behavior. func_emit_wrapper () { func_emit_wrapper_arg1=${1-no} $ECHO "\ #! $SHELL # $output - temporary wrapper script for $objdir/$outputname # Generated by $PROGRAM (GNU $PACKAGE) $VERSION # # The $output program cannot be directly executed until all the libtool # libraries that it depends on are installed. # # This wrapper script should never be moved out of the build directory. # If it is, it will not operate correctly. # Sed substitution that helps us do robust quoting. It backslashifies # metacharacters that are still active within double-quoted strings. sed_quote_subst='$sed_quote_subst' # Be Bourne compatible if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then emulate sh NULLCMD=: # Zsh 3.x and 4.x performs 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 BIN_SH=xpg4; export BIN_SH # for Tru64 DUALCASE=1; export DUALCASE # for MKS sh # 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 relink_command=\"$relink_command\" # This environment variable determines our operation mode. if test \"\$libtool_install_magic\" = \"$magic\"; then # install mode needs the following variables: generated_by_libtool_version='$macro_version' notinst_deplibs='$notinst_deplibs' else # When we are sourced in execute mode, \$file and \$ECHO are already set. if test \"\$libtool_execute_magic\" != \"$magic\"; then file=\"\$0\"" qECHO=`$ECHO "$ECHO" | $SED "$sed_quote_subst"` $ECHO "\ # A function that is used when there is no print builtin or printf. func_fallback_echo () { eval 'cat <<_LTECHO_EOF \$1 _LTECHO_EOF' } ECHO=\"$qECHO\" fi # Very basic option parsing. These options are (a) specific to # the libtool wrapper, (b) are identical between the wrapper # /script/ and the wrapper /executable/ that is used only on # windows platforms, and (c) all begin with the string "--lt-" # (application programs are unlikely to have options that match # this pattern). # # There are only two supported options: --lt-debug and # --lt-dump-script. There is, deliberately, no --lt-help. # # The first argument to this parsing function should be the # script's $0 value, followed by "$@". lt_option_debug= func_parse_lt_options () { lt_script_arg0=\$0 shift for lt_opt do case \"\$lt_opt\" in --lt-debug) lt_option_debug=1 ;; --lt-dump-script) lt_dump_D=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%/[^/]*$%%'\` test \"X\$lt_dump_D\" = \"X\$lt_script_arg0\" && lt_dump_D=. lt_dump_F=\`\$ECHO \"X\$lt_script_arg0\" | $SED -e 's/^X//' -e 's%^.*/%%'\` cat \"\$lt_dump_D/\$lt_dump_F\" exit 0 ;; --lt-*) \$ECHO \"Unrecognized --lt- option: '\$lt_opt'\" 1>&2 exit 1 ;; esac done # Print the debug banner immediately: if test -n \"\$lt_option_debug\"; then echo \"$outputname:$output:\$LINENO: libtool wrapper (GNU $PACKAGE) $VERSION\" 1>&2 fi } # Used when --lt-debug. Prints its arguments to stdout # (redirection is the responsibility of the caller) func_lt_dump_args () { lt_dump_args_N=1; for lt_arg do \$ECHO \"$outputname:$output:\$LINENO: newargv[\$lt_dump_args_N]: \$lt_arg\" lt_dump_args_N=\`expr \$lt_dump_args_N + 1\` done } # Core function for launching the target application func_exec_program_core () { " case $host in # Backslashes separate directories on plain windows *-*-mingw | *-*-os2* | *-cegcc*) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir\\\\\$program\" 1>&2 func_lt_dump_args \${1+\"\$@\"} 1>&2 fi exec \"\$progdir\\\\\$program\" \${1+\"\$@\"} " ;; *) $ECHO "\ if test -n \"\$lt_option_debug\"; then \$ECHO \"$outputname:$output:\$LINENO: newargv[0]: \$progdir/\$program\" 1>&2 func_lt_dump_args \${1+\"\$@\"} 1>&2 fi exec \"\$progdir/\$program\" \${1+\"\$@\"} " ;; esac $ECHO "\ \$ECHO \"\$0: cannot exec \$program \$*\" 1>&2 exit 1 } # A function to encapsulate launching the target application # Strips options in the --lt-* namespace from \$@ and # launches target application with the remaining arguments. func_exec_program () { case \" \$* \" in *\\ --lt-*) for lt_wr_arg do case \$lt_wr_arg in --lt-*) ;; *) set x \"\$@\" \"\$lt_wr_arg\"; shift;; esac shift done ;; esac func_exec_program_core \${1+\"\$@\"} } # Parse options func_parse_lt_options \"\$0\" \${1+\"\$@\"} # Find the directory that this script lives in. thisdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*$%%'\` test \"x\$thisdir\" = \"x\$file\" && thisdir=. # Follow symbolic links until we get to the real thisdir. file=\`ls -ld \"\$file\" | $SED -n 's/.*-> //p'\` while test -n \"\$file\"; do destdir=\`\$ECHO \"\$file\" | $SED 's%/[^/]*\$%%'\` # If there was a directory component, then change thisdir. if test \"x\$destdir\" != \"x\$file\"; then case \"\$destdir\" in [\\\\/]* | [A-Za-z]:[\\\\/]*) thisdir=\"\$destdir\" ;; *) thisdir=\"\$thisdir/\$destdir\" ;; esac fi file=\`\$ECHO \"\$file\" | $SED 's%^.*/%%'\` file=\`ls -ld \"\$thisdir/\$file\" | $SED -n 's/.*-> //p'\` done # Usually 'no', except on cygwin/mingw when embedded into # the cwrapper. WRAPPER_SCRIPT_BELONGS_IN_OBJDIR=$func_emit_wrapper_arg1 if test \"\$WRAPPER_SCRIPT_BELONGS_IN_OBJDIR\" = \"yes\"; then # special case for '.' if test \"\$thisdir\" = \".\"; then thisdir=\`pwd\` fi # remove .libs from thisdir case \"\$thisdir\" in *[\\\\/]$objdir ) thisdir=\`\$ECHO \"\$thisdir\" | $SED 's%[\\\\/][^\\\\/]*$%%'\` ;; $objdir ) thisdir=. ;; esac fi # Try to get the absolute directory name. absdir=\`cd \"\$thisdir\" && pwd\` test -n \"\$absdir\" && thisdir=\"\$absdir\" " if test yes = "$fast_install"; then $ECHO "\ program=lt-'$outputname'$exeext progdir=\"\$thisdir/$objdir\" if test ! -f \"\$progdir/\$program\" || { file=\`ls -1dt \"\$progdir/\$program\" \"\$progdir/../\$program\" 2>/dev/null | $SED 1q\`; \\ test \"X\$file\" != \"X\$progdir/\$program\"; }; then file=\"\$\$-\$program\" if test ! -d \"\$progdir\"; then $MKDIR \"\$progdir\" else $RM \"\$progdir/\$file\" fi" $ECHO "\ # relink executable if necessary if test -n \"\$relink_command\"; then if relink_command_output=\`eval \$relink_command 2>&1\`; then : else \$ECHO \"\$relink_command_output\" >&2 $RM \"\$progdir/\$file\" exit 1 fi fi $MV \"\$progdir/\$file\" \"\$progdir/\$program\" 2>/dev/null || { $RM \"\$progdir/\$program\"; $MV \"\$progdir/\$file\" \"\$progdir/\$program\"; } $RM \"\$progdir/\$file\" fi" else $ECHO "\ program='$outputname' progdir=\"\$thisdir/$objdir\" " fi $ECHO "\ if test -f \"\$progdir/\$program\"; then" # fixup the dll searchpath if we need to. # # Fix the DLL searchpath if we need to. Do this before prepending # to shlibpath, because on Windows, both are PATH and uninstalled # libraries must come first. if test -n "$dllsearchpath"; then $ECHO "\ # Add the dll search path components to the executable PATH PATH=$dllsearchpath:\$PATH " fi # Export our shlibpath_var if we have one. if test yes = "$shlibpath_overrides_runpath" && test -n "$shlibpath_var" && test -n "$temp_rpath"; then $ECHO "\ # Add our own library path to $shlibpath_var $shlibpath_var=\"$temp_rpath\$$shlibpath_var\" # Some systems cannot cope with colon-terminated $shlibpath_var # The second colon is a workaround for a bug in BeOS R4 sed $shlibpath_var=\`\$ECHO \"\$$shlibpath_var\" | $SED 's/::*\$//'\` export $shlibpath_var " fi $ECHO "\ if test \"\$libtool_execute_magic\" != \"$magic\"; then # Run the actual program with our arguments. func_exec_program \${1+\"\$@\"} fi else # The program doesn't exist. \$ECHO \"\$0: error: '\$progdir/\$program' does not exist\" 1>&2 \$ECHO \"This script is just a wrapper for \$program.\" 1>&2 \$ECHO \"See the $PACKAGE documentation for more information.\" 1>&2 exit 1 fi fi\ " } # func_emit_cwrapperexe_src # emit the source code for a wrapper executable on stdout # Must ONLY be called from within func_mode_link because # it depends on a number of variable set therein. func_emit_cwrapperexe_src () { cat < #include #ifdef _MSC_VER # include # include # include #else # include # include # ifdef __CYGWIN__ # include # endif #endif #include #include #include #include #include #include #include #include #define STREQ(s1, s2) (strcmp ((s1), (s2)) == 0) /* declarations of non-ANSI functions */ #if defined __MINGW32__ # ifdef __STRICT_ANSI__ int _putenv (const char *); # endif #elif defined __CYGWIN__ # ifdef __STRICT_ANSI__ char *realpath (const char *, char *); int putenv (char *); int setenv (const char *, const char *, int); # endif /* #elif defined other_platform || defined ... */ #endif /* portability defines, excluding path handling macros */ #if defined _MSC_VER # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv # define S_IXUSR _S_IEXEC #elif defined __MINGW32__ # define setmode _setmode # define stat _stat # define chmod _chmod # define getcwd _getcwd # define putenv _putenv #elif defined __CYGWIN__ # define HAVE_SETENV # define FOPEN_WB "wb" /* #elif defined other platforms ... */ #endif #if defined PATH_MAX # define LT_PATHMAX PATH_MAX #elif defined MAXPATHLEN # define LT_PATHMAX MAXPATHLEN #else # define LT_PATHMAX 1024 #endif #ifndef S_IXOTH # define S_IXOTH 0 #endif #ifndef S_IXGRP # define S_IXGRP 0 #endif /* path handling portability macros */ #ifndef DIR_SEPARATOR # define DIR_SEPARATOR '/' # define PATH_SEPARATOR ':' #endif #if defined _WIN32 || defined __MSDOS__ || defined __DJGPP__ || \ defined __OS2__ # define HAVE_DOS_BASED_FILE_SYSTEM # define FOPEN_WB "wb" # ifndef DIR_SEPARATOR_2 # define DIR_SEPARATOR_2 '\\' # endif # ifndef PATH_SEPARATOR_2 # define PATH_SEPARATOR_2 ';' # endif #endif #ifndef DIR_SEPARATOR_2 # define IS_DIR_SEPARATOR(ch) ((ch) == DIR_SEPARATOR) #else /* DIR_SEPARATOR_2 */ # define IS_DIR_SEPARATOR(ch) \ (((ch) == DIR_SEPARATOR) || ((ch) == DIR_SEPARATOR_2)) #endif /* DIR_SEPARATOR_2 */ #ifndef PATH_SEPARATOR_2 # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR) #else /* PATH_SEPARATOR_2 */ # define IS_PATH_SEPARATOR(ch) ((ch) == PATH_SEPARATOR_2) #endif /* PATH_SEPARATOR_2 */ #ifndef FOPEN_WB # define FOPEN_WB "w" #endif #ifndef _O_BINARY # define _O_BINARY 0 #endif #define XMALLOC(type, num) ((type *) xmalloc ((num) * sizeof(type))) #define XFREE(stale) do { \ if (stale) { free (stale); stale = 0; } \ } while (0) #if defined LT_DEBUGWRAPPER static int lt_debug = 1; #else static int lt_debug = 0; #endif const char *program_name = "libtool-wrapper"; /* in case xstrdup fails */ void *xmalloc (size_t num); char *xstrdup (const char *string); const char *base_name (const char *name); char *find_executable (const char *wrapper); char *chase_symlinks (const char *pathspec); int make_executable (const char *path); int check_executable (const char *path); char *strendzap (char *str, const char *pat); void lt_debugprintf (const char *file, int line, const char *fmt, ...); void lt_fatal (const char *file, int line, const char *message, ...); static const char *nonnull (const char *s); static const char *nonempty (const char *s); void lt_setenv (const char *name, const char *value); char *lt_extend_str (const char *orig_value, const char *add, int to_end); void lt_update_exe_path (const char *name, const char *value); void lt_update_lib_path (const char *name, const char *value); char **prepare_spawn (char **argv); void lt_dump_script (FILE *f); EOF cat <= 0) && (st.st_mode & (S_IXUSR | S_IXGRP | S_IXOTH))) return 1; else return 0; } int make_executable (const char *path) { int rval = 0; struct stat st; lt_debugprintf (__FILE__, __LINE__, "(make_executable): %s\n", nonempty (path)); if ((!path) || (!*path)) return 0; if (stat (path, &st) >= 0) { rval = chmod (path, st.st_mode | S_IXOTH | S_IXGRP | S_IXUSR); } return rval; } /* Searches for the full path of the wrapper. Returns newly allocated full path name if found, NULL otherwise Does not chase symlinks, even on platforms that support them. */ char * find_executable (const char *wrapper) { int has_slash = 0; const char *p; const char *p_next; /* static buffer for getcwd */ char tmp[LT_PATHMAX + 1]; size_t tmp_len; char *concat_name; lt_debugprintf (__FILE__, __LINE__, "(find_executable): %s\n", nonempty (wrapper)); if ((wrapper == NULL) || (*wrapper == '\0')) return NULL; /* Absolute path? */ #if defined HAVE_DOS_BASED_FILE_SYSTEM if (isalpha ((unsigned char) wrapper[0]) && wrapper[1] == ':') { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } else { #endif if (IS_DIR_SEPARATOR (wrapper[0])) { concat_name = xstrdup (wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } #if defined HAVE_DOS_BASED_FILE_SYSTEM } #endif for (p = wrapper; *p; p++) if (*p == '/') { has_slash = 1; break; } if (!has_slash) { /* no slashes; search PATH */ const char *path = getenv ("PATH"); if (path != NULL) { for (p = path; *p; p = p_next) { const char *q; size_t p_len; for (q = p; *q; q++) if (IS_PATH_SEPARATOR (*q)) break; p_len = (size_t) (q - p); p_next = (*q == '\0' ? q : q + 1); if (p_len == 0) { /* empty path: current directory */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); } else { concat_name = XMALLOC (char, p_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, p, p_len); concat_name[p_len] = '/'; strcpy (concat_name + p_len + 1, wrapper); } if (check_executable (concat_name)) return concat_name; XFREE (concat_name); } } /* not found in PATH; assume curdir */ } /* Relative path | not found in path: prepend cwd */ if (getcwd (tmp, LT_PATHMAX) == NULL) lt_fatal (__FILE__, __LINE__, "getcwd failed: %s", nonnull (strerror (errno))); tmp_len = strlen (tmp); concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1); memcpy (concat_name, tmp, tmp_len); concat_name[tmp_len] = '/'; strcpy (concat_name + tmp_len + 1, wrapper); if (check_executable (concat_name)) return concat_name; XFREE (concat_name); return NULL; } char * chase_symlinks (const char *pathspec) { #ifndef S_ISLNK return xstrdup (pathspec); #else char buf[LT_PATHMAX]; struct stat s; char *tmp_pathspec = xstrdup (pathspec); char *p; int has_symlinks = 0; while (strlen (tmp_pathspec) && !has_symlinks) { lt_debugprintf (__FILE__, __LINE__, "checking path component for symlinks: %s\n", tmp_pathspec); if (lstat (tmp_pathspec, &s) == 0) { if (S_ISLNK (s.st_mode) != 0) { has_symlinks = 1; break; } /* search backwards for last DIR_SEPARATOR */ p = tmp_pathspec + strlen (tmp_pathspec) - 1; while ((p > tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) p--; if ((p == tmp_pathspec) && (!IS_DIR_SEPARATOR (*p))) { /* no more DIR_SEPARATORS left */ break; } *p = '\0'; } else { lt_fatal (__FILE__, __LINE__, "error accessing file \"%s\": %s", tmp_pathspec, nonnull (strerror (errno))); } } XFREE (tmp_pathspec); if (!has_symlinks) { return xstrdup (pathspec); } tmp_pathspec = realpath (pathspec, buf); if (tmp_pathspec == 0) { lt_fatal (__FILE__, __LINE__, "could not follow symlinks for %s", pathspec); } return xstrdup (tmp_pathspec); #endif } char * strendzap (char *str, const char *pat) { size_t len, patlen; assert (str != NULL); assert (pat != NULL); len = strlen (str); patlen = strlen (pat); if (patlen <= len) { str += len - patlen; if (STREQ (str, pat)) *str = '\0'; } return str; } void lt_debugprintf (const char *file, int line, const char *fmt, ...) { va_list args; if (lt_debug) { (void) fprintf (stderr, "%s:%s:%d: ", program_name, file, line); va_start (args, fmt); (void) vfprintf (stderr, fmt, args); va_end (args); } } static void lt_error_core (int exit_status, const char *file, int line, const char *mode, const char *message, va_list ap) { fprintf (stderr, "%s:%s:%d: %s: ", program_name, file, line, mode); vfprintf (stderr, message, ap); fprintf (stderr, ".\n"); if (exit_status >= 0) exit (exit_status); } void lt_fatal (const char *file, int line, const char *message, ...) { va_list ap; va_start (ap, message); lt_error_core (EXIT_FAILURE, file, line, "FATAL", message, ap); va_end (ap); } static const char * nonnull (const char *s) { return s ? s : "(null)"; } static const char * nonempty (const char *s) { return (s && !*s) ? "(empty)" : nonnull (s); } void lt_setenv (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_setenv) setting '%s' to '%s'\n", nonnull (name), nonnull (value)); { #ifdef HAVE_SETENV /* always make a copy, for consistency with !HAVE_SETENV */ char *str = xstrdup (value); setenv (name, str, 1); #else size_t len = strlen (name) + 1 + strlen (value) + 1; char *str = XMALLOC (char, len); sprintf (str, "%s=%s", name, value); if (putenv (str) != EXIT_SUCCESS) { XFREE (str); } #endif } } char * lt_extend_str (const char *orig_value, const char *add, int to_end) { char *new_value; if (orig_value && *orig_value) { size_t orig_value_len = strlen (orig_value); size_t add_len = strlen (add); new_value = XMALLOC (char, add_len + orig_value_len + 1); if (to_end) { strcpy (new_value, orig_value); strcpy (new_value + orig_value_len, add); } else { strcpy (new_value, add); strcpy (new_value + add_len, orig_value); } } else { new_value = xstrdup (add); } return new_value; } void lt_update_exe_path (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_update_exe_path) modifying '%s' by prepending '%s'\n", nonnull (name), nonnull (value)); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); /* some systems can't cope with a ':'-terminated path #' */ size_t len = strlen (new_value); while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1])) { new_value[--len] = '\0'; } lt_setenv (name, new_value); XFREE (new_value); } } void lt_update_lib_path (const char *name, const char *value) { lt_debugprintf (__FILE__, __LINE__, "(lt_update_lib_path) modifying '%s' by prepending '%s'\n", nonnull (name), nonnull (value)); if (name && *name && value && *value) { char *new_value = lt_extend_str (getenv (name), value, 0); lt_setenv (name, new_value); XFREE (new_value); } } EOF case $host_os in mingw*) cat <<"EOF" /* Prepares an argument vector before calling spawn(). Note that spawn() does not by itself call the command interpreter (getenv ("COMSPEC") != NULL ? getenv ("COMSPEC") : ({ OSVERSIONINFO v; v.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&v); v.dwPlatformId == VER_PLATFORM_WIN32_NT; }) ? "cmd.exe" : "command.com"). Instead it simply concatenates the arguments, separated by ' ', and calls CreateProcess(). We must quote the arguments since Win32 CreateProcess() interprets characters like ' ', '\t', '\\', '"' (but not '<' and '>') in a special way: - Space and tab are interpreted as delimiters. They are not treated as delimiters if they are surrounded by double quotes: "...". - Unescaped double quotes are removed from the input. Their only effect is that within double quotes, space and tab are treated like normal characters. - Backslashes not followed by double quotes are not special. - But 2*n+1 backslashes followed by a double quote become n backslashes followed by a double quote (n >= 0): \" -> " \\\" -> \" \\\\\" -> \\" */ #define SHELL_SPECIAL_CHARS "\"\\ \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" #define SHELL_SPACE_CHARS " \001\002\003\004\005\006\007\010\011\012\013\014\015\016\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037" char ** prepare_spawn (char **argv) { size_t argc; char **new_argv; size_t i; /* Count number of arguments. */ for (argc = 0; argv[argc] != NULL; argc++) ; /* Allocate new argument vector. */ new_argv = XMALLOC (char *, argc + 1); /* Put quoted arguments into the new argument vector. */ for (i = 0; i < argc; i++) { const char *string = argv[i]; if (string[0] == '\0') new_argv[i] = xstrdup ("\"\""); else if (strpbrk (string, SHELL_SPECIAL_CHARS) != NULL) { int quote_around = (strpbrk (string, SHELL_SPACE_CHARS) != NULL); size_t length; unsigned int backslashes; const char *s; char *quoted_string; char *p; length = 0; backslashes = 0; if (quote_around) length++; for (s = string; *s != '\0'; s++) { char c = *s; if (c == '"') length += backslashes + 1; length++; if (c == '\\') backslashes++; else backslashes = 0; } if (quote_around) length += backslashes + 1; quoted_string = XMALLOC (char, length + 1); p = quoted_string; backslashes = 0; if (quote_around) *p++ = '"'; for (s = string; *s != '\0'; s++) { char c = *s; if (c == '"') { unsigned int j; for (j = backslashes + 1; j > 0; j--) *p++ = '\\'; } *p++ = c; if (c == '\\') backslashes++; else backslashes = 0; } if (quote_around) { unsigned int j; for (j = backslashes; j > 0; j--) *p++ = '\\'; *p++ = '"'; } *p = '\0'; new_argv[i] = quoted_string; } else new_argv[i] = (char *) string; } new_argv[argc] = NULL; return new_argv; } EOF ;; esac cat <<"EOF" void lt_dump_script (FILE* f) { EOF func_emit_wrapper yes | $SED -n -e ' s/^\(.\{79\}\)\(..*\)/\1\ \2/ h s/\([\\"]\)/\\\1/g s/$/\\n/ s/\([^\n]*\).*/ fputs ("\1", f);/p g D' cat <<"EOF" } EOF } # end: func_emit_cwrapperexe_src # func_win32_import_lib_p ARG # True if ARG is an import lib, as indicated by $file_magic_cmd func_win32_import_lib_p () { $debug_cmd case `eval $file_magic_cmd \"\$1\" 2>/dev/null | $SED -e 10q` in *import*) : ;; *) false ;; esac } # func_suncc_cstd_abi # !!ONLY CALL THIS FOR SUN CC AFTER $compile_command IS FULLY EXPANDED!! # Several compiler flags select an ABI that is incompatible with the # Cstd library. Avoid specifying it if any are in CXXFLAGS. func_suncc_cstd_abi () { $debug_cmd case " $compile_command " in *" -compat=g "*|*\ -std=c++[0-9][0-9]\ *|*" -library=stdcxx4 "*|*" -library=stlport4 "*) suncc_use_cstd_abi=no ;; *) suncc_use_cstd_abi=yes ;; esac } # func_mode_link arg... func_mode_link () { $debug_cmd case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) # It is impossible to link a dll without this setting, and # we shouldn't force the makefile maintainer to figure out # what system we are compiling for in order to pass an extra # flag for every libtool invocation. # allow_undefined=no # FIXME: Unfortunately, there are problems with the above when trying # to make a dll that has undefined symbols, in which case not # even a static library is built. For now, we need to specify # -no-undefined on the libtool link line when we can be certain # that all symbols are satisfied, otherwise we get a static library. allow_undefined=yes ;; *) allow_undefined=yes ;; esac libtool_args=$nonopt base_compile="$nonopt $@" compile_command=$nonopt finalize_command=$nonopt compile_rpath= finalize_rpath= compile_shlibpath= finalize_shlibpath= convenience= old_convenience= deplibs= old_deplibs= compiler_flags= linker_flags= dllsearchpath= lib_search_path=`pwd` inst_prefix_dir= new_inherited_linker_flags= avoid_version=no bindir= dlfiles= dlprefiles= dlself=no export_dynamic=no export_symbols= export_symbols_regex= generated= libobjs= ltlibs= module=no no_install=no objs= os2dllname= non_pic_objects= precious_files_regex= prefer_static_libs=no preload=false prev= prevarg= release= rpath= xrpath= perm_rpath= temp_rpath= thread_safe=no vinfo= vinfo_number=no weak_libs= single_module=$wl-single_module func_infer_tag $base_compile # We need to know -static, to get the right output filenames. for arg do case $arg in -shared) test yes != "$build_libtool_libs" \ && func_fatal_configuration "cannot build a shared library" build_old_libs=no break ;; -all-static | -static | -static-libtool-libs) case $arg in -all-static) if test yes = "$build_libtool_libs" && test -z "$link_static_flag"; then func_warning "complete static linking is impossible in this configuration" fi if test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; -static) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=built ;; -static-libtool-libs) if test -z "$pic_flag" && test -n "$link_static_flag"; then dlopen_self=$dlopen_self_static fi prefer_static_libs=yes ;; esac build_libtool_libs=no build_old_libs=yes break ;; esac done # See if our shared archives depend on static archives. test -n "$old_archive_from_new_cmds" && build_old_libs=yes # Go through the arguments, transforming them on the way. while test "$#" -gt 0; do arg=$1 shift func_quote_for_eval "$arg" qarg=$func_quote_for_eval_unquoted_result func_append libtool_args " $func_quote_for_eval_result" # If the previous option needs an argument, assign it. if test -n "$prev"; then case $prev in output) func_append compile_command " @OUTPUT@" func_append finalize_command " @OUTPUT@" ;; esac case $prev in bindir) bindir=$arg prev= continue ;; dlfiles|dlprefiles) $preload || { # Add the symbol object into the linking commands. func_append compile_command " @SYMFILE@" func_append finalize_command " @SYMFILE@" preload=: } case $arg in *.la | *.lo) ;; # We handle these cases below. force) if test no = "$dlself"; then dlself=needless export_dynamic=yes fi prev= continue ;; self) if test dlprefiles = "$prev"; then dlself=yes elif test dlfiles = "$prev" && test yes != "$dlopen_self"; then dlself=yes else dlself=needless export_dynamic=yes fi prev= continue ;; *) if test dlfiles = "$prev"; then func_append dlfiles " $arg" else func_append dlprefiles " $arg" fi prev= continue ;; esac ;; expsyms) export_symbols=$arg test -f "$arg" \ || func_fatal_error "symbol file '$arg' does not exist" prev= continue ;; expsyms_regex) export_symbols_regex=$arg prev= continue ;; framework) case $host in *-*-darwin*) case "$deplibs " in *" $qarg.ltframework "*) ;; *) func_append deplibs " $qarg.ltframework" # this is fixed later ;; esac ;; esac prev= continue ;; inst_prefix) inst_prefix_dir=$arg prev= continue ;; mllvm) # Clang does not use LLVM to link, so we can simply discard any # '-mllvm $arg' options when doing the link step. prev= continue ;; objectlist) if test -f "$arg"; then save_arg=$arg moreargs= for fil in `cat "$save_arg"` do # func_append moreargs " $fil" arg=$fil # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test none = "$pic_object" && test none = "$non_pic_object"; then func_fatal_error "cannot find name of object for '$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result if test none != "$pic_object"; then # Prepend the subdirectory the object is found in. pic_object=$xdir$pic_object if test dlfiles = "$prev"; then if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then func_append dlfiles " $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test dlprefiles = "$prev"; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg=$pic_object fi # Non-PIC object. if test none != "$non_pic_object"; then # Prepend the subdirectory the object is found in. non_pic_object=$xdir$non_pic_object # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test none = "$pic_object"; then arg=$non_pic_object fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object=$pic_object func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "'$arg' is not a valid libtool object" fi fi done else func_fatal_error "link input file '$arg' does not exist" fi arg=$save_arg prev= continue ;; os2dllname) os2dllname=$arg prev= continue ;; precious_regex) precious_files_regex=$arg prev= continue ;; release) release=-$arg prev= continue ;; rpath | xrpath) # We need an absolute path. case $arg in [\\/]* | [A-Za-z]:[\\/]*) ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac if test rpath = "$prev"; then case "$rpath " in *" $arg "*) ;; *) func_append rpath " $arg" ;; esac else case "$xrpath " in *" $arg "*) ;; *) func_append xrpath " $arg" ;; esac fi prev= continue ;; shrext) shrext_cmds=$arg prev= continue ;; weak) func_append weak_libs " $arg" prev= continue ;; xcclinker) func_append linker_flags " $qarg" func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xcompiler) func_append compiler_flags " $qarg" prev= func_append compile_command " $qarg" func_append finalize_command " $qarg" continue ;; xlinker) func_append linker_flags " $qarg" func_append compiler_flags " $wl$qarg" prev= func_append compile_command " $wl$qarg" func_append finalize_command " $wl$qarg" continue ;; *) eval "$prev=\"\$arg\"" prev= continue ;; esac fi # test -n "$prev" prevarg=$arg case $arg in -all-static) if test -n "$link_static_flag"; then # See comment for -static flag below, for more details. func_append compile_command " $link_static_flag" func_append finalize_command " $link_static_flag" fi continue ;; -allow-undefined) # FIXME: remove this flag sometime in the future. func_fatal_error "'-allow-undefined' must not be used because it is the default" ;; -avoid-version) avoid_version=yes continue ;; -bindir) prev=bindir continue ;; -dlopen) prev=dlfiles continue ;; -dlpreopen) prev=dlprefiles continue ;; -export-dynamic) export_dynamic=yes continue ;; -export-symbols | -export-symbols-regex) if test -n "$export_symbols" || test -n "$export_symbols_regex"; then func_fatal_error "more than one -exported-symbols argument is not allowed" fi if test X-export-symbols = "X$arg"; then prev=expsyms else prev=expsyms_regex fi continue ;; -framework) prev=framework continue ;; -inst-prefix-dir) prev=inst_prefix continue ;; # The native IRIX linker understands -LANG:*, -LIST:* and -LNO:* # so, if we see these flags be careful not to treat them like -L -L[A-Z][A-Z]*:*) case $with_gcc/$host in no/*-*-irix* | /*-*-irix*) func_append compile_command " $arg" func_append finalize_command " $arg" ;; esac continue ;; -L*) func_stripname "-L" '' "$arg" if test -z "$func_stripname_result"; then if test "$#" -gt 0; then func_fatal_error "require no space between '-L' and '$1'" else func_fatal_error "need path for '-L' option" fi fi func_resolve_sysroot "$func_stripname_result" dir=$func_resolve_sysroot_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; *) absdir=`cd "$dir" && pwd` test -z "$absdir" && \ func_fatal_error "cannot determine absolute directory name of '$dir'" dir=$absdir ;; esac case "$deplibs " in *" -L$dir "* | *" $arg "*) # Will only happen for absolute or sysroot arguments ;; *) # Preserve sysroot, but never include relative directories case $dir in [\\/]* | [A-Za-z]:[\\/]* | =*) func_append deplibs " $arg" ;; *) func_append deplibs " -L$dir" ;; esac func_append lib_search_path " $dir" ;; esac case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "$dir" | $SED 's*/lib$*/bin*'` case :$dllsearchpath: in *":$dir:"*) ;; ::) dllsearchpath=$dir;; *) func_append dllsearchpath ":$dir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) func_append dllsearchpath ":$testbindir";; esac ;; esac continue ;; -l*) if test X-lc = "X$arg" || test X-lm = "X$arg"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-beos* | *-cegcc* | *-*-haiku*) # These systems don't actually have a C or math library (as such) continue ;; *-*-os2*) # These systems don't actually have a C library (as such) test X-lc = "X$arg" && continue ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) # Do not include libc due to us having libc/libc_r. test X-lc = "X$arg" && continue ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C and math libraries are in the System framework func_append deplibs " System.ltframework" continue ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype test X-lc = "X$arg" && continue ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work test X-lc = "X$arg" && continue ;; esac elif test X-lc_r = "X$arg"; then case $host in *-*-openbsd* | *-*-freebsd* | *-*-dragonfly* | *-*-bitrig*) # Do not include libc_r directly, use -pthread flag. continue ;; esac fi func_append deplibs " $arg" continue ;; -mllvm) prev=mllvm continue ;; -module) module=yes continue ;; # Tru64 UNIX uses -model [arg] to determine the layout of C++ # classes, name mangling, and exception handling. # Darwin uses the -arch flag to determine output architecture. -model|-arch|-isysroot|--sysroot) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" prev=xcompiler continue ;; -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) func_append compiler_flags " $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case "$new_inherited_linker_flags " in *" $arg "*) ;; * ) func_append new_inherited_linker_flags " $arg" ;; esac continue ;; -multi_module) single_module=$wl-multi_module continue ;; -no-fast-install) fast_install=no continue ;; -no-install) case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-darwin* | *-cegcc*) # The PATH hackery in wrapper scripts is required on Windows # and Darwin in order for the loader to find any dlls it needs. func_warning "'-no-install' is ignored for $host" func_warning "assuming '-no-fast-install' instead" fast_install=no ;; *) no_install=yes ;; esac continue ;; -no-undefined) allow_undefined=no continue ;; -objectlist) prev=objectlist continue ;; -os2dllname) prev=os2dllname continue ;; -o) prev=output ;; -precious-files-regex) prev=precious_regex continue ;; -release) prev=release continue ;; -rpath) prev=rpath continue ;; -R) prev=xrpath continue ;; -R*) func_stripname '-R' '' "$arg" dir=$func_stripname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) ;; =*) func_stripname '=' '' "$dir" dir=$lt_sysroot$func_stripname_result ;; *) func_fatal_error "only absolute run-paths are allowed" ;; esac case "$xrpath " in *" $dir "*) ;; *) func_append xrpath " $dir" ;; esac continue ;; -shared) # The effects of -shared are defined in a previous loop. continue ;; -shrext) prev=shrext continue ;; -static | -static-libtool-libs) # The effects of -static are defined in a previous loop. # We used to do the same as -all-static on platforms that # didn't have a PIC flag, but the assumption that the effects # would be equivalent was wrong. It would break on at least # Digital Unix and AIX. continue ;; -thread-safe) thread_safe=yes continue ;; -version-info) prev=vinfo continue ;; -version-number) prev=vinfo vinfo_number=yes continue ;; -weak) prev=weak continue ;; -Wc,*) func_stripname '-Wc,' '' "$arg" args=$func_stripname_result arg= save_ifs=$IFS; IFS=, for flag in $args; do IFS=$save_ifs func_quote_for_eval "$flag" func_append arg " $func_quote_for_eval_result" func_append compiler_flags " $func_quote_for_eval_result" done IFS=$save_ifs func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Wl,*) func_stripname '-Wl,' '' "$arg" args=$func_stripname_result arg= save_ifs=$IFS; IFS=, for flag in $args; do IFS=$save_ifs func_quote_for_eval "$flag" func_append arg " $wl$func_quote_for_eval_result" func_append compiler_flags " $wl$func_quote_for_eval_result" func_append linker_flags " $func_quote_for_eval_result" done IFS=$save_ifs func_stripname ' ' '' "$arg" arg=$func_stripname_result ;; -Xcompiler) prev=xcompiler continue ;; -Xlinker) prev=xlinker continue ;; -XCClinker) prev=xcclinker continue ;; # -msg_* for osf cc -msg_*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result ;; # Flags to be passed through unchanged, with rationale: # -64, -mips[0-9] enable 64-bit mode for the SGI compiler # -r[0-9][0-9]* specify processor for the SGI compiler # -xarch=*, -xtarget=* enable 64-bit mode for the Sun compiler # +DA*, +DD* enable 64-bit mode for the HP compiler # -q* compiler args for the IBM compiler # -m*, -t[45]*, -txscale* architecture-specific flags for GCC # -F/path path to uninstalled frameworks, gcc on darwin # -p, -pg, --coverage, -fprofile-* profiling flags for GCC # -fstack-protector* stack protector flags for GCC # @file GCC response files # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization # -specs=* GCC specs files # -stdlib=* select c++ std lib with clang # -fsanitize=* Clang/GCC memory and address sanitizer -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ -specs=*|-fsanitize=*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result func_append compile_command " $arg" func_append finalize_command " $arg" func_append compiler_flags " $arg" continue ;; -Z*) if test os2 = "`expr $host : '.*\(os2\)'`"; then # OS/2 uses -Zxxx to specify OS/2-specific options compiler_flags="$compiler_flags $arg" func_append compile_command " $arg" func_append finalize_command " $arg" case $arg in -Zlinker | -Zstack) prev=xcompiler ;; esac continue else # Otherwise treat like 'Some other compiler flag' below func_quote_for_eval "$arg" arg=$func_quote_for_eval_result fi ;; # Some other compiler flag. -* | +*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result ;; *.$objext) # A standard object. func_append objs " $arg" ;; *.lo) # A libtool-controlled object. # Check to see that this really is a libtool object. if func_lalib_unsafe_p "$arg"; then pic_object= non_pic_object= # Read the .lo file func_source "$arg" if test -z "$pic_object" || test -z "$non_pic_object" || test none = "$pic_object" && test none = "$non_pic_object"; then func_fatal_error "cannot find name of object for '$arg'" fi # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result test none = "$pic_object" || { # Prepend the subdirectory the object is found in. pic_object=$xdir$pic_object if test dlfiles = "$prev"; then if test yes = "$build_libtool_libs" && test yes = "$dlopen_support"; then func_append dlfiles " $pic_object" prev= continue else # If libtool objects are unsupported, then we need to preload. prev=dlprefiles fi fi # CHECK ME: I think I busted this. -Ossama if test dlprefiles = "$prev"; then # Preload the old-style object. func_append dlprefiles " $pic_object" prev= fi # A PIC object. func_append libobjs " $pic_object" arg=$pic_object } # Non-PIC object. if test none != "$non_pic_object"; then # Prepend the subdirectory the object is found in. non_pic_object=$xdir$non_pic_object # A standard non-PIC object func_append non_pic_objects " $non_pic_object" if test -z "$pic_object" || test none = "$pic_object"; then arg=$non_pic_object fi else # If the PIC object exists, use it instead. # $xdir was prepended to $pic_object above. non_pic_object=$pic_object func_append non_pic_objects " $non_pic_object" fi else # Only an error if not doing a dry-run. if $opt_dry_run; then # Extract subdirectory from the argument. func_dirname "$arg" "/" "" xdir=$func_dirname_result func_lo2o "$arg" pic_object=$xdir$objdir/$func_lo2o_result non_pic_object=$xdir$func_lo2o_result func_append libobjs " $pic_object" func_append non_pic_objects " $non_pic_object" else func_fatal_error "'$arg' is not a valid libtool object" fi fi ;; *.$libext) # An archive. func_append deplibs " $arg" func_append old_deplibs " $arg" continue ;; *.la) # A libtool-controlled library. func_resolve_sysroot "$arg" if test dlfiles = "$prev"; then # This library was specified with -dlopen. func_append dlfiles " $func_resolve_sysroot_result" prev= elif test dlprefiles = "$prev"; then # The library was specified with -dlpreopen. func_append dlprefiles " $func_resolve_sysroot_result" prev= else func_append deplibs " $func_resolve_sysroot_result" fi continue ;; # Some other compiler argument. *) # Unknown arguments in both finalize_command and compile_command need # to be aesthetically quoted because they are evaled later. func_quote_for_eval "$arg" arg=$func_quote_for_eval_result ;; esac # arg # Now actually substitute the argument into the commands. if test -n "$arg"; then func_append compile_command " $arg" func_append finalize_command " $arg" fi done # argument parsing loop test -n "$prev" && \ func_fatal_help "the '$prevarg' option requires an argument" if test yes = "$export_dynamic" && test -n "$export_dynamic_flag_spec"; then eval arg=\"$export_dynamic_flag_spec\" func_append compile_command " $arg" func_append finalize_command " $arg" fi oldlibs= # calculate the name of the file, without its directory func_basename "$output" outputname=$func_basename_result libobjs_save=$libobjs if test -n "$shlibpath_var"; then # get the directories listed in $shlibpath_var eval shlib_search_path=\`\$ECHO \"\$$shlibpath_var\" \| \$SED \'s/:/ /g\'\` else shlib_search_path= fi eval sys_lib_search_path=\"$sys_lib_search_path_spec\" eval sys_lib_dlsearch_path=\"$sys_lib_dlsearch_path_spec\" # Definition is injected by LT_CONFIG during libtool generation. func_munge_path_list sys_lib_dlsearch_path "$LT_SYS_LIBRARY_PATH" func_dirname "$output" "/" "" output_objdir=$func_dirname_result$objdir func_to_tool_file "$output_objdir/" tool_output_objdir=$func_to_tool_file_result # Create the object directory. func_mkdir_p "$output_objdir" # Determine the type of output case $output in "") func_fatal_help "you must specify an output file" ;; *.$libext) linkmode=oldlib ;; *.lo | *.$objext) linkmode=obj ;; *.la) linkmode=lib ;; *) linkmode=prog ;; # Anything else should be a program. esac specialdeplibs= libs= # Find all interdependent deplibs by searching for libraries # that are linked more than once (e.g. -la -lb -la) for deplib in $deplibs; do if $opt_preserve_dup_deps; then case "$libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append libs " $deplib" done if test lib = "$linkmode"; then libs="$predeps $libs $compiler_lib_search_path $postdeps" # Compute libraries that are listed more than once in $predeps # $postdeps and mark them as special (i.e., whose duplicates are # not to be eliminated). pre_post_deps= if $opt_duplicate_compiler_generated_deps; then for pre_post_dep in $predeps $postdeps; do case "$pre_post_deps " in *" $pre_post_dep "*) func_append specialdeplibs " $pre_post_deps" ;; esac func_append pre_post_deps " $pre_post_dep" done fi pre_post_deps= fi deplibs= newdependency_libs= newlib_search_path= need_relink=no # whether we're linking any uninstalled libtool libraries notinst_deplibs= # not-installed libtool libraries notinst_path= # paths that contain not-installed libtool libraries case $linkmode in lib) passes="conv dlpreopen link" for file in $dlfiles $dlprefiles; do case $file in *.la) ;; *) func_fatal_help "libraries can '-dlopen' only libtool libraries: $file" ;; esac done ;; prog) compile_deplibs= finalize_deplibs= alldeplibs=false newdlfiles= newdlprefiles= passes="conv scan dlopen dlpreopen link" ;; *) passes="conv" ;; esac for pass in $passes; do # The preopen pass in lib mode reverses $deplibs; put it back here # so that -L comes before libs that need it for instance... if test lib,link = "$linkmode,$pass"; then ## FIXME: Find the place where the list is rebuilt in the wrong ## order, and fix it there properly tmp_deplibs= for deplib in $deplibs; do tmp_deplibs="$deplib $tmp_deplibs" done deplibs=$tmp_deplibs fi if test lib,link = "$linkmode,$pass" || test prog,scan = "$linkmode,$pass"; then libs=$deplibs deplibs= fi if test prog = "$linkmode"; then case $pass in dlopen) libs=$dlfiles ;; dlpreopen) libs=$dlprefiles ;; link) libs="$deplibs %DEPLIBS%" test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs" ;; esac fi if test lib,dlpreopen = "$linkmode,$pass"; then # Collect and forward deplibs of preopened libtool libs for lib in $dlprefiles; do # Ignore non-libtool-libs dependency_libs= func_resolve_sysroot "$lib" case $lib in *.la) func_source "$func_resolve_sysroot_result" ;; esac # Collect preopened libtool deplibs, except any this library # has declared as weak libs for deplib in $dependency_libs; do func_basename "$deplib" deplib_base=$func_basename_result case " $weak_libs " in *" $deplib_base "*) ;; *) func_append deplibs " $deplib" ;; esac done done libs=$dlprefiles fi if test dlopen = "$pass"; then # Collect dlpreopened libraries save_deplibs=$deplibs deplibs= fi for deplib in $libs; do lib= found=false case $deplib in -mt|-mthreads|-kthread|-Kthread|-pthread|-pthreads|--thread-safe \ |-threads|-fopenmp|-openmp|-mp|-xopenmp|-omp|-qsmp=*) if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append compiler_flags " $deplib" if test lib = "$linkmode"; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -l*) if test lib != "$linkmode" && test prog != "$linkmode"; then func_warning "'-l' is ignored for archives/objects" continue fi func_stripname '-l' '' "$deplib" name=$func_stripname_result if test lib = "$linkmode"; then searchdirs="$newlib_search_path $lib_search_path $compiler_lib_search_dirs $sys_lib_search_path $shlib_search_path" else searchdirs="$newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path" fi for searchdir in $searchdirs; do for search_ext in .la $std_shrext .so .a; do # Search the libtool library lib=$searchdir/lib$name$search_ext if test -f "$lib"; then if test .la = "$search_ext"; then found=: else found=false fi break 2 fi done done if $found; then # deplib is a libtool library # If $allow_libtool_libs_with_static_runtimes && $deplib is a stdlib, # We need to do some special things here, and not later. if test yes = "$allow_libtool_libs_with_static_runtimes"; then case " $predeps $postdeps " in *" $deplib "*) if func_lalib_p "$lib"; then library_names= old_library= func_source "$lib" for l in $old_library $library_names; do ll=$l done if test "X$ll" = "X$old_library"; then # only static version available found=false func_dirname "$lib" "" "." ladir=$func_dirname_result lib=$ladir/$old_library if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" fi continue fi fi ;; *) ;; esac fi else # deplib doesn't seem to be a libtool library if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" test lib = "$linkmode" && newdependency_libs="$deplib $newdependency_libs" fi continue fi ;; # -l *.ltframework) if test prog,link = "$linkmode,$pass"; then compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else deplibs="$deplib $deplibs" if test lib = "$linkmode"; then case "$new_inherited_linker_flags " in *" $deplib "*) ;; * ) func_append new_inherited_linker_flags " $deplib" ;; esac fi fi continue ;; -L*) case $linkmode in lib) deplibs="$deplib $deplibs" test conv = "$pass" && continue newdependency_libs="$deplib $newdependency_libs" func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; prog) if test conv = "$pass"; then deplibs="$deplib $deplibs" continue fi if test scan = "$pass"; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; *) func_warning "'-L' is ignored for archives/objects" ;; esac # linkmode continue ;; # -L -R*) if test link = "$pass"; then func_stripname '-R' '' "$deplib" func_resolve_sysroot "$func_stripname_result" dir=$func_resolve_sysroot_result # Make sure the xrpath contains only unique directories. case "$xrpath " in *" $dir "*) ;; *) func_append xrpath " $dir" ;; esac fi deplibs="$deplib $deplibs" continue ;; *.la) func_resolve_sysroot "$deplib" lib=$func_resolve_sysroot_result ;; *.$libext) if test conv = "$pass"; then deplibs="$deplib $deplibs" continue fi case $linkmode in lib) # Linking convenience modules into shared libraries is allowed, # but linking other static libraries is non-portable. case " $dlpreconveniencelibs " in *" $deplib "*) ;; *) valid_a_lib=false case $deplibs_check_method in match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` if eval "\$ECHO \"$deplib\"" 2>/dev/null | $SED 10q \ | $EGREP "$match_pattern_regex" > /dev/null; then valid_a_lib=: fi ;; pass_all) valid_a_lib=: ;; esac if $valid_a_lib; then echo $ECHO "*** Warning: Linking the shared library $output against the" $ECHO "*** static library $deplib is not portable!" deplibs="$deplib $deplibs" else echo $ECHO "*** Warning: Trying to link with static lib archive $deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because the file extensions .$libext of this argument makes me believe" echo "*** that it is just a static archive that I should not use here." fi ;; esac continue ;; prog) if test link != "$pass"; then deplibs="$deplib $deplibs" else compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" fi continue ;; esac # linkmode ;; # *.$libext *.lo | *.$objext) if test conv = "$pass"; then deplibs="$deplib $deplibs" elif test prog = "$linkmode"; then if test dlpreopen = "$pass" || test yes != "$dlopen_support" || test no = "$build_libtool_libs"; then # If there is no dlopen support or we're linking statically, # we need to preload. func_append newdlprefiles " $deplib" compile_deplibs="$deplib $compile_deplibs" finalize_deplibs="$deplib $finalize_deplibs" else func_append newdlfiles " $deplib" fi fi continue ;; %DEPLIBS%) alldeplibs=: continue ;; esac # case $deplib $found || test -f "$lib" \ || func_fatal_error "cannot find the library '$lib' or unhandled argument '$deplib'" # Check to see that this really is a libtool archive. func_lalib_unsafe_p "$lib" \ || func_fatal_error "'$lib' is not a valid libtool archive" func_dirname "$lib" "" "." ladir=$func_dirname_result dlname= dlopen= dlpreopen= libdir= library_names= old_library= inherited_linker_flags= # If the library was installed with an old release of libtool, # it will not redefine variables installed, or shouldnotlink installed=yes shouldnotlink=no avoidtemprpath= # Read the .la file func_source "$lib" # Convert "-framework foo" to "foo.ltframework" if test -n "$inherited_linker_flags"; then tmp_inherited_linker_flags=`$ECHO "$inherited_linker_flags" | $SED 's/-framework \([^ $]*\)/\1.ltframework/g'` for tmp_inherited_linker_flag in $tmp_inherited_linker_flags; do case " $new_inherited_linker_flags " in *" $tmp_inherited_linker_flag "*) ;; *) func_append new_inherited_linker_flags " $tmp_inherited_linker_flag";; esac done fi dependency_libs=`$ECHO " $dependency_libs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` if test lib,link = "$linkmode,$pass" || test prog,scan = "$linkmode,$pass" || { test prog != "$linkmode" && test lib != "$linkmode"; }; then test -n "$dlopen" && func_append dlfiles " $dlopen" test -n "$dlpreopen" && func_append dlprefiles " $dlpreopen" fi if test conv = "$pass"; then # Only check for convenience libraries deplibs="$lib $deplibs" if test -z "$libdir"; then if test -z "$old_library"; then func_fatal_error "cannot find name of link library for '$lib'" fi # It is a libtool convenience library, so add in its objects. func_append convenience " $ladir/$objdir/$old_library" func_append old_convenience " $ladir/$objdir/$old_library" tmp_libs= for deplib in $dependency_libs; do deplibs="$deplib $deplibs" if $opt_preserve_dup_deps; then case "$tmp_libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append tmp_libs " $deplib" done elif test prog != "$linkmode" && test lib != "$linkmode"; then func_fatal_error "'$lib' is not a convenience library" fi continue fi # $pass = conv # Get the name of the library we link against. linklib= if test -n "$old_library" && { test yes = "$prefer_static_libs" || test built,no = "$prefer_static_libs,$installed"; }; then linklib=$old_library else for l in $old_library $library_names; do linklib=$l done fi if test -z "$linklib"; then func_fatal_error "cannot find name of link library for '$lib'" fi # This library was specified with -dlopen. if test dlopen = "$pass"; then test -z "$libdir" \ && func_fatal_error "cannot -dlopen a convenience library: '$lib'" if test -z "$dlname" || test yes != "$dlopen_support" || test no = "$build_libtool_libs" then # If there is no dlname, no dlopen support or we're linking # statically, we need to preload. We also need to preload any # dependent libraries so libltdl's deplib preloader doesn't # bomb out in the load deplibs phase. func_append dlprefiles " $lib $dependency_libs" else func_append newdlfiles " $lib" fi continue fi # $pass = dlopen # We need an absolute path. case $ladir in [\\/]* | [A-Za-z]:[\\/]*) abs_ladir=$ladir ;; *) abs_ladir=`cd "$ladir" && pwd` if test -z "$abs_ladir"; then func_warning "cannot determine absolute directory name of '$ladir'" func_warning "passing it literally to the linker, although it might fail" abs_ladir=$ladir fi ;; esac func_basename "$lib" laname=$func_basename_result # Find the relevant object directory and library name. if test yes = "$installed"; then if test ! -f "$lt_sysroot$libdir/$linklib" && test -f "$abs_ladir/$linklib"; then func_warning "library '$lib' was moved." dir=$ladir absdir=$abs_ladir libdir=$abs_ladir else dir=$lt_sysroot$libdir absdir=$lt_sysroot$libdir fi test yes = "$hardcode_automatic" && avoidtemprpath=yes else if test ! -f "$ladir/$objdir/$linklib" && test -f "$abs_ladir/$linklib"; then dir=$ladir absdir=$abs_ladir # Remove this search path later func_append notinst_path " $abs_ladir" else dir=$ladir/$objdir absdir=$abs_ladir/$objdir # Remove this search path later func_append notinst_path " $abs_ladir" fi fi # $installed = yes func_stripname 'lib' '.la' "$laname" name=$func_stripname_result # This library was specified with -dlpreopen. if test dlpreopen = "$pass"; then if test -z "$libdir" && test prog = "$linkmode"; then func_fatal_error "only libraries may -dlpreopen a convenience library: '$lib'" fi case $host in # special handling for platforms with PE-DLLs. *cygwin* | *mingw* | *cegcc* ) # Linker will automatically link against shared library if both # static and shared are present. Therefore, ensure we extract # symbols from the import library if a shared library is present # (otherwise, the dlopen module name will be incorrect). We do # this by putting the import library name into $newdlprefiles. # We recover the dlopen module name by 'saving' the la file # name in a special purpose variable, and (later) extracting the # dlname from the la file. if test -n "$dlname"; then func_tr_sh "$dir/$linklib" eval "libfile_$func_tr_sh_result=\$abs_ladir/\$laname" func_append newdlprefiles " $dir/$linklib" else func_append newdlprefiles " $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ func_append dlpreconveniencelibs " $dir/$old_library" fi ;; * ) # Prefer using a static library (so that no silly _DYNAMIC symbols # are required to link). if test -n "$old_library"; then func_append newdlprefiles " $dir/$old_library" # Keep a list of preopened convenience libraries to check # that they are being used correctly in the link pass. test -z "$libdir" && \ func_append dlpreconveniencelibs " $dir/$old_library" # Otherwise, use the dlname, so that lt_dlopen finds it. elif test -n "$dlname"; then func_append newdlprefiles " $dir/$dlname" else func_append newdlprefiles " $dir/$linklib" fi ;; esac fi # $pass = dlpreopen if test -z "$libdir"; then # Link the convenience library if test lib = "$linkmode"; then deplibs="$dir/$old_library $deplibs" elif test prog,link = "$linkmode,$pass"; then compile_deplibs="$dir/$old_library $compile_deplibs" finalize_deplibs="$dir/$old_library $finalize_deplibs" else deplibs="$lib $deplibs" # used for prog,scan pass fi continue fi if test prog = "$linkmode" && test link != "$pass"; then func_append newlib_search_path " $ladir" deplibs="$lib $deplibs" linkalldeplibs=false if test no != "$link_all_deplibs" || test -z "$library_names" || test no = "$build_libtool_libs"; then linkalldeplibs=: fi tmp_libs= for deplib in $dependency_libs; do case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result" func_append newlib_search_path " $func_resolve_sysroot_result" ;; esac # Need to link against all dependency_libs? if $linkalldeplibs; then deplibs="$deplib $deplibs" else # Need to hardcode shared library paths # or/and link against static libraries newdependency_libs="$deplib $newdependency_libs" fi if $opt_preserve_dup_deps; then case "$tmp_libs " in *" $deplib "*) func_append specialdeplibs " $deplib" ;; esac fi func_append tmp_libs " $deplib" done # for deplib continue fi # $linkmode = prog... if test prog,link = "$linkmode,$pass"; then if test -n "$library_names" && { { test no = "$prefer_static_libs" || test built,yes = "$prefer_static_libs,$installed"; } || test -z "$old_library"; }; then # We need to hardcode the library path if test -n "$shlibpath_var" && test -z "$avoidtemprpath"; then # Make sure the rpath contains only unique directories. case $temp_rpath: in *"$absdir:"*) ;; *) func_append temp_rpath "$absdir:" ;; esac fi # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) func_append compile_rpath " $absdir" ;; esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac ;; esac fi # $linkmode,$pass = prog,link... if $alldeplibs && { test pass_all = "$deplibs_check_method" || { test yes = "$build_libtool_libs" && test -n "$library_names"; }; }; then # We only need to search for static libraries continue fi fi link_static=no # Whether the deplib will be linked statically use_static_libs=$prefer_static_libs if test built = "$use_static_libs" && test yes = "$installed"; then use_static_libs=no fi if test -n "$library_names" && { test no = "$use_static_libs" || test -z "$old_library"; }; then case $host in *cygwin* | *mingw* | *cegcc* | *os2*) # No point in relinking DLLs because paths are not encoded func_append notinst_deplibs " $lib" need_relink=no ;; *) if test no = "$installed"; then func_append notinst_deplibs " $lib" need_relink=yes fi ;; esac # This is a shared library # Warn about portability, can't link against -module's on some # systems (darwin). Don't bleat about dlopened modules though! dlopenmodule= for dlpremoduletest in $dlprefiles; do if test "X$dlpremoduletest" = "X$lib"; then dlopenmodule=$dlpremoduletest break fi done if test -z "$dlopenmodule" && test yes = "$shouldnotlink" && test link = "$pass"; then echo if test prog = "$linkmode"; then $ECHO "*** Warning: Linking the executable $output against the loadable module" else $ECHO "*** Warning: Linking the shared library $output against the loadable module" fi $ECHO "*** $linklib is not portable!" fi if test lib = "$linkmode" && test yes = "$hardcode_into_libs"; then # Hardcode the library path. # Skip directories that are in the system default run-time # search path. case " $sys_lib_dlsearch_path " in *" $absdir "*) ;; *) case "$compile_rpath " in *" $absdir "*) ;; *) func_append compile_rpath " $absdir" ;; esac ;; esac case " $sys_lib_dlsearch_path " in *" $libdir "*) ;; *) case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac ;; esac fi if test -n "$old_archive_from_expsyms_cmds"; then # figure out the soname set dummy $library_names shift realname=$1 shift libname=`eval "\\$ECHO \"$libname_spec\""` # use dlname if we got it. it's perfectly good, no? if test -n "$dlname"; then soname=$dlname elif test -n "$soname_spec"; then # bleh windows case $host in *cygwin* | mingw* | *cegcc* | *os2*) func_arith $current - $age major=$func_arith_result versuffix=-$major ;; esac eval soname=\"$soname_spec\" else soname=$realname fi # Make a new name for the extract_expsyms_cmds to use soroot=$soname func_basename "$soroot" soname=$func_basename_result func_stripname 'lib' '.dll' "$soname" newlib=libimp-$func_stripname_result.a # If the library has no export list, then create one now if test -f "$output_objdir/$soname-def"; then : else func_verbose "extracting exported symbol list from '$soname'" func_execute_cmds "$extract_expsyms_cmds" 'exit $?' fi # Create $newlib if test -f "$output_objdir/$newlib"; then :; else func_verbose "generating import library for '$soname'" func_execute_cmds "$old_archive_from_expsyms_cmds" 'exit $?' fi # make sure the library variables are pointing to the new library dir=$output_objdir linklib=$newlib fi # test -n "$old_archive_from_expsyms_cmds" if test prog = "$linkmode" || test relink != "$opt_mode"; then add_shlibpath= add_dir= add= lib_linked=yes case $hardcode_action in immediate | unsupported) if test no = "$hardcode_direct"; then add=$dir/$linklib case $host in *-*-sco3.2v5.0.[024]*) add_dir=-L$dir ;; *-*-sysv4*uw2*) add_dir=-L$dir ;; *-*-sysv5OpenUNIX* | *-*-sysv5UnixWare7.[01].[10]* | \ *-*-unixware7*) add_dir=-L$dir ;; *-*-darwin* ) # if the lib is a (non-dlopened) module then we cannot # link against it, someone is ignoring the earlier warnings if /usr/bin/file -L $add 2> /dev/null | $GREP ": [^:]* bundle" >/dev/null; then if test "X$dlopenmodule" != "X$lib"; then $ECHO "*** Warning: lib $linklib is a module, not a shared library" if test -z "$old_library"; then echo echo "*** And there doesn't seem to be a static archive available" echo "*** The link will probably fail, sorry" else add=$dir/$old_library fi elif test -n "$old_library"; then add=$dir/$old_library fi fi esac elif test no = "$hardcode_minus_L"; then case $host in *-*-sunos*) add_shlibpath=$dir ;; esac add_dir=-L$dir add=-l$name elif test no = "$hardcode_shlibpath_var"; then add_shlibpath=$dir add=-l$name else lib_linked=no fi ;; relink) if test yes = "$hardcode_direct" && test no = "$hardcode_direct_absolute"; then add=$dir/$linklib elif test yes = "$hardcode_minus_L"; then add_dir=-L$absdir # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi add=-l$name elif test yes = "$hardcode_shlibpath_var"; then add_shlibpath=$dir add=-l$name else lib_linked=no fi ;; *) lib_linked=no ;; esac if test yes != "$lib_linked"; then func_fatal_configuration "unsupported hardcode properties" fi if test -n "$add_shlibpath"; then case :$compile_shlibpath: in *":$add_shlibpath:"*) ;; *) func_append compile_shlibpath "$add_shlibpath:" ;; esac fi if test prog = "$linkmode"; then test -n "$add_dir" && compile_deplibs="$add_dir $compile_deplibs" test -n "$add" && compile_deplibs="$add $compile_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" if test yes != "$hardcode_direct" && test yes != "$hardcode_minus_L" && test yes = "$hardcode_shlibpath_var"; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac fi fi fi if test prog = "$linkmode" || test relink = "$opt_mode"; then add_shlibpath= add_dir= add= # Finalize command for both is simple: just hardcode it. if test yes = "$hardcode_direct" && test no = "$hardcode_direct_absolute"; then add=$libdir/$linklib elif test yes = "$hardcode_minus_L"; then add_dir=-L$libdir add=-l$name elif test yes = "$hardcode_shlibpath_var"; then case :$finalize_shlibpath: in *":$libdir:"*) ;; *) func_append finalize_shlibpath "$libdir:" ;; esac add=-l$name elif test yes = "$hardcode_automatic"; then if test -n "$inst_prefix_dir" && test -f "$inst_prefix_dir$libdir/$linklib"; then add=$inst_prefix_dir$libdir/$linklib else add=$libdir/$linklib fi else # We cannot seem to hardcode it, guess we'll fake it. add_dir=-L$libdir # Try looking first in the location we're being installed to. if test -n "$inst_prefix_dir"; then case $libdir in [\\/]*) func_append add_dir " -L$inst_prefix_dir$libdir" ;; esac fi add=-l$name fi if test prog = "$linkmode"; then test -n "$add_dir" && finalize_deplibs="$add_dir $finalize_deplibs" test -n "$add" && finalize_deplibs="$add $finalize_deplibs" else test -n "$add_dir" && deplibs="$add_dir $deplibs" test -n "$add" && deplibs="$add $deplibs" fi fi elif test prog = "$linkmode"; then # Here we assume that one of hardcode_direct or hardcode_minus_L # is not unsupported. This is valid on all known static and # shared platforms. if test unsupported != "$hardcode_direct"; then test -n "$old_library" && linklib=$old_library compile_deplibs="$dir/$linklib $compile_deplibs" finalize_deplibs="$dir/$linklib $finalize_deplibs" else compile_deplibs="-l$name -L$dir $compile_deplibs" finalize_deplibs="-l$name -L$dir $finalize_deplibs" fi elif test yes = "$build_libtool_libs"; then # Not a shared library if test pass_all != "$deplibs_check_method"; then # We're trying link a shared library against a static one # but the system doesn't support it. # Just print a warning and add the library to dependency_libs so # that the program can be linked against the static library. echo $ECHO "*** Warning: This system cannot link to static lib archive $lib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have." if test yes = "$module"; then echo "*** But as you try to build a module library, libtool will still create " echo "*** a static module, that should work as long as the dlopening application" echo "*** is linked with the -dlopen flag to resolve symbols at runtime." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using 'nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** 'nm' from GNU binutils and a full rebuild may help." fi if test no = "$build_old_libs"; then build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi else deplibs="$dir/$old_library $deplibs" link_static=yes fi fi # link shared/static library? if test lib = "$linkmode"; then if test -n "$dependency_libs" && { test yes != "$hardcode_into_libs" || test yes = "$build_old_libs" || test yes = "$link_static"; }; then # Extract -R from dependency_libs temp_deplibs= for libdir in $dependency_libs; do case $libdir in -R*) func_stripname '-R' '' "$libdir" temp_xrpath=$func_stripname_result case " $xrpath " in *" $temp_xrpath "*) ;; *) func_append xrpath " $temp_xrpath";; esac;; *) func_append temp_deplibs " $libdir";; esac done dependency_libs=$temp_deplibs fi func_append newlib_search_path " $absdir" # Link against this library test no = "$link_static" && newdependency_libs="$abs_ladir/$laname $newdependency_libs" # ... and its dependency_libs tmp_libs= for deplib in $dependency_libs; do newdependency_libs="$deplib $newdependency_libs" case $deplib in -L*) func_stripname '-L' '' "$deplib" func_resolve_sysroot "$func_stripname_result";; *) func_resolve_sysroot "$deplib" ;; esac if $opt_preserve_dup_deps; then case "$tmp_libs " in *" $func_resolve_sysroot_result "*) func_append specialdeplibs " $func_resolve_sysroot_result" ;; esac fi func_append tmp_libs " $func_resolve_sysroot_result" done if test no != "$link_all_deplibs"; then # Add the search paths of all dependency libraries for deplib in $dependency_libs; do path= case $deplib in -L*) path=$deplib ;; *.la) func_resolve_sysroot "$deplib" deplib=$func_resolve_sysroot_result func_dirname "$deplib" "" "." dir=$func_dirname_result # We need an absolute path. case $dir in [\\/]* | [A-Za-z]:[\\/]*) absdir=$dir ;; *) absdir=`cd "$dir" && pwd` if test -z "$absdir"; then func_warning "cannot determine absolute directory name of '$dir'" absdir=$dir fi ;; esac if $GREP "^installed=no" $deplib > /dev/null; then case $host in *-*-darwin*) depdepl= eval deplibrary_names=`$SED -n -e 's/^library_names=\(.*\)$/\1/p' $deplib` if test -n "$deplibrary_names"; then for tmp in $deplibrary_names; do depdepl=$tmp done if test -f "$absdir/$objdir/$depdepl"; then depdepl=$absdir/$objdir/$depdepl darwin_install_name=`$OTOOL -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` if test -z "$darwin_install_name"; then darwin_install_name=`$OTOOL64 -L $depdepl | awk '{if (NR == 2) {print $1;exit}}'` fi func_append compiler_flags " $wl-dylib_file $wl$darwin_install_name:$depdepl" func_append linker_flags " -dylib_file $darwin_install_name:$depdepl" path= fi fi ;; *) path=-L$absdir/$objdir ;; esac else eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $deplib` test -z "$libdir" && \ func_fatal_error "'$deplib' is not a valid libtool archive" test "$absdir" != "$libdir" && \ func_warning "'$deplib' seems to be moved" path=-L$absdir fi ;; esac case " $deplibs " in *" $path "*) ;; *) deplibs="$path $deplibs" ;; esac done fi # link_all_deplibs != no fi # linkmode = lib done # for deplib in $libs if test link = "$pass"; then if test prog = "$linkmode"; then compile_deplibs="$new_inherited_linker_flags $compile_deplibs" finalize_deplibs="$new_inherited_linker_flags $finalize_deplibs" else compiler_flags="$compiler_flags "`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` fi fi dependency_libs=$newdependency_libs if test dlpreopen = "$pass"; then # Link the dlpreopened libraries before other libraries for deplib in $save_deplibs; do deplibs="$deplib $deplibs" done fi if test dlopen != "$pass"; then test conv = "$pass" || { # Make sure lib_search_path contains only unique directories. lib_search_path= for dir in $newlib_search_path; do case "$lib_search_path " in *" $dir "*) ;; *) func_append lib_search_path " $dir" ;; esac done newlib_search_path= } if test prog,link = "$linkmode,$pass"; then vars="compile_deplibs finalize_deplibs" else vars=deplibs fi for var in $vars dependency_libs; do # Add libraries to $var in reverse order eval tmp_libs=\"\$$var\" new_libs= for deplib in $tmp_libs; do # FIXME: Pedantically, this is the right thing to do, so # that some nasty dependency loop isn't accidentally # broken: #new_libs="$deplib $new_libs" # Pragmatically, this seems to cause very few problems in # practice: case $deplib in -L*) new_libs="$deplib $new_libs" ;; -R*) ;; *) # And here is the reason: when a library appears more # than once as an explicit dependence of a library, or # is implicitly linked in more than once by the # compiler, it is considered special, and multiple # occurrences thereof are not removed. Compare this # with having the same library being listed as a # dependency of multiple other libraries: in this case, # we know (pedantically, we assume) the library does not # need to be listed more than once, so we keep only the # last copy. This is not always right, but it is rare # enough that we require users that really mean to play # such unportable linking tricks to link the library # using -Wl,-lname, so that libtool does not consider it # for duplicate removal. case " $specialdeplibs " in *" $deplib "*) new_libs="$deplib $new_libs" ;; *) case " $new_libs " in *" $deplib "*) ;; *) new_libs="$deplib $new_libs" ;; esac ;; esac ;; esac done tmp_libs= for deplib in $new_libs; do case $deplib in -L*) case " $tmp_libs " in *" $deplib "*) ;; *) func_append tmp_libs " $deplib" ;; esac ;; *) func_append tmp_libs " $deplib" ;; esac done eval $var=\"$tmp_libs\" done # for var fi # Add Sun CC postdeps if required: test CXX = "$tagname" && { case $host_os in linux*) case `$CC -V 2>&1 | sed 5q` in *Sun\ C*) # Sun C++ 5.9 func_suncc_cstd_abi if test no != "$suncc_use_cstd_abi"; then func_append postdeps ' -library=Cstd -library=Crun' fi ;; esac ;; solaris*) func_cc_basename "$CC" case $func_cc_basename_result in CC* | sunCC*) func_suncc_cstd_abi if test no != "$suncc_use_cstd_abi"; then func_append postdeps ' -library=Cstd -library=Crun' fi ;; esac ;; esac } # Last step: remove runtime libs from dependency_libs # (they stay in deplibs) tmp_libs= for i in $dependency_libs; do case " $predeps $postdeps $compiler_lib_search_path " in *" $i "*) i= ;; esac if test -n "$i"; then func_append tmp_libs " $i" fi done dependency_libs=$tmp_libs done # for pass if test prog = "$linkmode"; then dlfiles=$newdlfiles fi if test prog = "$linkmode" || test lib = "$linkmode"; then dlprefiles=$newdlprefiles fi case $linkmode in oldlib) if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then func_warning "'-dlopen' is ignored for archives" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "'-l' and '-L' are ignored for archives" ;; esac test -n "$rpath" && \ func_warning "'-rpath' is ignored for archives" test -n "$xrpath" && \ func_warning "'-R' is ignored for archives" test -n "$vinfo" && \ func_warning "'-version-info/-version-number' is ignored for archives" test -n "$release" && \ func_warning "'-release' is ignored for archives" test -n "$export_symbols$export_symbols_regex" && \ func_warning "'-export-symbols' is ignored for archives" # Now set the variables for building old libraries. build_libtool_libs=no oldlibs=$output func_append objs "$old_deplibs" ;; lib) # Make sure we only generate libraries of the form 'libNAME.la'. case $outputname in lib*) func_stripname 'lib' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" ;; *) test no = "$module" \ && func_fatal_help "libtool library '$output' must begin with 'lib'" if test no != "$need_lib_prefix"; then # Add the "lib" prefix for modules if required func_stripname '' '.la' "$outputname" name=$func_stripname_result eval shared_ext=\"$shrext_cmds\" eval libname=\"$libname_spec\" else func_stripname '' '.la' "$outputname" libname=$func_stripname_result fi ;; esac if test -n "$objs"; then if test pass_all != "$deplibs_check_method"; then func_fatal_error "cannot build libtool library '$output' from non-libtool objects on this host:$objs" else echo $ECHO "*** Warning: Linking the shared library $output against the non-libtool" $ECHO "*** objects $objs is not portable!" func_append libobjs " $objs" fi fi test no = "$dlself" \ || func_warning "'-dlopen self' is ignored for libtool libraries" set dummy $rpath shift test 1 -lt "$#" \ && func_warning "ignoring multiple '-rpath's for a libtool library" install_libdir=$1 oldlibs= if test -z "$rpath"; then if test yes = "$build_libtool_libs"; then # Building a libtool convenience library. # Some compilers have problems with a '.al' extension so # convenience libraries should have the same extension an # archive normally would. oldlibs="$output_objdir/$libname.$libext $oldlibs" build_libtool_libs=convenience build_old_libs=yes fi test -n "$vinfo" && \ func_warning "'-version-info/-version-number' is ignored for convenience libraries" test -n "$release" && \ func_warning "'-release' is ignored for convenience libraries" else # Parse the version information argument. save_ifs=$IFS; IFS=: set dummy $vinfo 0 0 0 shift IFS=$save_ifs test -n "$7" && \ func_fatal_help "too many parameters to '-version-info'" # convert absolute version numbers to libtool ages # this retains compatibility with .la files and attempts # to make the code below a bit more comprehensible case $vinfo_number in yes) number_major=$1 number_minor=$2 number_revision=$3 # # There are really only two kinds -- those that # use the current revision as the major version # and those that subtract age and use age as # a minor version. But, then there is irix # that has an extra 1 added just for fun # case $version_type in # correct linux to gnu/linux during the next big refactor darwin|freebsd-elf|linux|osf|windows|none) func_arith $number_major + $number_minor current=$func_arith_result age=$number_minor revision=$number_revision ;; freebsd-aout|qnx|sunos) current=$number_major revision=$number_minor age=0 ;; irix|nonstopux) func_arith $number_major + $number_minor current=$func_arith_result age=$number_minor revision=$number_minor lt_irix_increment=no ;; *) func_fatal_configuration "$modename: unknown library version type '$version_type'" ;; esac ;; no) current=$1 revision=$2 age=$3 ;; esac # Check that each of the things are valid numbers. case $current in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "CURRENT '$current' must be a nonnegative integer" func_fatal_error "'$vinfo' is not valid version information" ;; esac case $revision in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "REVISION '$revision' must be a nonnegative integer" func_fatal_error "'$vinfo' is not valid version information" ;; esac case $age in 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; *) func_error "AGE '$age' must be a nonnegative integer" func_fatal_error "'$vinfo' is not valid version information" ;; esac if test "$age" -gt "$current"; then func_error "AGE '$age' is greater than the current interface number '$current'" func_fatal_error "'$vinfo' is not valid version information" fi # Calculate the version variables. major= versuffix= verstring= case $version_type in none) ;; darwin) # Like Linux, but with the current version available in # verstring for coding it into the library header func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision # Darwin ld doesn't like 0 for these options... func_arith $current + 1 minor_current=$func_arith_result xlcverstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" # On Darwin other compilers case $CC in nagfor*) verstring="$wl-compatibility_version $wl$minor_current $wl-current_version $wl$minor_current.$revision" ;; *) verstring="-compatibility_version $minor_current -current_version $minor_current.$revision" ;; esac ;; freebsd-aout) major=.$current versuffix=.$current.$revision ;; freebsd-elf) func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision ;; irix | nonstopux) if test no = "$lt_irix_increment"; then func_arith $current - $age else func_arith $current - $age + 1 fi major=$func_arith_result case $version_type in nonstopux) verstring_prefix=nonstopux ;; *) verstring_prefix=sgi ;; esac verstring=$verstring_prefix$major.$revision # Add in all the interfaces that we are compatible with. loop=$revision while test 0 -ne "$loop"; do func_arith $revision - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring=$verstring_prefix$major.$iface:$verstring done # Before this point, $major must not contain '.'. major=.$major versuffix=$major.$revision ;; linux) # correct to gnu/linux during the next big refactor func_arith $current - $age major=.$func_arith_result versuffix=$major.$age.$revision ;; osf) func_arith $current - $age major=.$func_arith_result versuffix=.$current.$age.$revision verstring=$current.$age.$revision # Add in all the interfaces that we are compatible with. loop=$age while test 0 -ne "$loop"; do func_arith $current - $loop iface=$func_arith_result func_arith $loop - 1 loop=$func_arith_result verstring=$verstring:$iface.0 done # Make executables depend on our current version. func_append verstring ":$current.0" ;; qnx) major=.$current versuffix=.$current ;; sco) major=.$current versuffix=.$current ;; sunos) major=.$current versuffix=.$current.$revision ;; windows) # Use '-' rather than '.', since we only want one # extension on DOS 8.3 file systems. func_arith $current - $age major=$func_arith_result versuffix=-$major ;; *) func_fatal_configuration "unknown library version type '$version_type'" ;; esac # Clear the version info if we defaulted, and they specified a release. if test -z "$vinfo" && test -n "$release"; then major= case $version_type in darwin) # we can't check for "0.0" in archive_cmds due to quoting # problems, so we reset it completely verstring= ;; *) verstring=0.0 ;; esac if test no = "$need_version"; then versuffix= else versuffix=.0.0 fi fi # Remove version info from name if versioning should be avoided if test yes,no = "$avoid_version,$need_version"; then major= versuffix= verstring= fi # Check to see if the archive will have undefined symbols. if test yes = "$allow_undefined"; then if test unsupported = "$allow_undefined_flag"; then if test yes = "$build_old_libs"; then func_warning "undefined symbols not allowed in $host shared libraries; building static only" build_libtool_libs=no else func_fatal_error "can't build $host shared library unless -no-undefined is specified" fi fi else # Don't allow undefined symbols. allow_undefined_flag=$no_undefined_flag fi fi func_generate_dlsyms "$libname" "$libname" : func_append libobjs " $symfileobj" test " " = "$libobjs" && libobjs= if test relink != "$opt_mode"; then # Remove our outputs, but don't remove object files since they # may have been created when compiling PIC objects. removelist= tempremovelist=`$ECHO "$output_objdir/*"` for p in $tempremovelist; do case $p in *.$objext | *.gcno) ;; $output_objdir/$outputname | $output_objdir/$libname.* | $output_objdir/$libname$release.*) if test -n "$precious_files_regex"; then if $ECHO "$p" | $EGREP -e "$precious_files_regex" >/dev/null 2>&1 then continue fi fi func_append removelist " $p" ;; *) ;; esac done test -n "$removelist" && \ func_show_eval "${RM}r \$removelist" fi # Now set the variables for building old libraries. if test yes = "$build_old_libs" && test convenience != "$build_libtool_libs"; then func_append oldlibs " $output_objdir/$libname.$libext" # Transform .lo files to .o files. oldobjs="$objs "`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; $lo2o" | $NL2SP` fi # Eliminate all temporary directories. #for path in $notinst_path; do # lib_search_path=`$ECHO "$lib_search_path " | $SED "s% $path % %g"` # deplibs=`$ECHO "$deplibs " | $SED "s% -L$path % %g"` # dependency_libs=`$ECHO "$dependency_libs " | $SED "s% -L$path % %g"` #done if test -n "$xrpath"; then # If the user specified any rpath flags, then add them. temp_xrpath= for libdir in $xrpath; do func_replace_sysroot "$libdir" func_append temp_xrpath " -R$func_replace_sysroot_result" case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac done if test yes != "$hardcode_into_libs" || test yes = "$build_old_libs"; then dependency_libs="$temp_xrpath $dependency_libs" fi fi # Make sure dlfiles contains only unique files that won't be dlpreopened old_dlfiles=$dlfiles dlfiles= for lib in $old_dlfiles; do case " $dlprefiles $dlfiles " in *" $lib "*) ;; *) func_append dlfiles " $lib" ;; esac done # Make sure dlprefiles contains only unique files old_dlprefiles=$dlprefiles dlprefiles= for lib in $old_dlprefiles; do case "$dlprefiles " in *" $lib "*) ;; *) func_append dlprefiles " $lib" ;; esac done if test yes = "$build_libtool_libs"; then if test -n "$rpath"; then case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-*-beos* | *-cegcc* | *-*-haiku*) # these systems don't actually have a c library (as such)! ;; *-*-rhapsody* | *-*-darwin1.[012]) # Rhapsody C library is in the System framework func_append deplibs " System.ltframework" ;; *-*-netbsd*) # Don't link with libc until the a.out ld.so is fixed. ;; *-*-openbsd* | *-*-freebsd* | *-*-dragonfly*) # Do not include libc due to us having libc/libc_r. ;; *-*-sco3.2v5* | *-*-sco5v6*) # Causes problems with __ctype ;; *-*-sysv4.2uw2* | *-*-sysv5* | *-*-unixware* | *-*-OpenUNIX*) # Compiler inserts libc in the correct place for threads to work ;; *) # Add libc to deplibs on all other systems if necessary. if test yes = "$build_libtool_need_lc"; then func_append deplibs " -lc" fi ;; esac fi # Transform deplibs into only deplibs that can be linked in shared. name_save=$name libname_save=$libname release_save=$release versuffix_save=$versuffix major_save=$major # I'm not sure if I'm treating the release correctly. I think # release should show up in the -l (ie -lgmp5) so we don't want to # add it in twice. Is that correct? release= versuffix= major= newdeplibs= droppeddeps=no case $deplibs_check_method in pass_all) # Don't check for shared/static. Everything works. # This might be a little naive. We might want to check # whether the library exists or not. But this is on # osf3 & osf4 and I'm not really sure... Just # implementing what was already the behavior. newdeplibs=$deplibs ;; test_compile) # This code stresses the "libraries are programs" paradigm to its # limits. Maybe even breaks it. We compile a program, linking it # against the deplibs as a proxy for the library. Then we can check # whether they linked in statically or dynamically with ldd. $opt_dry_run || $RM conftest.c cat > conftest.c </dev/null` $nocaseglob else potential_libs=`ls $i/$libnameglob[.-]* 2>/dev/null` fi for potent_lib in $potential_libs; do # Follow soft links. if ls -lLd "$potent_lib" 2>/dev/null | $GREP " -> " >/dev/null; then continue fi # The statement above tries to avoid entering an # endless loop below, in case of cyclic links. # We might still enter an endless loop, since a link # loop can be closed while we follow links, # but so what? potlib=$potent_lib while test -h "$potlib" 2>/dev/null; do potliblink=`ls -ld $potlib | $SED 's/.* -> //'` case $potliblink in [\\/]* | [A-Za-z]:[\\/]*) potlib=$potliblink;; *) potlib=`$ECHO "$potlib" | $SED 's|[^/]*$||'`"$potliblink";; esac done if eval $file_magic_cmd \"\$potlib\" 2>/dev/null | $SED -e 10q | $EGREP "$file_magic_regex" > /dev/null; then func_append newdeplibs " $a_deplib" a_deplib= break 2 fi done done fi if test -n "$a_deplib"; then droppeddeps=yes echo $ECHO "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib"; then $ECHO "*** with $libname but no candidates were found. (...for file magic test)" else $ECHO "*** with $libname and none of the candidates passed a file format test" $ECHO "*** using a file magic. Last file checked: $potlib" fi fi ;; *) # Add a -L argument. func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; match_pattern*) set dummy $deplibs_check_method; shift match_pattern_regex=`expr "$deplibs_check_method" : "$1 \(.*\)"` for a_deplib in $deplibs; do case $a_deplib in -l*) func_stripname -l '' "$a_deplib" name=$func_stripname_result if test yes = "$allow_libtool_libs_with_static_runtimes"; then case " $predeps $postdeps " in *" $a_deplib "*) func_append newdeplibs " $a_deplib" a_deplib= ;; esac fi if test -n "$a_deplib"; then libname=`eval "\\$ECHO \"$libname_spec\""` for i in $lib_search_path $sys_lib_search_path $shlib_search_path; do potential_libs=`ls $i/$libname[.-]* 2>/dev/null` for potent_lib in $potential_libs; do potlib=$potent_lib # see symlink-check above in file_magic test if eval "\$ECHO \"$potent_lib\"" 2>/dev/null | $SED 10q | \ $EGREP "$match_pattern_regex" > /dev/null; then func_append newdeplibs " $a_deplib" a_deplib= break 2 fi done done fi if test -n "$a_deplib"; then droppeddeps=yes echo $ECHO "*** Warning: linker path does not have real file for library $a_deplib." echo "*** I have the capability to make that library automatically link in when" echo "*** you link to this library. But I can only do this if you have a" echo "*** shared version of the library, which you do not appear to have" echo "*** because I did check the linker path looking for a file starting" if test -z "$potlib"; then $ECHO "*** with $libname but no candidates were found. (...for regex pattern test)" else $ECHO "*** with $libname and none of the candidates passed a file format test" $ECHO "*** using a regex pattern. Last file checked: $potlib" fi fi ;; *) # Add a -L argument. func_append newdeplibs " $a_deplib" ;; esac done # Gone through all deplibs. ;; none | unknown | *) newdeplibs= tmp_deplibs=`$ECHO " $deplibs" | $SED 's/ -lc$//; s/ -[LR][^ ]*//g'` if test yes = "$allow_libtool_libs_with_static_runtimes"; then for i in $predeps $postdeps; do # can't use Xsed below, because $i might contain '/' tmp_deplibs=`$ECHO " $tmp_deplibs" | $SED "s|$i||"` done fi case $tmp_deplibs in *[!\ \ ]*) echo if test none = "$deplibs_check_method"; then echo "*** Warning: inter-library dependencies are not supported in this platform." else echo "*** Warning: inter-library dependencies are not known to be supported." fi echo "*** All declared inter-library dependencies are being dropped." droppeddeps=yes ;; esac ;; esac versuffix=$versuffix_save major=$major_save release=$release_save libname=$libname_save name=$name_save case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library with the System framework newdeplibs=`$ECHO " $newdeplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac if test yes = "$droppeddeps"; then if test yes = "$module"; then echo echo "*** Warning: libtool could not satisfy all declared inter-library" $ECHO "*** dependencies of module $libname. Therefore, libtool will create" echo "*** a static module, that should work as long as the dlopening" echo "*** application is linked with the -dlopen flag." if test -z "$global_symbol_pipe"; then echo echo "*** However, this would only work if libtool was able to extract symbol" echo "*** lists from a program, using 'nm' or equivalent, but libtool could" echo "*** not find such a program. So, this module is probably useless." echo "*** 'nm' from GNU binutils and a full rebuild may help." fi if test no = "$build_old_libs"; then oldlibs=$output_objdir/$libname.$libext build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi else echo "*** The inter-library dependencies that have been dropped here will be" echo "*** automatically added whenever a program is linked with this library" echo "*** or is declared to -dlopen it." if test no = "$allow_undefined"; then echo echo "*** Since this library must not contain undefined symbols," echo "*** because either the platform does not support them or" echo "*** it was explicitly requested with -no-undefined," echo "*** libtool will only create a static version of it." if test no = "$build_old_libs"; then oldlibs=$output_objdir/$libname.$libext build_libtool_libs=module build_old_libs=yes else build_libtool_libs=no fi fi fi fi # Done checking deplibs! deplibs=$newdeplibs fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" case $host in *-*-darwin*) newdeplibs=`$ECHO " $newdeplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` new_inherited_linker_flags=`$ECHO " $new_inherited_linker_flags" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` deplibs=`$ECHO " $deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $deplibs " in *" -L$path/$objdir "*) func_append new_libs " -L$path/$objdir" ;; esac ;; esac done for deplib in $deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) func_append new_libs " $deplib" ;; esac ;; *) func_append new_libs " $deplib" ;; esac done deplibs=$new_libs # All the library-specific variables (install_libdir is set above). library_names= old_library= dlname= # Test again, we may have decided not to build it any more if test yes = "$build_libtool_libs"; then # Remove $wl instances when linking with ld. # FIXME: should test the right _cmds variable. case $archive_cmds in *\$LD\ *) wl= ;; esac if test yes = "$hardcode_into_libs"; then # Hardcode the library paths hardcode_libdirs= dep_rpath= rpath=$finalize_rpath test relink = "$opt_mode" || rpath=$compile_rpath$rpath for libdir in $rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then func_replace_sysroot "$libdir" libdir=$func_replace_sysroot_result if test -z "$hardcode_libdirs"; then hardcode_libdirs=$libdir else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append dep_rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) func_append perm_rpath " $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir=$hardcode_libdirs eval "dep_rpath=\"$hardcode_libdir_flag_spec\"" fi if test -n "$runpath_var" && test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do func_append rpath "$dir:" done eval "$runpath_var='$rpath\$$runpath_var'; export $runpath_var" fi test -n "$dep_rpath" && deplibs="$dep_rpath $deplibs" fi shlibpath=$finalize_shlibpath test relink = "$opt_mode" || shlibpath=$compile_shlibpath$shlibpath if test -n "$shlibpath"; then eval "$shlibpath_var='$shlibpath\$$shlibpath_var'; export $shlibpath_var" fi # Get the real and link names of the library. eval shared_ext=\"$shrext_cmds\" eval library_names=\"$library_names_spec\" set dummy $library_names shift realname=$1 shift if test -n "$soname_spec"; then eval soname=\"$soname_spec\" else soname=$realname fi if test -z "$dlname"; then dlname=$soname fi lib=$output_objdir/$realname linknames= for link do func_append linknames " $link" done # Use standard objects if they are pic test -z "$pic_flag" && libobjs=`$ECHO "$libobjs" | $SP2NL | $SED "$lo2o" | $NL2SP` test "X$libobjs" = "X " && libobjs= delfiles= if test -n "$export_symbols" && test -n "$include_expsyms"; then $opt_dry_run || cp "$export_symbols" "$output_objdir/$libname.uexp" export_symbols=$output_objdir/$libname.uexp func_append delfiles " $export_symbols" fi orig_export_symbols= case $host_os in cygwin* | mingw* | cegcc*) if test -n "$export_symbols" && test -z "$export_symbols_regex"; then # exporting using user supplied symfile func_dll_def_p "$export_symbols" || { # and it's NOT already a .def file. Must figure out # which of the given symbols are data symbols and tag # them as such. So, trigger use of export_symbols_cmds. # export_symbols gets reassigned inside the "prepare # the list of exported symbols" if statement, so the # include_expsyms logic still works. orig_export_symbols=$export_symbols export_symbols= always_export_symbols=yes } fi ;; esac # Prepare the list of exported symbols if test -z "$export_symbols"; then if test yes = "$always_export_symbols" || test -n "$export_symbols_regex"; then func_verbose "generating symbol list for '$libname.la'" export_symbols=$output_objdir/$libname.exp $opt_dry_run || $RM $export_symbols cmds=$export_symbols_cmds save_ifs=$IFS; IFS='~' for cmd1 in $cmds; do IFS=$save_ifs # Take the normal branch if the nm_file_list_spec branch # doesn't work or if tool conversion is not needed. case $nm_file_list_spec~$to_tool_file_cmd in *~func_convert_file_noop | *~func_convert_file_msys_to_w32 | ~*) try_normal_branch=yes eval cmd=\"$cmd1\" func_len " $cmd" len=$func_len_result ;; *) try_normal_branch=no ;; esac if test yes = "$try_normal_branch" \ && { test "$len" -lt "$max_cmd_len" \ || test "$max_cmd_len" -le -1; } then func_show_eval "$cmd" 'exit $?' skipped_export=false elif test -n "$nm_file_list_spec"; then func_basename "$output" output_la=$func_basename_result save_libobjs=$libobjs save_output=$output output=$output_objdir/$output_la.nm func_to_tool_file "$output" libobjs=$nm_file_list_spec$func_to_tool_file_result func_append delfiles " $output" func_verbose "creating $NM input file list: $output" for obj in $save_libobjs; do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" done > "$output" eval cmd=\"$cmd1\" func_show_eval "$cmd" 'exit $?' output=$save_output libobjs=$save_libobjs skipped_export=false else # The command line is too long to execute in one step. func_verbose "using reloadable object file for export list..." skipped_export=: # Break out early, otherwise skipped_export may be # set to false by a later but shorter cmd. break fi done IFS=$save_ifs if test -n "$export_symbols_regex" && test : != "$skipped_export"; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi fi if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols=$export_symbols test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test : != "$skipped_export" && test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for '$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands, which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi tmp_deplibs= for test_deplib in $deplibs; do case " $convenience " in *" $test_deplib "*) ;; *) func_append tmp_deplibs " $test_deplib" ;; esac done deplibs=$tmp_deplibs if test -n "$convenience"; then if test -n "$whole_archive_flag_spec" && test yes = "$compiler_needs_object" && test -z "$libobjs"; then # extract the archives, so we have objects to list. # TODO: could optimize this to just extract one archive. whole_archive_flag_spec= fi if test -n "$whole_archive_flag_spec"; then save_libobjs=$libobjs eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= else gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $convenience func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi fi if test yes = "$thread_safe" && test -n "$thread_safe_flag_spec"; then eval flag=\"$thread_safe_flag_spec\" func_append linker_flags " $flag" fi # Make a backup of the uninstalled library when relinking if test relink = "$opt_mode"; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}U && $MV $realname ${realname}U)' || exit $? fi # Do each of the archive commands. if test yes = "$module" && test -n "$module_cmds"; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then eval test_cmds=\"$module_expsym_cmds\" cmds=$module_expsym_cmds else eval test_cmds=\"$module_cmds\" cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then eval test_cmds=\"$archive_expsym_cmds\" cmds=$archive_expsym_cmds else eval test_cmds=\"$archive_cmds\" cmds=$archive_cmds fi fi if test : != "$skipped_export" && func_len " $test_cmds" && len=$func_len_result && test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then : else # The command line is too long to link in one step, link piecewise # or, if using GNU ld and skipped_export is not :, use a linker # script. # Save the value of $output and $libobjs because we want to # use them later. If we have whole_archive_flag_spec, we # want to use save_libobjs as it was before # whole_archive_flag_spec was expanded, because we can't # assume the linker understands whole_archive_flag_spec. # This may have to be revisited, in case too many # convenience libraries get linked in and end up exceeding # the spec. if test -z "$convenience" || test -z "$whole_archive_flag_spec"; then save_libobjs=$libobjs fi save_output=$output func_basename "$output" output_la=$func_basename_result # Clear the reloadable object creation command queue and # initialize k to one. test_cmds= concat_cmds= objlist= last_robj= k=1 if test -n "$save_libobjs" && test : != "$skipped_export" && test yes = "$with_gnu_ld"; then output=$output_objdir/$output_la.lnkscript func_verbose "creating GNU ld script: $output" echo 'INPUT (' > $output for obj in $save_libobjs do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done echo ')' >> $output func_append delfiles " $output" func_to_tool_file "$output" output=$func_to_tool_file_result elif test -n "$save_libobjs" && test : != "$skipped_export" && test -n "$file_list_spec"; then output=$output_objdir/$output_la.lnk func_verbose "creating linker input file list: $output" : > $output set x $save_libobjs shift firstobj= if test yes = "$compiler_needs_object"; then firstobj="$1 " shift fi for obj do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" >> $output done func_append delfiles " $output" func_to_tool_file "$output" output=$firstobj\"$file_list_spec$func_to_tool_file_result\" else if test -n "$save_libobjs"; then func_verbose "creating reloadable object files..." output=$output_objdir/$output_la-$k.$objext eval test_cmds=\"$reload_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 # Loop over the list of objects to be linked. for obj in $save_libobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result if test -z "$objlist" || test "$len" -lt "$max_cmd_len"; then func_append objlist " $obj" else # The command $test_cmds is almost too long, add a # command to the queue. if test 1 -eq "$k"; then # The first file doesn't have a previous command to add. reload_objs=$objlist eval concat_cmds=\"$reload_cmds\" else # All subsequent reloadable object files will link in # the last one created. reload_objs="$objlist $last_robj" eval concat_cmds=\"\$concat_cmds~$reload_cmds~\$RM $last_robj\" fi last_robj=$output_objdir/$output_la-$k.$objext func_arith $k + 1 k=$func_arith_result output=$output_objdir/$output_la-$k.$objext objlist=" $obj" func_len " $last_robj" func_arith $len0 + $func_len_result len=$func_arith_result fi done # Handle the remaining objects by creating one last # reloadable object file. All subsequent reloadable object # files will link in the last one created. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ reload_objs="$objlist $last_robj" eval concat_cmds=\"\$concat_cmds$reload_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" fi func_append delfiles " $output" else output= fi ${skipped_export-false} && { func_verbose "generating symbol list for '$libname.la'" export_symbols=$output_objdir/$libname.exp $opt_dry_run || $RM $export_symbols libobjs=$output # Append the command to create the export file. test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\$concat_cmds$export_symbols_cmds\" if test -n "$last_robj"; then eval concat_cmds=\"\$concat_cmds~\$RM $last_robj\" fi } test -n "$save_libobjs" && func_verbose "creating a temporary reloadable object file: $output" # Loop through the commands generated above and execute them. save_ifs=$IFS; IFS='~' for cmd in $concat_cmds; do IFS=$save_ifs $opt_quiet || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test relink = "$opt_mode"; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS=$save_ifs if test -n "$export_symbols_regex" && ${skipped_export-false}; then func_show_eval '$EGREP -e "$export_symbols_regex" "$export_symbols" > "${export_symbols}T"' func_show_eval '$MV "${export_symbols}T" "$export_symbols"' fi fi ${skipped_export-false} && { if test -n "$export_symbols" && test -n "$include_expsyms"; then tmp_export_symbols=$export_symbols test -n "$orig_export_symbols" && tmp_export_symbols=$orig_export_symbols $opt_dry_run || eval '$ECHO "$include_expsyms" | $SP2NL >> "$tmp_export_symbols"' fi if test -n "$orig_export_symbols"; then # The given exports_symbols file has to be filtered, so filter it. func_verbose "filter symbol list for '$libname.la' to tag DATA exports" # FIXME: $output_objdir/$libname.filter potentially contains lots of # 's' commands, which not all seds can handle. GNU sed should be fine # though. Also, the filter scales superlinearly with the number of # global variables. join(1) would be nice here, but unfortunately # isn't a blessed tool. $opt_dry_run || $SED -e '/[ ,]DATA/!d;s,\(.*\)\([ \,].*\),s|^\1$|\1\2|,' < $export_symbols > $output_objdir/$libname.filter func_append delfiles " $export_symbols $output_objdir/$libname.filter" export_symbols=$output_objdir/$libname.def $opt_dry_run || $SED -f $output_objdir/$libname.filter < $orig_export_symbols > $export_symbols fi } libobjs=$output # Restore the value of output. output=$save_output if test -n "$convenience" && test -n "$whole_archive_flag_spec"; then eval libobjs=\"\$libobjs $whole_archive_flag_spec\" test "X$libobjs" = "X " && libobjs= fi # Expand the library linking commands again to reset the # value of $libobjs for piecewise linking. # Do each of the archive commands. if test yes = "$module" && test -n "$module_cmds"; then if test -n "$export_symbols" && test -n "$module_expsym_cmds"; then cmds=$module_expsym_cmds else cmds=$module_cmds fi else if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then cmds=$archive_expsym_cmds else cmds=$archive_cmds fi fi fi if test -n "$delfiles"; then # Append the command to remove temporary files to $cmds. eval cmds=\"\$cmds~\$RM $delfiles\" fi # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $dlprefiles func_append libobjs " $func_extract_archives_result" test "X$libobjs" = "X " && libobjs= fi save_ifs=$IFS; IFS='~' for cmd in $cmds; do IFS=$sp$nl eval cmd=\"$cmd\" IFS=$save_ifs $opt_quiet || { func_quote_for_expand "$cmd" eval "func_echo $func_quote_for_expand_result" } $opt_dry_run || eval "$cmd" || { lt_exit=$? # Restore the uninstalled library and exit if test relink = "$opt_mode"; then ( cd "$output_objdir" && \ $RM "${realname}T" && \ $MV "${realname}U" "$realname" ) fi exit $lt_exit } done IFS=$save_ifs # Restore the uninstalled library and exit if test relink = "$opt_mode"; then $opt_dry_run || eval '(cd $output_objdir && $RM ${realname}T && $MV $realname ${realname}T && $MV ${realname}U $realname)' || exit $? if test -n "$convenience"; then if test -z "$whole_archive_flag_spec"; then func_show_eval '${RM}r "$gentop"' fi fi exit $EXIT_SUCCESS fi # Create links to the real library. for linkname in $linknames; do if test "$realname" != "$linkname"; then func_show_eval '(cd "$output_objdir" && $RM "$linkname" && $LN_S "$realname" "$linkname")' 'exit $?' fi done # If -module or -export-dynamic was specified, set the dlname. if test yes = "$module" || test yes = "$export_dynamic"; then # On all known operating systems, these are identical. dlname=$soname fi fi ;; obj) if test -n "$dlfiles$dlprefiles" || test no != "$dlself"; then func_warning "'-dlopen' is ignored for objects" fi case " $deplibs" in *\ -l* | *\ -L*) func_warning "'-l' and '-L' are ignored for objects" ;; esac test -n "$rpath" && \ func_warning "'-rpath' is ignored for objects" test -n "$xrpath" && \ func_warning "'-R' is ignored for objects" test -n "$vinfo" && \ func_warning "'-version-info' is ignored for objects" test -n "$release" && \ func_warning "'-release' is ignored for objects" case $output in *.lo) test -n "$objs$old_deplibs" && \ func_fatal_error "cannot build library object '$output' from non-libtool objects" libobj=$output func_lo2o "$libobj" obj=$func_lo2o_result ;; *) libobj= obj=$output ;; esac # Delete the old objects. $opt_dry_run || $RM $obj $libobj # Objects from convenience libraries. This assumes # single-version convenience libraries. Whenever we create # different ones for PIC/non-PIC, this we'll have to duplicate # the extraction. reload_conv_objs= gentop= # if reload_cmds runs $LD directly, get rid of -Wl from # whole_archive_flag_spec and hope we can get by with turning comma # into space. case $reload_cmds in *\$LD[\ \$]*) wl= ;; esac if test -n "$convenience"; then if test -n "$whole_archive_flag_spec"; then eval tmp_whole_archive_flags=\"$whole_archive_flag_spec\" test -n "$wl" || tmp_whole_archive_flags=`$ECHO "$tmp_whole_archive_flags" | $SED 's|,| |g'` reload_conv_objs=$reload_objs\ $tmp_whole_archive_flags else gentop=$output_objdir/${obj}x func_append generated " $gentop" func_extract_archives $gentop $convenience reload_conv_objs="$reload_objs $func_extract_archives_result" fi fi # If we're not building shared, we need to use non_pic_objs test yes = "$build_libtool_libs" || libobjs=$non_pic_objects # Create the old-style object. reload_objs=$objs$old_deplibs' '`$ECHO "$libobjs" | $SP2NL | $SED "/\.$libext$/d; /\.lib$/d; $lo2o" | $NL2SP`' '$reload_conv_objs output=$obj func_execute_cmds "$reload_cmds" 'exit $?' # Exit if we aren't doing a library object file. if test -z "$libobj"; then if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS fi test yes = "$build_libtool_libs" || { if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi # Create an invalid libtool object if no PIC, so that we don't # accidentally link it into a program. # $show "echo timestamp > $libobj" # $opt_dry_run || eval "echo timestamp > $libobj" || exit $? exit $EXIT_SUCCESS } if test -n "$pic_flag" || test default != "$pic_mode"; then # Only do commands if we really have different PIC objects. reload_objs="$libobjs $reload_conv_objs" output=$libobj func_execute_cmds "$reload_cmds" 'exit $?' fi if test -n "$gentop"; then func_show_eval '${RM}r "$gentop"' fi exit $EXIT_SUCCESS ;; prog) case $host in *cygwin*) func_stripname '' '.exe' "$output" output=$func_stripname_result.exe;; esac test -n "$vinfo" && \ func_warning "'-version-info' is ignored for programs" test -n "$release" && \ func_warning "'-release' is ignored for programs" $preload \ && test unknown,unknown,unknown = "$dlopen_support,$dlopen_self,$dlopen_self_static" \ && func_warning "'LT_INIT([dlopen])' not used. Assuming no dlopen support." case $host in *-*-rhapsody* | *-*-darwin1.[012]) # On Rhapsody replace the C library is the System framework compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's/ -lc / System.ltframework /'` finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's/ -lc / System.ltframework /'` ;; esac case $host in *-*-darwin*) # Don't allow lazy linking, it breaks C++ global constructors # But is supposedly fixed on 10.4 or later (yay!). if test CXX = "$tagname"; then case ${MACOSX_DEPLOYMENT_TARGET-10.0} in 10.[0123]) func_append compile_command " $wl-bind_at_load" func_append finalize_command " $wl-bind_at_load" ;; esac fi # Time to change all our "foo.ltframework" stuff back to "-framework foo" compile_deplibs=`$ECHO " $compile_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` finalize_deplibs=`$ECHO " $finalize_deplibs" | $SED 's% \([^ $]*\).ltframework% -framework \1%g'` ;; esac # move library search paths that coincide with paths to not yet # installed libraries to the beginning of the library search list new_libs= for path in $notinst_path; do case " $new_libs " in *" -L$path/$objdir "*) ;; *) case " $compile_deplibs " in *" -L$path/$objdir "*) func_append new_libs " -L$path/$objdir" ;; esac ;; esac done for deplib in $compile_deplibs; do case $deplib in -L*) case " $new_libs " in *" $deplib "*) ;; *) func_append new_libs " $deplib" ;; esac ;; *) func_append new_libs " $deplib" ;; esac done compile_deplibs=$new_libs func_append compile_command " $compile_deplibs" func_append finalize_command " $finalize_deplibs" if test -n "$rpath$xrpath"; then # If the user specified any rpath flags, then add them. for libdir in $rpath $xrpath; do # This is the magic to use -rpath. case "$finalize_rpath " in *" $libdir "*) ;; *) func_append finalize_rpath " $libdir" ;; esac done fi # Now hardcode the library paths rpath= hardcode_libdirs= for libdir in $compile_rpath $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs=$libdir else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$perm_rpath " in *" $libdir "*) ;; *) func_append perm_rpath " $libdir" ;; esac fi case $host in *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2* | *-cegcc*) testbindir=`$ECHO "$libdir" | $SED -e 's*/lib$*/bin*'` case :$dllsearchpath: in *":$libdir:"*) ;; ::) dllsearchpath=$libdir;; *) func_append dllsearchpath ":$libdir";; esac case :$dllsearchpath: in *":$testbindir:"*) ;; ::) dllsearchpath=$testbindir;; *) func_append dllsearchpath ":$testbindir";; esac ;; esac done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir=$hardcode_libdirs eval rpath=\" $hardcode_libdir_flag_spec\" fi compile_rpath=$rpath rpath= hardcode_libdirs= for libdir in $finalize_rpath; do if test -n "$hardcode_libdir_flag_spec"; then if test -n "$hardcode_libdir_separator"; then if test -z "$hardcode_libdirs"; then hardcode_libdirs=$libdir else # Just accumulate the unique libdirs. case $hardcode_libdir_separator$hardcode_libdirs$hardcode_libdir_separator in *"$hardcode_libdir_separator$libdir$hardcode_libdir_separator"*) ;; *) func_append hardcode_libdirs "$hardcode_libdir_separator$libdir" ;; esac fi else eval flag=\"$hardcode_libdir_flag_spec\" func_append rpath " $flag" fi elif test -n "$runpath_var"; then case "$finalize_perm_rpath " in *" $libdir "*) ;; *) func_append finalize_perm_rpath " $libdir" ;; esac fi done # Substitute the hardcoded libdirs into the rpath. if test -n "$hardcode_libdir_separator" && test -n "$hardcode_libdirs"; then libdir=$hardcode_libdirs eval rpath=\" $hardcode_libdir_flag_spec\" fi finalize_rpath=$rpath if test -n "$libobjs" && test yes = "$build_old_libs"; then # Transform all the library objects into standard objects. compile_command=`$ECHO "$compile_command" | $SP2NL | $SED "$lo2o" | $NL2SP` finalize_command=`$ECHO "$finalize_command" | $SP2NL | $SED "$lo2o" | $NL2SP` fi func_generate_dlsyms "$outputname" "@PROGRAM@" false # template prelinking step if test -n "$prelink_cmds"; then func_execute_cmds "$prelink_cmds" 'exit $?' fi wrappers_required=: case $host in *cegcc* | *mingw32ce*) # Disable wrappers for cegcc and mingw32ce hosts, we are cross compiling anyway. wrappers_required=false ;; *cygwin* | *mingw* ) test yes = "$build_libtool_libs" || wrappers_required=false ;; *) if test no = "$need_relink" || test yes != "$build_libtool_libs"; then wrappers_required=false fi ;; esac $wrappers_required || { # Replace the output file specification. compile_command=`$ECHO "$compile_command" | $SED 's%@OUTPUT@%'"$output"'%g'` link_command=$compile_command$compile_rpath # We have no uninstalled library dependencies, so finalize right now. exit_status=0 func_show_eval "$link_command" 'exit_status=$?' if test -n "$postlink_cmds"; then func_to_tool_file "$output" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi # Delete the generated files. if test -f "$output_objdir/${outputname}S.$objext"; then func_show_eval '$RM "$output_objdir/${outputname}S.$objext"' fi exit $exit_status } if test -n "$compile_shlibpath$finalize_shlibpath"; then compile_command="$shlibpath_var=\"$compile_shlibpath$finalize_shlibpath\$$shlibpath_var\" $compile_command" fi if test -n "$finalize_shlibpath"; then finalize_command="$shlibpath_var=\"$finalize_shlibpath\$$shlibpath_var\" $finalize_command" fi compile_var= finalize_var= if test -n "$runpath_var"; then if test -n "$perm_rpath"; then # We should set the runpath_var. rpath= for dir in $perm_rpath; do func_append rpath "$dir:" done compile_var="$runpath_var=\"$rpath\$$runpath_var\" " fi if test -n "$finalize_perm_rpath"; then # We should set the runpath_var. rpath= for dir in $finalize_perm_rpath; do func_append rpath "$dir:" done finalize_var="$runpath_var=\"$rpath\$$runpath_var\" " fi fi if test yes = "$no_install"; then # We don't need to create a wrapper script. link_command=$compile_var$compile_command$compile_rpath # Replace the output file specification. link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output"'%g'` # Delete the old output file. $opt_dry_run || $RM $output # Link the executable and exit func_show_eval "$link_command" 'exit $?' if test -n "$postlink_cmds"; then func_to_tool_file "$output" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi exit $EXIT_SUCCESS fi case $hardcode_action,$fast_install in relink,*) # Fast installation is not supported link_command=$compile_var$compile_command$compile_rpath relink_command=$finalize_var$finalize_command$finalize_rpath func_warning "this platform does not like uninstalled shared libraries" func_warning "'$output' will be relinked during installation" ;; *,yes) link_command=$finalize_var$compile_command$finalize_rpath relink_command=`$ECHO "$compile_var$compile_command$compile_rpath" | $SED 's%@OUTPUT@%\$progdir/\$file%g'` ;; *,no) link_command=$compile_var$compile_command$compile_rpath relink_command=$finalize_var$finalize_command$finalize_rpath ;; *,needless) link_command=$finalize_var$compile_command$finalize_rpath relink_command= ;; esac # Replace the output file specification. link_command=`$ECHO "$link_command" | $SED 's%@OUTPUT@%'"$output_objdir/$outputname"'%g'` # Delete the old output files. $opt_dry_run || $RM $output $output_objdir/$outputname $output_objdir/lt-$outputname func_show_eval "$link_command" 'exit $?' if test -n "$postlink_cmds"; then func_to_tool_file "$output_objdir/$outputname" postlink_cmds=`func_echo_all "$postlink_cmds" | $SED -e 's%@OUTPUT@%'"$output_objdir/$outputname"'%g' -e 's%@TOOL_OUTPUT@%'"$func_to_tool_file_result"'%g'` func_execute_cmds "$postlink_cmds" 'exit $?' fi # Now create the wrapper script. func_verbose "creating $output" # Quote the relink command for shipping. if test -n "$relink_command"; then # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done relink_command="(cd `pwd`; $relink_command)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` fi # Only actually do things if not in dry run mode. $opt_dry_run || { # win32 will think the script is a binary if it has # a .exe suffix, so we strip it off here. case $output in *.exe) func_stripname '' '.exe' "$output" output=$func_stripname_result ;; esac # test for cygwin because mv fails w/o .exe extensions case $host in *cygwin*) exeext=.exe func_stripname '' '.exe' "$outputname" outputname=$func_stripname_result ;; *) exeext= ;; esac case $host in *cygwin* | *mingw* ) func_dirname_and_basename "$output" "" "." output_name=$func_basename_result output_path=$func_dirname_result cwrappersource=$output_path/$objdir/lt-$output_name.c cwrapper=$output_path/$output_name.exe $RM $cwrappersource $cwrapper trap "$RM $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15 func_emit_cwrapperexe_src > $cwrappersource # The wrapper executable is built using the $host compiler, # because it contains $host paths and files. If cross- # compiling, it, like the target executable, must be # executed on the $host or under an emulation environment. $opt_dry_run || { $LTCC $LTCFLAGS -o $cwrapper $cwrappersource $STRIP $cwrapper } # Now, create the wrapper script for func_source use: func_ltwrapper_scriptname $cwrapper $RM $func_ltwrapper_scriptname_result trap "$RM $func_ltwrapper_scriptname_result; exit $EXIT_FAILURE" 1 2 15 $opt_dry_run || { # note: this script will not be executed, so do not chmod. if test "x$build" = "x$host"; then $cwrapper --lt-dump-script > $func_ltwrapper_scriptname_result else func_emit_wrapper no > $func_ltwrapper_scriptname_result fi } ;; * ) $RM $output trap "$RM $output; exit $EXIT_FAILURE" 1 2 15 func_emit_wrapper no > $output chmod +x $output ;; esac } exit $EXIT_SUCCESS ;; esac # See if we need to build an old-fashioned archive. for oldlib in $oldlibs; do case $build_libtool_libs in convenience) oldobjs="$libobjs_save $symfileobj" addlibs=$convenience build_libtool_libs=no ;; module) oldobjs=$libobjs_save addlibs=$old_convenience build_libtool_libs=no ;; *) oldobjs="$old_deplibs $non_pic_objects" $preload && test -f "$symfileobj" \ && func_append oldobjs " $symfileobj" addlibs=$old_convenience ;; esac if test -n "$addlibs"; then gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $addlibs func_append oldobjs " $func_extract_archives_result" fi # Do each command in the archive commands. if test -n "$old_archive_from_new_cmds" && test yes = "$build_libtool_libs"; then cmds=$old_archive_from_new_cmds else # Add any objects from preloaded convenience libraries if test -n "$dlprefiles"; then gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_extract_archives $gentop $dlprefiles func_append oldobjs " $func_extract_archives_result" fi # POSIX demands no paths to be encoded in archives. We have # to avoid creating archives with duplicate basenames if we # might have to extract them afterwards, e.g., when creating a # static archive out of a convenience library, or when linking # the entirety of a libtool archive into another (currently # not supported by libtool). if (for obj in $oldobjs do func_basename "$obj" $ECHO "$func_basename_result" done | sort | sort -uc >/dev/null 2>&1); then : else echo "copying selected object files to avoid basename conflicts..." gentop=$output_objdir/${outputname}x func_append generated " $gentop" func_mkdir_p "$gentop" save_oldobjs=$oldobjs oldobjs= counter=1 for obj in $save_oldobjs do func_basename "$obj" objbase=$func_basename_result case " $oldobjs " in " ") oldobjs=$obj ;; *[\ /]"$objbase "*) while :; do # Make sure we don't pick an alternate name that also # overlaps. newobj=lt$counter-$objbase func_arith $counter + 1 counter=$func_arith_result case " $oldobjs " in *[\ /]"$newobj "*) ;; *) if test ! -f "$gentop/$newobj"; then break; fi ;; esac done func_show_eval "ln $obj $gentop/$newobj || cp $obj $gentop/$newobj" func_append oldobjs " $gentop/$newobj" ;; *) func_append oldobjs " $obj" ;; esac done fi func_to_tool_file "$oldlib" func_convert_file_msys_to_w32 tool_oldlib=$func_to_tool_file_result eval cmds=\"$old_archive_cmds\" func_len " $cmds" len=$func_len_result if test "$len" -lt "$max_cmd_len" || test "$max_cmd_len" -le -1; then cmds=$old_archive_cmds elif test -n "$archiver_list_spec"; then func_verbose "using command file archive linking..." for obj in $oldobjs do func_to_tool_file "$obj" $ECHO "$func_to_tool_file_result" done > $output_objdir/$libname.libcmd func_to_tool_file "$output_objdir/$libname.libcmd" oldobjs=" $archiver_list_spec$func_to_tool_file_result" cmds=$old_archive_cmds else # the command line is too long to link in one step, link in parts func_verbose "using piecewise archive linking..." save_RANLIB=$RANLIB RANLIB=: objlist= concat_cmds= save_oldobjs=$oldobjs oldobjs= # Is there a better way of finding the last object in the list? for obj in $save_oldobjs do last_oldobj=$obj done eval test_cmds=\"$old_archive_cmds\" func_len " $test_cmds" len0=$func_len_result len=$len0 for obj in $save_oldobjs do func_len " $obj" func_arith $len + $func_len_result len=$func_arith_result func_append objlist " $obj" if test "$len" -lt "$max_cmd_len"; then : else # the above command should be used before it gets too long oldobjs=$objlist if test "$obj" = "$last_oldobj"; then RANLIB=$save_RANLIB fi test -z "$concat_cmds" || concat_cmds=$concat_cmds~ eval concat_cmds=\"\$concat_cmds$old_archive_cmds\" objlist= len=$len0 fi done RANLIB=$save_RANLIB oldobjs=$objlist if test -z "$oldobjs"; then eval cmds=\"\$concat_cmds\" else eval cmds=\"\$concat_cmds~\$old_archive_cmds\" fi fi fi func_execute_cmds "$cmds" 'exit $?' done test -n "$generated" && \ func_show_eval "${RM}r$generated" # Now create the libtool archive. case $output in *.la) old_library= test yes = "$build_old_libs" && old_library=$libname.$libext func_verbose "creating $output" # Preserve any variables that may affect compiler behavior for var in $variables_saved_for_relink; do if eval test -z \"\${$var+set}\"; then relink_command="{ test -z \"\${$var+set}\" || $lt_unset $var || { $var=; export $var; }; }; $relink_command" elif eval var_value=\$$var; test -z "$var_value"; then relink_command="$var=; export $var; $relink_command" else func_quote_for_eval "$var_value" relink_command="$var=$func_quote_for_eval_result; export $var; $relink_command" fi done # Quote the link command for shipping. relink_command="(cd `pwd`; $SHELL \"$progpath\" $preserve_args --mode=relink $libtool_args @inst_prefix_dir@)" relink_command=`$ECHO "$relink_command" | $SED "$sed_quote_subst"` if test yes = "$hardcode_automatic"; then relink_command= fi # Only create the output if not a dry run. $opt_dry_run || { for installed in no yes; do if test yes = "$installed"; then if test -z "$install_libdir"; then break fi output=$output_objdir/${outputname}i # Replace all uninstalled libtool libraries with the installed ones newdependency_libs= for deplib in $dependency_libs; do case $deplib in *.la) func_basename "$deplib" name=$func_basename_result func_resolve_sysroot "$deplib" eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $func_resolve_sysroot_result` test -z "$libdir" && \ func_fatal_error "'$deplib' is not a valid libtool archive" func_append newdependency_libs " ${lt_sysroot:+=}$libdir/$name" ;; -L*) func_stripname -L '' "$deplib" func_replace_sysroot "$func_stripname_result" func_append newdependency_libs " -L$func_replace_sysroot_result" ;; -R*) func_stripname -R '' "$deplib" func_replace_sysroot "$func_stripname_result" func_append newdependency_libs " -R$func_replace_sysroot_result" ;; *) func_append newdependency_libs " $deplib" ;; esac done dependency_libs=$newdependency_libs newdlfiles= for lib in $dlfiles; do case $lib in *.la) func_basename "$lib" name=$func_basename_result eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "'$lib' is not a valid libtool archive" func_append newdlfiles " ${lt_sysroot:+=}$libdir/$name" ;; *) func_append newdlfiles " $lib" ;; esac done dlfiles=$newdlfiles newdlprefiles= for lib in $dlprefiles; do case $lib in *.la) # Only pass preopened files to the pseudo-archive (for # eventual linking with the app. that links it) if we # didn't already link the preopened objects directly into # the library: func_basename "$lib" name=$func_basename_result eval libdir=`$SED -n -e 's/^libdir=\(.*\)$/\1/p' $lib` test -z "$libdir" && \ func_fatal_error "'$lib' is not a valid libtool archive" func_append newdlprefiles " ${lt_sysroot:+=}$libdir/$name" ;; esac done dlprefiles=$newdlprefiles else newdlfiles= for lib in $dlfiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;; *) abs=`pwd`"/$lib" ;; esac func_append newdlfiles " $abs" done dlfiles=$newdlfiles newdlprefiles= for lib in $dlprefiles; do case $lib in [\\/]* | [A-Za-z]:[\\/]*) abs=$lib ;; *) abs=`pwd`"/$lib" ;; esac func_append newdlprefiles " $abs" done dlprefiles=$newdlprefiles fi $RM $output # place dlname in correct position for cygwin # In fact, it would be nice if we could use this code for all target # systems that can't hard-code library paths into their executables # and that have no shared library path variable independent of PATH, # but it turns out we can't easily determine that from inspecting # libtool variables, so we have to hard-code the OSs to which it # applies here; at the moment, that means platforms that use the PE # object format with DLL files. See the long comment at the top of # tests/bindir.at for full details. tdlname=$dlname case $host,$output,$installed,$module,$dlname in *cygwin*,*lai,yes,no,*.dll | *mingw*,*lai,yes,no,*.dll | *cegcc*,*lai,yes,no,*.dll) # If a -bindir argument was supplied, place the dll there. if test -n "$bindir"; then func_relative_path "$install_libdir" "$bindir" tdlname=$func_relative_path_result/$dlname else # Otherwise fall back on heuristic. tdlname=../bin/$dlname fi ;; esac $ECHO > $output "\ # $outputname - a libtool library file # Generated by $PROGRAM (GNU $PACKAGE) $VERSION # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='$tdlname' # Names of this library. library_names='$library_names' # The name of the static archive. old_library='$old_library' # Linker flags that cannot go in dependency_libs. inherited_linker_flags='$new_inherited_linker_flags' # Libraries that this one depends upon. dependency_libs='$dependency_libs' # Names of additional weak libraries provided by this library weak_library_names='$weak_libs' # Version information for $libname. current=$current age=$age revision=$revision # Is this an already installed library? installed=$installed # Should we warn about portability when linking against -modules? shouldnotlink=$module # Files to dlopen/dlpreopen dlopen='$dlfiles' dlpreopen='$dlprefiles' # Directory that this library needs to be installed in: libdir='$install_libdir'" if test no,yes = "$installed,$need_relink"; then $ECHO >> $output "\ relink_command=\"$relink_command\"" fi done } # Do a symbolic link so that the libtool archive can be found in # LD_LIBRARY_PATH before the program is installed. func_show_eval '( cd "$output_objdir" && $RM "$outputname" && $LN_S "../$outputname" "$outputname" )' 'exit $?' ;; esac exit $EXIT_SUCCESS } if test link = "$opt_mode" || test relink = "$opt_mode"; then func_mode_link ${1+"$@"} fi # func_mode_uninstall arg... func_mode_uninstall () { $debug_cmd RM=$nonopt files= rmforce=false exit_status=0 # This variable tells wrapper scripts just to set variables rather # than running their programs. libtool_install_magic=$magic for arg do case $arg in -f) func_append RM " $arg"; rmforce=: ;; -*) func_append RM " $arg" ;; *) func_append files " $arg" ;; esac done test -z "$RM" && \ func_fatal_help "you must specify an RM program" rmdirs= for file in $files; do func_dirname "$file" "" "." dir=$func_dirname_result if test . = "$dir"; then odir=$objdir else odir=$dir/$objdir fi func_basename "$file" name=$func_basename_result test uninstall = "$opt_mode" && odir=$dir # Remember odir for removal later, being careful to avoid duplicates if test clean = "$opt_mode"; then case " $rmdirs " in *" $odir "*) ;; *) func_append rmdirs " $odir" ;; esac fi # Don't error if the file doesn't exist and rm -f was used. if { test -L "$file"; } >/dev/null 2>&1 || { test -h "$file"; } >/dev/null 2>&1 || test -f "$file"; then : elif test -d "$file"; then exit_status=1 continue elif $rmforce; then continue fi rmfiles=$file case $name in *.la) # Possibly a libtool archive, so verify it. if func_lalib_p "$file"; then func_source $dir/$name # Delete the libtool libraries and symlinks. for n in $library_names; do func_append rmfiles " $odir/$n" done test -n "$old_library" && func_append rmfiles " $odir/$old_library" case $opt_mode in clean) case " $library_names " in *" $dlname "*) ;; *) test -n "$dlname" && func_append rmfiles " $odir/$dlname" ;; esac test -n "$libdir" && func_append rmfiles " $odir/$name $odir/${name}i" ;; uninstall) if test -n "$library_names"; then # Do each command in the postuninstall commands. func_execute_cmds "$postuninstall_cmds" '$rmforce || exit_status=1' fi if test -n "$old_library"; then # Do each command in the old_postuninstall commands. func_execute_cmds "$old_postuninstall_cmds" '$rmforce || exit_status=1' fi # FIXME: should reinstall the best remaining shared library. ;; esac fi ;; *.lo) # Possibly a libtool object, so verify it. if func_lalib_p "$file"; then # Read the .lo file func_source $dir/$name # Add PIC object to the list of files to remove. if test -n "$pic_object" && test none != "$pic_object"; then func_append rmfiles " $dir/$pic_object" fi # Add non-PIC object to the list of files to remove. if test -n "$non_pic_object" && test none != "$non_pic_object"; then func_append rmfiles " $dir/$non_pic_object" fi fi ;; *) if test clean = "$opt_mode"; then noexename=$name case $file in *.exe) func_stripname '' '.exe' "$file" file=$func_stripname_result func_stripname '' '.exe' "$name" noexename=$func_stripname_result # $file with .exe has already been added to rmfiles, # add $file without .exe func_append rmfiles " $file" ;; esac # Do a test to see if this is a libtool program. if func_ltwrapper_p "$file"; then if func_ltwrapper_executable_p "$file"; then func_ltwrapper_scriptname "$file" relink_command= func_source $func_ltwrapper_scriptname_result func_append rmfiles " $func_ltwrapper_scriptname_result" else relink_command= func_source $dir/$noexename fi # note $name still contains .exe if it was in $file originally # as does the version of $file that was added into $rmfiles func_append rmfiles " $odir/$name $odir/${name}S.$objext" if test yes = "$fast_install" && test -n "$relink_command"; then func_append rmfiles " $odir/lt-$name" fi if test "X$noexename" != "X$name"; then func_append rmfiles " $odir/lt-$noexename.c" fi fi fi ;; esac func_show_eval "$RM $rmfiles" 'exit_status=1' done # Try to remove the $objdir's in the directories where we deleted files for dir in $rmdirs; do if test -d "$dir"; then func_show_eval "rmdir $dir >/dev/null 2>&1" fi done exit $exit_status } if test uninstall = "$opt_mode" || test clean = "$opt_mode"; then func_mode_uninstall ${1+"$@"} fi test -z "$opt_mode" && { help=$generic_help func_fatal_help "you must specify a MODE" } test -z "$exec_cmd" && \ func_fatal_help "invalid operation mode '$opt_mode'" if test -n "$exec_cmd"; then eval exec "$exec_cmd" exit $EXIT_FAILURE fi exit $exit_status # The TAGs below are defined such that we never get into a situation # where we disable both kinds of libraries. Given conflicting # choices, we go for a static library, that is the most portable, # since we can't tell whether shared libraries were disabled because # the user asked for that or because the platform doesn't support # them. This is particularly important on AIX, because we don't # support having both static and shared libraries enabled at the same # time on that platform, so we default to a shared-only configuration. # If a disable-shared tag is given, we'll fallback to a static-only # configuration. But we'll never go from static-only to shared-only. # ### BEGIN LIBTOOL TAG CONFIG: disable-shared build_libtool_libs=no build_old_libs=yes # ### END LIBTOOL TAG CONFIG: disable-shared # ### BEGIN LIBTOOL TAG CONFIG: disable-static build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac` # ### END LIBTOOL TAG CONFIG: disable-static # Local Variables: # mode:shell-script # sh-indentation:2 # End: weston-3.0.0/build-aux/missing0000755000175000017500000001533013142404607013246 00000000000000#! /bin/sh # Common wrapper for a few potentially missing GNU programs. scriptversion=2013-10-28.13; # UTC # Copyright (C) 1996-2014 Free Software Foundation, Inc. # Originally written by Fran,cois Pinard , 1996. # This program 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, or (at your option) # any later version. # This program 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 this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. if test $# -eq 0; then echo 1>&2 "Try '$0 --help' for more information" exit 1 fi case $1 in --is-lightweight) # Used by our autoconf macros to check whether the available missing # script is modern enough. exit 0 ;; --run) # Back-compat with the calling convention used by older automake. shift ;; -h|--h|--he|--hel|--help) echo "\ $0 [OPTION]... PROGRAM [ARGUMENT]... Run 'PROGRAM [ARGUMENT]...', returning a proper advice when this fails due to PROGRAM being missing or too old. Options: -h, --help display this help and exit -v, --version output version information and exit Supported PROGRAM values: aclocal autoconf autoheader autom4te automake makeinfo bison yacc flex lex help2man Version suffixes to PROGRAM as well as the prefixes 'gnu-', 'gnu', and 'g' are ignored when checking the name. Send bug reports to ." exit $? ;; -v|--v|--ve|--ver|--vers|--versi|--versio|--version) echo "missing $scriptversion (GNU Automake)" exit $? ;; -*) echo 1>&2 "$0: unknown '$1' option" echo 1>&2 "Try '$0 --help' for more information" exit 1 ;; esac # Run the given program, remember its exit status. "$@"; st=$? # If it succeeded, we are done. test $st -eq 0 && exit 0 # Also exit now if we it failed (or wasn't found), and '--version' was # passed; such an option is passed most likely to detect whether the # program is present and works. case $2 in --version|--help) exit $st;; esac # Exit code 63 means version mismatch. This often happens when the user # tries to use an ancient version of a tool on a file that requires a # minimum version. if test $st -eq 63; then msg="probably too old" elif test $st -eq 127; then # Program was missing. msg="missing on your system" else # Program was found and executed, but failed. Give up. exit $st fi perl_URL=http://www.perl.org/ flex_URL=http://flex.sourceforge.net/ gnu_software_URL=http://www.gnu.org/software program_details () { case $1 in aclocal|automake) echo "The '$1' program is part of the GNU Automake package:" echo "<$gnu_software_URL/automake>" echo "It also requires GNU Autoconf, GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/autoconf>" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; autoconf|autom4te|autoheader) echo "The '$1' program is part of the GNU Autoconf package:" echo "<$gnu_software_URL/autoconf/>" echo "It also requires GNU m4 and Perl in order to run:" echo "<$gnu_software_URL/m4/>" echo "<$perl_URL>" ;; esac } give_advice () { # Normalize program name to check for. normalized_program=`echo "$1" | sed ' s/^gnu-//; t s/^gnu//; t s/^g//; t'` printf '%s\n' "'$1' is $msg." configure_deps="'configure.ac' or m4 files included by 'configure.ac'" case $normalized_program in autoconf*) echo "You should only need it if you modified 'configure.ac'," echo "or m4 files included by it." program_details 'autoconf' ;; autoheader*) echo "You should only need it if you modified 'acconfig.h' or" echo "$configure_deps." program_details 'autoheader' ;; automake*) echo "You should only need it if you modified 'Makefile.am' or" echo "$configure_deps." program_details 'automake' ;; aclocal*) echo "You should only need it if you modified 'acinclude.m4' or" echo "$configure_deps." program_details 'aclocal' ;; autom4te*) echo "You might have modified some maintainer files that require" echo "the 'autom4te' program to be rebuilt." program_details 'autom4te' ;; bison*|yacc*) echo "You should only need it if you modified a '.y' file." echo "You may want to install the GNU Bison package:" echo "<$gnu_software_URL/bison/>" ;; lex*|flex*) echo "You should only need it if you modified a '.l' file." echo "You may want to install the Fast Lexical Analyzer package:" echo "<$flex_URL>" ;; help2man*) echo "You should only need it if you modified a dependency" \ "of a man page." echo "You may want to install the GNU Help2man package:" echo "<$gnu_software_URL/help2man/>" ;; makeinfo*) echo "You should only need it if you modified a '.texi' file, or" echo "any other file indirectly affecting the aspect of the manual." echo "You might want to install the Texinfo package:" echo "<$gnu_software_URL/texinfo/>" echo "The spurious makeinfo call might also be the consequence of" echo "using a buggy 'make' (AIX, DU, IRIX), in which case you might" echo "want to install GNU make:" echo "<$gnu_software_URL/make/>" ;; *) echo "You might have modified some files without having the proper" echo "tools for further handling them. Check the 'README' file, it" echo "often tells you about the needed prerequisites for installing" echo "this package. You may also peek at any GNU archive site, in" echo "case some other package contains this missing '$1' program." ;; esac } give_advice "$1" | sed -e '1s/^/WARNING: /' \ -e '2,$s/^/ /' >&2 # Propagate the correct exit status (expected to be 127 for a program # not found, 63 for a program that failed due to version mismatch). exit $st # Local variables: # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: weston-3.0.0/build-aux/compile0000755000175000017500000001624513142404607013233 00000000000000#! /bin/sh # Wrapper for compilers which do not understand '-c -o'. scriptversion=2012-10-14.11; # UTC # Copyright (C) 1999-2014 Free Software Foundation, Inc. # Written by Tom Tromey . # # This program 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, or (at your option) # any later version. # # This program 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 this program. If not, see . # As a special exception to the GNU General Public License, if you # distribute this file as part of a program that contains a # configuration script generated by Autoconf, you may include it under # the same distribution terms that you use for the rest of that program. # This file is maintained in Automake, please report # bugs to or send patches to # . nl=' ' # We need space, tab and new line, in precisely that order. Quoting is # there to prevent tools from complaining about whitespace usage. IFS=" "" $nl" file_conv= # func_file_conv build_file lazy # Convert a $build file to $host form and store it in $file # Currently only supports Windows hosts. If the determined conversion # type is listed in (the comma separated) LAZY, no conversion will # take place. func_file_conv () { file=$1 case $file in / | /[!/]*) # absolute file, and not a UNC file if test -z "$file_conv"; then # lazily determine how to convert abs files case `uname -s` in MINGW*) file_conv=mingw ;; CYGWIN*) file_conv=cygwin ;; *) file_conv=wine ;; esac fi case $file_conv/,$2, in *,$file_conv,*) ;; mingw/*) file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'` ;; cygwin/*) file=`cygpath -m "$file" || echo "$file"` ;; wine/*) file=`winepath -w "$file" || echo "$file"` ;; esac ;; esac } # func_cl_dashL linkdir # Make cl look for libraries in LINKDIR func_cl_dashL () { func_file_conv "$1" if test -z "$lib_path"; then lib_path=$file else lib_path="$lib_path;$file" fi linker_opts="$linker_opts -LIBPATH:$file" } # func_cl_dashl library # Do a library search-path lookup for cl func_cl_dashl () { lib=$1 found=no save_IFS=$IFS IFS=';' for dir in $lib_path $LIB do IFS=$save_IFS if $shared && test -f "$dir/$lib.dll.lib"; then found=yes lib=$dir/$lib.dll.lib break fi if test -f "$dir/$lib.lib"; then found=yes lib=$dir/$lib.lib break fi if test -f "$dir/lib$lib.a"; then found=yes lib=$dir/lib$lib.a break fi done IFS=$save_IFS if test "$found" != yes; then lib=$lib.lib fi } # func_cl_wrapper cl arg... # Adjust compile command to suit cl func_cl_wrapper () { # Assume a capable shell lib_path= shared=: linker_opts= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. eat=1 case $2 in *.o | *.[oO][bB][jJ]) func_file_conv "$2" set x "$@" -Fo"$file" shift ;; *) func_file_conv "$2" set x "$@" -Fe"$file" shift ;; esac ;; -I) eat=1 func_file_conv "$2" mingw set x "$@" -I"$file" shift ;; -I*) func_file_conv "${1#-I}" mingw set x "$@" -I"$file" shift ;; -l) eat=1 func_cl_dashl "$2" set x "$@" "$lib" shift ;; -l*) func_cl_dashl "${1#-l}" set x "$@" "$lib" shift ;; -L) eat=1 func_cl_dashL "$2" ;; -L*) func_cl_dashL "${1#-L}" ;; -static) shared=false ;; -Wl,*) arg=${1#-Wl,} save_ifs="$IFS"; IFS=',' for flag in $arg; do IFS="$save_ifs" linker_opts="$linker_opts $flag" done IFS="$save_ifs" ;; -Xlinker) eat=1 linker_opts="$linker_opts $2" ;; -*) set x "$@" "$1" shift ;; *.cc | *.CC | *.cxx | *.CXX | *.[cC]++) func_file_conv "$1" set x "$@" -Tp"$file" shift ;; *.c | *.cpp | *.CPP | *.lib | *.LIB | *.Lib | *.OBJ | *.obj | *.[oO]) func_file_conv "$1" mingw set x "$@" "$file" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -n "$linker_opts"; then linker_opts="-link$linker_opts" fi exec "$@" $linker_opts exit 1 } eat= case $1 in '') echo "$0: No command. Try '$0 --help' for more information." 1>&2 exit 1; ;; -h | --h*) cat <<\EOF Usage: compile [--help] [--version] PROGRAM [ARGS] Wrapper for compilers which do not understand '-c -o'. Remove '-o dest.o' from ARGS, run PROGRAM with the remaining arguments, and rename the output as expected. If you are trying to build a whole package this is not the right script to run: please start by reading the file 'INSTALL'. Report bugs to . EOF exit $? ;; -v | --v*) echo "compile $scriptversion" exit $? ;; cl | *[/\\]cl | cl.exe | *[/\\]cl.exe ) func_cl_wrapper "$@" # Doesn't return... ;; esac ofile= cfile= for arg do if test -n "$eat"; then eat= else case $1 in -o) # configure might choose to run compile as 'compile cc -o foo foo.c'. # So we strip '-o arg' only if arg is an object. eat=1 case $2 in *.o | *.obj) ofile=$2 ;; *) set x "$@" -o "$2" shift ;; esac ;; *.c) cfile=$1 set x "$@" "$1" shift ;; *) set x "$@" "$1" shift ;; esac fi shift done if test -z "$ofile" || test -z "$cfile"; then # If no '-o' option was seen then we might have been invoked from a # pattern rule where we don't need one. That is ok -- this is a # normal compilation that the losing compiler can handle. If no # '.c' file was seen then we are probably linking. That is also # ok. exec "$@" fi # Name of file we expect compiler to create. cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'` # Create the lock directory. # Note: use '[/\\:.-]' here to ensure that we don't use the same name # that we are using for the .o file. Also, base the name on the expected # object file name, since that is what matters with a parallel build. lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d while true; do if mkdir "$lockdir" >/dev/null 2>&1; then break fi sleep 1 done # FIXME: race condition here if user kills between mkdir and trap. trap "rmdir '$lockdir'; exit 1" 1 2 15 # Run the compile. "$@" ret=$? if test -f "$cofile"; then test "$cofile" = "$ofile" || mv "$cofile" "$ofile" elif test -f "${cofile}bj"; then test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile" fi rmdir "$lockdir" exit $ret # Local Variables: # mode: shell-script # sh-indentation: 2 # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" # time-stamp-time-zone: "UTC" # time-stamp-end: "; # UTC" # End: weston-3.0.0/README0000664000175000017500000002130213142404576010640 00000000000000 Weston ====== Weston is the reference implementation of a Wayland compositor, and a useful compositor in its own right. Weston has various backends that lets it run on Linux kernel modesetting and evdev input as well as under X11. Weston ships with a few example clients, from simple clients that demonstrate certain aspects of the protocol to more complete clients and a simplistic toolkit. There is also a quite capable terminal emulator (weston-terminal) and an toy/example desktop shell. Finally, weston also provides integration with the Xorg server and can pull X clients into the Wayland desktop and act as an X window manager. Refer to http://wayland.freedesktop.org/building.html for building weston and its dependencies. The test suite can be invoked via `make check`; see http://wayland.freedesktop.org/testing.html for additional details. Developer documentation can be built via `make doc`. Output will be in the build root under docs/developer/html/index.html docs/tools/html/index.html Libweston ========= Libweston is an effort to separate the re-usable parts of Weston into a library. Libweston provides most of the boring and tedious bits of correctly implementing core Wayland protocols and interfacing with input and output systems, so that people who just want to write a new "Wayland window manager" (WM) or a small desktop environment (DE) can focus on the WM part. Libweston was first introduced in Weston 1.12, and is expected to continue evolving through many Weston releases before it achieves a stable API and feature completeness. API/ABI (in)stability and parallel installability ------------------------------------------------- As libweston's API surface is huge, it is impossible to get it right in one go. Therefore developers reserve the right to break the API/ABI and bump the major version to signify that. For git snapshots of the master branch, the API/ABI can break any time without warning. Libweston major can be bumped only once during a development cycle. This should happen on the first patch that breaks the API or ABI. Further breaks before the next Weston major.0.0 release do not cause a bump. This means that libweston API and ABI are allowed to break also after an alpha release, up to the final release. However, breaks after alpha should be judged by the usual practices for allowing minor features, fixes only, or critical fixes only. To make things tolerable for libweston users despite API/ABI breakages, different libweston major versions are designed to be perfectly parallel-installable. This way external projects can easily depend on a particular API/ABI-version. Thus they do not have to fight over which ABI-version is installed in a user's system. This allows a user to install many different compositors each requiring a different libweston ABI-version without tricks or conflicts. Note, that versions of Weston itself will not be parallel-installable, only libweston is. For more information about parallel installability, see http://ometer.com/parallel.html Versioning scheme ----------------- In order to provide consistent, easy to use versioning, libweston follows the rules in the Apache Portable Runtime Project http://apr.apache.org/versioning.html. The document provides the full details, with the gist summed below: - Major - backward incompatible changes. - Minor - new backward compatible features. - Patch - internal (implementation specific) fixes. Weston and libweston have separate version numbers in configure.ac. All releases are made by the Weston version number. Libweston version number matches the Weston version number in all releases except maybe pre-releases. Pre-releases have the Weston micro version 91 or greater. A pre-release is allowed to install a libweston version greater than the Weston version in case libweston major was bumped. In that case, the libweston version must be Weston major + 1 and with minor and patch versions zero. Pkg-config files are named after libweston major, but carry the Weston version number. This means that Weston pre-release 2.1.91 may install libweston-3.pc for the future libweston 3.0.0, but the .pc file says the version is still 2.1.91. When a libweston user wants to depend on the fully stable API and ABI of a libweston major, he should use (e.g. for major 3): PKG_CHECK_MODULES(LIBWESTON, [libweston-3 >= 3.0.0]) Depending only on libweston-3 without a specific version number still allows pre-releases which might have different API or ABI. Forward compatibility --------------------- Inspired by ATK, Qt and KDE programs/libraries, libjpeg-turbo, GDK, NetworkManager, js17, lz4 and many others, libweston uses a macro to restrict the API visible to the developer - REQUIRE_LIBWESTON_API_VERSION. Note that different projects focus on different aspects - upper and/or lower version check, default to visible/hidden old/new symbols and so on. libweston aims to guard all newly introduced API, in order to prevent subtle breaks that a simple recompile (against a newer version) might cause. The macro is of the format 0x$MAJOR$MINOR and does not include PATCH version. As mentioned in the Versioning scheme section, the latter does not reflect any user visible API changes, thus should be not considered part of the API version. All new symbols should be guarded by the macro like the example given below: #if REQUIRE_LIBWESTON_API_VERSION >= 0x0101 bool weston_ham_sandwich(void); #endif In order to use the said symbol, the one will have a similar code in their configure.ac: PKG_CHECK_MODULES(LIBWESTON, [libweston-1 >= 1.1]) AC_DEFINE(REQUIRE_LIBWESTON_API_VERSION, [0x0101]) If the user is _not_ interested in forward compatibility, they can use 0xffff or similar high value. Yet doing so is not recommended. Libweston design goals ---------------------- The high-level goal of libweston is to decouple the compositor from the shell implementation (what used to be shell plugins). Thus, instead of launching 'weston' with various arguments to choose the shell, one would launch the shell itself, e.g. 'weston-desktop', 'weston-ivi', 'orbital', etc. The main executable (the hosting program) will implement the shell, while libweston will be used for a fundamental compositor implementation. Libweston is also intended for use by other project developers who want to create new "Wayland WMs". Details: - All configuration and user interfaces will be outside of libweston. This includes command line parsing, configuration files, and runtime (graphical) UI. - The hosting program (main executable) will be in full control of all libweston options. Libweston should not have user settable options that would work behind the hosting program's back, except perhaps debugging features and such. - Signal handling will be outside of libweston. - Child process execution and management will be outside of libweston. - The different backends (drm, fbdev, x11, etc) will be an internal detail of libweston. Libweston will not support third party backends. However, hosting programs need to handle backend-specific configuration due to differences in behaviour and available features. - Renderers will be libweston internal details too, though again the hosting program may affect the choice of renderer if the backend allows, and maybe set renderer-specific options. - plugin design ??? - xwayland ??? - weston-launch is still with libweston even though it can only launch Weston and nothing else. We would like to allow it to launch any compositor, but since it gives by design root access to input devices and DRM, how can we restrict it to intended programs? There are still many more details to be decided. For packagers ------------- Always build Weston with --with-cairo=image. The Weston project is (will be) intended to be split into several binary packages, each with its own dependencies. The maximal split would be roughly like this: - libweston (minimal dependencies): + headless backend + wayland backend - gl-renderer (depends on GL libs etc.) - drm-backend (depends on libdrm, libgbm, libudev, libinput, ...) - x11-backend (depends of X11/xcb libs) - xwayland (depends on X11/xcb libs) - fbdev-backend (depends on libudev...) - rdp-backend (depends on freerdp) - weston (the executable, not parallel-installable): + desktop shell + ivi-shell + fullscreen shell + weston-info, weston-terminal, etc. we install by default + screen-share - weston demos (not parallel-installable) + weston-simple-* programs + possibly all the programs we build but do not install by default - and possibly more... Everything should be parallel-installable across libweston major ABI-versions (libweston-1.so, libweston-2.so, etc.), except those explicitly mentioned. Weston's build may not sanely allow this yet, but this is the intention. weston-3.0.0/tests/0000775000175000017500000000000013142404611011172 500000000000000weston-3.0.0/tests/weston-test-client-helper.c0000664000175000017500000010425313142404577016323 00000000000000/* * Copyright © 2012 Intel Corporation * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include #include #include #include "shared/os-compatibility.h" #include "shared/xalloc.h" #include "shared/zalloc.h" #include "weston-test-client-helper.h" #define max(a, b) (((a) > (b)) ? (a) : (b)) #define min(a, b) (((a) > (b)) ? (b) : (a)) #define clip(x, a, b) min(max(x, a), b) int surface_contains(struct surface *surface, int x, int y) { /* test whether a global x,y point is contained in the surface */ int sx = surface->x; int sy = surface->y; int sw = surface->width; int sh = surface->height; return x >= sx && y >= sy && x < sx + sw && y < sy + sh; } static void frame_callback_handler(void *data, struct wl_callback *callback, uint32_t time) { int *done = data; *done = 1; wl_callback_destroy(callback); } static const struct wl_callback_listener frame_listener = { frame_callback_handler }; struct wl_callback * frame_callback_set(struct wl_surface *surface, int *done) { struct wl_callback *callback; *done = 0; callback = wl_surface_frame(surface); wl_callback_add_listener(callback, &frame_listener, done); return callback; } int frame_callback_wait_nofail(struct client *client, int *done) { while (!*done) { if (wl_display_dispatch(client->wl_display) < 0) return 0; } return 1; } void move_client(struct client *client, int x, int y) { struct surface *surface = client->surface; int done; client->surface->x = x; client->surface->y = y; weston_test_move_surface(client->test->weston_test, surface->wl_surface, surface->x, surface->y); /* The attach here is necessary because commit() will call configure * only on surfaces newly attached, and the one that sets the surface * position is the configure. */ wl_surface_attach(surface->wl_surface, surface->buffer->proxy, 0, 0); wl_surface_damage(surface->wl_surface, 0, 0, surface->width, surface->height); frame_callback_set(surface->wl_surface, &done); wl_surface_commit(surface->wl_surface); frame_callback_wait(client, &done); } static void pointer_handle_enter(void *data, struct wl_pointer *wl_pointer, uint32_t serial, struct wl_surface *wl_surface, wl_fixed_t x, wl_fixed_t y) { struct pointer *pointer = data; if (wl_surface) pointer->focus = wl_surface_get_user_data(wl_surface); else pointer->focus = NULL; pointer->x = wl_fixed_to_int(x); pointer->y = wl_fixed_to_int(y); fprintf(stderr, "test-client: got pointer enter %d %d, surface %p\n", pointer->x, pointer->y, pointer->focus); } static void pointer_handle_leave(void *data, struct wl_pointer *wl_pointer, uint32_t serial, struct wl_surface *wl_surface) { struct pointer *pointer = data; pointer->focus = NULL; fprintf(stderr, "test-client: got pointer leave, surface %p\n", wl_surface ? wl_surface_get_user_data(wl_surface) : NULL); } static void pointer_handle_motion(void *data, struct wl_pointer *wl_pointer, uint32_t time, wl_fixed_t x, wl_fixed_t y) { struct pointer *pointer = data; pointer->x = wl_fixed_to_int(x); pointer->y = wl_fixed_to_int(y); fprintf(stderr, "test-client: got pointer motion %d %d\n", pointer->x, pointer->y); } static void pointer_handle_button(void *data, struct wl_pointer *wl_pointer, uint32_t serial, uint32_t time, uint32_t button, uint32_t state) { struct pointer *pointer = data; pointer->button = button; pointer->state = state; fprintf(stderr, "test-client: got pointer button %u %u\n", button, state); } static void pointer_handle_axis(void *data, struct wl_pointer *wl_pointer, uint32_t time, uint32_t axis, wl_fixed_t value) { fprintf(stderr, "test-client: got pointer axis %u %f\n", axis, wl_fixed_to_double(value)); } static void pointer_handle_frame(void *data, struct wl_pointer *wl_pointer) { fprintf(stderr, "test-client: got pointer frame\n"); } static void pointer_handle_axis_source(void *data, struct wl_pointer *wl_pointer, uint32_t source) { fprintf(stderr, "test-client: got pointer axis source %u\n", source); } static void pointer_handle_axis_stop(void *data, struct wl_pointer *wl_pointer, uint32_t time, uint32_t axis) { fprintf(stderr, "test-client: got pointer axis stop\n"); } static void pointer_handle_axis_discrete(void *data, struct wl_pointer *wl_pointer, uint32_t axis, int32_t value) { fprintf(stderr, "test-client: got pointer axis discrete %u %d\n", axis, value); } static const struct wl_pointer_listener pointer_listener = { pointer_handle_enter, pointer_handle_leave, pointer_handle_motion, pointer_handle_button, pointer_handle_axis, pointer_handle_frame, pointer_handle_axis_source, pointer_handle_axis_stop, pointer_handle_axis_discrete, }; static void keyboard_handle_keymap(void *data, struct wl_keyboard *wl_keyboard, uint32_t format, int fd, uint32_t size) { close(fd); fprintf(stderr, "test-client: got keyboard keymap\n"); } static void keyboard_handle_enter(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial, struct wl_surface *wl_surface, struct wl_array *keys) { struct keyboard *keyboard = data; if (wl_surface) keyboard->focus = wl_surface_get_user_data(wl_surface); else keyboard->focus = NULL; fprintf(stderr, "test-client: got keyboard enter, surface %p\n", keyboard->focus); } static void keyboard_handle_leave(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial, struct wl_surface *wl_surface) { struct keyboard *keyboard = data; keyboard->focus = NULL; fprintf(stderr, "test-client: got keyboard leave, surface %p\n", wl_surface ? wl_surface_get_user_data(wl_surface) : NULL); } static void keyboard_handle_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial, uint32_t time, uint32_t key, uint32_t state) { struct keyboard *keyboard = data; keyboard->key = key; keyboard->state = state; fprintf(stderr, "test-client: got keyboard key %u %u\n", key, state); } static void keyboard_handle_modifiers(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial, uint32_t mods_depressed, uint32_t mods_latched, uint32_t mods_locked, uint32_t group) { struct keyboard *keyboard = data; keyboard->mods_depressed = mods_depressed; keyboard->mods_latched = mods_latched; keyboard->mods_locked = mods_locked; keyboard->group = group; fprintf(stderr, "test-client: got keyboard modifiers %u %u %u %u\n", mods_depressed, mods_latched, mods_locked, group); } static void keyboard_handle_repeat_info(void *data, struct wl_keyboard *wl_keyboard, int32_t rate, int32_t delay) { struct keyboard *keyboard = data; keyboard->repeat_info.rate = rate; keyboard->repeat_info.delay = delay; fprintf(stderr, "test-client: got keyboard repeat_info %d %d\n", rate, delay); } static const struct wl_keyboard_listener keyboard_listener = { keyboard_handle_keymap, keyboard_handle_enter, keyboard_handle_leave, keyboard_handle_key, keyboard_handle_modifiers, keyboard_handle_repeat_info, }; static void touch_handle_down(void *data, struct wl_touch *wl_touch, uint32_t serial, uint32_t time, struct wl_surface *surface, int32_t id, wl_fixed_t x_w, wl_fixed_t y_w) { struct touch *touch = data; touch->down_x = wl_fixed_to_int(x_w); touch->down_y = wl_fixed_to_int(y_w); touch->id = id; fprintf(stderr, "test-client: got touch down %d %d, surf: %p, id: %d\n", touch->down_x, touch->down_y, surface, id); } static void touch_handle_up(void *data, struct wl_touch *wl_touch, uint32_t serial, uint32_t time, int32_t id) { struct touch *touch = data; touch->up_id = id; fprintf(stderr, "test-client: got touch up, id: %d\n", id); } static void touch_handle_motion(void *data, struct wl_touch *wl_touch, uint32_t time, int32_t id, wl_fixed_t x_w, wl_fixed_t y_w) { struct touch *touch = data; touch->x = wl_fixed_to_int(x_w); touch->y = wl_fixed_to_int(y_w); fprintf(stderr, "test-client: got touch motion, %d %d, id: %d\n", touch->x, touch->y, id); } static void touch_handle_frame(void *data, struct wl_touch *wl_touch) { struct touch *touch = data; ++touch->frame_no; fprintf(stderr, "test-client: got touch frame (%d)\n", touch->frame_no); } static void touch_handle_cancel(void *data, struct wl_touch *wl_touch) { struct touch *touch = data; ++touch->cancel_no; fprintf(stderr, "test-client: got touch cancel (%d)\n", touch->cancel_no); } static const struct wl_touch_listener touch_listener = { touch_handle_down, touch_handle_up, touch_handle_motion, touch_handle_frame, touch_handle_cancel, }; static void surface_enter(void *data, struct wl_surface *wl_surface, struct wl_output *output) { struct surface *surface = data; surface->output = wl_output_get_user_data(output); fprintf(stderr, "test-client: got surface enter output %p\n", surface->output); } static void surface_leave(void *data, struct wl_surface *wl_surface, struct wl_output *output) { struct surface *surface = data; surface->output = NULL; fprintf(stderr, "test-client: got surface leave output %p\n", wl_output_get_user_data(output)); } static const struct wl_surface_listener surface_listener = { surface_enter, surface_leave }; static struct buffer * create_shm_buffer(struct client *client, int width, int height, pixman_format_code_t format, uint32_t wlfmt) { struct wl_shm *shm = client->wl_shm; struct buffer *buf; size_t stride_bytes; struct wl_shm_pool *pool; int fd; void *data; size_t bytes_pp; assert(width > 0); assert(height > 0); buf = xzalloc(sizeof *buf); bytes_pp = PIXMAN_FORMAT_BPP(format) / 8; stride_bytes = width * bytes_pp; /* round up to multiple of 4 bytes for Pixman */ stride_bytes = (stride_bytes + 3) & ~3u; assert(stride_bytes / bytes_pp >= (unsigned)width); buf->len = stride_bytes * height; assert(buf->len / stride_bytes == (unsigned)height); fd = os_create_anonymous_file(buf->len); assert(fd >= 0); data = mmap(NULL, buf->len, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); if (data == MAP_FAILED) { close(fd); assert(data != MAP_FAILED); } pool = wl_shm_create_pool(shm, fd, buf->len); buf->proxy = wl_shm_pool_create_buffer(pool, 0, width, height, stride_bytes, wlfmt); wl_shm_pool_destroy(pool); close(fd); buf->image = pixman_image_create_bits(format, width, height, data, stride_bytes); assert(buf->proxy); assert(buf->image); return buf; } struct buffer * create_shm_buffer_a8r8g8b8(struct client *client, int width, int height) { assert(client->has_argb); return create_shm_buffer(client, width, height, PIXMAN_a8r8g8b8, WL_SHM_FORMAT_ARGB8888); } void buffer_destroy(struct buffer *buf) { void *pixels; pixels = pixman_image_get_data(buf->image); if (buf->proxy) { wl_buffer_destroy(buf->proxy); assert(munmap(pixels, buf->len) == 0); } assert(pixman_image_unref(buf->image)); free(buf); } static void shm_format(void *data, struct wl_shm *wl_shm, uint32_t format) { struct client *client = data; if (format == WL_SHM_FORMAT_ARGB8888) client->has_argb = 1; } struct wl_shm_listener shm_listener = { shm_format }; static void test_handle_pointer_position(void *data, struct weston_test *weston_test, wl_fixed_t x, wl_fixed_t y) { struct test *test = data; test->pointer_x = wl_fixed_to_int(x); test->pointer_y = wl_fixed_to_int(y); fprintf(stderr, "test-client: got global pointer %d %d\n", test->pointer_x, test->pointer_y); } static void test_handle_capture_screenshot_done(void *data, struct weston_test *weston_test) { struct test *test = data; printf("Screenshot has been captured\n"); test->buffer_copy_done = 1; } static const struct weston_test_listener test_listener = { test_handle_pointer_position, test_handle_capture_screenshot_done, }; static void input_update_devices(struct input *input) { struct pointer *pointer; struct keyboard *keyboard; struct touch *touch; struct wl_seat *seat = input->wl_seat; enum wl_seat_capability caps = input->caps; if ((caps & WL_SEAT_CAPABILITY_POINTER) && !input->pointer) { pointer = xzalloc(sizeof *pointer); pointer->wl_pointer = wl_seat_get_pointer(seat); wl_pointer_set_user_data(pointer->wl_pointer, pointer); wl_pointer_add_listener(pointer->wl_pointer, &pointer_listener, pointer); input->pointer = pointer; } else if (!(caps & WL_SEAT_CAPABILITY_POINTER) && input->pointer) { wl_pointer_destroy(input->pointer->wl_pointer); free(input->pointer); input->pointer = NULL; } if ((caps & WL_SEAT_CAPABILITY_KEYBOARD) && !input->keyboard) { keyboard = xzalloc(sizeof *keyboard); keyboard->wl_keyboard = wl_seat_get_keyboard(seat); wl_keyboard_set_user_data(keyboard->wl_keyboard, keyboard); wl_keyboard_add_listener(keyboard->wl_keyboard, &keyboard_listener, keyboard); input->keyboard = keyboard; } else if (!(caps & WL_SEAT_CAPABILITY_KEYBOARD) && input->keyboard) { wl_keyboard_destroy(input->keyboard->wl_keyboard); free(input->keyboard); input->keyboard = NULL; } if ((caps & WL_SEAT_CAPABILITY_TOUCH) && !input->touch) { touch = xzalloc(sizeof *touch); touch->wl_touch = wl_seat_get_touch(seat); wl_touch_set_user_data(touch->wl_touch, touch); wl_touch_add_listener(touch->wl_touch, &touch_listener, touch); input->touch = touch; } else if (!(caps & WL_SEAT_CAPABILITY_TOUCH) && input->touch) { wl_touch_destroy(input->touch->wl_touch); free(input->touch); input->touch = NULL; } } static void seat_handle_capabilities(void *data, struct wl_seat *seat, enum wl_seat_capability caps) { struct input *input = data; input->caps = caps; /* we will create/update the devices only with the right (test) seat. * If we haven't discovered which seat is the test seat, just * store capabilities and bail out */ if (input->seat_name && strcmp(input->seat_name, "test-seat") == 0) input_update_devices(input); fprintf(stderr, "test-client: got seat %p capabilities: %x\n", input, caps); } static void seat_handle_name(void *data, struct wl_seat *seat, const char *name) { struct input *input = data; input->seat_name = strdup(name); assert(input->seat_name && "No memory"); fprintf(stderr, "test-client: got seat %p name: \'%s\'\n", input, name); } static const struct wl_seat_listener seat_listener = { seat_handle_capabilities, seat_handle_name, }; static void output_handle_geometry(void *data, struct wl_output *wl_output, int x, int y, int physical_width, int physical_height, int subpixel, const char *make, const char *model, int32_t transform) { struct output *output = data; output->x = x; output->y = y; } static void output_handle_mode(void *data, struct wl_output *wl_output, uint32_t flags, int width, int height, int refresh) { struct output *output = data; if (flags & WL_OUTPUT_MODE_CURRENT) { output->width = width; output->height = height; } } static void output_handle_scale(void *data, struct wl_output *wl_output, int scale) { struct output *output = data; output->scale = scale; } static void output_handle_done(void *data, struct wl_output *wl_output) { struct output *output = data; output->initialized = 1; } static const struct wl_output_listener output_listener = { output_handle_geometry, output_handle_mode, output_handle_done, output_handle_scale, }; static void handle_global(void *data, struct wl_registry *registry, uint32_t id, const char *interface, uint32_t version) { struct client *client = data; struct output *output; struct test *test; struct global *global; struct input *input; global = xzalloc(sizeof *global); global->name = id; global->interface = strdup(interface); assert(interface); global->version = version; wl_list_insert(client->global_list.prev, &global->link); if (strcmp(interface, "wl_compositor") == 0) { client->wl_compositor = wl_registry_bind(registry, id, &wl_compositor_interface, version); } else if (strcmp(interface, "wl_seat") == 0) { input = xzalloc(sizeof *input); input->wl_seat = wl_registry_bind(registry, id, &wl_seat_interface, version); wl_seat_add_listener(input->wl_seat, &seat_listener, input); wl_list_insert(&client->inputs, &input->link); } else if (strcmp(interface, "wl_shm") == 0) { client->wl_shm = wl_registry_bind(registry, id, &wl_shm_interface, version); wl_shm_add_listener(client->wl_shm, &shm_listener, client); } else if (strcmp(interface, "wl_output") == 0) { output = xzalloc(sizeof *output); output->wl_output = wl_registry_bind(registry, id, &wl_output_interface, version); wl_output_add_listener(output->wl_output, &output_listener, output); client->output = output; } else if (strcmp(interface, "weston_test") == 0) { test = xzalloc(sizeof *test); test->weston_test = wl_registry_bind(registry, id, &weston_test_interface, version); weston_test_add_listener(test->weston_test, &test_listener, test); client->test = test; } else if (strcmp(interface, "wl_drm") == 0) { client->has_wl_drm = true; } } static const struct wl_registry_listener registry_listener = { handle_global }; void skip(const char *fmt, ...) { va_list argp; va_start(argp, fmt); vfprintf(stderr, fmt, argp); va_end(argp); /* automake tests uses exit code 77. weston-test-runner will see * this and use it, and then weston-test's sigchld handler (in the * weston process) will use that as an exit status, which is what * automake will see in the end. */ exit(77); } void expect_protocol_error(struct client *client, const struct wl_interface *intf, uint32_t code) { int err; uint32_t errcode, failed = 0; const struct wl_interface *interface; unsigned int id; /* if the error has not come yet, make it happen */ wl_display_roundtrip(client->wl_display); err = wl_display_get_error(client->wl_display); assert(err && "Expected protocol error but nothing came"); assert(err == EPROTO && "Expected protocol error but got local error"); errcode = wl_display_get_protocol_error(client->wl_display, &interface, &id); /* check error */ if (errcode != code) { fprintf(stderr, "Should get error code %d but got %d\n", code, errcode); failed = 1; } /* this should be definitely set */ assert(interface); if (strcmp(intf->name, interface->name) != 0) { fprintf(stderr, "Should get interface '%s' but got '%s'\n", intf->name, interface->name); failed = 1; } if (failed) { fprintf(stderr, "Expected other protocol error\n"); abort(); } /* all OK */ fprintf(stderr, "Got expected protocol error on '%s' (object id: %d) " "with code %d\n", interface->name, id, errcode); } static void log_handler(const char *fmt, va_list args) { fprintf(stderr, "libwayland: "); vfprintf(stderr, fmt, args); } static void input_destroy(struct input *inp) { wl_list_remove(&inp->link); wl_seat_destroy(inp->wl_seat); free(inp); } /* find the test-seat and set it in client. * Destroy other inputs */ static void client_set_input(struct client *cl) { struct input *inp, *inptmp; wl_list_for_each_safe(inp, inptmp, &cl->inputs, link) { assert(inp->seat_name && "BUG: input with no name"); if (strcmp(inp->seat_name, "test-seat") == 0) { cl->input = inp; input_update_devices(inp); } else { input_destroy(inp); } } /* we keep only one input */ assert(wl_list_length(&cl->inputs) == 1); } struct client * create_client(void) { struct client *client; wl_log_set_handler_client(log_handler); /* connect to display */ client = xzalloc(sizeof *client); client->wl_display = wl_display_connect(NULL); assert(client->wl_display); wl_list_init(&client->global_list); wl_list_init(&client->inputs); /* setup registry so we can bind to interfaces */ client->wl_registry = wl_display_get_registry(client->wl_display); wl_registry_add_listener(client->wl_registry, ®istry_listener, client); /* this roundtrip makes sure we have all globals and we bound to them */ client_roundtrip(client); /* this roundtrip makes sure we got all wl_shm.format and wl_seat.* * events */ client_roundtrip(client); /* find the right input for us */ client_set_input(client); /* must have WL_SHM_FORMAT_ARGB32 */ assert(client->has_argb); /* must have weston_test interface */ assert(client->test); /* must have an output */ assert(client->output); /* the output must be initialized */ assert(client->output->initialized == 1); /* must have seat set */ assert(client->input); return client; } struct client * create_client_and_test_surface(int x, int y, int width, int height) { struct client *client; struct surface *surface; pixman_color_t color = { 16384, 16384, 16384, 16384 }; /* uint16_t */ pixman_image_t *solid; client = create_client(); /* initialize the client surface */ surface = xzalloc(sizeof *surface); surface->wl_surface = wl_compositor_create_surface(client->wl_compositor); assert(surface->wl_surface); wl_surface_add_listener(surface->wl_surface, &surface_listener, surface); client->surface = surface; wl_surface_set_user_data(surface->wl_surface, surface); surface->width = width; surface->height = height; surface->buffer = create_shm_buffer_a8r8g8b8(client, width, height); solid = pixman_image_create_solid_fill(&color); pixman_image_composite32(PIXMAN_OP_SRC, solid, /* src */ NULL, /* mask */ surface->buffer->image, /* dst */ 0, 0, /* src x,y */ 0, 0, /* mask x,y */ 0, 0, /* dst x,y */ width, height); pixman_image_unref(solid); move_client(client, x, y); return client; } static const char* output_path(void) { char *path = getenv("WESTON_TEST_OUTPUT_PATH"); if (!path) return "./logs"; return path; } char* screenshot_output_filename(const char *basename, uint32_t seq) { char *filename; if (asprintf(&filename, "%s/%s-%02d.png", output_path(), basename, seq) < 0) return NULL; return filename; } static const char* reference_path(void) { char *path = getenv("WESTON_TEST_REFERENCE_PATH"); if (!path) return "./tests/reference"; return path; } char* screenshot_reference_filename(const char *basename, uint32_t seq) { char *filename; if (asprintf(&filename, "%s/%s-%02d.png", reference_path(), basename, seq) < 0) return NULL; return filename; } struct format_map_entry { cairo_format_t cairo; pixman_format_code_t pixman; }; static const struct format_map_entry format_map[] = { { CAIRO_FORMAT_ARGB32, PIXMAN_a8r8g8b8 }, { CAIRO_FORMAT_RGB24, PIXMAN_x8r8g8b8 }, { CAIRO_FORMAT_A8, PIXMAN_a8 }, { CAIRO_FORMAT_RGB16_565, PIXMAN_r5g6b5 }, }; static pixman_format_code_t format_cairo2pixman(cairo_format_t fmt) { unsigned i; for (i = 0; i < ARRAY_LENGTH(format_map); i++) if (format_map[i].cairo == fmt) return format_map[i].pixman; assert(0 && "unknown Cairo pixel format"); } static cairo_format_t format_pixman2cairo(pixman_format_code_t fmt) { unsigned i; for (i = 0; i < ARRAY_LENGTH(format_map); i++) if (format_map[i].pixman == fmt) return format_map[i].cairo; assert(0 && "unknown Pixman pixel format"); } /** * Compute the ROI for image comparisons * * \param img_a An image. * \param img_b Another image. * \param clip_rect Explicit ROI, or NULL for using the whole * image area. * * \return The region of interest (ROI) that is guaranteed to be inside both * images. * * If clip_rect is given, it must fall inside of both images. * If clip_rect is NULL, the images must be of the same size. * If any precondition is violated, this function aborts with an error. * * The ROI is given as pixman_box32_t, where x2,y2 are non-inclusive. */ static pixman_box32_t image_check_get_roi(pixman_image_t *img_a, pixman_image_t *img_b, const struct rectangle *clip_rect) { int width_a; int width_b; int height_a; int height_b; pixman_box32_t box; width_a = pixman_image_get_width(img_a); height_a = pixman_image_get_height(img_a); width_b = pixman_image_get_width(img_b); height_b = pixman_image_get_height(img_b); if (clip_rect) { box.x1 = clip_rect->x; box.y1 = clip_rect->y; box.x2 = clip_rect->x + clip_rect->width; box.y2 = clip_rect->y + clip_rect->height; } else { box.x1 = 0; box.y1 = 0; box.x2 = max(width_a, width_b); box.y2 = max(height_a, height_b); } assert(box.x1 >= 0); assert(box.y1 >= 0); assert(box.x2 > box.x1); assert(box.y2 > box.y1); assert(box.x2 <= width_a); assert(box.x2 <= width_b); assert(box.y2 <= height_a); assert(box.y2 <= height_b); return box; } struct image_iterator { char *data; int stride; /* bytes */ }; static void image_iter_init(struct image_iterator *it, pixman_image_t *image) { pixman_format_code_t fmt; it->stride = pixman_image_get_stride(image); it->data = (void *)pixman_image_get_data(image); fmt = pixman_image_get_format(image); assert(PIXMAN_FORMAT_BPP(fmt) == 32); } static uint32_t * image_iter_get_row(struct image_iterator *it, int y) { return (uint32_t *)(it->data + y * it->stride); } /** * Test if a given region within two images are pixel-identical. * * Returns true if the two images pixel-wise identical, and false otherwise. * * \param img_a First image. * \param img_b Second image. * \param clip_rect The region of interest, or NULL for comparing the whole * images. * * This function hard-fails if clip_rect is not inside both images. If clip_rect * is given, the images do not have to match in size, otherwise size mismatch * will be a hard failure. */ bool check_images_match(pixman_image_t *img_a, pixman_image_t *img_b, const struct rectangle *clip_rect) { struct image_iterator it_a; struct image_iterator it_b; pixman_box32_t box; int x, y; uint32_t *pix_a; uint32_t *pix_b; box = image_check_get_roi(img_a, img_b, clip_rect); image_iter_init(&it_a, img_a); image_iter_init(&it_b, img_b); for (y = box.y1; y < box.y2; y++) { pix_a = image_iter_get_row(&it_a, y) + box.x1; pix_b = image_iter_get_row(&it_b, y) + box.x1; for (x = box.x1; x < box.x2; x++) { if (*pix_a != *pix_b) return false; pix_a++; pix_b++; } } return true; } /** * Tint a color * * \param src Source pixel as x8r8g8b8. * \param add The tint as x8r8g8b8, x8 must be zero; r8, g8 and b8 must be * no greater than 0xc0 to avoid overflow to another channel. * \return The tinted pixel color as x8r8g8b8, x8 guaranteed to be 0xff. * * The source pixel RGB values are divided by 4, and then the tint is added. * To achieve colors outside of the range of src, a tint color channel must be * at least 0x40. (0xff / 4 = 0x3f, 0xff - 0x3f = 0xc0) */ static uint32_t tint(uint32_t src, uint32_t add) { uint32_t v; v = ((src & 0xfcfcfcfc) >> 2) | 0xff000000; return v + add; } /** * Create a visualization of image differences. * * \param img_a First image, which is used as the basis for the output. * \param img_b Second image. * \param clip_rect The region of interest, or NULL for comparing the whole * images. * \return A new image with the differences highlighted. * * Regions outside of the region of interest are shaded with black, matching * pixels are shaded with green, and differing pixels are shaded with * bright red. * * This function hard-fails if clip_rect is not inside both images. If clip_rect * is given, the images do not have to match in size, otherwise size mismatch * will be a hard failure. */ pixman_image_t * visualize_image_difference(pixman_image_t *img_a, pixman_image_t *img_b, const struct rectangle *clip_rect) { pixman_image_t *diffimg; pixman_image_t *shade; struct image_iterator it_a; struct image_iterator it_b; struct image_iterator it_d; int width; int height; pixman_box32_t box; int x, y; uint32_t *pix_a; uint32_t *pix_b; uint32_t *pix_d; pixman_color_t shade_color = { 0, 0, 0, 32768 }; width = pixman_image_get_width(img_a); height = pixman_image_get_height(img_a); box = image_check_get_roi(img_a, img_b, clip_rect); diffimg = pixman_image_create_bits_no_clear(PIXMAN_x8r8g8b8, width, height, NULL, 0); /* Fill diffimg with a black-shaded copy of img_a, and then fill * the clip_rect area with original img_a. */ shade = pixman_image_create_solid_fill(&shade_color); pixman_image_composite32(PIXMAN_OP_SRC, img_a, shade, diffimg, 0, 0, 0, 0, 0, 0, width, height); pixman_image_unref(shade); pixman_image_composite32(PIXMAN_OP_SRC, img_a, NULL, diffimg, box.x1, box.y1, 0, 0, box.x1, box.y1, box.x2 - box.x1, box.y2 - box.y1); image_iter_init(&it_a, img_a); image_iter_init(&it_b, img_b); image_iter_init(&it_d, diffimg); for (y = box.y1; y < box.y2; y++) { pix_a = image_iter_get_row(&it_a, y) + box.x1; pix_b = image_iter_get_row(&it_b, y) + box.x1; pix_d = image_iter_get_row(&it_d, y) + box.x1; for (x = box.x1; x < box.x2; x++) { if (*pix_a == *pix_b) *pix_d = tint(*pix_d, 0x00008000); /* green */ else *pix_d = tint(*pix_d, 0x00c00000); /* red */ pix_a++; pix_b++; pix_d++; } } return diffimg; } /** * Write an image into a PNG file. * * \param image The image. * \param fname The name and path for the file. * * \returns true if successfully saved file; false otherwise. * * \note Only image formats directly supported by Cairo are accepted, not all * Pixman formats. */ bool write_image_as_png(pixman_image_t *image, const char *fname) { cairo_surface_t *cairo_surface; cairo_status_t status; cairo_format_t fmt; fmt = format_pixman2cairo(pixman_image_get_format(image)); cairo_surface = cairo_image_surface_create_for_data( (void *)pixman_image_get_data(image), fmt, pixman_image_get_width(image), pixman_image_get_height(image), pixman_image_get_stride(image)); status = cairo_surface_write_to_png(cairo_surface, fname); if (status != CAIRO_STATUS_SUCCESS) { fprintf(stderr, "Failed to save image '%s': %s\n", fname, cairo_status_to_string(status)); return false; } cairo_surface_destroy(cairo_surface); return true; } static pixman_image_t * image_convert_to_a8r8g8b8(pixman_image_t *image) { pixman_image_t *ret; int width; int height; if (pixman_image_get_format(image) == PIXMAN_a8r8g8b8) return pixman_image_ref(image); width = pixman_image_get_width(image); height = pixman_image_get_height(image); ret = pixman_image_create_bits_no_clear(PIXMAN_a8r8g8b8, width, height, NULL, 0); assert(ret); pixman_image_composite32(PIXMAN_OP_SRC, image, NULL, ret, 0, 0, 0, 0, 0, 0, width, height); return ret; } static void destroy_cairo_surface(pixman_image_t *image, void *data) { cairo_surface_t *surface = data; cairo_surface_destroy(surface); } /** * Load an image from a PNG file * * Reads a PNG image from disk using the given filename (and path) * and returns as a Pixman image. Use pixman_image_unref() to free it. * * The returned image is always in PIXMAN_a8r8g8b8 format. * * @returns Pixman image, or NULL in case of error. */ pixman_image_t * load_image_from_png(const char *fname) { pixman_image_t *image; pixman_image_t *converted; cairo_format_t cairo_fmt; pixman_format_code_t pixman_fmt; cairo_surface_t *reference_cairo_surface; cairo_status_t status; int width; int height; int stride; void *data; reference_cairo_surface = cairo_image_surface_create_from_png(fname); cairo_surface_flush(reference_cairo_surface); status = cairo_surface_status(reference_cairo_surface); if (status != CAIRO_STATUS_SUCCESS) { printf("Could not open %s: %s\n", fname, cairo_status_to_string(status)); cairo_surface_destroy(reference_cairo_surface); return NULL; } cairo_fmt = cairo_image_surface_get_format(reference_cairo_surface); pixman_fmt = format_cairo2pixman(cairo_fmt); width = cairo_image_surface_get_width(reference_cairo_surface); height = cairo_image_surface_get_height(reference_cairo_surface); stride = cairo_image_surface_get_stride(reference_cairo_surface); data = cairo_image_surface_get_data(reference_cairo_surface); /* The Cairo surface will own the data, so we keep it around. */ image = pixman_image_create_bits_no_clear(pixman_fmt, width, height, data, stride); assert(image); pixman_image_set_destroy_function(image, destroy_cairo_surface, reference_cairo_surface); converted = image_convert_to_a8r8g8b8(image); pixman_image_unref(image); return converted; } /** * Take screenshot of a single output * * Requests a screenshot from the server of the output that the * client appears on. This implies that the compositor goes through an output * repaint to provide the screenshot before this function returns. This * function is therefore both a server roundtrip and a wait for a repaint. * * @returns A new buffer object, that should be freed with buffer_destroy(). */ struct buffer * capture_screenshot_of_output(struct client *client) { struct buffer *buffer; buffer = create_shm_buffer_a8r8g8b8(client, client->output->width, client->output->height); client->test->buffer_copy_done = 0; weston_test_capture_screenshot(client->test->weston_test, client->output->wl_output, buffer->proxy); while (client->test->buffer_copy_done == 0) if (wl_display_dispatch(client->wl_display) < 0) break; /* FIXME: Document somewhere the orientation the screenshot is taken * and how the clip coords are interpreted, in case of scaling/transform. * If we're using read_pixels() just make sure it is documented somewhere. * Protocol docs in the XML, comparison function docs in Doxygen style. */ return buffer; } weston-3.0.0/tests/viewporter-test.c0000664000175000017500000004407513142404577014466 00000000000000/* * Copyright © 2014, 2016 Collabora, Ltd. * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include "shared/helpers.h" #include "shared/xalloc.h" #include "weston-test-client-helper.h" #include "viewporter-client-protocol.h" static struct wp_viewporter * get_viewporter(struct client *client) { struct global *g; struct global *global_wpr = NULL; static struct wp_viewporter *wpr; if (wpr) return wpr; wl_list_for_each(g, &client->global_list, link) { if (strcmp(g->interface, wp_viewporter_interface.name)) continue; if (global_wpr) assert(0 && "multiple wp_viewporter objects"); global_wpr = g; } assert(global_wpr && "no wp_viewporter found"); assert(global_wpr->version == 1); wpr = wl_registry_bind(client->wl_registry, global_wpr->name, &wp_viewporter_interface, 1); assert(wpr); return wpr; } static struct wp_viewport * create_viewport(struct client *client) { struct wp_viewporter *viewporter; struct wp_viewport *viewport; viewporter = get_viewporter(client); viewport = wp_viewporter_get_viewport(viewporter, client->surface->wl_surface); assert(viewport); return viewport; } static void set_source(struct wp_viewport *vp, int x, int y, int w, int h) { wp_viewport_set_source(vp, wl_fixed_from_int(x), wl_fixed_from_int(y), wl_fixed_from_int(w), wl_fixed_from_int(h)); } TEST(test_viewporter_double_create) { struct wp_viewporter *viewporter; struct client *client; client = create_client_and_test_surface(100, 50, 123, 77); viewporter = get_viewporter(client); wp_viewporter_get_viewport(viewporter, client->surface->wl_surface); wp_viewporter_get_viewport(viewporter, client->surface->wl_surface); expect_protocol_error(client, &wp_viewporter_interface, WP_VIEWPORTER_ERROR_VIEWPORT_EXISTS); } struct bad_source_rect_args { int x, y, w, h; }; static const struct bad_source_rect_args bad_source_rect_args[] = { { -5, 0, 20, 10 }, { 0, -5, 20, 10 }, { 5, 6, 0, 10 }, { 5, 6, 20, 0 }, { 5, 6, -20, 10 }, { 5, 6, 20, -10 }, { -1, -1, 20, 10 }, { 5, 6, -1, -1 }, }; TEST_P(test_viewporter_bad_source_rect, bad_source_rect_args) { const struct bad_source_rect_args *args = data; struct client *client; struct wp_viewport *vp; client = create_client_and_test_surface(100, 50, 123, 77); vp = create_viewport(client); fprintf(stderr, "wp_viewport.set_source x=%d, y=%d, w=%d, h=%d\n", args->x, args->y, args->w, args->h); set_source(vp, args->x, args->y, args->w, args->h); expect_protocol_error(client, &wp_viewport_interface, WP_VIEWPORT_ERROR_BAD_VALUE); } TEST(test_viewporter_unset_source_rect) { struct client *client; struct wp_viewport *vp; client = create_client_and_test_surface(100, 50, 123, 77); vp = create_viewport(client); set_source(vp, -1, -1, -1, -1); wl_surface_commit(client->surface->wl_surface); client_roundtrip(client); } struct bad_destination_args { int w, h; }; static const struct bad_destination_args bad_destination_args[] = { { 0, 10 }, { 20, 0 }, { -20, 10 }, { -1, 10 }, { 20, -10 }, { 20, -1 }, }; TEST_P(test_viewporter_bad_destination_size, bad_destination_args) { const struct bad_destination_args *args = data; struct client *client; struct wp_viewport *vp; client = create_client_and_test_surface(100, 50, 123, 77); vp = create_viewport(client); fprintf(stderr, "wp_viewport.set_destination w=%d, h=%d\n", args->w, args->h); wp_viewport_set_destination(vp, args->w, args->h); expect_protocol_error(client, &wp_viewport_interface, WP_VIEWPORT_ERROR_BAD_VALUE); } TEST(test_viewporter_unset_destination_size) { struct client *client; struct wp_viewport *vp; client = create_client_and_test_surface(100, 50, 123, 77); vp = create_viewport(client); wp_viewport_set_destination(vp, -1, -1); wl_surface_commit(client->surface->wl_surface); client_roundtrip(client); } struct nonint_destination_args { wl_fixed_t w, h; }; static const struct nonint_destination_args nonint_destination_args[] = { #define F(i,f) ((i) * 256 + (f)) { F(20, 0), F(10, 1) }, { F(20, 0), F(10, -1) }, { F(20, 1), F(10, 0) }, { F(20, -1), F(10, 0) }, { F(20, 128), F(10, 128) }, #undef F }; TEST_P(test_viewporter_non_integer_destination_size, nonint_destination_args) { const struct nonint_destination_args *args = data; struct client *client; struct wp_viewport *vp; client = create_client_and_test_surface(100, 50, 123, 77); vp = create_viewport(client); fprintf(stderr, "non-integer size w=%f, h=%f\n", wl_fixed_to_double(args->w), wl_fixed_to_double(args->h)); wp_viewport_set_source(vp, 5, 6, args->w, args->h); wp_viewport_set_destination(vp, -1, -1); wl_surface_commit(client->surface->wl_surface); expect_protocol_error(client, &wp_viewport_interface, WP_VIEWPORT_ERROR_BAD_SIZE); } struct source_buffer_args { wl_fixed_t x, y; wl_fixed_t w, h; int buffer_scale; enum wl_output_transform buffer_transform; }; static int get_surface_width(struct surface *surface, int buffer_scale, enum wl_output_transform buffer_transform) { switch (buffer_transform) { case WL_OUTPUT_TRANSFORM_NORMAL: case WL_OUTPUT_TRANSFORM_180: case WL_OUTPUT_TRANSFORM_FLIPPED: case WL_OUTPUT_TRANSFORM_FLIPPED_180: return surface->width / buffer_scale; case WL_OUTPUT_TRANSFORM_90: case WL_OUTPUT_TRANSFORM_270: case WL_OUTPUT_TRANSFORM_FLIPPED_90: case WL_OUTPUT_TRANSFORM_FLIPPED_270: return surface->height / buffer_scale; } return -1; } static int get_surface_height(struct surface *surface, int buffer_scale, enum wl_output_transform buffer_transform) { switch (buffer_transform) { case WL_OUTPUT_TRANSFORM_NORMAL: case WL_OUTPUT_TRANSFORM_180: case WL_OUTPUT_TRANSFORM_FLIPPED: case WL_OUTPUT_TRANSFORM_FLIPPED_180: return surface->height / buffer_scale; case WL_OUTPUT_TRANSFORM_90: case WL_OUTPUT_TRANSFORM_270: case WL_OUTPUT_TRANSFORM_FLIPPED_90: case WL_OUTPUT_TRANSFORM_FLIPPED_270: return surface->width / buffer_scale; } return -1; } static void setup_source_vs_buffer(struct client *client, const struct source_buffer_args *args) { struct wl_surface *surf; struct wp_viewport *vp; surf = client->surface->wl_surface; vp = create_viewport(client); fprintf(stderr, "surface %dx%d\n", get_surface_width(client->surface, args->buffer_scale, args->buffer_transform), get_surface_height(client->surface, args->buffer_scale, args->buffer_transform)); fprintf(stderr, "source x=%f, y=%f, w=%f, h=%f; " "buffer scale=%d, transform=%d\n", wl_fixed_to_double(args->x), wl_fixed_to_double(args->y), wl_fixed_to_double(args->w), wl_fixed_to_double(args->h), args->buffer_scale, args->buffer_transform); wl_surface_set_buffer_scale(surf, args->buffer_scale); wl_surface_set_buffer_transform(surf, args->buffer_transform); wl_surface_attach(surf, client->surface->buffer->proxy, 0, 0); wp_viewport_set_source(vp, args->x, args->y, args->w, args->h); wp_viewport_set_destination(vp, 99, 99); wl_surface_commit(surf); } /* buffer dimensions */ #define WIN_W 124 #define WIN_H 78 /* source rect base size */ #define SRC_W 20 #define SRC_H 10 /* margin */ #define MRG 10 /* epsilon of wl_fixed_t */ #define EPS 1 TEST(test_viewporter_source_buffer_params) { const int max_scale = 2; /* buffer_scale requirement */ assert(WIN_W % max_scale == 0); assert(WIN_H % max_scale == 0); /* source rect must fit inside regardless of scale and transform */ assert(SRC_W < WIN_W / max_scale); assert(SRC_H < WIN_H / max_scale); assert(SRC_W < WIN_H / max_scale); assert(SRC_H < WIN_W / max_scale); /* If buffer scale was ignored, source rect should be inside instead */ assert(WIN_W / max_scale + SRC_W + MRG < WIN_W); assert(WIN_H / max_scale + SRC_H + MRG < WIN_H); assert(WIN_W / max_scale + SRC_H + MRG < WIN_W); assert(WIN_H / max_scale + SRC_W + MRG < WIN_H); } static const struct source_buffer_args bad_source_buffer_args[] = { #define F(i) ((i) * 256) /* Flush right-top, but epsilon too far right. */ { F(WIN_W - SRC_W) + EPS, F(0), F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_NORMAL }, { F(WIN_W - SRC_W), F(0), F(SRC_W) + EPS, F(SRC_H), 1, WL_OUTPUT_TRANSFORM_NORMAL }, /* Flush left-bottom, but epsilon too far down. */ { F(0), F(WIN_H - SRC_H) + EPS, F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_NORMAL }, { F(0), F(WIN_H - SRC_H), F(SRC_W), F(SRC_H) + EPS, 1, WL_OUTPUT_TRANSFORM_NORMAL }, /* Completely outside on the right. */ { F(WIN_W + MRG), F(0), F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_NORMAL }, /* Competely outside on the bottom. */ { F(0), F(WIN_H + MRG), F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_NORMAL }, /* * buffer_scale=2, so the surface size will be halved. * If buffer_scale was not taken into account, these would all be inside. * These are the same as above, but adapted to buffer_scale=2. */ { F(WIN_W / 2 - SRC_W) + EPS, F(0), F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_NORMAL }, { F(WIN_W / 2 - SRC_W), F(0), F(SRC_W) + EPS, F(SRC_H), 2, WL_OUTPUT_TRANSFORM_NORMAL }, { F(0), F(WIN_H / 2 - SRC_H) + EPS, F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_NORMAL }, { F(0), F(WIN_H / 2 - SRC_H), F(SRC_W), F(SRC_H) + EPS, 2, WL_OUTPUT_TRANSFORM_NORMAL }, { F(WIN_W / 2 + MRG), F(0), F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_NORMAL }, { F(0), F(WIN_H / 2 + MRG), F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_NORMAL }, /* Exceeding bottom-right corner by epsilon: */ /* non-dimension-swapping transforms */ { F(WIN_W - SRC_W), F(WIN_H - SRC_H), F(SRC_W), F(SRC_H) + EPS, 1, WL_OUTPUT_TRANSFORM_FLIPPED_180 }, { F(WIN_W - SRC_W), F(WIN_H - SRC_H) + EPS, F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_FLIPPED }, { F(WIN_W - SRC_W), F(WIN_H - SRC_H), F(SRC_W) + EPS, F(SRC_H), 1, WL_OUTPUT_TRANSFORM_180 }, /* dimension-swapping transforms */ { F(WIN_H - SRC_W) + EPS, F(WIN_W - SRC_H), F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_90 }, { F(WIN_H - SRC_W), F(WIN_W - SRC_H) + EPS, F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_270 }, { F(WIN_H - SRC_W), F(WIN_W - SRC_H), F(SRC_W) + EPS, F(SRC_H), 1, WL_OUTPUT_TRANSFORM_FLIPPED_90 }, { F(WIN_H - SRC_W), F(WIN_W - SRC_H), F(SRC_W), F(SRC_H) + EPS, 1, WL_OUTPUT_TRANSFORM_FLIPPED_270 }, /* non-dimension-swapping transforms, buffer_scale=2 */ { F(WIN_W / 2 - SRC_W), F(WIN_H / 2 - SRC_H) + EPS, F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_FLIPPED_180 }, { F(WIN_W / 2 - SRC_W), F(WIN_H / 2 - SRC_H), F(SRC_W) + EPS, F(SRC_H), 2, WL_OUTPUT_TRANSFORM_FLIPPED }, { F(WIN_W / 2 - SRC_W), F(WIN_H / 2 - SRC_H), F(SRC_W), F(SRC_H) + EPS, 2, WL_OUTPUT_TRANSFORM_180 }, /* dimension-swapping transforms, buffer_scale=2 */ { F(WIN_H / 2 - SRC_W) + EPS, F(WIN_W / 2 - SRC_H), F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_90 }, { F(WIN_H / 2 - SRC_W), F(WIN_W / 2 - SRC_H) + EPS, F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_270 }, { F(WIN_H / 2 - SRC_W), F(WIN_W / 2 - SRC_H), F(SRC_W) + EPS, F(SRC_H), 2, WL_OUTPUT_TRANSFORM_FLIPPED_90 }, { F(WIN_H / 2 - SRC_W), F(WIN_W / 2 - SRC_H), F(SRC_W), F(SRC_H) + EPS, 2, WL_OUTPUT_TRANSFORM_FLIPPED_270 }, #undef F }; TEST_P(test_viewporter_source_outside_buffer, bad_source_buffer_args) { const struct source_buffer_args *args = data; struct client *client; client = create_client_and_test_surface(100, 50, WIN_W, WIN_H); setup_source_vs_buffer(client, args); expect_protocol_error(client, &wp_viewport_interface, WP_VIEWPORT_ERROR_OUT_OF_BUFFER); } static const struct source_buffer_args good_source_buffer_args[] = { #define F(i) ((i) * 256) /* top-left, top-right, bottom-left, and bottom-right corner */ { F(0), F(0), F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_NORMAL }, { F(WIN_W - SRC_W), F(0), F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_NORMAL }, { F(0), F(WIN_H - SRC_H), F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_NORMAL }, { F(WIN_W - SRC_W), F(WIN_H - SRC_H), F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_NORMAL }, /* buffer_scale=2, so the surface size will be halved */ { F(0), F(0), F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_NORMAL }, { F(WIN_W / 2 - SRC_W), F(0), F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_NORMAL }, { F(0), F(WIN_H / 2 - SRC_H), F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_NORMAL }, { F(WIN_W / 2 - SRC_W), F(WIN_H / 2 - SRC_H), F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_NORMAL }, /* with half pixel offset */ { F(WIN_W / 2 - SRC_W) + 128, F(WIN_H / 2 - SRC_H) + 128, F(SRC_W) - 128, F(SRC_H) - 128, 2, WL_OUTPUT_TRANSFORM_NORMAL }, /* Flushed to bottom-right corner: */ /* non-dimension-swapping transforms */ { F(WIN_W - SRC_W), F(WIN_H - SRC_H), F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_FLIPPED_180 }, { F(WIN_W - SRC_W), F(WIN_H - SRC_H), F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_FLIPPED }, { F(WIN_W - SRC_W), F(WIN_H - SRC_H), F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_180 }, /* dimension-swapping transforms */ { F(WIN_H - SRC_W), F(WIN_W - SRC_H), F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_90 }, { F(WIN_H - SRC_W), F(WIN_W - SRC_H), F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_270 }, { F(WIN_H - SRC_W), F(WIN_W - SRC_H), F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_FLIPPED_90 }, { F(WIN_H - SRC_W), F(WIN_W - SRC_H), F(SRC_W), F(SRC_H), 1, WL_OUTPUT_TRANSFORM_FLIPPED_270 }, /* non-dimension-swapping transforms, buffer_scale=2 */ { F(WIN_W / 2 - SRC_W), F(WIN_H / 2 - SRC_H), F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_FLIPPED_180 }, { F(WIN_W / 2 - SRC_W), F(WIN_H / 2 - SRC_H), F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_FLIPPED }, { F(WIN_W / 2 - SRC_W), F(WIN_H / 2 - SRC_H), F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_180 }, /* dimension-swapping transforms, buffer_scale=2 */ { F(WIN_H / 2 - SRC_W), F(WIN_W / 2 - SRC_H), F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_90 }, { F(WIN_H / 2 - SRC_W), F(WIN_W / 2 - SRC_H), F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_270 }, { F(WIN_H / 2 - SRC_W), F(WIN_W / 2 - SRC_H), F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_FLIPPED_90 }, { F(WIN_H / 2 - SRC_W), F(WIN_W / 2 - SRC_H), F(SRC_W), F(SRC_H), 2, WL_OUTPUT_TRANSFORM_FLIPPED_270 }, #undef F }; TEST_P(test_viewporter_source_inside_buffer, good_source_buffer_args) { const struct source_buffer_args *args = data; struct client *client; client = create_client_and_test_surface(100, 50, WIN_W, WIN_H); setup_source_vs_buffer(client, args); client_roundtrip(client); } #undef WIN_W #undef WIN_H #undef SRC_W #undef SRC_H #undef MRG #undef EPS TEST(test_viewporter_outside_null_buffer) { struct client *client; struct wp_viewport *vp; struct wl_surface *surf; client = create_client_and_test_surface(100, 50, 123, 77); surf = client->surface->wl_surface; /* If buffer is NULL, does not matter what the source rect is. */ vp = create_viewport(client); wl_surface_attach(surf, NULL, 0, 0); set_source(vp, 1000, 1000, 20, 10); wp_viewport_set_destination(vp, 99, 99); wl_surface_commit(surf); client_roundtrip(client); /* Try again, with all old values. */ wl_surface_commit(surf); client_roundtrip(client); /* Try once more with old NULL buffer. */ set_source(vp, 1200, 1200, 20, 10); wl_surface_commit(surf); client_roundtrip(client); /* When buffer comes back, source rect matters again. */ wl_surface_attach(surf, client->surface->buffer->proxy, 0, 0); wl_surface_commit(surf); expect_protocol_error(client, &wp_viewport_interface, WP_VIEWPORT_ERROR_OUT_OF_BUFFER); } TEST(test_viewporter_no_surface_set_source) { struct client *client; struct wp_viewport *vp; client = create_client_and_test_surface(100, 50, 123, 77); vp = create_viewport(client); wl_surface_destroy(client->surface->wl_surface); client->surface->wl_surface = NULL; /* But the wl_surface does not exist anymore. */ set_source(vp, 1000, 1000, 20, 10); expect_protocol_error(client, &wp_viewport_interface, WP_VIEWPORT_ERROR_NO_SURFACE); } TEST(test_viewporter_no_surface_set_destination) { struct client *client; struct wp_viewport *vp; client = create_client_and_test_surface(100, 50, 123, 77); vp = create_viewport(client); wl_surface_destroy(client->surface->wl_surface); client->surface->wl_surface = NULL; /* But the wl_surface does not exist anymore. */ wp_viewport_set_destination(vp, 99, 99); expect_protocol_error(client, &wp_viewport_interface, WP_VIEWPORT_ERROR_NO_SURFACE); } TEST(test_viewporter_no_surface_destroy) { struct client *client; struct wp_viewport *vp; client = create_client_and_test_surface(100, 50, 123, 77); vp = create_viewport(client); wl_surface_destroy(client->surface->wl_surface); client->surface->wl_surface = NULL; /* But the wl_surface does not exist anymore. */ wp_viewport_destroy(vp); client_roundtrip(client); } weston-3.0.0/tests/matrix-test.c0000664000175000017500000002154013142404577013554 00000000000000/* * Copyright © 2012 Collabora, Ltd. * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include #include "shared/matrix.h" struct inverse_matrix { double LU[16]; /* column-major */ unsigned perm[4]; /* permutation */ }; static struct timespec begin_time; static void reset_timer(void) { clock_gettime(CLOCK_MONOTONIC, &begin_time); } static double read_timer(void) { struct timespec t; clock_gettime(CLOCK_MONOTONIC, &t); return (double)(t.tv_sec - begin_time.tv_sec) + 1e-9 * (t.tv_nsec - begin_time.tv_nsec); } static double det3x3(const float *c0, const float *c1, const float *c2) { return (double) c0[0] * c1[1] * c2[2] + c1[0] * c2[1] * c0[2] + c2[0] * c0[1] * c1[2] - c0[2] * c1[1] * c2[0] - c1[2] * c2[1] * c0[0] - c2[2] * c0[1] * c1[0]; } static double determinant(const struct weston_matrix *m) { double det = 0; #if 1 /* develop on last row */ det -= m->d[3 + 0 * 4] * det3x3(&m->d[4], &m->d[8], &m->d[12]); det += m->d[3 + 1 * 4] * det3x3(&m->d[0], &m->d[8], &m->d[12]); det -= m->d[3 + 2 * 4] * det3x3(&m->d[0], &m->d[4], &m->d[12]); det += m->d[3 + 3 * 4] * det3x3(&m->d[0], &m->d[4], &m->d[8]); #else /* develop on first row */ det += m->d[0 + 0 * 4] * det3x3(&m->d[5], &m->d[9], &m->d[13]); det -= m->d[0 + 1 * 4] * det3x3(&m->d[1], &m->d[9], &m->d[13]); det += m->d[0 + 2 * 4] * det3x3(&m->d[1], &m->d[5], &m->d[13]); det -= m->d[0 + 3 * 4] * det3x3(&m->d[1], &m->d[5], &m->d[9]); #endif return det; } static void print_permutation_matrix(const struct inverse_matrix *m) { const unsigned *p = m->perm; const char *row[4] = { "1 0 0 0\n", "0 1 0 0\n", "0 0 1 0\n", "0 0 0 1\n" }; printf(" P =\n%s%s%s%s", row[p[0]], row[p[1]], row[p[2]], row[p[3]]); } static void print_LU_decomposition(const struct inverse_matrix *m) { unsigned r, c; printf(" L " " U\n"); for (r = 0; r < 4; ++r) { double v; for (c = 0; c < 4; ++c) { if (c < r) v = m->LU[r + c * 4]; else if (c == r) v = 1.0; else v = 0.0; printf(" %12.6f", v); } printf(" | "); for (c = 0; c < 4; ++c) { if (c >= r) v = m->LU[r + c * 4]; else v = 0.0; printf(" %12.6f", v); } printf("\n"); } } static void print_inverse_data_matrix(const struct inverse_matrix *m) { unsigned r, c; for (r = 0; r < 4; ++r) { for (c = 0; c < 4; ++c) printf(" %12.6f", m->LU[r + c * 4]); printf("\n"); } printf("permutation: "); for (r = 0; r < 4; ++r) printf(" %u", m->perm[r]); printf("\n"); } static void print_matrix(const struct weston_matrix *m) { unsigned r, c; for (r = 0; r < 4; ++r) { for (c = 0; c < 4; ++c) printf(" %14.6e", m->d[r + c * 4]); printf("\n"); } } static double frand(void) { double r = random(); return r / (double)(RAND_MAX / 2) - 1.0f; } static void randomize_matrix(struct weston_matrix *m) { unsigned i; for (i = 0; i < 16; ++i) #if 1 m->d[i] = frand() * exp(10.0 * frand()); #else m->d[i] = frand(); #endif } /* Take a matrix, compute inverse, multiply together * and subtract the identity matrix to get the error matrix. * Return the largest absolute value from the error matrix. */ static double test_inverse(struct weston_matrix *m) { unsigned i; struct inverse_matrix q; double errsup = 0.0; if (matrix_invert(q.LU, q.perm, m) != 0) return INFINITY; for (i = 0; i < 4; ++i) inverse_transform(q.LU, q.perm, &m->d[i * 4]); m->d[0] -= 1.0f; m->d[5] -= 1.0f; m->d[10] -= 1.0f; m->d[15] -= 1.0f; for (i = 0; i < 16; ++i) { double err = fabs(m->d[i]); if (err > errsup) errsup = err; } return errsup; } enum { TEST_OK, TEST_NOT_INVERTIBLE_OK, TEST_FAIL, TEST_COUNT }; static int test(void) { struct weston_matrix m; double det, errsup; randomize_matrix(&m); det = determinant(&m); errsup = test_inverse(&m); if (errsup < 1e-6) return TEST_OK; if (fabs(det) < 1e-5 && isinf(errsup)) return TEST_NOT_INVERTIBLE_OK; printf("test fail, det: %g, error sup: %g\n", det, errsup); return TEST_FAIL; } static int running; static void stopme(int n) { running = 0; } static void test_loop_precision(void) { int counts[TEST_COUNT] = { 0 }; printf("\nRunning a test loop for 10 seconds...\n"); running = 1; alarm(10); while (running) { counts[test()]++; } printf("tests: %d ok, %d not invertible but ok, %d failed.\n" "Total: %d iterations.\n", counts[TEST_OK], counts[TEST_NOT_INVERTIBLE_OK], counts[TEST_FAIL], counts[TEST_OK] + counts[TEST_NOT_INVERTIBLE_OK] + counts[TEST_FAIL]); } static void __attribute__((noinline)) test_loop_speed_matrixvector(void) { struct weston_matrix m; struct weston_vector v = { { 0.5, 0.5, 0.5, 1.0 } }; unsigned long count = 0; double t; printf("\nRunning 3 s test on weston_matrix_transform()...\n"); weston_matrix_init(&m); running = 1; alarm(3); reset_timer(); while (running) { weston_matrix_transform(&m, &v); count++; } t = read_timer(); printf("%lu iterations in %f seconds, avg. %.1f ns/iter.\n", count, t, 1e9 * t / count); } static void __attribute__((noinline)) test_loop_speed_inversetransform(void) { struct weston_matrix m; struct inverse_matrix inv; struct weston_vector v = { { 0.5, 0.5, 0.5, 1.0 } }; unsigned long count = 0; double t; printf("\nRunning 3 s test on inverse_transform()...\n"); weston_matrix_init(&m); matrix_invert(inv.LU, inv.perm, &m); running = 1; alarm(3); reset_timer(); while (running) { inverse_transform(inv.LU, inv.perm, v.f); count++; } t = read_timer(); printf("%lu iterations in %f seconds, avg. %.1f ns/iter.\n", count, t, 1e9 * t / count); } static void __attribute__((noinline)) test_loop_speed_invert(void) { struct weston_matrix m; struct inverse_matrix inv; unsigned long count = 0; double t; printf("\nRunning 3 s test on matrix_invert()...\n"); weston_matrix_init(&m); running = 1; alarm(3); reset_timer(); while (running) { matrix_invert(inv.LU, inv.perm, &m); count++; } t = read_timer(); printf("%lu iterations in %f seconds, avg. %.1f ns/iter.\n", count, t, 1e9 * t / count); } static void __attribute__((noinline)) test_loop_speed_invert_explicit(void) { struct weston_matrix m; unsigned long count = 0; double t; printf("\nRunning 3 s test on weston_matrix_invert()...\n"); weston_matrix_init(&m); running = 1; alarm(3); reset_timer(); while (running) { weston_matrix_invert(&m, &m); count++; } t = read_timer(); printf("%lu iterations in %f seconds, avg. %.1f ns/iter.\n", count, t, 1e9 * t / count); } int main(void) { struct sigaction ding; struct weston_matrix M; struct inverse_matrix Q; int ret; double errsup; double det; ding.sa_handler = stopme; sigemptyset(&ding.sa_mask); ding.sa_flags = 0; sigaction(SIGALRM, &ding, NULL); srandom(13); M.d[0] = 3.0; M.d[4] = 17.0; M.d[8] = 10.0; M.d[12] = 0.0; M.d[1] = 2.0; M.d[5] = 4.0; M.d[9] = -2.0; M.d[13] = 0.0; M.d[2] = 6.0; M.d[6] = 18.0; M.d[10] = -12; M.d[14] = 0.0; M.d[3] = 0.0; M.d[7] = 0.0; M.d[11] = 0.0; M.d[15] = 1.0; ret = matrix_invert(Q.LU, Q.perm, &M); printf("ret = %d\n", ret); printf("det = %g\n\n", determinant(&M)); if (ret != 0) return 1; print_inverse_data_matrix(&Q); printf("P * A = L * U\n"); print_permutation_matrix(&Q); print_LU_decomposition(&Q); printf("a random matrix:\n"); randomize_matrix(&M); det = determinant(&M); print_matrix(&M); errsup = test_inverse(&M); printf("\nThe matrix multiplied by its inverse, error:\n"); print_matrix(&M); printf("max abs error: %g, original determinant %g\n", errsup, det); test_loop_precision(); test_loop_speed_matrixvector(); test_loop_speed_inversetransform(); test_loop_speed_invert(); test_loop_speed_invert_explicit(); return 0; } weston-3.0.0/tests/xwayland-test.c0000664000175000017500000000626113142404577014102 00000000000000/* * Copyright © 2015 Samsung Electronics Co., Ltd * * 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 (including the * next paragraph) 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. * * xwayland-test: Confirm that we can map a window and we're running * under Xwayland, not just X. * * This is done in steps: * 1) Confirm that the WL_SURFACE_ID atom exists * 2) Confirm that the window manager's name is "Weston WM" * 3) Make sure we can map a window */ #include "config.h" #include #include #include #include #include #include #include #include "weston-test-runner.h" TEST(xwayland_client_test) { Display *display; Window window, root, *support; XEvent event; int screen, status, actual_format; unsigned long nitems, bytes; Atom atom, type_atom, actual_type; char *wm_name; if (access(XSERVER_PATH, X_OK) != 0) exit(77); display = XOpenDisplay(NULL); if (!display) exit(EXIT_FAILURE); atom = XInternAtom(display, "WL_SURFACE_ID", True); assert(atom != None); atom = XInternAtom(display, "_NET_SUPPORTING_WM_CHECK", True); assert(atom != None); screen = DefaultScreen(display); root = RootWindow(display, screen); status = XGetWindowProperty(display, root, atom, 0L, ~0L, False, XA_WINDOW, &actual_type, &actual_format, &nitems, &bytes, (void *)&support); assert(status == Success); atom = XInternAtom(display, "_NET_WM_NAME", True); assert(atom != None); type_atom = XInternAtom(display, "UTF8_STRING", True); assert(atom != None); status = XGetWindowProperty(display, *support, atom, 0L, BUFSIZ, False, type_atom, &actual_type, &actual_format, &nitems, &bytes, (void *)&wm_name); assert(status == Success); assert(nitems); assert(strcmp("Weston WM", wm_name) == 0); free(support); free(wm_name); window = XCreateSimpleWindow(display, root, 100, 100, 300, 300, 1, BlackPixel(display, screen), WhitePixel(display, screen)); XSelectInput(display, window, ExposureMask); XMapWindow(display, window); alarm(4); while (1) { XNextEvent(display, &event); if (event.type == Expose) break; } XCloseDisplay(display); exit(EXIT_SUCCESS); } weston-3.0.0/tests/ivi-test.h0000664000175000017500000000322113142404577013040 00000000000000/* * Copyright © 2015 Collabora, Ltd. * * 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 (including the * next paragraph) 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. */ #ifndef IVI_TEST_H #define IVI_TEST_H /* * IVI_TEST_SURFACE_ID_BASE is an arbitrary number picked for the * IVI tests. The only requirement is that it does not clash with * any other ivi-id range used in Weston. */ #define IVI_TEST_SURFACE_ID_BASE 0xffc01200 #define IVI_TEST_SURFACE_ID(i) (IVI_TEST_SURFACE_ID_BASE + i) #define IVI_TEST_LAYER_ID_BASE 0xeef01200 #define IVI_TEST_LAYER_ID(i) (IVI_TEST_LAYER_ID_BASE + i) #define IVI_TEST_SURFACE_COUNT (3) #define IVI_TEST_LAYER_COUNT (3) #endif /* IVI_TEST_H */ weston-3.0.0/tests/subsurface-shot-test.c0000664000175000017500000001612013142404577015363 00000000000000/* * Copyright © 2015 Samsung Electronics Co., Ltd * Copyright © 2016 Collabora, Ltd. * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include "weston-test-client-helper.h" char *server_parameters = "--use-pixman --width=320 --height=240" " --shell=weston-test-desktop-shell.so"; static struct wl_subcompositor * get_subcompositor(struct client *client) { struct global *g; struct global *global_sub = NULL; struct wl_subcompositor *sub; wl_list_for_each(g, &client->global_list, link) { if (strcmp(g->interface, "wl_subcompositor")) continue; if (global_sub) assert(0 && "multiple wl_subcompositor objects"); global_sub = g; } assert(global_sub && "no wl_subcompositor found"); assert(global_sub->version == 1); sub = wl_registry_bind(client->wl_registry, global_sub->name, &wl_subcompositor_interface, 1); assert(sub); return sub; } static void fill_color(pixman_image_t *image, pixman_color_t *color) { pixman_image_t *solid; int width; int height; width = pixman_image_get_width(image); height = pixman_image_get_height(image); solid = pixman_image_create_solid_fill(color); pixman_image_composite32(PIXMAN_OP_SRC, solid, /* src */ NULL, /* mask */ image, /* dst */ 0, 0, /* src x,y */ 0, 0, /* mask x,y */ 0, 0, /* dst x,y */ width, height); pixman_image_unref(solid); } static pixman_color_t * color(pixman_color_t *tmp, uint8_t r, uint8_t g, uint8_t b) { tmp->alpha = 65535; tmp->red = (r << 8) + r; tmp->green = (g << 8) + g; tmp->blue = (b << 8) + b; return tmp; } static void write_visual_diff(pixman_image_t *ref_image, struct buffer *shot, const struct rectangle *clip, const char *test_name, int seq_no) { char *fname; char *ext_test_name; pixman_image_t *diff; int ret; ret = asprintf(&ext_test_name, "%s-diff", test_name); assert(ret >= 0); fname = screenshot_output_filename(ext_test_name, seq_no); diff = visualize_image_difference(shot->image, ref_image, clip); write_image_as_png(diff, fname); pixman_image_unref(diff); free(fname); free(ext_test_name); } static int check_screen(struct client *client, const char *ref_image, int ref_seq_no, const struct rectangle *clip, int seq_no) { const char *test_name = get_test_name(); struct buffer *shot; pixman_image_t *ref; char *ref_fname; char *shot_fname; bool match; ref_fname = screenshot_reference_filename(ref_image, ref_seq_no); shot_fname = screenshot_output_filename(test_name, seq_no); ref = load_image_from_png(ref_fname); assert(ref); shot = capture_screenshot_of_output(client); assert(shot); match = check_images_match(shot->image, ref, clip); printf("ref %s vs. shot %s: %s\n", ref_fname, shot_fname, match ? "PASS" : "FAIL"); write_image_as_png(shot->image, shot_fname); if (!match) write_visual_diff(ref, shot, clip, test_name, seq_no); buffer_destroy(shot); pixman_image_unref(ref); free(ref_fname); free(shot_fname); return match ? 0 : -1; } static struct buffer * surface_commit_color(struct client *client, struct wl_surface *surface, pixman_color_t *color, int width, int height) { struct buffer *buf; buf = create_shm_buffer_a8r8g8b8(client, width, height); fill_color(buf->image, color); wl_surface_attach(surface, buf->proxy, 0, 0); wl_surface_damage(surface, 0, 0, width, height); wl_surface_commit(surface); return buf; } TEST(subsurface_z_order) { const char *test_name = get_test_name(); struct client *client; struct wl_subcompositor *subco; struct buffer *bufs[5] = { 0 }; struct wl_surface *surf[5] = { 0 }; struct wl_subsurface *sub[5] = { 0 }; struct rectangle clip = { 40, 40, 280, 200 }; int fail = 0; unsigned i; pixman_color_t red; pixman_color_t blue; pixman_color_t cyan; pixman_color_t green; color(&red, 255, 0, 0); color(&blue, 0, 0, 255); color(&cyan, 0, 255, 255); color(&green, 0, 255, 0); client = create_client_and_test_surface(100, 50, 100, 100); assert(client); subco = get_subcompositor(client); /* move the pointer clearly away from our screenshooting area */ weston_test_move_pointer(client->test->weston_test, 2, 30); /* make the parent surface red */ surf[0] = client->surface->wl_surface; bufs[0] = surface_commit_color(client, surf[0], &red, 100, 100); /* sub[0] is not used */ fail += check_screen(client, test_name, 0, &clip, 0); /* create a blue sub-surface above red */ surf[1] = wl_compositor_create_surface(client->wl_compositor); sub[1] = wl_subcompositor_get_subsurface(subco, surf[1], surf[0]); bufs[1] = surface_commit_color(client, surf[1], &blue, 100, 100); wl_subsurface_set_position(sub[1], 20, 20); wl_surface_commit(surf[0]); fail += check_screen(client, test_name, 1, &clip, 1); /* create a cyan sub-surface above blue */ surf[2] = wl_compositor_create_surface(client->wl_compositor); sub[2] = wl_subcompositor_get_subsurface(subco, surf[2], surf[1]); bufs[2] = surface_commit_color(client, surf[2], &cyan, 100, 100); wl_subsurface_set_position(sub[2], 20, 20); wl_surface_commit(surf[1]); wl_surface_commit(surf[0]); fail += check_screen(client, test_name, 2, &clip, 2); /* create a green sub-surface above blue, sibling to cyan */ surf[3] = wl_compositor_create_surface(client->wl_compositor); sub[3] = wl_subcompositor_get_subsurface(subco, surf[3], surf[1]); bufs[3] = surface_commit_color(client, surf[3], &green, 100, 100); wl_subsurface_set_position(sub[3], -40, 10); wl_surface_commit(surf[1]); wl_surface_commit(surf[0]); fail += check_screen(client, test_name, 3, &clip, 3); /* stack blue below red, which brings also cyan and green below red */ wl_subsurface_place_below(sub[1], surf[0]); wl_surface_commit(surf[0]); fail += check_screen(client, test_name, 4, &clip, 4); assert(fail == 0); for (i = 0; i < ARRAY_LENGTH(sub); i++) if (sub[i]) wl_subsurface_destroy(sub[i]); for (i = 0; i < ARRAY_LENGTH(surf); i++) if (surf[i]) wl_surface_destroy(surf[i]); for (i = 0; i < ARRAY_LENGTH(bufs); i++) if (bufs[i]) buffer_destroy(bufs[i]); } weston-3.0.0/tests/internal-screenshot.ini0000664000175000017500000000007313142404577015615 00000000000000[shell] startup-animation=none background-color=0xCC336699 weston-3.0.0/tests/setbacklight.c0000664000175000017500000001171413142404577013741 00000000000000/* * Copyright © 2012 Intel Corporation * * 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 (including the * next paragraph) 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. * * Author: Tiago Vignatti */ /* * \file setbacklight.c * Test program to get a backlight connector and set its brightness value. * Queries for the connectors id can be performed using drm/tests/modeprint * program. */ #include "config.h" #include #include #include #include #include #include #include "libbacklight.h" static uint32_t get_drm_connector_type(struct udev_device *drm_device, uint32_t connector_id) { const char *filename; int fd, i, connector_type; drmModeResPtr res; drmModeConnectorPtr connector; filename = udev_device_get_devnode(drm_device); fd = open(filename, O_RDWR | O_CLOEXEC); if (fd < 0) { printf("couldn't open drm_device\n"); return -1; } res = drmModeGetResources(fd); if (res == 0) { printf("Failed to get resources from card\n"); close(fd); return -1; } for (i = 0; i < res->count_connectors; i++) { connector = drmModeGetConnector(fd, res->connectors[i]); if (!connector) continue; if ((connector->connection == DRM_MODE_DISCONNECTED) || (connector->connector_id != connector_id)) { drmModeFreeConnector(connector); continue; } connector_type = connector->connector_type; drmModeFreeConnector(connector); drmModeFreeResources(res); close(fd); return connector_type; } close(fd); drmModeFreeResources(res); return -1; } /* returns a value between 0-255 range, where higher is brighter */ static uint32_t get_normalized_backlight(struct backlight *backlight) { long brightness, max_brightness; long norm; brightness = backlight_get_brightness(backlight); max_brightness = backlight_get_max_brightness(backlight); /* convert it to a scale of 0 to 255 */ norm = (brightness * 255)/(max_brightness); return (int) norm; } static void set_backlight(struct udev_device *drm_device, int connector_id, int blight) { int connector_type; long max_brightness, brightness, actual_brightness; struct backlight *backlight; long new_blight; connector_type = get_drm_connector_type(drm_device, connector_id); if (connector_type < 0) return; backlight = backlight_init(drm_device, connector_type); if (!backlight) { printf("backlight adjust failed\n"); return; } max_brightness = backlight_get_max_brightness(backlight); printf("Max backlight: %ld\n", max_brightness); brightness = backlight_get_brightness(backlight); printf("Cached backlight: %ld\n", brightness); actual_brightness = backlight_get_actual_brightness(backlight); printf("Hardware backlight: %ld\n", actual_brightness); printf("normalized current brightness: %d\n", get_normalized_backlight(backlight)); /* denormalized value */ new_blight = (blight * max_brightness) / 255; backlight_set_brightness(backlight, new_blight); printf("Setting brightness to: %ld (norm: %d)\n", new_blight, blight); backlight_destroy(backlight); } int main(int argc, char **argv) { int blight, connector_id; const char *path; struct udev *udev; struct udev_enumerate *e; struct udev_list_entry *entry; struct udev_device *drm_device; if (argc < 3) { printf("Please add connector_id and brightness values from 0-255\n"); return 1; } connector_id = atoi(argv[1]); blight = atoi(argv[2]); udev = udev_new(); if (udev == NULL) { printf("failed to initialize udev context\n"); return 1; } e = udev_enumerate_new(udev); udev_enumerate_add_match_subsystem(e, "drm"); udev_enumerate_add_match_sysname(e, "card[0-9]*"); udev_enumerate_scan_devices(e); drm_device = NULL; udev_list_entry_foreach(entry, udev_enumerate_get_list_entry(e)) { path = udev_list_entry_get_name(entry); drm_device = udev_device_new_from_syspath(udev, path); break; } if (drm_device == NULL) { printf("no drm device found\n"); return 1; } set_backlight(drm_device, connector_id, blight); udev_device_unref(drm_device); return 0; } weston-3.0.0/tests/button-test.c0000664000175000017500000000410113142404577013555 00000000000000/* * Copyright © 2012 Intel Corporation * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include "weston-test-client-helper.h" TEST(simple_button_test) { struct client *client; struct pointer *pointer; client = create_client_and_test_surface(100, 100, 100, 100); assert(client); pointer = client->input->pointer; assert(pointer->button == 0); assert(pointer->state == 0); weston_test_move_pointer(client->test->weston_test, 150, 150); client_roundtrip(client); assert(pointer->x == 50); assert(pointer->y == 50); weston_test_send_button(client->test->weston_test, BTN_LEFT, WL_POINTER_BUTTON_STATE_PRESSED); client_roundtrip(client); assert(pointer->button == BTN_LEFT); assert(pointer->state == WL_POINTER_BUTTON_STATE_PRESSED); weston_test_send_button(client->test->weston_test, BTN_LEFT, WL_POINTER_BUTTON_STATE_RELEASED); client_roundtrip(client); assert(pointer->button == BTN_LEFT); assert(pointer->state == WL_POINTER_BUTTON_STATE_RELEASED); } weston-3.0.0/tests/ivi_layout-test.c0000664000175000017500000002767313142404577014451 00000000000000/* * Copyright © 2015 Collabora, Ltd. * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include "shared/helpers.h" #include "shared/xalloc.h" #include "weston-test-client-helper.h" #include "ivi-application-client-protocol.h" #include "ivi-test.h" struct runner { struct client *client; struct weston_test_runner *test_runner; int done; }; static void runner_finished_handler(void *data, struct weston_test_runner *test_runner) { struct runner *runner = data; runner->done = 1; } static const struct weston_test_runner_listener test_runner_listener = { runner_finished_handler }; static struct runner * client_create_runner(struct client *client) { struct runner *runner; struct global *g; struct global *global_runner = NULL; runner = xzalloc(sizeof(*runner)); runner->client = client; wl_list_for_each(g, &client->global_list, link) { if (strcmp(g->interface, "weston_test_runner")) continue; if (global_runner) assert(0 && "multiple weston_test_runner objects"); global_runner = g; } assert(global_runner && "no weston_test_runner found"); assert(global_runner->version == 1); runner->test_runner = wl_registry_bind(client->wl_registry, global_runner->name, &weston_test_runner_interface, 1); assert(runner->test_runner); weston_test_runner_add_listener(runner->test_runner, &test_runner_listener, runner); return runner; } static void runner_destroy(struct runner *runner) { weston_test_runner_destroy(runner->test_runner); client_roundtrip(runner->client); free(runner); } static void runner_run(struct runner *runner, const char *test_name) { fprintf(stderr, "weston_test_runner.run(\"%s\")\n", test_name); runner->done = 0; weston_test_runner_run(runner->test_runner, test_name); while (!runner->done) { if (wl_display_dispatch(runner->client->wl_display) < 0) assert(0 && "runner wait"); } } static struct ivi_application * get_ivi_application(struct client *client) { struct global *g; struct global *global_iviapp = NULL; static struct ivi_application *iviapp; if (iviapp) return iviapp; wl_list_for_each(g, &client->global_list, link) { if (strcmp(g->interface, "ivi_application")) continue; if (global_iviapp) assert(0 && "multiple ivi_application objects"); global_iviapp = g; } assert(global_iviapp && "no ivi_application found"); assert(global_iviapp->version == 1); iviapp = wl_registry_bind(client->wl_registry, global_iviapp->name, &ivi_application_interface, 1); assert(iviapp); return iviapp; } struct ivi_window { struct wl_surface *wl_surface; struct ivi_surface *ivi_surface; uint32_t ivi_id; }; static struct ivi_window * client_create_ivi_window(struct client *client, uint32_t ivi_id) { struct ivi_application *iviapp; struct ivi_window *wnd; iviapp = get_ivi_application(client); wnd = xzalloc(sizeof(*wnd)); wnd->wl_surface = wl_compositor_create_surface(client->wl_compositor); wnd->ivi_surface = ivi_application_surface_create(iviapp, ivi_id, wnd->wl_surface); wnd->ivi_id = ivi_id; return wnd; } static void ivi_window_destroy(struct ivi_window *wnd) { ivi_surface_destroy(wnd->ivi_surface); wl_surface_destroy(wnd->wl_surface); free(wnd); } /******************************** tests ********************************/ /* * This is a test program, launched by ivi_layout-test-plugin.c. Each TEST() * is forked and exec'd as usual with the weston-test-runner framework. * * These tests make use of weston_test_runner global interface exposed by * ivi_layout-test-plugin.c. This allows these tests to trigger compositor-side * checks. * * See ivi_layout-test-plugin.c for further details. */ /** * RUNNER_TEST() names are defined in ivi_layout-test-plugin.c. * Each RUNNER_TEST name listed here uses the same simple initial client setup. */ const char * const basic_test_names[] = { "surface_visibility", "surface_opacity", "surface_dimension", "surface_position", "surface_destination_rectangle", "surface_source_rectangle", "surface_bad_opacity", "surface_properties_changed_notification", "surface_bad_properties_changed_notification", "surface_on_many_layer", }; const char * const surface_property_commit_changes_test_names[] = { "commit_changes_after_visibility_set_surface_destroy", "commit_changes_after_opacity_set_surface_destroy", "commit_changes_after_source_rectangle_set_surface_destroy", "commit_changes_after_destination_rectangle_set_surface_destroy", }; const char * const render_order_test_names[] = { "layer_render_order", "layer_bad_render_order", "layer_add_surfaces", }; TEST_P(ivi_layout_runner, basic_test_names) { /* an element from basic_test_names */ const char * const *test_name = data; struct client *client; struct runner *runner; struct ivi_window *wnd; client = create_client(); runner = client_create_runner(client); wnd = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(0)); runner_run(runner, *test_name); ivi_window_destroy(wnd); runner_destroy(runner); } TEST(ivi_layout_surface_create) { struct client *client; struct runner *runner; struct ivi_window *winds[2]; client = create_client(); runner = client_create_runner(client); winds[0] = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(0)); winds[1] = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(1)); runner_run(runner, "surface_create_p1"); ivi_window_destroy(winds[0]); runner_run(runner, "surface_create_p2"); ivi_window_destroy(winds[1]); runner_destroy(runner); } TEST_P(commit_changes_after_properties_set_surface_destroy, surface_property_commit_changes_test_names) { /* an element from surface_property_commit_changes_test_names */ const char * const *test_name = data; struct client *client; struct runner *runner; struct ivi_window *wnd; client = create_client(); runner = client_create_runner(client); wnd = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(0)); runner_run(runner, *test_name); ivi_window_destroy(wnd); runner_run(runner, "ivi_layout_commit_changes"); runner_destroy(runner); } TEST(get_surface_after_destroy_ivi_surface) { struct client *client; struct runner *runner; struct ivi_window *wnd; client = create_client(); runner = client_create_runner(client); wnd = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(0)); ivi_surface_destroy(wnd->ivi_surface); runner_run(runner, "get_surface_after_destroy_surface"); wl_surface_destroy(wnd->wl_surface); free(wnd); runner_destroy(runner); } TEST(get_surface_after_destroy_wl_surface) { struct client *client; struct runner *runner; struct ivi_window *wnd; client = create_client(); runner = client_create_runner(client); wnd = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(0)); wl_surface_destroy(wnd->wl_surface); runner_run(runner, "get_surface_after_destroy_surface"); ivi_surface_destroy(wnd->ivi_surface); free(wnd); runner_destroy(runner); } TEST_P(ivi_layout_layer_render_order_runner, render_order_test_names) { /* an element from render_order_test_names */ const char * const *test_name = data; struct client *client; struct runner *runner; struct ivi_window *winds[3]; client = create_client(); runner = client_create_runner(client); winds[0] = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(0)); winds[1] = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(1)); winds[2] = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(2)); runner_run(runner, *test_name); ivi_window_destroy(winds[0]); ivi_window_destroy(winds[1]); ivi_window_destroy(winds[2]); runner_destroy(runner); } TEST(destroy_surface_after_layer_render_order) { struct client *client; struct runner *runner; struct ivi_window *winds[3]; client = create_client(); runner = client_create_runner(client); winds[0] = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(0)); winds[1] = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(1)); winds[2] = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(2)); runner_run(runner, "test_layer_render_order_destroy_one_surface_p1"); ivi_window_destroy(winds[1]); runner_run(runner, "test_layer_render_order_destroy_one_surface_p2"); ivi_window_destroy(winds[0]); ivi_window_destroy(winds[2]); runner_destroy(runner); } TEST(commit_changes_after_render_order_set_surface_destroy) { struct client *client; struct runner *runner; struct ivi_window *winds[3]; client = create_client(); runner = client_create_runner(client); winds[0] = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(0)); winds[1] = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(1)); winds[2] = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(2)); runner_run(runner, "commit_changes_after_render_order_set_surface_destroy"); ivi_window_destroy(winds[1]); runner_run(runner, "ivi_layout_commit_changes"); runner_run(runner, "cleanup_layer"); ivi_window_destroy(winds[0]); ivi_window_destroy(winds[2]); runner_destroy(runner); } TEST(ivi_layout_surface_configure_notification) { struct client *client; struct runner *runner; struct ivi_window *wind; struct buffer *buffer; client = create_client(); runner = client_create_runner(client); runner_run(runner, "surface_configure_notification_p1"); wind = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(0)); buffer = create_shm_buffer_a8r8g8b8(client, 200, 300); wl_surface_attach(wind->wl_surface, buffer->proxy, 0, 0); wl_surface_damage(wind->wl_surface, 0, 0, 20, 30); wl_surface_commit(wind->wl_surface); runner_run(runner, "surface_configure_notification_p2"); wl_surface_attach(wind->wl_surface, buffer->proxy, 0, 0); wl_surface_damage(wind->wl_surface, 0, 0, 40, 50); wl_surface_commit(wind->wl_surface); runner_run(runner, "surface_configure_notification_p3"); buffer_destroy(buffer); ivi_window_destroy(wind); runner_destroy(runner); } TEST(ivi_layout_surface_create_notification) { struct client *client; struct runner *runner; struct ivi_window *wind; client = create_client(); runner = client_create_runner(client); runner_run(runner, "surface_create_notification_p1"); wind = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(0)); runner_run(runner, "surface_create_notification_p2"); ivi_window_destroy(wind); wind = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(0)); runner_run(runner, "surface_create_notification_p3"); ivi_window_destroy(wind); runner_destroy(runner); } TEST(ivi_layout_surface_remove_notification) { struct client *client; struct runner *runner; struct ivi_window *wind; client = create_client(); runner = client_create_runner(client); wind = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(0)); runner_run(runner, "surface_remove_notification_p1"); ivi_window_destroy(wind); runner_run(runner, "surface_remove_notification_p2"); wind = client_create_ivi_window(client, IVI_TEST_SURFACE_ID(0)); ivi_window_destroy(wind); runner_run(runner, "surface_remove_notification_p3"); runner_destroy(runner); } weston-3.0.0/tests/ivi-shell-app-test.c0000664000175000017500000000421513142404577014722 00000000000000/* * Copyright © 2015 Collabora, Ltd. * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include "weston-test-client-helper.h" #include "ivi-application-client-protocol.h" static struct ivi_application * get_ivi_application(struct client *client) { struct global *g; struct global *global_iviapp = NULL; static struct ivi_application *iviapp; if (iviapp) return iviapp; wl_list_for_each(g, &client->global_list, link) { if (strcmp(g->interface, "ivi_application")) continue; if (global_iviapp) assert(0 && "multiple ivi_application objects"); global_iviapp = g; } assert(global_iviapp && "no ivi_application found"); assert(global_iviapp->version == 1); iviapp = wl_registry_bind(client->wl_registry, global_iviapp->name, &ivi_application_interface, 1); assert(iviapp); return iviapp; } TEST(ivi_application_exists) { struct client *client; struct ivi_application *iviapp; client = create_client(); iviapp = get_ivi_application(client); client_roundtrip(client); printf("Successful bind: %p\n", iviapp); } weston-3.0.0/tests/roles-test.c0000664000175000017500000000731413142404577013377 00000000000000/* * Copyright © 2014 Collabora, Ltd. * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include "weston-test-client-helper.h" static struct wl_subcompositor * get_subcompositor(struct client *client) { struct global *g; struct global *global_sub = NULL; struct wl_subcompositor *sub; wl_list_for_each(g, &client->global_list, link) { if (strcmp(g->interface, "wl_subcompositor")) continue; if (global_sub) assert(0 && "multiple wl_subcompositor objects"); global_sub = g; } assert(global_sub && "no wl_subcompositor found"); assert(global_sub->version == 1); sub = wl_registry_bind(client->wl_registry, global_sub->name, &wl_subcompositor_interface, 1); assert(sub); return sub; } static struct wl_shell * get_wl_shell(struct client *client) { struct global *g; struct global *global = NULL; struct wl_shell *shell; wl_list_for_each(g, &client->global_list, link) { if (strcmp(g->interface, "wl_shell")) continue; if (global) assert(0 && "multiple wl_shell objects"); global = g; } assert(global && "no wl_shell found"); shell = wl_registry_bind(client->wl_registry, global->name, &wl_shell_interface, 1); assert(shell); return shell; } TEST(test_role_conflict_sub_wlshell) { struct client *client; struct wl_subcompositor *subco; struct wl_surface *child; struct wl_subsurface *sub; struct wl_shell *shell; struct wl_shell_surface *shsurf; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); subco = get_subcompositor(client); shell = get_wl_shell(client); child = wl_compositor_create_surface(client->wl_compositor); assert(child); sub = wl_subcompositor_get_subsurface(subco, child, client->surface->wl_surface); assert(sub); shsurf = wl_shell_get_shell_surface(shell, child); assert(shsurf); expect_protocol_error(client, &wl_shell_interface, WL_SHELL_ERROR_ROLE); } TEST(test_role_conflict_wlshell_sub) { struct client *client; struct wl_subcompositor *subco; struct wl_surface *child; struct wl_subsurface *sub; struct wl_shell *shell; struct wl_shell_surface *shsurf; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); subco = get_subcompositor(client); shell = get_wl_shell(client); child = wl_compositor_create_surface(client->wl_compositor); assert(child); shsurf = wl_shell_get_shell_surface(shell, child); assert(shsurf); sub = wl_subcompositor_get_subsurface(subco, child, client->surface->wl_surface); assert(sub); expect_protocol_error(client, &wl_subcompositor_interface, WL_SUBCOMPOSITOR_ERROR_BAD_SURFACE); } weston-3.0.0/tests/weston-tests-env0000775000175000017500000000462013142404577014322 00000000000000#!/bin/bash TEST_FILE=${1##*/} TEST_NAME=${TEST_FILE%.*} if [ -z "$TEST_NAME" ]; then echo "usage: $(basename $0) " exit 1; fi WESTON=$abs_builddir/weston LOGDIR=$abs_builddir/logs mkdir -p "$LOGDIR" || exit SERVERLOG="$LOGDIR/${TEST_NAME}-serverlog.txt" OUTLOG="$LOGDIR/${TEST_NAME}-log.txt" rm -f "$SERVERLOG" || exit BACKEND=${BACKEND:-headless-backend.so} MODDIR=$abs_builddir/.libs SHELL_PLUGIN=$MODDIR/desktop-shell.so TEST_PLUGIN=$MODDIR/weston-test.so CONFIG_FILE="${TEST_NAME}.ini" if [ -e "${abs_builddir}/${CONFIG_FILE}" ]; then CONFIG="--config=${abs_builddir}/${CONFIG_FILE}" elif [ -e "${abs_top_srcdir}/tests/${CONFIG_FILE}" ]; then CONFIG="--config=${abs_top_srcdir}/tests/${CONFIG_FILE}" else CONFIG="--no-config" fi case $TEST_FILE in ivi-*.la|ivi-*.so) SHELL_PLUGIN=$MODDIR/ivi-shell.so set -x WESTON_BUILD_DIR=$abs_builddir \ WESTON_TEST_REFERENCE_PATH=$abs_top_srcdir/tests/reference \ $WESTON --backend=$MODDIR/$BACKEND \ --config=$abs_builddir/tests/weston-ivi.ini \ --shell=$SHELL_PLUGIN \ --socket=test-${TEST_NAME} \ --modules=$TEST_PLUGIN \ --ivi-module=$MODDIR/${TEST_FILE/.la/.so} \ --log="$SERVERLOG" \ &> "$OUTLOG" ;; *.la|*.so) set -x WESTON_BUILD_DIR=$abs_builddir \ WESTON_TEST_REFERENCE_PATH=$abs_top_srcdir/tests/reference \ $WESTON --backend=$MODDIR/$BACKEND \ ${CONFIG} \ --shell=$SHELL_PLUGIN \ --socket=test-${TEST_NAME} \ --xwayland \ --modules=$MODDIR/${TEST_FILE/.la/.so} \ --log="$SERVERLOG" \ &> "$OUTLOG" ;; ivi-*.weston) SHELL_PLUGIN=$MODDIR/ivi-shell.so set -x WESTON_BUILD_DIR=$abs_builddir \ WESTON_TEST_REFERENCE_PATH=$abs_top_srcdir/tests/reference \ WESTON_TEST_CLIENT_PATH=$abs_builddir/$TEST_FILE \ $WESTON --backend=$MODDIR/$BACKEND \ --config=$abs_builddir/tests/weston-ivi.ini \ --shell=$SHELL_PLUGIN \ --socket=test-${TEST_NAME} \ --modules=$TEST_PLUGIN \ --log="$SERVERLOG" \ $($abs_builddir/$TESTNAME --params) \ &> "$OUTLOG" ;; *) set -x WESTON_BUILD_DIR=$abs_builddir \ WESTON_TEST_REFERENCE_PATH=$abs_top_srcdir/tests/reference \ WESTON_TEST_CLIENT_PATH=$abs_builddir/$TEST_FILE \ $WESTON --backend=$MODDIR/$BACKEND \ ${CONFIG} \ --shell=$SHELL_PLUGIN \ --socket=test-${TEST_NAME} \ --xwayland \ --modules=$TEST_PLUGIN \ --log="$SERVERLOG" \ $($abs_builddir/$TEST_FILE --params) \ &> "$OUTLOG" esac weston-3.0.0/tests/event-test.c0000664000175000017500000002557513142404577013405 00000000000000/* * Copyright © 2012 Intel Corporation * Copyright © 2013 Collabora, Ltd. * * 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 (including the * next paragraph) 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. */ #include "config.h" #include "weston-test-client-helper.h" static void check_pointer(struct client *client, int x, int y) { int sx, sy; /* check that the client got the global pointer update */ assert(client->test->pointer_x == x); assert(client->test->pointer_y == y); /* Does global pointer map onto the surface? */ if (surface_contains(client->surface, x, y)) { /* check that the surface has the pointer focus */ assert(client->input->pointer->focus == client->surface); /* * check that the local surface pointer maps * to the global pointer. */ sx = client->input->pointer->x + client->surface->x; sy = client->input->pointer->y + client->surface->y; assert(sx == x); assert(sy == y); } else { /* * The global pointer does not map onto surface. So * check that it doesn't have the pointer focus. */ assert(client->input->pointer->focus == NULL); } } static void check_pointer_move(struct client *client, int x, int y) { weston_test_move_pointer(client->test->weston_test, x, y); client_roundtrip(client); check_pointer(client, x, y); } TEST(test_pointer_top_left) { struct client *client; int x, y; client = create_client_and_test_surface(46, 76, 111, 134); assert(client); /* move pointer outside top left */ x = client->surface->x - 1; y = client->surface->y - 1; assert(!surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); /* move pointer on top left */ x += 1; y += 1; assert(surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); /* move pointer outside top left */ x -= 1; y -= 1; assert(!surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); } TEST(test_pointer_bottom_left) { struct client *client; int x, y; client = create_client_and_test_surface(99, 100, 100, 98); assert(client); /* move pointer outside bottom left */ x = client->surface->x - 1; y = client->surface->y + client->surface->height; assert(!surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); /* move pointer on bottom left */ x += 1; y -= 1; assert(surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); /* move pointer outside bottom left */ x -= 1; y += 1; assert(!surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); } TEST(test_pointer_top_right) { struct client *client; int x, y; client = create_client_and_test_surface(48, 100, 67, 100); assert(client); /* move pointer outside top right */ x = client->surface->x + client->surface->width; y = client->surface->y - 1; assert(!surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); /* move pointer on top right */ x -= 1; y += 1; assert(surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); /* move pointer outside top right */ x += 1; y -= 1; assert(!surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); } TEST(test_pointer_bottom_right) { struct client *client; int x, y; client = create_client_and_test_surface(100, 123, 100, 69); assert(client); /* move pointer outside bottom right */ x = client->surface->x + client->surface->width; y = client->surface->y + client->surface->height; assert(!surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); /* move pointer on bottom right */ x -= 1; y -= 1; assert(surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); /* move pointer outside bottom right */ x += 1; y += 1; assert(!surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); } TEST(test_pointer_top_center) { struct client *client; int x, y; client = create_client_and_test_surface(100, 201, 100, 50); assert(client); /* move pointer outside top center */ x = client->surface->x + client->surface->width/2; y = client->surface->y - 1; assert(!surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); /* move pointer on top center */ y += 1; assert(surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); /* move pointer outside top center */ y -= 1; assert(!surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); } TEST(test_pointer_bottom_center) { struct client *client; int x, y; client = create_client_and_test_surface(100, 45, 67, 100); assert(client); /* move pointer outside bottom center */ x = client->surface->x + client->surface->width/2; y = client->surface->y + client->surface->height; assert(!surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); /* move pointer on bottom center */ y -= 1; assert(surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); /* move pointer outside bottom center */ y += 1; assert(!surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); } TEST(test_pointer_left_center) { struct client *client; int x, y; client = create_client_and_test_surface(167, 45, 78, 100); assert(client); /* move pointer outside left center */ x = client->surface->x - 1; y = client->surface->y + client->surface->height/2; assert(!surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); /* move pointer on left center */ x += 1; assert(surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); /* move pointer outside left center */ x -= 1; assert(!surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); } TEST(test_pointer_right_center) { struct client *client; int x, y; client = create_client_and_test_surface(110, 37, 100, 46); assert(client); /* move pointer outside right center */ x = client->surface->x + client->surface->width; y = client->surface->y + client->surface->height/2; assert(!surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); /* move pointer on right center */ x -= 1; assert(surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); /* move pointer outside right center */ x += 1; assert(!surface_contains(client->surface, x, y)); check_pointer_move(client, x, y); } TEST(test_pointer_surface_move) { struct client *client; client = create_client_and_test_surface(100, 100, 100, 100); assert(client); /* move pointer outside of client */ assert(!surface_contains(client->surface, 50, 50)); check_pointer_move(client, 50, 50); /* move client center to pointer */ move_client(client, 0, 0); assert(surface_contains(client->surface, 50, 50)); check_pointer(client, 50, 50); } static int output_contains_client(struct client *client) { struct output *output = client->output; struct surface *surface = client->surface; return !(output->x >= surface->x + surface->width || output->x + output->width <= surface->x || output->y >= surface->y + surface->height || output->y + output->height <= surface->y); } static void check_client_move(struct client *client, int x, int y) { move_client(client, x, y); if (output_contains_client(client)) { assert(client->surface->output == client->output); } else { assert(client->surface->output == NULL); } } TEST(test_surface_output) { struct client *client; int x, y; client = create_client_and_test_surface(100, 100, 100, 100); assert(client); assert(output_contains_client(client)); /* not visible */ x = 0; y = -client->surface->height; check_client_move(client, x, y); /* visible */ check_client_move(client, x, ++y); /* not visible */ x = -client->surface->width; y = 0; check_client_move(client, x, y); /* visible */ check_client_move(client, ++x, y); /* not visible */ x = client->output->width; y = 0; check_client_move(client, x, y); /* visible */ check_client_move(client, --x, y); assert(output_contains_client(client)); /* not visible */ x = 0; y = client->output->height; check_client_move(client, x, y); assert(!output_contains_client(client)); /* visible */ check_client_move(client, x, --y); assert(output_contains_client(client)); } static void buffer_release_handler(void *data, struct wl_buffer *buffer) { int *released = data; *released = 1; } static struct wl_buffer_listener buffer_listener = { buffer_release_handler }; TEST(buffer_release) { struct client *client; struct wl_surface *surface; struct buffer *buf1; struct buffer *buf2; struct buffer *buf3; int buf1_released = 0; int buf2_released = 0; int buf3_released = 0; int frame; client = create_client_and_test_surface(100, 100, 100, 100); assert(client); surface = client->surface->wl_surface; buf1 = create_shm_buffer_a8r8g8b8(client, 100, 100); wl_buffer_add_listener(buf1->proxy, &buffer_listener, &buf1_released); buf2 = create_shm_buffer_a8r8g8b8(client, 100, 100); wl_buffer_add_listener(buf2->proxy, &buffer_listener, &buf2_released); buf3 = create_shm_buffer_a8r8g8b8(client, 100, 100); wl_buffer_add_listener(buf3->proxy, &buffer_listener, &buf3_released); /* * buf1 must never be released, since it is replaced before * it is committed, therefore it never becomes busy. */ wl_surface_attach(surface, buf1->proxy, 0, 0); wl_surface_attach(surface, buf2->proxy, 0, 0); frame_callback_set(surface, &frame); wl_surface_commit(surface); frame_callback_wait(client, &frame); assert(buf1_released == 0); /* buf2 may or may not be released */ assert(buf3_released == 0); wl_surface_attach(surface, buf3->proxy, 0, 0); frame_callback_set(surface, &frame); wl_surface_commit(surface); frame_callback_wait(client, &frame); assert(buf1_released == 0); assert(buf2_released == 1); /* buf3 may or may not be released */ wl_surface_attach(surface, client->surface->buffer->proxy, 0, 0); frame_callback_set(surface, &frame); wl_surface_commit(surface); frame_callback_wait(client, &frame); assert(buf1_released == 0); assert(buf2_released == 1); assert(buf3_released == 1); } weston-3.0.0/tests/internal-screenshot-test.c0000664000175000017500000001243113142404577016236 00000000000000/* * Copyright © 2015 Samsung Electronics Co., Ltd * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include "weston-test-client-helper.h" char *server_parameters="--use-pixman --width=320 --height=240"; static void draw_stuff(pixman_image_t *image) { int w, h; int stride; /* bytes */ int x, y; uint8_t r, g, b; uint32_t *pixels; uint32_t *pixel; pixman_format_code_t fmt; fmt = pixman_image_get_format(image); w = pixman_image_get_width(image); h = pixman_image_get_height(image); stride = pixman_image_get_stride(image); pixels = pixman_image_get_data(image); assert(PIXMAN_FORMAT_BPP(fmt) == 32); for (x = 0; x < w; x++) for (y = 0; y < h; y++) { b = x; g = x + y; r = y; pixel = pixels + (y * stride / 4) + x; *pixel = (255 << 24) | (r << 16) | (g << 8) | b; } } TEST(internal_screenshot) { struct buffer *buf; struct client *client; struct wl_surface *surface; struct buffer *screenshot = NULL; pixman_image_t *reference_good = NULL; pixman_image_t *reference_bad = NULL; pixman_image_t *diffimg; struct rectangle clip; const char *fname; bool match = false; bool dump_all_images = true; /* Create the client */ printf("Creating client for test\n"); client = create_client_and_test_surface(100, 100, 100, 100); assert(client); surface = client->surface->wl_surface; /* * We are racing our screenshooting against weston-desktop-shell * setting the cursor. If w-d-s wins, our screenshot will have a cursor * shown, which makes the image comparison fail. Our window and the * default pointer position are accidentally causing an overlap that * intersects our test clip rectangle. * * w-d-s wins very rarely though, so the race is easy to miss. You can * make it happen by putting a delay before the call to * create_client_and_test_surface(). * * The weston_test_move_pointer() below makes the race irrelevant, as * the cursor won't overlap with anything we care about. */ /* Move the pointer away from the screenshot area. */ weston_test_move_pointer(client->test->weston_test, 0, 0); buf = create_shm_buffer_a8r8g8b8(client, 100, 100); draw_stuff(buf->image); wl_surface_attach(surface, buf->proxy, 0, 0); wl_surface_damage(surface, 0, 0, 100, 100); wl_surface_commit(surface); /* Take a snapshot. Result will be in screenshot->wl_buffer. */ printf("Taking a screenshot\n"); screenshot = capture_screenshot_of_output(client); assert(screenshot); /* Load good reference image */ fname = screenshot_reference_filename("internal-screenshot-good", 0); printf("Loading good reference image %s\n", fname); reference_good = load_image_from_png(fname); assert(reference_good); /* Load bad reference image */ fname = screenshot_reference_filename("internal-screenshot-bad", 0); printf("Loading bad reference image %s\n", fname); reference_bad = load_image_from_png(fname); assert(reference_bad); /* Test check_images_match() without a clip. * We expect this to fail since we use a bad reference image */ match = check_images_match(screenshot->image, reference_bad, NULL); printf("Screenshot %s reference image\n", match? "equal to" : "different from"); assert(!match); pixman_image_unref(reference_bad); /* Test check_images_match() with clip. * Alpha-blending and other effects can cause irrelevant discrepancies, so look only * at a small portion of the solid-colored background */ clip.x = 100; clip.y = 100; clip.width = 100; clip.height = 100; printf("Clip: %d,%d %d x %d\n", clip.x, clip.y, clip.width, clip.height); match = check_images_match(screenshot->image, reference_good, &clip); printf("Screenshot %s reference image in clipped area\n", match? "matches" : "doesn't match"); if (!match) { diffimg = visualize_image_difference(screenshot->image, reference_good, &clip); fname = screenshot_output_filename("internal-screenshot-error", 0); write_image_as_png(diffimg, fname); pixman_image_unref(diffimg); } pixman_image_unref(reference_good); /* Test dumping of non-matching images */ if (!match || dump_all_images) { fname = screenshot_output_filename("internal-screenshot", 0); write_image_as_png(screenshot->image, fname); } buffer_destroy(screenshot); printf("Test complete\n"); assert(match); } weston-3.0.0/tests/surface-global-test.c0000664000175000017500000000547513142404577015147 00000000000000/* * Copyright © 2012 Intel Corporation * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include "compositor.h" #include "compositor/weston.h" static void surface_to_from_global(void *data) { struct weston_compositor *compositor = data; struct weston_surface *surface; struct weston_view *view; float x, y; wl_fixed_t fx, fy; int32_t ix, iy; surface = weston_surface_create(compositor); assert(surface); view = weston_view_create(surface); assert(view); surface->width = 50; surface->height = 50; weston_view_set_position(view, 5, 10); weston_view_update_transform(view); weston_view_to_global_float(view, 33, 22, &x, &y); assert(x == 38 && y == 32); weston_view_to_global_float(view, -8, -2, &x, &y); assert(x == -3 && y == 8); weston_view_to_global_fixed(view, wl_fixed_from_int(12), wl_fixed_from_int(5), &fx, &fy); assert(fx == wl_fixed_from_int(17) && fy == wl_fixed_from_int(15)); weston_view_from_global_float(view, 38, 32, &x, &y); assert(x == 33 && y == 22); weston_view_from_global_float(view, 42, 5, &x, &y); assert(x == 37 && y == -5); weston_view_from_global_fixed(view, wl_fixed_from_int(21), wl_fixed_from_int(100), &fx, &fy); assert(fx == wl_fixed_from_int(16) && fy == wl_fixed_from_int(90)); weston_view_from_global(view, 0, 0, &ix, &iy); assert(ix == -5 && iy == -10); weston_view_from_global(view, 5, 10, &ix, &iy); assert(ix == 0 && iy == 0); wl_display_terminate(compositor->wl_display); } WL_EXPORT int wet_module_init(struct weston_compositor *compositor, int *argc, char *argv[]) { struct wl_event_loop *loop; loop = wl_display_get_event_loop(compositor->wl_display); wl_event_loop_add_idle(loop, surface_to_from_global, compositor); return 0; } weston-3.0.0/tests/keyboard-test.c0000664000175000017500000000450013142404577014045 00000000000000/* * Copyright © 2012 Intel Corporation * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include "weston-test-client-helper.h" TEST(simple_keyboard_test) { struct client *client; struct surface *expect_focus = NULL; struct keyboard *keyboard; uint32_t expect_key = 0; uint32_t expect_state = 0; client = create_client_and_test_surface(10, 10, 1, 1); assert(client); keyboard = client->input->keyboard; while (1) { assert(keyboard->key == expect_key); assert(keyboard->state == expect_state); assert(keyboard->focus == expect_focus); if (keyboard->state == WL_KEYBOARD_KEY_STATE_PRESSED) { expect_state = WL_KEYBOARD_KEY_STATE_RELEASED; weston_test_send_key(client->test->weston_test, expect_key, expect_state); } else if (keyboard->focus) { expect_focus = NULL; weston_test_activate_surface( client->test->weston_test, NULL); } else if (expect_key < 10) { expect_key++; expect_focus = client->surface; expect_state = WL_KEYBOARD_KEY_STATE_PRESSED; weston_test_activate_surface( client->test->weston_test, expect_focus->wl_surface); weston_test_send_key(client->test->weston_test, expect_key, expect_state); } else { break; } client_roundtrip(client); } } weston-3.0.0/tests/timespec-test.c0000664000175000017500000001005613142404577014061 00000000000000/* * Copyright © 2016 Collabora, Ltd. * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include #include #include "timespec-util.h" #include "shared/helpers.h" #include "zunitc/zunitc.h" ZUC_TEST(timespec_test, timespec_sub) { struct timespec a, b, r; a.tv_sec = 1; a.tv_nsec = 1; b.tv_sec = 0; b.tv_nsec = 2; timespec_sub(&r, &a, &b); ZUC_ASSERT_EQ(r.tv_sec, 0); ZUC_ASSERT_EQ(r.tv_nsec, NSEC_PER_SEC - 1); } ZUC_TEST(timespec_test, timespec_to_nsec) { struct timespec a; a.tv_sec = 4; a.tv_nsec = 4; ZUC_ASSERT_EQ(timespec_to_nsec(&a), (NSEC_PER_SEC * 4ULL) + 4); } ZUC_TEST(timespec_test, timespec_to_msec) { struct timespec a; a.tv_sec = 4; a.tv_nsec = 4000000; ZUC_ASSERT_EQ(timespec_to_msec(&a), (4000ULL) + 4); } ZUC_TEST(timespec_test, millihz_to_nsec) { ZUC_ASSERT_EQ(millihz_to_nsec(60000), 16666666); } ZUC_TEST(timespec_test, timespec_add_nsec) { struct timespec a, r; a.tv_sec = 0; a.tv_nsec = NSEC_PER_SEC - 1; timespec_add_nsec(&r, &a, 1); ZUC_ASSERT_EQ(1, r.tv_sec); ZUC_ASSERT_EQ(0, r.tv_nsec); timespec_add_nsec(&r, &a, 2); ZUC_ASSERT_EQ(1, r.tv_sec); ZUC_ASSERT_EQ(1, r.tv_nsec); timespec_add_nsec(&r, &a, (NSEC_PER_SEC * 2ULL)); ZUC_ASSERT_EQ(2, r.tv_sec); ZUC_ASSERT_EQ(NSEC_PER_SEC - 1, r.tv_nsec); timespec_add_nsec(&r, &a, (NSEC_PER_SEC * 2ULL) + 2); ZUC_ASSERT_EQ(r.tv_sec, 3); ZUC_ASSERT_EQ(r.tv_nsec, 1); a.tv_sec = 1; a.tv_nsec = 1; timespec_add_nsec(&r, &a, -2); ZUC_ASSERT_EQ(r.tv_sec, 0); ZUC_ASSERT_EQ(r.tv_nsec, NSEC_PER_SEC - 1); a.tv_nsec = 0; timespec_add_nsec(&r, &a, -NSEC_PER_SEC); ZUC_ASSERT_EQ(0, r.tv_sec); ZUC_ASSERT_EQ(0, r.tv_nsec); a.tv_nsec = 0; timespec_add_nsec(&r, &a, -NSEC_PER_SEC + 1); ZUC_ASSERT_EQ(0, r.tv_sec); ZUC_ASSERT_EQ(1, r.tv_nsec); a.tv_nsec = 50; timespec_add_nsec(&r, &a, (-NSEC_PER_SEC * 10ULL)); ZUC_ASSERT_EQ(-9, r.tv_sec); ZUC_ASSERT_EQ(50, r.tv_nsec); r.tv_sec = 4; r.tv_nsec = 0; timespec_add_nsec(&r, &r, NSEC_PER_SEC + 10ULL); ZUC_ASSERT_EQ(5, r.tv_sec); ZUC_ASSERT_EQ(10, r.tv_nsec); timespec_add_nsec(&r, &r, (NSEC_PER_SEC * 3ULL) - 9ULL); ZUC_ASSERT_EQ(8, r.tv_sec); ZUC_ASSERT_EQ(1, r.tv_nsec); timespec_add_nsec(&r, &r, (NSEC_PER_SEC * 7ULL) + (NSEC_PER_SEC - 1ULL)); ZUC_ASSERT_EQ(16, r.tv_sec); ZUC_ASSERT_EQ(0, r.tv_nsec); } ZUC_TEST(timespec_test, timespec_add_msec) { struct timespec a, r; a.tv_sec = 1000; a.tv_nsec = 1; timespec_add_msec(&r, &a, 2002); ZUC_ASSERT_EQ(1002, r.tv_sec); ZUC_ASSERT_EQ(2000001, r.tv_nsec); } ZUC_TEST(timespec_test, timespec_sub_to_nsec) { struct timespec a, b; a.tv_sec = 1000; a.tv_nsec = 1; b.tv_sec = 1; b.tv_nsec = 2; ZUC_ASSERT_EQ((999L * NSEC_PER_SEC) - 1, timespec_sub_to_nsec(&a, &b)); } ZUC_TEST(timespec_test, timespec_sub_to_msec) { struct timespec a, b; a.tv_sec = 1000; a.tv_nsec = 2000000L; b.tv_sec = 2; b.tv_nsec = 1000000L; ZUC_ASSERT_EQ((998 * 1000) + 1, timespec_sub_to_msec(&a, &b)); } weston-3.0.0/tests/subsurface-test.c0000664000175000017500000004442713142404577014423 00000000000000/* * Copyright © 2012 Collabora, Ltd. * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include "weston-test-client-helper.h" #define NUM_SUBSURFACES 3 struct compound_surface { struct wl_subcompositor *subco; struct wl_surface *parent; struct wl_surface *child[NUM_SUBSURFACES]; struct wl_subsurface *sub[NUM_SUBSURFACES]; }; static struct wl_subcompositor * get_subcompositor(struct client *client) { struct global *g; struct global *global_sub = NULL; struct wl_subcompositor *sub; wl_list_for_each(g, &client->global_list, link) { if (strcmp(g->interface, "wl_subcompositor")) continue; if (global_sub) assert(0 && "multiple wl_subcompositor objects"); global_sub = g; } assert(global_sub && "no wl_subcompositor found"); assert(global_sub->version == 1); sub = wl_registry_bind(client->wl_registry, global_sub->name, &wl_subcompositor_interface, 1); assert(sub); return sub; } static void populate_compound_surface(struct compound_surface *com, struct client *client) { int i; com->subco = get_subcompositor(client); com->parent = wl_compositor_create_surface(client->wl_compositor); for (i = 0; i < NUM_SUBSURFACES; i++) { com->child[i] = wl_compositor_create_surface(client->wl_compositor); com->sub[i] = wl_subcompositor_get_subsurface(com->subco, com->child[i], com->parent); } } TEST(test_subsurface_basic_protocol) { struct client *client; struct compound_surface com1; struct compound_surface com2; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); populate_compound_surface(&com1, client); populate_compound_surface(&com2, client); client_roundtrip(client); } TEST(test_subsurface_position_protocol) { struct client *client; struct compound_surface com; int i; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); populate_compound_surface(&com, client); for (i = 0; i < NUM_SUBSURFACES; i++) wl_subsurface_set_position(com.sub[i], (i + 2) * 20, (i + 2) * 10); client_roundtrip(client); } TEST(test_subsurface_placement_protocol) { struct client *client; struct compound_surface com; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); populate_compound_surface(&com, client); wl_subsurface_place_above(com.sub[0], com.child[1]); wl_subsurface_place_above(com.sub[1], com.parent); wl_subsurface_place_below(com.sub[2], com.child[0]); wl_subsurface_place_below(com.sub[1], com.parent); client_roundtrip(client); } TEST(test_subsurface_paradox) { struct client *client; struct wl_surface *parent; struct wl_subcompositor *subco; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); subco = get_subcompositor(client); parent = wl_compositor_create_surface(client->wl_compositor); /* surface is its own parent */ wl_subcompositor_get_subsurface(subco, parent, parent); expect_protocol_error(client, &wl_subcompositor_interface, WL_SUBCOMPOSITOR_ERROR_BAD_SURFACE); } TEST(test_subsurface_identical_link) { struct client *client; struct compound_surface com; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); populate_compound_surface(&com, client); /* surface is already a subsurface */ wl_subcompositor_get_subsurface(com.subco, com.child[0], com.parent); expect_protocol_error(client, &wl_subcompositor_interface, WL_SUBCOMPOSITOR_ERROR_BAD_SURFACE); } TEST(test_subsurface_change_link) { struct client *client; struct compound_surface com; struct wl_surface *stranger; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); stranger = wl_compositor_create_surface(client->wl_compositor); populate_compound_surface(&com, client); /* surface is already a subsurface */ wl_subcompositor_get_subsurface(com.subco, com.child[0], stranger); expect_protocol_error(client, &wl_subcompositor_interface, WL_SUBCOMPOSITOR_ERROR_BAD_SURFACE); } TEST(test_subsurface_nesting) { struct client *client; struct compound_surface com; struct wl_surface *stranger; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); stranger = wl_compositor_create_surface(client->wl_compositor); populate_compound_surface(&com, client); /* parent is a sub-surface */ wl_subcompositor_get_subsurface(com.subco, stranger, com.child[0]); client_roundtrip(client); } TEST(test_subsurface_nesting_parent) { struct client *client; struct compound_surface com; struct wl_surface *stranger; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); stranger = wl_compositor_create_surface(client->wl_compositor); populate_compound_surface(&com, client); /* surface is already a parent */ wl_subcompositor_get_subsurface(com.subco, com.parent, stranger); client_roundtrip(client); } TEST(test_subsurface_loop_paradox) { struct client *client; struct wl_surface *surface[3]; struct wl_subcompositor *subco; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); subco = get_subcompositor(client); surface[0] = wl_compositor_create_surface(client->wl_compositor); surface[1] = wl_compositor_create_surface(client->wl_compositor); surface[2] = wl_compositor_create_surface(client->wl_compositor); /* create a nesting loop */ wl_subcompositor_get_subsurface(subco, surface[1], surface[0]); wl_subcompositor_get_subsurface(subco, surface[2], surface[1]); wl_subcompositor_get_subsurface(subco, surface[0], surface[2]); expect_protocol_error(client, &wl_subcompositor_interface, WL_SUBCOMPOSITOR_ERROR_BAD_SURFACE); } TEST(test_subsurface_place_above_nested_parent) { struct client *client; struct compound_surface com; struct wl_surface *grandchild; struct wl_subcompositor *subco; struct wl_subsurface *sub; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); populate_compound_surface(&com, client); subco = get_subcompositor(client); grandchild = wl_compositor_create_surface(client->wl_compositor); sub = wl_subcompositor_get_subsurface(subco, grandchild, com.child[0]); wl_subsurface_place_above(sub, com.child[0]); client_roundtrip(client); } TEST(test_subsurface_place_above_grandparent) { struct client *client; struct compound_surface com; struct wl_surface *grandchild; struct wl_subsurface *sub; struct wl_subcompositor *subco; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); populate_compound_surface(&com, client); subco = get_subcompositor(client); grandchild = wl_compositor_create_surface(client->wl_compositor); sub = wl_subcompositor_get_subsurface(subco, grandchild, com.child[0]); /* can't place a subsurface above its grandparent */ wl_subsurface_place_above(sub, com.parent); expect_protocol_error(client, &wl_subsurface_interface, WL_SUBSURFACE_ERROR_BAD_SURFACE); } TEST(test_subsurface_place_above_great_aunt) { struct client *client; struct compound_surface com; struct wl_surface *grandchild; struct wl_subsurface *sub; struct wl_subcompositor *subco; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); populate_compound_surface(&com, client); subco = get_subcompositor(client); grandchild = wl_compositor_create_surface(client->wl_compositor); sub = wl_subcompositor_get_subsurface(subco, grandchild, com.child[0]); /* can't place a subsurface above its parents' siblings */ wl_subsurface_place_above(sub, com.child[1]); expect_protocol_error(client, &wl_subsurface_interface, WL_SUBSURFACE_ERROR_BAD_SURFACE); } TEST(test_subsurface_place_above_child) { struct client *client; struct compound_surface com; struct wl_surface *grandchild; struct wl_subcompositor *subco; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); populate_compound_surface(&com, client); subco = get_subcompositor(client); grandchild = wl_compositor_create_surface(client->wl_compositor); wl_subcompositor_get_subsurface(subco, grandchild, com.child[0]); /* can't place a subsurface above its own child subsurface */ wl_subsurface_place_above(com.sub[0], grandchild); expect_protocol_error(client, &wl_subsurface_interface, WL_SUBSURFACE_ERROR_BAD_SURFACE); } TEST(test_subsurface_place_below_nested_parent) { struct client *client; struct compound_surface com; struct wl_subcompositor *subco; struct wl_surface *grandchild; struct wl_subsurface *sub; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); populate_compound_surface(&com, client); subco = get_subcompositor(client); grandchild = wl_compositor_create_surface(client->wl_compositor); sub = wl_subcompositor_get_subsurface(subco, grandchild, com.child[0]); wl_subsurface_place_below(sub, com.child[0]); client_roundtrip(client); } TEST(test_subsurface_place_below_grandparent) { struct client *client; struct compound_surface com; struct wl_surface *grandchild; struct wl_subsurface *sub; struct wl_subcompositor *subco; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); populate_compound_surface(&com, client); subco = get_subcompositor(client); grandchild = wl_compositor_create_surface(client->wl_compositor); sub = wl_subcompositor_get_subsurface(subco, grandchild, com.child[0]); /* can't place a subsurface below its grandparent */ wl_subsurface_place_below(sub, com.parent); expect_protocol_error(client, &wl_subsurface_interface, WL_SUBSURFACE_ERROR_BAD_SURFACE); } TEST(test_subsurface_place_below_great_aunt) { struct client *client; struct compound_surface com; struct wl_surface *grandchild; struct wl_subsurface *sub; struct wl_subcompositor *subco; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); populate_compound_surface(&com, client); subco = get_subcompositor(client); grandchild = wl_compositor_create_surface(client->wl_compositor); sub = wl_subcompositor_get_subsurface(subco, grandchild, com.child[0]); /* can't place a subsurface below its parents' siblings */ wl_subsurface_place_below(sub, com.child[1]); expect_protocol_error(client, &wl_subsurface_interface, WL_SUBSURFACE_ERROR_BAD_SURFACE); } TEST(test_subsurface_place_below_child) { struct client *client; struct compound_surface com; struct wl_surface *grandchild; struct wl_subcompositor *subco; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); populate_compound_surface(&com, client); subco = get_subcompositor(client); grandchild = wl_compositor_create_surface(client->wl_compositor); wl_subcompositor_get_subsurface(subco, grandchild, com.child[0]); /* can't place a subsurface below its own child subsurface */ wl_subsurface_place_below(com.sub[0], grandchild); expect_protocol_error(client, &wl_subsurface_interface, WL_SUBSURFACE_ERROR_BAD_SURFACE); } TEST(test_subsurface_place_above_stranger) { struct client *client; struct compound_surface com; struct wl_surface *stranger; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); stranger = wl_compositor_create_surface(client->wl_compositor); populate_compound_surface(&com, client); /* bad sibling */ wl_subsurface_place_above(com.sub[0], stranger); expect_protocol_error(client, &wl_subsurface_interface, WL_SUBSURFACE_ERROR_BAD_SURFACE); } TEST(test_subsurface_place_below_stranger) { struct client *client; struct compound_surface com; struct wl_surface *stranger; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); stranger = wl_compositor_create_surface(client->wl_compositor); populate_compound_surface(&com, client); /* bad sibling */ wl_subsurface_place_below(com.sub[0], stranger); expect_protocol_error(client, &wl_subsurface_interface, WL_SUBSURFACE_ERROR_BAD_SURFACE); } TEST(test_subsurface_place_above_foreign) { struct client *client; struct compound_surface com1; struct compound_surface com2; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); populate_compound_surface(&com1, client); populate_compound_surface(&com2, client); /* bad sibling */ wl_subsurface_place_above(com1.sub[0], com2.child[0]); expect_protocol_error(client, &wl_subsurface_interface, WL_SUBSURFACE_ERROR_BAD_SURFACE); } TEST(test_subsurface_place_below_foreign) { struct client *client; struct compound_surface com1; struct compound_surface com2; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); populate_compound_surface(&com1, client); populate_compound_surface(&com2, client); /* bad sibling */ wl_subsurface_place_below(com1.sub[0], com2.child[0]); expect_protocol_error(client, &wl_subsurface_interface, WL_SUBSURFACE_ERROR_BAD_SURFACE); } TEST(test_subsurface_destroy_protocol) { struct client *client; struct compound_surface com; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); populate_compound_surface(&com, client); /* not needed anymore */ wl_subcompositor_destroy(com.subco); /* detach child from parent */ wl_subsurface_destroy(com.sub[0]); /* destroy: child, parent */ wl_surface_destroy(com.child[1]); wl_surface_destroy(com.parent); /* destroy: parent, child */ wl_surface_destroy(com.child[2]); /* destroy: sub, child */ wl_surface_destroy(com.child[0]); /* 2x destroy: child, sub */ wl_subsurface_destroy(com.sub[2]); wl_subsurface_destroy(com.sub[1]); client_roundtrip(client); } static void create_subsurface_tree(struct client *client, struct wl_surface **surfs, struct wl_subsurface **subs, int n) { struct wl_subcompositor *subco; int i; subco = get_subcompositor(client); for (i = 0; i < n; i++) surfs[i] = wl_compositor_create_surface(client->wl_compositor); /* * The tree of sub-surfaces: * 0 * / \ * 1 2 - 10 * / \ |\ * 3 5 9 6 * / / \ * 4 7 8 * Surface 0 has no wl_subsurface, others do. */ switch (n) { default: assert(0); break; #define SUB_LINK(s,p) \ subs[s] = wl_subcompositor_get_subsurface(subco, surfs[s], surfs[p]) case 11: SUB_LINK(10, 2); /* fallthrough */ case 10: SUB_LINK(9, 2); /* fallthrough */ case 9: SUB_LINK(8, 6); /* fallthrough */ case 8: SUB_LINK(7, 6); /* fallthrough */ case 7: SUB_LINK(6, 2); /* fallthrough */ case 6: SUB_LINK(5, 1); /* fallthrough */ case 5: SUB_LINK(4, 3); /* fallthrough */ case 4: SUB_LINK(3, 1); /* fallthrough */ case 3: SUB_LINK(2, 0); /* fallthrough */ case 2: SUB_LINK(1, 0); #undef SUB_LINK }; } static void destroy_subsurface_tree(struct wl_surface **surfs, struct wl_subsurface **subs, int n) { int i; for (i = n; i-- > 0; ) { if (surfs[i]) wl_surface_destroy(surfs[i]); if (subs[i]) wl_subsurface_destroy(subs[i]); } } static int has_dupe(int *cnt, int n) { int i; for (i = 0; i < n; i++) if (cnt[i] == cnt[n]) return 1; return 0; } /* Note: number of permutations to test is: set_size! / (set_size - NSTEPS)! */ #define NSTEPS 3 struct permu_state { int set_size; int cnt[NSTEPS]; }; static void permu_init(struct permu_state *s, int set_size) { int i; s->set_size = set_size; for (i = 0; i < NSTEPS; i++) s->cnt[i] = 0; } static int permu_next(struct permu_state *s) { int k; s->cnt[NSTEPS - 1]++; while (1) { if (s->cnt[0] >= s->set_size) { return -1; } for (k = 1; k < NSTEPS; k++) { if (s->cnt[k] >= s->set_size) { s->cnt[k - 1]++; s->cnt[k] = 0; break; } if (has_dupe(s->cnt, k)) { s->cnt[k]++; break; } } if (k == NSTEPS) return 0; } } static void destroy_permu_object(struct wl_surface **surfs, struct wl_subsurface **subs, int i) { int h = (i + 1) / 2; if (i & 1) { fprintf(stderr, " [sub %2d]", h); wl_subsurface_destroy(subs[h]); subs[h] = NULL; } else { fprintf(stderr, " [surf %2d]", h); wl_surface_destroy(surfs[h]); surfs[h] = NULL; } } TEST(test_subsurface_destroy_permutations) { /* * Test wl_surface and wl_subsurface destruction orders in a * complex tree of sub-surfaces. * * In the tree of sub-surfaces, go through every possible * permutation of destroying all wl_surface and wl_subsurface * objects. Execpt, to limit running time to a reasonable level, * execute only the first NSTEPS destructions from each * permutation, and ignore identical cases. */ const int test_size = 11; struct client *client; struct wl_surface *surfs[test_size]; struct wl_subsurface *subs[test_size]; struct permu_state per; int counter = 0; int i; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); permu_init(&per, test_size * 2 - 1); while (permu_next(&per) != -1) { /* for each permutation of NSTEPS out of test_size */ memset(surfs, 0, sizeof surfs); memset(subs, 0, sizeof subs); create_subsurface_tree(client, surfs, subs, test_size); fprintf(stderr, "permu"); for (i = 0; i < NSTEPS; i++) fprintf(stderr, " %2d", per.cnt[i]); for (i = 0; i < NSTEPS; i++) destroy_permu_object(surfs, subs, per.cnt[i]); fprintf(stderr, "\n"); client_roundtrip(client); destroy_subsurface_tree(surfs, subs, test_size); counter++; } client_roundtrip(client); fprintf(stderr, "tried %d destroy permutations\n", counter); } weston-3.0.0/tests/ivi_layout-test-plugin.c0000664000175000017500000007506713142404577015745 00000000000000/* * Copyright © 2012 Intel Corporation * Copyright © 2013 DENSO CORPORATION * Copyright © 2015 Collabora, Ltd. * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include "compositor.h" #include "compositor/weston.h" #include "weston-test-server-protocol.h" #include "ivi-test.h" #include "ivi-shell/ivi-layout-export.h" #include "shared/helpers.h" struct test_context; struct runner_test { const char *name; void (*run)(struct test_context *); } __attribute__ ((aligned (32))); #define RUNNER_TEST(name) \ static void runner_func_##name(struct test_context *); \ \ const struct runner_test runner_test_##name \ __attribute__ ((section ("test_section"))) = \ { \ #name, runner_func_##name \ }; \ \ static void runner_func_##name(struct test_context *ctx) extern const struct runner_test __start_test_section; extern const struct runner_test __stop_test_section; static const struct runner_test * find_runner_test(const char *name) { const struct runner_test *t; for (t = &__start_test_section; t < &__stop_test_section; t++) { if (strcmp(t->name, name) == 0) return t; } return NULL; } struct test_launcher { struct weston_compositor *compositor; char exe[2048]; struct weston_process process; const struct ivi_layout_interface *layout_interface; }; struct test_context { const struct ivi_layout_interface *layout_interface; struct wl_resource *runner_resource; uint32_t user_flags; struct wl_listener surface_property_changed; struct wl_listener surface_created; struct wl_listener surface_removed; struct wl_listener surface_configured; }; static struct test_context static_context; static void destroy_runner(struct wl_resource *resource) { assert(static_context.runner_resource == NULL || static_context.runner_resource == resource); static_context.layout_interface = NULL; static_context.runner_resource = NULL; } static void runner_destroy_handler(struct wl_client *client, struct wl_resource *resource) { wl_resource_destroy(resource); } static void runner_run_handler(struct wl_client *client, struct wl_resource *resource, const char *test_name) { struct test_launcher *launcher; const struct runner_test *t; assert(static_context.runner_resource == NULL || static_context.runner_resource == resource); launcher = wl_resource_get_user_data(resource); static_context.layout_interface = launcher->layout_interface; static_context.runner_resource = resource; t = find_runner_test(test_name); if (!t) { weston_log("Error: runner test \"%s\" not found.\n", test_name); wl_resource_post_error(resource, WESTON_TEST_RUNNER_ERROR_UNKNOWN_TEST, "weston_test_runner: unknown: '%s'", test_name); return; } weston_log("weston_test_runner.run(\"%s\")\n", test_name); t->run(&static_context); weston_test_runner_send_finished(resource); } static const struct weston_test_runner_interface runner_implementation = { runner_destroy_handler, runner_run_handler }; static void bind_runner(struct wl_client *client, void *data, uint32_t version, uint32_t id) { struct test_launcher *launcher = data; struct wl_resource *resource; resource = wl_resource_create(client, &weston_test_runner_interface, 1, id); if (!resource) { wl_client_post_no_memory(client); return; } wl_resource_set_implementation(resource, &runner_implementation, launcher, destroy_runner); if (static_context.runner_resource != NULL) { weston_log("test FATAL: " "attempting to run several tests in parallel.\n"); wl_resource_post_error(resource, WESTON_TEST_RUNNER_ERROR_TEST_FAILED, "attempt to run parallel tests"); } } static void test_client_sigchld(struct weston_process *process, int status) { struct test_launcher *launcher = container_of(process, struct test_launcher, process); struct weston_compositor *c = launcher->compositor; /* Chain up from weston-test-runner's exit code so that automake * knows the exit status and can report e.g. skipped tests. */ if (WIFEXITED(status)) weston_compositor_exit_with_code(c, WEXITSTATUS(status)); else weston_compositor_exit_with_code(c, EXIT_FAILURE); } static void idle_launch_client(void *data) { struct test_launcher *launcher = data; pid_t pid; sigset_t allsigs; pid = fork(); if (pid == -1) { weston_log("fatal: failed to fork '%s': %m\n", launcher->exe); weston_compositor_exit_with_code(launcher->compositor, EXIT_FAILURE); return; } if (pid == 0) { sigfillset(&allsigs); sigprocmask(SIG_UNBLOCK, &allsigs, NULL); execl(launcher->exe, launcher->exe, NULL); weston_log("compositor: executing '%s' failed: %m\n", launcher->exe); _exit(EXIT_FAILURE); } launcher->process.pid = pid; launcher->process.cleanup = test_client_sigchld; weston_watch_process(&launcher->process); } int controller_module_init(struct weston_compositor *compositor, int *argc, char *argv[], const struct ivi_layout_interface *iface, size_t iface_version); WL_EXPORT int controller_module_init(struct weston_compositor *compositor, int *argc, char *argv[], const struct ivi_layout_interface *iface, size_t iface_version) { struct wl_event_loop *loop; struct test_launcher *launcher; const char *path; /* strict check, since this is an internal test module */ if (iface_version != sizeof(*iface)) { weston_log("fatal: controller interface mismatch\n"); return -1; } path = getenv("WESTON_BUILD_DIR"); if (!path) { weston_log("test setup failure: WESTON_BUILD_DIR not set\n"); return -1; } launcher = zalloc(sizeof *launcher); if (!launcher) return -1; launcher->compositor = compositor; launcher->layout_interface = iface; snprintf(launcher->exe, sizeof launcher->exe, "%s/ivi-layout.ivi", path); if (wl_global_create(compositor->wl_display, &weston_test_runner_interface, 1, launcher, bind_runner) == NULL) return -1; loop = wl_display_get_event_loop(compositor->wl_display); wl_event_loop_add_idle(loop, idle_launch_client, launcher); return 0; } static void runner_assert_fail(const char *cond, const char *file, int line, const char *func, struct test_context *ctx) { weston_log("Assert failure in %s:%d, %s: '%s'\n", file, line, func, cond); assert(ctx->runner_resource); wl_resource_post_error(ctx->runner_resource, WESTON_TEST_RUNNER_ERROR_TEST_FAILED, "Assert failure in %s:%d, %s: '%s'\n", file, line, func, cond); } #define runner_assert(cond) ({ \ bool b_ = (cond); \ if (!b_) \ runner_assert_fail(#cond, __FILE__, __LINE__, \ __func__, ctx); \ b_; \ }) #define runner_assert_or_return(cond) do { \ bool b_ = (cond); \ if (!b_) { \ runner_assert_fail(#cond, __FILE__, __LINE__, \ __func__, ctx); \ return; \ } \ } while (0) /*************************** tests **********************************/ /* * This is a controller module: a plugin to ivi-shell.so, i.e. a sub-plugin. * This module is specially written to execute tests that target the * ivi_layout API. * * This module is listed in TESTS in Makefile.am. weston-tests-env handles * this module specially by loading it in ivi-shell. * * Once Weston init completes, this module launches one test program: * ivi-layout.ivi (ivi_layout-test.c). That program uses the weston-test-runner * framework to fork and exec each TEST() in ivi_layout-test.c with a fresh * connection to the single compositor instance. * * Each TEST() in ivi_layout-test.c will bind to weston_test_runner global * interface. A TEST() will set up the client state, and issue * weston_test_runner.run request to execute the compositor-side of the test. * * The compositor-side parts of the tests are in this file. They are specified * by RUNNER_TEST() macro, where the name argument matches the name string * passed to weston_test_runner.run. * * A RUNNER_TEST() function simply returns when it succeeds. If it fails, * a fatal protocol error is sent to the client from runner_assert() or * runner_assert_or_return(). This module catches the test program exit * code and passes it out of Weston to the test harness. * * A single TEST() in ivi_layout-test.c may use multiple RUNNER_TEST()s to * achieve multiple test points over a client action sequence. */ RUNNER_TEST(surface_create_p1) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf[2]; uint32_t ivi_id; ivisurf[0] = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); runner_assert(ivisurf[0]); ivisurf[1] = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(1)); runner_assert(ivisurf[1]); ivi_id = lyt->get_id_of_surface(ivisurf[0]); runner_assert(ivi_id == IVI_TEST_SURFACE_ID(0)); ivi_id = lyt->get_id_of_surface(ivisurf[1]); runner_assert(ivi_id == IVI_TEST_SURFACE_ID(1)); } RUNNER_TEST(surface_create_p2) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf; /* the ivi_surface was destroyed by the client */ ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); runner_assert(ivisurf == NULL); } RUNNER_TEST(surface_visibility) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf; int32_t ret; const struct ivi_layout_surface_properties *prop; ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); runner_assert(ivisurf); ret = lyt->surface_set_visibility(ivisurf, true); runner_assert(ret == IVI_SUCCEEDED); lyt->commit_changes(); prop = lyt->get_properties_of_surface(ivisurf); runner_assert(prop->visibility == true); } RUNNER_TEST(surface_opacity) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf; int32_t ret; const struct ivi_layout_surface_properties *prop; ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); runner_assert(ivisurf); prop = lyt->get_properties_of_surface(ivisurf); runner_assert(prop->opacity == wl_fixed_from_double(1.0)); ret = lyt->surface_set_opacity(ivisurf, wl_fixed_from_double(0.5)); runner_assert(ret == IVI_SUCCEEDED); runner_assert(prop->opacity == wl_fixed_from_double(1.0)); lyt->commit_changes(); runner_assert(prop->opacity == wl_fixed_from_double(0.5)); } RUNNER_TEST(surface_dimension) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf; const struct ivi_layout_surface_properties *prop; ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); runner_assert(ivisurf != NULL); prop = lyt->get_properties_of_surface(ivisurf); runner_assert_or_return(prop); runner_assert(prop->dest_width == 1); runner_assert(prop->dest_height == 1); runner_assert(IVI_SUCCEEDED == lyt->surface_set_destination_rectangle(ivisurf, prop->dest_x, prop->dest_y, 200, 300)); runner_assert(prop->dest_width == 1); runner_assert(prop->dest_height == 1); lyt->commit_changes(); prop = lyt->get_properties_of_surface(ivisurf); runner_assert_or_return(prop); runner_assert(prop->dest_width == 200); runner_assert(prop->dest_height == 300); } RUNNER_TEST(surface_position) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf; const struct ivi_layout_surface_properties *prop; ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); runner_assert(ivisurf != NULL); prop = lyt->get_properties_of_surface(ivisurf); runner_assert_or_return(prop); runner_assert(prop->dest_x == 0); runner_assert(prop->dest_y == 0); runner_assert(lyt->surface_set_destination_rectangle( ivisurf, 20, 30, prop->dest_width, prop->dest_height) == IVI_SUCCEEDED); runner_assert(prop->dest_x == 0); runner_assert(prop->dest_y == 0); lyt->commit_changes(); prop = lyt->get_properties_of_surface(ivisurf); runner_assert_or_return(prop); runner_assert(prop->dest_x == 20); runner_assert(prop->dest_y == 30); } RUNNER_TEST(surface_destination_rectangle) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf; const struct ivi_layout_surface_properties *prop; ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); runner_assert(ivisurf != NULL); prop = lyt->get_properties_of_surface(ivisurf); runner_assert_or_return(prop); runner_assert(prop->dest_width == 1); runner_assert(prop->dest_height == 1); runner_assert(prop->dest_x == 0); runner_assert(prop->dest_y == 0); runner_assert(lyt->surface_set_destination_rectangle( ivisurf, 20, 30, 200, 300) == IVI_SUCCEEDED); prop = lyt->get_properties_of_surface(ivisurf); runner_assert_or_return(prop); runner_assert(prop->dest_width == 1); runner_assert(prop->dest_height == 1); runner_assert(prop->dest_x == 0); runner_assert(prop->dest_y == 0); lyt->commit_changes(); prop = lyt->get_properties_of_surface(ivisurf); runner_assert_or_return(prop); runner_assert(prop->dest_width == 200); runner_assert(prop->dest_height == 300); runner_assert(prop->dest_x == 20); runner_assert(prop->dest_y == 30); } RUNNER_TEST(surface_source_rectangle) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf; const struct ivi_layout_surface_properties *prop; ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); runner_assert(ivisurf != NULL); prop = lyt->get_properties_of_surface(ivisurf); runner_assert_or_return(prop); runner_assert(prop->source_width == 0); runner_assert(prop->source_height == 0); runner_assert(prop->source_x == 0); runner_assert(prop->source_y == 0); runner_assert(lyt->surface_set_source_rectangle( ivisurf, 20, 30, 200, 300) == IVI_SUCCEEDED); prop = lyt->get_properties_of_surface(ivisurf); runner_assert_or_return(prop); runner_assert(prop->source_width == 0); runner_assert(prop->source_height == 0); runner_assert(prop->source_x == 0); runner_assert(prop->source_y == 0); lyt->commit_changes(); prop = lyt->get_properties_of_surface(ivisurf); runner_assert_or_return(prop); runner_assert(prop->source_width == 200); runner_assert(prop->source_height == 300); runner_assert(prop->source_x == 20); runner_assert(prop->source_y == 30); } RUNNER_TEST(surface_bad_opacity) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf; const struct ivi_layout_surface_properties *prop; ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); runner_assert(ivisurf != NULL); runner_assert(lyt->surface_set_opacity( NULL, wl_fixed_from_double(0.3)) == IVI_FAILED); runner_assert(lyt->surface_set_opacity( ivisurf, wl_fixed_from_double(0.3)) == IVI_SUCCEEDED); runner_assert(lyt->surface_set_opacity( ivisurf, wl_fixed_from_double(-1)) == IVI_FAILED); lyt->commit_changes(); prop = lyt->get_properties_of_surface(ivisurf); runner_assert(prop->opacity == wl_fixed_from_double(0.3)); runner_assert(lyt->surface_set_opacity( ivisurf, wl_fixed_from_double(1.1)) == IVI_FAILED); lyt->commit_changes(); runner_assert(prop->opacity == wl_fixed_from_double(0.3)); runner_assert(lyt->surface_set_opacity( NULL, wl_fixed_from_double(0.5)) == IVI_FAILED); lyt->commit_changes(); } RUNNER_TEST(surface_on_many_layer) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf; struct ivi_layout_layer *ivilayers[IVI_TEST_LAYER_COUNT] = {}; struct ivi_layout_layer **array; int32_t length = 0; uint32_t i; ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); runner_assert(ivisurf != NULL); for (i = 0; i < IVI_TEST_LAYER_COUNT; i++) { ivilayers[i] = lyt->layer_create_with_dimension( IVI_TEST_LAYER_ID(i), 200, 300); runner_assert(lyt->layer_add_surface( ivilayers[i], ivisurf) == IVI_SUCCEEDED); } lyt->commit_changes(); runner_assert(lyt->get_layers_under_surface( ivisurf, &length, &array) == IVI_SUCCEEDED); runner_assert(IVI_TEST_LAYER_COUNT == length); for (i = 0; i < IVI_TEST_LAYER_COUNT; i++) runner_assert(array[i] == ivilayers[i]); if (length > 0) free(array); for (i = 0; i < IVI_TEST_LAYER_COUNT; i++) lyt->layer_remove_surface(ivilayers[i], ivisurf); array = NULL; lyt->commit_changes(); runner_assert(lyt->get_layers_under_surface( ivisurf, &length, &array) == IVI_SUCCEEDED); runner_assert(length == 0 && array == NULL); for (i = 0; i < IVI_TEST_LAYER_COUNT; i++) lyt->layer_destroy(ivilayers[i]); } RUNNER_TEST(ivi_layout_commit_changes) { const struct ivi_layout_interface *lyt = ctx->layout_interface; lyt->commit_changes(); } RUNNER_TEST(commit_changes_after_visibility_set_surface_destroy) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf; ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); runner_assert(ivisurf != NULL); runner_assert(lyt->surface_set_visibility( ivisurf, true) == IVI_SUCCEEDED); } RUNNER_TEST(commit_changes_after_opacity_set_surface_destroy) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf; ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); runner_assert(ivisurf != NULL); runner_assert(lyt->surface_set_opacity( ivisurf, wl_fixed_from_double(0.5)) == IVI_SUCCEEDED); } RUNNER_TEST(commit_changes_after_source_rectangle_set_surface_destroy) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf; ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); runner_assert(ivisurf != NULL); runner_assert(lyt->surface_set_source_rectangle( ivisurf, 20, 30, 200, 300) == IVI_SUCCEEDED); } RUNNER_TEST(commit_changes_after_destination_rectangle_set_surface_destroy) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf; ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); runner_assert(ivisurf != NULL); runner_assert(lyt->surface_set_destination_rectangle( ivisurf, 20, 30, 200, 300) == IVI_SUCCEEDED); } RUNNER_TEST(get_surface_after_destroy_surface) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf; ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); runner_assert(ivisurf == NULL); } RUNNER_TEST(layer_render_order) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; struct ivi_layout_surface *ivisurfs[IVI_TEST_SURFACE_COUNT] = {}; struct ivi_layout_surface **array; int32_t length = 0; uint32_t i; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); for (i = 0; i < IVI_TEST_SURFACE_COUNT; i++) ivisurfs[i] = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(i)); runner_assert(lyt->layer_set_render_order( ivilayer, ivisurfs, IVI_TEST_SURFACE_COUNT) == IVI_SUCCEEDED); lyt->commit_changes(); runner_assert(lyt->get_surfaces_on_layer( ivilayer, &length, &array) == IVI_SUCCEEDED); runner_assert(IVI_TEST_SURFACE_COUNT == length); for (i = 0; i < IVI_TEST_SURFACE_COUNT; i++) runner_assert(array[i] == ivisurfs[i]); if (length > 0) free(array); runner_assert(lyt->layer_set_render_order( ivilayer, NULL, 0) == IVI_SUCCEEDED); array = NULL; lyt->commit_changes(); runner_assert(lyt->get_surfaces_on_layer( ivilayer, &length, &array) == IVI_SUCCEEDED); runner_assert(length == 0 && array == NULL); lyt->layer_destroy(ivilayer); } RUNNER_TEST(test_layer_render_order_destroy_one_surface_p1) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; struct ivi_layout_surface *ivisurfs[IVI_TEST_SURFACE_COUNT] = {}; struct ivi_layout_surface **array; int32_t length = 0; int32_t i; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); for (i = 0; i < IVI_TEST_SURFACE_COUNT; i++) ivisurfs[i] = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(i)); runner_assert(lyt->layer_set_render_order( ivilayer, ivisurfs, IVI_TEST_SURFACE_COUNT) == IVI_SUCCEEDED); lyt->commit_changes(); runner_assert(lyt->get_surfaces_on_layer( ivilayer, &length, &array) == IVI_SUCCEEDED); runner_assert(IVI_TEST_SURFACE_COUNT == length); for (i = 0; i < length; i++) runner_assert(array[i] == ivisurfs[i]); if (length > 0) free(array); } RUNNER_TEST(test_layer_render_order_destroy_one_surface_p2) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; struct ivi_layout_surface *ivisurfs[2] = {}; struct ivi_layout_surface **array; int32_t length = 0; int32_t i; ivilayer = lyt->get_layer_from_id(IVI_TEST_LAYER_ID(0)); ivisurfs[0] = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); ivisurfs[1] = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(2)); runner_assert(lyt->get_surfaces_on_layer( ivilayer, &length, &array) == IVI_SUCCEEDED); runner_assert(2 == length); for (i = 0; i < length; i++) runner_assert(array[i] == ivisurfs[i]); if (length > 0) free(array); lyt->layer_destroy(ivilayer); } RUNNER_TEST(layer_bad_render_order) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; struct ivi_layout_surface *ivisurfs[IVI_TEST_SURFACE_COUNT] = {}; struct ivi_layout_surface **array = NULL; int32_t length = 0; uint32_t i; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); for (i = 0; i < IVI_TEST_SURFACE_COUNT; i++) ivisurfs[i] = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(i)); runner_assert(lyt->layer_set_render_order( NULL, ivisurfs, IVI_TEST_SURFACE_COUNT) == IVI_FAILED); lyt->commit_changes(); runner_assert(lyt->get_surfaces_on_layer( NULL, &length, &array) == IVI_FAILED); runner_assert(length == 0 && array == NULL); runner_assert(lyt->get_surfaces_on_layer( ivilayer, NULL, &array) == IVI_FAILED); runner_assert(array == NULL); runner_assert(lyt->get_surfaces_on_layer( ivilayer, &length, NULL) == IVI_FAILED); runner_assert(length == 0); lyt->layer_destroy(ivilayer); } RUNNER_TEST(layer_add_surfaces) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; struct ivi_layout_surface *ivisurfs[IVI_TEST_SURFACE_COUNT] = {}; struct ivi_layout_surface **array; int32_t length = 0; uint32_t i; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); for (i = 0; i < IVI_TEST_SURFACE_COUNT; i++) { ivisurfs[i] = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(i)); runner_assert(lyt->layer_add_surface( ivilayer, ivisurfs[i]) == IVI_SUCCEEDED); } lyt->commit_changes(); runner_assert(lyt->get_surfaces_on_layer( ivilayer, &length, &array) == IVI_SUCCEEDED); runner_assert(IVI_TEST_SURFACE_COUNT == length); for (i = 0; i < IVI_TEST_SURFACE_COUNT; i++) runner_assert(array[i] == ivisurfs[i]); if (length > 0) free(array); runner_assert(lyt->layer_set_render_order( ivilayer, NULL, 0) == IVI_SUCCEEDED); for (i = IVI_TEST_SURFACE_COUNT; i-- > 0;) runner_assert(lyt->layer_add_surface( ivilayer, ivisurfs[i]) == IVI_SUCCEEDED); lyt->commit_changes(); runner_assert(lyt->get_surfaces_on_layer( ivilayer, &length, &array) == IVI_SUCCEEDED); runner_assert(IVI_TEST_SURFACE_COUNT == length); for (i = 0; i < IVI_TEST_SURFACE_COUNT; i++) runner_assert(array[i] == ivisurfs[IVI_TEST_SURFACE_COUNT - (i + 1)]); if (length > 0) free(array); lyt->layer_destroy(ivilayer); } RUNNER_TEST(commit_changes_after_render_order_set_surface_destroy) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; struct ivi_layout_surface *ivisurfs[IVI_TEST_SURFACE_COUNT] = {}; int i; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); for (i = 0; i < IVI_TEST_SURFACE_COUNT; i++) ivisurfs[i] = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(i)); runner_assert(lyt->layer_set_render_order( ivilayer, ivisurfs, IVI_TEST_SURFACE_COUNT) == IVI_SUCCEEDED); } RUNNER_TEST(cleanup_layer) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; ivilayer = lyt->get_layer_from_id(IVI_TEST_LAYER_ID(0)); lyt->layer_destroy(ivilayer); } static void test_surface_properties_changed_notification_callback(struct wl_listener *listener, void *data) { struct test_context *ctx = container_of(listener, struct test_context, surface_property_changed); const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf = data; runner_assert_or_return(lyt->get_id_of_surface(ivisurf) == IVI_TEST_SURFACE_ID(0)); ctx->user_flags = 1; } RUNNER_TEST(surface_properties_changed_notification) { const struct ivi_layout_interface *lyt = ctx->layout_interface; const uint32_t id_surface = IVI_TEST_SURFACE_ID(0); struct ivi_layout_surface *ivisurf; ctx->user_flags = 0; ivisurf = lyt->get_surface_from_id(id_surface); runner_assert(ivisurf != NULL); ctx->surface_property_changed.notify = test_surface_properties_changed_notification_callback; runner_assert(lyt->surface_add_listener( ivisurf, &ctx->surface_property_changed) == IVI_SUCCEEDED); lyt->commit_changes(); runner_assert(ctx->user_flags == 0); runner_assert(lyt->surface_set_destination_rectangle( ivisurf, 20, 30, 200, 300) == IVI_SUCCEEDED); lyt->commit_changes(); runner_assert(ctx->user_flags == 1); ctx->user_flags = 0; runner_assert(lyt->surface_set_destination_rectangle( ivisurf, 20, 30, 200, 300) == IVI_SUCCEEDED); lyt->commit_changes(); runner_assert(ctx->user_flags == 0); // remove surface property changed listener. wl_list_remove(&ctx->surface_property_changed.link); ctx->user_flags = 0; runner_assert(lyt->surface_set_destination_rectangle( ivisurf, 40, 50, 400, 500) == IVI_SUCCEEDED); lyt->commit_changes(); runner_assert(ctx->user_flags == 0); } static void test_surface_configure_notification_callback(struct wl_listener *listener, void *data) { struct test_context *ctx = container_of(listener, struct test_context, surface_configured); const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf = data; runner_assert_or_return(lyt->get_id_of_surface(ivisurf) == IVI_TEST_SURFACE_ID(0)); ctx->user_flags = 1; } RUNNER_TEST(surface_configure_notification_p1) { const struct ivi_layout_interface *lyt = ctx->layout_interface; ctx->surface_configured.notify = test_surface_configure_notification_callback; runner_assert(IVI_SUCCEEDED == lyt->add_listener_configure_surface(&ctx->surface_configured)); lyt->commit_changes(); ctx->user_flags = 0; } RUNNER_TEST(surface_configure_notification_p2) { runner_assert(ctx->user_flags == 1); // remove surface configured listener. wl_list_remove(&ctx->surface_configured.link); ctx->user_flags = 0; } RUNNER_TEST(surface_configure_notification_p3) { const struct ivi_layout_interface *lyt = ctx->layout_interface; lyt->commit_changes(); runner_assert(ctx->user_flags == 0); } static void test_surface_create_notification_callback(struct wl_listener *listener, void *data) { struct test_context *ctx = container_of(listener, struct test_context, surface_created); const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf = data; runner_assert_or_return(lyt->get_id_of_surface(ivisurf) == IVI_TEST_SURFACE_ID(0)); ctx->user_flags = 1; } RUNNER_TEST(surface_create_notification_p1) { const struct ivi_layout_interface *lyt = ctx->layout_interface; ctx->surface_created.notify = test_surface_create_notification_callback; runner_assert(lyt->add_listener_create_surface( &ctx->surface_created) == IVI_SUCCEEDED); ctx->user_flags = 0; } RUNNER_TEST(surface_create_notification_p2) { runner_assert(ctx->user_flags == 1); // remove surface created listener. wl_list_remove(&ctx->surface_created.link); ctx->user_flags = 0; } RUNNER_TEST(surface_create_notification_p3) { runner_assert(ctx->user_flags == 0); } static void test_surface_remove_notification_callback(struct wl_listener *listener, void *data) { struct test_context *ctx = container_of(listener, struct test_context, surface_removed); const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf = data; runner_assert_or_return(lyt->get_id_of_surface(ivisurf) == IVI_TEST_SURFACE_ID(0)); ctx->user_flags = 1; } RUNNER_TEST(surface_remove_notification_p1) { const struct ivi_layout_interface *lyt = ctx->layout_interface; ctx->surface_removed.notify = test_surface_remove_notification_callback; runner_assert(lyt->add_listener_remove_surface(&ctx->surface_removed) == IVI_SUCCEEDED); ctx->user_flags = 0; } RUNNER_TEST(surface_remove_notification_p2) { runner_assert(ctx->user_flags == 1); // remove surface removed listener. wl_list_remove(&ctx->surface_removed.link); ctx->user_flags = 0; } RUNNER_TEST(surface_remove_notification_p3) { runner_assert(ctx->user_flags == 0); } static void test_surface_bad_properties_changed_notification_callback(struct wl_listener *listener, void *data) { } RUNNER_TEST(surface_bad_properties_changed_notification) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_surface *ivisurf; ivisurf = lyt->get_surface_from_id(IVI_TEST_SURFACE_ID(0)); runner_assert(ivisurf != NULL); ctx->surface_property_changed.notify = test_surface_bad_properties_changed_notification_callback; runner_assert(lyt->surface_add_listener( NULL, &ctx->surface_property_changed) == IVI_FAILED); runner_assert(lyt->surface_add_listener( ivisurf, NULL) == IVI_FAILED); } weston-3.0.0/tests/weston-test.c0000664000175000017500000003516413142404577013576 00000000000000/* * Copyright © 2012 Intel Corporation * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include #include "compositor.h" #include "compositor/weston.h" #include "weston-test-server-protocol.h" #ifdef ENABLE_EGL #include #include #include "weston-egl-ext.h" #endif /* ENABLE_EGL */ #include "shared/helpers.h" struct weston_test { struct weston_compositor *compositor; struct weston_layer layer; struct weston_process process; struct weston_seat seat; }; struct weston_test_surface { struct weston_surface *surface; struct weston_view *view; int32_t x, y; struct weston_test *test; }; static void test_client_sigchld(struct weston_process *process, int status) { struct weston_test *test = container_of(process, struct weston_test, process); /* Chain up from weston-test-runner's exit code so that automake * knows the exit status and can report e.g. skipped tests. */ if (WIFEXITED(status) && WEXITSTATUS(status) != 0) exit(WEXITSTATUS(status)); /* In case the child aborted or segfaulted... */ assert(status == 0); wl_display_terminate(test->compositor->wl_display); } static struct weston_seat * get_seat(struct weston_test *test) { return &test->seat; } static void notify_pointer_position(struct weston_test *test, struct wl_resource *resource) { struct weston_seat *seat = get_seat(test); struct weston_pointer *pointer = weston_seat_get_pointer(seat); weston_test_send_pointer_position(resource, pointer->x, pointer->y); } static void test_surface_committed(struct weston_surface *surface, int32_t sx, int32_t sy) { struct weston_test_surface *test_surface = surface->committed_private; struct weston_test *test = test_surface->test; if (wl_list_empty(&test_surface->view->layer_link.link)) weston_layer_entry_insert(&test->layer.view_list, &test_surface->view->layer_link); weston_view_set_position(test_surface->view, test_surface->x, test_surface->y); weston_view_update_transform(test_surface->view); test_surface->surface->is_mapped = true; test_surface->view->is_mapped = true; } static void move_surface(struct wl_client *client, struct wl_resource *resource, struct wl_resource *surface_resource, int32_t x, int32_t y) { struct weston_surface *surface = wl_resource_get_user_data(surface_resource); struct weston_test_surface *test_surface; test_surface = surface->committed_private; if (!test_surface) { test_surface = malloc(sizeof *test_surface); if (!test_surface) { wl_resource_post_no_memory(resource); return; } test_surface->view = weston_view_create(surface); if (!test_surface->view) { wl_resource_post_no_memory(resource); free(test_surface); return; } surface->committed_private = test_surface; surface->committed = test_surface_committed; } test_surface->surface = surface; test_surface->test = wl_resource_get_user_data(resource); test_surface->x = x; test_surface->y = y; } static void move_pointer(struct wl_client *client, struct wl_resource *resource, int32_t x, int32_t y) { struct weston_test *test = wl_resource_get_user_data(resource); struct weston_seat *seat = get_seat(test); struct weston_pointer *pointer = weston_seat_get_pointer(seat); struct weston_pointer_motion_event event = { 0 }; event = (struct weston_pointer_motion_event) { .mask = WESTON_POINTER_MOTION_REL, .dx = wl_fixed_to_double(wl_fixed_from_int(x) - pointer->x), .dy = wl_fixed_to_double(wl_fixed_from_int(y) - pointer->y), }; notify_motion(seat, 100, &event); notify_pointer_position(test, resource); } static void send_button(struct wl_client *client, struct wl_resource *resource, int32_t button, uint32_t state) { struct weston_test *test = wl_resource_get_user_data(resource); struct weston_seat *seat = get_seat(test); notify_button(seat, 100, button, state); } static void activate_surface(struct wl_client *client, struct wl_resource *resource, struct wl_resource *surface_resource) { struct weston_surface *surface = surface_resource ? wl_resource_get_user_data(surface_resource) : NULL; struct weston_test *test = wl_resource_get_user_data(resource); struct weston_seat *seat; struct weston_keyboard *keyboard; seat = get_seat(test); keyboard = weston_seat_get_keyboard(seat); if (surface) { weston_seat_set_keyboard_focus(seat, surface); notify_keyboard_focus_in(seat, &keyboard->keys, STATE_UPDATE_AUTOMATIC); } else { notify_keyboard_focus_out(seat); weston_seat_set_keyboard_focus(seat, surface); } } static void send_key(struct wl_client *client, struct wl_resource *resource, uint32_t key, enum wl_keyboard_key_state state) { struct weston_test *test = wl_resource_get_user_data(resource); struct weston_seat *seat = get_seat(test); notify_key(seat, 100, key, state, STATE_UPDATE_AUTOMATIC); } static void device_release(struct wl_client *client, struct wl_resource *resource, const char *device) { struct weston_test *test = wl_resource_get_user_data(resource); struct weston_seat *seat = get_seat(test); if (strcmp(device, "pointer") == 0) { weston_seat_release_pointer(seat); } else if (strcmp(device, "keyboard") == 0) { weston_seat_release_keyboard(seat); } else if (strcmp(device, "touch") == 0) { weston_seat_release_touch(seat); } else if (strcmp(device, "seat") == 0) { weston_seat_release(seat); } else { assert(0 && "Unsupported device"); } } static void device_add(struct wl_client *client, struct wl_resource *resource, const char *device) { struct weston_test *test = wl_resource_get_user_data(resource); struct weston_seat *seat = get_seat(test); if (strcmp(device, "pointer") == 0) { weston_seat_init_pointer(seat); } else if (strcmp(device, "keyboard") == 0) { weston_seat_init_keyboard(seat, NULL); } else if (strcmp(device, "touch") == 0) { weston_seat_init_touch(seat); } else { assert(0 && "Unsupported device"); } } enum weston_test_screenshot_outcome { WESTON_TEST_SCREENSHOT_SUCCESS, WESTON_TEST_SCREENSHOT_NO_MEMORY, WESTON_TEST_SCREENSHOT_BAD_BUFFER }; typedef void (*weston_test_screenshot_done_func_t)(void *data, enum weston_test_screenshot_outcome outcome); struct test_screenshot { struct weston_compositor *compositor; struct wl_global *global; struct wl_client *client; struct weston_process process; struct wl_listener destroy_listener; }; struct test_screenshot_frame_listener { struct wl_listener listener; struct weston_buffer *buffer; weston_test_screenshot_done_func_t done; void *data; }; static void copy_bgra_yflip(uint8_t *dst, uint8_t *src, int height, int stride) { uint8_t *end; end = dst + height * stride; while (dst < end) { memcpy(dst, src, stride); dst += stride; src -= stride; } } static void copy_bgra(uint8_t *dst, uint8_t *src, int height, int stride) { /* TODO: optimize this out */ memcpy(dst, src, height * stride); } static void copy_row_swap_RB(void *vdst, void *vsrc, int bytes) { uint32_t *dst = vdst; uint32_t *src = vsrc; uint32_t *end = dst + bytes / 4; while (dst < end) { uint32_t v = *src++; /* A R G B */ uint32_t tmp = v & 0xff00ff00; tmp |= (v >> 16) & 0x000000ff; tmp |= (v << 16) & 0x00ff0000; *dst++ = tmp; } } static void copy_rgba_yflip(uint8_t *dst, uint8_t *src, int height, int stride) { uint8_t *end; end = dst + height * stride; while (dst < end) { copy_row_swap_RB(dst, src, stride); dst += stride; src -= stride; } } static void copy_rgba(uint8_t *dst, uint8_t *src, int height, int stride) { uint8_t *end; end = dst + height * stride; while (dst < end) { copy_row_swap_RB(dst, src, stride); dst += stride; src += stride; } } static void test_screenshot_frame_notify(struct wl_listener *listener, void *data) { struct test_screenshot_frame_listener *l = container_of(listener, struct test_screenshot_frame_listener, listener); struct weston_output *output = data; struct weston_compositor *compositor = output->compositor; int32_t stride; uint8_t *pixels, *d, *s; output->disable_planes--; wl_list_remove(&listener->link); stride = l->buffer->width * (PIXMAN_FORMAT_BPP(compositor->read_format) / 8); pixels = malloc(stride * l->buffer->height); if (pixels == NULL) { l->done(l->data, WESTON_TEST_SCREENSHOT_NO_MEMORY); free(l); return; } /* FIXME: Needs to handle output transformations */ compositor->renderer->read_pixels(output, compositor->read_format, pixels, 0, 0, output->current_mode->width, output->current_mode->height); stride = wl_shm_buffer_get_stride(l->buffer->shm_buffer); d = wl_shm_buffer_get_data(l->buffer->shm_buffer); s = pixels + stride * (l->buffer->height - 1); wl_shm_buffer_begin_access(l->buffer->shm_buffer); /* XXX: It would be nice if we used Pixman to do all this rather * than our own implementation */ switch (compositor->read_format) { case PIXMAN_a8r8g8b8: case PIXMAN_x8r8g8b8: if (compositor->capabilities & WESTON_CAP_CAPTURE_YFLIP) copy_bgra_yflip(d, s, output->current_mode->height, stride); else copy_bgra(d, pixels, output->current_mode->height, stride); break; case PIXMAN_x8b8g8r8: case PIXMAN_a8b8g8r8: if (compositor->capabilities & WESTON_CAP_CAPTURE_YFLIP) copy_rgba_yflip(d, s, output->current_mode->height, stride); else copy_rgba(d, pixels, output->current_mode->height, stride); break; default: break; } wl_shm_buffer_end_access(l->buffer->shm_buffer); l->done(l->data, WESTON_TEST_SCREENSHOT_SUCCESS); free(pixels); free(l); } static bool weston_test_screenshot_shoot(struct weston_output *output, struct weston_buffer *buffer, weston_test_screenshot_done_func_t done, void *data) { struct test_screenshot_frame_listener *l; /* Get the shm buffer resource the client created */ if (!wl_shm_buffer_get(buffer->resource)) { done(data, WESTON_TEST_SCREENSHOT_BAD_BUFFER); return false; } buffer->shm_buffer = wl_shm_buffer_get(buffer->resource); buffer->width = wl_shm_buffer_get_width(buffer->shm_buffer); buffer->height = wl_shm_buffer_get_height(buffer->shm_buffer); /* Verify buffer is big enough */ if (buffer->width < output->current_mode->width || buffer->height < output->current_mode->height) { done(data, WESTON_TEST_SCREENSHOT_BAD_BUFFER); return false; } /* allocate the frame listener */ l = malloc(sizeof *l); if (l == NULL) { done(data, WESTON_TEST_SCREENSHOT_NO_MEMORY); return false; } /* Set up the listener */ l->buffer = buffer; l->done = done; l->data = data; l->listener.notify = test_screenshot_frame_notify; wl_signal_add(&output->frame_signal, &l->listener); /* Fire off a repaint */ output->disable_planes++; weston_output_schedule_repaint(output); return true; } static void capture_screenshot_done(void *data, enum weston_test_screenshot_outcome outcome) { struct wl_resource *resource = data; switch (outcome) { case WESTON_TEST_SCREENSHOT_SUCCESS: weston_test_send_capture_screenshot_done(resource); break; case WESTON_TEST_SCREENSHOT_NO_MEMORY: wl_resource_post_no_memory(resource); break; default: break; } } /** * Grabs a snapshot of the screen. */ static void capture_screenshot(struct wl_client *client, struct wl_resource *resource, struct wl_resource *output_resource, struct wl_resource *buffer_resource) { struct weston_output *output = weston_output_from_resource(output_resource); struct weston_buffer *buffer = weston_buffer_from_resource(buffer_resource); if (buffer == NULL) { wl_resource_post_no_memory(resource); return; } weston_test_screenshot_shoot(output, buffer, capture_screenshot_done, resource); } static const struct weston_test_interface test_implementation = { move_surface, move_pointer, send_button, activate_surface, send_key, device_release, device_add, capture_screenshot, }; static void bind_test(struct wl_client *client, void *data, uint32_t version, uint32_t id) { struct weston_test *test = data; struct wl_resource *resource; resource = wl_resource_create(client, &weston_test_interface, 1, id); if (!resource) { wl_client_post_no_memory(client); return; } wl_resource_set_implementation(resource, &test_implementation, test, NULL); notify_pointer_position(test, resource); } static void idle_launch_client(void *data) { struct weston_test *test = data; pid_t pid; sigset_t allsigs; char *path; path = getenv("WESTON_TEST_CLIENT_PATH"); if (path == NULL) return; pid = fork(); if (pid == -1) exit(EXIT_FAILURE); if (pid == 0) { sigfillset(&allsigs); sigprocmask(SIG_UNBLOCK, &allsigs, NULL); execl(path, path, NULL); weston_log("compositor: executing '%s' failed: %m\n", path); exit(EXIT_FAILURE); } test->process.pid = pid; test->process.cleanup = test_client_sigchld; weston_watch_process(&test->process); } WL_EXPORT int wet_module_init(struct weston_compositor *ec, int *argc, char *argv[]) { struct weston_test *test; struct wl_event_loop *loop; test = zalloc(sizeof *test); if (test == NULL) return -1; test->compositor = ec; weston_layer_init(&test->layer, ec); weston_layer_set_position(&test->layer, WESTON_LAYER_POSITION_CURSOR - 1); if (wl_global_create(ec->wl_display, &weston_test_interface, 1, test, bind_test) == NULL) return -1; /* create our own seat */ weston_seat_init(&test->seat, ec, "test-seat"); /* add devices */ weston_seat_init_pointer(&test->seat); if (weston_seat_init_keyboard(&test->seat, NULL) < 0) return -1; weston_seat_init_touch(&test->seat); loop = wl_display_get_event_loop(ec->wl_display); wl_event_loop_add_idle(loop, idle_launch_client, test); return 0; } weston-3.0.0/tests/weston-test-runner.c0000664000175000017500000001241713142404577015101 00000000000000/* * Copyright © 2012 Intel Corporation * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include #include #include #include "weston-test-runner.h" #define SKIP 77 char __attribute__((weak)) *server_parameters=""; extern const struct weston_test __start_test_section, __stop_test_section; static const char *test_name_; const char * get_test_name(void) { return test_name_; } static const struct weston_test * find_test(const char *name) { const struct weston_test *t; for (t = &__start_test_section; t < &__stop_test_section; t++) if (strcmp(t->name, name) == 0) return t; return NULL; } static void run_test(const struct weston_test *t, void *data, int iteration) { char str[512]; if (data) { snprintf(str, sizeof(str), "%s[%d]", t->name, iteration); test_name_ = str; } else { test_name_ = t->name; } t->run(data); exit(EXIT_SUCCESS); } static void list_tests(void) { const struct weston_test *t; fprintf(stderr, "Available test names:\n"); for (t = &__start_test_section; t < &__stop_test_section; t++) fprintf(stderr, " %s\n", t->name); } /* iteration is valid only if test_data is not NULL */ static int exec_and_report_test(const struct weston_test *t, void *test_data, int iteration) { int success = 0; int skip = 0; int hardfail = 0; siginfo_t info; pid_t pid = fork(); assert(pid >= 0); if (pid == 0) run_test(t, test_data, iteration); /* never returns */ if (waitid(P_ALL, 0, &info, WEXITED)) { fprintf(stderr, "waitid failed: %m\n"); abort(); } if (test_data) fprintf(stderr, "test \"%s/%i\":\t", t->name, iteration); else fprintf(stderr, "test \"%s\":\t", t->name); switch (info.si_code) { case CLD_EXITED: fprintf(stderr, "exit status %d", info.si_status); if (info.si_status == EXIT_SUCCESS) success = 1; else if (info.si_status == SKIP) skip = 1; break; case CLD_KILLED: case CLD_DUMPED: fprintf(stderr, "signal %d", info.si_status); if (info.si_status != SIGABRT) hardfail = 1; break; } if (t->must_fail) success = !success; if (success && !hardfail) { fprintf(stderr, ", pass.\n"); return 1; } else if (skip) { fprintf(stderr, ", skip.\n"); return SKIP; } else { fprintf(stderr, ", fail.\n"); return 0; } } /* Returns number of tests and number of pass / fail in param args. * Even non-iterated tests go through here, they simply have n_elements = 1 and * table_data = NULL. */ static int iterate_test(const struct weston_test *t, int *passed, int *skipped) { int ret, i; void *current_test_data = (void *) t->table_data; for (i = 0; i < t->n_elements; ++i, current_test_data += t->element_size) { ret = exec_and_report_test(t, current_test_data, i); if (ret == SKIP) ++(*skipped); else if (ret) ++(*passed); } return t->n_elements; } int main(int argc, char *argv[]) { const struct weston_test *t; int total = 0; int pass = 0; int skip = 0; if (argc == 2) { const char *testname = argv[1]; if (strcmp(testname, "--help") == 0 || strcmp(testname, "-h") == 0) { fprintf(stderr, "Usage: %s [test-name]\n", program_invocation_short_name); list_tests(); exit(EXIT_SUCCESS); } if (strcmp(testname, "--params") == 0 || strcmp(testname, "-p") == 0) { printf("%s", server_parameters); exit(EXIT_SUCCESS); } t = find_test(argv[1]); if (t == NULL) { fprintf(stderr, "unknown test: \"%s\"\n", argv[1]); list_tests(); exit(EXIT_FAILURE); } int number_passed_in_test = 0, number_skipped_in_test = 0; total += iterate_test(t, &number_passed_in_test, &number_skipped_in_test); pass += number_passed_in_test; skip += number_skipped_in_test; } else { for (t = &__start_test_section; t < &__stop_test_section; t++) { int number_passed_in_test = 0, number_skipped_in_test = 0; total += iterate_test(t, &number_passed_in_test, &number_skipped_in_test); pass += number_passed_in_test; skip += number_skipped_in_test; } } fprintf(stderr, "%d tests, %d pass, %d skip, %d fail\n", total, pass, skip, total - pass - skip); if (skip == total) return SKIP; else if (pass + skip == total) return EXIT_SUCCESS; return EXIT_FAILURE; } weston-3.0.0/tests/ivi_layout-internal-test.c0000664000175000017500000006527513142404577016263 00000000000000/* * Copyright © 2013 DENSO CORPORATION * Copyright © 2015 Collabora, Ltd. * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include "compositor.h" #include "ivi-shell/ivi-layout-export.h" #include "ivi-shell/ivi-layout-private.h" #include "ivi-test.h" #include "shared/helpers.h" struct test_context { struct weston_compositor *compositor; const struct ivi_layout_interface *layout_interface; uint32_t user_flags; struct wl_listener layer_property_changed; struct wl_listener layer_created; struct wl_listener layer_removed; }; static void iassert_fail(const char *cond, const char *file, int line, const char *func, struct test_context *ctx) { weston_log("Assert failure in %s:%d, %s: '%s'\n", file, line, func, cond); weston_compositor_exit_with_code(ctx->compositor, EXIT_FAILURE); } #define iassert(cond) ({ \ bool b_ = (cond); \ if (!b_) \ iassert_fail(#cond, __FILE__, __LINE__, __func__, ctx); \ b_; \ }) /************************ tests begin ******************************/ /* * These are all internal ivi_layout API tests that do not require * any client objects. */ static void test_surface_bad_visibility(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; iassert(lyt->surface_set_visibility(NULL, true) == IVI_FAILED); lyt->commit_changes(); } static void test_surface_bad_destination_rectangle(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; iassert(lyt->surface_set_destination_rectangle(NULL, 20, 30, 200, 300) == IVI_FAILED); } static void test_surface_bad_source_rectangle(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; iassert(lyt->surface_set_source_rectangle(NULL, 20, 30, 200, 300) == IVI_FAILED); } static void test_surface_bad_properties(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; iassert(lyt->get_properties_of_surface(NULL) == NULL); } static void test_layer_create(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; uint32_t id1; uint32_t id2; struct ivi_layout_layer *ivilayer; struct ivi_layout_layer *new_ivilayer; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); iassert(ivilayer != NULL); iassert(IVI_TEST_LAYER_ID(0) == lyt->get_id_of_layer(ivilayer)); new_ivilayer = lyt->get_layer_from_id(IVI_TEST_LAYER_ID(0)); iassert(ivilayer == new_ivilayer); id1 = lyt->get_id_of_layer(ivilayer); id2 = lyt->get_id_of_layer(new_ivilayer); iassert(id1 == id2); lyt->layer_destroy(ivilayer); iassert(lyt->get_layer_from_id(IVI_TEST_LAYER_ID(0)) == NULL); } static void test_layer_visibility(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; const struct ivi_layout_layer_properties *prop; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); iassert(ivilayer != NULL); prop = lyt->get_properties_of_layer(ivilayer); iassert(prop->visibility == false); iassert(lyt->layer_set_visibility(ivilayer, true) == IVI_SUCCEEDED); iassert(prop->visibility == false); lyt->commit_changes(); iassert(prop->visibility == true); lyt->layer_destroy(ivilayer); } static void test_layer_opacity(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; const struct ivi_layout_layer_properties *prop; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); iassert(ivilayer != NULL); prop = lyt->get_properties_of_layer(ivilayer); iassert(prop->opacity == wl_fixed_from_double(1.0)); iassert(lyt->layer_set_opacity( ivilayer, wl_fixed_from_double(0.5)) == IVI_SUCCEEDED); iassert(prop->opacity == wl_fixed_from_double(1.0)); lyt->commit_changes(); iassert(prop->opacity == wl_fixed_from_double(0.5)); lyt->layer_destroy(ivilayer); } static void test_layer_dimension(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; const struct ivi_layout_layer_properties *prop; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); iassert(ivilayer != NULL); prop = lyt->get_properties_of_layer(ivilayer); iassert(prop->dest_width == 200); iassert(prop->dest_height == 300); iassert(lyt->layer_set_destination_rectangle(ivilayer, prop->dest_x, prop->dest_y, 400, 600) == IVI_SUCCEEDED); iassert(prop->dest_width == 200); iassert(prop->dest_height == 300); lyt->commit_changes(); iassert(prop->dest_width == 400); iassert(prop->dest_height == 600); lyt->layer_destroy(ivilayer); } static void test_layer_position(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; const struct ivi_layout_layer_properties *prop; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); iassert(ivilayer != NULL); prop = lyt->get_properties_of_layer(ivilayer); iassert(prop->dest_x == 0); iassert(prop->dest_y == 0); iassert(lyt->layer_set_destination_rectangle(ivilayer, 20, 30, prop->dest_width, prop->dest_height) == IVI_SUCCEEDED); iassert(prop->dest_x == 0); iassert(prop->dest_y == 0); lyt->commit_changes(); prop = lyt->get_properties_of_layer(ivilayer); iassert(prop->dest_x == 20); iassert(prop->dest_y == 30); lyt->layer_destroy(ivilayer); } static void test_layer_destination_rectangle(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; const struct ivi_layout_layer_properties *prop; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); iassert(ivilayer != NULL); prop = lyt->get_properties_of_layer(ivilayer); iassert(prop->dest_width == 200); iassert(prop->dest_height == 300); iassert(prop->dest_x == 0); iassert(prop->dest_y == 0); iassert(lyt->layer_set_destination_rectangle( ivilayer, 20, 30, 400, 600) == IVI_SUCCEEDED); prop = lyt->get_properties_of_layer(ivilayer); iassert(prop->dest_width == 200); iassert(prop->dest_height == 300); iassert(prop->dest_x == 0); iassert(prop->dest_y == 0); lyt->commit_changes(); iassert(prop->dest_width == 400); iassert(prop->dest_height == 600); iassert(prop->dest_x == 20); iassert(prop->dest_y == 30); lyt->layer_destroy(ivilayer); } static void test_layer_source_rectangle(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; const struct ivi_layout_layer_properties *prop; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); iassert(ivilayer != NULL); prop = lyt->get_properties_of_layer(ivilayer); iassert(prop->source_width == 200); iassert(prop->source_height == 300); iassert(prop->source_x == 0); iassert(prop->source_y == 0); iassert(lyt->layer_set_source_rectangle( ivilayer, 20, 30, 400, 600) == IVI_SUCCEEDED); prop = lyt->get_properties_of_layer(ivilayer); iassert(prop->source_width == 200); iassert(prop->source_height == 300); iassert(prop->source_x == 0); iassert(prop->source_y == 0); lyt->commit_changes(); prop = lyt->get_properties_of_layer(ivilayer); iassert(prop->source_width == 400); iassert(prop->source_height == 600); iassert(prop->source_x == 20); iassert(prop->source_y == 30); lyt->layer_destroy(ivilayer); } static void test_layer_bad_remove(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; lyt->layer_destroy(NULL); } static void test_layer_bad_visibility(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; iassert(lyt->layer_set_visibility(NULL, true) == IVI_FAILED); lyt->commit_changes(); } static void test_layer_bad_opacity(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; const struct ivi_layout_layer_properties *prop; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); iassert(ivilayer != NULL); iassert(lyt->layer_set_opacity( NULL, wl_fixed_from_double(0.3)) == IVI_FAILED); iassert(lyt->layer_set_opacity( ivilayer, wl_fixed_from_double(0.3)) == IVI_SUCCEEDED); iassert(lyt->layer_set_opacity( ivilayer, wl_fixed_from_double(-1)) == IVI_FAILED); lyt->commit_changes(); prop = lyt->get_properties_of_layer(ivilayer); iassert(prop->opacity == wl_fixed_from_double(0.3)); iassert(lyt->layer_set_opacity( ivilayer, wl_fixed_from_double(1.1)) == IVI_FAILED); lyt->commit_changes(); iassert(prop->opacity == wl_fixed_from_double(0.3)); iassert(lyt->layer_set_opacity( NULL, wl_fixed_from_double(0.5)) == IVI_FAILED); lyt->commit_changes(); lyt->layer_destroy(ivilayer); } static void test_layer_bad_destination_rectangle(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; iassert(lyt->layer_set_destination_rectangle( NULL, 20, 30, 200, 300) == IVI_FAILED); } static void test_layer_bad_source_rectangle(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; iassert(lyt->layer_set_source_rectangle( NULL, 20, 30, 200, 300) == IVI_FAILED); } static void test_layer_bad_properties(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; iassert(lyt->get_properties_of_layer(NULL) == NULL); } static void test_commit_changes_after_visibility_set_layer_destroy(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); iassert(ivilayer != NULL); iassert(lyt->layer_set_visibility(ivilayer, true) == IVI_SUCCEEDED); lyt->layer_destroy(ivilayer); lyt->commit_changes(); } static void test_commit_changes_after_opacity_set_layer_destroy(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); iassert(ivilayer != NULL); iassert(lyt->layer_set_opacity( ivilayer, wl_fixed_from_double(0.5)) == IVI_SUCCEEDED); lyt->layer_destroy(ivilayer); lyt->commit_changes(); } static void test_commit_changes_after_source_rectangle_set_layer_destroy(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); iassert(ivilayer != NULL); iassert(lyt->layer_set_source_rectangle( ivilayer, 20, 30, 200, 300) == IVI_SUCCEEDED); lyt->layer_destroy(ivilayer); lyt->commit_changes(); } static void test_commit_changes_after_destination_rectangle_set_layer_destroy(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); iassert(ivilayer != NULL); iassert(lyt->layer_set_destination_rectangle( ivilayer, 20, 30, 200, 300) == IVI_SUCCEEDED); lyt->layer_destroy(ivilayer); lyt->commit_changes(); } static void test_layer_create_duplicate(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; struct ivi_layout_layer *duplicatelayer; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); iassert(ivilayer != NULL); if (ivilayer != NULL) iassert(ivilayer->ref_count == 1); duplicatelayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); iassert(ivilayer == duplicatelayer); if (ivilayer != NULL) iassert(ivilayer->ref_count == 2); lyt->layer_destroy(ivilayer); if (ivilayer != NULL) iassert(ivilayer->ref_count == 1); lyt->layer_destroy(ivilayer); } static void test_get_layer_after_destory_layer(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); iassert(ivilayer != NULL); lyt->layer_destroy(ivilayer); ivilayer = lyt->get_layer_from_id(IVI_TEST_LAYER_ID(0)); iassert(ivilayer == NULL); } static void test_screen_render_order(struct test_context *ctx) { #define LAYER_NUM (3) const struct ivi_layout_interface *lyt = ctx->layout_interface; struct weston_output *output; struct ivi_layout_layer *ivilayers[LAYER_NUM] = {}; struct ivi_layout_layer **array; int32_t length = 0; uint32_t i; if (wl_list_empty(&ctx->compositor->output_list)) return; output = wl_container_of(ctx->compositor->output_list.next, output, link); for (i = 0; i < LAYER_NUM; i++) ivilayers[i] = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(i), 200, 300); iassert(lyt->screen_set_render_order(output, ivilayers, LAYER_NUM) == IVI_SUCCEEDED); lyt->commit_changes(); iassert(lyt->get_layers_on_screen(output, &length, &array) == IVI_SUCCEEDED); iassert(length == LAYER_NUM); for (i = 0; i < LAYER_NUM; i++) iassert(array[i] == ivilayers[i]); if (length > 0) free(array); array = NULL; iassert(lyt->screen_set_render_order(output, NULL, 0) == IVI_SUCCEEDED); lyt->commit_changes(); iassert(lyt->get_layers_on_screen(output, &length, &array) == IVI_SUCCEEDED); iassert(length == 0 && array == NULL); for (i = 0; i < LAYER_NUM; i++) lyt->layer_destroy(ivilayers[i]); #undef LAYER_NUM } static void test_screen_bad_render_order(struct test_context *ctx) { #define LAYER_NUM (3) const struct ivi_layout_interface *lyt = ctx->layout_interface; struct weston_output *output; struct ivi_layout_layer *ivilayers[LAYER_NUM] = {}; struct ivi_layout_layer **array; int32_t length = 0; uint32_t i; if (wl_list_empty(&ctx->compositor->output_list)) return; output = wl_container_of(ctx->compositor->output_list.next, output, link); for (i = 0; i < LAYER_NUM; i++) ivilayers[i] = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(i), 200, 300); iassert(lyt->screen_set_render_order(NULL, ivilayers, LAYER_NUM) == IVI_FAILED); lyt->commit_changes(); iassert(lyt->get_layers_on_screen(NULL, &length, &array) == IVI_FAILED); iassert(lyt->get_layers_on_screen(output, NULL, &array) == IVI_FAILED); iassert(lyt->get_layers_on_screen(output, &length, NULL) == IVI_FAILED); for (i = 0; i < LAYER_NUM; i++) lyt->layer_destroy(ivilayers[i]); #undef LAYER_NUM } static void test_screen_add_layers(struct test_context *ctx) { #define LAYER_NUM (3) const struct ivi_layout_interface *lyt = ctx->layout_interface; struct weston_output *output; struct ivi_layout_layer *ivilayers[LAYER_NUM] = {}; struct ivi_layout_layer **array; int32_t length = 0; uint32_t i; if (wl_list_empty(&ctx->compositor->output_list)) return; output = wl_container_of(ctx->compositor->output_list.next, output, link); for (i = 0; i < LAYER_NUM; i++) { ivilayers[i] = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(i), 200, 300); iassert(lyt->screen_add_layer(output, ivilayers[i]) == IVI_SUCCEEDED); } lyt->commit_changes(); iassert(lyt->get_layers_on_screen(output, &length, &array) == IVI_SUCCEEDED); iassert(length == LAYER_NUM); for (i = 0; i < (uint32_t)length; i++) iassert(array[i] == ivilayers[i]); if (length > 0) free(array); array = NULL; iassert(lyt->screen_set_render_order(output, NULL, 0) == IVI_SUCCEEDED); for (i = LAYER_NUM; i-- > 0;) iassert(lyt->screen_add_layer(output, ivilayers[i]) == IVI_SUCCEEDED); lyt->commit_changes(); iassert(lyt->get_layers_on_screen(output, &length, &array) == IVI_SUCCEEDED); iassert(length == LAYER_NUM); for (i = 0; i < (uint32_t)length; i++) iassert(array[i] == ivilayers[LAYER_NUM - (i + 1)]); if (length > 0) free(array); for (i = 0; i < LAYER_NUM; i++) lyt->layer_destroy(ivilayers[i]); #undef LAYER_NUM } static void test_commit_changes_after_render_order_set_layer_destroy( struct test_context *ctx) { #define LAYER_NUM (3) const struct ivi_layout_interface *lyt = ctx->layout_interface; struct weston_output *output; struct ivi_layout_layer *ivilayers[LAYER_NUM] = {}; uint32_t i; if (wl_list_empty(&ctx->compositor->output_list)) return; output = wl_container_of(ctx->compositor->output_list.next, output, link); for (i = 0; i < LAYER_NUM; i++) ivilayers[i] = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(i), 200, 300); iassert(lyt->screen_set_render_order(output, ivilayers, LAYER_NUM) == IVI_SUCCEEDED); lyt->layer_destroy(ivilayers[1]); lyt->commit_changes(); lyt->layer_destroy(ivilayers[0]); lyt->layer_destroy(ivilayers[2]); #undef LAYER_NUM } static void test_layer_properties_changed_notification_callback(struct wl_listener *listener, void *data) { struct test_context *ctx = container_of(listener, struct test_context, layer_property_changed); const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer = data; const struct ivi_layout_layer_properties *prop = lyt->get_properties_of_layer(ivilayer); iassert(lyt->get_id_of_layer(ivilayer) == IVI_TEST_LAYER_ID(0)); iassert(prop->source_width == 200); iassert(prop->source_height == 300); if (lyt->get_id_of_layer(ivilayer) == IVI_TEST_LAYER_ID(0) && prop->source_width == 200 && prop->source_height == 300) ctx->user_flags = 1; } static void test_layer_properties_changed_notification(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; ctx->user_flags = 0; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); ctx->layer_property_changed.notify = test_layer_properties_changed_notification_callback; iassert(lyt->layer_add_listener(ivilayer, &ctx->layer_property_changed) == IVI_SUCCEEDED); lyt->commit_changes(); iassert(ctx->user_flags == 0); iassert(lyt->layer_set_destination_rectangle( ivilayer, 20, 30, 200, 300) == IVI_SUCCEEDED); lyt->commit_changes(); iassert(ctx->user_flags == 1); ctx->user_flags = 0; iassert(lyt->layer_set_destination_rectangle( ivilayer, 20, 30, 200, 300) == IVI_SUCCEEDED); lyt->commit_changes(); iassert(ctx->user_flags == 0); // remove layer property changed listener. wl_list_remove(&ctx->layer_property_changed.link); ctx->user_flags = 0; lyt->commit_changes(); iassert(ctx->user_flags == 0); lyt->layer_destroy(ivilayer); } static void test_layer_create_notification_callback(struct wl_listener *listener, void *data) { struct test_context *ctx = container_of(listener, struct test_context, layer_created); const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer = data; const struct ivi_layout_layer_properties *prop = lyt->get_properties_of_layer(ivilayer); iassert(lyt->get_id_of_layer(ivilayer) == IVI_TEST_LAYER_ID(0)); iassert(prop->source_width == 200); iassert(prop->source_height == 300); if (lyt->get_id_of_layer(ivilayer) == IVI_TEST_LAYER_ID(0) && prop->source_width == 200 && prop->source_height == 300) ctx->user_flags = 1; } static void test_layer_create_notification(struct test_context *ctx) { #define LAYER_NUM (2) const struct ivi_layout_interface *lyt = ctx->layout_interface; static const uint32_t layers[LAYER_NUM] = {IVI_TEST_LAYER_ID(0), IVI_TEST_LAYER_ID(1)}; struct ivi_layout_layer *ivilayers[LAYER_NUM] = {}; ctx->user_flags = 0; ctx->layer_created.notify = test_layer_create_notification_callback; iassert(lyt->add_listener_create_layer(&ctx->layer_created) == IVI_SUCCEEDED); ivilayers[0] = lyt->layer_create_with_dimension(layers[0], 200, 300); iassert(ctx->user_flags == 1); ctx->user_flags = 0; // remove layer created listener. wl_list_remove(&ctx->layer_created.link); ivilayers[1] = lyt->layer_create_with_dimension(layers[1], 400, 500); iassert(ctx->user_flags == 0); lyt->layer_destroy(ivilayers[0]); lyt->layer_destroy(ivilayers[1]); #undef LAYER_NUM } static void test_layer_remove_notification_callback(struct wl_listener *listener, void *data) { struct test_context *ctx = container_of(listener, struct test_context, layer_removed); const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer = data; const struct ivi_layout_layer_properties *prop = lyt->get_properties_of_layer(ivilayer); iassert(lyt->get_id_of_layer(ivilayer) == IVI_TEST_LAYER_ID(0)); iassert(prop->source_width == 200); iassert(prop->source_height == 300); if (lyt->get_id_of_layer(ivilayer) == IVI_TEST_LAYER_ID(0) && prop->source_width == 200 && prop->source_height == 300) ctx->user_flags = 1; } static void test_layer_remove_notification(struct test_context *ctx) { #define LAYER_NUM (2) const struct ivi_layout_interface *lyt = ctx->layout_interface; static const uint32_t layers[LAYER_NUM] = {IVI_TEST_LAYER_ID(0), IVI_TEST_LAYER_ID(1)}; struct ivi_layout_layer *ivilayers[LAYER_NUM] = {}; ctx->user_flags = 0; ctx->layer_removed.notify = test_layer_remove_notification_callback; ivilayers[0] = lyt->layer_create_with_dimension(layers[0], 200, 300); iassert(lyt->add_listener_remove_layer(&ctx->layer_removed) == IVI_SUCCEEDED); lyt->layer_destroy(ivilayers[0]); iassert(ctx->user_flags == 1); ctx->user_flags = 0; ivilayers[1] = lyt->layer_create_with_dimension(layers[1], 250, 350); // remove layer property changed listener. wl_list_remove(&ctx->layer_removed.link); lyt->layer_destroy(ivilayers[1]); iassert(ctx->user_flags == 0); #undef LAYER_NUM } static void test_layer_bad_properties_changed_notification_callback(struct wl_listener *listener, void *data) { } static void test_layer_bad_properties_changed_notification(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; struct ivi_layout_layer *ivilayer; ivilayer = lyt->layer_create_with_dimension(IVI_TEST_LAYER_ID(0), 200, 300); ctx->layer_property_changed.notify = test_layer_bad_properties_changed_notification_callback; iassert(lyt->layer_add_listener(NULL, &ctx->layer_property_changed) == IVI_FAILED); iassert(lyt->layer_add_listener(ivilayer, NULL) == IVI_FAILED); lyt->layer_destroy(ivilayer); } static void test_surface_bad_configure_notification(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; iassert(lyt->add_listener_configure_surface(NULL) == IVI_FAILED); } static void test_layer_bad_create_notification(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; iassert(lyt->add_listener_create_layer(NULL) == IVI_FAILED); } static void test_surface_bad_create_notification(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; iassert(lyt->add_listener_create_surface(NULL) == IVI_FAILED); } static void test_layer_bad_remove_notification(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; iassert(lyt->add_listener_remove_layer(NULL) == IVI_FAILED); } static void test_surface_bad_remove_notification(struct test_context *ctx) { const struct ivi_layout_interface *lyt = ctx->layout_interface; iassert(lyt->add_listener_remove_surface(NULL) == IVI_FAILED); } /************************ tests end ********************************/ static void run_internal_tests(void *data) { struct test_context *ctx = data; test_surface_bad_visibility(ctx); test_surface_bad_destination_rectangle(ctx); test_surface_bad_source_rectangle(ctx); test_surface_bad_properties(ctx); test_layer_create(ctx); test_layer_visibility(ctx); test_layer_opacity(ctx); test_layer_dimension(ctx); test_layer_position(ctx); test_layer_destination_rectangle(ctx); test_layer_source_rectangle(ctx); test_layer_bad_remove(ctx); test_layer_bad_visibility(ctx); test_layer_bad_opacity(ctx); test_layer_bad_destination_rectangle(ctx); test_layer_bad_source_rectangle(ctx); test_layer_bad_properties(ctx); test_commit_changes_after_visibility_set_layer_destroy(ctx); test_commit_changes_after_opacity_set_layer_destroy(ctx); test_commit_changes_after_source_rectangle_set_layer_destroy(ctx); test_commit_changes_after_destination_rectangle_set_layer_destroy(ctx); test_layer_create_duplicate(ctx); test_get_layer_after_destory_layer(ctx); test_screen_render_order(ctx); test_screen_bad_render_order(ctx); test_screen_add_layers(ctx); test_commit_changes_after_render_order_set_layer_destroy(ctx); test_layer_properties_changed_notification(ctx); test_layer_create_notification(ctx); test_layer_remove_notification(ctx); test_layer_bad_properties_changed_notification(ctx); test_surface_bad_configure_notification(ctx); test_layer_bad_create_notification(ctx); test_surface_bad_create_notification(ctx); test_layer_bad_remove_notification(ctx); test_surface_bad_remove_notification(ctx); weston_compositor_exit_with_code(ctx->compositor, EXIT_SUCCESS); free(ctx); } int controller_module_init(struct weston_compositor *compositor, int *argc, char *argv[], const struct ivi_layout_interface *iface, size_t iface_version); WL_EXPORT int controller_module_init(struct weston_compositor *compositor, int *argc, char *argv[], const struct ivi_layout_interface *iface, size_t iface_version) { struct wl_event_loop *loop; struct test_context *ctx; /* strict check, since this is an internal test module */ if (iface_version != sizeof(*iface)) { weston_log("fatal: controller interface mismatch\n"); return -1; } ctx = zalloc(sizeof(*ctx)); if (!ctx) return -1; ctx->compositor = compositor; ctx->layout_interface = iface; loop = wl_display_get_event_loop(compositor->wl_display); wl_event_loop_add_idle(loop, run_internal_tests, ctx); return 0; } weston-3.0.0/tests/weston-test-client-helper.h0000664000175000017500000001151113142404577016322 00000000000000/* * Copyright © 2012 Intel Corporation * * 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 (including the * next paragraph) 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. */ #ifndef _WESTON_TEST_CLIENT_HELPER_H_ #define _WESTON_TEST_CLIENT_HELPER_H_ #include "config.h" #include #include #include #include #include #include "weston-test-runner.h" #include "weston-test-client-protocol.h" struct client { struct wl_display *wl_display; struct wl_registry *wl_registry; struct wl_compositor *wl_compositor; struct wl_shm *wl_shm; struct test *test; /* the seat that is actually used for input events */ struct input *input; /* server can have more wl_seats. We need keep them all until we * find the one that we need. After that, the others * will be destroyed, so this list will have the length of 1. * If some day in the future we will need the other seats, * we can just keep them here. */ struct wl_list inputs; struct output *output; struct surface *surface; int has_argb; struct wl_list global_list; bool has_wl_drm; }; struct global { uint32_t name; char *interface; uint32_t version; struct wl_list link; }; struct test { struct weston_test *weston_test; int pointer_x; int pointer_y; uint32_t n_egl_buffers; int buffer_copy_done; }; struct input { struct wl_seat *wl_seat; struct pointer *pointer; struct keyboard *keyboard; struct touch *touch; char *seat_name; enum wl_seat_capability caps; struct wl_list link; }; struct pointer { struct wl_pointer *wl_pointer; struct surface *focus; int x; int y; uint32_t button; uint32_t state; }; struct keyboard { struct wl_keyboard *wl_keyboard; struct surface *focus; uint32_t key; uint32_t state; uint32_t mods_depressed; uint32_t mods_latched; uint32_t mods_locked; uint32_t group; struct { int rate; int delay; } repeat_info; }; struct touch { struct wl_touch *wl_touch; int down_x; int down_y; int x; int y; int id; int up_id; /* id of last wl_touch.up event */ int frame_no; int cancel_no; }; struct output { struct wl_output *wl_output; int x; int y; int width; int height; int scale; int initialized; }; struct buffer { struct wl_buffer *proxy; size_t len; pixman_image_t *image; }; struct surface { struct wl_surface *wl_surface; struct output *output; int x; int y; int width; int height; struct buffer *buffer; }; struct rectangle { int x; int y; int width; int height; }; struct client * create_client(void); struct client * create_client_and_test_surface(int x, int y, int width, int height); struct buffer * create_shm_buffer_a8r8g8b8(struct client *client, int width, int height); void buffer_destroy(struct buffer *buf); int surface_contains(struct surface *surface, int x, int y); void move_client(struct client *client, int x, int y); #define client_roundtrip(c) do { \ assert(wl_display_roundtrip((c)->wl_display) >= 0); \ } while (0) struct wl_callback * frame_callback_set(struct wl_surface *surface, int *done); int frame_callback_wait_nofail(struct client *client, int *done); #define frame_callback_wait(c, d) assert(frame_callback_wait_nofail((c), (d))) void skip(const char *fmt, ...); void expect_protocol_error(struct client *client, const struct wl_interface *intf, uint32_t code); char * screenshot_output_filename(const char *basename, uint32_t seq); char * screenshot_reference_filename(const char *basename, uint32_t seq); bool check_images_match(pixman_image_t *img_a, pixman_image_t *img_b, const struct rectangle *clip); pixman_image_t * visualize_image_difference(pixman_image_t *img_a, pixman_image_t *img_b, const struct rectangle *clip_rect); bool write_image_as_png(pixman_image_t *image, const char *fname); pixman_image_t * load_image_from_png(const char *fname); struct buffer * capture_screenshot_of_output(struct client *client); #endif weston-3.0.0/tests/surface-screenshot.c0000664000175000017500000001220713142404577015076 00000000000000/* * Copyright © 2015 Collabora, Ltd. * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include #include #include "compositor.h" #include "compositor/weston.h" #include "file-util.h" static char * encode_PAM_comment_line(const char *comment) { size_t len = strlen(comment); char *str = malloc(len + 2); char *dst = str; const char *src = comment; const char *end = src + len; *dst++ = '#'; *dst++ = ' '; for (; src < end; src++, dst++) { if (*src == '\n' || !isprint(*src)) *dst = '_'; else *dst = *src; } return str; } /* * PAM image format: * http://en.wikipedia.org/wiki/Netpbm#PAM_graphics_format * RGBA is in byte address order. * * ImageMagick 'convert' can convert a PAM image to a more common format. * To view the image metadata: $ head -n7 image.pam */ static int write_PAM_image_rgba(FILE *fp, int width, int height, void *pixels, size_t size, const char *comment) { char *str; int ret; assert(size == (size_t)4 * width * height); ret = fprintf(fp, "P7\nWIDTH %d\nHEIGHT %d\nDEPTH 4\nMAXVAL 255\n" "TUPLTYPE RGB_ALPHA\n", width, height); if (ret < 0) return -1; if (comment) { str = encode_PAM_comment_line(comment); ret = fprintf(fp, "%s\n", str); free(str); if (ret < 0) return -1; } ret = fprintf(fp, "ENDHDR\n"); if (ret < 0) return -1; if (fwrite(pixels, 1, size, fp) != size) return -1; if (ferror(fp)) return -1; return 0; } static uint32_t unmult(uint32_t c, uint32_t a) { return (c * 255 + a / 2) / a; } static void unpremultiply_and_swap_a8b8g8r8_to_PAMrgba(void *pixels, size_t size) { uint32_t *p = pixels; uint32_t *end; for (end = p + size / 4; p < end; p++) { uint32_t v = *p; uint32_t a; a = (v & 0xff000000) >> 24; if (a == 0) { *p = 0; } else { uint8_t *dst = (uint8_t *)p; dst[0] = unmult((v & 0x000000ff) >> 0, a); dst[1] = unmult((v & 0x0000ff00) >> 8, a); dst[2] = unmult((v & 0x00ff0000) >> 16, a); dst[3] = a; } } } static void trigger_binding(struct weston_keyboard *keyboard, uint32_t time, uint32_t key, void *data) { const char *prefix = "surfaceshot-"; const char *suffix = ".pam"; char fname[1024]; struct weston_surface *surface; struct weston_seat *seat = keyboard->seat; struct weston_pointer *pointer = weston_seat_get_pointer(seat); int width, height; char desc[512]; void *pixels; const size_t bytespp = 4; /* PIXMAN_a8b8g8r8 */ size_t sz; int ret; FILE *fp; if (!pointer || !pointer->focus) return; surface = pointer->focus->surface; weston_surface_get_content_size(surface, &width, &height); if (!surface->get_label || surface->get_label(surface, desc, sizeof(desc)) < 0) snprintf(desc, sizeof(desc), "(unknown)"); weston_log("surface screenshot of %p: '%s', %dx%d\n", surface, desc, width, height); sz = width * bytespp * height; if (sz == 0) { weston_log("no content for %p\n", surface); return; } pixels = malloc(sz); if (!pixels) { weston_log("%s: failed to malloc %zu B\n", __func__, sz); return; } ret = weston_surface_copy_content(surface, pixels, sz, 0, 0, width, height); if (ret < 0) { weston_log("shooting surface %p failed\n", surface); goto out; } unpremultiply_and_swap_a8b8g8r8_to_PAMrgba(pixels, sz); fp = file_create_dated(prefix, suffix, fname, sizeof(fname)); if (!fp) { const char *msg; switch (errno) { case ETIME: msg = "failure in datetime formatting"; break; default: msg = strerror(errno); } weston_log("Cannot open '%s*%s' for writing: %s\n", prefix, suffix, msg); goto out; } ret = write_PAM_image_rgba(fp, width, height, pixels, sz, desc); if (fclose(fp) != 0 || ret < 0) weston_log("writing surface %p screenshot failed.\n", surface); else weston_log("successfully shot surface %p into '%s'\n", surface, fname); out: free(pixels); } WL_EXPORT int wet_module_init(struct weston_compositor *ec, int *argc, char *argv[]) { weston_compositor_add_debug_binding(ec, KEY_H, trigger_binding, ec); return 0; } weston-3.0.0/tests/weston-test-desktop-shell.c0000664000175000017500000001516113142404577016345 00000000000000/* * Copyright © 2010-2012 Intel Corporation * Copyright © 2011-2012 Collabora, Ltd. * Copyright © 2013 Raspberry Pi Foundation * * 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 (including the next * paragraph) 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. */ #include "config.h" #include #include #include #include #include #include #include #include #include #include #include "compositor/weston.h" #include "shared/config-parser.h" #include "shared/helpers.h" #include "libweston-desktop/libweston-desktop.h" #ifndef static_assert #define static_assert(cond, msg) #endif struct desktest_shell { struct wl_listener compositor_destroy_listener; struct weston_desktop *desktop; struct weston_layer background_layer; struct weston_surface *background_surface; struct weston_view *background_view; struct weston_layer layer; struct weston_view *view; }; static void desktop_surface_added(struct weston_desktop_surface *desktop_surface, void *shell) { struct desktest_shell *dts = shell; assert(!dts->view); dts->view = weston_desktop_surface_create_view(desktop_surface); assert(dts->view); } static void desktop_surface_removed(struct weston_desktop_surface *desktop_surface, void *shell) { struct desktest_shell *dts = shell; assert(dts->view); weston_desktop_surface_unlink_view(dts->view); weston_view_destroy(dts->view); dts->view = NULL; } static void desktop_surface_committed(struct weston_desktop_surface *desktop_surface, int32_t sx, int32_t sy, void *shell) { struct desktest_shell *dts = shell; struct weston_surface *surface = weston_desktop_surface_get_surface(desktop_surface); struct weston_geometry geometry = weston_desktop_surface_get_geometry(desktop_surface); assert(dts->view); if (weston_surface_is_mapped(surface)) return; surface->is_mapped = true; weston_layer_entry_insert(&dts->layer.view_list, &dts->view->layer_link); weston_view_set_position(dts->view, 0 - geometry.x, 0 - geometry.y); weston_view_update_transform(dts->view); dts->view->is_mapped = true; } static void desktop_surface_move(struct weston_desktop_surface *desktop_surface, struct weston_seat *seat, uint32_t serial, void *shell) { } static void desktop_surface_resize(struct weston_desktop_surface *desktop_surface, struct weston_seat *seat, uint32_t serial, enum weston_desktop_surface_edge edges, void *shell) { } static void desktop_surface_fullscreen_requested(struct weston_desktop_surface *desktop_surface, bool fullscreen, struct weston_output *output, void *shell) { } static void desktop_surface_maximized_requested(struct weston_desktop_surface *desktop_surface, bool maximized, void *shell) { } static void desktop_surface_minimized_requested(struct weston_desktop_surface *desktop_surface, void *shell) { } static void desktop_surface_ping_timeout(struct weston_desktop_client *desktop_client, void *shell) { } static void desktop_surface_pong(struct weston_desktop_client *desktop_client, void *shell) { } static const struct weston_desktop_api shell_desktop_api = { .struct_size = sizeof(struct weston_desktop_api), .surface_added = desktop_surface_added, .surface_removed = desktop_surface_removed, .committed = desktop_surface_committed, .move = desktop_surface_move, .resize = desktop_surface_resize, .fullscreen_requested = desktop_surface_fullscreen_requested, .maximized_requested = desktop_surface_maximized_requested, .minimized_requested = desktop_surface_minimized_requested, .ping_timeout = desktop_surface_ping_timeout, .pong = desktop_surface_pong, }; static void shell_destroy(struct wl_listener *listener, void *data) { struct desktest_shell *dts; dts = container_of(listener, struct desktest_shell, compositor_destroy_listener); weston_desktop_destroy(dts->desktop); weston_view_destroy(dts->background_view); weston_surface_destroy(dts->background_surface); free(dts); } WL_EXPORT int wet_shell_init(struct weston_compositor *ec, int *argc, char *argv[]) { struct desktest_shell *dts; dts = zalloc(sizeof *dts); if (!dts) return -1; dts->compositor_destroy_listener.notify = shell_destroy; wl_signal_add(&ec->destroy_signal, &dts->compositor_destroy_listener); weston_layer_init(&dts->layer, ec); weston_layer_init(&dts->background_layer, ec); weston_layer_set_position(&dts->layer, WESTON_LAYER_POSITION_NORMAL); weston_layer_set_position(&dts->background_layer, WESTON_LAYER_POSITION_BACKGROUND); dts->background_surface = weston_surface_create(ec); if (dts->background_surface == NULL) goto out_free; dts->background_view = weston_view_create(dts->background_surface); if (dts->background_view == NULL) goto out_surface; weston_surface_set_color(dts->background_surface, 0.16, 0.32, 0.48, 1.); pixman_region32_fini(&dts->background_surface->opaque); pixman_region32_init_rect(&dts->background_surface->opaque, 0, 0, 2000, 2000); pixman_region32_fini(&dts->background_surface->input); pixman_region32_init_rect(&dts->background_surface->input, 0, 0, 2000, 2000); weston_surface_set_size(dts->background_surface, 2000, 2000); weston_view_set_position(dts->background_view, 0, 0); weston_layer_entry_insert(&dts->background_layer.view_list, &dts->background_view->layer_link); weston_view_update_transform(dts->background_view); dts->desktop = weston_desktop_create(ec, &shell_desktop_api, dts); if (dts->desktop == NULL) goto out_view; return 0; out_view: weston_view_destroy(dts->background_view); out_surface: weston_surface_destroy(dts->background_surface); out_free: free(dts); return -1; } weston-3.0.0/tests/weston-test-runner.h0000664000175000017500000000552513142404577015110 00000000000000/* * Copyright © 2012 Intel Corporation * Copyright © 2013 Sam Spilsbury * * 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 (including the * next paragraph) 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. */ #ifndef _WESTON_TEST_RUNNER_H_ #define _WESTON_TEST_RUNNER_H_ #include "config.h" #include #include "shared/helpers.h" #ifdef NDEBUG #error "Tests must not be built with NDEBUG defined, they rely on assert()." #endif struct weston_test { const char *name; void (*run)(void *); const void *table_data; size_t element_size; int n_elements; int must_fail; } __attribute__ ((aligned (32))); #define TEST_BEGIN(name, arg) \ static void name(arg) #define TEST_COMMON(func, name, ret, data, size, n_elem) \ static void func(void *); \ \ const struct weston_test test##name \ __attribute__ ((section ("test_section"))) = \ { \ #name, func, data, size, n_elem, ret \ }; #define NO_ARG_TEST(name, ret) \ TEST_COMMON(wrap##name, name, ret, NULL, 0, 1) \ static void name(void); \ static void wrap##name(void *data) \ { \ (void) data; \ name(); \ } \ \ TEST_BEGIN(name, void) #define ARG_TEST(name, ret, test_data) \ TEST_COMMON(name, name, ret, test_data, \ sizeof(test_data[0]), \ ARRAY_LENGTH(test_data)) \ TEST_BEGIN(name, void *data) \ #define TEST(name) NO_ARG_TEST(name, 0) #define FAIL_TEST(name) NO_ARG_TEST(name, 1) #define TEST_P(name, data) ARG_TEST(name, 0, data) #define FAIL_TEST_P(name, data) ARG_TEST(name, 1, data) /** * Get the test name string with counter * * \return The test name. For an iterated test, e.g. defined with TEST_P(), * the name has a '[%d]' suffix to indicate the iteration. * * This is only usable from code paths inside TEST(), TEST_P(), etc. * defined functions. */ const char * get_test_name(void); #endif weston-3.0.0/tests/presentation-test.c0000664000175000017500000001333313142404577014764 00000000000000/* * Copyright © 2014 Collabora, Ltd. * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include #include "shared/helpers.h" #include "shared/xalloc.h" #include "weston-test-client-helper.h" #include "presentation-time-client-protocol.h" static struct wp_presentation * get_presentation(struct client *client) { struct global *g; struct global *global_pres = NULL; static struct wp_presentation *pres; if (pres) return pres; wl_list_for_each(g, &client->global_list, link) { if (strcmp(g->interface, wp_presentation_interface.name)) continue; if (global_pres) assert(0 && "multiple presentation objects"); global_pres = g; } assert(global_pres && "no presentation found"); assert(global_pres->version == 1); pres = wl_registry_bind(client->wl_registry, global_pres->name, &wp_presentation_interface, 1); assert(pres); return pres; } struct feedback { struct client *client; struct wp_presentation_feedback *obj; enum { FB_PENDING = 0, FB_PRESENTED, FB_DISCARDED } result; struct wl_output *sync_output; uint64_t seq; struct timespec time; uint32_t refresh_nsec; uint32_t flags; }; static void timespec_from_proto(struct timespec *tm, uint32_t tv_sec_hi, uint32_t tv_sec_lo, uint32_t tv_nsec) { tm->tv_sec = ((uint64_t)tv_sec_hi << 32) + tv_sec_lo; tm->tv_nsec = tv_nsec; } static void feedback_sync_output(void *data, struct wp_presentation_feedback *presentation_feedback, struct wl_output *output) { struct feedback *fb = data; assert(fb->result == FB_PENDING); if (output) fb->sync_output = output; } static void feedback_presented(void *data, struct wp_presentation_feedback *presentation_feedback, uint32_t tv_sec_hi, uint32_t tv_sec_lo, uint32_t tv_nsec, uint32_t refresh_nsec, uint32_t seq_hi, uint32_t seq_lo, uint32_t flags) { struct feedback *fb = data; assert(fb->result == FB_PENDING); fb->result = FB_PRESENTED; fb->seq = ((uint64_t)seq_hi << 32) + seq_lo; timespec_from_proto(&fb->time, tv_sec_hi, tv_sec_lo, tv_nsec); fb->refresh_nsec = refresh_nsec; fb->flags = flags; } static void feedback_discarded(void *data, struct wp_presentation_feedback *presentation_feedback) { struct feedback *fb = data; assert(fb->result == FB_PENDING); fb->result = FB_DISCARDED; } static const struct wp_presentation_feedback_listener feedback_listener = { feedback_sync_output, feedback_presented, feedback_discarded }; static struct feedback * feedback_create(struct client *client, struct wl_surface *surface) { struct feedback *fb; fb = xzalloc(sizeof *fb); fb->client = client; fb->obj = wp_presentation_feedback(get_presentation(client), surface); wp_presentation_feedback_add_listener(fb->obj, &feedback_listener, fb); return fb; } static void feedback_wait(struct feedback *fb) { while (fb->result == FB_PENDING) { assert(wl_display_dispatch(fb->client->wl_display) >= 0); } } static char * pflags_to_str(uint32_t flags, char *str, unsigned len) { static const struct { uint32_t flag; char sym; } desc[] = { { WP_PRESENTATION_FEEDBACK_KIND_VSYNC, 's' }, { WP_PRESENTATION_FEEDBACK_KIND_HW_CLOCK, 'c' }, { WP_PRESENTATION_FEEDBACK_KIND_HW_COMPLETION, 'e' }, { WP_PRESENTATION_FEEDBACK_KIND_ZERO_COPY, 'z' }, }; unsigned i; *str = '\0'; if (len < ARRAY_LENGTH(desc) + 1) return str; for (i = 0; i < ARRAY_LENGTH(desc); i++) str[i] = flags & desc[i].flag ? desc[i].sym : '_'; str[ARRAY_LENGTH(desc)] = '\0'; return str; } static void feedback_print(struct feedback *fb) { char str[10]; switch (fb->result) { case FB_PENDING: printf("pending"); return; case FB_DISCARDED: printf("discarded"); return; case FB_PRESENTED: break; } pflags_to_str(fb->flags, str, sizeof str); printf("presented %lld.%09lld, refresh %u us, [%s] seq %" PRIu64, (long long)fb->time.tv_sec, (long long)fb->time.tv_nsec, fb->refresh_nsec / 1000, str, fb->seq); } static void feedback_destroy(struct feedback *fb) { wp_presentation_feedback_destroy(fb->obj); free(fb); } TEST(test_presentation_feedback_simple) { struct client *client; struct feedback *fb; client = create_client_and_test_surface(100, 50, 123, 77); assert(client); wl_surface_attach(client->surface->wl_surface, client->surface->buffer->proxy, 0, 0); fb = feedback_create(client, client->surface->wl_surface); wl_surface_damage(client->surface->wl_surface, 0, 0, 100, 100); wl_surface_commit(client->surface->wl_surface); client_roundtrip(client); feedback_wait(fb); printf("%s feedback:", __func__); feedback_print(fb); printf("\n"); feedback_destroy(fb); } weston-3.0.0/tests/devices-test.c0000664000175000017500000002331113142404577013670 00000000000000/* * Copyright © 2015 Red Hat, Inc. * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include "weston-test-client-helper.h" /** * Test (un)plugging devices * * At the end of each test we must return Weston to the previous state * (add all removed devices and remove extra devices), so that * the environment is prepared for the other tests too */ #define WL_SEAT_CAPABILITY_ALL (WL_SEAT_CAPABILITY_KEYBOARD |\ WL_SEAT_CAPABILITY_POINTER |\ WL_SEAT_CAPABILITY_TOUCH) /* simply test if weston sends the right capabilities when * some devices are removed */ TEST(seat_capabilities_test) { struct client *cl = create_client_and_test_surface(100, 100, 100, 100); assert(cl->input->caps == WL_SEAT_CAPABILITY_ALL); assert(cl->input->pointer); weston_test_device_release(cl->test->weston_test, "pointer"); client_roundtrip(cl); assert(!cl->input->pointer); assert(!(cl->input->caps & WL_SEAT_CAPABILITY_POINTER)); assert(cl->input->keyboard); weston_test_device_release(cl->test->weston_test, "keyboard"); client_roundtrip(cl); assert(!cl->input->keyboard); assert(!(cl->input->caps & WL_SEAT_CAPABILITY_KEYBOARD)); assert(cl->input->touch); weston_test_device_release(cl->test->weston_test, "touch"); client_roundtrip(cl); assert(!cl->input->touch); assert(!(cl->input->caps & WL_SEAT_CAPABILITY_TOUCH)); /* restore previous state */ weston_test_device_add(cl->test->weston_test, "keyboard"); weston_test_device_add(cl->test->weston_test, "pointer"); weston_test_device_add(cl->test->weston_test, "touch"); client_roundtrip(cl); assert(cl->input->pointer); assert(cl->input->keyboard); assert(cl->input->touch); /* add extra devices */ weston_test_device_add(cl->test->weston_test, "keyboard"); weston_test_device_add(cl->test->weston_test, "pointer"); weston_test_device_add(cl->test->weston_test, "touch"); client_roundtrip(cl); /* remove extra devices */ weston_test_device_release(cl->test->weston_test, "keyboard"); weston_test_device_release(cl->test->weston_test, "pointer"); weston_test_device_release(cl->test->weston_test, "touch"); client_roundtrip(cl); /* we still should have all the capabilities, since the devices * were doubled */ assert(cl->input->caps == WL_SEAT_CAPABILITY_ALL); assert(cl->input->pointer); assert(cl->input->keyboard); assert(cl->input->touch); } #define COUNT 15 TEST(multiple_device_add_and_remove) { int i; struct client *cl = create_client_and_test_surface(100, 100, 100, 100); /* add device a lot of times */ for (i = 0; i < COUNT; ++i) { weston_test_device_add(cl->test->weston_test, "keyboard"); weston_test_device_add(cl->test->weston_test, "pointer"); weston_test_device_add(cl->test->weston_test, "touch"); } client_roundtrip(cl); assert(cl->input->pointer); assert(cl->input->keyboard); assert(cl->input->touch); assert(cl->input->caps == WL_SEAT_CAPABILITY_ALL); /* release all new devices */ for (i = 0; i < COUNT; ++i) { weston_test_device_release(cl->test->weston_test, "keyboard"); weston_test_device_release(cl->test->weston_test, "pointer"); weston_test_device_release(cl->test->weston_test, "touch"); } client_roundtrip(cl); /* there is still one from each device left */ assert(cl->input->caps == WL_SEAT_CAPABILITY_ALL); assert(cl->input->pointer); assert(cl->input->keyboard); assert(cl->input->touch); } TEST(device_release_before_destroy) { struct client *cl = create_client_and_test_surface(100, 100, 100, 100); /* we can release pointer when we won't be using it anymore. * Do it and see what happens if the device is destroyed * right after that */ wl_pointer_release(cl->input->pointer->wl_pointer); /* we must free and set to NULL the structures, otherwise * seat capabilities will double-free them */ free(cl->input->pointer); cl->input->pointer = NULL; wl_keyboard_release(cl->input->keyboard->wl_keyboard); free(cl->input->keyboard); cl->input->keyboard = NULL; wl_touch_release(cl->input->touch->wl_touch); free(cl->input->touch); cl->input->touch = NULL; weston_test_device_release(cl->test->weston_test, "pointer"); weston_test_device_release(cl->test->weston_test, "keyboard"); weston_test_device_release(cl->test->weston_test, "touch"); client_roundtrip(cl); assert(cl->input->caps == 0); /* restore previous state */ weston_test_device_add(cl->test->weston_test, "pointer"); weston_test_device_add(cl->test->weston_test, "keyboard"); weston_test_device_add(cl->test->weston_test, "touch"); client_roundtrip(cl); assert(cl->input->caps == WL_SEAT_CAPABILITY_ALL); } TEST(device_release_before_destroy_multiple) { int i; /* if weston crashed during this test, then there is * some inconsistency */ for (i = 0; i < 30; ++i) { /* Fifty times run the previous test. This will create * fifty clients, because we don't have any * way how to destroy them (worth of adding!). Only one * client will run at a time though and so should have no * effect on the result of the test (after the client * finishes its body, it just 'is' and does nothing). */ device_release_before_destroy(); } } /* normal work-flow test */ TEST(device_release_after_destroy) { struct client *cl = create_client_and_test_surface(100, 100, 100, 100); weston_test_device_release(cl->test->weston_test, "pointer"); wl_pointer_release(cl->input->pointer->wl_pointer); /* we must free the memory manually, otherwise seat.capabilities * will try to free it and will use invalid proxy */ free(cl->input->pointer); cl->input->pointer = NULL; client_roundtrip(cl); weston_test_device_release(cl->test->weston_test, "keyboard"); wl_keyboard_release(cl->input->keyboard->wl_keyboard); free(cl->input->keyboard); cl->input->keyboard = NULL; client_roundtrip(cl); weston_test_device_release(cl->test->weston_test, "touch"); wl_touch_release(cl->input->touch->wl_touch); free(cl->input->touch); cl->input->touch = NULL; client_roundtrip(cl); assert(cl->input->caps == 0); /* restore previous state */ weston_test_device_add(cl->test->weston_test, "pointer"); weston_test_device_add(cl->test->weston_test, "keyboard"); weston_test_device_add(cl->test->weston_test, "touch"); client_roundtrip(cl); assert(cl->input->caps == WL_SEAT_CAPABILITY_ALL); } TEST(device_release_after_destroy_multiple) { int i; /* if weston crashed during this test, then there is * some inconsistency */ for (i = 0; i < 30; ++i) { device_release_after_destroy(); } } /* see https://bugzilla.gnome.org/show_bug.cgi?id=745008 * It is a mutter bug, but highly relevant. Weston does not * suffer from this bug atm, but it is worth of testing. */ TEST(get_device_after_destroy) { struct client *cl = create_client_and_test_surface(100, 100, 100, 100); struct wl_pointer *wl_pointer; struct wl_keyboard *wl_keyboard; struct wl_touch *wl_touch; /* There's a race: * 1) compositor destroys device * 2) client asks for the device, because it has not received * the new capabilities yet * 3) compositor gets the request with a new_id for the * destroyed device * 4) client uses the new_id * 5) client gets new capabilities, destroying the objects * * If the compositor just bails out in step 3) and does not * create the resource, then the client gets an error in step 4) * - even though it followed the protocol (it just didn't know * about new capabilities). * * This test simulates this situation */ /* connection is buffered, so after calling client_roundtrip(), * this whole batch will be delivered to compositor and will * exactly simulate our situation */ weston_test_device_release(cl->test->weston_test, "pointer"); wl_pointer = wl_seat_get_pointer(cl->input->wl_seat); assert(wl_pointer); /* this should be ignored */ wl_pointer_set_cursor(wl_pointer, 0, NULL, 0, 0); /* this should not be ignored */ wl_pointer_release(wl_pointer); client_roundtrip(cl); weston_test_device_release(cl->test->weston_test, "keyboard"); wl_keyboard = wl_seat_get_keyboard(cl->input->wl_seat); assert(wl_keyboard); wl_keyboard_release(wl_keyboard); client_roundtrip(cl); weston_test_device_release(cl->test->weston_test, "touch"); wl_touch = wl_seat_get_touch(cl->input->wl_seat); assert(wl_touch); wl_touch_release(wl_touch); client_roundtrip(cl); /* get weston to the previous state */ weston_test_device_add(cl->test->weston_test, "pointer"); weston_test_device_add(cl->test->weston_test, "keyboard"); weston_test_device_add(cl->test->weston_test, "touch"); client_roundtrip(cl); assert(cl->input->caps == WL_SEAT_CAPABILITY_ALL); } TEST(get_device_after_destroy_multiple) { int i; /* if weston crashed during this test, then there is * some inconsistency */ for (i = 0; i < 30; ++i) { get_device_after_destroy(); } } weston-3.0.0/tests/vertex-clip-test.c0000664000175000017500000001442613142404577014517 00000000000000/* * Copyright © 2013 Sam Spilsbury * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include "weston-test-runner.h" #include "shared/helpers.h" #include "vertex-clipping.h" #define BOUNDING_BOX_TOP_Y 100.0f #define BOUNDING_BOX_LEFT_X 50.0f #define BOUNDING_BOX_RIGHT_X 100.0f #define BOUNDING_BOX_BOTTOM_Y 50.0f #define INSIDE_X1 (BOUNDING_BOX_LEFT_X + 1.0f) #define INSIDE_X2 (BOUNDING_BOX_RIGHT_X - 1.0f) #define INSIDE_Y1 (BOUNDING_BOX_BOTTOM_Y + 1.0f) #define INSIDE_Y2 (BOUNDING_BOX_TOP_Y - 1.0f) #define OUTSIDE_X1 (BOUNDING_BOX_LEFT_X - 1.0f) #define OUTSIDE_X2 (BOUNDING_BOX_RIGHT_X + 1.0f) #define OUTSIDE_Y1 (BOUNDING_BOX_BOTTOM_Y - 1.0f) #define OUTSIDE_Y2 (BOUNDING_BOX_TOP_Y + 1.0f) static void populate_clip_context (struct clip_context *ctx) { ctx->clip.x1 = BOUNDING_BOX_LEFT_X; ctx->clip.y1 = BOUNDING_BOX_BOTTOM_Y; ctx->clip.x2 = BOUNDING_BOX_RIGHT_X; ctx->clip.y2 = BOUNDING_BOX_TOP_Y; } static int clip_polygon (struct clip_context *ctx, struct polygon8 *polygon, float *vertices_x, float *vertices_y) { populate_clip_context(ctx); return clip_transformed(ctx, polygon, vertices_x, vertices_y); } struct vertex_clip_test_data { struct polygon8 surface; struct polygon8 expected; }; const struct vertex_clip_test_data test_data[] = { /* All inside */ { { { INSIDE_X1, INSIDE_X2, INSIDE_X2, INSIDE_X1 }, { INSIDE_Y1, INSIDE_Y1, INSIDE_Y2, INSIDE_Y2 }, 4 }, { { INSIDE_X1, INSIDE_X2, INSIDE_X2, INSIDE_X1 }, { INSIDE_Y1, INSIDE_Y1, INSIDE_Y2, INSIDE_Y2 }, 4 } }, /* Top outside */ { { { INSIDE_X1, INSIDE_X2, INSIDE_X2, INSIDE_X1 }, { INSIDE_Y1, INSIDE_Y1, OUTSIDE_Y2, OUTSIDE_Y2 }, 4 }, { { INSIDE_X1, INSIDE_X1, INSIDE_X2, INSIDE_X2 }, { BOUNDING_BOX_TOP_Y, INSIDE_Y1, INSIDE_Y1, BOUNDING_BOX_TOP_Y }, 4 } }, /* Bottom outside */ { { { INSIDE_X1, INSIDE_X2, INSIDE_X2, INSIDE_X1 }, { OUTSIDE_Y1, OUTSIDE_Y1, INSIDE_Y2, INSIDE_Y2 }, 4 }, { { INSIDE_X1, INSIDE_X2, INSIDE_X2, INSIDE_X1 }, { BOUNDING_BOX_BOTTOM_Y, BOUNDING_BOX_BOTTOM_Y, INSIDE_Y2, INSIDE_Y2 }, 4 } }, /* Left outside */ { { { OUTSIDE_X1, INSIDE_X2, INSIDE_X2, OUTSIDE_X1 }, { INSIDE_Y1, INSIDE_Y1, INSIDE_Y2, INSIDE_Y2 }, 4 }, { { BOUNDING_BOX_LEFT_X, INSIDE_X2, INSIDE_X2, BOUNDING_BOX_LEFT_X }, { INSIDE_Y1, INSIDE_Y1, INSIDE_Y2, INSIDE_Y2 }, 4 } }, /* Right outside */ { { { INSIDE_X1, OUTSIDE_X2, OUTSIDE_X2, INSIDE_X1 }, { INSIDE_Y1, INSIDE_Y1, INSIDE_Y2, INSIDE_Y2 }, 4 }, { { INSIDE_X1, BOUNDING_BOX_RIGHT_X, BOUNDING_BOX_RIGHT_X, INSIDE_X1 }, { INSIDE_Y1, INSIDE_Y1, INSIDE_Y2, INSIDE_Y2 }, 4 } }, /* Diamond extending from bounding box edges, clip to bounding box */ { { { BOUNDING_BOX_LEFT_X - 25, BOUNDING_BOX_LEFT_X + 25, BOUNDING_BOX_RIGHT_X + 25, BOUNDING_BOX_RIGHT_X - 25 }, { BOUNDING_BOX_BOTTOM_Y + 25, BOUNDING_BOX_TOP_Y + 25, BOUNDING_BOX_TOP_Y - 25, BOUNDING_BOX_BOTTOM_Y - 25 }, 4 }, { { BOUNDING_BOX_LEFT_X, BOUNDING_BOX_LEFT_X, BOUNDING_BOX_RIGHT_X, BOUNDING_BOX_RIGHT_X }, { BOUNDING_BOX_BOTTOM_Y, BOUNDING_BOX_TOP_Y, BOUNDING_BOX_TOP_Y, BOUNDING_BOX_BOTTOM_Y }, 4 } }, /* Diamond inside of bounding box edges, clip t bounding box, 8 resulting vertices */ { { { BOUNDING_BOX_LEFT_X - 12.5, BOUNDING_BOX_LEFT_X + 25, BOUNDING_BOX_RIGHT_X + 12.5, BOUNDING_BOX_RIGHT_X - 25 }, { BOUNDING_BOX_BOTTOM_Y + 25, BOUNDING_BOX_TOP_Y + 12.5, BOUNDING_BOX_TOP_Y - 25, BOUNDING_BOX_BOTTOM_Y - 12.5 }, 4 }, { { BOUNDING_BOX_LEFT_X + 12.5, BOUNDING_BOX_LEFT_X, BOUNDING_BOX_LEFT_X, BOUNDING_BOX_LEFT_X + 12.5, BOUNDING_BOX_RIGHT_X - 12.5, BOUNDING_BOX_RIGHT_X, BOUNDING_BOX_RIGHT_X, BOUNDING_BOX_RIGHT_X - 12.5 }, { BOUNDING_BOX_BOTTOM_Y, BOUNDING_BOX_BOTTOM_Y + 12.5, BOUNDING_BOX_TOP_Y - 12.5, BOUNDING_BOX_TOP_Y, BOUNDING_BOX_TOP_Y, BOUNDING_BOX_TOP_Y - 12.5, BOUNDING_BOX_BOTTOM_Y + 12.5, BOUNDING_BOX_BOTTOM_Y }, 8 } } }; /* clip_polygon modifies the source operand and the test data must * be const, so we need to deep copy it */ static void deep_copy_polygon8(const struct polygon8 *src, struct polygon8 *dst) { dst->n = src->n; memcpy((void *) dst->x, src->x, sizeof (src->x)); memcpy((void *) dst->y, src->y, sizeof (src->y)); } TEST_P(clip_polygon_n_vertices_emitted, test_data) { struct vertex_clip_test_data *tdata = data; struct clip_context ctx; struct polygon8 polygon; float vertices_x[8]; float vertices_y[8]; deep_copy_polygon8(&tdata->surface, &polygon); int emitted = clip_polygon(&ctx, &polygon, vertices_x, vertices_y); assert(emitted == tdata->expected.n); } TEST_P(clip_polygon_expected_vertices, test_data) { struct vertex_clip_test_data *tdata = data; struct clip_context ctx; struct polygon8 polygon; float vertices_x[8]; float vertices_y[8]; deep_copy_polygon8(&tdata->surface, &polygon); int emitted = clip_polygon(&ctx, &polygon, vertices_x, vertices_y); int i = 0; for (; i < emitted; ++i) { assert(vertices_x[i] == tdata->expected.x[i]); assert(vertices_y[i] == tdata->expected.y[i]); } } TEST(float_difference_different) { assert(float_difference(1.0f, 0.0f) == 1.0f); } TEST(float_difference_same) { assert(float_difference(1.0f, 1.0f) == 0.0f); } weston-3.0.0/tests/surface-test.c0000664000175000017500000000437313142404577013705 00000000000000/* * Copyright © 2012 Intel Corporation * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include "compositor.h" #include "compositor/weston.h" static void surface_transform(void *data) { struct weston_compositor *compositor = data; struct weston_surface *surface; struct weston_view *view; float x, y; surface = weston_surface_create(compositor); assert(surface); view = weston_view_create(surface); assert(view); surface->width = 200; surface->height = 200; weston_view_set_position(view, 100, 100); weston_view_update_transform(view); weston_view_to_global_float(view, 20, 20, &x, &y); fprintf(stderr, "20,20 maps to %f, %f\n", x, y); assert(x == 120 && y == 120); weston_view_set_position(view, 150, 300); weston_view_update_transform(view); weston_view_to_global_float(view, 50, 40, &x, &y); assert(x == 200 && y == 340); wl_display_terminate(compositor->wl_display); } WL_EXPORT int wet_module_init(struct weston_compositor *compositor, int *argc, char *argv[]) { struct wl_event_loop *loop; loop = wl_display_get_event_loop(compositor->wl_display); wl_event_loop_add_idle(loop, surface_transform, compositor); return 0; } weston-3.0.0/tests/string-test.c0000664000175000017500000000450113142404577013554 00000000000000/* * Copyright © 2016 Samsung Electronics Co., Ltd * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include "shared/string-helpers.h" #include "weston-test-client-helper.h" TEST(strtol_conversions) { bool ret; int32_t val = -1; char *str = NULL; str = ""; val = -1; ret = safe_strtoint(str, &val); assert(ret == false); assert(val == -1); str = "."; val = -1; ret = safe_strtoint(str, &val); assert(ret == false); assert(val == -1); str = "42"; val = -1; ret = safe_strtoint(str, &val); assert(ret == true); assert(val == 42); str = "-42"; val = -1; ret = safe_strtoint(str, &val); assert(ret == true); assert(val == -42); str = "0042"; val = -1; ret = safe_strtoint(str, &val); assert(ret == true); assert(val == 42); str = "x42"; val = -1; ret = safe_strtoint(str, &val); assert(ret == false); assert(val == -1); str = "42x"; val = -1; ret = safe_strtoint(str, &val); assert(ret == false); assert(val == -1); str = "0x42424242"; val = -1; ret = safe_strtoint(str, &val); assert(ret == false); assert(val == -1); str = "424748364789L"; val = -1; ret = safe_strtoint(str, &val); assert(ret == false); assert(val == -1); } weston-3.0.0/tests/bad-buffer-test.c0000664000175000017500000000512313142404577014244 00000000000000/* * Copyright © 2012 Intel Corporation * Copyright © 2013 Collabora, Ltd. * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include "shared/os-compatibility.h" #include "weston-test-client-helper.h" /* tests, that attempt to crash the compositor on purpose */ static struct wl_buffer * create_bad_shm_buffer(struct client *client, int width, int height) { struct wl_shm *shm = client->wl_shm; int stride = width * 4; int size = stride * height; struct wl_shm_pool *pool; struct wl_buffer *buffer; int fd; fd = os_create_anonymous_file(size); assert(fd >= 0); pool = wl_shm_create_pool(shm, fd, size); buffer = wl_shm_pool_create_buffer(pool, 0, width, height, stride, WL_SHM_FORMAT_ARGB8888); wl_shm_pool_destroy(pool); /* Truncate the file to a small size, so that the compositor * will access it out-of-bounds, and hit SIGBUS. */ assert(ftruncate(fd, 12) == 0); close(fd); return buffer; } TEST(test_truncated_shm_file) { struct client *client; struct wl_buffer *bad_buffer; struct wl_surface *surface; int frame; client = create_client_and_test_surface(46, 76, 111, 134); assert(client); surface = client->surface->wl_surface; bad_buffer = create_bad_shm_buffer(client, 200, 200); wl_surface_attach(surface, bad_buffer, 0, 0); wl_surface_damage(surface, 0, 0, 200, 200); frame_callback_set(surface, &frame); wl_surface_commit(surface); frame_callback_wait_nofail(client, &frame); expect_protocol_error(client, &wl_buffer_interface, WL_SHM_ERROR_INVALID_FD); } weston-3.0.0/tests/config-parser-test.c0000664000175000017500000003520713142404577015014 00000000000000/* * Copyright © 2013 Intel Corporation * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include #include #include "config-parser.h" #include "shared/helpers.h" #include "zunitc/zunitc.h" struct fixture_data { const char *text; struct weston_config *config; }; static struct weston_config * load_config(const char *text) { struct weston_config *config = NULL; int len = 0; int fd = -1; char file[] = "/tmp/weston-config-parser-test-XXXXXX"; ZUC_ASSERTG_NOT_NULL(text, out); fd = mkstemp(file); ZUC_ASSERTG_NE(-1, fd, out); len = write(fd, text, strlen(text)); ZUC_ASSERTG_EQ((int)strlen(text), len, out_close); config = weston_config_parse(file); out_close: close(fd); unlink(file); out: return config; } static void * setup_test_config(void *data) { struct weston_config *config = load_config(data); ZUC_ASSERTG_NOT_NULL(config, out); out: return config; } static void * setup_test_config_failing(void *data) { struct weston_config *config = load_config(data); ZUC_ASSERTG_NULL(config, err_free); return config; err_free: weston_config_destroy(config); return NULL; } static void cleanup_test_config(void *data) { struct weston_config *config = data; ZUC_ASSERT_NOT_NULL(config); weston_config_destroy(config); } static struct zuc_fixture config_test_t0 = { .data = "# nothing in this file...\n", .set_up = setup_test_config, .tear_down = cleanup_test_config }; static struct zuc_fixture config_test_t1 = { .data = "# comment line here...\n" "\n" "[foo]\n" "a=b\n" "name= Roy Batty \n" "\n" "\n" "[bar]\n" "# more comments\n" "number=5252\n" "zero=0\n" "negative=-42\n" "flag=false\n" "\n" "[colors]\n" "none=0x00000000\n" "low=0x11223344\n" "high=0xff00ff00\n" "oct=01234567\n" "dec=12345670\n" "short=1234567\n" "\n" "[stuff]\n" "flag= true \n" "\n" "[bucket]\n" "color=blue \n" "contents=live crabs\n" "pinchy=true\n" "\n" "[bucket]\n" "material=plastic \n" "color=red\n" "contents=sand\n", .set_up = setup_test_config, .tear_down = cleanup_test_config }; static const char *section_names[] = { "foo", "bar", "colors", "stuff", "bucket", "bucket" }; /* * Since these next few won't parse, we don't add the tear_down to * attempt cleanup. */ static struct zuc_fixture config_test_t2 = { .data = "# invalid section...\n" "[this bracket isn't closed\n", .set_up = setup_test_config_failing, }; static struct zuc_fixture config_test_t3 = { .data = "# line without = ...\n" "[bambam]\n" "this line isn't any kind of valid\n", .set_up = setup_test_config_failing, }; static struct zuc_fixture config_test_t4 = { .data = "# starting with = ...\n" "[bambam]\n" "=not valid at all\n", .set_up = setup_test_config_failing, }; ZUC_TEST_F(config_test_t0, comment_only, data) { struct weston_config *config = data; ZUC_ASSERT_NOT_NULL(config); } /** @todo individual t1 tests should have more descriptive names. */ ZUC_TEST_F(config_test_t1, test001, data) { struct weston_config_section *section; struct weston_config *config = data; ZUC_ASSERT_NOT_NULL(config); section = weston_config_get_section(config, "mollusc", NULL, NULL); ZUC_ASSERT_NULL(section); } ZUC_TEST_F(config_test_t1, test002, data) { char *s; int r; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "foo", NULL, NULL); r = weston_config_section_get_string(section, "a", &s, NULL); ZUC_ASSERTG_EQ(0, r, out_free); ZUC_ASSERTG_STREQ("b", s, out_free); out_free: free(s); } ZUC_TEST_F(config_test_t1, test003, data) { char *s; int r; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "foo", NULL, NULL); r = weston_config_section_get_string(section, "b", &s, NULL); ZUC_ASSERT_EQ(-1, r); ZUC_ASSERT_EQ(ENOENT, errno); ZUC_ASSERT_NULL(s); } ZUC_TEST_F(config_test_t1, test004, data) { char *s; int r; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "foo", NULL, NULL); r = weston_config_section_get_string(section, "name", &s, NULL); ZUC_ASSERTG_EQ(0, r, out_free); ZUC_ASSERTG_STREQ("Roy Batty", s, out_free); out_free: free(s); } ZUC_TEST_F(config_test_t1, test005, data) { char *s; int r; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "bar", NULL, NULL); r = weston_config_section_get_string(section, "a", &s, "boo"); ZUC_ASSERTG_EQ(-1, r, out_free); ZUC_ASSERTG_EQ(ENOENT, errno, out_free); ZUC_ASSERTG_STREQ("boo", s, out_free); out_free: free(s); } ZUC_TEST_F(config_test_t1, test006, data) { int r; int32_t n; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "bar", NULL, NULL); r = weston_config_section_get_int(section, "number", &n, 600); ZUC_ASSERT_EQ(0, r); ZUC_ASSERT_EQ(5252, n); ZUC_ASSERT_EQ(0, errno); } ZUC_TEST_F(config_test_t1, test007, data) { int r; int32_t n; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "bar", NULL, NULL); r = weston_config_section_get_int(section, "+++", &n, 700); ZUC_ASSERT_EQ(-1, r); ZUC_ASSERT_EQ(ENOENT, errno); ZUC_ASSERT_EQ(700, n); } ZUC_TEST_F(config_test_t1, test008, data) { int r; uint32_t u; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "bar", NULL, NULL); r = weston_config_section_get_uint(section, "number", &u, 600); ZUC_ASSERT_EQ(0, r); ZUC_ASSERT_EQ(5252, u); ZUC_ASSERT_EQ(0, errno); } ZUC_TEST_F(config_test_t1, test009, data) { int r; uint32_t u; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "bar", NULL, NULL); r = weston_config_section_get_uint(section, "+++", &u, 600); ZUC_ASSERT_EQ(-1, r); ZUC_ASSERT_EQ(ENOENT, errno); ZUC_ASSERT_EQ(600, u); } ZUC_TEST_F(config_test_t1, test010, data) { int r, b; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "bar", NULL, NULL); r = weston_config_section_get_bool(section, "flag", &b, 600); ZUC_ASSERT_EQ(0, r); ZUC_ASSERT_EQ(0, b); } ZUC_TEST_F(config_test_t1, test011, data) { int r, b; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "stuff", NULL, NULL); r = weston_config_section_get_bool(section, "flag", &b, -1); ZUC_ASSERT_EQ(0, r); ZUC_ASSERT_EQ(1, b); } ZUC_TEST_F(config_test_t1, test012, data) { int r, b; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "stuff", NULL, NULL); r = weston_config_section_get_bool(section, "flag", &b, -1); ZUC_ASSERT_EQ(0, r); ZUC_ASSERT_EQ(1, b); } ZUC_TEST_F(config_test_t1, test013, data) { int r, b; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "stuff", NULL, NULL); r = weston_config_section_get_bool(section, "bonk", &b, -1); ZUC_ASSERT_EQ(-1, r); ZUC_ASSERT_EQ(ENOENT, errno); ZUC_ASSERT_EQ(-1, b); } ZUC_TEST_F(config_test_t1, test014, data) { char *s; int r; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "bucket", "color", "blue"); r = weston_config_section_get_string(section, "contents", &s, NULL); ZUC_ASSERTG_EQ(0, r, out_free); ZUC_ASSERTG_STREQ("live crabs", s, out_free); out_free: free(s); } ZUC_TEST_F(config_test_t1, test015, data) { char *s; int r; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "bucket", "color", "red"); r = weston_config_section_get_string(section, "contents", &s, NULL); ZUC_ASSERTG_EQ(0, r, out_free); ZUC_ASSERTG_STREQ("sand", s, out_free); out_free: free(s); } ZUC_TEST_F(config_test_t1, test016, data) { char *s; int r; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "bucket", "color", "pink"); ZUC_ASSERT_NULL(section); r = weston_config_section_get_string(section, "contents", &s, "eels"); ZUC_ASSERTG_EQ(-1, r, out_free); ZUC_ASSERTG_EQ(ENOENT, errno, out_free); ZUC_ASSERTG_STREQ("eels", s, out_free); out_free: free(s); } ZUC_TEST_F(config_test_t1, test017, data) { const char *name; int i; struct weston_config_section *section; struct weston_config *config = data; section = NULL; i = 0; while (weston_config_next_section(config, §ion, &name)) ZUC_ASSERT_STREQ(section_names[i++], name); ZUC_ASSERT_EQ(6, i); } ZUC_TEST_F(config_test_t1, test018, data) { int r; int32_t n; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "bar", NULL, NULL); r = weston_config_section_get_int(section, "zero", &n, 600); ZUC_ASSERT_EQ(0, r); ZUC_ASSERT_EQ(0, n); ZUC_ASSERT_EQ(0, errno); } ZUC_TEST_F(config_test_t1, test019, data) { int r; uint32_t n; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "bar", NULL, NULL); r = weston_config_section_get_uint(section, "zero", &n, 600); ZUC_ASSERT_EQ(0, r); ZUC_ASSERT_EQ(0, n); ZUC_ASSERT_EQ(0, errno); } ZUC_TEST_F(config_test_t1, test020, data) { int r; uint32_t n; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "colors", NULL, NULL); r = weston_config_section_get_color(section, "none", &n, 0xff336699); ZUC_ASSERT_EQ(0, r); ZUC_ASSERT_EQ(0x000000, n); ZUC_ASSERT_EQ(0, errno); } ZUC_TEST_F(config_test_t1, test021, data) { int r; uint32_t n; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "colors", NULL, NULL); r = weston_config_section_get_color(section, "low", &n, 0xff336699); ZUC_ASSERT_EQ(0, r); ZUC_ASSERT_EQ(0x11223344, n); ZUC_ASSERT_EQ(0, errno); } ZUC_TEST_F(config_test_t1, test022, data) { int r; uint32_t n; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "colors", NULL, NULL); r = weston_config_section_get_color(section, "high", &n, 0xff336699); ZUC_ASSERT_EQ(0, r); ZUC_ASSERT_EQ(0xff00ff00, n); ZUC_ASSERT_EQ(0, errno); } ZUC_TEST_F(config_test_t1, test023, data) { int r; uint32_t n; struct weston_config_section *section; struct weston_config *config = data; // Treat colors as hex values even if missing the leading 0x section = weston_config_get_section(config, "colors", NULL, NULL); r = weston_config_section_get_color(section, "oct", &n, 0xff336699); ZUC_ASSERT_EQ(0, r); ZUC_ASSERT_EQ(0x01234567, n); ZUC_ASSERT_EQ(0, errno); } ZUC_TEST_F(config_test_t1, test024, data) { int r; uint32_t n; struct weston_config_section *section; struct weston_config *config = data; // Treat colors as hex values even if missing the leading 0x section = weston_config_get_section(config, "colors", NULL, NULL); r = weston_config_section_get_color(section, "dec", &n, 0xff336699); ZUC_ASSERT_EQ(0, r); ZUC_ASSERT_EQ(0x12345670, n); ZUC_ASSERT_EQ(0, errno); } ZUC_TEST_F(config_test_t1, test025, data) { int r; uint32_t n; struct weston_config_section *section; struct weston_config *config = data; // 7-digit colors are not valid (most likely typos) section = weston_config_get_section(config, "colors", NULL, NULL); r = weston_config_section_get_color(section, "short", &n, 0xff336699); ZUC_ASSERT_EQ(-1, r); ZUC_ASSERT_EQ(0xff336699, n); ZUC_ASSERT_EQ(EINVAL, errno); } ZUC_TEST_F(config_test_t1, test026, data) { int r; uint32_t n; struct weston_config_section *section; struct weston_config *config = data; // String color names are unsupported section = weston_config_get_section(config, "bucket", NULL, NULL); r = weston_config_section_get_color(section, "color", &n, 0xff336699); ZUC_ASSERT_EQ(-1, r); ZUC_ASSERT_EQ(0xff336699, n); ZUC_ASSERT_EQ(EINVAL, errno); } ZUC_TEST_F(config_test_t1, test027, data) { int r; int32_t n; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "bar", NULL, NULL); r = weston_config_section_get_int(section, "negative", &n, 600); ZUC_ASSERT_EQ(0, r); ZUC_ASSERT_EQ(-42, n); ZUC_ASSERT_EQ(0, errno); } ZUC_TEST_F(config_test_t1, test028, data) { int r; uint32_t n; struct weston_config_section *section; struct weston_config *config = data; section = weston_config_get_section(config, "bar", NULL, NULL); r = weston_config_section_get_uint(section, "negative", &n, 600); ZUC_ASSERT_EQ(-1, r); ZUC_ASSERT_EQ(600, n); ZUC_ASSERT_EQ(ERANGE, errno); } ZUC_TEST_F(config_test_t2, doesnt_parse, data) { struct weston_config *config = data; ZUC_ASSERT_NULL(config); } ZUC_TEST_F(config_test_t3, doesnt_parse, data) { struct weston_config *config = data; ZUC_ASSERT_NULL(config); } ZUC_TEST_F(config_test_t4, doesnt_parse, data) { struct weston_config *config = data; ZUC_ASSERT_NULL(config); } ZUC_TEST(config_test, destroy_null) { weston_config_destroy(NULL); ZUC_ASSERT_EQ(0, weston_config_next_section(NULL, NULL, NULL)); } ZUC_TEST(config_test, section_from_null) { struct weston_config_section *section; section = weston_config_get_section(NULL, "bucket", NULL, NULL); ZUC_ASSERT_NULL(section); } weston-3.0.0/tests/text-test.c0000664000175000017500000001310013142404577013225 00000000000000/* * Copyright © 2012 Intel Corporation * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include "weston-test-client-helper.h" #include "text-input-unstable-v1-client-protocol.h" struct text_input_state { int activated; int deactivated; }; static void text_input_commit_string(void *data, struct zwp_text_input_v1 *text_input, uint32_t serial, const char *text) { } static void text_input_preedit_string(void *data, struct zwp_text_input_v1 *text_input, uint32_t serial, const char *text, const char *commit) { } static void text_input_delete_surrounding_text(void *data, struct zwp_text_input_v1 *text_input, int32_t index, uint32_t length) { } static void text_input_cursor_position(void *data, struct zwp_text_input_v1 *text_input, int32_t index, int32_t anchor) { } static void text_input_preedit_styling(void *data, struct zwp_text_input_v1 *text_input, uint32_t index, uint32_t length, uint32_t style) { } static void text_input_preedit_cursor(void *data, struct zwp_text_input_v1 *text_input, int32_t index) { } static void text_input_modifiers_map(void *data, struct zwp_text_input_v1 *text_input, struct wl_array *map) { } static void text_input_keysym(void *data, struct zwp_text_input_v1 *text_input, uint32_t serial, uint32_t time, uint32_t sym, uint32_t state, uint32_t modifiers) { } static void text_input_enter(void *data, struct zwp_text_input_v1 *text_input, struct wl_surface *surface) { struct text_input_state *state = data; fprintf(stderr, "%s\n", __FUNCTION__); state->activated += 1; } static void text_input_leave(void *data, struct zwp_text_input_v1 *text_input) { struct text_input_state *state = data; state->deactivated += 1; } static void text_input_input_panel_state(void *data, struct zwp_text_input_v1 *text_input, uint32_t state) { } static void text_input_language(void *data, struct zwp_text_input_v1 *text_input, uint32_t serial, const char *language) { } static void text_input_text_direction(void *data, struct zwp_text_input_v1 *text_input, uint32_t serial, uint32_t direction) { } static const struct zwp_text_input_v1_listener text_input_listener = { text_input_enter, text_input_leave, text_input_modifiers_map, text_input_input_panel_state, text_input_preedit_string, text_input_preedit_styling, text_input_preedit_cursor, text_input_commit_string, text_input_cursor_position, text_input_delete_surrounding_text, text_input_keysym, text_input_language, text_input_text_direction }; TEST(text_test) { struct client *client; struct global *global; struct zwp_text_input_manager_v1 *factory; struct zwp_text_input_v1 *text_input; struct text_input_state state; client = create_client_and_test_surface(100, 100, 100, 100); assert(client); factory = NULL; wl_list_for_each(global, &client->global_list, link) { if (strcmp(global->interface, "zwp_text_input_manager_v1") == 0) factory = wl_registry_bind(client->wl_registry, global->name, &zwp_text_input_manager_v1_interface, 1); } assert(factory); memset(&state, 0, sizeof state); text_input = zwp_text_input_manager_v1_create_text_input(factory); zwp_text_input_v1_add_listener(text_input, &text_input_listener, &state); /* Make sure our test surface has keyboard focus. */ weston_test_activate_surface(client->test->weston_test, client->surface->wl_surface); client_roundtrip(client); assert(client->input->keyboard->focus == client->surface); /* Activate test model and make sure we get enter event. */ zwp_text_input_v1_activate(text_input, client->input->wl_seat, client->surface->wl_surface); client_roundtrip(client); assert(state.activated == 1 && state.deactivated == 0); /* Deactivate test model and make sure we get leave event. */ zwp_text_input_v1_deactivate(text_input, client->input->wl_seat); client_roundtrip(client); assert(state.activated == 1 && state.deactivated == 1); /* Activate test model again. */ zwp_text_input_v1_activate(text_input, client->input->wl_seat, client->surface->wl_surface); client_roundtrip(client); assert(state.activated == 2 && state.deactivated == 1); /* Take keyboard focus away and verify we get leave event. */ weston_test_activate_surface(client->test->weston_test, NULL); client_roundtrip(client); assert(state.activated == 2 && state.deactivated == 2); } weston-3.0.0/tests/reference/0000775000175000017500000000000013142404611013130 500000000000000weston-3.0.0/tests/reference/subsurface_z_order-03.png0000664000175000017500000000160713142404577017703 00000000000000PNG  IHDR@O*<bKGDZ.0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  aJn˺0C!L&`0  a0C!L&`0  a0C!̟X%| a0C!L&`0  a0C!L&`0  a˼7;&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L(Pb\IENDB`weston-3.0.0/tests/reference/subsurface_z_order-04.png0000664000175000017500000000160613142404577017703 00000000000000PNG  IHDR@O*<bKGD;IDATxݱq@@QQq9P 9\3&7wӼw@  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0GPu=Br=&&`0  a0C!L&`0  a0C!L&`0_^Nw;/O!L&`0  a0C!ls'/ Nϛ0C!L&`0  a͝EO밭l`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0 ('xp a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L q?OG!L&`0  a0C!l$ a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a7-IENDB`weston-3.0.0/tests/reference/internal-screenshot-good-00.png0000664000175000017500000000171213142404577020724 00000000000000PNG  IHDR@q-kbKGDIDATx1j1A [ρÁmU0@uXd72-Yb?Mc5&10Fcc`lLi#1Mc06 `4ؘ&10Fcc`lLi#1Mc06 `4ؘ&10Fcc`lLi#1Mc06 `4ؘ&10Fcc`lLi#1Mc06 `4ؘ&10Fcc`lLi#1Mc06 `4ؘ&10Fcc`lLi#1Mc06 `4ؘ&10Fcc`lLi#1Mc06 `4ؘ&10Fcc`lLi#1Mc06 `4ؘ&10Fcc`lLi#1Mc06 `4ؘ&10Fcc`lLi#1Mc06 `4ؘ&10Fcc`lLi#1Mc06 `4ؘ&10Fcc`lLi#1Mc06 `4ؘ&1C(->fIENDB`weston-3.0.0/tests/reference/subsurface_z_order-01.png0000664000175000017500000000153213142404577017676 00000000000000PNG  IHDR@O*<bKGDIDATxܱ @A(ƔvLN;.r cqZOzg7zΣ  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0]F(yl2:z_p!L&`0  a0C!L&`0  a0C!L&`'֗L ߵ:/v8 a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`Pr]v a0C!L&`0  a0C!L&`0  a0C40 a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L&`0  a0C!L{ B`IENDB`weston-3.0.0/tests/reference/subsurface_z_order-00.png0000664000175000017500000000147113142404577017677 00000000000000PNG  IHDR@O*<bKGDIDATxA ADA f3vFvy㢻E\'O̦hp8NHޟn>z=wzCjU)S&LfZl~vN:׳ճv7jx}A`0\8?c'4oڸ,/g.7fr_)6q/xٯT~g76!S^ؾ^Ug.NOqCd7^Un]~ā䲼qΊx†U3nN#jܰcW|a#m^Nf}[:d5ǭ,/CYi oNj2-ϚV$˕+B5ذaϵ`Uk31dIn$_q{?xAC#qy5߻o6m:v=&꿲[5:uȑ0h4%U n{}Fh4,fbZmv{:uLᅋ{R$7cGԃI;Sף[*ё3z^h8I%>c˨q1L ߝ7^}bvNα4Me=ԧNIIa,2ᾉVdN_M߭O5"TQbmVj~f97O͞4n"ycS'ǻbc6})-3rr 71濻y;ys$N;3*yݱH\jY}06nY=Y9rξ6ڵv<}6ȵjc5 uf)_}B̔ɓV`~z9V/D4,6.6d iRfgi6$8(y1wy0|>_3zqD<5*)urD}$Iϟw\n lXx^mk`ɧ1M*Ax=(z$1Bf)陽cbrZ}OlQ|hrwi3x"`0U]<71qܽ0/c,9m$+A}mWN s<{)N?9/V;q͒2N8fkYu(66WSbGy1{ρV[{{Z4=Ⱦ  ~o}s4';2:w]Կ]h6mډMMx8NRU>`u)s`C//P-gZWAA/(yL("I,_̿pvJI\lS1gSn/1c[vf4M> ,[x}fُpKS&m|wCMiQ}*]v*]*.-+п5[CޙZ[|'MM6=~KNy]YÇjۦU||~UO'lXknږޡ]ۧFxc<} -7Wxުk٬͛67nܸ]D[[/;nDȺ EEc1=_}aONrWT8;.p56xڙ_hZs^ݻ3v5g]h$$I$)*LSj*"K$$k*9}h,**:sT4Zc2[-ñwOf?Xs&+q5?{a﬷yȱ{v֢Yj}UT8K=eՃ,c&N?q05aêe+׸ݿ%(/Ns횕5mLbRS^?9bԸ==FA ߾3g=С{sgPԄ c/N ~f]b鉛S֏{bȌA]:w p/L8^ &$+S[jtѫ\nz=Ԯasg#uX_sƞ uXjCU 8A Gjyq[W}yWqEU| _i) {'fSUj/R5kONOEMS8N0 \)464XgnYS&?kzoVU-/V&߯<^%Uh ;6=ԧ_xjW*>Wu\M~!gN}kc.8t8) {"qLF[POZmTE4xFwlyAӴfNQ_| }SϚn՚_´vk`x[6fIShHOhY17A{h[^~Y{ p4i^_܀-,c_84W~x >vPsُ p;p q/yXf8 p90q7/$+%a0 @ L+2gK8C!`0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @ Cwz(ٝ22M#0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @x7#wz~G`0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @ C!`0a0 @ ?eI*ŪIENDB`weston-3.0.0/tests/plugin-registry-test.c0000664000175000017500000000560713142404577015422 00000000000000/* * Copyright (C) 2016 DENSO CORPORATION * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include "compositor.h" #include "compositor/weston.h" #include "plugin-registry.h" static void dummy_func(void) { } static const struct my_api { void (*func1)(void); void (*func2)(void); void (*func3)(void); } my_test_api = { dummy_func, dummy_func, dummy_func, }; #define MY_API_NAME "test_my_api_v1" static void init_tests(struct weston_compositor *compositor) { assert(weston_plugin_api_get(compositor, MY_API_NAME, sizeof(my_test_api)) == NULL); assert(weston_plugin_api_register(compositor, MY_API_NAME, &my_test_api, sizeof(my_test_api)) == 0); assert(weston_plugin_api_register(compositor, MY_API_NAME, &my_test_api, sizeof(my_test_api)) == -2); assert(weston_plugin_api_get(compositor, MY_API_NAME, sizeof(my_test_api)) == &my_test_api); assert(weston_plugin_api_register(compositor, "another", &my_test_api, sizeof(my_test_api)) == 0); } static void runtime_tests(void *data) { struct weston_compositor *compositor = data; const struct my_api *api; size_t sz = sizeof(struct my_api); assert(weston_plugin_api_get(compositor, MY_API_NAME, sz) == &my_test_api); assert(weston_plugin_api_get(compositor, MY_API_NAME, sz - 4) == &my_test_api); assert(weston_plugin_api_get(compositor, MY_API_NAME, sz + 4) == NULL); api = weston_plugin_api_get(compositor, MY_API_NAME, sz); assert(api && api->func2 == dummy_func); wl_display_terminate(compositor->wl_display); } WL_EXPORT int wet_module_init(struct weston_compositor *compositor, int *argc, char *argv[]) { struct wl_event_loop *loop; init_tests(compositor); loop = wl_display_get_event_loop(compositor->wl_display); wl_event_loop_add_idle(loop, runtime_tests, compositor); return 0; } weston-3.0.0/ivi-shell/0000775000175000017500000000000013142404611011724 500000000000000weston-3.0.0/ivi-shell/ivi-shell.h0000664000175000017500000000443713142404577013734 00000000000000/* * Copyright (C) 2013 DENSO CORPORATION * * 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 (including the * next paragraph) 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. */ #ifndef WESTON_IVI_SHELL_H #define WESTON_IVI_SHELL_H #include #include #include "compositor.h" struct ivi_shell { struct wl_listener destroy_listener; struct weston_compositor *compositor; struct wl_list ivi_surface_list; /* struct ivi_shell_surface::link */ struct text_backend *text_backend; struct wl_listener show_input_panel_listener; struct wl_listener hide_input_panel_listener; struct wl_listener update_input_panel_listener; struct weston_layer input_panel_layer; bool locked; bool showing_input_panels; struct { struct weston_surface *surface; pixman_box32_t cursor_rectangle; } text_input; struct { struct wl_resource *binding; struct wl_list surfaces; } input_panel; }; struct weston_view * get_default_view(struct weston_surface *surface); int input_panel_setup(struct ivi_shell *shell); void input_panel_destroy(struct ivi_shell *shell); void shell_surface_send_configure(struct weston_surface *surface, int32_t width, int32_t height); struct ivi_layout_surface; struct ivi_layout_surface * shell_get_ivi_layout_surface(struct weston_surface *surface); #endif /* WESTON_IVI_SHELL_H */ weston-3.0.0/ivi-shell/ivi-layout.c0000664000175000017500000015757413142404577014150 00000000000000/* * Copyright (C) 2013 DENSO CORPORATION * * 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 (including the * next paragraph) 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. */ /** * Implementation of ivi-layout library. The actual view on ivi_screen is * not updated until ivi_layout_commit_changes is called. An overview from * calling API for updating properties of ivi_surface/ivi_layer to asking * compositor to compose them by using weston_compositor_schedule_repaint, * 0/ initialize this library by ivi_layout_init_with_compositor * with (struct weston_compositor *ec) from ivi-shell. * 1/ When an API for updating properties of ivi_surface/ivi_layer, it updates * pending prop of ivi_surface/ivi_layer/ivi_screen which are structure to * store properties. * 2/ Before calling commitChanges, in case of calling an API to get a property, * return current property, not pending property. * 3/ At the timing of calling ivi_layout_commitChanges, pending properties * are applied to properties. * * *) ivi_layout_commitChanges is also called by transition animation * per each frame. See ivi-layout-transition.c in details. Transition * animation interpolates frames between previous properties of ivi_surface * and new ones. * For example, when a property of ivi_surface is changed from invisibile * to visibile, it behaves like fade-in. When ivi_layout_commitChange is * called during transition animation, it cancels the transition and * re-start transition to new properties from current properties of final * frame just before the cancellation. * * 4/ According properties, set transformation by using weston_matrix and * weston_view per ivi_surfaces and ivi_layers in while loop. * 5/ Set damage and trigger transform by using weston_view_geometry_dirty. * 6/ Notify update of properties. * 7/ Trigger composition by weston_compositor_schedule_repaint. * */ #include "config.h" #include #include #include #include "compositor/weston.h" #include "compositor.h" #include "ivi-shell.h" #include "ivi-layout-export.h" #include "ivi-layout-private.h" #include "ivi-layout-shell.h" #include "shared/helpers.h" #include "shared/os-compatibility.h" #define max(a, b) ((a) > (b) ? (a) : (b)) struct ivi_layout; struct ivi_layout_screen { struct wl_list link; /* ivi_layout::screen_list */ struct ivi_layout *layout; struct weston_output *output; struct { struct wl_list layer_list; /* ivi_layout_layer::pending.link */ } pending; struct { int dirty; struct wl_list layer_list; /* ivi_layout_layer::order.link */ } order; }; struct ivi_rectangle { int32_t x; int32_t y; int32_t width; int32_t height; }; static struct ivi_layout ivilayout = {0}; struct ivi_layout * get_instance(void) { return &ivilayout; } /** * Internal API to add/remove an ivi_layer to/from ivi_screen. */ static struct ivi_layout_surface * get_surface(struct wl_list *surf_list, uint32_t id_surface) { struct ivi_layout_surface *ivisurf; wl_list_for_each(ivisurf, surf_list, link) { if (ivisurf->id_surface == id_surface) { return ivisurf; } } return NULL; } static struct ivi_layout_layer * get_layer(struct wl_list *layer_list, uint32_t id_layer) { struct ivi_layout_layer *ivilayer; wl_list_for_each(ivilayer, layer_list, link) { if (ivilayer->id_layer == id_layer) { return ivilayer; } } return NULL; } static bool ivi_view_is_rendered(struct ivi_layout_view *view) { return !wl_list_empty(&view->order_link); } static void ivi_view_destroy(struct ivi_layout_view *ivi_view) { wl_list_remove(&ivi_view->transform.link); wl_list_remove(&ivi_view->link); wl_list_remove(&ivi_view->surf_link); wl_list_remove(&ivi_view->pending_link); wl_list_remove(&ivi_view->order_link); weston_view_destroy(ivi_view->view); free(ivi_view); } static struct ivi_layout_view* ivi_view_create(struct ivi_layout_layer *ivilayer, struct ivi_layout_surface *ivisurf) { struct ivi_layout_view *ivi_view; ivi_view = calloc(1, sizeof *ivi_view); if (ivi_view == NULL) { weston_log("fails to allocate memory\n"); return NULL; } ivi_view->view = weston_view_create(ivisurf->surface); if (ivi_view->view == NULL) { weston_log("fails to allocate memory\n"); free(ivi_view); return NULL; } weston_matrix_init(&ivi_view->transform.matrix); wl_list_init(&ivi_view->transform.link); ivi_view->ivisurf = ivisurf; ivi_view->on_layer = ivilayer; wl_list_insert(&ivilayer->layout->view_list, &ivi_view->link); wl_list_insert(&ivisurf->view_list, &ivi_view->surf_link); wl_list_init(&ivi_view->pending_link); wl_list_init(&ivi_view->order_link); return ivi_view; } static struct ivi_layout_view * get_ivi_view(struct ivi_layout_layer *ivilayer, struct ivi_layout_surface *ivisurf) { struct ivi_layout_view *ivi_view; assert(ivisurf->surface != NULL); wl_list_for_each(ivi_view, &ivisurf->view_list, surf_link) { if (ivi_view->on_layer == ivilayer) return ivi_view; } return NULL; } static struct ivi_layout_screen * get_screen_from_output(struct weston_output *output) { struct ivi_layout *layout = get_instance(); struct ivi_layout_screen *iviscrn = NULL; wl_list_for_each(iviscrn, &layout->screen_list, link) { if (iviscrn->output == output) return iviscrn; } return NULL; } /** * Called at destruction of wl_surface/ivi_surface */ void ivi_layout_surface_destroy(struct ivi_layout_surface *ivisurf) { struct ivi_layout *layout = get_instance(); struct ivi_layout_view *ivi_view ,*next; if (ivisurf == NULL) { weston_log("%s: invalid argument\n", __func__); return; } wl_list_remove(&ivisurf->link); wl_list_for_each_safe(ivi_view, next, &ivisurf->view_list, surf_link) { ivi_view_destroy(ivi_view); } wl_signal_emit(&layout->surface_notification.removed, ivisurf); ivi_layout_remove_all_surface_transitions(ivisurf); free(ivisurf); } /** * Internal API to initialize ivi_screens found from output_list of weston_compositor. * Called by ivi_layout_init_with_compositor. */ static void create_screen(struct weston_compositor *ec) { struct ivi_layout *layout = get_instance(); struct ivi_layout_screen *iviscrn = NULL; struct weston_output *output = NULL; wl_list_for_each(output, &ec->output_list, link) { iviscrn = calloc(1, sizeof *iviscrn); if (iviscrn == NULL) { weston_log("fails to allocate memory\n"); continue; } iviscrn->layout = layout; iviscrn->output = output; wl_list_init(&iviscrn->pending.layer_list); wl_list_init(&iviscrn->order.layer_list); wl_list_insert(&layout->screen_list, &iviscrn->link); } } /** * Internal APIs to initialize properties of ivi_surface/ivi_layer when they are created. */ static void init_layer_properties(struct ivi_layout_layer_properties *prop, int32_t width, int32_t height) { memset(prop, 0, sizeof *prop); prop->opacity = wl_fixed_from_double(1.0); prop->source_width = width; prop->source_height = height; prop->dest_width = width; prop->dest_height = height; } static void init_surface_properties(struct ivi_layout_surface_properties *prop) { memset(prop, 0, sizeof *prop); prop->opacity = wl_fixed_from_double(1.0); /* * FIXME: this shall be fixed by ivi-layout-transition. */ prop->dest_width = 1; prop->dest_height = 1; } /** * Internal APIs to be called from ivi_layout_commit_changes. */ static void update_opacity(struct ivi_layout_layer *ivilayer, struct ivi_layout_surface *ivisurf, struct weston_view *view) { double layer_alpha = wl_fixed_to_double(ivilayer->prop.opacity); double surf_alpha = wl_fixed_to_double(ivisurf->prop.opacity); view->alpha = layer_alpha * surf_alpha; } static void calc_transformation_matrix(struct ivi_rectangle *source_rect, struct ivi_rectangle *dest_rect, struct weston_matrix *m) { float source_center_x; float source_center_y; float scale_x; float scale_y; float translate_x; float translate_y; source_center_x = source_rect->x + source_rect->width * 0.5f; source_center_y = source_rect->y + source_rect->height * 0.5f; weston_matrix_translate(m, -source_center_x, -source_center_y, 0.0f); scale_x = (float) dest_rect->width / (float) source_rect->width; scale_y = (float) dest_rect->height / (float) source_rect->height; weston_matrix_scale(m, scale_x, scale_y, 1.0f); translate_x = dest_rect->width * 0.5f + dest_rect->x; translate_y = dest_rect->height * 0.5f + dest_rect->y; weston_matrix_translate(m, translate_x, translate_y, 0.0f); } /* * This computes intersected rect_output from two ivi_rectangles */ static void ivi_rectangle_intersect(const struct ivi_rectangle *rect1, const struct ivi_rectangle *rect2, struct ivi_rectangle *rect_output) { int32_t rect1_right = rect1->x + rect1->width; int32_t rect1_bottom = rect1->y + rect1->height; int32_t rect2_right = rect2->x + rect2->width; int32_t rect2_bottom = rect2->y + rect2->height; rect_output->x = max(rect1->x, rect2->x); rect_output->y = max(rect1->y, rect2->y); rect_output->width = rect1_right < rect2_right ? rect1_right - rect_output->x : rect2_right - rect_output->x; rect_output->height = rect1_bottom < rect2_bottom ? rect1_bottom - rect_output->y : rect2_bottom - rect_output->y; if (rect_output->width < 0 || rect_output->height < 0) { rect_output->width = 0; rect_output->height = 0; } } /* * Transform rect_input by the inverse of matrix, intersect with boundingbox, * and store the result in rect_output. * The boundingbox must be given in the same coordinate space as rect_output. * Additionally, there are the following restrictions on the matrix: * - no projective transformations * - no skew * - only multiples of 90-degree rotations supported * * In failure case of weston_matrix_invert, rect_output is set to boundingbox * as a fail-safe with log. */ static void calc_inverse_matrix_transform(const struct weston_matrix *matrix, const struct ivi_rectangle *rect_input, const struct ivi_rectangle *boundingbox, struct ivi_rectangle *rect_output) { struct weston_matrix m; struct weston_vector top_left; struct weston_vector bottom_right; assert(boundingbox != rect_output); if (weston_matrix_invert(&m, matrix) < 0) { weston_log("ivi-shell: calc_inverse_matrix_transform fails to invert a matrix.\n"); weston_log("ivi-shell: boundingbox is set to the rect_output.\n"); rect_output->x = boundingbox->x; rect_output->y = boundingbox->y; rect_output->width = boundingbox->width; rect_output->height = boundingbox->height; } /* The vectors and matrices involved will always produce f[3] == 1.0. */ top_left.f[0] = rect_input->x; top_left.f[1] = rect_input->y; top_left.f[2] = 0.0f; top_left.f[3] = 1.0f; bottom_right.f[0] = rect_input->x + rect_input->width; bottom_right.f[1] = rect_input->y + rect_input->height; bottom_right.f[2] = 0.0f; bottom_right.f[3] = 1.0f; weston_matrix_transform(&m, &top_left); weston_matrix_transform(&m, &bottom_right); if (top_left.f[0] < bottom_right.f[0]) { rect_output->x = top_left.f[0]; rect_output->width = bottom_right.f[0] - rect_output->x; } else { rect_output->x = bottom_right.f[0]; rect_output->width = top_left.f[0] - rect_output->x; } if (top_left.f[1] < bottom_right.f[1]) { rect_output->y = top_left.f[1]; rect_output->height = bottom_right.f[1] - rect_output->y; } else { rect_output->y = bottom_right.f[1]; rect_output->height = top_left.f[1] - rect_output->y; } ivi_rectangle_intersect(rect_output, boundingbox, rect_output); } /** * This computes the whole transformation matrix:m from surface-local * coordinates to multi-screen coordinates, which are global coordinates. * It is assumed that weston_view::geometry.{x,y} are zero. * * Additionally, this computes the mask on surface-local coordinates as an * ivi_rectangle. This can be set to weston_view_set_mask. * * The mask is computed by following steps * - destination rectangle of layer is transformed to multi-screen coordinates, * global coordinates. This is done by adding weston_output.{x,y} in simple * because there is no scaled and rotated transformation. * - destination rectangle of layer in multi-screen coordinates needs to be * intersected inside of a screen the layer is assigned to. This is because * overlapped region of weston surface in another screen shall not be * displayed according to ivi use case. * - destination rectangle of layer * - in multi-screen coordinates, * - and intersected inside of an assigned screen, * is inversed to surface-local coordinates by inversed matrix:m. * - the area is intersected by intersected area between weston_surface and * source rectangle of ivi_surface. */ static void calc_surface_to_global_matrix_and_mask_to_weston_surface( struct ivi_layout_screen *iviscrn, struct ivi_layout_layer *ivilayer, struct ivi_layout_surface *ivisurf, struct weston_matrix *m, struct ivi_rectangle *result) { const struct ivi_layout_surface_properties *sp = &ivisurf->prop; const struct ivi_layout_layer_properties *lp = &ivilayer->prop; struct weston_output *output = iviscrn->output; struct ivi_rectangle weston_surface_rect = { 0, 0, ivisurf->surface->width, ivisurf->surface->height }; struct ivi_rectangle surface_source_rect = { sp->source_x, sp->source_y, sp->source_width, sp->source_height }; struct ivi_rectangle surface_dest_rect = { sp->dest_x, sp->dest_y, sp->dest_width, sp->dest_height }; struct ivi_rectangle layer_source_rect = { lp->source_x, lp->source_y, lp->source_width, lp->source_height }; struct ivi_rectangle layer_dest_rect = { lp->dest_x, lp->dest_y, lp->dest_width, lp->dest_height }; struct ivi_rectangle screen_dest_rect = { output->x, output->y, output->width, output->height }; struct ivi_rectangle layer_dest_rect_in_global = { lp->dest_x + output->x, lp->dest_y + output->y, lp->dest_width, lp->dest_height }; struct ivi_rectangle surface_result; struct ivi_rectangle layer_dest_rect_in_global_intersected; /* * the whole transformation matrix:m from surface-local * coordinates to global coordinates, which is computed by * two steps, * - surface-local coordinates to layer-local coordinates * - layer-local coordinates to single screen-local coordinates * - single screen-local coordinates to multi-screen coordinates, * which are global coordinates. */ calc_transformation_matrix(&surface_source_rect, &surface_dest_rect, m); calc_transformation_matrix(&layer_source_rect, &layer_dest_rect, m); weston_matrix_translate(m, output->x, output->y, 0.0f); /* this intersected ivi_rectangle would be used for masking * weston_surface */ ivi_rectangle_intersect(&surface_source_rect, &weston_surface_rect, &surface_result); /* * destination rectangle of layer in multi screens coordinate * is intersected to avoid displaying outside of an assigned screen. */ ivi_rectangle_intersect(&layer_dest_rect_in_global, &screen_dest_rect, &layer_dest_rect_in_global_intersected); /* calc masking area of weston_surface from m */ calc_inverse_matrix_transform(m, &layer_dest_rect_in_global_intersected, &surface_result, result); } static void update_prop(struct ivi_layout_view *ivi_view) { struct ivi_layout_surface *ivisurf = ivi_view->ivisurf; struct ivi_layout_layer *ivilayer = ivi_view->on_layer; struct ivi_layout_screen *iviscrn = ivilayer->on_screen; struct ivi_rectangle r; bool can_calc = true; /*In case of no prop change, this just returns*/ if (!ivilayer->prop.event_mask && !ivisurf->prop.event_mask) return; update_opacity(ivilayer, ivisurf, ivi_view->view); if (ivisurf->prop.source_width == 0 || ivisurf->prop.source_height == 0) { weston_log("ivi-shell: source rectangle is not yet set by ivi_layout_surface_set_source_rectangle\n"); can_calc = false; } if (ivisurf->prop.dest_width == 0 || ivisurf->prop.dest_height == 0) { weston_log("ivi-shell: destination rectangle is not yet set by ivi_layout_surface_set_destination_rectangle\n"); can_calc = false; } if (can_calc) { wl_list_remove(&ivi_view->transform.link); weston_matrix_init(&ivi_view->transform.matrix); calc_surface_to_global_matrix_and_mask_to_weston_surface( iviscrn, ivilayer, ivisurf, &ivi_view->transform.matrix, &r); weston_view_set_mask(ivi_view->view, r.x, r.y, r.width, r.height); wl_list_insert(&ivi_view->view->geometry.transformation_list, &ivi_view->transform.link); weston_view_set_transform_parent(ivi_view->view, NULL); } ivisurf->update_count++; weston_view_geometry_dirty(ivi_view->view); weston_surface_damage(ivisurf->surface); } static void commit_changes(struct ivi_layout *layout) { struct ivi_layout_screen *iviscrn = NULL; struct ivi_layout_layer *ivilayer = NULL; struct ivi_layout_surface *ivisurf = NULL; struct ivi_layout_view *ivi_view = NULL; wl_list_for_each(ivi_view, &layout->view_list, link) { ivisurf = ivi_view->ivisurf; ivilayer = ivi_view->on_layer; iviscrn = ivilayer->on_screen; /* * If the view is not on the currently rendered scenegraph, * we do not need to update its properties. */ if (wl_list_empty(&ivi_view->order_link) || !iviscrn) continue; /* * If the view's layer or surface is invisible, we do not need * to update its properties. */ if (!ivilayer->prop.visibility || !ivisurf->prop.visibility) { /* * If ivilayer or ivisurf of ivi_view is made invisible * in this commit_changes call, we have to damage * the weston_view below this ivi_view. Otherwise content * of this ivi_view will stay visible. */ if ((ivilayer->prop.event_mask | ivisurf->prop.event_mask) && IVI_NOTIFICATION_VISIBILITY) weston_view_damage_below(ivi_view->view); continue; } update_prop(ivi_view); } } static void commit_surface_list(struct ivi_layout *layout) { struct ivi_layout_surface *ivisurf = NULL; int32_t dest_x = 0; int32_t dest_y = 0; int32_t dest_width = 0; int32_t dest_height = 0; int32_t configured = 0; wl_list_for_each(ivisurf, &layout->surface_list, link) { if (ivisurf->pending.prop.transition_type == IVI_LAYOUT_TRANSITION_VIEW_DEFAULT) { dest_x = ivisurf->prop.dest_x; dest_y = ivisurf->prop.dest_y; dest_width = ivisurf->prop.dest_width; dest_height = ivisurf->prop.dest_height; ivi_layout_transition_move_resize_view(ivisurf, ivisurf->pending.prop.dest_x, ivisurf->pending.prop.dest_y, ivisurf->pending.prop.dest_width, ivisurf->pending.prop.dest_height, ivisurf->pending.prop.transition_duration); if (ivisurf->pending.prop.visibility) { ivi_layout_transition_visibility_on(ivisurf, ivisurf->pending.prop.transition_duration); } else { ivi_layout_transition_visibility_off(ivisurf, ivisurf->pending.prop.transition_duration); } ivisurf->prop = ivisurf->pending.prop; ivisurf->prop.dest_x = dest_x; ivisurf->prop.dest_y = dest_y; ivisurf->prop.dest_width = dest_width; ivisurf->prop.dest_height = dest_height; ivisurf->prop.transition_type = IVI_LAYOUT_TRANSITION_NONE; ivisurf->pending.prop.transition_type = IVI_LAYOUT_TRANSITION_NONE; } else if (ivisurf->pending.prop.transition_type == IVI_LAYOUT_TRANSITION_VIEW_DEST_RECT_ONLY) { dest_x = ivisurf->prop.dest_x; dest_y = ivisurf->prop.dest_y; dest_width = ivisurf->prop.dest_width; dest_height = ivisurf->prop.dest_height; ivi_layout_transition_move_resize_view(ivisurf, ivisurf->pending.prop.dest_x, ivisurf->pending.prop.dest_y, ivisurf->pending.prop.dest_width, ivisurf->pending.prop.dest_height, ivisurf->pending.prop.transition_duration); ivisurf->prop = ivisurf->pending.prop; ivisurf->prop.dest_x = dest_x; ivisurf->prop.dest_y = dest_y; ivisurf->prop.dest_width = dest_width; ivisurf->prop.dest_height = dest_height; ivisurf->prop.transition_type = IVI_LAYOUT_TRANSITION_NONE; ivisurf->pending.prop.transition_type = IVI_LAYOUT_TRANSITION_NONE; } else if (ivisurf->pending.prop.transition_type == IVI_LAYOUT_TRANSITION_VIEW_FADE_ONLY) { configured = 0; if (ivisurf->pending.prop.visibility) { ivi_layout_transition_visibility_on(ivisurf, ivisurf->pending.prop.transition_duration); } else { ivi_layout_transition_visibility_off(ivisurf, ivisurf->pending.prop.transition_duration); } if (ivisurf->prop.dest_width != ivisurf->pending.prop.dest_width || ivisurf->prop.dest_height != ivisurf->pending.prop.dest_height) { configured = 1; } ivisurf->prop = ivisurf->pending.prop; ivisurf->prop.transition_type = IVI_LAYOUT_TRANSITION_NONE; ivisurf->pending.prop.transition_type = IVI_LAYOUT_TRANSITION_NONE; if (configured && !is_surface_transition(ivisurf)) { shell_surface_send_configure(ivisurf->surface, ivisurf->prop.dest_width, ivisurf->prop.dest_height); } } else { configured = 0; if (ivisurf->prop.dest_width != ivisurf->pending.prop.dest_width || ivisurf->prop.dest_height != ivisurf->pending.prop.dest_height) { configured = 1; } ivisurf->prop = ivisurf->pending.prop; ivisurf->prop.transition_type = IVI_LAYOUT_TRANSITION_NONE; ivisurf->pending.prop.transition_type = IVI_LAYOUT_TRANSITION_NONE; if (configured && !is_surface_transition(ivisurf)) { shell_surface_send_configure(ivisurf->surface, ivisurf->prop.dest_width, ivisurf->prop.dest_height); } } } } static void commit_layer_list(struct ivi_layout *layout) { struct ivi_layout_view *ivi_view = NULL; struct ivi_layout_layer *ivilayer = NULL; struct ivi_layout_view *next = NULL; wl_list_for_each(ivilayer, &layout->layer_list, link) { if (ivilayer->pending.prop.transition_type == IVI_LAYOUT_TRANSITION_LAYER_MOVE) { ivi_layout_transition_move_layer(ivilayer, ivilayer->pending.prop.dest_x, ivilayer->pending.prop.dest_y, ivilayer->pending.prop.transition_duration); } else if (ivilayer->pending.prop.transition_type == IVI_LAYOUT_TRANSITION_LAYER_FADE) { ivi_layout_transition_fade_layer(ivilayer,ivilayer->pending.prop.is_fade_in, ivilayer->pending.prop.start_alpha,ivilayer->pending.prop.end_alpha, NULL, NULL, ivilayer->pending.prop.transition_duration); } ivilayer->pending.prop.transition_type = IVI_LAYOUT_TRANSITION_NONE; ivilayer->prop = ivilayer->pending.prop; if (!ivilayer->order.dirty) { continue; } wl_list_for_each_safe(ivi_view, next, &ivilayer->order.view_list, order_link) { wl_list_remove(&ivi_view->order_link); wl_list_init(&ivi_view->order_link); ivi_view->ivisurf->prop.event_mask |= IVI_NOTIFICATION_REMOVE; } assert(wl_list_empty(&ivilayer->order.view_list)); wl_list_for_each(ivi_view, &ivilayer->pending.view_list, pending_link) { wl_list_remove(&ivi_view->order_link); wl_list_insert(&ivilayer->order.view_list, &ivi_view->order_link); ivi_view->ivisurf->prop.event_mask |= IVI_NOTIFICATION_ADD; } ivilayer->order.dirty = 0; } } static void commit_screen_list(struct ivi_layout *layout) { struct ivi_layout_screen *iviscrn = NULL; struct ivi_layout_layer *ivilayer = NULL; struct ivi_layout_layer *next = NULL; struct ivi_layout_view *ivi_view = NULL; /* Clear view list of layout ivi_layer */ wl_list_init(&layout->layout_layer.view_list.link); wl_list_for_each(iviscrn, &layout->screen_list, link) { if (iviscrn->order.dirty) { wl_list_for_each_safe(ivilayer, next, &iviscrn->order.layer_list, order.link) { ivilayer->on_screen = NULL; wl_list_remove(&ivilayer->order.link); wl_list_init(&ivilayer->order.link); ivilayer->prop.event_mask |= IVI_NOTIFICATION_REMOVE; } assert(wl_list_empty(&iviscrn->order.layer_list)); wl_list_for_each(ivilayer, &iviscrn->pending.layer_list, pending.link) { /* FIXME: avoid to insert order.link to multiple screens */ wl_list_remove(&ivilayer->order.link); wl_list_insert(&iviscrn->order.layer_list, &ivilayer->order.link); ivilayer->on_screen = iviscrn; ivilayer->prop.event_mask |= IVI_NOTIFICATION_ADD; } iviscrn->order.dirty = 0; } wl_list_for_each(ivilayer, &iviscrn->order.layer_list, order.link) { if (ivilayer->prop.visibility == false) continue; wl_list_for_each(ivi_view, &ivilayer->order.view_list, order_link) { if (ivi_view->ivisurf->prop.visibility == false) continue; weston_layer_entry_insert(&layout->layout_layer.view_list, &ivi_view->view->layer_link); ivi_view->view->output = iviscrn->output; ivi_view->ivisurf->surface->is_mapped = true; ivi_view->view->is_mapped = true; } } } } static void commit_transition(struct ivi_layout* layout) { if (wl_list_empty(&layout->pending_transition_list)) { return; } wl_list_insert_list(&layout->transitions->transition_list, &layout->pending_transition_list); wl_list_init(&layout->pending_transition_list); wl_event_source_timer_update(layout->transitions->event_source, 1); } static void send_surface_prop(struct ivi_layout_surface *ivisurf) { wl_signal_emit(&ivisurf->property_changed, ivisurf); ivisurf->pending.prop.event_mask = 0; } static void send_layer_prop(struct ivi_layout_layer *ivilayer) { wl_signal_emit(&ivilayer->property_changed, ivilayer); ivilayer->pending.prop.event_mask = 0; } static void send_prop(struct ivi_layout *layout) { struct ivi_layout_layer *ivilayer = NULL; struct ivi_layout_surface *ivisurf = NULL; wl_list_for_each_reverse(ivilayer, &layout->layer_list, link) { if (ivilayer->prop.event_mask) send_layer_prop(ivilayer); } wl_list_for_each_reverse(ivisurf, &layout->surface_list, link) { if (ivisurf->prop.event_mask) send_surface_prop(ivisurf); } } static void clear_view_pending_list(struct ivi_layout_layer *ivilayer) { struct ivi_layout_view *view_link = NULL; struct ivi_layout_view *view_next = NULL; wl_list_for_each_safe(view_link, view_next, &ivilayer->pending.view_list, pending_link) { wl_list_remove(&view_link->pending_link); wl_list_init(&view_link->pending_link); } } /** * Exported APIs of ivi-layout library are implemented from here. * Brief of APIs is described in ivi-layout-export.h. */ static int32_t ivi_layout_add_listener_create_layer(struct wl_listener *listener) { struct ivi_layout *layout = get_instance(); if (listener == NULL) { weston_log("ivi_layout_add_listener_create_layer: invalid argument\n"); return IVI_FAILED; } wl_signal_add(&layout->layer_notification.created, listener); return IVI_SUCCEEDED; } static int32_t ivi_layout_add_listener_remove_layer(struct wl_listener *listener) { struct ivi_layout *layout = get_instance(); if (listener == NULL) { weston_log("ivi_layout_add_listener_remove_layer: invalid argument\n"); return IVI_FAILED; } wl_signal_add(&layout->layer_notification.removed, listener); return IVI_SUCCEEDED; } static int32_t ivi_layout_add_listener_create_surface(struct wl_listener *listener) { struct ivi_layout *layout = get_instance(); if (listener == NULL) { weston_log("ivi_layout_add_listener_create_surface: invalid argument\n"); return IVI_FAILED; } wl_signal_add(&layout->surface_notification.created, listener); return IVI_SUCCEEDED; } static int32_t ivi_layout_add_listener_remove_surface(struct wl_listener *listener) { struct ivi_layout *layout = get_instance(); if (listener == NULL) { weston_log("ivi_layout_add_listener_remove_surface: invalid argument\n"); return IVI_FAILED; } wl_signal_add(&layout->surface_notification.removed, listener); return IVI_SUCCEEDED; } static int32_t ivi_layout_add_listener_configure_surface(struct wl_listener *listener) { struct ivi_layout *layout = get_instance(); if (listener == NULL) { weston_log("ivi_layout_add_listener_configure_surface: invalid argument\n"); return IVI_FAILED; } wl_signal_add(&layout->surface_notification.configure_changed, listener); return IVI_SUCCEEDED; } uint32_t ivi_layout_get_id_of_surface(struct ivi_layout_surface *ivisurf) { return ivisurf->id_surface; } static uint32_t ivi_layout_get_id_of_layer(struct ivi_layout_layer *ivilayer) { return ivilayer->id_layer; } static struct ivi_layout_layer * ivi_layout_get_layer_from_id(uint32_t id_layer) { struct ivi_layout *layout = get_instance(); struct ivi_layout_layer *ivilayer = NULL; wl_list_for_each(ivilayer, &layout->layer_list, link) { if (ivilayer->id_layer == id_layer) { return ivilayer; } } return NULL; } struct ivi_layout_surface * ivi_layout_get_surface_from_id(uint32_t id_surface) { struct ivi_layout *layout = get_instance(); struct ivi_layout_surface *ivisurf = NULL; wl_list_for_each(ivisurf, &layout->surface_list, link) { if (ivisurf->id_surface == id_surface) { return ivisurf; } } return NULL; } static int32_t ivi_layout_surface_add_listener(struct ivi_layout_surface *ivisurf, struct wl_listener *listener) { if (ivisurf == NULL || listener == NULL) { weston_log("ivi_layout_surface_add_listener: invalid argument\n"); return IVI_FAILED; } wl_signal_add(&ivisurf->property_changed, listener); return IVI_SUCCEEDED; } static const struct ivi_layout_layer_properties * ivi_layout_get_properties_of_layer(struct ivi_layout_layer *ivilayer) { if (ivilayer == NULL) { weston_log("ivi_layout_get_properties_of_layer: invalid argument\n"); return NULL; } return &ivilayer->prop; } static int32_t ivi_layout_get_screens_under_layer(struct ivi_layout_layer *ivilayer, int32_t *pLength, struct weston_output ***ppArray) { int32_t length = 0; int32_t n = 0; if (ivilayer == NULL || pLength == NULL || ppArray == NULL) { weston_log("ivi_layout_get_screens_under_layer: invalid argument\n"); return IVI_FAILED; } if (ivilayer->on_screen != NULL) length = 1; if (length != 0) { /* the Array must be free by module which called this function */ *ppArray = calloc(length, sizeof(struct weston_output *)); if (*ppArray == NULL) { weston_log("fails to allocate memory\n"); return IVI_FAILED; } (*ppArray)[n++] = ivilayer->on_screen->output; } *pLength = length; return IVI_SUCCEEDED; } static int32_t ivi_layout_get_layers(int32_t *pLength, struct ivi_layout_layer ***ppArray) { struct ivi_layout *layout = get_instance(); struct ivi_layout_layer *ivilayer = NULL; int32_t length = 0; int32_t n = 0; if (pLength == NULL || ppArray == NULL) { weston_log("ivi_layout_get_layers: invalid argument\n"); return IVI_FAILED; } length = wl_list_length(&layout->layer_list); if (length != 0) { /* the Array must be freed by module which called this function */ *ppArray = calloc(length, sizeof(struct ivi_layout_layer *)); if (*ppArray == NULL) { weston_log("fails to allocate memory\n"); return IVI_FAILED; } wl_list_for_each(ivilayer, &layout->layer_list, link) { (*ppArray)[n++] = ivilayer; } } *pLength = length; return IVI_SUCCEEDED; } static int32_t ivi_layout_get_layers_on_screen(struct weston_output *output, int32_t *pLength, struct ivi_layout_layer ***ppArray) { struct ivi_layout_screen *iviscrn = NULL; struct ivi_layout_layer *ivilayer = NULL; int32_t length = 0; int32_t n = 0; if (output == NULL || pLength == NULL || ppArray == NULL) { weston_log("ivi_layout_get_layers_on_screen: invalid argument\n"); return IVI_FAILED; } iviscrn = get_screen_from_output(output); length = wl_list_length(&iviscrn->order.layer_list); if (length != 0) { /* the Array must be freed by module which called this function */ *ppArray = calloc(length, sizeof(struct ivi_layout_layer *)); if (*ppArray == NULL) { weston_log("fails to allocate memory\n"); return IVI_FAILED; } wl_list_for_each(ivilayer, &iviscrn->order.layer_list, order.link) { (*ppArray)[n++] = ivilayer; } } *pLength = length; return IVI_SUCCEEDED; } static int32_t ivi_layout_get_layers_under_surface(struct ivi_layout_surface *ivisurf, int32_t *pLength, struct ivi_layout_layer ***ppArray) { struct ivi_layout_view *ivi_view; int32_t length = 0; int32_t n = 0; if (ivisurf == NULL || pLength == NULL || ppArray == NULL) { weston_log("ivi_layout_getLayers: invalid argument\n"); return IVI_FAILED; } if (!wl_list_empty(&ivisurf->view_list)) { /* the Array must be free by module which called this function */ length = wl_list_length(&ivisurf->view_list); *ppArray = calloc(length, sizeof(struct ivi_layout_layer *)); if (*ppArray == NULL) { weston_log("fails to allocate memory\n"); return IVI_FAILED; } wl_list_for_each_reverse(ivi_view, &ivisurf->view_list, surf_link) { if (ivi_view_is_rendered(ivi_view)) (*ppArray)[n++] = ivi_view->on_layer; else length--; } } *pLength = length; if (!length) { free(*ppArray); *ppArray = NULL; } return IVI_SUCCEEDED; } static int32_t ivi_layout_get_surfaces(int32_t *pLength, struct ivi_layout_surface ***ppArray) { struct ivi_layout *layout = get_instance(); struct ivi_layout_surface *ivisurf = NULL; int32_t length = 0; int32_t n = 0; if (pLength == NULL || ppArray == NULL) { weston_log("ivi_layout_get_surfaces: invalid argument\n"); return IVI_FAILED; } length = wl_list_length(&layout->surface_list); if (length != 0) { /* the Array must be freed by module which called this function */ *ppArray = calloc(length, sizeof(struct ivi_layout_surface *)); if (*ppArray == NULL) { weston_log("fails to allocate memory\n"); return IVI_FAILED; } wl_list_for_each(ivisurf, &layout->surface_list, link) { (*ppArray)[n++] = ivisurf; } } *pLength = length; return IVI_SUCCEEDED; } static int32_t ivi_layout_get_surfaces_on_layer(struct ivi_layout_layer *ivilayer, int32_t *pLength, struct ivi_layout_surface ***ppArray) { struct ivi_layout_view *ivi_view = NULL; int32_t length = 0; int32_t n = 0; if (ivilayer == NULL || pLength == NULL || ppArray == NULL) { weston_log("ivi_layout_getSurfaceIDsOnLayer: invalid argument\n"); return IVI_FAILED; } length = wl_list_length(&ivilayer->order.view_list); if (length != 0) { /* the Array must be freed by module which called this function */ *ppArray = calloc(length, sizeof(struct ivi_layout_surface *)); if (*ppArray == NULL) { weston_log("fails to allocate memory\n"); return IVI_FAILED; } wl_list_for_each(ivi_view, &ivilayer->order.view_list, order_link) { (*ppArray)[n++] = ivi_view->ivisurf; } } *pLength = length; return IVI_SUCCEEDED; } static struct ivi_layout_layer * ivi_layout_layer_create_with_dimension(uint32_t id_layer, int32_t width, int32_t height) { struct ivi_layout *layout = get_instance(); struct ivi_layout_layer *ivilayer = NULL; ivilayer = get_layer(&layout->layer_list, id_layer); if (ivilayer != NULL) { weston_log("id_layer is already created\n"); ++ivilayer->ref_count; return ivilayer; } ivilayer = calloc(1, sizeof *ivilayer); if (ivilayer == NULL) { weston_log("fails to allocate memory\n"); return NULL; } ivilayer->ref_count = 1; wl_signal_init(&ivilayer->property_changed); ivilayer->layout = layout; ivilayer->id_layer = id_layer; init_layer_properties(&ivilayer->prop, width, height); wl_list_init(&ivilayer->pending.view_list); wl_list_init(&ivilayer->pending.link); ivilayer->pending.prop = ivilayer->prop; wl_list_init(&ivilayer->order.view_list); wl_list_init(&ivilayer->order.link); wl_list_insert(&layout->layer_list, &ivilayer->link); wl_signal_emit(&layout->layer_notification.created, ivilayer); return ivilayer; } static void ivi_layout_layer_destroy(struct ivi_layout_layer *ivilayer) { struct ivi_layout *layout = get_instance(); struct ivi_layout_view *ivi_view, *next; if (ivilayer == NULL) { weston_log("ivi_layout_layer_destroy: invalid argument\n"); return; } if (--ivilayer->ref_count > 0) return; /*Destroy all ivi_views*/ wl_list_for_each_safe(ivi_view, next, &layout->view_list, link) { if (ivi_view->on_layer == ivilayer) ivi_view_destroy(ivi_view); } wl_signal_emit(&layout->layer_notification.removed, ivilayer); wl_list_remove(&ivilayer->pending.link); wl_list_remove(&ivilayer->order.link); wl_list_remove(&ivilayer->link); free(ivilayer); } int32_t ivi_layout_layer_set_visibility(struct ivi_layout_layer *ivilayer, bool newVisibility) { struct ivi_layout_layer_properties *prop = NULL; if (ivilayer == NULL) { weston_log("ivi_layout_layer_set_visibility: invalid argument\n"); return IVI_FAILED; } prop = &ivilayer->pending.prop; prop->visibility = newVisibility; if (ivilayer->prop.visibility != newVisibility) prop->event_mask |= IVI_NOTIFICATION_VISIBILITY; else prop->event_mask &= ~IVI_NOTIFICATION_VISIBILITY; return IVI_SUCCEEDED; } int32_t ivi_layout_layer_set_opacity(struct ivi_layout_layer *ivilayer, wl_fixed_t opacity) { struct ivi_layout_layer_properties *prop = NULL; if (ivilayer == NULL || opacity < wl_fixed_from_double(0.0) || wl_fixed_from_double(1.0) < opacity) { weston_log("ivi_layout_layer_set_opacity: invalid argument\n"); return IVI_FAILED; } prop = &ivilayer->pending.prop; prop->opacity = opacity; if (ivilayer->prop.opacity != opacity) prop->event_mask |= IVI_NOTIFICATION_OPACITY; else prop->event_mask &= ~IVI_NOTIFICATION_OPACITY; return IVI_SUCCEEDED; } static int32_t ivi_layout_layer_set_source_rectangle(struct ivi_layout_layer *ivilayer, int32_t x, int32_t y, int32_t width, int32_t height) { struct ivi_layout_layer_properties *prop = NULL; if (ivilayer == NULL) { weston_log("ivi_layout_layer_set_source_rectangle: invalid argument\n"); return IVI_FAILED; } prop = &ivilayer->pending.prop; prop->source_x = x; prop->source_y = y; prop->source_width = width; prop->source_height = height; if (ivilayer->prop.source_x != x || ivilayer->prop.source_y != y || ivilayer->prop.source_width != width || ivilayer->prop.source_height != height) prop->event_mask |= IVI_NOTIFICATION_SOURCE_RECT; else prop->event_mask &= ~IVI_NOTIFICATION_SOURCE_RECT; return IVI_SUCCEEDED; } int32_t ivi_layout_layer_set_destination_rectangle(struct ivi_layout_layer *ivilayer, int32_t x, int32_t y, int32_t width, int32_t height) { struct ivi_layout_layer_properties *prop = NULL; if (ivilayer == NULL) { weston_log("ivi_layout_layer_set_destination_rectangle: invalid argument\n"); return IVI_FAILED; } prop = &ivilayer->pending.prop; prop->dest_x = x; prop->dest_y = y; prop->dest_width = width; prop->dest_height = height; if (ivilayer->prop.dest_x != x || ivilayer->prop.dest_y != y || ivilayer->prop.dest_width != width || ivilayer->prop.dest_height != height) prop->event_mask |= IVI_NOTIFICATION_DEST_RECT; else prop->event_mask &= ~IVI_NOTIFICATION_DEST_RECT; return IVI_SUCCEEDED; } int32_t ivi_layout_layer_set_render_order(struct ivi_layout_layer *ivilayer, struct ivi_layout_surface **pSurface, int32_t number) { int32_t i = 0; struct ivi_layout_view * ivi_view; if (ivilayer == NULL) { weston_log("ivi_layout_layer_set_render_order: invalid argument\n"); return IVI_FAILED; } clear_view_pending_list(ivilayer); for (i = 0; i < number; i++) { ivi_view = get_ivi_view(ivilayer, pSurface[i]); if (!ivi_view) ivi_view = ivi_view_create(ivilayer, pSurface[i]); assert(ivi_view != NULL); wl_list_remove(&ivi_view->pending_link); wl_list_insert(&ivilayer->pending.view_list, &ivi_view->pending_link); } ivilayer->order.dirty = 1; return IVI_SUCCEEDED; } int32_t ivi_layout_surface_set_visibility(struct ivi_layout_surface *ivisurf, bool newVisibility) { struct ivi_layout_surface_properties *prop = NULL; if (ivisurf == NULL) { weston_log("ivi_layout_surface_set_visibility: invalid argument\n"); return IVI_FAILED; } prop = &ivisurf->pending.prop; prop->visibility = newVisibility; if (ivisurf->prop.visibility != newVisibility) prop->event_mask |= IVI_NOTIFICATION_VISIBILITY; else prop->event_mask &= ~IVI_NOTIFICATION_VISIBILITY; return IVI_SUCCEEDED; } int32_t ivi_layout_surface_set_opacity(struct ivi_layout_surface *ivisurf, wl_fixed_t opacity) { struct ivi_layout_surface_properties *prop = NULL; if (ivisurf == NULL || opacity < wl_fixed_from_double(0.0) || wl_fixed_from_double(1.0) < opacity) { weston_log("ivi_layout_surface_set_opacity: invalid argument\n"); return IVI_FAILED; } prop = &ivisurf->pending.prop; prop->opacity = opacity; if (ivisurf->prop.opacity != opacity) prop->event_mask |= IVI_NOTIFICATION_OPACITY; else prop->event_mask &= ~IVI_NOTIFICATION_OPACITY; return IVI_SUCCEEDED; } int32_t ivi_layout_surface_set_destination_rectangle(struct ivi_layout_surface *ivisurf, int32_t x, int32_t y, int32_t width, int32_t height) { struct ivi_layout_surface_properties *prop = NULL; if (ivisurf == NULL) { weston_log("ivi_layout_surface_set_destination_rectangle: invalid argument\n"); return IVI_FAILED; } prop = &ivisurf->pending.prop; prop->start_x = prop->dest_x; prop->start_y = prop->dest_y; prop->dest_x = x; prop->dest_y = y; prop->start_width = prop->dest_width; prop->start_height = prop->dest_height; prop->dest_width = width; prop->dest_height = height; if (ivisurf->prop.dest_x != x || ivisurf->prop.dest_y != y || ivisurf->prop.dest_width != width || ivisurf->prop.dest_height != height) prop->event_mask |= IVI_NOTIFICATION_DEST_RECT; else prop->event_mask &= ~IVI_NOTIFICATION_DEST_RECT; return IVI_SUCCEEDED; } static int32_t ivi_layout_screen_add_layer(struct weston_output *output, struct ivi_layout_layer *addlayer) { struct ivi_layout_screen *iviscrn; if (output == NULL || addlayer == NULL) { weston_log("ivi_layout_screen_add_layer: invalid argument\n"); return IVI_FAILED; } iviscrn = get_screen_from_output(output); wl_list_remove(&addlayer->pending.link); wl_list_insert(&iviscrn->pending.layer_list, &addlayer->pending.link); iviscrn->order.dirty = 1; return IVI_SUCCEEDED; } static int32_t ivi_layout_screen_remove_layer(struct weston_output *output, struct ivi_layout_layer *removelayer) { struct ivi_layout_screen *iviscrn; if (output == NULL || removelayer == NULL) { weston_log("ivi_layout_screen_remove_layer: invalid argument\n"); return IVI_FAILED; } iviscrn = get_screen_from_output(output); wl_list_remove(&removelayer->pending.link); wl_list_init(&removelayer->pending.link); iviscrn->order.dirty = 1; return IVI_SUCCEEDED; } static int32_t ivi_layout_screen_set_render_order(struct weston_output *output, struct ivi_layout_layer **pLayer, const int32_t number) { struct ivi_layout_screen *iviscrn; struct ivi_layout_layer *ivilayer = NULL; struct ivi_layout_layer *next = NULL; int32_t i = 0; if (output == NULL) { weston_log("ivi_layout_screen_set_render_order: invalid argument\n"); return IVI_FAILED; } iviscrn = get_screen_from_output(output); wl_list_for_each_safe(ivilayer, next, &iviscrn->pending.layer_list, pending.link) { wl_list_remove(&ivilayer->pending.link); wl_list_init(&ivilayer->pending.link); } assert(wl_list_empty(&iviscrn->pending.layer_list)); for (i = 0; i < number; i++) { wl_list_remove(&pLayer[i]->pending.link); wl_list_insert(&iviscrn->pending.layer_list, &pLayer[i]->pending.link); } iviscrn->order.dirty = 1; return IVI_SUCCEEDED; } /** * This function is used by the additional ivi-module because of dumping ivi_surface sceenshot. * The ivi-module, e.g. ivi-controller.so, is in wayland-ivi-extension of Genivi's Layer Management. * This function is used to get the result of drawing by clients. */ static struct weston_surface * ivi_layout_surface_get_weston_surface(struct ivi_layout_surface *ivisurf) { return ivisurf != NULL ? ivisurf->surface : NULL; } static int32_t ivi_layout_surface_get_size(struct ivi_layout_surface *ivisurf, int32_t *width, int32_t *height, int32_t *stride) { int32_t w; int32_t h; const size_t bytespp = 4; /* PIXMAN_a8b8g8r8 */ if (ivisurf == NULL || ivisurf->surface == NULL) { weston_log("%s: invalid argument\n", __func__); return IVI_FAILED; } weston_surface_get_content_size(ivisurf->surface, &w, &h); if (width != NULL) *width = w; if (height != NULL) *height = h; if (stride != NULL) *stride = w * bytespp; return IVI_SUCCEEDED; } static int32_t ivi_layout_layer_add_listener(struct ivi_layout_layer *ivilayer, struct wl_listener *listener) { if (ivilayer == NULL || listener == NULL) { weston_log("ivi_layout_layer_add_listener: invalid argument\n"); return IVI_FAILED; } wl_signal_add(&ivilayer->property_changed, listener); return IVI_SUCCEEDED; } static const struct ivi_layout_surface_properties * ivi_layout_get_properties_of_surface(struct ivi_layout_surface *ivisurf) { if (ivisurf == NULL) { weston_log("ivi_layout_get_properties_of_surface: invalid argument\n"); return NULL; } return &ivisurf->prop; } static int32_t ivi_layout_layer_add_surface(struct ivi_layout_layer *ivilayer, struct ivi_layout_surface *addsurf) { struct ivi_layout_view *ivi_view; if (ivilayer == NULL || addsurf == NULL) { weston_log("ivi_layout_layer_add_surface: invalid argument\n"); return IVI_FAILED; } ivi_view = get_ivi_view(ivilayer, addsurf); if (!ivi_view) ivi_view = ivi_view_create(ivilayer, addsurf); wl_list_remove(&ivi_view->pending_link); wl_list_insert(&ivilayer->pending.view_list, &ivi_view->pending_link); ivilayer->order.dirty = 1; return IVI_SUCCEEDED; } static void ivi_layout_layer_remove_surface(struct ivi_layout_layer *ivilayer, struct ivi_layout_surface *remsurf) { struct ivi_layout_view *ivi_view; if (ivilayer == NULL || remsurf == NULL) { weston_log("ivi_layout_layer_remove_surface: invalid argument\n"); return; } ivi_view = get_ivi_view(ivilayer, remsurf); if (ivi_view) { wl_list_remove(&ivi_view->pending_link); wl_list_init(&ivi_view->pending_link); ivilayer->order.dirty = 1; } } static int32_t ivi_layout_surface_set_source_rectangle(struct ivi_layout_surface *ivisurf, int32_t x, int32_t y, int32_t width, int32_t height) { struct ivi_layout_surface_properties *prop = NULL; if (ivisurf == NULL) { weston_log("ivi_layout_surface_set_source_rectangle: invalid argument\n"); return IVI_FAILED; } prop = &ivisurf->pending.prop; prop->source_x = x; prop->source_y = y; prop->source_width = width; prop->source_height = height; if (ivisurf->prop.source_x != x || ivisurf->prop.source_y != y || ivisurf->prop.source_width != width || ivisurf->prop.source_height != height) prop->event_mask |= IVI_NOTIFICATION_SOURCE_RECT; else prop->event_mask &= ~IVI_NOTIFICATION_SOURCE_RECT; return IVI_SUCCEEDED; } int32_t ivi_layout_commit_changes(void) { struct ivi_layout *layout = get_instance(); commit_surface_list(layout); commit_layer_list(layout); commit_screen_list(layout); commit_transition(layout); commit_changes(layout); send_prop(layout); weston_compositor_schedule_repaint(layout->compositor); return IVI_SUCCEEDED; } static int32_t ivi_layout_layer_set_transition(struct ivi_layout_layer *ivilayer, enum ivi_layout_transition_type type, uint32_t duration) { if (ivilayer == NULL) { weston_log("%s: invalid argument\n", __func__); return -1; } ivilayer->pending.prop.transition_type = type; ivilayer->pending.prop.transition_duration = duration; return 0; } static int32_t ivi_layout_layer_set_fade_info(struct ivi_layout_layer* ivilayer, uint32_t is_fade_in, double start_alpha, double end_alpha) { if (ivilayer == NULL) { weston_log("%s: invalid argument\n", __func__); return -1; } ivilayer->pending.prop.is_fade_in = is_fade_in; ivilayer->pending.prop.start_alpha = start_alpha; ivilayer->pending.prop.end_alpha = end_alpha; return 0; } static int32_t ivi_layout_surface_set_transition_duration(struct ivi_layout_surface *ivisurf, uint32_t duration) { struct ivi_layout_surface_properties *prop; if (ivisurf == NULL) { weston_log("%s: invalid argument\n", __func__); return -1; } prop = &ivisurf->pending.prop; prop->transition_duration = duration*10; return 0; } static int32_t ivi_layout_surface_set_transition(struct ivi_layout_surface *ivisurf, enum ivi_layout_transition_type type, uint32_t duration) { struct ivi_layout_surface_properties *prop; if (ivisurf == NULL) { weston_log("%s: invalid argument\n", __func__); return -1; } prop = &ivisurf->pending.prop; prop->transition_type = type; prop->transition_duration = duration; return 0; } static int32_t ivi_layout_surface_dump(struct weston_surface *surface, void *target, size_t size,int32_t x, int32_t y, int32_t width, int32_t height) { int result = 0; if (surface == NULL) { weston_log("%s: invalid argument\n", __func__); return IVI_FAILED; } result = weston_surface_copy_content( surface, target, size, x, y, width, height); return result == 0 ? IVI_SUCCEEDED : IVI_FAILED; } /** * methods of interaction between ivi-shell with ivi-layout */ void ivi_layout_surface_configure(struct ivi_layout_surface *ivisurf, int32_t width, int32_t height) { struct ivi_layout *layout = get_instance(); /* emit callback which is set by ivi-layout api user */ wl_signal_emit(&layout->surface_notification.configure_changed, ivisurf); } struct ivi_layout_surface* ivi_layout_surface_create(struct weston_surface *wl_surface, uint32_t id_surface) { struct ivi_layout *layout = get_instance(); struct ivi_layout_surface *ivisurf = NULL; if (wl_surface == NULL) { weston_log("ivi_layout_surface_create: invalid argument\n"); return NULL; } ivisurf = get_surface(&layout->surface_list, id_surface); if (ivisurf != NULL) { if (ivisurf->surface != NULL) { weston_log("id_surface(%d) is already created\n", id_surface); return NULL; } } ivisurf = calloc(1, sizeof *ivisurf); if (ivisurf == NULL) { weston_log("fails to allocate memory\n"); return NULL; } wl_signal_init(&ivisurf->property_changed); ivisurf->id_surface = id_surface; ivisurf->layout = layout; ivisurf->surface = wl_surface; ivisurf->surface->width_from_buffer = 0; ivisurf->surface->height_from_buffer = 0; init_surface_properties(&ivisurf->prop); ivisurf->pending.prop = ivisurf->prop; wl_list_init(&ivisurf->view_list); wl_list_insert(&layout->surface_list, &ivisurf->link); wl_signal_emit(&layout->surface_notification.created, ivisurf); return ivisurf; } void ivi_layout_init_with_compositor(struct weston_compositor *ec) { struct ivi_layout *layout = get_instance(); layout->compositor = ec; wl_list_init(&layout->surface_list); wl_list_init(&layout->layer_list); wl_list_init(&layout->screen_list); wl_list_init(&layout->view_list); wl_signal_init(&layout->layer_notification.created); wl_signal_init(&layout->layer_notification.removed); wl_signal_init(&layout->surface_notification.created); wl_signal_init(&layout->surface_notification.removed); wl_signal_init(&layout->surface_notification.configure_changed); /* Add layout_layer at the last of weston_compositor.layer_list */ weston_layer_init(&layout->layout_layer, ec); weston_layer_set_position(&layout->layout_layer, WESTON_LAYER_POSITION_NORMAL); create_screen(ec); layout->transitions = ivi_layout_transition_set_create(ec); wl_list_init(&layout->pending_transition_list); } static struct ivi_layout_interface ivi_layout_interface = { /** * commit all changes */ .commit_changes = ivi_layout_commit_changes, /** * surface controller interfaces */ .add_listener_create_surface = ivi_layout_add_listener_create_surface, .add_listener_remove_surface = ivi_layout_add_listener_remove_surface, .add_listener_configure_surface = ivi_layout_add_listener_configure_surface, .get_surface = shell_get_ivi_layout_surface, .get_surfaces = ivi_layout_get_surfaces, .get_id_of_surface = ivi_layout_get_id_of_surface, .get_surface_from_id = ivi_layout_get_surface_from_id, .get_properties_of_surface = ivi_layout_get_properties_of_surface, .get_surfaces_on_layer = ivi_layout_get_surfaces_on_layer, .surface_set_visibility = ivi_layout_surface_set_visibility, .surface_set_opacity = ivi_layout_surface_set_opacity, .surface_set_source_rectangle = ivi_layout_surface_set_source_rectangle, .surface_set_destination_rectangle = ivi_layout_surface_set_destination_rectangle, .surface_add_listener = ivi_layout_surface_add_listener, .surface_get_weston_surface = ivi_layout_surface_get_weston_surface, .surface_set_transition = ivi_layout_surface_set_transition, .surface_set_transition_duration = ivi_layout_surface_set_transition_duration, /** * layer controller interfaces */ .add_listener_create_layer = ivi_layout_add_listener_create_layer, .add_listener_remove_layer = ivi_layout_add_listener_remove_layer, .layer_create_with_dimension = ivi_layout_layer_create_with_dimension, .layer_destroy = ivi_layout_layer_destroy, .get_layers = ivi_layout_get_layers, .get_id_of_layer = ivi_layout_get_id_of_layer, .get_layer_from_id = ivi_layout_get_layer_from_id, .get_properties_of_layer = ivi_layout_get_properties_of_layer, .get_layers_under_surface = ivi_layout_get_layers_under_surface, .get_layers_on_screen = ivi_layout_get_layers_on_screen, .layer_set_visibility = ivi_layout_layer_set_visibility, .layer_set_opacity = ivi_layout_layer_set_opacity, .layer_set_source_rectangle = ivi_layout_layer_set_source_rectangle, .layer_set_destination_rectangle = ivi_layout_layer_set_destination_rectangle, .layer_add_surface = ivi_layout_layer_add_surface, .layer_remove_surface = ivi_layout_layer_remove_surface, .layer_set_render_order = ivi_layout_layer_set_render_order, .layer_add_listener = ivi_layout_layer_add_listener, .layer_set_transition = ivi_layout_layer_set_transition, /** * screen controller interfaces */ .get_screens_under_layer = ivi_layout_get_screens_under_layer, .screen_add_layer = ivi_layout_screen_add_layer, .screen_remove_layer = ivi_layout_screen_remove_layer, .screen_set_render_order = ivi_layout_screen_set_render_order, /** * animation */ .transition_move_layer_cancel = ivi_layout_transition_move_layer_cancel, .layer_set_fade_info = ivi_layout_layer_set_fade_info, /** * surface content dumping for debugging */ .surface_get_size = ivi_layout_surface_get_size, .surface_dump = ivi_layout_surface_dump, }; int load_controller_modules(struct weston_compositor *compositor, const char *modules, int *argc, char *argv[]) { const char *p, *end; char buffer[256]; int (*controller_module_init)(struct weston_compositor *compositor, int *argc, char *argv[], const struct ivi_layout_interface *interface, size_t interface_version); if (modules == NULL) return 0; p = modules; while (*p) { end = strchrnul(p, ','); snprintf(buffer, sizeof buffer, "%.*s", (int)(end - p), p); controller_module_init = wet_load_module_entrypoint(buffer, "controller_module_init"); if (!controller_module_init) return -1; if (controller_module_init(compositor, argc, argv, &ivi_layout_interface, sizeof(struct ivi_layout_interface)) != 0) { weston_log("ivi-shell: Initialization of controller module fails"); return -1; } p = end; while (*p == ',') p++; } return 0; } weston-3.0.0/ivi-shell/ivi-layout-private.h0000664000175000017500000001353313142404577015607 00000000000000/* * Copyright (C) 2014 DENSO CORPORATION * * 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 (including the * next paragraph) 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. */ #ifndef _ivi_layout_PRIVATE_H_ #define _ivi_layout_PRIVATE_H_ #include #include "compositor.h" #include "ivi-layout-export.h" struct ivi_layout_view { struct wl_list link; /* ivi_layout::view_list */ struct wl_list surf_link; /*ivi_layout_surface::view_list */ struct wl_list pending_link; /* ivi_layout_layer::pending.view_list */ struct wl_list order_link; /* ivi_layout_layer::order.view_list */ struct weston_view *view; struct weston_transform transform; struct ivi_layout_surface *ivisurf; struct ivi_layout_layer *on_layer; }; struct ivi_layout_surface { struct wl_list link; /* ivi_layout::surface_list */ struct wl_signal property_changed; int32_t update_count; uint32_t id_surface; struct ivi_layout *layout; struct weston_surface *surface; struct ivi_layout_surface_properties prop; struct { struct ivi_layout_surface_properties prop; } pending; struct wl_list view_list; /* ivi_layout_view::surf_link */ }; struct ivi_layout_layer { struct wl_list link; /* ivi_layout::layer_list */ struct wl_signal property_changed; uint32_t id_layer; struct ivi_layout *layout; struct ivi_layout_screen *on_screen; struct ivi_layout_layer_properties prop; struct { struct ivi_layout_layer_properties prop; struct wl_list view_list; /* ivi_layout_view::pending_link */ struct wl_list link; /* ivi_layout_screen::pending.layer_list */ } pending; struct { int dirty; struct wl_list view_list; /* ivi_layout_view::order_link */ struct wl_list link; /* ivi_layout_screen::order.layer_list */ } order; int32_t ref_count; }; struct ivi_layout { struct weston_compositor *compositor; struct wl_list surface_list; /* ivi_layout_surface::link */ struct wl_list layer_list; /* ivi_layout_layer::link */ struct wl_list screen_list; /* ivi_layout_screen::link */ struct wl_list view_list; /* ivi_layout_view::link */ struct { struct wl_signal created; struct wl_signal removed; } layer_notification; struct { struct wl_signal created; struct wl_signal removed; struct wl_signal configure_changed; } surface_notification; struct weston_layer layout_layer; struct ivi_layout_transition_set *transitions; struct wl_list pending_transition_list; /* transition_node::link */ }; struct ivi_layout *get_instance(void); struct ivi_layout_transition; struct ivi_layout_transition_set { struct wl_event_source *event_source; struct wl_list transition_list; }; typedef void (*ivi_layout_transition_destroy_user_func)(void *user_data); struct ivi_layout_transition_set * ivi_layout_transition_set_create(struct weston_compositor *ec); void ivi_layout_transition_move_resize_view(struct ivi_layout_surface *surface, int32_t dest_x, int32_t dest_y, int32_t dest_width, int32_t dest_height, uint32_t duration); void ivi_layout_transition_visibility_on(struct ivi_layout_surface *surface, uint32_t duration); void ivi_layout_transition_visibility_off(struct ivi_layout_surface *surface, uint32_t duration); void ivi_layout_transition_move_layer(struct ivi_layout_layer *layer, int32_t dest_x, int32_t dest_y, uint32_t duration); void ivi_layout_transition_fade_layer(struct ivi_layout_layer *layer, uint32_t is_fade_in, double start_alpha, double end_alpha, void *user_data, ivi_layout_transition_destroy_user_func destroy_func, uint32_t duration); int32_t is_surface_transition(struct ivi_layout_surface *surface); void ivi_layout_remove_all_surface_transitions(struct ivi_layout_surface *surface); /** * methods of interaction between transition animation with ivi-layout */ int32_t ivi_layout_commit_changes(void); uint32_t ivi_layout_get_id_of_surface(struct ivi_layout_surface *ivisurf); int32_t ivi_layout_surface_set_destination_rectangle(struct ivi_layout_surface *ivisurf, int32_t x, int32_t y, int32_t width, int32_t height); int32_t ivi_layout_surface_set_opacity(struct ivi_layout_surface *ivisurf, wl_fixed_t opacity); int32_t ivi_layout_surface_set_visibility(struct ivi_layout_surface *ivisurf, bool newVisibility); struct ivi_layout_surface * ivi_layout_get_surface_from_id(uint32_t id_surface); int32_t ivi_layout_layer_set_opacity(struct ivi_layout_layer *ivilayer, wl_fixed_t opacity); int32_t ivi_layout_layer_set_visibility(struct ivi_layout_layer *ivilayer, bool newVisibility); int32_t ivi_layout_layer_set_destination_rectangle(struct ivi_layout_layer *ivilayer, int32_t x, int32_t y, int32_t width, int32_t height); int32_t ivi_layout_layer_set_render_order(struct ivi_layout_layer *ivilayer, struct ivi_layout_surface **pSurface, int32_t number); void ivi_layout_transition_move_layer_cancel(struct ivi_layout_layer *layer); #endif weston-3.0.0/ivi-shell/hmi-controller.c0000664000175000017500000016003613142404577014767 00000000000000/* * Copyright (C) 2014 DENSO CORPORATION * * 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 (including the * next paragraph) 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. */ /** * A reference implementation how to use ivi-layout APIs in order to manage * layout of ivi_surfaces/ivi_layers. Layout change is triggered by * ivi-hmi-controller protocol, ivi-hmi-controller.xml. A reference how to * use the protocol, see hmi-controller-homescreen. * * In-Vehicle Infotainment system usually manage properties of * ivi_surfaces/ivi_layers by only a central component which decide where * ivi_surfaces/ivi_layers shall be. This reference show examples to * implement the central component as a module of weston. * * Default Scene graph of UI is defined in hmi_controller_create. It * consists of * - In the bottom, a base ivi_layer to group ivi_surfaces of background, * panel, and buttons * - Next, an application ivi_layer to show application ivi_surfaces. * - Workspace background ivi_layer to show a ivi_surface of background image. * - Workspace ivi_layer to show launcher to launch application with icons. * Paths to binary and icon are defined in weston.ini. The width of this * ivi_layer is longer than the size of ivi_screen because a workspace has * several pages and is controlled by motion of input. * * TODO: animation method shall be refined * TODO: support fade-in when UI is ready */ #include #include #include #include #include #include #include #include #include #include "ivi-layout-export.h" #include "ivi-hmi-controller-server-protocol.h" #include "shared/helpers.h" #include "shared/xalloc.h" #include "compositor/weston.h" /***************************************************************************** * structure, globals ****************************************************************************/ struct hmi_controller_layer { struct ivi_layout_layer *ivilayer; uint32_t id_layer; int32_t x; int32_t y; int32_t width; int32_t height; struct wl_list link; }; struct link_layer { struct ivi_layout_layer *layout_layer; struct wl_list link; }; struct hmi_controller_fade { uint32_t is_fade_in; struct wl_list layer_list; }; struct hmi_server_setting { uint32_t base_layer_id; uint32_t application_layer_id; uint32_t workspace_background_layer_id; uint32_t workspace_layer_id; uint32_t base_layer_id_offset; int32_t panel_height; uint32_t transition_duration; char *ivi_homescreen; }; struct ui_setting { uint32_t background_id; uint32_t panel_id; uint32_t tiling_id; uint32_t sidebyside_id; uint32_t fullscreen_id; uint32_t random_id; uint32_t home_id; uint32_t workspace_background_id; uint32_t surface_id_offset; }; struct hmi_controller { struct hmi_server_setting *hmi_setting; /* List of struct hmi_controller_layer */ struct wl_list base_layer_list; struct wl_list application_layer_list; struct hmi_controller_layer workspace_background_layer; struct hmi_controller_layer workspace_layer; enum ivi_hmi_controller_layout_mode layout_mode; struct hmi_controller_fade workspace_fade; int32_t workspace_count; struct wl_array ui_widgets; int32_t is_initialized; struct weston_compositor *compositor; struct wl_listener destroy_listener; struct wl_listener surface_created; struct wl_listener surface_removed; struct wl_listener surface_configured; struct wl_client *user_interface; struct ui_setting ui_setting; struct weston_output * workspace_background_output; int32_t screen_num; }; struct launcher_info { uint32_t surface_id; uint32_t workspace_id; int32_t index; }; const struct ivi_layout_interface *ivi_layout_interface; int controller_module_init(struct weston_compositor *ec, int *argc, char *argv[], const struct ivi_layout_interface *interface, size_t interface_version); /***************************************************************************** * local functions ****************************************************************************/ static void * mem_alloc(size_t size, char *file, int32_t line) { return fail_on_null(calloc(1, size), size, file, line); } #define MEM_ALLOC(s) mem_alloc((s),__FILE__,__LINE__) static int32_t is_surf_in_ui_widget(struct hmi_controller *hmi_ctrl, struct ivi_layout_surface *ivisurf) { uint32_t id = ivi_layout_interface->get_id_of_surface(ivisurf); uint32_t *ui_widget_id = NULL; wl_array_for_each(ui_widget_id, &hmi_ctrl->ui_widgets) { if (*ui_widget_id == id) return 1; } return 0; } static int compare_launcher_info(const void *lhs, const void *rhs) { const struct launcher_info *left = lhs; const struct launcher_info *right = rhs; if (left->workspace_id < right->workspace_id) return -1; if (left->workspace_id > right->workspace_id) return 1; if (left->index < right->index) return -1; if (left->index > right->index) return 1; return 0; } /** * Internal methods called by mainly ivi_hmi_controller_switch_mode * This reference shows 4 examples how to use ivi_layout APIs. */ static void mode_divided_into_tiling(struct hmi_controller *hmi_ctrl, struct ivi_layout_surface **pp_surface, int32_t surface_length, struct wl_list *layer_list) { struct hmi_controller_layer *layer = wl_container_of(layer_list->prev, layer, link); const float surface_width = (float)layer->width * 0.25; const float surface_height = (float)layer->height * 0.5; int32_t surface_x = 0; int32_t surface_y = 0; struct ivi_layout_surface *ivisurf = NULL; struct ivi_layout_surface **surfaces; struct ivi_layout_surface **new_order; const uint32_t duration = hmi_ctrl->hmi_setting->transition_duration; struct ivi_layout_layer *ivilayer = NULL; int32_t i = 0; int32_t surf_num = 0; int32_t idx = 0; surfaces = MEM_ALLOC(sizeof(*surfaces) * surface_length); new_order = MEM_ALLOC(sizeof(*surfaces) * surface_length); for (i = 0; i < surface_length; i++) { ivisurf = pp_surface[i]; /* skip ui widgets */ if (is_surf_in_ui_widget(hmi_ctrl, ivisurf)) continue; surfaces[surf_num++] = ivisurf; } wl_list_for_each_reverse(layer, layer_list, link) { if (idx >= surf_num) break; ivilayer = layer->ivilayer; for (i = 0; i < 8; i++, idx++) { if (idx >= surf_num) break; ivisurf = surfaces[idx]; new_order[i] = ivisurf; if (i < 4) { surface_x = (int32_t)(i * (surface_width)); surface_y = 0; } else { surface_x = (int32_t)((i - 4) * (surface_width)); surface_y = (int32_t)surface_height; } ivi_layout_interface->surface_set_transition(ivisurf, IVI_LAYOUT_TRANSITION_VIEW_DEFAULT, duration); ivi_layout_interface->surface_set_visibility(ivisurf, true); ivi_layout_interface->surface_set_destination_rectangle(ivisurf, surface_x, surface_y, (int32_t)surface_width, (int32_t)surface_height); } ivi_layout_interface->layer_set_render_order(ivilayer, new_order, i); ivi_layout_interface->layer_set_transition(ivilayer, IVI_LAYOUT_TRANSITION_LAYER_VIEW_ORDER, duration); } for (i = idx; i < surf_num; i++) ivi_layout_interface->surface_set_visibility(surfaces[i], false); free(surfaces); free(new_order); } static void mode_divided_into_sidebyside(struct hmi_controller *hmi_ctrl, struct ivi_layout_surface **pp_surface, int32_t surface_length, struct wl_list *layer_list) { struct hmi_controller_layer *layer = wl_container_of(layer_list->prev, layer, link); int32_t surface_width = layer->width / 2; int32_t surface_height = layer->height; struct ivi_layout_surface *ivisurf = NULL; const uint32_t duration = hmi_ctrl->hmi_setting->transition_duration; int32_t i = 0; struct ivi_layout_surface **surfaces; struct ivi_layout_surface **new_order; struct ivi_layout_layer *ivilayer = NULL; int32_t surf_num = 0; int32_t idx = 0; surfaces = MEM_ALLOC(sizeof(*surfaces) * surface_length); new_order = MEM_ALLOC(sizeof(*surfaces) * surface_length); for (i = 0; i < surface_length; i++) { ivisurf = pp_surface[i]; /* skip ui widgets */ if (is_surf_in_ui_widget(hmi_ctrl, ivisurf)) continue; surfaces[surf_num++] = ivisurf; } wl_list_for_each_reverse(layer, layer_list, link) { if (idx >= surf_num) break; ivilayer = layer->ivilayer; for (i = 0; i < 2; i++, idx++) { if (idx >= surf_num) break; ivisurf = surfaces[idx]; new_order[i] = ivisurf; ivi_layout_interface->surface_set_transition(ivisurf, IVI_LAYOUT_TRANSITION_VIEW_DEFAULT, duration); ivi_layout_interface->surface_set_visibility(ivisurf, true); ivi_layout_interface->surface_set_destination_rectangle(ivisurf, i * surface_width, 0, surface_width, surface_height); } ivi_layout_interface->layer_set_render_order(ivilayer, new_order, i); } for (i = idx; i < surf_num; i++) { ivi_layout_interface->surface_set_transition(surfaces[i], IVI_LAYOUT_TRANSITION_VIEW_FADE_ONLY, duration); ivi_layout_interface->surface_set_visibility(surfaces[i], false); } free(surfaces); free(new_order); } static void mode_fullscreen_someone(struct hmi_controller *hmi_ctrl, struct ivi_layout_surface **pp_surface, int32_t surface_length, struct wl_list *layer_list) { struct hmi_controller_layer *layer = wl_container_of(layer_list->prev, layer, link); const int32_t surface_width = layer->width; const int32_t surface_height = layer->height; struct ivi_layout_surface *ivisurf = NULL; int32_t i = 0; const uint32_t duration = hmi_ctrl->hmi_setting->transition_duration; int32_t surf_num = 0; struct ivi_layout_surface **surfaces; surfaces = MEM_ALLOC(sizeof(*surfaces) * surface_length); for (i = 0; i < surface_length; i++) { ivisurf = pp_surface[i]; /* skip ui widgets */ if (is_surf_in_ui_widget(hmi_ctrl, ivisurf)) continue; surfaces[surf_num++] = ivisurf; } ivi_layout_interface->layer_set_render_order(layer->ivilayer, surfaces, surf_num); for (i = 0; i < surf_num; i++) { ivisurf = surfaces[i]; if ((i > 0) && (i < hmi_ctrl->screen_num)) { layer = wl_container_of(layer->link.prev, layer, link); ivi_layout_interface->layer_set_render_order(layer->ivilayer, &ivisurf, 1); } ivi_layout_interface->surface_set_transition(ivisurf, IVI_LAYOUT_TRANSITION_VIEW_DEFAULT, duration); ivi_layout_interface->surface_set_visibility(ivisurf, true); ivi_layout_interface->surface_set_destination_rectangle(ivisurf, 0, 0, surface_width, surface_height); } free(surfaces); } static void mode_random_replace(struct hmi_controller *hmi_ctrl, struct ivi_layout_surface **pp_surface, int32_t surface_length, struct wl_list *layer_list) { struct hmi_controller_layer *application_layer = NULL; struct hmi_controller_layer **layers = NULL; int32_t surface_width = 0; int32_t surface_height = 0; int32_t surface_x = 0; int32_t surface_y = 0; struct ivi_layout_surface *ivisurf = NULL; const uint32_t duration = hmi_ctrl->hmi_setting->transition_duration; int32_t i = 0; int32_t layer_idx = 0; layers = MEM_ALLOC(sizeof(*layers) * hmi_ctrl->screen_num); wl_list_for_each(application_layer, layer_list, link) { layers[layer_idx] = application_layer; layer_idx++; } for (i = 0; i < surface_length; i++) { ivisurf = pp_surface[i]; /* skip ui widgets */ if (is_surf_in_ui_widget(hmi_ctrl, ivisurf)) continue; /* surface determined at random a layer that belongs */ layer_idx = rand() % hmi_ctrl->screen_num; ivi_layout_interface->surface_set_transition(ivisurf, IVI_LAYOUT_TRANSITION_VIEW_DEFAULT, duration); ivi_layout_interface->surface_set_visibility(ivisurf, true); surface_width = (int32_t)(layers[layer_idx]->width * 0.25f); surface_height = (int32_t)(layers[layer_idx]->height * 0.25f); surface_x = rand() % (layers[layer_idx]->width - surface_width); surface_y = rand() % (layers[layer_idx]->height - surface_height); ivi_layout_interface->surface_set_destination_rectangle(ivisurf, surface_x, surface_y, surface_width, surface_height); ivi_layout_interface->layer_add_surface(layers[layer_idx]->ivilayer, ivisurf); } free(layers); } static int32_t has_application_surface(struct hmi_controller *hmi_ctrl, struct ivi_layout_surface **pp_surface, int32_t surface_length) { struct ivi_layout_surface *ivisurf = NULL; int32_t i = 0; for (i = 0; i < surface_length; i++) { ivisurf = pp_surface[i]; /* skip ui widgets */ if (is_surf_in_ui_widget(hmi_ctrl, ivisurf)) continue; return 1; } return 0; } /** * Supports 4 example to layout of application ivi_surfaces; * tiling, side by side, fullscreen, and random. */ static void switch_mode(struct hmi_controller *hmi_ctrl, enum ivi_hmi_controller_layout_mode layout_mode) { struct wl_list *layer = &hmi_ctrl->application_layer_list; struct ivi_layout_surface **pp_surface = NULL; int32_t surface_length = 0; int32_t ret = 0; if (!hmi_ctrl->is_initialized) return; hmi_ctrl->layout_mode = layout_mode; ret = ivi_layout_interface->get_surfaces(&surface_length, &pp_surface); assert(!ret); if (!has_application_surface(hmi_ctrl, pp_surface, surface_length)) { free(pp_surface); pp_surface = NULL; return; } switch (layout_mode) { case IVI_HMI_CONTROLLER_LAYOUT_MODE_TILING: mode_divided_into_tiling(hmi_ctrl, pp_surface, surface_length, layer); break; case IVI_HMI_CONTROLLER_LAYOUT_MODE_SIDE_BY_SIDE: mode_divided_into_sidebyside(hmi_ctrl, pp_surface, surface_length, layer); break; case IVI_HMI_CONTROLLER_LAYOUT_MODE_FULL_SCREEN: mode_fullscreen_someone(hmi_ctrl, pp_surface, surface_length, layer); break; case IVI_HMI_CONTROLLER_LAYOUT_MODE_RANDOM: mode_random_replace(hmi_ctrl, pp_surface, surface_length, layer); break; } ivi_layout_interface->commit_changes(); free(pp_surface); } /** * Internal method for transition */ static void hmi_controller_fade_run(struct hmi_controller *hmi_ctrl, uint32_t is_fade_in, struct hmi_controller_fade *fade) { double tint = is_fade_in ? 1.0 : 0.0; struct link_layer *linklayer = NULL; const uint32_t duration = hmi_ctrl->hmi_setting->transition_duration; fade->is_fade_in = is_fade_in; wl_list_for_each(linklayer, &fade->layer_list, link) { ivi_layout_interface->layer_set_transition(linklayer->layout_layer, IVI_LAYOUT_TRANSITION_LAYER_FADE, duration); ivi_layout_interface->layer_set_fade_info(linklayer->layout_layer, is_fade_in, 1.0 - tint, tint); } } /** * Internal method to create ivi_layer with hmi_controller_layer and * add to a weston_output */ static void create_layer(struct weston_output *output, struct hmi_controller_layer *layer) { int32_t ret = 0; layer->ivilayer = ivi_layout_interface->layer_create_with_dimension(layer->id_layer, layer->width, layer->height); assert(layer->ivilayer != NULL); ret = ivi_layout_interface->screen_add_layer(output, layer->ivilayer); assert(!ret); ret = ivi_layout_interface->layer_set_destination_rectangle(layer->ivilayer, layer->x, layer->y, layer->width, layer->height); assert(!ret); ret = ivi_layout_interface->layer_set_visibility(layer->ivilayer, true); assert(!ret); } /** * Internal set notification */ static void set_notification_create_surface(struct wl_listener *listener, void *data) { struct hmi_controller *hmi_ctrl = wl_container_of(listener, hmi_ctrl, surface_created); struct ivi_layout_surface *ivisurf = data; struct hmi_controller_layer *layer_link = wl_container_of(hmi_ctrl->application_layer_list.prev, layer_link, link); struct ivi_layout_layer *application_layer = layer_link->ivilayer; int32_t ret = 0; /* skip ui widgets */ if (is_surf_in_ui_widget(hmi_ctrl, ivisurf)) return; ret = ivi_layout_interface->layer_add_surface(application_layer, ivisurf); assert(!ret); } static void set_notification_remove_surface(struct wl_listener *listener, void *data) { struct hmi_controller *hmi_ctrl = wl_container_of(listener, hmi_ctrl, surface_removed); (void)data; switch_mode(hmi_ctrl, hmi_ctrl->layout_mode); } static void set_notification_configure_surface(struct wl_listener *listener, void *data) { struct hmi_controller *hmi_ctrl = wl_container_of(listener, hmi_ctrl, surface_configured); struct ivi_layout_surface *ivisurf = data; struct hmi_controller_layer *layer_link = NULL; struct ivi_layout_layer *application_layer = NULL; struct weston_surface *surface; struct ivi_layout_surface **ivisurfs = NULL; int32_t length = 0; int32_t i; /* return if the surface is not application content */ if (is_surf_in_ui_widget(hmi_ctrl, ivisurf)) { return; } /* * if application changes size of wl_buffer. The source rectangle shall be * fit to the size. */ surface = ivi_layout_interface->surface_get_weston_surface(ivisurf); if (surface) { ivi_layout_interface->surface_set_source_rectangle( ivisurf, 0, 0, surface->width, surface->height); } /* * search if the surface is already added to layer. * If not yet, it is newly invoded application to go to switch_mode. */ wl_list_for_each_reverse(layer_link, &hmi_ctrl->application_layer_list, link) { application_layer = layer_link->ivilayer; ivi_layout_interface->get_surfaces_on_layer(application_layer, &length, &ivisurfs); for (i = 0; i < length; i++) { if (ivisurf == ivisurfs[i]) { /* * if it is non new invoked application, just call * commit_changes to apply source_rectangle. */ ivi_layout_interface->commit_changes(); free(ivisurfs); return; } } free(ivisurfs); ivisurfs = NULL; } switch_mode(hmi_ctrl, hmi_ctrl->layout_mode); } /** * A hmi_controller used 4 ivi_layers to manage ivi_surfaces. The IDs of * corresponding ivi_layer are defined in weston.ini. Default scene graph * of ivi_layers are initialized in hmi_controller_create */ static struct hmi_server_setting * hmi_server_setting_create(struct weston_compositor *ec) { struct hmi_server_setting *setting = MEM_ALLOC(sizeof(*setting)); struct weston_config *config = wet_get_config(ec); struct weston_config_section *shell_section = NULL; shell_section = weston_config_get_section(config, "ivi-shell", NULL, NULL); weston_config_section_get_uint(shell_section, "base-layer-id", &setting->base_layer_id, 1000); weston_config_section_get_uint(shell_section, "workspace-background-layer-id", &setting->workspace_background_layer_id, 2000); weston_config_section_get_uint(shell_section, "workspace-layer-id", &setting->workspace_layer_id, 3000); weston_config_section_get_uint(shell_section, "application-layer-id", &setting->application_layer_id, 4000); weston_config_section_get_uint(shell_section, "base-layer-id-offset", &setting->base_layer_id_offset, 10000); weston_config_section_get_uint(shell_section, "transition-duration", &setting->transition_duration, 300); setting->panel_height = 70; weston_config_section_get_string(shell_section, "ivi-shell-user-interface", &setting->ivi_homescreen, NULL); return setting; } static void hmi_controller_destroy(struct wl_listener *listener, void *data) { struct link_layer *link = NULL; struct link_layer *next = NULL; struct hmi_controller_layer *ctrl_layer_link = NULL; struct hmi_controller_layer *ctrl_layer_next = NULL; struct hmi_controller *hmi_ctrl = container_of(listener, struct hmi_controller, destroy_listener); wl_list_for_each_safe(link, next, &hmi_ctrl->workspace_fade.layer_list, link) { wl_list_remove(&link->link); free(link); } /* clear base_layer_list */ wl_list_for_each_safe(ctrl_layer_link, ctrl_layer_next, &hmi_ctrl->base_layer_list, link) { wl_list_remove(&ctrl_layer_link->link); free(ctrl_layer_link); } /* clear application_layer_list */ wl_list_for_each_safe(ctrl_layer_link, ctrl_layer_next, &hmi_ctrl->application_layer_list, link) { wl_list_remove(&ctrl_layer_link->link); free(ctrl_layer_link); } wl_array_release(&hmi_ctrl->ui_widgets); free(hmi_ctrl->hmi_setting); free(hmi_ctrl); } /** * This is a starting method called from module_init. * This sets up scene graph of ivi_layers; base, application, workspace * background, and workspace. These ivi_layers are created/added to * ivi_screen in create_layer * * base: to group ivi_surfaces of panel and background * application: to group ivi_surfaces of ivi_applications * workspace background: to group a ivi_surface of background in workspace * workspace: to group ivi_surfaces for launching ivi_applications * * ivi_layers of workspace background and workspace is set to invisible at * first. The properties of it is updated with animation when * ivi_hmi_controller_home is requested. */ static struct hmi_controller * hmi_controller_create(struct weston_compositor *ec) { struct link_layer *tmp_link_layer = NULL; int32_t panel_height = 0; struct hmi_controller *hmi_ctrl = MEM_ALLOC(sizeof(*hmi_ctrl)); struct hmi_controller_layer *base_layer = NULL; struct hmi_controller_layer *application_layer = NULL; struct weston_output *output; int32_t i = 0; wl_array_init(&hmi_ctrl->ui_widgets); hmi_ctrl->layout_mode = IVI_HMI_CONTROLLER_LAYOUT_MODE_TILING; hmi_ctrl->hmi_setting = hmi_server_setting_create(ec); hmi_ctrl->compositor = ec; hmi_ctrl->screen_num = wl_list_length(&ec->output_list); /* init base ivi_layer*/ wl_list_init(&hmi_ctrl->base_layer_list); wl_list_for_each(output, &ec->output_list, link) { base_layer = MEM_ALLOC(1 * sizeof(struct hmi_controller_layer)); base_layer->x = 0; base_layer->y = 0; base_layer->width = output->current_mode->width; base_layer->height = output->current_mode->height; base_layer->id_layer = hmi_ctrl->hmi_setting->base_layer_id + (i * hmi_ctrl->hmi_setting->base_layer_id_offset); wl_list_insert(&hmi_ctrl->base_layer_list, &base_layer->link); create_layer(output, base_layer); i++; } i = 0; panel_height = hmi_ctrl->hmi_setting->panel_height; /* init application ivi_layer */ wl_list_init(&hmi_ctrl->application_layer_list); wl_list_for_each(output, &ec->output_list, link) { application_layer = MEM_ALLOC(1 * sizeof(struct hmi_controller_layer)); application_layer->x = 0; application_layer->y = 0; application_layer->width = output->current_mode->width; application_layer->height = output->current_mode->height - panel_height; application_layer->id_layer = hmi_ctrl->hmi_setting->application_layer_id + (i * hmi_ctrl->hmi_setting->base_layer_id_offset); wl_list_insert(&hmi_ctrl->application_layer_list, &application_layer->link); create_layer(output, application_layer); i++; } /* init workspace background ivi_layer */ output = wl_container_of(ec->output_list.next, output, link); hmi_ctrl->workspace_background_output = output; hmi_ctrl->workspace_background_layer.x = 0; hmi_ctrl->workspace_background_layer.y = 0; hmi_ctrl->workspace_background_layer.width = output->current_mode->width; hmi_ctrl->workspace_background_layer.height = output->current_mode->height - panel_height; hmi_ctrl->workspace_background_layer.id_layer = hmi_ctrl->hmi_setting->workspace_background_layer_id; create_layer(output, &hmi_ctrl->workspace_background_layer); ivi_layout_interface->layer_set_opacity( hmi_ctrl->workspace_background_layer.ivilayer, 0); ivi_layout_interface->layer_set_visibility( hmi_ctrl->workspace_background_layer.ivilayer, false); wl_list_init(&hmi_ctrl->workspace_fade.layer_list); tmp_link_layer = MEM_ALLOC(sizeof(*tmp_link_layer)); tmp_link_layer->layout_layer = hmi_ctrl->workspace_background_layer.ivilayer; wl_list_insert(&hmi_ctrl->workspace_fade.layer_list, &tmp_link_layer->link); hmi_ctrl->surface_removed.notify = set_notification_remove_surface; ivi_layout_interface->add_listener_remove_surface(&hmi_ctrl->surface_removed); hmi_ctrl->surface_configured.notify = set_notification_configure_surface; ivi_layout_interface->add_listener_configure_surface(&hmi_ctrl->surface_configured); hmi_ctrl->destroy_listener.notify = hmi_controller_destroy; wl_signal_add(&hmi_ctrl->compositor->destroy_signal, &hmi_ctrl->destroy_listener); return hmi_ctrl; } /** * Implementations of ivi-hmi-controller.xml */ /** * A ivi_surface drawing background is identified by id_surface. * Properties of the ivi_surface is set by using ivi_layout APIs according to * the scene graph of UI defined in hmi_controller_create. * * UI ivi_layer is used to add this ivi_surface. */ static void ivi_hmi_controller_set_background(struct hmi_controller *hmi_ctrl, uint32_t id_surface) { struct ivi_layout_surface *ivisurf = NULL; struct hmi_controller_layer *base_layer = NULL; struct ivi_layout_layer *ivilayer = NULL; int32_t dstx; int32_t dsty; int32_t width; int32_t height; int32_t ret = 0; int32_t i = 0; wl_list_for_each_reverse(base_layer, &hmi_ctrl->base_layer_list, link) { uint32_t *add_surface_id = wl_array_add(&hmi_ctrl->ui_widgets, sizeof(*add_surface_id)); *add_surface_id = id_surface + (i * hmi_ctrl->ui_setting.surface_id_offset); dstx = base_layer->x; dsty = base_layer->y; width = base_layer->width; height = base_layer->height; ivilayer = base_layer->ivilayer; ivisurf = ivi_layout_interface->get_surface_from_id(*add_surface_id); assert(ivisurf != NULL); ret = ivi_layout_interface->layer_add_surface(ivilayer, ivisurf); assert(!ret); ret = ivi_layout_interface->surface_set_destination_rectangle(ivisurf, dstx, dsty, width, height); assert(!ret); ret = ivi_layout_interface->surface_set_visibility(ivisurf, true); assert(!ret); i++; } } /** * A ivi_surface drawing panel is identified by id_surface. * Properties of the ivi_surface is set by using ivi_layout APIs according to * the scene graph of UI defined in hmi_controller_create. * * UI ivi_layer is used to add this ivi_surface. */ static void ivi_hmi_controller_set_panel(struct hmi_controller *hmi_ctrl, uint32_t id_surface) { struct ivi_layout_surface *ivisurf = NULL; struct hmi_controller_layer *base_layer; struct ivi_layout_layer *ivilayer = NULL; int32_t width; int32_t ret = 0; int32_t panel_height = hmi_ctrl->hmi_setting->panel_height; const int32_t dstx = 0; int32_t dsty = 0; int32_t i = 0; wl_list_for_each_reverse(base_layer, &hmi_ctrl->base_layer_list, link) { uint32_t *add_surface_id = wl_array_add(&hmi_ctrl->ui_widgets, sizeof(*add_surface_id)); *add_surface_id = id_surface + (i * hmi_ctrl->ui_setting.surface_id_offset); ivilayer = base_layer->ivilayer; ivisurf = ivi_layout_interface->get_surface_from_id(*add_surface_id); assert(ivisurf != NULL); ret = ivi_layout_interface->layer_add_surface(ivilayer, ivisurf); assert(!ret); dsty = base_layer->height - panel_height; width = base_layer->width; ret = ivi_layout_interface->surface_set_destination_rectangle( ivisurf, dstx, dsty, width, panel_height); assert(!ret); ret = ivi_layout_interface->surface_set_visibility(ivisurf, true); assert(!ret); i++; } } /** * A ivi_surface drawing buttons in panel is identified by id_surface. * It can set several buttons. Properties of the ivi_surface is set by * using ivi_layout APIs according to the scene graph of UI defined in * hmi_controller_create. Additionally, the position of it is shifted to * right when new one is requested. * * UI ivi_layer is used to add these ivi_surfaces. */ static void ivi_hmi_controller_set_button(struct hmi_controller *hmi_ctrl, uint32_t id_surface, int32_t number) { struct ivi_layout_surface *ivisurf = NULL; struct hmi_controller_layer *base_layer = wl_container_of(hmi_ctrl->base_layer_list.prev, base_layer, link); struct ivi_layout_layer *ivilayer = base_layer->ivilayer; const int32_t width = 48; const int32_t height = 48; int32_t ret = 0; int32_t panel_height = 0; int32_t dstx = 0; int32_t dsty = 0; uint32_t *add_surface_id = wl_array_add(&hmi_ctrl->ui_widgets, sizeof(*add_surface_id)); *add_surface_id = id_surface; ivisurf = ivi_layout_interface->get_surface_from_id(id_surface); assert(ivisurf != NULL); ret = ivi_layout_interface->layer_add_surface(ivilayer, ivisurf); assert(!ret); panel_height = hmi_ctrl->hmi_setting->panel_height; dstx = (60 * number) + 15; dsty = (base_layer->height - panel_height) + 5; ret = ivi_layout_interface->surface_set_destination_rectangle( ivisurf,dstx, dsty, width, height); assert(!ret); ret = ivi_layout_interface->surface_set_visibility(ivisurf, true); assert(!ret); } /** * A ivi_surface drawing home button in panel is identified by id_surface. * Properties of the ivi_surface is set by using ivi_layout APIs according to * the scene graph of UI defined in hmi_controller_create. * * UI ivi_layer is used to add these ivi_surfaces. */ static void ivi_hmi_controller_set_home_button(struct hmi_controller *hmi_ctrl, uint32_t id_surface) { struct ivi_layout_surface *ivisurf = NULL; struct hmi_controller_layer *base_layer = wl_container_of(hmi_ctrl->base_layer_list.prev, base_layer, link); struct ivi_layout_layer *ivilayer = base_layer->ivilayer; int32_t ret = 0; int32_t size = 48; int32_t panel_height = hmi_ctrl->hmi_setting->panel_height; const int32_t dstx = (base_layer->width - size) / 2; const int32_t dsty = (base_layer->height - panel_height) + 5; uint32_t *add_surface_id = wl_array_add(&hmi_ctrl->ui_widgets, sizeof(*add_surface_id)); *add_surface_id = id_surface; ivisurf = ivi_layout_interface->get_surface_from_id(id_surface); assert(ivisurf != NULL); ret = ivi_layout_interface->layer_add_surface(ivilayer, ivisurf); assert(!ret); ret = ivi_layout_interface->surface_set_destination_rectangle( ivisurf, dstx, dsty, size, size); assert(!ret); ret = ivi_layout_interface->surface_set_visibility(ivisurf, true); assert(!ret); } /** * A ivi_surface drawing background of workspace is identified by id_surface. * Properties of the ivi_surface is set by using ivi_layout APIs according to * the scene graph of UI defined in hmi_controller_create. * * A ivi_layer of workspace_background is used to add this ivi_surface. */ static void ivi_hmi_controller_set_workspacebackground(struct hmi_controller *hmi_ctrl, uint32_t id_surface) { struct ivi_layout_surface *ivisurf = NULL; struct ivi_layout_layer *ivilayer = NULL; const int32_t width = hmi_ctrl->workspace_background_layer.width; const int32_t height = hmi_ctrl->workspace_background_layer.height; int32_t ret = 0; uint32_t *add_surface_id = wl_array_add(&hmi_ctrl->ui_widgets, sizeof(*add_surface_id)); *add_surface_id = id_surface; ivilayer = hmi_ctrl->workspace_background_layer.ivilayer; ivisurf = ivi_layout_interface->get_surface_from_id(id_surface); assert(ivisurf != NULL); ret = ivi_layout_interface->layer_add_surface(ivilayer, ivisurf); assert(!ret); ret = ivi_layout_interface->surface_set_destination_rectangle(ivisurf, 0, 0, width, height); assert(!ret); ret = ivi_layout_interface->surface_set_visibility(ivisurf, true); assert(!ret); } /** * A list of ivi_surfaces drawing launchers in workspace is identified by * id_surfaces. Properties of the ivi_surface is set by using ivi_layout * APIs according to the scene graph of UI defined in hmi_controller_create. * * The workspace can have several pages to group ivi_surfaces of launcher. * Each call of this interface increments a number of page to add a group * of ivi_surfaces */ static void ivi_hmi_controller_add_launchers(struct hmi_controller *hmi_ctrl, int32_t icon_size) { int32_t minspace_x = 10; int32_t minspace_y = minspace_x; int32_t width = hmi_ctrl->workspace_background_layer.width; int32_t height = hmi_ctrl->workspace_background_layer.height; int32_t x_count = (width - minspace_x) / (minspace_x + icon_size); int32_t space_x = (int32_t)((width - x_count * icon_size) / (1.0 + x_count)); float fcell_size_x = icon_size + space_x; int32_t y_count = (height - minspace_y) / (minspace_y + icon_size); int32_t space_y = (int32_t)((height - y_count * icon_size) / (1.0 + y_count)); float fcell_size_y = icon_size + space_y; struct weston_config *config = NULL; struct weston_config_section *section = NULL; const char *name = NULL; int launcher_count = 0; struct wl_array launchers; int32_t nx = 0; int32_t ny = 0; int32_t prev = -1; struct launcher_info *data = NULL; uint32_t surfaceid = 0; uint32_t workspaceid = 0; struct launcher_info *info = NULL; int32_t x = 0; int32_t y = 0; int32_t ret = 0; struct ivi_layout_surface* layout_surface = NULL; uint32_t *add_surface_id = NULL; struct link_layer *tmp_link_layer = NULL; if (0 == x_count) x_count = 1; if (0 == y_count) y_count = 1; config = wet_get_config(hmi_ctrl->compositor); if (!config) return; section = weston_config_get_section(config, "ivi-shell", NULL, NULL); if (!section) return; wl_array_init(&launchers); while (weston_config_next_section(config, §ion, &name)) { surfaceid = 0; workspaceid = 0; info = NULL; if (0 != strcmp(name, "ivi-launcher")) continue; if (0 != weston_config_section_get_uint(section, "icon-id", &surfaceid, 0)) continue; if (0 != weston_config_section_get_uint(section, "workspace-id", &workspaceid, 0)) continue; info = wl_array_add(&launchers, sizeof(*info)); if (info) { info->surface_id = surfaceid; info->workspace_id = workspaceid; info->index = launcher_count; ++launcher_count; } } qsort(launchers.data, launcher_count, sizeof(struct launcher_info), compare_launcher_info); wl_array_for_each(data, &launchers) { x = 0; y = 0; ret = 0; layout_surface = NULL; add_surface_id = wl_array_add(&hmi_ctrl->ui_widgets, sizeof(*add_surface_id)); *add_surface_id = data->surface_id; if (0 > prev || (uint32_t)prev != data->workspace_id) { nx = 0; ny = 0; prev = data->workspace_id; if (0 <= prev) hmi_ctrl->workspace_count++; } if (y_count == ny) { ny = 0; hmi_ctrl->workspace_count++; } x = nx * fcell_size_x + (hmi_ctrl->workspace_count - 1) * width + space_x; y = ny * fcell_size_y + space_y; layout_surface = ivi_layout_interface->get_surface_from_id(data->surface_id); assert(layout_surface); ret = ivi_layout_interface->surface_set_destination_rectangle( layout_surface, x, y, icon_size, icon_size); assert(!ret); nx++; if (x_count == nx) { ny++; nx = 0; } } /* init workspace ivi_layer */ hmi_ctrl->workspace_layer.x = hmi_ctrl->workspace_background_layer.x; hmi_ctrl->workspace_layer.y = hmi_ctrl->workspace_background_layer.y; hmi_ctrl->workspace_layer.width = hmi_ctrl->workspace_background_layer.width * hmi_ctrl->workspace_count; hmi_ctrl->workspace_layer.height = hmi_ctrl->workspace_background_layer.height; hmi_ctrl->workspace_layer.id_layer = hmi_ctrl->hmi_setting->workspace_layer_id; create_layer(hmi_ctrl->workspace_background_output, &hmi_ctrl->workspace_layer); ivi_layout_interface->layer_set_opacity(hmi_ctrl->workspace_layer.ivilayer, 0); ivi_layout_interface->layer_set_visibility(hmi_ctrl->workspace_layer.ivilayer, false); tmp_link_layer = MEM_ALLOC(sizeof(*tmp_link_layer)); tmp_link_layer->layout_layer = hmi_ctrl->workspace_layer.ivilayer; wl_list_insert(&hmi_ctrl->workspace_fade.layer_list, &tmp_link_layer->link); /* Add surface to layer */ wl_array_for_each(data, &launchers) { layout_surface = ivi_layout_interface->get_surface_from_id(data->surface_id); assert(layout_surface); ret = ivi_layout_interface->layer_add_surface(hmi_ctrl->workspace_layer.ivilayer, layout_surface); assert(!ret); ret = ivi_layout_interface->surface_set_visibility(layout_surface, true); assert(!ret); } wl_array_release(&launchers); ivi_layout_interface->commit_changes(); } static void ivi_hmi_controller_UI_ready(struct wl_client *client, struct wl_resource *resource) { struct hmi_controller *hmi_ctrl = wl_resource_get_user_data(resource); ivi_hmi_controller_set_background(hmi_ctrl, hmi_ctrl->ui_setting.background_id); ivi_hmi_controller_set_panel(hmi_ctrl, hmi_ctrl->ui_setting.panel_id); ivi_hmi_controller_set_button(hmi_ctrl, hmi_ctrl->ui_setting.tiling_id, 0); ivi_hmi_controller_set_button(hmi_ctrl, hmi_ctrl->ui_setting.sidebyside_id, 1); ivi_hmi_controller_set_button(hmi_ctrl, hmi_ctrl->ui_setting.fullscreen_id, 2); ivi_hmi_controller_set_button(hmi_ctrl, hmi_ctrl->ui_setting.random_id, 3); ivi_hmi_controller_set_home_button(hmi_ctrl, hmi_ctrl->ui_setting.home_id); ivi_hmi_controller_set_workspacebackground(hmi_ctrl, hmi_ctrl->ui_setting.workspace_background_id); ivi_layout_interface->commit_changes(); ivi_hmi_controller_add_launchers(hmi_ctrl, 256); /* Add surface_created listener after the initialization of launchers. * Otherwise, surfaces of the launchers will be added to application * layer too.*/ hmi_ctrl->surface_created.notify = set_notification_create_surface; ivi_layout_interface->add_listener_create_surface(&hmi_ctrl->surface_created); hmi_ctrl->is_initialized = 1; } /** * Implementation of request and event of ivi_hmi_controller_workspace_control * and controlling workspace. * * When motion of input is detected in a ivi_surface of workspace background, * ivi_hmi_controller_workspace_control shall be invoked and to start * controlling of workspace. The workspace has several pages to show several * groups of applications. * The workspace is slid by using ivi-layout to select a page in layer_set_pos * according to motion. When motion finished, e.g. touch up detected, control is * terminated and event:ivi_hmi_controller_workspace_control is notified. */ struct pointer_grab { struct weston_pointer_grab grab; struct ivi_layout_layer *layer; struct wl_resource *resource; }; struct touch_grab { struct weston_touch_grab grab; struct ivi_layout_layer *layer; struct wl_resource *resource; }; struct move_grab { wl_fixed_t dst[2]; wl_fixed_t rgn[2][2]; double v[2]; struct timespec start_time; struct timespec pre_time; wl_fixed_t start_pos[2]; wl_fixed_t pos[2]; int32_t is_moved; }; struct pointer_move_grab { struct pointer_grab base; struct move_grab move; }; struct touch_move_grab { struct touch_grab base; struct move_grab move; int32_t is_active; }; static void pointer_grab_start(struct pointer_grab *grab, struct ivi_layout_layer *layer, const struct weston_pointer_grab_interface *interface, struct weston_pointer *pointer) { grab->grab.interface = interface; grab->layer = layer; weston_pointer_start_grab(pointer, &grab->grab); } static void touch_grab_start(struct touch_grab *grab, struct ivi_layout_layer *layer, const struct weston_touch_grab_interface *interface, struct weston_touch* touch) { grab->grab.interface = interface; grab->layer = layer; weston_touch_start_grab(touch, &grab->grab); } static int32_t clamp(int32_t val, int32_t min, int32_t max) { if (val < min) return min; if (max < val) return max; return val; } static void move_workspace_grab_end(struct move_grab *move, struct wl_resource* resource, wl_fixed_t grab_x, struct ivi_layout_layer *layer) { struct hmi_controller *hmi_ctrl = wl_resource_get_user_data(resource); int32_t width = hmi_ctrl->workspace_background_layer.width; const struct ivi_layout_layer_properties *prop; struct timespec time = {0}; double grab_time = 0.0; double from_motion_time = 0.0; double pointer_v = 0.0; int32_t is_flick = 0; int32_t pos_x = 0; int32_t pos_y = 0; int page_no = 0; double end_pos = 0.0; uint32_t duration = 0; clock_gettime(CLOCK_MONOTONIC, &time); grab_time = 1e+3 * (time.tv_sec - move->start_time.tv_sec) + 1e-6 * (time.tv_nsec - move->start_time.tv_nsec); from_motion_time = 1e+3 * (time.tv_sec - move->pre_time.tv_sec) + 1e-6 * (time.tv_nsec - move->pre_time.tv_nsec); pointer_v = move->v[0]; is_flick = grab_time < 400 && 0.4 < fabs(pointer_v); if (200 < from_motion_time) pointer_v = 0.0; prop = ivi_layout_interface->get_properties_of_layer(layer); pos_x = prop->dest_x; pos_y = prop->dest_y; if (is_flick) { int orgx = wl_fixed_to_int(move->dst[0] + grab_x); page_no = (-orgx + width / 2) / width; if (pointer_v < 0.0) page_no++; else page_no--; } else { page_no = (-pos_x + width / 2) / width; } page_no = clamp(page_no, 0, hmi_ctrl->workspace_count - 1); end_pos = -page_no * width; duration = hmi_ctrl->hmi_setting->transition_duration; ivi_hmi_controller_send_workspace_end_control(resource, move->is_moved); ivi_layout_interface->layer_set_transition(layer, IVI_LAYOUT_TRANSITION_LAYER_MOVE, duration); ivi_layout_interface->layer_set_destination_rectangle(layer, end_pos, pos_y, hmi_ctrl->workspace_layer.width, hmi_ctrl->workspace_layer.height); ivi_layout_interface->commit_changes(); } static void pointer_move_workspace_grab_end(struct pointer_grab *grab) { struct pointer_move_grab *pnt_move_grab = (struct pointer_move_grab *)grab; struct ivi_layout_layer *layer = pnt_move_grab->base.layer; move_workspace_grab_end(&pnt_move_grab->move, grab->resource, grab->grab.pointer->grab_x, layer); weston_pointer_end_grab(grab->grab.pointer); } static void touch_move_workspace_grab_end(struct touch_grab *grab) { struct touch_move_grab *tch_move_grab = (struct touch_move_grab *)grab; struct ivi_layout_layer *layer = tch_move_grab->base.layer; move_workspace_grab_end(&tch_move_grab->move, grab->resource, grab->grab.touch->grab_x, layer); weston_touch_end_grab(grab->grab.touch); } static void pointer_noop_grab_focus(struct weston_pointer_grab *grab) { } static void pointer_default_grab_axis(struct weston_pointer_grab *grab, uint32_t time, struct weston_pointer_axis_event *event) { weston_pointer_send_axis(grab->pointer, time, event); } static void pointer_default_grab_axis_source(struct weston_pointer_grab *grab, uint32_t source) { weston_pointer_send_axis_source(grab->pointer, source); } static void pointer_default_grab_frame(struct weston_pointer_grab *grab) { weston_pointer_send_frame(grab->pointer); } static void move_grab_update(struct move_grab *move, wl_fixed_t pointer[2]) { struct timespec timestamp = {0}; int32_t ii = 0; double dt = 0.0; clock_gettime(CLOCK_MONOTONIC, ×tamp); //FIXME dt = (1e+3 * (timestamp.tv_sec - move->pre_time.tv_sec) + 1e-6 * (timestamp.tv_nsec - move->pre_time.tv_nsec)); if (dt < 1e-6) dt = 1e-6; move->pre_time = timestamp; for (ii = 0; ii < 2; ii++) { wl_fixed_t prepos = move->pos[ii]; move->pos[ii] = pointer[ii] + move->dst[ii]; if (move->pos[ii] < move->rgn[0][ii]) { move->pos[ii] = move->rgn[0][ii]; move->dst[ii] = move->pos[ii] - pointer[ii]; } else if (move->rgn[1][ii] < move->pos[ii]) { move->pos[ii] = move->rgn[1][ii]; move->dst[ii] = move->pos[ii] - pointer[ii]; } move->v[ii] = wl_fixed_to_double(move->pos[ii] - prepos) / dt; if (!move->is_moved && 0 < wl_fixed_to_int(move->pos[ii] - move->start_pos[ii])) move->is_moved = 1; } } static void layer_set_pos(struct ivi_layout_layer *layer, wl_fixed_t pos_x, wl_fixed_t pos_y) { const struct ivi_layout_layer_properties *prop; int32_t layout_pos_x = 0; int32_t layout_pos_y = 0; prop = ivi_layout_interface->get_properties_of_layer(layer); layout_pos_x = wl_fixed_to_int(pos_x); layout_pos_y = wl_fixed_to_int(pos_y); ivi_layout_interface->layer_set_destination_rectangle(layer, layout_pos_x, layout_pos_y, prop->dest_width, prop->dest_height); ivi_layout_interface->commit_changes(); } static void pointer_move_grab_motion(struct weston_pointer_grab *grab, uint32_t time, struct weston_pointer_motion_event *event) { struct pointer_move_grab *pnt_move_grab = (struct pointer_move_grab *)grab; wl_fixed_t pointer_pos[2]; weston_pointer_motion_to_abs(grab->pointer, event, &pointer_pos[0], &pointer_pos[1]); move_grab_update(&pnt_move_grab->move, pointer_pos); layer_set_pos(pnt_move_grab->base.layer, pnt_move_grab->move.pos[0], pnt_move_grab->move.pos[1]); weston_pointer_move(pnt_move_grab->base.grab.pointer, event); } static void touch_move_grab_motion(struct weston_touch_grab *grab, uint32_t time, int touch_id, wl_fixed_t x, wl_fixed_t y) { struct touch_move_grab *tch_move_grab = (struct touch_move_grab *)grab; if (!tch_move_grab->is_active) return; wl_fixed_t pointer_pos[2] = { grab->touch->grab_x, grab->touch->grab_y }; move_grab_update(&tch_move_grab->move, pointer_pos); layer_set_pos(tch_move_grab->base.layer, tch_move_grab->move.pos[0], tch_move_grab->move.pos[1]); } static void pointer_move_workspace_grab_button(struct weston_pointer_grab *grab, uint32_t time, uint32_t button, uint32_t state_w) { if (BTN_LEFT == button && WL_POINTER_BUTTON_STATE_RELEASED == state_w) { struct pointer_grab *pg = (struct pointer_grab *)grab; pointer_move_workspace_grab_end(pg); free(grab); } } static void touch_nope_grab_down(struct weston_touch_grab *grab, uint32_t time, int touch_id, wl_fixed_t sx, wl_fixed_t sy) { } static void touch_move_workspace_grab_up(struct weston_touch_grab *grab, uint32_t time, int touch_id) { struct touch_move_grab *tch_move_grab = (struct touch_move_grab *)grab; if (0 == touch_id) tch_move_grab->is_active = 0; if (0 == grab->touch->num_tp) { touch_move_workspace_grab_end(&tch_move_grab->base); free(grab); } } static void pointer_move_workspace_grab_cancel(struct weston_pointer_grab *grab) { struct pointer_grab *pg = (struct pointer_grab *)grab; pointer_move_workspace_grab_end(pg); free(grab); } static void touch_move_workspace_grab_frame(struct weston_touch_grab *grab) { } static void touch_move_workspace_grab_cancel(struct weston_touch_grab *grab) { struct touch_grab *tg = (struct touch_grab *)grab; touch_move_workspace_grab_end(tg); free(grab); } static const struct weston_pointer_grab_interface pointer_move_grab_workspace_interface = { pointer_noop_grab_focus, pointer_move_grab_motion, pointer_move_workspace_grab_button, pointer_default_grab_axis, pointer_default_grab_axis_source, pointer_default_grab_frame, pointer_move_workspace_grab_cancel }; static const struct weston_touch_grab_interface touch_move_grab_workspace_interface = { touch_nope_grab_down, touch_move_workspace_grab_up, touch_move_grab_motion, touch_move_workspace_grab_frame, touch_move_workspace_grab_cancel }; enum HMI_GRAB_DEVICE { HMI_GRAB_DEVICE_NONE, HMI_GRAB_DEVICE_POINTER, HMI_GRAB_DEVICE_TOUCH }; static enum HMI_GRAB_DEVICE get_hmi_grab_device(struct weston_seat *seat, uint32_t serial) { struct weston_pointer *pointer = weston_seat_get_pointer(seat); struct weston_touch *touch = weston_seat_get_touch(seat); if (pointer && pointer->focus && pointer->button_count && pointer->grab_serial == serial) return HMI_GRAB_DEVICE_POINTER; if (touch && touch->focus && touch->grab_serial == serial) return HMI_GRAB_DEVICE_TOUCH; return HMI_GRAB_DEVICE_NONE; } static void move_grab_init(struct move_grab* move, wl_fixed_t start_pos[2], wl_fixed_t grab_pos[2], wl_fixed_t rgn[2][2], struct wl_resource* resource) { clock_gettime(CLOCK_MONOTONIC, &move->start_time); //FIXME move->pre_time = move->start_time; move->pos[0] = start_pos[0]; move->pos[1] = start_pos[1]; move->start_pos[0] = start_pos[0]; move->start_pos[1] = start_pos[1]; move->dst[0] = start_pos[0] - grab_pos[0]; move->dst[1] = start_pos[1] - grab_pos[1]; memcpy(move->rgn, rgn, sizeof(move->rgn)); } static void move_grab_init_workspace(struct move_grab* move, wl_fixed_t grab_x, wl_fixed_t grab_y, struct wl_resource *resource) { struct hmi_controller *hmi_ctrl = wl_resource_get_user_data(resource); struct ivi_layout_layer *layer = hmi_ctrl->workspace_layer.ivilayer; const struct ivi_layout_layer_properties *prop; int32_t workspace_count = hmi_ctrl->workspace_count; int32_t workspace_width = hmi_ctrl->workspace_background_layer.width; int32_t layer_pos_x = 0; int32_t layer_pos_y = 0; wl_fixed_t start_pos[2] = {0}; wl_fixed_t rgn[2][2] = {{0}}; wl_fixed_t grab_pos[2] = { grab_x, grab_y }; prop = ivi_layout_interface->get_properties_of_layer(layer); layer_pos_x = prop->dest_x; layer_pos_y = prop->dest_y; start_pos[0] = wl_fixed_from_int(layer_pos_x); start_pos[1] = wl_fixed_from_int(layer_pos_y); rgn[0][0] = wl_fixed_from_int(-workspace_width * (workspace_count - 1)); rgn[0][1] = wl_fixed_from_int(0); rgn[1][0] = wl_fixed_from_int(0); rgn[1][1] = wl_fixed_from_int(0); move_grab_init(move, start_pos, grab_pos, rgn, resource); } static struct pointer_move_grab * create_workspace_pointer_move(struct weston_pointer *pointer, struct wl_resource* resource) { struct pointer_move_grab *pnt_move_grab = MEM_ALLOC(sizeof(*pnt_move_grab)); pnt_move_grab->base.resource = resource; move_grab_init_workspace(&pnt_move_grab->move, pointer->grab_x, pointer->grab_y, resource); return pnt_move_grab; } static struct touch_move_grab * create_workspace_touch_move(struct weston_touch *touch, struct wl_resource* resource) { struct touch_move_grab *tch_move_grab = MEM_ALLOC(sizeof(*tch_move_grab)); tch_move_grab->base.resource = resource; tch_move_grab->is_active = 1; move_grab_init_workspace(&tch_move_grab->move, touch->grab_x, touch->grab_y, resource); return tch_move_grab; } static void ivi_hmi_controller_workspace_control(struct wl_client *client, struct wl_resource *resource, struct wl_resource *seat_resource, uint32_t serial) { struct hmi_controller *hmi_ctrl = wl_resource_get_user_data(resource); struct ivi_layout_layer *layer = NULL; struct pointer_move_grab *pnt_move_grab = NULL; struct touch_move_grab *tch_move_grab = NULL; struct weston_seat *seat = NULL; struct weston_pointer *pointer; struct weston_touch *touch; enum HMI_GRAB_DEVICE device; if (hmi_ctrl->workspace_count < 2) return; seat = wl_resource_get_user_data(seat_resource); device = get_hmi_grab_device(seat, serial); if (HMI_GRAB_DEVICE_POINTER != device && HMI_GRAB_DEVICE_TOUCH != device) return; layer = hmi_ctrl->workspace_layer.ivilayer; ivi_layout_interface->transition_move_layer_cancel(layer); switch (device) { case HMI_GRAB_DEVICE_POINTER: pointer = weston_seat_get_pointer(seat); pnt_move_grab = create_workspace_pointer_move(pointer, resource); pointer_grab_start(&pnt_move_grab->base, layer, &pointer_move_grab_workspace_interface, pointer); break; case HMI_GRAB_DEVICE_TOUCH: touch = weston_seat_get_touch(seat); tch_move_grab = create_workspace_touch_move(touch, resource); touch_grab_start(&tch_move_grab->base, layer, &touch_move_grab_workspace_interface, touch); break; default: break; } } /** * Implementation of switch_mode */ static void ivi_hmi_controller_switch_mode(struct wl_client *client, struct wl_resource *resource, uint32_t layout_mode) { struct hmi_controller *hmi_ctrl = wl_resource_get_user_data(resource); switch_mode(hmi_ctrl, layout_mode); } /** * Implementation of on/off displaying workspace and workspace background * ivi_layers. */ static void ivi_hmi_controller_home(struct wl_client *client, struct wl_resource *resource, uint32_t home) { struct hmi_controller *hmi_ctrl = wl_resource_get_user_data(resource); uint32_t is_fade_in; if ((IVI_HMI_CONTROLLER_HOME_ON == home && !hmi_ctrl->workspace_fade.is_fade_in) || (IVI_HMI_CONTROLLER_HOME_OFF == home && hmi_ctrl->workspace_fade.is_fade_in)) { is_fade_in = !hmi_ctrl->workspace_fade.is_fade_in; hmi_controller_fade_run(hmi_ctrl, is_fade_in, &hmi_ctrl->workspace_fade); } ivi_layout_interface->commit_changes(); } /** * binding ivi-hmi-controller implementation */ static const struct ivi_hmi_controller_interface ivi_hmi_controller_implementation = { ivi_hmi_controller_UI_ready, ivi_hmi_controller_workspace_control, ivi_hmi_controller_switch_mode, ivi_hmi_controller_home }; static void unbind_hmi_controller(struct wl_resource *resource) { } static void bind_hmi_controller(struct wl_client *client, void *data, uint32_t version, uint32_t id) { struct wl_resource *resource = NULL; struct hmi_controller *hmi_ctrl = data; if (hmi_ctrl->user_interface != client) { struct wl_resource *res = wl_client_get_object(client, 1); wl_resource_post_error(res, WL_DISPLAY_ERROR_INVALID_OBJECT, "hmi-controller failed: permission denied"); return; } resource = wl_resource_create( client, &ivi_hmi_controller_interface, 1, id); wl_resource_set_implementation( resource, &ivi_hmi_controller_implementation, hmi_ctrl, unbind_hmi_controller); } static int32_t initialize(struct hmi_controller *hmi_ctrl) { struct config_command { char *key; uint32_t *dest; }; struct weston_config *config = wet_get_config(hmi_ctrl->compositor); struct weston_config_section *section = NULL; int result = 0; int i = 0; const struct config_command uint_commands[] = { { "background-id", &hmi_ctrl->ui_setting.background_id }, { "panel-id", &hmi_ctrl->ui_setting.panel_id }, { "tiling-id", &hmi_ctrl->ui_setting.tiling_id }, { "sidebyside-id", &hmi_ctrl->ui_setting.sidebyside_id }, { "fullscreen-id", &hmi_ctrl->ui_setting.fullscreen_id }, { "random-id", &hmi_ctrl->ui_setting.random_id }, { "home-id", &hmi_ctrl->ui_setting.home_id }, { "workspace-background-id", &hmi_ctrl->ui_setting.workspace_background_id }, { "surface-id-offset", &hmi_ctrl->ui_setting.surface_id_offset }, { NULL, NULL } }; section = weston_config_get_section(config, "ivi-shell", NULL, NULL); for (i = 0; -1 != result; ++i) { const struct config_command *command = &uint_commands[i]; if (!command->key) break; if (weston_config_section_get_uint( section, command->key, command->dest, 0) != 0) result = -1; } if (-1 == result) { weston_log("Failed to initialize hmi-controller\n"); return 0; } return 1; } static void launch_hmi_client_process(void *data) { struct hmi_controller *hmi_ctrl = (struct hmi_controller *)data; hmi_ctrl->user_interface = weston_client_start(hmi_ctrl->compositor, hmi_ctrl->hmi_setting->ivi_homescreen); free(hmi_ctrl->hmi_setting->ivi_homescreen); } /***************************************************************************** * exported functions ****************************************************************************/ WL_EXPORT int controller_module_init(struct weston_compositor *ec, int *argc, char *argv[], const struct ivi_layout_interface *interface, size_t interface_version) { struct hmi_controller *hmi_ctrl = NULL; struct wl_event_loop *loop = NULL; if (interface_version < sizeof(struct ivi_layout_interface)) { weston_log("ivi-shell: version mismatch of controller interface\n"); return -1; } ivi_layout_interface = interface; hmi_ctrl = hmi_controller_create(ec); if (hmi_ctrl == NULL) return -1; if (!initialize(hmi_ctrl)) { return -1; } if (wl_global_create(ec->wl_display, &ivi_hmi_controller_interface, 1, hmi_ctrl, bind_hmi_controller) == NULL) { return -1; } loop = wl_display_get_event_loop(ec->wl_display); wl_event_loop_add_idle(loop, launch_hmi_client_process, hmi_ctrl); return 0; } weston-3.0.0/ivi-shell/weston.ini.in0000664000175000017500000000440513142404577014307 00000000000000[core] shell=@plugin_prefix@ivi-shell.so [ivi-shell] ivi-module=@plugin_prefix@hmi-controller.so ivi-shell-user-interface=@abs_top_builddir@/weston-ivi-shell-user-interface #developermode=true cursor-theme=default cursor-size=32 base-layer-id=1000 base-layer-id-offset=10000 workspace-background-layer-id=2000 workspace-layer-id=3000 application-layer-id=4000 transition-duration=300 background-image=@abs_top_srcdir@/data/background.png background-id=1001 panel-image=@abs_top_srcdir@/data/panel.png panel-id=1002 surface-id-offset=10 tiling-image=@abs_top_srcdir@/data/tiling.png tiling-id=1003 sidebyside-image=@abs_top_srcdir@/data/sidebyside.png sidebyside-id=1004 fullscreen-image=@abs_top_srcdir@/data/fullscreen.png fullscreen-id=1005 random-image=@abs_top_srcdir@/data/random.png random-id=1006 home-image=@abs_top_srcdir@/data/home.png home-id=1007 workspace-background-color=0x99000000 workspace-background-id=2001 [input-method] path=@libexecdir@/weston-keyboard [ivi-launcher] workspace-id=0 icon-id=4001 icon=@abs_top_srcdir@/data/icon_ivi_flower.png path=@abs_top_builddir@/weston-flower [ivi-launcher] workspace-id=0 icon-id=4002 icon=@abs_top_srcdir@/data/icon_ivi_clickdot.png path=@abs_top_builddir@/weston-clickdot [ivi-launcher] workspace-id=1 icon-id=4003 icon=@abs_top_srcdir@/data/icon_ivi_simple-egl.png path=@abs_top_builddir@/weston-simple-egl [ivi-launcher] workspace-id=1 icon-id=4004 icon=@abs_top_srcdir@/data/icon_ivi_simple-shm.png path=@abs_top_builddir@/weston-simple-shm [ivi-launcher] workspace-id=2 icon-id=4005 icon=@abs_top_srcdir@/data/icon_ivi_smoke.png path=@abs_top_builddir@/weston-smoke [ivi-launcher] workspace-id=3 icon-id=4006 icon=@abs_top_srcdir@/data/icon_ivi_flower.png path=@abs_top_builddir@/weston-flower [ivi-launcher] workspace-id=3 icon-id=4007 icon=@abs_top_srcdir@/data/icon_ivi_clickdot.png path=@abs_top_builddir@/weston-clickdot [ivi-launcher] workspace-id=3 icon-id=4008 icon=@abs_top_srcdir@/data/icon_ivi_simple-egl.png path=@abs_top_builddir@/weston-simple-egl [ivi-launcher] workspace-id=3 icon-id=4009 icon=@abs_top_srcdir@/data/icon_ivi_simple-shm.png path=@abs_top_builddir@/weston-simple-shm [ivi-launcher] workspace-id=3 icon-id=4010 icon=@abs_top_srcdir@/data/icon_ivi_smoke.png path=@abs_top_builddir@/weston-smoke weston-3.0.0/ivi-shell/ivi-layout-shell.h0000664000175000017500000000370013142404577015237 00000000000000/* * Copyright (C) 2014 DENSO CORPORATION * * 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 (including the * next paragraph) 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. */ #ifndef IVI_LAYOUT_SHELL_H #define IVI_LAYOUT_SHELL_H #include /* * This is the interface that ivi-layout exposes to ivi-shell. * It is private to ivi-shell.so plugin. */ struct wl_listener; struct weston_compositor; struct weston_view; struct weston_surface; struct ivi_layout_surface; void ivi_layout_surface_configure(struct ivi_layout_surface *ivisurf, int32_t width, int32_t height); struct ivi_layout_surface* ivi_layout_surface_create(struct weston_surface *wl_surface, uint32_t id_surface); void ivi_layout_init_with_compositor(struct weston_compositor *ec); void ivi_layout_surface_destroy(struct ivi_layout_surface *ivisurf); int load_controller_modules(struct weston_compositor *compositor, const char *modules, int *argc, char *argv[]); #endif /* IVI_LAYOUT_SHELL_H */ weston-3.0.0/ivi-shell/input-panel-ivi.c0000664000175000017500000002701513142404577015051 00000000000000/* * Copyright © 2010-2012 Intel Corporation * Copyright © 2011-2012 Collabora, Ltd. * Copyright © 2013 Raspberry Pi Foundation * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include "ivi-shell.h" #include "input-method-unstable-v1-server-protocol.h" #include "ivi-layout-private.h" #include "shared/helpers.h" struct input_panel_surface { struct wl_resource *resource; struct wl_signal destroy_signal; struct ivi_shell *shell; struct wl_list link; struct weston_surface *surface; struct weston_view *view; struct wl_listener surface_destroy_listener; struct weston_view_animation *anim; struct weston_output *output; uint32_t panel; }; static void input_panel_slide_done(struct weston_view_animation *animation, void *data) { struct input_panel_surface *ipsurf = data; ipsurf->anim = NULL; } static void show_input_panel_surface(struct input_panel_surface *ipsurf) { struct ivi_shell *shell = ipsurf->shell; struct weston_seat *seat; struct weston_surface *focus; float x, y; wl_list_for_each(seat, &shell->compositor->seat_list, link) { struct weston_keyboard *keyboard = weston_seat_get_keyboard(seat); if (!keyboard || !keyboard->focus) continue; focus = weston_surface_get_main_surface(keyboard->focus); ipsurf->output = focus->output; x = ipsurf->output->x + (ipsurf->output->width - ipsurf->surface->width) / 2; y = ipsurf->output->y + ipsurf->output->height - ipsurf->surface->height; weston_view_set_position(ipsurf->view, x, y); } weston_layer_entry_insert(&shell->input_panel_layer.view_list, &ipsurf->view->layer_link); weston_view_geometry_dirty(ipsurf->view); weston_view_update_transform(ipsurf->view); ipsurf->surface->is_mapped = true; ipsurf->view->is_mapped = true; weston_surface_damage(ipsurf->surface); if (ipsurf->anim) weston_view_animation_destroy(ipsurf->anim); ipsurf->anim = weston_slide_run(ipsurf->view, ipsurf->surface->height * 0.9, 0, input_panel_slide_done, ipsurf); } static void show_input_panels(struct wl_listener *listener, void *data) { struct ivi_shell *shell = container_of(listener, struct ivi_shell, show_input_panel_listener); struct input_panel_surface *ipsurf, *next; shell->text_input.surface = (struct weston_surface*)data; if (shell->showing_input_panels) return; shell->showing_input_panels = true; if (!shell->locked) weston_layer_set_position(&shell->input_panel_layer, WESTON_LAYER_POSITION_TOP_UI); wl_list_for_each_safe(ipsurf, next, &shell->input_panel.surfaces, link) { if (ipsurf->surface->width == 0) continue; show_input_panel_surface(ipsurf); } } static void hide_input_panels(struct wl_listener *listener, void *data) { struct ivi_shell *shell = container_of(listener, struct ivi_shell, hide_input_panel_listener); struct weston_view *view, *next; if (!shell->showing_input_panels) return; shell->showing_input_panels = false; if (!shell->locked) weston_layer_unset_position(&shell->input_panel_layer); wl_list_for_each_safe(view, next, &shell->input_panel_layer.view_list.link, layer_link.link) weston_view_unmap(view); } static void update_input_panels(struct wl_listener *listener, void *data) { struct ivi_shell *shell = container_of(listener, struct ivi_shell, update_input_panel_listener); memcpy(&shell->text_input.cursor_rectangle, data, sizeof(pixman_box32_t)); } static int input_panel_get_label(struct weston_surface *surface, char *buf, size_t len) { return snprintf(buf, len, "input panel"); } static void input_panel_committed(struct weston_surface *surface, int32_t sx, int32_t sy) { struct input_panel_surface *ip_surface = surface->committed_private; struct ivi_shell *shell = ip_surface->shell; struct weston_view *view; float x, y; if (surface->width == 0) return; if (ip_surface->panel) { view = get_default_view(shell->text_input.surface); if (view == NULL) return; x = view->geometry.x + shell->text_input.cursor_rectangle.x2; y = view->geometry.y + shell->text_input.cursor_rectangle.y2; } else { x = ip_surface->output->x + (ip_surface->output->width - surface->width) / 2; y = ip_surface->output->y + ip_surface->output->height - surface->height; } weston_view_set_position(ip_surface->view, x, y); if (!weston_surface_is_mapped(surface) && shell->showing_input_panels) show_input_panel_surface(ip_surface); } static void destroy_input_panel_surface(struct input_panel_surface *input_panel_surface) { wl_signal_emit(&input_panel_surface->destroy_signal, input_panel_surface); wl_list_remove(&input_panel_surface->surface_destroy_listener.link); wl_list_remove(&input_panel_surface->link); input_panel_surface->surface->committed = NULL; weston_surface_set_label_func(input_panel_surface->surface, NULL); weston_view_destroy(input_panel_surface->view); free(input_panel_surface); } static struct input_panel_surface * get_input_panel_surface(struct weston_surface *surface) { if (surface->committed == input_panel_committed) { return surface->committed_private; } else { return NULL; } } static void input_panel_handle_surface_destroy(struct wl_listener *listener, void *data) { struct input_panel_surface *ipsurface = container_of(listener, struct input_panel_surface, surface_destroy_listener); if (ipsurface->resource) { wl_resource_destroy(ipsurface->resource); } else { destroy_input_panel_surface(ipsurface); } } static struct input_panel_surface * create_input_panel_surface(struct ivi_shell *shell, struct weston_surface *surface) { struct input_panel_surface *input_panel_surface; input_panel_surface = calloc(1, sizeof *input_panel_surface); if (!input_panel_surface) return NULL; surface->committed = input_panel_committed; surface->committed_private = input_panel_surface; weston_surface_set_label_func(surface, input_panel_get_label); input_panel_surface->shell = shell; input_panel_surface->surface = surface; input_panel_surface->view = weston_view_create(surface); wl_signal_init(&input_panel_surface->destroy_signal); input_panel_surface->surface_destroy_listener.notify = input_panel_handle_surface_destroy; wl_signal_add(&surface->destroy_signal, &input_panel_surface->surface_destroy_listener); wl_list_init(&input_panel_surface->link); return input_panel_surface; } static void input_panel_surface_set_toplevel(struct wl_client *client, struct wl_resource *resource, struct wl_resource *output_resource, uint32_t position) { struct input_panel_surface *input_panel_surface = wl_resource_get_user_data(resource); struct ivi_shell *shell = input_panel_surface->shell; wl_list_insert(&shell->input_panel.surfaces, &input_panel_surface->link); input_panel_surface->output = weston_output_from_resource(output_resource); input_panel_surface->panel = 0; } static void input_panel_surface_set_overlay_panel(struct wl_client *client, struct wl_resource *resource) { struct input_panel_surface *input_panel_surface = wl_resource_get_user_data(resource); struct ivi_shell *shell = input_panel_surface->shell; wl_list_insert(&shell->input_panel.surfaces, &input_panel_surface->link); input_panel_surface->panel = 1; } static const struct zwp_input_panel_surface_v1_interface input_panel_surface_implementation = { input_panel_surface_set_toplevel, input_panel_surface_set_overlay_panel }; static void destroy_input_panel_surface_resource(struct wl_resource *resource) { struct input_panel_surface *ipsurf = wl_resource_get_user_data(resource); destroy_input_panel_surface(ipsurf); } static void input_panel_get_input_panel_surface(struct wl_client *client, struct wl_resource *resource, uint32_t id, struct wl_resource *surface_resource) { struct weston_surface *surface = wl_resource_get_user_data(surface_resource); struct ivi_shell *shell = wl_resource_get_user_data(resource); struct input_panel_surface *ipsurf; if (get_input_panel_surface(surface)) { wl_resource_post_error(surface_resource, WL_DISPLAY_ERROR_INVALID_OBJECT, "wl_input_panel::get_input_panel_surface already requested"); return; } ipsurf = create_input_panel_surface(shell, surface); if (!ipsurf) { wl_resource_post_error(surface_resource, WL_DISPLAY_ERROR_INVALID_OBJECT, "surface->committed already set"); return; } ipsurf->resource = wl_resource_create(client, &zwp_input_panel_surface_v1_interface, 1, id); wl_resource_set_implementation(ipsurf->resource, &input_panel_surface_implementation, ipsurf, destroy_input_panel_surface_resource); } static const struct zwp_input_panel_v1_interface input_panel_implementation = { input_panel_get_input_panel_surface }; static void unbind_input_panel(struct wl_resource *resource) { struct ivi_shell *shell = wl_resource_get_user_data(resource); shell->input_panel.binding = NULL; } static void bind_input_panel(struct wl_client *client, void *data, uint32_t version, uint32_t id) { struct ivi_shell *shell = data; struct wl_resource *resource; resource = wl_resource_create(client, &zwp_input_panel_v1_interface, 1, id); if (shell->input_panel.binding == NULL) { wl_resource_set_implementation(resource, &input_panel_implementation, shell, unbind_input_panel); shell->input_panel.binding = resource; return; } wl_resource_post_error(resource, WL_DISPLAY_ERROR_INVALID_OBJECT, "interface object already bound"); } void input_panel_destroy(struct ivi_shell *shell) { wl_list_remove(&shell->show_input_panel_listener.link); wl_list_remove(&shell->hide_input_panel_listener.link); } int input_panel_setup(struct ivi_shell *shell) { struct weston_compositor *ec = shell->compositor; shell->show_input_panel_listener.notify = show_input_panels; wl_signal_add(&ec->show_input_panel_signal, &shell->show_input_panel_listener); shell->hide_input_panel_listener.notify = hide_input_panels; wl_signal_add(&ec->hide_input_panel_signal, &shell->hide_input_panel_listener); shell->update_input_panel_listener.notify = update_input_panels; wl_signal_add(&ec->update_input_panel_signal, &shell->update_input_panel_listener); wl_list_init(&shell->input_panel.surfaces); if (wl_global_create(shell->compositor->wl_display, &zwp_input_panel_v1_interface, 1, shell, bind_input_panel) == NULL) return -1; return 0; } weston-3.0.0/ivi-shell/ivi-shell.c0000664000175000017500000003352613142404577013730 00000000000000/* * Copyright (C) 2013 DENSO CORPORATION * * 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 (including the * next paragraph) 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. */ /* * ivi-shell supports a type of shell for In-Vehicle Infotainment system. * In-Vehicle Infotainment system traditionally manages surfaces with global * identification. A protocol, ivi_application, supports such a feature * by implementing a request, ivi_application::surface_creation defined in * ivi_application.xml. * * The ivi-shell explicitly loads a module to add business logic like how to * layout surfaces by using internal ivi-layout APIs. */ #include "config.h" #include #include #include #include #include #include #include "ivi-shell.h" #include "ivi-application-server-protocol.h" #include "ivi-layout-export.h" #include "ivi-layout-shell.h" #include "shared/helpers.h" #include "compositor/weston.h" /* Representation of ivi_surface protocol object. */ struct ivi_shell_surface { struct wl_resource* resource; struct ivi_shell *shell; struct ivi_layout_surface *layout_surface; struct weston_surface *surface; struct wl_listener surface_destroy_listener; uint32_t id_surface; int32_t width; int32_t height; struct wl_list link; }; struct ivi_shell_setting { char *ivi_module; int developermode; }; /* * Implementation of ivi_surface */ static void ivi_shell_surface_committed(struct weston_surface *, int32_t, int32_t); static struct ivi_shell_surface * get_ivi_shell_surface(struct weston_surface *surface) { struct ivi_shell_surface *shsurf; if (surface->committed != ivi_shell_surface_committed) return NULL; shsurf = surface->committed_private; assert(shsurf); assert(shsurf->surface == surface); return shsurf; } struct ivi_layout_surface * shell_get_ivi_layout_surface(struct weston_surface *surface) { struct ivi_shell_surface *shsurf; shsurf = get_ivi_shell_surface(surface); if (!shsurf) return NULL; return shsurf->layout_surface; } void shell_surface_send_configure(struct weston_surface *surface, int32_t width, int32_t height) { struct ivi_shell_surface *shsurf; shsurf = get_ivi_shell_surface(surface); assert(shsurf); if (!shsurf) return; if (shsurf->resource) ivi_surface_send_configure(shsurf->resource, width, height); } static void ivi_shell_surface_committed(struct weston_surface *surface, int32_t sx, int32_t sy) { struct ivi_shell_surface *ivisurf = get_ivi_shell_surface(surface); assert(ivisurf); if (!ivisurf) return; if (surface->width == 0 || surface->height == 0) return; if (ivisurf->width != surface->width || ivisurf->height != surface->height) { ivisurf->width = surface->width; ivisurf->height = surface->height; ivi_layout_surface_configure(ivisurf->layout_surface, surface->width, surface->height); } } static int ivi_shell_surface_get_label(struct weston_surface *surface, char *buf, size_t len) { struct ivi_shell_surface *shell_surf = get_ivi_shell_surface(surface); if (!shell_surf) return snprintf(buf, len, "unidentified window in ivi-shell"); return snprintf(buf, len, "ivi-surface %#x", shell_surf->id_surface); } static void layout_surface_cleanup(struct ivi_shell_surface *ivisurf) { assert(ivisurf->layout_surface != NULL); ivi_layout_surface_destroy(ivisurf->layout_surface); ivisurf->layout_surface = NULL; ivisurf->surface->committed = NULL; ivisurf->surface->committed_private = NULL; weston_surface_set_label_func(ivisurf->surface, NULL); ivisurf->surface = NULL; // destroy weston_surface destroy signal. wl_list_remove(&ivisurf->surface_destroy_listener.link); } /* * The ivi_surface wl_resource destructor. * * Gets called via ivi_surface.destroy request or automatic wl_client clean-up. */ static void shell_destroy_shell_surface(struct wl_resource *resource) { struct ivi_shell_surface *ivisurf = wl_resource_get_user_data(resource); if (ivisurf == NULL) return; assert(ivisurf->resource == resource); if (ivisurf->layout_surface != NULL) layout_surface_cleanup(ivisurf); wl_list_remove(&ivisurf->link); free(ivisurf); } /* Gets called through the weston_surface destroy signal. */ static void shell_handle_surface_destroy(struct wl_listener *listener, void *data) { struct ivi_shell_surface *ivisurf = container_of(listener, struct ivi_shell_surface, surface_destroy_listener); assert(ivisurf != NULL); if (ivisurf->layout_surface != NULL) layout_surface_cleanup(ivisurf); } /* Gets called, when a client sends ivi_surface.destroy request. */ static void surface_destroy(struct wl_client *client, struct wl_resource *resource) { /* * Fires the wl_resource destroy signal, and then calls * ivi_surface wl_resource destructor: shell_destroy_shell_surface() */ wl_resource_destroy(resource); } static const struct ivi_surface_interface surface_implementation = { surface_destroy, }; /** * Request handler for ivi_application.surface_create. * * Creates an ivi_surface protocol object associated with the given wl_surface. * ivi_surface protocol object is represented by struct ivi_shell_surface. * * \param client The client. * \param resource The ivi_application protocol object. * \param id_surface The IVI surface ID. * \param surface_resource The wl_surface protocol object. * \param id The protocol object id for the new ivi_surface protocol object. * * The wl_surface is given the ivi_surface role and associated with a unique * IVI ID which is used to identify the surface in a controller * (window manager). */ static void application_surface_create(struct wl_client *client, struct wl_resource *resource, uint32_t id_surface, struct wl_resource *surface_resource, uint32_t id) { struct ivi_shell *shell = wl_resource_get_user_data(resource); struct ivi_shell_surface *ivisurf; struct ivi_layout_surface *layout_surface; struct weston_surface *weston_surface = wl_resource_get_user_data(surface_resource); struct wl_resource *res; if (weston_surface_set_role(weston_surface, "ivi_surface", resource, IVI_APPLICATION_ERROR_ROLE) < 0) return; layout_surface = ivi_layout_surface_create(weston_surface, id_surface); /* check if id_ivi is already used for wl_surface*/ if (layout_surface == NULL) { wl_resource_post_error(resource, IVI_APPLICATION_ERROR_IVI_ID, "surface_id is already assigned " "by another app"); return; } ivisurf = zalloc(sizeof *ivisurf); if (ivisurf == NULL) { wl_resource_post_no_memory(resource); return; } wl_list_init(&ivisurf->link); wl_list_insert(&shell->ivi_surface_list, &ivisurf->link); ivisurf->shell = shell; ivisurf->id_surface = id_surface; ivisurf->width = 0; ivisurf->height = 0; ivisurf->layout_surface = layout_surface; /* * The following code relies on wl_surface destruction triggering * immediateweston_surface destruction */ ivisurf->surface_destroy_listener.notify = shell_handle_surface_destroy; wl_signal_add(&weston_surface->destroy_signal, &ivisurf->surface_destroy_listener); ivisurf->surface = weston_surface; weston_surface->committed = ivi_shell_surface_committed; weston_surface->committed_private = ivisurf; weston_surface_set_label_func(weston_surface, ivi_shell_surface_get_label); res = wl_resource_create(client, &ivi_surface_interface, 1, id); if (res == NULL) { wl_client_post_no_memory(client); return; } ivisurf->resource = res; wl_resource_set_implementation(res, &surface_implementation, ivisurf, shell_destroy_shell_surface); } static const struct ivi_application_interface application_implementation = { application_surface_create }; /* * Handle wl_registry.bind of ivi_application global singleton. */ static void bind_ivi_application(struct wl_client *client, void *data, uint32_t version, uint32_t id) { struct ivi_shell *shell = data; struct wl_resource *resource; resource = wl_resource_create(client, &ivi_application_interface, 1, id); wl_resource_set_implementation(resource, &application_implementation, shell, NULL); } struct weston_view * get_default_view(struct weston_surface *surface) { struct weston_view *view; if (!surface || wl_list_empty(&surface->views)) return NULL; wl_list_for_each(view, &surface->views, surface_link) { if (weston_view_is_mapped(view)) return view; } return container_of(surface->views.next, struct weston_view, surface_link); } /* * Called through the compositor's destroy signal. */ static void shell_destroy(struct wl_listener *listener, void *data) { struct ivi_shell *shell = container_of(listener, struct ivi_shell, destroy_listener); struct ivi_shell_surface *ivisurf, *next; text_backend_destroy(shell->text_backend); input_panel_destroy(shell); wl_list_for_each_safe(ivisurf, next, &shell->ivi_surface_list, link) { wl_list_remove(&ivisurf->link); free(ivisurf); } free(shell); } static void terminate_binding(struct weston_keyboard *keyboard, uint32_t time, uint32_t key, void *data) { struct weston_compositor *compositor = data; wl_display_terminate(compositor->wl_display); } static void init_ivi_shell(struct weston_compositor *compositor, struct ivi_shell *shell, const struct ivi_shell_setting *setting) { shell->compositor = compositor; wl_list_init(&shell->ivi_surface_list); weston_layer_init(&shell->input_panel_layer, compositor); if (setting->developermode) { weston_install_debug_key_binding(compositor, MODIFIER_SUPER); weston_compositor_add_key_binding(compositor, KEY_BACKSPACE, MODIFIER_CTRL | MODIFIER_ALT, terminate_binding, compositor); } } static int ivi_shell_setting_create(struct ivi_shell_setting *dest, struct weston_compositor *compositor, int *argc, char *argv[]) { int result = 0; struct weston_config *config = wet_get_config(compositor); struct weston_config_section *section; const struct weston_option ivi_shell_options[] = { { WESTON_OPTION_STRING, "ivi-module", 0, &dest->ivi_module }, }; parse_options(ivi_shell_options, ARRAY_LENGTH(ivi_shell_options), argc, argv); section = weston_config_get_section(config, "ivi-shell", NULL, NULL); if (!dest->ivi_module && weston_config_section_get_string(section, "ivi-module", &dest->ivi_module, NULL) < 0) { weston_log("Error: ivi-shell: No ivi-module set\n"); result = -1; } weston_config_section_get_bool(section, "developermode", &dest->developermode, 0); return result; } static void activate_binding(struct weston_seat *seat, struct weston_view *focus_view) { struct weston_surface *focus = focus_view->surface; struct weston_surface *main_surface = weston_surface_get_main_surface(focus); if (get_ivi_shell_surface(main_surface) == NULL) return; weston_seat_set_keyboard_focus(seat, focus); } static void click_to_activate_binding(struct weston_pointer *pointer, uint32_t time, uint32_t button, void *data) { if (pointer->grab != &pointer->default_grab) return; if (pointer->focus == NULL) return; activate_binding(pointer->seat, pointer->focus); } static void touch_to_activate_binding(struct weston_touch *touch, uint32_t time, void *data) { if (touch->grab != &touch->default_grab) return; if (touch->focus == NULL) return; activate_binding(touch->seat, touch->focus); } static void shell_add_bindings(struct weston_compositor *compositor, struct ivi_shell *shell) { weston_compositor_add_button_binding(compositor, BTN_LEFT, 0, click_to_activate_binding, shell); weston_compositor_add_button_binding(compositor, BTN_RIGHT, 0, click_to_activate_binding, shell); weston_compositor_add_touch_binding(compositor, 0, touch_to_activate_binding, shell); } /* * Initialization of ivi-shell. */ WL_EXPORT int wet_shell_init(struct weston_compositor *compositor, int *argc, char *argv[]) { struct ivi_shell *shell; struct ivi_shell_setting setting = { }; int retval = -1; shell = zalloc(sizeof *shell); if (shell == NULL) return -1; if (ivi_shell_setting_create(&setting, compositor, argc, argv) != 0) return -1; init_ivi_shell(compositor, shell, &setting); shell->destroy_listener.notify = shell_destroy; wl_signal_add(&compositor->destroy_signal, &shell->destroy_listener); if (input_panel_setup(shell) < 0) goto out_settings; shell->text_backend = text_backend_init(compositor); if (!shell->text_backend) goto out_settings; if (wl_global_create(compositor->wl_display, &ivi_application_interface, 1, shell, bind_ivi_application) == NULL) goto out_settings; ivi_layout_init_with_compositor(compositor); shell_add_bindings(compositor, shell); /* Call module_init of ivi-modules which are defined in weston.ini */ if (load_controller_modules(compositor, setting.ivi_module, argc, argv) < 0) goto out_settings; retval = 0; out_settings: free(setting.ivi_module); return retval; } weston-3.0.0/ivi-shell/ivi-layout-transition.c0000664000175000017500000005601413142404577016323 00000000000000/* * Copyright (C) 2014 DENSO CORPORATION * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include #include "ivi-shell.h" #include "ivi-layout-export.h" #include "ivi-layout-private.h" struct ivi_layout_transition; typedef void (*ivi_layout_transition_frame_func)( struct ivi_layout_transition *transition); typedef void (*ivi_layout_transition_destroy_func)( struct ivi_layout_transition *transition); typedef int32_t (*ivi_layout_is_transition_func)(void *private_data, void *id); struct ivi_layout_transition { enum ivi_layout_transition_type type; void *private_data; void *user_data; uint32_t time_start; uint32_t time_duration; uint32_t time_elapsed; uint32_t is_done; ivi_layout_is_transition_func is_transition_func; ivi_layout_transition_frame_func frame_func; ivi_layout_transition_destroy_func destroy_func; }; struct transition_node { struct ivi_layout_transition *transition; /* ivi_layout::pending_transition_list * ivi_layout_transition_set::transition_list */ struct wl_list link; }; static void layout_transition_destroy(struct ivi_layout_transition *transition); static struct ivi_layout_transition * get_transition_from_type_and_id(enum ivi_layout_transition_type type, void *id_data) { struct ivi_layout *layout = get_instance(); struct transition_node *node; struct ivi_layout_transition *tran; wl_list_for_each(node, &layout->transitions->transition_list, link) { tran = node->transition; if (tran->type == type && tran->is_transition_func(tran->private_data, id_data)) return tran; } return NULL; } int32_t is_surface_transition(struct ivi_layout_surface *surface) { struct ivi_layout *layout = get_instance(); struct transition_node *node; struct ivi_layout_transition *tran; wl_list_for_each(node, &layout->transitions->transition_list, link) { tran = node->transition; if ((tran->type == IVI_LAYOUT_TRANSITION_VIEW_MOVE_RESIZE || tran->type == IVI_LAYOUT_TRANSITION_VIEW_RESIZE) && tran->is_transition_func(tran->private_data, surface)) return 1; } return 0; } void ivi_layout_remove_all_surface_transitions(struct ivi_layout_surface *surface) { struct ivi_layout *layout = get_instance(); struct transition_node *node; struct transition_node *tmp; struct ivi_layout_transition *tran; wl_list_for_each_safe(node, tmp, &layout->transitions->transition_list, link) { tran = node->transition; if (tran->is_transition_func(tran->private_data, surface)) { layout_transition_destroy(tran); } }; } static void tick_transition(struct ivi_layout_transition *transition, uint32_t timestamp) { const double t = timestamp - transition->time_start; if (transition->time_duration <= t) { transition->time_elapsed = transition->time_duration; transition->is_done = 1; } else { transition->time_elapsed = t; } } static float time_to_nowpos(struct ivi_layout_transition *transition) { return sin((float)transition->time_elapsed / (float)transition->time_duration * M_PI_2); } static void do_transition_frame(struct ivi_layout_transition *transition, uint32_t timestamp) { if (0 == transition->time_start) transition->time_start = timestamp; tick_transition(transition, timestamp); transition->frame_func(transition); if (transition->is_done) layout_transition_destroy(transition); } static int32_t layout_transition_frame(void *data) { struct ivi_layout_transition_set *transitions = data; uint32_t fps = 30; struct timespec timestamp = {}; uint32_t msec = 0; struct transition_node *node = NULL; struct transition_node *next = NULL; if (wl_list_empty(&transitions->transition_list)) { wl_event_source_timer_update(transitions->event_source, 0); return 1; } wl_event_source_timer_update(transitions->event_source, 1000 / fps); clock_gettime(CLOCK_MONOTONIC, ×tamp);/* FIXME */ msec = (1e+3 * timestamp.tv_sec + 1e-6 * timestamp.tv_nsec); wl_list_for_each_safe(node, next, &transitions->transition_list, link) { do_transition_frame(node->transition, msec); } ivi_layout_commit_changes(); return 1; } struct ivi_layout_transition_set * ivi_layout_transition_set_create(struct weston_compositor *ec) { struct ivi_layout_transition_set *transitions; struct wl_event_loop *loop; transitions = malloc(sizeof(*transitions)); if (transitions == NULL) { weston_log("%s: memory allocation fails\n", __func__); return NULL; } wl_list_init(&transitions->transition_list); loop = wl_display_get_event_loop(ec->wl_display); transitions->event_source = wl_event_loop_add_timer(loop, layout_transition_frame, transitions); return transitions; } static bool layout_transition_register(struct ivi_layout_transition *trans) { struct ivi_layout *layout = get_instance(); struct transition_node *node; node = malloc(sizeof(*node)); if (node == NULL) { weston_log("%s: memory allocation fails\n", __func__); return false; } node->transition = trans; wl_list_insert(&layout->pending_transition_list, &node->link); return true; } static void remove_transition(struct ivi_layout *layout, struct ivi_layout_transition *trans) { struct transition_node *node; struct transition_node *next; wl_list_for_each_safe(node, next, &layout->transitions->transition_list, link) { if (node->transition == trans) { wl_list_remove(&node->link); free(node); return; } } wl_list_for_each_safe(node, next, &layout->pending_transition_list, link) { if (node->transition == trans) { wl_list_remove(&node->link); free(node); return; } } } static void layout_transition_destroy(struct ivi_layout_transition *transition) { struct ivi_layout *layout = get_instance(); remove_transition(layout, transition); if (transition->destroy_func) transition->destroy_func(transition); free(transition); } static struct ivi_layout_transition * create_layout_transition(void) { struct ivi_layout_transition *transition = malloc(sizeof(*transition)); if (transition == NULL) { weston_log("%s: memory allocation fails\n", __func__); return NULL; } transition->type = IVI_LAYOUT_TRANSITION_MAX; transition->time_start = 0; transition->time_duration = 300; /* 300ms */ transition->time_elapsed = 0; transition->is_done = 0; transition->is_transition_func = NULL; transition->private_data = NULL; transition->user_data = NULL; transition->frame_func = NULL; transition->destroy_func = NULL; return transition; } /* move and resize view transition */ struct move_resize_view_data { struct ivi_layout_surface *surface; int32_t start_x; int32_t start_y; int32_t end_x; int32_t end_y; int32_t start_width; int32_t start_height; int32_t end_width; int32_t end_height; }; static void transition_move_resize_view_destroy(struct ivi_layout_transition *transition) { struct move_resize_view_data *data = (struct move_resize_view_data *)transition->private_data; struct ivi_layout_surface *layout_surface = data->surface; shell_surface_send_configure(layout_surface->surface, layout_surface->prop.dest_width, layout_surface->prop.dest_height); if (transition->private_data) { free(transition->private_data); transition->private_data = NULL; } } static void transition_move_resize_view_user_frame(struct ivi_layout_transition *transition) { struct move_resize_view_data *mrv = transition->private_data; const double current = time_to_nowpos(transition); const int32_t destx = mrv->start_x + (mrv->end_x - mrv->start_x) * current; const int32_t desty = mrv->start_y + (mrv->end_y - mrv->start_y) * current; const int32_t dest_width = mrv->start_width + (mrv->end_width - mrv->start_width) * current; const int32_t dest_height = mrv->start_height + (mrv->end_height - mrv->start_height) * current; ivi_layout_surface_set_destination_rectangle(mrv->surface, destx, desty, dest_width, dest_height); } static int32_t is_transition_move_resize_view_func(struct move_resize_view_data *data, struct ivi_layout_surface *view) { return data->surface == view; } static struct ivi_layout_transition * create_move_resize_view_transition( struct ivi_layout_surface *surface, int32_t start_x, int32_t start_y, int32_t end_x, int32_t end_y, int32_t start_width, int32_t start_height, int32_t end_width, int32_t end_height, ivi_layout_transition_frame_func frame_func, ivi_layout_transition_destroy_func destroy_func, uint32_t duration) { struct ivi_layout_transition *transition; struct move_resize_view_data *data; transition = create_layout_transition(); if (transition == NULL) return NULL; data = malloc(sizeof(*data)); if (data == NULL) { weston_log("%s: memory allocation fails\n", __func__); free(transition); return NULL; } transition->type = IVI_LAYOUT_TRANSITION_VIEW_MOVE_RESIZE; transition->is_transition_func = (ivi_layout_is_transition_func)is_transition_move_resize_view_func; transition->frame_func = frame_func; transition->destroy_func = destroy_func; transition->private_data = data; if (duration != 0) transition->time_duration = duration; data->surface = surface; data->start_x = start_x; data->start_y = start_y; data->end_x = end_x; data->end_y = end_y; data->start_width = start_width; data->start_height = start_height; data->end_width = end_width; data->end_height = end_height; return transition; } void ivi_layout_transition_move_resize_view(struct ivi_layout_surface *surface, int32_t dest_x, int32_t dest_y, int32_t dest_width, int32_t dest_height, uint32_t duration) { struct ivi_layout_transition *transition; int32_t start_pos[2] = { surface->pending.prop.start_x, surface->pending.prop.start_y }; int32_t start_size[2] = { surface->pending.prop.start_width, surface->pending.prop.start_height }; transition = get_transition_from_type_and_id( IVI_LAYOUT_TRANSITION_VIEW_MOVE_RESIZE, surface); if (transition) { struct move_resize_view_data *data = transition->private_data; transition->time_start = 0; transition->time_duration = duration; data->start_x = start_pos[0]; data->start_y = start_pos[1]; data->end_x = dest_x; data->end_y = dest_y; data->start_width = start_size[0]; data->start_height = start_size[1]; data->end_width = dest_width; data->end_height = dest_height; return; } transition = create_move_resize_view_transition( surface, start_pos[0], start_pos[1], dest_x, dest_y, start_size[0], start_size[1], dest_width, dest_height, transition_move_resize_view_user_frame, transition_move_resize_view_destroy, duration); if (transition && layout_transition_register(transition)) return; layout_transition_destroy(transition); } /* fade transition */ struct fade_view_data { struct ivi_layout_surface *surface; double start_alpha; double end_alpha; }; struct store_alpha{ double alpha; }; static void fade_view_user_frame(struct ivi_layout_transition *transition) { struct fade_view_data *fade = transition->private_data; struct ivi_layout_surface *surface = fade->surface; const double current = time_to_nowpos(transition); const double alpha = fade->start_alpha + (fade->end_alpha - fade->start_alpha) * current; ivi_layout_surface_set_opacity(surface, wl_fixed_from_double(alpha)); ivi_layout_surface_set_visibility(surface, true); } static int32_t is_transition_fade_view_func(struct fade_view_data *data, struct ivi_layout_surface *view) { return data->surface == view; } static struct ivi_layout_transition * create_fade_view_transition( struct ivi_layout_surface *surface, double start_alpha, double end_alpha, ivi_layout_transition_frame_func frame_func, void *user_data, ivi_layout_transition_destroy_func destroy_func, uint32_t duration) { struct ivi_layout_transition *transition; struct fade_view_data *data; transition = create_layout_transition(); if (transition == NULL) return NULL; data = malloc(sizeof(*data)); if (data == NULL) { weston_log("%s: memory allocation fails\n", __func__); free(transition); return NULL; } transition->type = IVI_LAYOUT_TRANSITION_VIEW_FADE; transition->is_transition_func = (ivi_layout_is_transition_func)is_transition_fade_view_func; transition->user_data = user_data; transition->private_data = data; transition->frame_func = frame_func; transition->destroy_func = destroy_func; if (duration != 0) transition->time_duration = duration; data->surface = surface; data->start_alpha = start_alpha; data->end_alpha = end_alpha; return transition; } static void create_visibility_transition(struct ivi_layout_surface *surface, double start_alpha, double dest_alpha, void *user_data, ivi_layout_transition_destroy_func destroy_func, uint32_t duration) { struct ivi_layout_transition *transition = NULL; transition = create_fade_view_transition( surface, start_alpha, dest_alpha, fade_view_user_frame, user_data, destroy_func, duration); if (transition && layout_transition_register(transition)) return; layout_transition_destroy(transition); } static void visibility_on_transition_destroy(struct ivi_layout_transition *transition) { struct fade_view_data *data = transition->private_data; struct store_alpha *user_data = transition->user_data; ivi_layout_surface_set_visibility(data->surface, true); free(data); transition->private_data = NULL; free(user_data); transition->user_data = NULL; } void ivi_layout_transition_visibility_on(struct ivi_layout_surface *surface, uint32_t duration) { struct ivi_layout_transition *transition; bool is_visible = surface->prop.visibility; wl_fixed_t dest_alpha = surface->prop.opacity; struct store_alpha *user_data = NULL; wl_fixed_t start_alpha = 0.0; struct fade_view_data *data = NULL; transition = get_transition_from_type_and_id( IVI_LAYOUT_TRANSITION_VIEW_FADE, surface); if (transition) { start_alpha = surface->prop.opacity; user_data = transition->user_data; data = transition->private_data; transition->time_start = 0; transition->time_duration = duration; transition->destroy_func = visibility_on_transition_destroy; data->start_alpha = wl_fixed_to_double(start_alpha); data->end_alpha = user_data->alpha; return; } if (is_visible) return; user_data = malloc(sizeof(*user_data)); if (user_data == NULL) { weston_log("%s: memory allocation fails\n", __func__); return; } user_data->alpha = wl_fixed_to_double(dest_alpha); create_visibility_transition(surface, 0.0, // start_alpha wl_fixed_to_double(dest_alpha), user_data, visibility_on_transition_destroy, duration); } static void visibility_off_transition_destroy(struct ivi_layout_transition *transition) { struct fade_view_data *data = transition->private_data; struct store_alpha *user_data = transition->user_data; ivi_layout_surface_set_visibility(data->surface, false); ivi_layout_surface_set_opacity(data->surface, wl_fixed_from_double(user_data->alpha)); free(data); transition->private_data = NULL; free(user_data); transition->user_data= NULL; } void ivi_layout_transition_visibility_off(struct ivi_layout_surface *surface, uint32_t duration) { struct ivi_layout_transition *transition; wl_fixed_t start_alpha = surface->prop.opacity; struct store_alpha* user_data = NULL; struct fade_view_data* data = NULL; transition = get_transition_from_type_and_id(IVI_LAYOUT_TRANSITION_VIEW_FADE, surface); if (transition) { data = transition->private_data; transition->time_start = 0; transition->time_duration = duration; transition->destroy_func = visibility_off_transition_destroy; data->start_alpha = wl_fixed_to_double(start_alpha); data->end_alpha = 0; return; } user_data = malloc(sizeof(*user_data)); if (user_data == NULL) { weston_log("%s: memory allocation fails\n", __func__); return; } user_data->alpha = wl_fixed_to_double(start_alpha); create_visibility_transition(surface, wl_fixed_to_double(start_alpha), 0.0, // dest_alpha user_data, visibility_off_transition_destroy, duration); } /* move layer transition */ struct move_layer_data { struct ivi_layout_layer *layer; int32_t start_x; int32_t start_y; int32_t end_x; int32_t end_y; ivi_layout_transition_destroy_user_func destroy_func; }; static void transition_move_layer_user_frame(struct ivi_layout_transition *transition) { struct move_layer_data *data = transition->private_data; struct ivi_layout_layer *layer = data->layer; const float current = time_to_nowpos(transition); const int32_t dest_x = data->start_x + (data->end_x - data->start_x) * current; const int32_t dest_y = data->start_y + (data->end_y - data->start_y) * current; ivi_layout_layer_set_destination_rectangle(layer, dest_x, dest_y, layer->prop.dest_width, layer->prop.dest_height); } static void transition_move_layer_destroy(struct ivi_layout_transition *transition) { struct move_layer_data *data = transition->private_data; if (data->destroy_func) data->destroy_func(transition->user_data); free(data); transition->private_data = NULL; } static int32_t is_transition_move_layer_func(struct move_layer_data *data, struct ivi_layout_layer *layer) { return data->layer == layer; } static struct ivi_layout_transition * create_move_layer_transition( struct ivi_layout_layer *layer, int32_t start_x, int32_t start_y, int32_t end_x, int32_t end_y, void *user_data, ivi_layout_transition_destroy_user_func destroy_user_func, uint32_t duration) { struct ivi_layout_transition *transition; struct move_layer_data *data; transition = create_layout_transition(); if (transition == NULL) return NULL; data = malloc(sizeof(*data)); if (data == NULL) { weston_log("%s: memory allocation fails\n", __func__); free(transition); return NULL; } transition->type = IVI_LAYOUT_TRANSITION_LAYER_MOVE; transition->is_transition_func = (ivi_layout_is_transition_func)is_transition_move_layer_func; transition->frame_func = transition_move_layer_user_frame; transition->destroy_func = transition_move_layer_destroy; transition->private_data = data; transition->user_data = user_data; if (duration != 0) transition->time_duration = duration; data->layer = layer; data->start_x = start_x; data->start_y = start_y; data->end_x = end_x; data->end_y = end_y; data->destroy_func = destroy_user_func; return transition; } void ivi_layout_transition_move_layer(struct ivi_layout_layer *layer, int32_t dest_x, int32_t dest_y, uint32_t duration) { int32_t start_pos_x = layer->prop.dest_x; int32_t start_pos_y = layer->prop.dest_y; struct ivi_layout_transition *transition = NULL; transition = create_move_layer_transition( layer, start_pos_x, start_pos_y, dest_x, dest_y, NULL, NULL, duration); if (transition && layout_transition_register(transition)) return; free(transition); } void ivi_layout_transition_move_layer_cancel(struct ivi_layout_layer *layer) { struct ivi_layout_transition *transition = get_transition_from_type_and_id( IVI_LAYOUT_TRANSITION_LAYER_MOVE, layer); if (transition) { layout_transition_destroy(transition); } } /* fade layer transition */ struct fade_layer_data { struct ivi_layout_layer *layer; uint32_t is_fade_in; double start_alpha; double end_alpha; ivi_layout_transition_destroy_user_func destroy_func; }; static void transition_fade_layer_destroy(struct ivi_layout_transition *transition) { struct fade_layer_data *data = transition->private_data; transition->private_data = NULL; free(data); } static void transition_fade_layer_user_frame(struct ivi_layout_transition *transition) { double current = time_to_nowpos(transition); struct fade_layer_data *data = transition->private_data; double alpha = data->start_alpha + (data->end_alpha - data->start_alpha) * current; wl_fixed_t fixed_alpha = wl_fixed_from_double(alpha); int32_t is_done = transition->is_done; bool is_visible = !is_done || data->is_fade_in; ivi_layout_layer_set_opacity(data->layer, fixed_alpha); ivi_layout_layer_set_visibility(data->layer, is_visible); } static int32_t is_transition_fade_layer_func(struct fade_layer_data *data, struct ivi_layout_layer *layer) { return data->layer == layer; } void ivi_layout_transition_fade_layer( struct ivi_layout_layer *layer, uint32_t is_fade_in, double start_alpha, double end_alpha, void* user_data, ivi_layout_transition_destroy_user_func destroy_func, uint32_t duration) { struct ivi_layout_transition *transition; struct fade_layer_data *data = NULL; wl_fixed_t fixed_opacity = 0.0; double now_opacity = 0.0; double remain = 0.0; transition = get_transition_from_type_and_id( IVI_LAYOUT_TRANSITION_LAYER_FADE, layer); if (transition) { /* transition update */ data = transition->private_data; /* FIXME */ fixed_opacity = layer->prop.opacity; now_opacity = wl_fixed_to_double(fixed_opacity); remain = 0.0; data->is_fade_in = is_fade_in; data->start_alpha = now_opacity; data->end_alpha = end_alpha; remain = is_fade_in? 1.0 - now_opacity : now_opacity; transition->time_start = 0; transition->time_elapsed = 0; transition->time_duration = duration * remain; return; } transition = create_layout_transition(); if (transition == NULL) return; data = malloc(sizeof(*data)); if (data == NULL) { weston_log("%s: memory allocation fails\n", __func__); free(transition); return; } transition->type = IVI_LAYOUT_TRANSITION_LAYER_FADE; transition->is_transition_func = (ivi_layout_is_transition_func)is_transition_fade_layer_func; transition->private_data = data; transition->user_data = user_data; transition->frame_func = transition_fade_layer_user_frame; transition->destroy_func = transition_fade_layer_destroy; if (duration != 0) transition->time_duration = duration; data->layer = layer; data->is_fade_in = is_fade_in; data->start_alpha = start_alpha; data->end_alpha = end_alpha; data->destroy_func = destroy_func; if (!layout_transition_register(transition)) layout_transition_destroy(transition); return; } weston-3.0.0/ivi-shell/ivi-layout-export.h0000664000175000017500000004403013142404577015452 00000000000000/* * Copyright (C) 2013 DENSO CORPORATION * * 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 (including the * next paragraph) 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. */ /** * The ivi-layout library supports API set of controlling properties of * surface and layer which groups surfaces. A unique ID whose type is integer is * required to create surface and layer. With the unique ID, surface and layer * are identified to control them. The API set consists of APIs to control * properties of surface and layers about followings, * - visibility. * - opacity. * - clipping (x,y,width,height). * - position and size of it to be displayed. * - orientation per 90 degree. * - add or remove surfaces to a layer. * - order of surfaces/layers in layer/screen to be displayed. * - commit to apply property changes. * - notifications of property change. * * Management of surfaces and layers grouping these surfaces are common * way in In-Vehicle Infotainment system, which integrate several domains * in one system. A layer is allocated to a domain in order to control * application surfaces grouped to the layer all together. * * This API and ABI follow following specifications. * https://at.projects.genivi.org/wiki/display/PROJ/Wayland+IVI+Extension+Design */ #ifndef _IVI_LAYOUT_EXPORT_H_ #define _IVI_LAYOUT_EXPORT_H_ #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ #include #include "stdbool.h" #include "compositor.h" #define IVI_SUCCEEDED (0) #define IVI_FAILED (-1) struct ivi_layout_layer; struct ivi_layout_screen; struct ivi_layout_surface; struct ivi_layout_surface_properties { wl_fixed_t opacity; int32_t source_x; int32_t source_y; int32_t source_width; int32_t source_height; int32_t start_x; int32_t start_y; int32_t start_width; int32_t start_height; int32_t dest_x; int32_t dest_y; int32_t dest_width; int32_t dest_height; enum wl_output_transform orientation; bool visibility; int32_t transition_type; uint32_t transition_duration; uint32_t event_mask; }; struct ivi_layout_layer_properties { wl_fixed_t opacity; int32_t source_x; int32_t source_y; int32_t source_width; int32_t source_height; int32_t dest_x; int32_t dest_y; int32_t dest_width; int32_t dest_height; enum wl_output_transform orientation; uint32_t visibility; int32_t transition_type; uint32_t transition_duration; double start_alpha; double end_alpha; uint32_t is_fade_in; uint32_t event_mask; }; enum ivi_layout_notification_mask { IVI_NOTIFICATION_NONE = 0, IVI_NOTIFICATION_OPACITY = (1 << 1), IVI_NOTIFICATION_SOURCE_RECT = (1 << 2), IVI_NOTIFICATION_DEST_RECT = (1 << 3), IVI_NOTIFICATION_DIMENSION = (1 << 4), IVI_NOTIFICATION_POSITION = (1 << 5), IVI_NOTIFICATION_ORIENTATION = (1 << 6), IVI_NOTIFICATION_VISIBILITY = (1 << 7), IVI_NOTIFICATION_PIXELFORMAT = (1 << 8), IVI_NOTIFICATION_ADD = (1 << 9), IVI_NOTIFICATION_REMOVE = (1 << 10), IVI_NOTIFICATION_CONFIGURE = (1 << 11), IVI_NOTIFICATION_ALL = 0xFFFF }; enum ivi_layout_transition_type{ IVI_LAYOUT_TRANSITION_NONE, IVI_LAYOUT_TRANSITION_VIEW_DEFAULT, IVI_LAYOUT_TRANSITION_VIEW_DEST_RECT_ONLY, IVI_LAYOUT_TRANSITION_VIEW_FADE_ONLY, IVI_LAYOUT_TRANSITION_LAYER_FADE, IVI_LAYOUT_TRANSITION_LAYER_MOVE, IVI_LAYOUT_TRANSITION_LAYER_VIEW_ORDER, IVI_LAYOUT_TRANSITION_VIEW_MOVE_RESIZE, IVI_LAYOUT_TRANSITION_VIEW_RESIZE, IVI_LAYOUT_TRANSITION_VIEW_FADE, IVI_LAYOUT_TRANSITION_MAX, }; struct ivi_layout_interface { /** * \brief Commit all changes and execute all enqueued commands since * last commit. * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*commit_changes)(void); /** * surface controller interface */ /** * \brief add a listener for notification when ivi_surface is created * * When an ivi_surface is created, a signal is emitted * to the listening controller plugins. * The pointer of the created ivi_surface is sent as the void *data argument * to the wl_listener::notify callback function of the listener. */ int32_t (*add_listener_create_surface)(struct wl_listener *listener); /** * \brief add a listener for notification when ivi_surface is removed * * When an ivi_surface is removed, a signal is emitted * to the listening controller plugins. * The pointer of the removed ivi_surface is sent as the void *data argument * to the wl_listener::notify callback function of the listener. */ int32_t (*add_listener_remove_surface)(struct wl_listener *listener); /** * \brief add a listener for notification when ivi_surface is configured * * When an ivi_surface is configured, a signal is emitted * to the listening controller plugins. * The pointer of the configured ivi_surface is sent as the void *data argument * to the wl_listener::notify callback function of the listener. */ int32_t (*add_listener_configure_surface)(struct wl_listener *listener); /** * \brief Get all ivi_surfaces which are currently registered and managed * by the services * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*get_surfaces)(int32_t *pLength, struct ivi_layout_surface ***ppArray); /** * \brief get id of ivi_surface from ivi_layout_surface * * \return id of ivi_surface */ uint32_t (*get_id_of_surface)(struct ivi_layout_surface *ivisurf); /** * \brief get ivi_layout_surface from id of ivi_surface * * \return (struct ivi_layout_surface *) * if the method call was successful * \return NULL if the method call was failed */ struct ivi_layout_surface * (*get_surface_from_id)(uint32_t id_surface); /** * \brief get ivi_layout_surface_properties from ivisurf * * \return (struct ivi_layout_surface_properties *) * if the method call was successful * \return NULL if the method call was failed */ const struct ivi_layout_surface_properties * (*get_properties_of_surface)(struct ivi_layout_surface *ivisurf); /** * \brief Get all Surfaces which are currently registered to a given * layer and are managed by the services * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*get_surfaces_on_layer)(struct ivi_layout_layer *ivilayer, int32_t *pLength, struct ivi_layout_surface ***ppArray); /** * \brief Set the visibility of a ivi_surface. * * If a surface is not visible it will not be rendered. * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*surface_set_visibility)(struct ivi_layout_surface *ivisurf, bool newVisibility); /** * \brief Set the opacity of a surface. * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*surface_set_opacity)(struct ivi_layout_surface *ivisurf, wl_fixed_t opacity); /** * \brief Set the area of a ivi_surface which should be used for the rendering. * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*surface_set_source_rectangle)(struct ivi_layout_surface *ivisurf, int32_t x, int32_t y, int32_t width, int32_t height); /** * \brief Set the destination area of a ivi_surface within a ivi_layer * for rendering. * * The surface will be scaled to this rectangle for rendering. * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*surface_set_destination_rectangle)(struct ivi_layout_surface *ivisurf, int32_t x, int32_t y, int32_t width, int32_t height); /** * \brief add a listener to listen property changes of ivi_surface * * When a property of the ivi_surface is changed, the property_changed * signal is emitted to the listening controller plugins. * The pointer of the ivi_surface is sent as the void *data argument * to the wl_listener::notify callback function of the listener. * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*surface_add_listener)(struct ivi_layout_surface *ivisurf, struct wl_listener *listener); /** * \brief get weston_surface of ivi_surface */ struct weston_surface * (*surface_get_weston_surface)(struct ivi_layout_surface *ivisurf); /** * \brief set type of transition animation */ int32_t (*surface_set_transition)(struct ivi_layout_surface *ivisurf, enum ivi_layout_transition_type type, uint32_t duration); /** * \brief set duration of transition animation */ int32_t (*surface_set_transition_duration)( struct ivi_layout_surface *ivisurf, uint32_t duration); /** * layer controller interface */ /** * \brief add a listener for notification when ivi_layer is created * * When an ivi_layer is created, a signal is emitted * to the listening controller plugins. * The pointer of the created ivi_layer is sent as the void *data argument * to the wl_listener::notify callback function of the listener. */ int32_t (*add_listener_create_layer)(struct wl_listener *listener); /** * \brief add a listener for notification when ivi_layer is removed * * When an ivi_layer is removed, a signal is emitted * to the listening controller plugins. * The pointer of the removed ivi_layer is sent as the void *data argument * to the wl_listener::notify callback function of the listener. */ int32_t (*add_listener_remove_layer)(struct wl_listener *listener); /** * \brief Create a ivi_layer which should be managed by the service * * \return (struct ivi_layout_layer *) * if the method call was successful * \return NULL if the method call was failed */ struct ivi_layout_layer * (*layer_create_with_dimension)(uint32_t id_layer, int32_t width, int32_t height); /** * \brief Removes a ivi_layer which is currently managed by the service */ void (*layer_destroy)(struct ivi_layout_layer *ivilayer); /** * \brief Get all ivi_layers which are currently registered and managed * by the services * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*get_layers)(int32_t *pLength, struct ivi_layout_layer ***ppArray); /** * \brief get id of ivi_layer from ivi_layout_layer * * * \return id of ivi_layer */ uint32_t (*get_id_of_layer)(struct ivi_layout_layer *ivilayer); /** * \brief get ivi_layout_layer from id of layer * * \return (struct ivi_layout_layer *) * if the method call was successful * \return NULL if the method call was failed */ struct ivi_layout_layer * (*get_layer_from_id)(uint32_t id_layer); /** * \brief Get the ivi_layer properties * * \return (const struct ivi_layout_layer_properties *) * if the method call was successful * \return NULL if the method call was failed */ const struct ivi_layout_layer_properties * (*get_properties_of_layer)(struct ivi_layout_layer *ivilayer); /** * \brief Get all ivi-layers under the given ivi-surface * * This means all the ivi-layers the ivi-surface was added to. It has * no relation to geometric overlaps. * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*get_layers_under_surface)(struct ivi_layout_surface *ivisurf, int32_t *pLength, struct ivi_layout_layer ***ppArray); /** * \brief Get all Layers of the given weston_output * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*get_layers_on_screen)(struct weston_output *output, int32_t *pLength, struct ivi_layout_layer ***ppArray); /** * \brief Set the visibility of a ivi_layer. If a ivi_layer is not visible, * the ivi_layer and its ivi_surfaces will not be rendered. * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*layer_set_visibility)(struct ivi_layout_layer *ivilayer, bool newVisibility); /** * \brief Set the opacity of a ivi_layer. * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*layer_set_opacity)(struct ivi_layout_layer *ivilayer, wl_fixed_t opacity); /** * \brief Set the area of a ivi_layer which should be used for the rendering. * * Only this part will be visible. * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*layer_set_source_rectangle)(struct ivi_layout_layer *ivilayer, int32_t x, int32_t y, int32_t width, int32_t height); /** * \brief Set the destination area on the display for a ivi_layer. * * The ivi_layer will be scaled and positioned to this rectangle * for rendering * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*layer_set_destination_rectangle)(struct ivi_layout_layer *ivilayer, int32_t x, int32_t y, int32_t width, int32_t height); /** * \brief Add a ivi_surface to a ivi_layer which is currently managed by the service * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*layer_add_surface)(struct ivi_layout_layer *ivilayer, struct ivi_layout_surface *addsurf); /** * \brief Removes a surface from a layer which is currently managed by the service */ void (*layer_remove_surface)(struct ivi_layout_layer *ivilayer, struct ivi_layout_surface *remsurf); /** * \brief Sets render order of ivi_surfaces within a ivi_layer * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*layer_set_render_order)(struct ivi_layout_layer *ivilayer, struct ivi_layout_surface **pSurface, int32_t number); /** * \brief add a listener to listen property changes of ivi_layer * * When a property of the ivi_layer is changed, the property_changed * signal is emitted to the listening controller plugins. * The pointer of the ivi_layer is sent as the void *data argument * to the wl_listener::notify callback function of the listener. * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*layer_add_listener)(struct ivi_layout_layer *ivilayer, struct wl_listener *listener); /** * \brief set type of transition animation */ int32_t (*layer_set_transition)(struct ivi_layout_layer *ivilayer, enum ivi_layout_transition_type type, uint32_t duration); /** * screen controller interface */ /** * \brief Get the weston_outputs under the given ivi_layer * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*get_screens_under_layer)(struct ivi_layout_layer *ivilayer, int32_t *pLength, struct weston_output ***ppArray); /** * \brief Add a ivi_layer to a weston_output which is currently managed * by the service * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*screen_add_layer)(struct weston_output *output, struct ivi_layout_layer *addlayer); /** * \brief Sets render order of ivi_layers on a weston_output * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*screen_set_render_order)(struct weston_output *output, struct ivi_layout_layer **pLayer, const int32_t number); /** * transision animation for layer */ void (*transition_move_layer_cancel)(struct ivi_layout_layer *layer); int32_t (*layer_set_fade_info)(struct ivi_layout_layer* ivilayer, uint32_t is_fade_in, double start_alpha, double end_alpha); /** * surface content dumping for debugging */ int32_t (*surface_get_size)(struct ivi_layout_surface *ivisurf, int32_t *width, int32_t *height, int32_t *stride); int32_t (*surface_dump)(struct weston_surface *surface, void *target, size_t size, int32_t x, int32_t y, int32_t width, int32_t height); /** * Returns the ivi_layout_surface or NULL * * NULL is returned if there is no ivi_layout_surface corresponding * to the given weston_surface. */ struct ivi_layout_surface * (*get_surface)(struct weston_surface *surface); /** * \brief Remove a ivi_layer to a weston_output which is currently managed * by the service * * \return IVI_SUCCEEDED if the method call was successful * \return IVI_FAILED if the method call was failed */ int32_t (*screen_remove_layer)(struct weston_output *output, struct ivi_layout_layer *removelayer); }; #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* _IVI_LAYOUT_EXPORT_H_ */ weston-3.0.0/COPYING0000664000175000017500000000256213142404576011022 00000000000000Copyright © 2008-2012 Kristian Høgsberg Copyright © 2010-2012 Intel Corporation Copyright © 2010-2011 Benjamin Franzke Copyright © 2011-2012 Collabora, Ltd. Copyright © 2010 Red Hat 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 (including the next paragraph) 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. --- The above is the version of the MIT "Expat" License used by X.org: http://cgit.freedesktop.org/xorg/xserver/tree/COPYING weston-3.0.0/xwayland/0000775000175000017500000000000013142404611011657 500000000000000weston-3.0.0/xwayland/hash.c0000664000175000017500000001702413142404577012705 00000000000000/* * Copyright © 2009 Intel Corporation * Copyright © 1988-2004 Keith Packard and Bart Massey. * * 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 (including the next * paragraph) 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. * * Except as contained in this notice, the names of the authors * or their institutions shall not be used in advertising or * otherwise to promote the sale, use or other dealings in this * Software without prior written authorization from the * authors. * * Authors: * Eric Anholt * Keith Packard */ #include "config.h" #include #include #include "hash.h" struct hash_entry { uint32_t hash; void *data; }; struct hash_table { struct hash_entry *table; uint32_t size; uint32_t rehash; uint32_t max_entries; uint32_t size_index; uint32_t entries; uint32_t deleted_entries; }; #define ARRAY_SIZE(array) (sizeof(array) / sizeof(array[0])) /* * From Knuth -- a good choice for hash/rehash values is p, p-2 where * p and p-2 are both prime. These tables are sized to have an extra 10% * free to avoid exponential performance degradation as the hash table fills */ static const uint32_t deleted_data; static const struct { uint32_t max_entries, size, rehash; } hash_sizes[] = { { 2, 5, 3 }, { 4, 7, 5 }, { 8, 13, 11 }, { 16, 19, 17 }, { 32, 43, 41 }, { 64, 73, 71 }, { 128, 151, 149 }, { 256, 283, 281 }, { 512, 571, 569 }, { 1024, 1153, 1151 }, { 2048, 2269, 2267 }, { 4096, 4519, 4517 }, { 8192, 9013, 9011 }, { 16384, 18043, 18041 }, { 32768, 36109, 36107 }, { 65536, 72091, 72089 }, { 131072, 144409, 144407 }, { 262144, 288361, 288359 }, { 524288, 576883, 576881 }, { 1048576, 1153459, 1153457 }, { 2097152, 2307163, 2307161 }, { 4194304, 4613893, 4613891 }, { 8388608, 9227641, 9227639 }, { 16777216, 18455029, 18455027 }, { 33554432, 36911011, 36911009 }, { 67108864, 73819861, 73819859 }, { 134217728, 147639589, 147639587 }, { 268435456, 295279081, 295279079 }, { 536870912, 590559793, 590559791 }, { 1073741824, 1181116273, 1181116271}, { 2147483648ul, 2362232233ul, 2362232231ul} }; static int entry_is_free(struct hash_entry *entry) { return entry->data == NULL; } static int entry_is_deleted(struct hash_entry *entry) { return entry->data == &deleted_data; } static int entry_is_present(struct hash_entry *entry) { return entry->data != NULL && entry->data != &deleted_data; } struct hash_table * hash_table_create(void) { struct hash_table *ht; ht = malloc(sizeof(*ht)); if (ht == NULL) return NULL; ht->size_index = 0; ht->size = hash_sizes[ht->size_index].size; ht->rehash = hash_sizes[ht->size_index].rehash; ht->max_entries = hash_sizes[ht->size_index].max_entries; ht->table = calloc(ht->size, sizeof(*ht->table)); ht->entries = 0; ht->deleted_entries = 0; if (ht->table == NULL) { free(ht); return NULL; } return ht; } /** * Frees the given hash table. */ void hash_table_destroy(struct hash_table *ht) { if (!ht) return; free(ht->table); free(ht); } /** * Finds a hash table entry with the given key and hash of that key. * * Returns NULL if no entry is found. Note that the data pointer may be * modified by the user. */ static void * hash_table_search(struct hash_table *ht, uint32_t hash) { uint32_t hash_address; hash_address = hash % ht->size; do { uint32_t double_hash; struct hash_entry *entry = ht->table + hash_address; if (entry_is_free(entry)) { return NULL; } else if (entry_is_present(entry) && entry->hash == hash) { return entry; } double_hash = 1 + hash % ht->rehash; hash_address = (hash_address + double_hash) % ht->size; } while (hash_address != hash % ht->size); return NULL; } void hash_table_for_each(struct hash_table *ht, hash_table_iterator_func_t func, void *data) { struct hash_entry *entry; uint32_t i; for (i = 0; i < ht->size; i++) { entry = ht->table + i; if (entry_is_present(entry)) func(entry->data, data); } } void * hash_table_lookup(struct hash_table *ht, uint32_t hash) { struct hash_entry *entry; entry = hash_table_search(ht, hash); if (entry != NULL) return entry->data; return NULL; } static void hash_table_rehash(struct hash_table *ht, unsigned int new_size_index) { struct hash_table old_ht; struct hash_entry *table, *entry; if (new_size_index >= ARRAY_SIZE(hash_sizes)) return; table = calloc(hash_sizes[new_size_index].size, sizeof(*ht->table)); if (table == NULL) return; old_ht = *ht; ht->table = table; ht->size_index = new_size_index; ht->size = hash_sizes[ht->size_index].size; ht->rehash = hash_sizes[ht->size_index].rehash; ht->max_entries = hash_sizes[ht->size_index].max_entries; ht->entries = 0; ht->deleted_entries = 0; for (entry = old_ht.table; entry != old_ht.table + old_ht.size; entry++) { if (entry_is_present(entry)) { hash_table_insert(ht, entry->hash, entry->data); } } free(old_ht.table); } /** * Inserts the data with the given hash into the table. * * Note that insertion may rearrange the table on a resize or rehash, * so previously found hash_entries are no longer valid after this function. */ int hash_table_insert(struct hash_table *ht, uint32_t hash, void *data) { uint32_t hash_address; if (ht->entries >= ht->max_entries) { hash_table_rehash(ht, ht->size_index + 1); } else if (ht->deleted_entries + ht->entries >= ht->max_entries) { hash_table_rehash(ht, ht->size_index); } hash_address = hash % ht->size; do { struct hash_entry *entry = ht->table + hash_address; uint32_t double_hash; if (!entry_is_present(entry)) { if (entry_is_deleted(entry)) ht->deleted_entries--; entry->hash = hash; entry->data = data; ht->entries++; return 0; } double_hash = 1 + hash % ht->rehash; hash_address = (hash_address + double_hash) % ht->size; } while (hash_address != hash % ht->size); /* We could hit here if a required resize failed. An unchecked-malloc * application could ignore this result. */ return -1; } /** * This function deletes the given hash table entry. * * Note that deletion doesn't otherwise modify the table, so an iteration over * the table deleting entries is safe. */ void hash_table_remove(struct hash_table *ht, uint32_t hash) { struct hash_entry *entry; entry = hash_table_search(ht, hash); if (entry != NULL) { entry->data = (void *) &deleted_data; ht->entries--; ht->deleted_entries++; } } weston-3.0.0/xwayland/selection.c0000664000175000017500000004661513142404577013757 00000000000000/* * Copyright © 2012 Intel Corporation * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include "xwayland.h" #include "shared/helpers.h" static int writable_callback(int fd, uint32_t mask, void *data) { struct weston_wm *wm = data; unsigned char *property; int len, remainder; property = xcb_get_property_value(wm->property_reply); remainder = xcb_get_property_value_length(wm->property_reply) - wm->property_start; len = write(fd, property + wm->property_start, remainder); if (len == -1) { free(wm->property_reply); wm->property_reply = NULL; if (wm->property_source) wl_event_source_remove(wm->property_source); wm->property_source = NULL; close(fd); weston_log("write error to target fd: %m\n"); return 1; } weston_log("wrote %d (chunk size %d) of %d bytes\n", wm->property_start + len, len, xcb_get_property_value_length(wm->property_reply)); wm->property_start += len; if (len == remainder) { free(wm->property_reply); wm->property_reply = NULL; if (wm->property_source) wl_event_source_remove(wm->property_source); wm->property_source = NULL; if (wm->incr) { xcb_delete_property(wm->conn, wm->selection_window, wm->atom.wl_selection); } else { weston_log("transfer complete\n"); close(fd); } } return 1; } static void weston_wm_write_property(struct weston_wm *wm, xcb_get_property_reply_t *reply) { wm->property_start = 0; wm->property_reply = reply; writable_callback(wm->data_source_fd, WL_EVENT_WRITABLE, wm); if (wm->property_reply) wm->property_source = wl_event_loop_add_fd(wm->server->loop, wm->data_source_fd, WL_EVENT_WRITABLE, writable_callback, wm); } static void weston_wm_get_incr_chunk(struct weston_wm *wm) { xcb_get_property_cookie_t cookie; xcb_get_property_reply_t *reply; cookie = xcb_get_property(wm->conn, 0, /* delete */ wm->selection_window, wm->atom.wl_selection, XCB_GET_PROPERTY_TYPE_ANY, 0, /* offset */ 0x1fffffff /* length */); reply = xcb_get_property_reply(wm->conn, cookie, NULL); if (reply == NULL) return; dump_property(wm, wm->atom.wl_selection, reply); if (xcb_get_property_value_length(reply) > 0) { /* reply's ownership is transferred to wm, which is responsible * for freeing it */ weston_wm_write_property(wm, reply); } else { weston_log("transfer complete\n"); close(wm->data_source_fd); free(reply); } } struct x11_data_source { struct weston_data_source base; struct weston_wm *wm; }; static void data_source_accept(struct weston_data_source *source, uint32_t time, const char *mime_type) { } static void data_source_send(struct weston_data_source *base, const char *mime_type, int32_t fd) { struct x11_data_source *source = (struct x11_data_source *) base; struct weston_wm *wm = source->wm; if (strcmp(mime_type, "text/plain;charset=utf-8") == 0) { /* Get data for the utf8_string target */ xcb_convert_selection(wm->conn, wm->selection_window, wm->atom.clipboard, wm->atom.utf8_string, wm->atom.wl_selection, XCB_TIME_CURRENT_TIME); xcb_flush(wm->conn); fcntl(fd, F_SETFL, O_WRONLY | O_NONBLOCK); wm->data_source_fd = fd; } } static void data_source_cancel(struct weston_data_source *source) { } static void weston_wm_get_selection_targets(struct weston_wm *wm) { struct x11_data_source *source; struct weston_compositor *compositor; struct weston_seat *seat = weston_wm_pick_seat(wm); xcb_get_property_cookie_t cookie; xcb_get_property_reply_t *reply; xcb_atom_t *value; char **p; uint32_t i; cookie = xcb_get_property(wm->conn, 1, /* delete */ wm->selection_window, wm->atom.wl_selection, XCB_GET_PROPERTY_TYPE_ANY, 0, /* offset */ 4096 /* length */); reply = xcb_get_property_reply(wm->conn, cookie, NULL); if (reply == NULL) return; dump_property(wm, wm->atom.wl_selection, reply); if (reply->type != XCB_ATOM_ATOM) { free(reply); return; } source = zalloc(sizeof *source); if (source == NULL) { free(reply); return; } wl_signal_init(&source->base.destroy_signal); source->base.accept = data_source_accept; source->base.send = data_source_send; source->base.cancel = data_source_cancel; source->wm = wm; wl_array_init(&source->base.mime_types); value = xcb_get_property_value(reply); for (i = 0; i < reply->value_len; i++) { if (value[i] == wm->atom.utf8_string) { p = wl_array_add(&source->base.mime_types, sizeof *p); if (p) *p = strdup("text/plain;charset=utf-8"); } } compositor = wm->server->compositor; weston_seat_set_selection(seat, &source->base, wl_display_next_serial(compositor->wl_display)); free(reply); } static void weston_wm_get_selection_data(struct weston_wm *wm) { xcb_get_property_cookie_t cookie; xcb_get_property_reply_t *reply; cookie = xcb_get_property(wm->conn, 1, /* delete */ wm->selection_window, wm->atom.wl_selection, XCB_GET_PROPERTY_TYPE_ANY, 0, /* offset */ 0x1fffffff /* length */); reply = xcb_get_property_reply(wm->conn, cookie, NULL); dump_property(wm, wm->atom.wl_selection, reply); if (reply == NULL) { return; } else if (reply->type == wm->atom.incr) { wm->incr = 1; free(reply); } else { wm->incr = 0; /* reply's ownership is transferred to wm, which is responsible * for freeing it */ weston_wm_write_property(wm, reply); } } static void weston_wm_handle_selection_notify(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_selection_notify_event_t *selection_notify = (xcb_selection_notify_event_t *) event; if (selection_notify->property == XCB_ATOM_NONE) { /* convert selection failed */ } else if (selection_notify->target == wm->atom.targets) { weston_wm_get_selection_targets(wm); } else { weston_wm_get_selection_data(wm); } } static const size_t incr_chunk_size = 64 * 1024; static void weston_wm_send_selection_notify(struct weston_wm *wm, xcb_atom_t property) { xcb_selection_notify_event_t selection_notify; memset(&selection_notify, 0, sizeof selection_notify); selection_notify.response_type = XCB_SELECTION_NOTIFY; selection_notify.sequence = 0; selection_notify.time = wm->selection_request.time; selection_notify.requestor = wm->selection_request.requestor; selection_notify.selection = wm->selection_request.selection; selection_notify.target = wm->selection_request.target; selection_notify.property = property; xcb_send_event(wm->conn, 0, /* propagate */ wm->selection_request.requestor, XCB_EVENT_MASK_NO_EVENT, (char *) &selection_notify); } static void weston_wm_send_targets(struct weston_wm *wm) { xcb_atom_t targets[] = { wm->atom.timestamp, wm->atom.targets, wm->atom.utf8_string, /* wm->atom.compound_text, */ wm->atom.text, /* wm->atom.string */ }; xcb_change_property(wm->conn, XCB_PROP_MODE_REPLACE, wm->selection_request.requestor, wm->selection_request.property, XCB_ATOM_ATOM, 32, /* format */ ARRAY_LENGTH(targets), targets); weston_wm_send_selection_notify(wm, wm->selection_request.property); } static void weston_wm_send_timestamp(struct weston_wm *wm) { xcb_change_property(wm->conn, XCB_PROP_MODE_REPLACE, wm->selection_request.requestor, wm->selection_request.property, XCB_ATOM_INTEGER, 32, /* format */ 1, &wm->selection_timestamp); weston_wm_send_selection_notify(wm, wm->selection_request.property); } static int weston_wm_flush_source_data(struct weston_wm *wm) { int length; xcb_change_property(wm->conn, XCB_PROP_MODE_REPLACE, wm->selection_request.requestor, wm->selection_request.property, wm->selection_target, 8, /* format */ wm->source_data.size, wm->source_data.data); wm->selection_property_set = 1; length = wm->source_data.size; wm->source_data.size = 0; return length; } static int weston_wm_read_data_source(int fd, uint32_t mask, void *data) { struct weston_wm *wm = data; int len, current, available; void *p; current = wm->source_data.size; if (wm->source_data.size < incr_chunk_size) p = wl_array_add(&wm->source_data, incr_chunk_size); else p = (char *) wm->source_data.data + wm->source_data.size; available = wm->source_data.alloc - current; len = read(fd, p, available); if (len == -1) { weston_log("read error from data source: %m\n"); weston_wm_send_selection_notify(wm, XCB_ATOM_NONE); wl_event_source_remove(wm->property_source); wm->property_source = NULL; close(fd); wl_array_release(&wm->source_data); } weston_log("read %d (available %d, mask 0x%x) bytes: \"%.*s\"\n", len, available, mask, len, (char *) p); wm->source_data.size = current + len; if (wm->source_data.size >= incr_chunk_size) { if (!wm->incr) { weston_log("got %zu bytes, starting incr\n", wm->source_data.size); wm->incr = 1; xcb_change_property(wm->conn, XCB_PROP_MODE_REPLACE, wm->selection_request.requestor, wm->selection_request.property, wm->atom.incr, 32, /* format */ 1, &incr_chunk_size); wm->selection_property_set = 1; wm->flush_property_on_delete = 1; wl_event_source_remove(wm->property_source); wm->property_source = NULL; weston_wm_send_selection_notify(wm, wm->selection_request.property); } else if (wm->selection_property_set) { weston_log("got %zu bytes, waiting for " "property delete\n", wm->source_data.size); wm->flush_property_on_delete = 1; wl_event_source_remove(wm->property_source); wm->property_source = NULL; } else { weston_log("got %zu bytes, " "property deleted, setting new property\n", wm->source_data.size); weston_wm_flush_source_data(wm); } } else if (len == 0 && !wm->incr) { weston_log("non-incr transfer complete\n"); /* Non-incr transfer all done. */ weston_wm_flush_source_data(wm); weston_wm_send_selection_notify(wm, wm->selection_request.property); xcb_flush(wm->conn); wl_event_source_remove(wm->property_source); wm->property_source = NULL; close(fd); wl_array_release(&wm->source_data); wm->selection_request.requestor = XCB_NONE; } else if (len == 0 && wm->incr) { weston_log("incr transfer complete\n"); wm->flush_property_on_delete = 1; if (wm->selection_property_set) { weston_log("got %zu bytes, waiting for " "property delete\n", wm->source_data.size); } else { weston_log("got %zu bytes, " "property deleted, setting new property\n", wm->source_data.size); weston_wm_flush_source_data(wm); } xcb_flush(wm->conn); wl_event_source_remove(wm->property_source); wm->property_source = NULL; close(wm->data_source_fd); wm->data_source_fd = -1; close(fd); } else { weston_log("nothing happened, buffered the bytes\n"); } return 1; } static void weston_wm_send_data(struct weston_wm *wm, xcb_atom_t target, const char *mime_type) { struct weston_data_source *source; struct weston_seat *seat = weston_wm_pick_seat(wm); int p[2]; if (pipe2(p, O_CLOEXEC | O_NONBLOCK) == -1) { weston_log("pipe2 failed: %m\n"); weston_wm_send_selection_notify(wm, XCB_ATOM_NONE); return; } wl_array_init(&wm->source_data); wm->selection_target = target; wm->data_source_fd = p[0]; wm->property_source = wl_event_loop_add_fd(wm->server->loop, wm->data_source_fd, WL_EVENT_READABLE, weston_wm_read_data_source, wm); source = seat->selection_data_source; source->send(source, mime_type, p[1]); close(p[1]); } static void weston_wm_send_incr_chunk(struct weston_wm *wm) { int length; weston_log("property deleted\n"); wm->selection_property_set = 0; if (wm->flush_property_on_delete) { weston_log("setting new property, %zu bytes\n", wm->source_data.size); wm->flush_property_on_delete = 0; length = weston_wm_flush_source_data(wm); if (wm->data_source_fd >= 0) { wm->property_source = wl_event_loop_add_fd(wm->server->loop, wm->data_source_fd, WL_EVENT_READABLE, weston_wm_read_data_source, wm); } else if (length > 0) { /* Transfer is all done, but queue a flush for * the delete of the last chunk so we can set * the 0 sized propert to signal the end of * the transfer. */ wm->flush_property_on_delete = 1; wl_array_release(&wm->source_data); } else { wm->selection_request.requestor = XCB_NONE; } } } static int weston_wm_handle_selection_property_notify(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_property_notify_event_t *property_notify = (xcb_property_notify_event_t *) event; if (property_notify->window == wm->selection_window) { if (property_notify->state == XCB_PROPERTY_NEW_VALUE && property_notify->atom == wm->atom.wl_selection && wm->incr) weston_wm_get_incr_chunk(wm); return 1; } else if (property_notify->window == wm->selection_request.requestor) { if (property_notify->state == XCB_PROPERTY_DELETE && property_notify->atom == wm->selection_request.property && wm->incr) weston_wm_send_incr_chunk(wm); return 1; } return 0; } static void weston_wm_handle_selection_request(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_selection_request_event_t *selection_request = (xcb_selection_request_event_t *) event; weston_log("selection request, %s, ", get_atom_name(wm->conn, selection_request->selection)); weston_log_continue("target %s, ", get_atom_name(wm->conn, selection_request->target)); weston_log_continue("property %s\n", get_atom_name(wm->conn, selection_request->property)); wm->selection_request = *selection_request; wm->incr = 0; wm->flush_property_on_delete = 0; if (selection_request->selection == wm->atom.clipboard_manager) { /* The weston clipboard should already have grabbed * the first target, so just send selection notify * now. This isn't synchronized with the clipboard * finishing getting the data, so there's a race here. */ weston_wm_send_selection_notify(wm, wm->selection_request.property); return; } if (selection_request->target == wm->atom.targets) { weston_wm_send_targets(wm); } else if (selection_request->target == wm->atom.timestamp) { weston_wm_send_timestamp(wm); } else if (selection_request->target == wm->atom.utf8_string || selection_request->target == wm->atom.text) { weston_wm_send_data(wm, wm->atom.utf8_string, "text/plain;charset=utf-8"); } else { weston_log("can only handle UTF8_STRING targets...\n"); weston_wm_send_selection_notify(wm, XCB_ATOM_NONE); } } static int weston_wm_handle_xfixes_selection_notify(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_xfixes_selection_notify_event_t *xfixes_selection_notify = (xcb_xfixes_selection_notify_event_t *) event; struct weston_compositor *compositor; struct weston_seat *seat = weston_wm_pick_seat(wm); uint32_t serial; if (xfixes_selection_notify->selection != wm->atom.clipboard) return 0; weston_log("xfixes selection notify event: owner %d\n", xfixes_selection_notify->owner); if (xfixes_selection_notify->owner == XCB_WINDOW_NONE) { if (wm->selection_owner != wm->selection_window) { /* A real X client selection went away, not our * proxy selection. Clear the wayland selection. */ compositor = wm->server->compositor; serial = wl_display_next_serial(compositor->wl_display); weston_seat_set_selection(seat, NULL, serial); } wm->selection_owner = XCB_WINDOW_NONE; return 1; } wm->selection_owner = xfixes_selection_notify->owner; /* We have to use XCB_TIME_CURRENT_TIME when we claim the * selection, so grab the actual timestamp here so we can * answer TIMESTAMP conversion requests correctly. */ if (xfixes_selection_notify->owner == wm->selection_window) { wm->selection_timestamp = xfixes_selection_notify->timestamp; weston_log("our window, skipping\n"); return 1; } wm->incr = 0; xcb_convert_selection(wm->conn, wm->selection_window, wm->atom.clipboard, wm->atom.targets, wm->atom.wl_selection, xfixes_selection_notify->timestamp); xcb_flush(wm->conn); return 1; } int weston_wm_handle_selection_event(struct weston_wm *wm, xcb_generic_event_t *event) { switch (event->response_type & ~0x80) { case XCB_SELECTION_NOTIFY: weston_wm_handle_selection_notify(wm, event); return 1; case XCB_PROPERTY_NOTIFY: return weston_wm_handle_selection_property_notify(wm, event); case XCB_SELECTION_REQUEST: weston_wm_handle_selection_request(wm, event); return 1; } switch (event->response_type - wm->xfixes->first_event) { case XCB_XFIXES_SELECTION_NOTIFY: return weston_wm_handle_xfixes_selection_notify(wm, event); } return 0; } static void weston_wm_set_selection(struct wl_listener *listener, void *data) { struct weston_seat *seat = data; struct weston_wm *wm = container_of(listener, struct weston_wm, selection_listener); struct weston_data_source *source = seat->selection_data_source; if (source == NULL) { if (wm->selection_owner == wm->selection_window) xcb_set_selection_owner(wm->conn, XCB_ATOM_NONE, wm->atom.clipboard, wm->selection_timestamp); return; } if (source->send == data_source_send) return; xcb_set_selection_owner(wm->conn, wm->selection_window, wm->atom.clipboard, XCB_TIME_CURRENT_TIME); } void weston_wm_selection_init(struct weston_wm *wm) { struct weston_seat *seat; uint32_t values[1], mask; wm->selection_request.requestor = XCB_NONE; values[0] = XCB_EVENT_MASK_PROPERTY_CHANGE; wm->selection_window = xcb_generate_id(wm->conn); xcb_create_window(wm->conn, XCB_COPY_FROM_PARENT, wm->selection_window, wm->screen->root, 0, 0, 10, 10, 0, XCB_WINDOW_CLASS_INPUT_OUTPUT, wm->screen->root_visual, XCB_CW_EVENT_MASK, values); xcb_set_selection_owner(wm->conn, wm->selection_window, wm->atom.clipboard_manager, XCB_TIME_CURRENT_TIME); mask = XCB_XFIXES_SELECTION_EVENT_MASK_SET_SELECTION_OWNER | XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_WINDOW_DESTROY | XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_CLIENT_CLOSE; xcb_xfixes_select_selection_input(wm->conn, wm->selection_window, wm->atom.clipboard, mask); seat = weston_wm_pick_seat(wm); if (seat == NULL) return; wm->selection_listener.notify = weston_wm_set_selection; wl_signal_add(&seat->selection_signal, &wm->selection_listener); weston_wm_set_selection(&wm->selection_listener, seat); } weston-3.0.0/xwayland/window-manager.c0000664000175000017500000023376413142404577014714 00000000000000/* * Copyright © 2011 Intel Corporation * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "compositor.h" #include "xwayland.h" #include "xwayland-internal-interface.h" #include "cairo-util.h" #include "hash.h" #include "shared/helpers.h" struct wm_size_hints { uint32_t flags; int32_t x, y; int32_t width, height; /* should set so old wm's don't mess up */ int32_t min_width, min_height; int32_t max_width, max_height; int32_t width_inc, height_inc; struct { int32_t x; int32_t y; } min_aspect, max_aspect; int32_t base_width, base_height; int32_t win_gravity; }; #define USPosition (1L << 0) #define USSize (1L << 1) #define PPosition (1L << 2) #define PSize (1L << 3) #define PMinSize (1L << 4) #define PMaxSize (1L << 5) #define PResizeInc (1L << 6) #define PAspect (1L << 7) #define PBaseSize (1L << 8) #define PWinGravity (1L << 9) struct motif_wm_hints { uint32_t flags; uint32_t functions; uint32_t decorations; int32_t input_mode; uint32_t status; }; #define MWM_HINTS_FUNCTIONS (1L << 0) #define MWM_HINTS_DECORATIONS (1L << 1) #define MWM_HINTS_INPUT_MODE (1L << 2) #define MWM_HINTS_STATUS (1L << 3) #define MWM_FUNC_ALL (1L << 0) #define MWM_FUNC_RESIZE (1L << 1) #define MWM_FUNC_MOVE (1L << 2) #define MWM_FUNC_MINIMIZE (1L << 3) #define MWM_FUNC_MAXIMIZE (1L << 4) #define MWM_FUNC_CLOSE (1L << 5) #define MWM_DECOR_ALL (1L << 0) #define MWM_DECOR_BORDER (1L << 1) #define MWM_DECOR_RESIZEH (1L << 2) #define MWM_DECOR_TITLE (1L << 3) #define MWM_DECOR_MENU (1L << 4) #define MWM_DECOR_MINIMIZE (1L << 5) #define MWM_DECOR_MAXIMIZE (1L << 6) #define MWM_DECOR_EVERYTHING \ (MWM_DECOR_BORDER | MWM_DECOR_RESIZEH | MWM_DECOR_TITLE | \ MWM_DECOR_MENU | MWM_DECOR_MINIMIZE | MWM_DECOR_MAXIMIZE) #define MWM_INPUT_MODELESS 0 #define MWM_INPUT_PRIMARY_APPLICATION_MODAL 1 #define MWM_INPUT_SYSTEM_MODAL 2 #define MWM_INPUT_FULL_APPLICATION_MODAL 3 #define MWM_INPUT_APPLICATION_MODAL MWM_INPUT_PRIMARY_APPLICATION_MODAL #define MWM_TEAROFF_WINDOW (1L<<0) #define _NET_WM_MOVERESIZE_SIZE_TOPLEFT 0 #define _NET_WM_MOVERESIZE_SIZE_TOP 1 #define _NET_WM_MOVERESIZE_SIZE_TOPRIGHT 2 #define _NET_WM_MOVERESIZE_SIZE_RIGHT 3 #define _NET_WM_MOVERESIZE_SIZE_BOTTOMRIGHT 4 #define _NET_WM_MOVERESIZE_SIZE_BOTTOM 5 #define _NET_WM_MOVERESIZE_SIZE_BOTTOMLEFT 6 #define _NET_WM_MOVERESIZE_SIZE_LEFT 7 #define _NET_WM_MOVERESIZE_MOVE 8 /* movement only */ #define _NET_WM_MOVERESIZE_SIZE_KEYBOARD 9 /* size via keyboard */ #define _NET_WM_MOVERESIZE_MOVE_KEYBOARD 10 /* move via keyboard */ #define _NET_WM_MOVERESIZE_CANCEL 11 /* cancel operation */ struct weston_output_weak_ref { struct weston_output *output; struct wl_listener destroy_listener; }; struct weston_wm_window { struct weston_wm *wm; xcb_window_t id; xcb_window_t frame_id; struct frame *frame; cairo_surface_t *cairo_surface; uint32_t surface_id; struct weston_surface *surface; struct weston_desktop_xwayland_surface *shsurf; struct wl_listener surface_destroy_listener; struct wl_event_source *repaint_source; struct wl_event_source *configure_source; int properties_dirty; int pid; char *machine; char *class; char *name; struct weston_wm_window *transient_for; uint32_t protocols; xcb_atom_t type; int width, height; int x; int y; bool pos_dirty; int map_request_x; int map_request_y; struct weston_output_weak_ref legacy_fullscreen_output; int saved_width, saved_height; int decorate; int override_redirect; int fullscreen; int has_alpha; int delete_window; int maximized_vert; int maximized_horz; struct wm_size_hints size_hints; struct motif_wm_hints motif_hints; struct wl_list link; }; static struct weston_wm_window * get_wm_window(struct weston_surface *surface); static void weston_wm_set_net_active_window(struct weston_wm *wm, xcb_window_t window); static void weston_wm_window_schedule_repaint(struct weston_wm_window *window); static int legacy_fullscreen(struct weston_wm *wm, struct weston_wm_window *window, struct weston_output **output_ret); static void xserver_map_shell_surface(struct weston_wm_window *window, struct weston_surface *surface); static int __attribute__ ((format (printf, 1, 2))) wm_log(const char *fmt, ...) { #ifdef WM_DEBUG int l; va_list argp; va_start(argp, fmt); l = weston_vlog(fmt, argp); va_end(argp); return l; #else return 0; #endif } static int __attribute__ ((format (printf, 1, 2))) wm_log_continue(const char *fmt, ...) { #ifdef WM_DEBUG int l; va_list argp; va_start(argp, fmt); l = weston_vlog_continue(fmt, argp); va_end(argp); return l; #else return 0; #endif } static void weston_output_weak_ref_init(struct weston_output_weak_ref *ref) { ref->output = NULL; } static void weston_output_weak_ref_clear(struct weston_output_weak_ref *ref) { if (!ref->output) return; wl_list_remove(&ref->destroy_listener.link); ref->output = NULL; } static void weston_output_weak_ref_handle_destroy(struct wl_listener *listener, void *data) { struct weston_output_weak_ref *ref; ref = wl_container_of(listener, ref, destroy_listener); assert(ref->output == data); weston_output_weak_ref_clear(ref); } static void weston_output_weak_ref_set(struct weston_output_weak_ref *ref, struct weston_output *output) { weston_output_weak_ref_clear(ref); if (!output) return; ref->destroy_listener.notify = weston_output_weak_ref_handle_destroy; wl_signal_add(&output->destroy_signal, &ref->destroy_listener); ref->output = output; } static bool __attribute__ ((warn_unused_result)) wm_lookup_window(struct weston_wm *wm, xcb_window_t hash, struct weston_wm_window **window) { *window = hash_table_lookup(wm->window_hash, hash); if (*window) return true; return false; } const char * get_atom_name(xcb_connection_t *c, xcb_atom_t atom) { xcb_get_atom_name_cookie_t cookie; xcb_get_atom_name_reply_t *reply; xcb_generic_error_t *e; static char buffer[64]; if (atom == XCB_ATOM_NONE) return "None"; cookie = xcb_get_atom_name (c, atom); reply = xcb_get_atom_name_reply (c, cookie, &e); if (reply) { snprintf(buffer, sizeof buffer, "%.*s", xcb_get_atom_name_name_length (reply), xcb_get_atom_name_name (reply)); } else { snprintf(buffer, sizeof buffer, "(atom %u)", atom); } free(reply); return buffer; } static xcb_cursor_t xcb_cursor_image_load_cursor(struct weston_wm *wm, const XcursorImage *img) { xcb_connection_t *c = wm->conn; xcb_screen_iterator_t s = xcb_setup_roots_iterator(xcb_get_setup(c)); xcb_screen_t *screen = s.data; xcb_gcontext_t gc; xcb_pixmap_t pix; xcb_render_picture_t pic; xcb_cursor_t cursor; int stride = img->width * 4; pix = xcb_generate_id(c); xcb_create_pixmap(c, 32, pix, screen->root, img->width, img->height); pic = xcb_generate_id(c); xcb_render_create_picture(c, pic, pix, wm->format_rgba.id, 0, 0); gc = xcb_generate_id(c); xcb_create_gc(c, gc, pix, 0, 0); xcb_put_image(c, XCB_IMAGE_FORMAT_Z_PIXMAP, pix, gc, img->width, img->height, 0, 0, 0, 32, stride * img->height, (uint8_t *) img->pixels); xcb_free_gc(c, gc); cursor = xcb_generate_id(c); xcb_render_create_cursor(c, cursor, pic, img->xhot, img->yhot); xcb_render_free_picture(c, pic); xcb_free_pixmap(c, pix); return cursor; } static xcb_cursor_t xcb_cursor_images_load_cursor(struct weston_wm *wm, const XcursorImages *images) { /* TODO: treat animated cursors as well */ if (images->nimage != 1) return -1; return xcb_cursor_image_load_cursor(wm, images->images[0]); } static xcb_cursor_t xcb_cursor_library_load_cursor(struct weston_wm *wm, const char *file) { xcb_cursor_t cursor; XcursorImages *images; char *v = NULL; int size = 0; if (!file) return 0; v = getenv ("XCURSOR_SIZE"); if (v) size = atoi(v); if (!size) size = 32; images = XcursorLibraryLoadImages (file, NULL, size); if (!images) return -1; cursor = xcb_cursor_images_load_cursor (wm, images); XcursorImagesDestroy (images); return cursor; } void dump_property(struct weston_wm *wm, xcb_atom_t property, xcb_get_property_reply_t *reply) { int32_t *incr_value; const char *text_value, *name; xcb_atom_t *atom_value; int width, len; uint32_t i; width = wm_log_continue("%s: ", get_atom_name(wm->conn, property)); if (reply == NULL) { wm_log_continue("(no reply)\n"); return; } width += wm_log_continue("%s/%d, length %d (value_len %d): ", get_atom_name(wm->conn, reply->type), reply->format, xcb_get_property_value_length(reply), reply->value_len); if (reply->type == wm->atom.incr) { incr_value = xcb_get_property_value(reply); wm_log_continue("%d\n", *incr_value); } else if (reply->type == wm->atom.utf8_string || reply->type == wm->atom.string) { text_value = xcb_get_property_value(reply); if (reply->value_len > 40) len = 40; else len = reply->value_len; wm_log_continue("\"%.*s\"\n", len, text_value); } else if (reply->type == XCB_ATOM_ATOM) { atom_value = xcb_get_property_value(reply); for (i = 0; i < reply->value_len; i++) { name = get_atom_name(wm->conn, atom_value[i]); if (width + strlen(name) + 2 > 78) { wm_log_continue("\n "); width = 4; } else if (i > 0) { width += wm_log_continue(", "); } width += wm_log_continue("%s", name); } wm_log_continue("\n"); } else { wm_log_continue("huh?\n"); } } static void read_and_dump_property(struct weston_wm *wm, xcb_window_t window, xcb_atom_t property) { xcb_get_property_reply_t *reply; xcb_get_property_cookie_t cookie; cookie = xcb_get_property(wm->conn, 0, window, property, XCB_ATOM_ANY, 0, 2048); reply = xcb_get_property_reply(wm->conn, cookie, NULL); dump_property(wm, property, reply); free(reply); } /* We reuse some predefined, but otherwise useles atoms * as local type placeholders that never touch the X11 server, * to make weston_wm_window_read_properties() less exceptional. */ #define TYPE_WM_PROTOCOLS XCB_ATOM_CUT_BUFFER0 #define TYPE_MOTIF_WM_HINTS XCB_ATOM_CUT_BUFFER1 #define TYPE_NET_WM_STATE XCB_ATOM_CUT_BUFFER2 #define TYPE_WM_NORMAL_HINTS XCB_ATOM_CUT_BUFFER3 static void weston_wm_window_read_properties(struct weston_wm_window *window) { struct weston_wm *wm = window->wm; #define F(field) (&window->field) const struct { xcb_atom_t atom; xcb_atom_t type; void *ptr; } props[] = { { XCB_ATOM_WM_CLASS, XCB_ATOM_STRING, F(class) }, { XCB_ATOM_WM_NAME, XCB_ATOM_STRING, F(name) }, { XCB_ATOM_WM_TRANSIENT_FOR, XCB_ATOM_WINDOW, F(transient_for) }, { wm->atom.wm_protocols, TYPE_WM_PROTOCOLS, NULL }, { wm->atom.wm_normal_hints, TYPE_WM_NORMAL_HINTS, NULL }, { wm->atom.net_wm_state, TYPE_NET_WM_STATE, NULL }, { wm->atom.net_wm_window_type, XCB_ATOM_ATOM, F(type) }, { wm->atom.net_wm_name, XCB_ATOM_STRING, F(name) }, { wm->atom.net_wm_pid, XCB_ATOM_CARDINAL, F(pid) }, { wm->atom.motif_wm_hints, TYPE_MOTIF_WM_HINTS, NULL }, { wm->atom.wm_client_machine, XCB_ATOM_WM_CLIENT_MACHINE, F(machine) }, }; #undef F xcb_get_property_cookie_t cookie[ARRAY_LENGTH(props)]; xcb_get_property_reply_t *reply; void *p; uint32_t *xid; xcb_atom_t *atom; uint32_t i; char name[1024]; if (!window->properties_dirty) return; window->properties_dirty = 0; for (i = 0; i < ARRAY_LENGTH(props); i++) cookie[i] = xcb_get_property(wm->conn, 0, /* delete */ window->id, props[i].atom, XCB_ATOM_ANY, 0, 2048); window->decorate = window->override_redirect ? 0 : MWM_DECOR_EVERYTHING; window->size_hints.flags = 0; window->motif_hints.flags = 0; window->delete_window = 0; for (i = 0; i < ARRAY_LENGTH(props); i++) { reply = xcb_get_property_reply(wm->conn, cookie[i], NULL); if (!reply) /* Bad window, typically */ continue; if (reply->type == XCB_ATOM_NONE) { /* No such property */ free(reply); continue; } p = props[i].ptr; switch (props[i].type) { case XCB_ATOM_WM_CLIENT_MACHINE: case XCB_ATOM_STRING: /* FIXME: We're using this for both string and utf8_string */ if (*(char **) p) free(*(char **) p); *(char **) p = strndup(xcb_get_property_value(reply), xcb_get_property_value_length(reply)); break; case XCB_ATOM_WINDOW: xid = xcb_get_property_value(reply); if (!wm_lookup_window(wm, *xid, p)) weston_log("XCB_ATOM_WINDOW contains window" " id not found in hash table.\n"); break; case XCB_ATOM_CARDINAL: case XCB_ATOM_ATOM: atom = xcb_get_property_value(reply); *(xcb_atom_t *) p = *atom; break; case TYPE_WM_PROTOCOLS: atom = xcb_get_property_value(reply); for (i = 0; i < reply->value_len; i++) if (atom[i] == wm->atom.wm_delete_window) { window->delete_window = 1; break; } break; case TYPE_WM_NORMAL_HINTS: memcpy(&window->size_hints, xcb_get_property_value(reply), sizeof window->size_hints); break; case TYPE_NET_WM_STATE: window->fullscreen = 0; atom = xcb_get_property_value(reply); for (i = 0; i < reply->value_len; i++) { if (atom[i] == wm->atom.net_wm_state_fullscreen) window->fullscreen = 1; if (atom[i] == wm->atom.net_wm_state_maximized_vert) window->maximized_vert = 1; if (atom[i] == wm->atom.net_wm_state_maximized_horz) window->maximized_horz = 1; } break; case TYPE_MOTIF_WM_HINTS: memcpy(&window->motif_hints, xcb_get_property_value(reply), sizeof window->motif_hints); if (window->motif_hints.flags & MWM_HINTS_DECORATIONS) { if (window->motif_hints.decorations & MWM_DECOR_ALL) /* MWM_DECOR_ALL means all except the other values listed. */ window->decorate = MWM_DECOR_EVERYTHING & (~window->motif_hints.decorations); else window->decorate = window->motif_hints.decorations; } break; default: break; } free(reply); } if (window->pid > 0) { gethostname(name, sizeof(name)); for (i = 0; i < sizeof(name); i++) { if (name[i] == '\0') break; } if (i == sizeof(name)) name[0] = '\0'; /* ignore stupid hostnames */ /* this is only one heuristic to guess the PID of a client is * valid, assuming it's compliant with icccm and ewmh. * Non-compliants and remote applications of course fail. */ if (!window->machine || strcmp(window->machine, name)) window->pid = 0; } } #undef TYPE_WM_PROTOCOLS #undef TYPE_MOTIF_WM_HINTS #undef TYPE_NET_WM_STATE #undef TYPE_WM_NORMAL_HINTS static void weston_wm_window_get_frame_size(struct weston_wm_window *window, int *width, int *height) { struct theme *t = window->wm->theme; if (window->fullscreen) { *width = window->width; *height = window->height; } else if (window->decorate && window->frame) { *width = frame_width(window->frame); *height = frame_height(window->frame); } else { *width = window->width + t->margin * 2; *height = window->height + t->margin * 2; } } static void weston_wm_window_get_child_position(struct weston_wm_window *window, int *x, int *y) { struct theme *t = window->wm->theme; if (window->fullscreen) { *x = 0; *y = 0; } else if (window->decorate && window->frame) { frame_interior(window->frame, x, y, NULL, NULL); } else { *x = t->margin; *y = t->margin; } } static void weston_wm_window_send_configure_notify(struct weston_wm_window *window) { xcb_configure_notify_event_t configure_notify; struct weston_wm *wm = window->wm; int x, y; weston_wm_window_get_child_position(window, &x, &y); configure_notify.response_type = XCB_CONFIGURE_NOTIFY; configure_notify.pad0 = 0; configure_notify.event = window->id; configure_notify.window = window->id; configure_notify.above_sibling = XCB_WINDOW_NONE; configure_notify.x = x; configure_notify.y = y; configure_notify.width = window->width; configure_notify.height = window->height; configure_notify.border_width = 0; configure_notify.override_redirect = 0; configure_notify.pad1 = 0; xcb_send_event(wm->conn, 0, window->id, XCB_EVENT_MASK_STRUCTURE_NOTIFY, (char *) &configure_notify); } static void weston_wm_handle_configure_request(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_configure_request_event_t *configure_request = (xcb_configure_request_event_t *) event; struct weston_wm_window *window; uint32_t mask, values[16]; int x, y, width, height, i = 0; wm_log("XCB_CONFIGURE_REQUEST (window %d) %d,%d @ %dx%d\n", configure_request->window, configure_request->x, configure_request->y, configure_request->width, configure_request->height); if (!wm_lookup_window(wm, configure_request->window, &window)) return; if (window->fullscreen) { weston_wm_window_send_configure_notify(window); return; } if (configure_request->value_mask & XCB_CONFIG_WINDOW_WIDTH) window->width = configure_request->width; if (configure_request->value_mask & XCB_CONFIG_WINDOW_HEIGHT) window->height = configure_request->height; if (window->frame) frame_resize_inside(window->frame, window->width, window->height); weston_wm_window_get_child_position(window, &x, &y); values[i++] = x; values[i++] = y; values[i++] = window->width; values[i++] = window->height; values[i++] = 0; mask = XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT | XCB_CONFIG_WINDOW_BORDER_WIDTH; if (configure_request->value_mask & XCB_CONFIG_WINDOW_SIBLING) { values[i++] = configure_request->sibling; mask |= XCB_CONFIG_WINDOW_SIBLING; } if (configure_request->value_mask & XCB_CONFIG_WINDOW_STACK_MODE) { values[i++] = configure_request->stack_mode; mask |= XCB_CONFIG_WINDOW_STACK_MODE; } xcb_configure_window(wm->conn, window->id, mask, values); weston_wm_window_get_frame_size(window, &width, &height); values[0] = width; values[1] = height; mask = XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT; xcb_configure_window(wm->conn, window->frame_id, mask, values); weston_wm_window_schedule_repaint(window); } static int our_resource(struct weston_wm *wm, uint32_t id) { const xcb_setup_t *setup; setup = xcb_get_setup(wm->conn); return (id & ~setup->resource_id_mask) == setup->resource_id_base; } static void weston_wm_handle_configure_notify(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_configure_notify_event_t *configure_notify = (xcb_configure_notify_event_t *) event; const struct weston_desktop_xwayland_interface *xwayland_api = wm->server->compositor->xwayland_interface; struct weston_wm_window *window; wm_log("XCB_CONFIGURE_NOTIFY (window %d) %d,%d @ %dx%d%s\n", configure_notify->window, configure_notify->x, configure_notify->y, configure_notify->width, configure_notify->height, configure_notify->override_redirect ? ", override" : ""); if (!wm_lookup_window(wm, configure_notify->window, &window)) return; window->x = configure_notify->x; window->y = configure_notify->y; window->pos_dirty = false; if (window->override_redirect) { window->width = configure_notify->width; window->height = configure_notify->height; if (window->frame) frame_resize_inside(window->frame, window->width, window->height); /* We should check if shsurf has been created because sometimes * there are races * (configure_notify is sent before xserver_map_surface) */ if (window->shsurf) xwayland_api->set_xwayland(window->shsurf, window->x, window->y); } } static void weston_wm_kill_client(struct wl_listener *listener, void *data) { struct weston_surface *surface = data; struct weston_wm_window *window = get_wm_window(surface); if (!window) return; if (window->pid > 0) kill(window->pid, SIGKILL); } static void weston_wm_create_surface(struct wl_listener *listener, void *data) { struct weston_surface *surface = data; struct weston_wm *wm = container_of(listener, struct weston_wm, create_surface_listener); struct weston_wm_window *window; if (wl_resource_get_client(surface->resource) != wm->server->client) return; wm_log("XWM: create weston_surface %p\n", surface); wl_list_for_each(window, &wm->unpaired_window_list, link) if (window->surface_id == wl_resource_get_id(surface->resource)) { xserver_map_shell_surface(window, surface); window->surface_id = 0; wl_list_remove(&window->link); break; } } static void weston_wm_send_focus_window(struct weston_wm *wm, struct weston_wm_window *window) { xcb_client_message_event_t client_message; if (window) { uint32_t values[1]; if (window->override_redirect) return; client_message.response_type = XCB_CLIENT_MESSAGE; client_message.format = 32; client_message.window = window->id; client_message.type = wm->atom.wm_protocols; client_message.data.data32[0] = wm->atom.wm_take_focus; client_message.data.data32[1] = XCB_TIME_CURRENT_TIME; xcb_send_event(wm->conn, 0, window->id, XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT, (char *) &client_message); xcb_set_input_focus (wm->conn, XCB_INPUT_FOCUS_POINTER_ROOT, window->id, XCB_TIME_CURRENT_TIME); values[0] = XCB_STACK_MODE_ABOVE; xcb_configure_window (wm->conn, window->frame_id, XCB_CONFIG_WINDOW_STACK_MODE, values); } else { xcb_set_input_focus (wm->conn, XCB_INPUT_FOCUS_POINTER_ROOT, XCB_NONE, XCB_TIME_CURRENT_TIME); } } static void weston_wm_window_activate(struct wl_listener *listener, void *data) { struct weston_surface_activation_data *activation_data = data; struct weston_surface *surface = activation_data->surface; struct weston_wm_window *window = NULL; struct weston_wm *wm = container_of(listener, struct weston_wm, activate_listener); if (surface) { window = get_wm_window(surface); } if (window) { weston_wm_set_net_active_window(wm, window->id); } else { weston_wm_set_net_active_window(wm, XCB_WINDOW_NONE); } weston_wm_send_focus_window(wm, window); if (wm->focus_window) { if (wm->focus_window->frame) frame_unset_flag(wm->focus_window->frame, FRAME_FLAG_ACTIVE); weston_wm_window_schedule_repaint(wm->focus_window); } wm->focus_window = window; if (wm->focus_window) { if (wm->focus_window->frame) frame_set_flag(wm->focus_window->frame, FRAME_FLAG_ACTIVE); weston_wm_window_schedule_repaint(wm->focus_window); } xcb_flush(wm->conn); } /** Control Xwayland wl_surface.commit behaviour * * This function sets the "_XWAYLAND_ALLOW_COMMITS" property of the frame window * (not the content window!) to \p allow. * * If the property is set to \c true, Xwayland will commit whenever it likes. * If the property is set to \c false, Xwayland will not commit. * If the property is not set at all, Xwayland assumes it is \c true. * * \param window The XWM window to control. * \param allow Whether Xwayland is allowed to wl_surface.commit for the window. */ static void weston_wm_window_set_allow_commits(struct weston_wm_window *window, bool allow) { struct weston_wm *wm = window->wm; uint32_t property[1]; assert(window->frame_id != XCB_WINDOW_NONE); property[0] = allow ? 1 : 0; xcb_change_property(wm->conn, XCB_PROP_MODE_REPLACE, window->frame_id, wm->atom.allow_commits, XCB_ATOM_CARDINAL, 32, /* format */ 1, property); } #define ICCCM_WITHDRAWN_STATE 0 #define ICCCM_NORMAL_STATE 1 #define ICCCM_ICONIC_STATE 3 static void weston_wm_window_set_wm_state(struct weston_wm_window *window, int32_t state) { struct weston_wm *wm = window->wm; uint32_t property[2]; property[0] = state; property[1] = XCB_WINDOW_NONE; xcb_change_property(wm->conn, XCB_PROP_MODE_REPLACE, window->id, wm->atom.wm_state, wm->atom.wm_state, 32, /* format */ 2, property); } static void weston_wm_window_set_net_wm_state(struct weston_wm_window *window) { struct weston_wm *wm = window->wm; uint32_t property[3]; int i; i = 0; if (window->fullscreen) property[i++] = wm->atom.net_wm_state_fullscreen; if (window->maximized_vert) property[i++] = wm->atom.net_wm_state_maximized_vert; if (window->maximized_horz) property[i++] = wm->atom.net_wm_state_maximized_horz; xcb_change_property(wm->conn, XCB_PROP_MODE_REPLACE, window->id, wm->atom.net_wm_state, XCB_ATOM_ATOM, 32, /* format */ i, property); } static void weston_wm_window_create_frame(struct weston_wm_window *window) { struct weston_wm *wm = window->wm; uint32_t values[3]; int x, y, width, height; int buttons = FRAME_BUTTON_CLOSE; if (window->decorate & MWM_DECOR_MAXIMIZE) buttons |= FRAME_BUTTON_MAXIMIZE; window->frame = frame_create(window->wm->theme, window->width, window->height, buttons, window->name); frame_resize_inside(window->frame, window->width, window->height); weston_wm_window_get_frame_size(window, &width, &height); weston_wm_window_get_child_position(window, &x, &y); values[0] = wm->screen->black_pixel; values[1] = XCB_EVENT_MASK_KEY_PRESS | XCB_EVENT_MASK_KEY_RELEASE | XCB_EVENT_MASK_BUTTON_PRESS | XCB_EVENT_MASK_BUTTON_RELEASE | XCB_EVENT_MASK_POINTER_MOTION | XCB_EVENT_MASK_ENTER_WINDOW | XCB_EVENT_MASK_LEAVE_WINDOW | XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY | XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT; values[2] = wm->colormap; window->frame_id = xcb_generate_id(wm->conn); xcb_create_window(wm->conn, 32, window->frame_id, wm->screen->root, 0, 0, width, height, 0, XCB_WINDOW_CLASS_INPUT_OUTPUT, wm->visual_id, XCB_CW_BORDER_PIXEL | XCB_CW_EVENT_MASK | XCB_CW_COLORMAP, values); xcb_reparent_window(wm->conn, window->id, window->frame_id, x, y); values[0] = 0; xcb_configure_window(wm->conn, window->id, XCB_CONFIG_WINDOW_BORDER_WIDTH, values); window->cairo_surface = cairo_xcb_surface_create_with_xrender_format(wm->conn, wm->screen, window->frame_id, &wm->format_rgba, width, height); hash_table_insert(wm->window_hash, window->frame_id, window); } /* * Sets the _NET_WM_DESKTOP property for the window to 'desktop'. * Passing a <0 desktop value deletes the property. */ static void weston_wm_window_set_virtual_desktop(struct weston_wm_window *window, int desktop) { if (desktop >= 0) { xcb_change_property(window->wm->conn, XCB_PROP_MODE_REPLACE, window->id, window->wm->atom.net_wm_desktop, XCB_ATOM_CARDINAL, 32, /* format */ 1, &desktop); } else { xcb_delete_property(window->wm->conn, window->id, window->wm->atom.net_wm_desktop); } } static void weston_wm_handle_map_request(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_map_request_event_t *map_request = (xcb_map_request_event_t *) event; struct weston_wm_window *window; struct weston_output *output; if (our_resource(wm, map_request->window)) { wm_log("XCB_MAP_REQUEST (window %d, ours)\n", map_request->window); return; } if (!wm_lookup_window(wm, map_request->window, &window)) return; weston_wm_window_read_properties(window); /* For a new Window, MapRequest happens before the Window is realized * in Xwayland. We do the real xcb_map_window() here as a response to * MapRequest. The Window will get realized (wl_surface created in * Wayland and WL_SURFACE_ID sent in X11) when it has been mapped for * real. * * MapRequest only happens for (X11) unmapped Windows. On UnmapNotify, * we reset shsurf to NULL, so even if X11 connection races far ahead * of the Wayland connection and the X11 client is repeatedly mapping * and unmapping, we will never have shsurf set on MapRequest. */ assert(!window->shsurf); window->map_request_x = window->x; window->map_request_y = window->y; if (window->frame_id == XCB_WINDOW_NONE) weston_wm_window_create_frame(window); /* sets frame_id */ assert(window->frame_id != XCB_WINDOW_NONE); wm_log("XCB_MAP_REQUEST (window %d, %p, frame %d, %dx%d @ %d,%d)\n", window->id, window, window->frame_id, window->width, window->height, window->map_request_x, window->map_request_y); weston_wm_window_set_allow_commits(window, false); weston_wm_window_set_wm_state(window, ICCCM_NORMAL_STATE); weston_wm_window_set_net_wm_state(window); weston_wm_window_set_virtual_desktop(window, 0); if (legacy_fullscreen(wm, window, &output)) { window->fullscreen = 1; weston_output_weak_ref_set(&window->legacy_fullscreen_output, output); } xcb_map_window(wm->conn, map_request->window); xcb_map_window(wm->conn, window->frame_id); /* Mapped in the X server, we can draw immediately. * Cannot set pending state though, no weston_surface until * xserver_map_shell_surface() time. */ weston_wm_window_schedule_repaint(window); } static void weston_wm_handle_map_notify(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_map_notify_event_t *map_notify = (xcb_map_notify_event_t *) event; if (our_resource(wm, map_notify->window)) { wm_log("XCB_MAP_NOTIFY (window %d, ours)\n", map_notify->window); return; } wm_log("XCB_MAP_NOTIFY (window %d%s)\n", map_notify->window, map_notify->override_redirect ? ", override" : ""); } static void weston_wm_handle_unmap_notify(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_unmap_notify_event_t *unmap_notify = (xcb_unmap_notify_event_t *) event; struct weston_wm_window *window; wm_log("XCB_UNMAP_NOTIFY (window %d, event %d%s)\n", unmap_notify->window, unmap_notify->event, our_resource(wm, unmap_notify->window) ? ", ours" : ""); if (our_resource(wm, unmap_notify->window)) return; if (unmap_notify->response_type & SEND_EVENT_MASK) /* We just ignore the ICCCM 4.1.4 synthetic unmap notify * as it may come in after we've destroyed the window. */ return; if (!wm_lookup_window(wm, unmap_notify->window, &window)) return; if (window->surface_id) { /* Make sure we're not on the unpaired surface list or we * could be assigned a surface during surface creation that * was mapped before this unmap request. */ wl_list_remove(&window->link); window->surface_id = 0; } if (wm->focus_window == window) wm->focus_window = NULL; if (window->surface) wl_list_remove(&window->surface_destroy_listener.link); window->surface = NULL; window->shsurf = NULL; weston_wm_window_set_wm_state(window, ICCCM_WITHDRAWN_STATE); weston_wm_window_set_virtual_desktop(window, -1); xcb_unmap_window(wm->conn, window->frame_id); } static void weston_wm_window_draw_decoration(struct weston_wm_window *window) { cairo_t *cr; int width, height; wm_log("XWM: draw decoration, win %d\n", window->id); weston_wm_window_get_frame_size(window, &width, &height); cairo_xcb_surface_set_size(window->cairo_surface, width, height); cr = cairo_create(window->cairo_surface); if (window->fullscreen) { /* nothing */ } else if (window->decorate) { frame_set_title(window->frame, window->name); frame_repaint(window->frame, cr); } else { cairo_set_operator(cr, CAIRO_OPERATOR_SOURCE); cairo_set_source_rgba(cr, 0, 0, 0, 0); cairo_paint(cr); render_shadow(cr, window->wm->theme->shadow, 2, 2, width + 8, height + 8, 64, 64); } cairo_destroy(cr); cairo_surface_flush(window->cairo_surface); xcb_flush(window->wm->conn); } static void weston_wm_window_set_pending_state(struct weston_wm_window *window) { int x, y, width, height; int32_t input_x, input_y, input_w, input_h; const struct weston_desktop_xwayland_interface *xwayland_interface = window->wm->server->compositor->xwayland_interface; if (!window->surface) return; weston_wm_window_get_frame_size(window, &width, &height); weston_wm_window_get_child_position(window, &x, &y); pixman_region32_fini(&window->surface->pending.opaque); if (window->has_alpha) { pixman_region32_init(&window->surface->pending.opaque); } else { /* We leave an extra pixel around the X window area to * make sure we don't sample from the undefined alpha * channel when filtering. */ pixman_region32_init_rect(&window->surface->pending.opaque, x - 1, y - 1, window->width + 2, window->height + 2); } if (window->decorate && !window->fullscreen) { frame_input_rect(window->frame, &input_x, &input_y, &input_w, &input_h); } else { input_x = x; input_y = y; input_w = width; input_h = height; } wm_log("XWM: win %d geometry: %d,%d %dx%d\n", window->id, input_x, input_y, input_w, input_h); pixman_region32_fini(&window->surface->pending.input); pixman_region32_init_rect(&window->surface->pending.input, input_x, input_y, input_w, input_h); xwayland_interface->set_window_geometry(window->shsurf, input_x, input_y, input_w, input_h); if (window->name) xwayland_interface->set_title(window->shsurf, window->name); if (window->pid > 0) xwayland_interface->set_pid(window->shsurf, window->pid); } static void weston_wm_window_do_repaint(void *data) { struct weston_wm_window *window = data; window->repaint_source = NULL; weston_wm_window_read_properties(window); weston_wm_window_draw_decoration(window); weston_wm_window_set_pending_state(window); } static void weston_wm_window_set_pending_state_OR(struct weston_wm_window *window) { int width, height; /* for override-redirect windows */ assert(window->frame_id == XCB_WINDOW_NONE); if (!window->surface) return; weston_wm_window_get_frame_size(window, &width, &height); pixman_region32_fini(&window->surface->pending.opaque); if (window->has_alpha) { pixman_region32_init(&window->surface->pending.opaque); } else { pixman_region32_init_rect(&window->surface->pending.opaque, 0, 0, width, height); } } static void weston_wm_window_schedule_repaint(struct weston_wm_window *window) { struct weston_wm *wm = window->wm; if (window->frame_id == XCB_WINDOW_NONE) { /* Override-redirect windows go through here, but we * cannot assert(window->override_redirect); because * we do not deal with changing OR flag yet. * XXX: handle OR flag changes in message handlers */ weston_wm_window_set_pending_state_OR(window); return; } if (window->repaint_source) return; wm_log("XWM: schedule repaint, win %d\n", window->id); window->repaint_source = wl_event_loop_add_idle(wm->server->loop, weston_wm_window_do_repaint, window); } static void weston_wm_handle_property_notify(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_property_notify_event_t *property_notify = (xcb_property_notify_event_t *) event; struct weston_wm_window *window; if (!wm_lookup_window(wm, property_notify->window, &window)) return; window->properties_dirty = 1; wm_log("XCB_PROPERTY_NOTIFY: window %d, ", property_notify->window); if (property_notify->state == XCB_PROPERTY_DELETE) wm_log_continue("deleted %s\n", get_atom_name(wm->conn, property_notify->atom)); else read_and_dump_property(wm, property_notify->window, property_notify->atom); if (property_notify->atom == wm->atom.net_wm_name || property_notify->atom == XCB_ATOM_WM_NAME) weston_wm_window_schedule_repaint(window); } static void weston_wm_window_create(struct weston_wm *wm, xcb_window_t id, int width, int height, int x, int y, int override) { struct weston_wm_window *window; uint32_t values[1]; xcb_get_geometry_cookie_t geometry_cookie; xcb_get_geometry_reply_t *geometry_reply; window = zalloc(sizeof *window); if (window == NULL) { wm_log("failed to allocate window\n"); return; } geometry_cookie = xcb_get_geometry(wm->conn, id); values[0] = XCB_EVENT_MASK_PROPERTY_CHANGE | XCB_EVENT_MASK_FOCUS_CHANGE; xcb_change_window_attributes(wm->conn, id, XCB_CW_EVENT_MASK, values); window->wm = wm; window->id = id; window->properties_dirty = 1; window->override_redirect = override; window->width = width; window->height = height; window->x = x; window->y = y; window->pos_dirty = false; window->map_request_x = INT_MIN; /* out of range for valid positions */ window->map_request_y = INT_MIN; /* out of range for valid positions */ weston_output_weak_ref_init(&window->legacy_fullscreen_output); geometry_reply = xcb_get_geometry_reply(wm->conn, geometry_cookie, NULL); /* technically we should use XRender and check the visual format's alpha_mask, but checking depth is simpler and works in all known cases */ if (geometry_reply != NULL) window->has_alpha = geometry_reply->depth == 32; free(geometry_reply); hash_table_insert(wm->window_hash, id, window); } static void weston_wm_window_destroy(struct weston_wm_window *window) { struct weston_wm *wm = window->wm; weston_output_weak_ref_clear(&window->legacy_fullscreen_output); if (window->repaint_source) wl_event_source_remove(window->repaint_source); if (window->cairo_surface) cairo_surface_destroy(window->cairo_surface); if (window->frame_id) { xcb_reparent_window(wm->conn, window->id, wm->wm_window, 0, 0); xcb_destroy_window(wm->conn, window->frame_id); weston_wm_window_set_wm_state(window, ICCCM_WITHDRAWN_STATE); weston_wm_window_set_virtual_desktop(window, -1); hash_table_remove(wm->window_hash, window->frame_id); window->frame_id = XCB_WINDOW_NONE; } if (window->surface_id) wl_list_remove(&window->link); if (window->surface) wl_list_remove(&window->surface_destroy_listener.link); hash_table_remove(window->wm->window_hash, window->id); free(window); } static void weston_wm_handle_create_notify(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_create_notify_event_t *create_notify = (xcb_create_notify_event_t *) event; wm_log("XCB_CREATE_NOTIFY (window %d, at (%d, %d), width %d, height %d%s%s)\n", create_notify->window, create_notify->x, create_notify->y, create_notify->width, create_notify->height, create_notify->override_redirect ? ", override" : "", our_resource(wm, create_notify->window) ? ", ours" : ""); if (our_resource(wm, create_notify->window)) return; weston_wm_window_create(wm, create_notify->window, create_notify->width, create_notify->height, create_notify->x, create_notify->y, create_notify->override_redirect); } static void weston_wm_handle_destroy_notify(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_destroy_notify_event_t *destroy_notify = (xcb_destroy_notify_event_t *) event; struct weston_wm_window *window; wm_log("XCB_DESTROY_NOTIFY, win %d, event %d%s\n", destroy_notify->window, destroy_notify->event, our_resource(wm, destroy_notify->window) ? ", ours" : ""); if (our_resource(wm, destroy_notify->window)) return; if (!wm_lookup_window(wm, destroy_notify->window, &window)) return; weston_wm_window_destroy(window); } static void weston_wm_handle_reparent_notify(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_reparent_notify_event_t *reparent_notify = (xcb_reparent_notify_event_t *) event; struct weston_wm_window *window; wm_log("XCB_REPARENT_NOTIFY (window %d, parent %d, event %d%s)\n", reparent_notify->window, reparent_notify->parent, reparent_notify->event, reparent_notify->override_redirect ? ", override" : ""); if (reparent_notify->parent == wm->screen->root) { weston_wm_window_create(wm, reparent_notify->window, 10, 10, reparent_notify->x, reparent_notify->y, reparent_notify->override_redirect); } else if (!our_resource(wm, reparent_notify->parent)) { if (!wm_lookup_window(wm, reparent_notify->window, &window)) return; weston_wm_window_destroy(window); } } struct weston_seat * weston_wm_pick_seat(struct weston_wm *wm) { struct wl_list *seats = wm->server->compositor->seat_list.next; if (wl_list_empty(seats)) return NULL; return container_of(seats, struct weston_seat, link); } static struct weston_seat * weston_wm_pick_seat_for_window(struct weston_wm_window *window) { struct weston_wm *wm = window->wm; struct weston_seat *seat, *s; seat = NULL; wl_list_for_each(s, &wm->server->compositor->seat_list, link) { struct weston_pointer *pointer = weston_seat_get_pointer(s); struct weston_pointer *old_pointer = weston_seat_get_pointer(seat); if (pointer && pointer->focus && pointer->focus->surface == window->surface && pointer->button_count > 0 && (!seat || pointer->grab_serial - old_pointer->grab_serial < (1 << 30))) seat = s; } return seat; } static void weston_wm_window_handle_moveresize(struct weston_wm_window *window, xcb_client_message_event_t *client_message) { static const int map[] = { THEME_LOCATION_RESIZING_TOP_LEFT, THEME_LOCATION_RESIZING_TOP, THEME_LOCATION_RESIZING_TOP_RIGHT, THEME_LOCATION_RESIZING_RIGHT, THEME_LOCATION_RESIZING_BOTTOM_RIGHT, THEME_LOCATION_RESIZING_BOTTOM, THEME_LOCATION_RESIZING_BOTTOM_LEFT, THEME_LOCATION_RESIZING_LEFT }; struct weston_wm *wm = window->wm; struct weston_seat *seat = weston_wm_pick_seat_for_window(window); struct weston_pointer *pointer = weston_seat_get_pointer(seat); int detail; const struct weston_desktop_xwayland_interface *xwayland_interface = wm->server->compositor->xwayland_interface; if (!pointer || pointer->button_count != 1 || !pointer->focus || pointer->focus->surface != window->surface) return; detail = client_message->data.data32[2]; switch (detail) { case _NET_WM_MOVERESIZE_MOVE: xwayland_interface->move(window->shsurf, pointer); break; case _NET_WM_MOVERESIZE_SIZE_TOPLEFT: case _NET_WM_MOVERESIZE_SIZE_TOP: case _NET_WM_MOVERESIZE_SIZE_TOPRIGHT: case _NET_WM_MOVERESIZE_SIZE_RIGHT: case _NET_WM_MOVERESIZE_SIZE_BOTTOMRIGHT: case _NET_WM_MOVERESIZE_SIZE_BOTTOM: case _NET_WM_MOVERESIZE_SIZE_BOTTOMLEFT: case _NET_WM_MOVERESIZE_SIZE_LEFT: xwayland_interface->resize(window->shsurf, pointer, map[detail]); break; case _NET_WM_MOVERESIZE_CANCEL: break; } } #define _NET_WM_STATE_REMOVE 0 #define _NET_WM_STATE_ADD 1 #define _NET_WM_STATE_TOGGLE 2 static int update_state(int action, int *state) { int new_state, changed; switch (action) { case _NET_WM_STATE_REMOVE: new_state = 0; break; case _NET_WM_STATE_ADD: new_state = 1; break; case _NET_WM_STATE_TOGGLE: new_state = !*state; break; default: return 0; } changed = (*state != new_state); *state = new_state; return changed; } static void weston_wm_window_configure(void *data); static void weston_wm_window_set_toplevel(struct weston_wm_window *window) { const struct weston_desktop_xwayland_interface *xwayland_interface = window->wm->server->compositor->xwayland_interface; xwayland_interface->set_toplevel(window->shsurf); window->width = window->saved_width; window->height = window->saved_height; if (window->frame) frame_resize_inside(window->frame, window->width, window->height); weston_wm_window_configure(window); } static inline bool weston_wm_window_is_maximized(struct weston_wm_window *window) { return window->maximized_horz && window->maximized_vert; } static void weston_wm_window_handle_state(struct weston_wm_window *window, xcb_client_message_event_t *client_message) { struct weston_wm *wm = window->wm; const struct weston_desktop_xwayland_interface *xwayland_interface = wm->server->compositor->xwayland_interface; uint32_t action, property; int maximized = weston_wm_window_is_maximized(window); action = client_message->data.data32[0]; property = client_message->data.data32[1]; if (property == wm->atom.net_wm_state_fullscreen && update_state(action, &window->fullscreen)) { weston_wm_window_set_net_wm_state(window); if (window->fullscreen) { window->saved_width = window->width; window->saved_height = window->height; if (window->shsurf) xwayland_interface->set_fullscreen(window->shsurf, NULL); } else { if (window->shsurf) weston_wm_window_set_toplevel(window); } } else { if (property == wm->atom.net_wm_state_maximized_vert && update_state(action, &window->maximized_vert)) weston_wm_window_set_net_wm_state(window); if (property == wm->atom.net_wm_state_maximized_horz && update_state(action, &window->maximized_horz)) weston_wm_window_set_net_wm_state(window); if (maximized != weston_wm_window_is_maximized(window)) { if (weston_wm_window_is_maximized(window)) { window->saved_width = window->width; window->saved_height = window->height; if (window->shsurf) xwayland_interface->set_maximized(window->shsurf); } else if (window->shsurf) { weston_wm_window_set_toplevel(window); } } } } static void surface_destroy(struct wl_listener *listener, void *data) { struct weston_wm_window *window = container_of(listener, struct weston_wm_window, surface_destroy_listener); wm_log("surface for xid %d destroyed\n", window->id); /* This should have been freed by the shell. * Don't try to use it later. */ window->shsurf = NULL; window->surface = NULL; } static void weston_wm_window_handle_surface_id(struct weston_wm_window *window, xcb_client_message_event_t *client_message) { struct weston_wm *wm = window->wm; struct wl_resource *resource; if (window->surface_id != 0) { wm_log("already have surface id for window %d\n", window->id); return; } /* Xwayland will send the wayland requests to create the * wl_surface before sending this client message. Even so, we * can end up handling the X event before the wayland requests * and thus when we try to look up the surface ID, the surface * hasn't been created yet. In that case put the window on * the unpaired window list and continue when the surface gets * created. */ uint32_t id = client_message->data.data32[0]; resource = wl_client_get_object(wm->server->client, id); if (resource) { window->surface_id = 0; xserver_map_shell_surface(window, wl_resource_get_user_data(resource)); } else { window->surface_id = id; wl_list_insert(&wm->unpaired_window_list, &window->link); } } static void weston_wm_handle_client_message(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_client_message_event_t *client_message = (xcb_client_message_event_t *) event; struct weston_wm_window *window; wm_log("XCB_CLIENT_MESSAGE (%s %d %d %d %d %d win %d)\n", get_atom_name(wm->conn, client_message->type), client_message->data.data32[0], client_message->data.data32[1], client_message->data.data32[2], client_message->data.data32[3], client_message->data.data32[4], client_message->window); /* The window may get created and destroyed before we actually * handle the message. If it doesn't exist, bail. */ if (!wm_lookup_window(wm, client_message->window, &window)) return; if (client_message->type == wm->atom.net_wm_moveresize) weston_wm_window_handle_moveresize(window, client_message); else if (client_message->type == wm->atom.net_wm_state) weston_wm_window_handle_state(window, client_message); else if (client_message->type == wm->atom.wl_surface_id) weston_wm_window_handle_surface_id(window, client_message); } enum cursor_type { XWM_CURSOR_TOP, XWM_CURSOR_BOTTOM, XWM_CURSOR_LEFT, XWM_CURSOR_RIGHT, XWM_CURSOR_TOP_LEFT, XWM_CURSOR_TOP_RIGHT, XWM_CURSOR_BOTTOM_LEFT, XWM_CURSOR_BOTTOM_RIGHT, XWM_CURSOR_LEFT_PTR, }; /* * The following correspondences between file names and cursors was copied * from: https://bugs.kde.org/attachment.cgi?id=67313 */ static const char *bottom_left_corners[] = { "bottom_left_corner", "sw-resize", "size_bdiag" }; static const char *bottom_right_corners[] = { "bottom_right_corner", "se-resize", "size_fdiag" }; static const char *bottom_sides[] = { "bottom_side", "s-resize", "size_ver" }; static const char *left_ptrs[] = { "left_ptr", "default", "top_left_arrow", "left-arrow" }; static const char *left_sides[] = { "left_side", "w-resize", "size_hor" }; static const char *right_sides[] = { "right_side", "e-resize", "size_hor" }; static const char *top_left_corners[] = { "top_left_corner", "nw-resize", "size_fdiag" }; static const char *top_right_corners[] = { "top_right_corner", "ne-resize", "size_bdiag" }; static const char *top_sides[] = { "top_side", "n-resize", "size_ver" }; struct cursor_alternatives { const char **names; size_t count; }; static const struct cursor_alternatives cursors[] = { {top_sides, ARRAY_LENGTH(top_sides)}, {bottom_sides, ARRAY_LENGTH(bottom_sides)}, {left_sides, ARRAY_LENGTH(left_sides)}, {right_sides, ARRAY_LENGTH(right_sides)}, {top_left_corners, ARRAY_LENGTH(top_left_corners)}, {top_right_corners, ARRAY_LENGTH(top_right_corners)}, {bottom_left_corners, ARRAY_LENGTH(bottom_left_corners)}, {bottom_right_corners, ARRAY_LENGTH(bottom_right_corners)}, {left_ptrs, ARRAY_LENGTH(left_ptrs)}, }; static void weston_wm_create_cursors(struct weston_wm *wm) { const char *name; int i, count = ARRAY_LENGTH(cursors); size_t j; wm->cursors = malloc(count * sizeof(xcb_cursor_t)); for (i = 0; i < count; i++) { for (j = 0; j < cursors[i].count; j++) { name = cursors[i].names[j]; wm->cursors[i] = xcb_cursor_library_load_cursor(wm, name); if (wm->cursors[i] != (xcb_cursor_t)-1) break; } } wm->last_cursor = -1; } static void weston_wm_destroy_cursors(struct weston_wm *wm) { uint8_t i; for (i = 0; i < ARRAY_LENGTH(cursors); i++) xcb_free_cursor(wm->conn, wm->cursors[i]); free(wm->cursors); } static int get_cursor_for_location(enum theme_location location) { switch (location) { case THEME_LOCATION_RESIZING_TOP: return XWM_CURSOR_TOP; case THEME_LOCATION_RESIZING_BOTTOM: return XWM_CURSOR_BOTTOM; case THEME_LOCATION_RESIZING_LEFT: return XWM_CURSOR_LEFT; case THEME_LOCATION_RESIZING_RIGHT: return XWM_CURSOR_RIGHT; case THEME_LOCATION_RESIZING_TOP_LEFT: return XWM_CURSOR_TOP_LEFT; case THEME_LOCATION_RESIZING_TOP_RIGHT: return XWM_CURSOR_TOP_RIGHT; case THEME_LOCATION_RESIZING_BOTTOM_LEFT: return XWM_CURSOR_BOTTOM_LEFT; case THEME_LOCATION_RESIZING_BOTTOM_RIGHT: return XWM_CURSOR_BOTTOM_RIGHT; case THEME_LOCATION_EXTERIOR: case THEME_LOCATION_TITLEBAR: default: return XWM_CURSOR_LEFT_PTR; } } static void weston_wm_window_set_cursor(struct weston_wm *wm, xcb_window_t window_id, int cursor) { uint32_t cursor_value_list; if (wm->last_cursor == cursor) return; wm->last_cursor = cursor; cursor_value_list = wm->cursors[cursor]; xcb_change_window_attributes (wm->conn, window_id, XCB_CW_CURSOR, &cursor_value_list); xcb_flush(wm->conn); } static void weston_wm_window_close(struct weston_wm_window *window, xcb_timestamp_t time) { xcb_client_message_event_t client_message; if (window->delete_window) { client_message.response_type = XCB_CLIENT_MESSAGE; client_message.format = 32; client_message.window = window->id; client_message.type = window->wm->atom.wm_protocols; client_message.data.data32[0] = window->wm->atom.wm_delete_window; client_message.data.data32[1] = time; xcb_send_event(window->wm->conn, 0, window->id, XCB_EVENT_MASK_NO_EVENT, (char *) &client_message); } else { xcb_kill_client(window->wm->conn, window->id); } } static void weston_wm_handle_button(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_button_press_event_t *button = (xcb_button_press_event_t *) event; const struct weston_desktop_xwayland_interface *xwayland_interface = wm->server->compositor->xwayland_interface; struct weston_seat *seat; struct weston_pointer *pointer; struct weston_wm_window *window; enum theme_location location; enum wl_pointer_button_state button_state; uint32_t button_id; wm_log("XCB_BUTTON_%s (detail %d)\n", button->response_type == XCB_BUTTON_PRESS ? "PRESS" : "RELEASE", button->detail); if (!wm_lookup_window(wm, button->event, &window) || !window->decorate) return; if (button->detail != 1 && button->detail != 2) return; seat = weston_wm_pick_seat_for_window(window); pointer = weston_seat_get_pointer(seat); button_state = button->response_type == XCB_BUTTON_PRESS ? WL_POINTER_BUTTON_STATE_PRESSED : WL_POINTER_BUTTON_STATE_RELEASED; button_id = button->detail == 1 ? BTN_LEFT : BTN_RIGHT; /* Make sure we're looking at the right location. The frame * could have received a motion event from a pointer from a * different wl_seat, but under X it looks like our core * pointer moved. Move the frame pointer to the button press * location before deciding what to do. */ location = frame_pointer_motion(window->frame, NULL, button->event_x, button->event_y); location = frame_pointer_button(window->frame, NULL, button_id, button_state); if (frame_status(window->frame) & FRAME_STATUS_REPAINT) weston_wm_window_schedule_repaint(window); if (frame_status(window->frame) & FRAME_STATUS_MOVE) { if (pointer) xwayland_interface->move(window->shsurf, pointer); frame_status_clear(window->frame, FRAME_STATUS_MOVE); } if (frame_status(window->frame) & FRAME_STATUS_RESIZE) { if (pointer) xwayland_interface->resize(window->shsurf, pointer, location); frame_status_clear(window->frame, FRAME_STATUS_RESIZE); } if (frame_status(window->frame) & FRAME_STATUS_CLOSE) { weston_wm_window_close(window, button->time); frame_status_clear(window->frame, FRAME_STATUS_CLOSE); } if (frame_status(window->frame) & FRAME_STATUS_MAXIMIZE) { window->maximized_horz = !window->maximized_horz; window->maximized_vert = !window->maximized_vert; if (weston_wm_window_is_maximized(window)) { window->saved_width = window->width; window->saved_height = window->height; xwayland_interface->set_maximized(window->shsurf); } else { weston_wm_window_set_toplevel(window); } frame_status_clear(window->frame, FRAME_STATUS_MAXIMIZE); } } static void weston_wm_handle_motion(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_motion_notify_event_t *motion = (xcb_motion_notify_event_t *) event; struct weston_wm_window *window; enum theme_location location; int cursor; if (!wm_lookup_window(wm, motion->event, &window) || !window->decorate) return; location = frame_pointer_motion(window->frame, NULL, motion->event_x, motion->event_y); if (frame_status(window->frame) & FRAME_STATUS_REPAINT) weston_wm_window_schedule_repaint(window); cursor = get_cursor_for_location(location); weston_wm_window_set_cursor(wm, window->frame_id, cursor); } static void weston_wm_handle_enter(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_enter_notify_event_t *enter = (xcb_enter_notify_event_t *) event; struct weston_wm_window *window; enum theme_location location; int cursor; if (!wm_lookup_window(wm, enter->event, &window) || !window->decorate) return; location = frame_pointer_enter(window->frame, NULL, enter->event_x, enter->event_y); if (frame_status(window->frame) & FRAME_STATUS_REPAINT) weston_wm_window_schedule_repaint(window); cursor = get_cursor_for_location(location); weston_wm_window_set_cursor(wm, window->frame_id, cursor); } static void weston_wm_handle_leave(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_leave_notify_event_t *leave = (xcb_leave_notify_event_t *) event; struct weston_wm_window *window; if (!wm_lookup_window(wm, leave->event, &window) || !window->decorate) return; frame_pointer_leave(window->frame, NULL); if (frame_status(window->frame) & FRAME_STATUS_REPAINT) weston_wm_window_schedule_repaint(window); weston_wm_window_set_cursor(wm, window->frame_id, XWM_CURSOR_LEFT_PTR); } static void weston_wm_handle_focus_in(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_focus_in_event_t *focus = (xcb_focus_in_event_t *) event; /* Do not interfere with grabs */ if (focus->mode == XCB_NOTIFY_MODE_GRAB || focus->mode == XCB_NOTIFY_MODE_UNGRAB) return; /* Do not let X clients change the focus behind the compositor's * back. Reset the focus to the old one if it changed. */ if (!wm->focus_window || focus->event != wm->focus_window->id) weston_wm_send_focus_window(wm, wm->focus_window); } static int weston_wm_handle_event(int fd, uint32_t mask, void *data) { struct weston_wm *wm = data; xcb_generic_event_t *event; int count = 0; while (event = xcb_poll_for_event(wm->conn), event != NULL) { if (weston_wm_handle_selection_event(wm, event)) { free(event); count++; continue; } if (weston_wm_handle_dnd_event(wm, event)) { free(event); count++; continue; } switch (EVENT_TYPE(event)) { case XCB_BUTTON_PRESS: case XCB_BUTTON_RELEASE: weston_wm_handle_button(wm, event); break; case XCB_ENTER_NOTIFY: weston_wm_handle_enter(wm, event); break; case XCB_LEAVE_NOTIFY: weston_wm_handle_leave(wm, event); break; case XCB_MOTION_NOTIFY: weston_wm_handle_motion(wm, event); break; case XCB_CREATE_NOTIFY: weston_wm_handle_create_notify(wm, event); break; case XCB_MAP_REQUEST: weston_wm_handle_map_request(wm, event); break; case XCB_MAP_NOTIFY: weston_wm_handle_map_notify(wm, event); break; case XCB_UNMAP_NOTIFY: weston_wm_handle_unmap_notify(wm, event); break; case XCB_REPARENT_NOTIFY: weston_wm_handle_reparent_notify(wm, event); break; case XCB_CONFIGURE_REQUEST: weston_wm_handle_configure_request(wm, event); break; case XCB_CONFIGURE_NOTIFY: weston_wm_handle_configure_notify(wm, event); break; case XCB_DESTROY_NOTIFY: weston_wm_handle_destroy_notify(wm, event); break; case XCB_MAPPING_NOTIFY: wm_log("XCB_MAPPING_NOTIFY\n"); break; case XCB_PROPERTY_NOTIFY: weston_wm_handle_property_notify(wm, event); break; case XCB_CLIENT_MESSAGE: weston_wm_handle_client_message(wm, event); break; case XCB_FOCUS_IN: weston_wm_handle_focus_in(wm, event); break; } free(event); count++; } if (count != 0) xcb_flush(wm->conn); return count; } static void weston_wm_set_net_active_window(struct weston_wm *wm, xcb_window_t window) { xcb_change_property(wm->conn, XCB_PROP_MODE_REPLACE, wm->screen->root, wm->atom.net_active_window, wm->atom.window, 32, 1, &window); } static void weston_wm_get_visual_and_colormap(struct weston_wm *wm) { xcb_depth_iterator_t d_iter; xcb_visualtype_iterator_t vt_iter; xcb_visualtype_t *visualtype; d_iter = xcb_screen_allowed_depths_iterator(wm->screen); visualtype = NULL; while (d_iter.rem > 0) { if (d_iter.data->depth == 32) { vt_iter = xcb_depth_visuals_iterator(d_iter.data); visualtype = vt_iter.data; break; } xcb_depth_next(&d_iter); } if (visualtype == NULL) { weston_log("no 32 bit visualtype\n"); return; } wm->visual_id = visualtype->visual_id; wm->colormap = xcb_generate_id(wm->conn); xcb_create_colormap(wm->conn, XCB_COLORMAP_ALLOC_NONE, wm->colormap, wm->screen->root, wm->visual_id); } static void weston_wm_get_resources(struct weston_wm *wm) { #define F(field) offsetof(struct weston_wm, field) static const struct { const char *name; int offset; } atoms[] = { { "WM_PROTOCOLS", F(atom.wm_protocols) }, { "WM_NORMAL_HINTS", F(atom.wm_normal_hints) }, { "WM_TAKE_FOCUS", F(atom.wm_take_focus) }, { "WM_DELETE_WINDOW", F(atom.wm_delete_window) }, { "WM_STATE", F(atom.wm_state) }, { "WM_S0", F(atom.wm_s0) }, { "WM_CLIENT_MACHINE", F(atom.wm_client_machine) }, { "_NET_WM_CM_S0", F(atom.net_wm_cm_s0) }, { "_NET_WM_NAME", F(atom.net_wm_name) }, { "_NET_WM_PID", F(atom.net_wm_pid) }, { "_NET_WM_ICON", F(atom.net_wm_icon) }, { "_NET_WM_STATE", F(atom.net_wm_state) }, { "_NET_WM_STATE_MAXIMIZED_VERT", F(atom.net_wm_state_maximized_vert) }, { "_NET_WM_STATE_MAXIMIZED_HORZ", F(atom.net_wm_state_maximized_horz) }, { "_NET_WM_STATE_FULLSCREEN", F(atom.net_wm_state_fullscreen) }, { "_NET_WM_USER_TIME", F(atom.net_wm_user_time) }, { "_NET_WM_ICON_NAME", F(atom.net_wm_icon_name) }, { "_NET_WM_DESKTOP", F(atom.net_wm_desktop) }, { "_NET_WM_WINDOW_TYPE", F(atom.net_wm_window_type) }, { "_NET_WM_WINDOW_TYPE_DESKTOP", F(atom.net_wm_window_type_desktop) }, { "_NET_WM_WINDOW_TYPE_DOCK", F(atom.net_wm_window_type_dock) }, { "_NET_WM_WINDOW_TYPE_TOOLBAR", F(atom.net_wm_window_type_toolbar) }, { "_NET_WM_WINDOW_TYPE_MENU", F(atom.net_wm_window_type_menu) }, { "_NET_WM_WINDOW_TYPE_UTILITY", F(atom.net_wm_window_type_utility) }, { "_NET_WM_WINDOW_TYPE_SPLASH", F(atom.net_wm_window_type_splash) }, { "_NET_WM_WINDOW_TYPE_DIALOG", F(atom.net_wm_window_type_dialog) }, { "_NET_WM_WINDOW_TYPE_DROPDOWN_MENU", F(atom.net_wm_window_type_dropdown) }, { "_NET_WM_WINDOW_TYPE_POPUP_MENU", F(atom.net_wm_window_type_popup) }, { "_NET_WM_WINDOW_TYPE_TOOLTIP", F(atom.net_wm_window_type_tooltip) }, { "_NET_WM_WINDOW_TYPE_NOTIFICATION", F(atom.net_wm_window_type_notification) }, { "_NET_WM_WINDOW_TYPE_COMBO", F(atom.net_wm_window_type_combo) }, { "_NET_WM_WINDOW_TYPE_DND", F(atom.net_wm_window_type_dnd) }, { "_NET_WM_WINDOW_TYPE_NORMAL", F(atom.net_wm_window_type_normal) }, { "_NET_WM_MOVERESIZE", F(atom.net_wm_moveresize) }, { "_NET_SUPPORTING_WM_CHECK", F(atom.net_supporting_wm_check) }, { "_NET_SUPPORTED", F(atom.net_supported) }, { "_NET_ACTIVE_WINDOW", F(atom.net_active_window) }, { "_MOTIF_WM_HINTS", F(atom.motif_wm_hints) }, { "CLIPBOARD", F(atom.clipboard) }, { "CLIPBOARD_MANAGER", F(atom.clipboard_manager) }, { "TARGETS", F(atom.targets) }, { "UTF8_STRING", F(atom.utf8_string) }, { "_WL_SELECTION", F(atom.wl_selection) }, { "INCR", F(atom.incr) }, { "TIMESTAMP", F(atom.timestamp) }, { "MULTIPLE", F(atom.multiple) }, { "UTF8_STRING" , F(atom.utf8_string) }, { "COMPOUND_TEXT", F(atom.compound_text) }, { "TEXT", F(atom.text) }, { "STRING", F(atom.string) }, { "WINDOW", F(atom.window) }, { "text/plain;charset=utf-8", F(atom.text_plain_utf8) }, { "text/plain", F(atom.text_plain) }, { "XdndSelection", F(atom.xdnd_selection) }, { "XdndAware", F(atom.xdnd_aware) }, { "XdndEnter", F(atom.xdnd_enter) }, { "XdndLeave", F(atom.xdnd_leave) }, { "XdndDrop", F(atom.xdnd_drop) }, { "XdndStatus", F(atom.xdnd_status) }, { "XdndFinished", F(atom.xdnd_finished) }, { "XdndTypeList", F(atom.xdnd_type_list) }, { "XdndActionCopy", F(atom.xdnd_action_copy) }, { "_XWAYLAND_ALLOW_COMMITS", F(atom.allow_commits) }, { "WL_SURFACE_ID", F(atom.wl_surface_id) } }; #undef F xcb_xfixes_query_version_cookie_t xfixes_cookie; xcb_xfixes_query_version_reply_t *xfixes_reply; xcb_intern_atom_cookie_t cookies[ARRAY_LENGTH(atoms)]; xcb_intern_atom_reply_t *reply; xcb_render_query_pict_formats_reply_t *formats_reply; xcb_render_query_pict_formats_cookie_t formats_cookie; xcb_render_pictforminfo_t *formats; uint32_t i; xcb_prefetch_extension_data (wm->conn, &xcb_xfixes_id); xcb_prefetch_extension_data (wm->conn, &xcb_composite_id); formats_cookie = xcb_render_query_pict_formats(wm->conn); for (i = 0; i < ARRAY_LENGTH(atoms); i++) cookies[i] = xcb_intern_atom (wm->conn, 0, strlen(atoms[i].name), atoms[i].name); for (i = 0; i < ARRAY_LENGTH(atoms); i++) { reply = xcb_intern_atom_reply (wm->conn, cookies[i], NULL); *(xcb_atom_t *) ((char *) wm + atoms[i].offset) = reply->atom; free(reply); } wm->xfixes = xcb_get_extension_data(wm->conn, &xcb_xfixes_id); if (!wm->xfixes || !wm->xfixes->present) weston_log("xfixes not available\n"); xfixes_cookie = xcb_xfixes_query_version(wm->conn, XCB_XFIXES_MAJOR_VERSION, XCB_XFIXES_MINOR_VERSION); xfixes_reply = xcb_xfixes_query_version_reply(wm->conn, xfixes_cookie, NULL); weston_log("xfixes version: %d.%d\n", xfixes_reply->major_version, xfixes_reply->minor_version); free(xfixes_reply); formats_reply = xcb_render_query_pict_formats_reply(wm->conn, formats_cookie, 0); if (formats_reply == NULL) return; formats = xcb_render_query_pict_formats_formats(formats_reply); for (i = 0; i < formats_reply->num_formats; i++) { if (formats[i].direct.red_mask != 0xff && formats[i].direct.red_shift != 16) continue; if (formats[i].type == XCB_RENDER_PICT_TYPE_DIRECT && formats[i].depth == 24) wm->format_rgb = formats[i]; if (formats[i].type == XCB_RENDER_PICT_TYPE_DIRECT && formats[i].depth == 32 && formats[i].direct.alpha_mask == 0xff && formats[i].direct.alpha_shift == 24) wm->format_rgba = formats[i]; } free(formats_reply); } static void weston_wm_create_wm_window(struct weston_wm *wm) { static const char name[] = "Weston WM"; wm->wm_window = xcb_generate_id(wm->conn); xcb_create_window(wm->conn, XCB_COPY_FROM_PARENT, wm->wm_window, wm->screen->root, 0, 0, 10, 10, 0, XCB_WINDOW_CLASS_INPUT_OUTPUT, wm->screen->root_visual, 0, NULL); xcb_change_property(wm->conn, XCB_PROP_MODE_REPLACE, wm->wm_window, wm->atom.net_supporting_wm_check, XCB_ATOM_WINDOW, 32, /* format */ 1, &wm->wm_window); xcb_change_property(wm->conn, XCB_PROP_MODE_REPLACE, wm->wm_window, wm->atom.net_wm_name, wm->atom.utf8_string, 8, /* format */ strlen(name), name); xcb_change_property(wm->conn, XCB_PROP_MODE_REPLACE, wm->screen->root, wm->atom.net_supporting_wm_check, XCB_ATOM_WINDOW, 32, /* format */ 1, &wm->wm_window); /* Claim the WM_S0 selection even though we don't support * the --replace functionality. */ xcb_set_selection_owner(wm->conn, wm->wm_window, wm->atom.wm_s0, XCB_TIME_CURRENT_TIME); xcb_set_selection_owner(wm->conn, wm->wm_window, wm->atom.net_wm_cm_s0, XCB_TIME_CURRENT_TIME); } struct weston_wm * weston_wm_create(struct weston_xserver *wxs, int fd) { struct weston_wm *wm; struct wl_event_loop *loop; xcb_screen_iterator_t s; uint32_t values[1]; xcb_atom_t supported[6]; wm = zalloc(sizeof *wm); if (wm == NULL) return NULL; wm->server = wxs; wm->window_hash = hash_table_create(); if (wm->window_hash == NULL) { free(wm); return NULL; } /* xcb_connect_to_fd takes ownership of the fd. */ wm->conn = xcb_connect_to_fd(fd, NULL); if (xcb_connection_has_error(wm->conn)) { weston_log("xcb_connect_to_fd failed\n"); close(fd); hash_table_destroy(wm->window_hash); free(wm); return NULL; } s = xcb_setup_roots_iterator(xcb_get_setup(wm->conn)); wm->screen = s.data; loop = wl_display_get_event_loop(wxs->wl_display); wm->source = wl_event_loop_add_fd(loop, fd, WL_EVENT_READABLE, weston_wm_handle_event, wm); wl_event_source_check(wm->source); weston_wm_get_resources(wm); weston_wm_get_visual_and_colormap(wm); values[0] = XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY | XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT | XCB_EVENT_MASK_PROPERTY_CHANGE; xcb_change_window_attributes(wm->conn, wm->screen->root, XCB_CW_EVENT_MASK, values); xcb_composite_redirect_subwindows(wm->conn, wm->screen->root, XCB_COMPOSITE_REDIRECT_MANUAL); wm->theme = theme_create(); supported[0] = wm->atom.net_wm_moveresize; supported[1] = wm->atom.net_wm_state; supported[2] = wm->atom.net_wm_state_fullscreen; supported[3] = wm->atom.net_wm_state_maximized_vert; supported[4] = wm->atom.net_wm_state_maximized_horz; supported[5] = wm->atom.net_active_window; xcb_change_property(wm->conn, XCB_PROP_MODE_REPLACE, wm->screen->root, wm->atom.net_supported, XCB_ATOM_ATOM, 32, /* format */ ARRAY_LENGTH(supported), supported); weston_wm_set_net_active_window(wm, XCB_WINDOW_NONE); weston_wm_selection_init(wm); weston_wm_dnd_init(wm); xcb_flush(wm->conn); wm->create_surface_listener.notify = weston_wm_create_surface; wl_signal_add(&wxs->compositor->create_surface_signal, &wm->create_surface_listener); wm->activate_listener.notify = weston_wm_window_activate; wl_signal_add(&wxs->compositor->activate_signal, &wm->activate_listener); wm->kill_listener.notify = weston_wm_kill_client; wl_signal_add(&wxs->compositor->kill_signal, &wm->kill_listener); wl_list_init(&wm->unpaired_window_list); weston_wm_create_cursors(wm); weston_wm_window_set_cursor(wm, wm->screen->root, XWM_CURSOR_LEFT_PTR); /* Create wm window and take WM_S0 selection last, which * signals to Xwayland that we're done with setup. */ weston_wm_create_wm_window(wm); weston_log("created wm, root %d\n", wm->screen->root); return wm; } void weston_wm_destroy(struct weston_wm *wm) { /* FIXME: Free windows in hash. */ hash_table_destroy(wm->window_hash); weston_wm_destroy_cursors(wm); xcb_disconnect(wm->conn); wl_event_source_remove(wm->source); wl_list_remove(&wm->selection_listener.link); wl_list_remove(&wm->activate_listener.link); wl_list_remove(&wm->kill_listener.link); wl_list_remove(&wm->create_surface_listener.link); free(wm); } static struct weston_wm_window * get_wm_window(struct weston_surface *surface) { struct wl_listener *listener; listener = wl_signal_get(&surface->destroy_signal, surface_destroy); if (listener) return container_of(listener, struct weston_wm_window, surface_destroy_listener); return NULL; } static bool is_wm_window(struct weston_surface *surface) { return get_wm_window(surface) != NULL; } static void weston_wm_window_configure(void *data) { struct weston_wm_window *window = data; struct weston_wm *wm = window->wm; uint32_t values[4]; int x, y, width, height; weston_wm_window_get_child_position(window, &x, &y); values[0] = x; values[1] = y; values[2] = window->width; values[3] = window->height; xcb_configure_window(wm->conn, window->id, XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y | XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT, values); weston_wm_window_get_frame_size(window, &width, &height); values[0] = width; values[1] = height; xcb_configure_window(wm->conn, window->frame_id, XCB_CONFIG_WINDOW_WIDTH | XCB_CONFIG_WINDOW_HEIGHT, values); window->configure_source = NULL; weston_wm_window_schedule_repaint(window); } static void send_configure(struct weston_surface *surface, int32_t width, int32_t height) { struct weston_wm_window *window = get_wm_window(surface); struct weston_wm *wm = window->wm; struct theme *t = window->wm->theme; int vborder, hborder; if (window->decorate && !window->fullscreen) { hborder = 2 * t->width; vborder = t->titlebar_height + t->width; } else { hborder = 0; vborder = 0; } if (width > hborder) window->width = width - hborder; else window->width = 1; if (height > vborder) window->height = height - vborder; else window->height = 1; if (window->frame) frame_resize_inside(window->frame, window->width, window->height); if (window->configure_source) return; window->configure_source = wl_event_loop_add_idle(wm->server->loop, weston_wm_window_configure, window); } static void send_position(struct weston_surface *surface, int32_t x, int32_t y) { struct weston_wm_window *window = get_wm_window(surface); struct weston_wm *wm; uint32_t mask, values[2]; if (!window || !window->wm) return; wm = window->wm; /* We use pos_dirty to tell whether a configure message is in flight. * This is needed in case we send two configure events in a very * short time, since window->x/y is set in after a roundtrip, hence * we cannot just check if the current x and y are different. */ if (window->x != x || window->y != y || window->pos_dirty) { window->pos_dirty = true; values[0] = x; values[1] = y; mask = XCB_CONFIG_WINDOW_X | XCB_CONFIG_WINDOW_Y; xcb_configure_window(wm->conn, window->frame_id, mask, values); xcb_flush(wm->conn); } } static const struct weston_xwayland_client_interface shell_client = { send_configure, }; static int legacy_fullscreen(struct weston_wm *wm, struct weston_wm_window *window, struct weston_output **output_ret) { struct weston_compositor *compositor = wm->server->compositor; struct weston_output *output; uint32_t minmax = PMinSize | PMaxSize; int matching_size; /* Heuristics for detecting legacy fullscreen windows... */ wl_list_for_each(output, &compositor->output_list, link) { if (output->x == window->x && output->y == window->y && output->width == window->width && output->height == window->height && window->override_redirect) { *output_ret = output; return 1; } matching_size = 0; if ((window->size_hints.flags & (USSize |PSize)) && window->size_hints.width == output->width && window->size_hints.height == output->height) matching_size = 1; if ((window->size_hints.flags & minmax) == minmax && window->size_hints.min_width == output->width && window->size_hints.min_height == output->height && window->size_hints.max_width == output->width && window->size_hints.max_height == output->height) matching_size = 1; if (matching_size && !window->decorate && (window->size_hints.flags & (USPosition | PPosition)) && window->size_hints.x == output->x && window->size_hints.y == output->y) { *output_ret = output; return 1; } } return 0; } static bool weston_wm_window_is_positioned(struct weston_wm_window *window) { if (window->map_request_x == INT_MIN || window->map_request_y == INT_MIN) weston_log("XWM warning: win %d did not see map request\n", window->id); return window->map_request_x != 0 || window->map_request_y != 0; } static bool weston_wm_window_type_inactive(struct weston_wm_window *window) { struct weston_wm *wm = window->wm; return window->type == wm->atom.net_wm_window_type_tooltip || window->type == wm->atom.net_wm_window_type_dropdown || window->type == wm->atom.net_wm_window_type_dnd || window->type == wm->atom.net_wm_window_type_combo || window->type == wm->atom.net_wm_window_type_popup || window->type == wm->atom.net_wm_window_type_utility; } static void xserver_map_shell_surface(struct weston_wm_window *window, struct weston_surface *surface) { struct weston_wm *wm = window->wm; struct weston_desktop_xwayland *xwayland = wm->server->compositor->xwayland; const struct weston_desktop_xwayland_interface *xwayland_interface = wm->server->compositor->xwayland_interface; struct weston_wm_window *parent; /* This should be necessary only for override-redirected windows, * because otherwise MapRequest handler would have already updated * the properties. However, if X11 clients set properties after * sending MapWindow, here we can still process them. The decorations * have already been drawn once with the old property values, so if the * app changes something affecting decor after MapWindow, we glitch. * We only hit xserver_map_shell_surface() once per MapWindow and * wl_surface, so better ensure we get the window type right. */ weston_wm_window_read_properties(window); /* A weston_wm_window may have many different surfaces assigned * throughout its life, so we must make sure to remove the listener * from the old surface signal list. */ if (window->surface) wl_list_remove(&window->surface_destroy_listener.link); window->surface = surface; window->surface_destroy_listener.notify = surface_destroy; wl_signal_add(&window->surface->destroy_signal, &window->surface_destroy_listener); if (!xwayland_interface) return; if (window->surface->committed) { weston_log("warning, unexpected in %s: " "surface's configure hook is already set.\n", __func__); return; } window->shsurf = xwayland_interface->create_surface(xwayland, window->surface, &shell_client); wm_log("XWM: map shell surface, win %d, weston_surface %p, xwayland surface %p\n", window->id, window->surface, window->shsurf); if (window->name) xwayland_interface->set_title(window->shsurf, window->name); if (window->pid > 0) xwayland_interface->set_pid(window->shsurf, window->pid); if (window->fullscreen) { window->saved_width = window->width; window->saved_height = window->height; xwayland_interface->set_fullscreen(window->shsurf, window->legacy_fullscreen_output.output); return; } else if (window->override_redirect) { xwayland_interface->set_xwayland(window->shsurf, window->x, window->y); } else if (window->transient_for && window->transient_for->surface) { parent = window->transient_for; if (weston_wm_window_type_inactive(window)) { xwayland_interface->set_transient(window->shsurf, parent->surface, window->x - parent->x, window->y - parent->y); } else { xwayland_interface->set_toplevel(window->shsurf); xwayland_interface->set_parent(window->shsurf, parent->surface); } } else if (weston_wm_window_is_maximized(window)) { xwayland_interface->set_maximized(window->shsurf); } else { if (weston_wm_window_type_inactive(window)) { xwayland_interface->set_xwayland(window->shsurf, window->x, window->y); } else if (weston_wm_window_is_positioned(window)) { xwayland_interface->set_toplevel_with_position(window->shsurf, window->map_request_x, window->map_request_y); } else { xwayland_interface->set_toplevel(window->shsurf); } } if (window->frame_id == XCB_WINDOW_NONE) { weston_wm_window_set_pending_state_OR(window); } else { weston_wm_window_set_pending_state(window); weston_wm_window_set_allow_commits(window, true); xcb_flush(wm->conn); } } const struct weston_xwayland_surface_api surface_api = { is_wm_window, send_position, }; weston-3.0.0/xwayland/launcher.c0000664000175000017500000002327313142404577013566 00000000000000/* * Copyright © 2011 Intel Corporation * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include #include #include #include #include #include "xwayland.h" #include "xwayland-api.h" #include "shared/helpers.h" #include "shared/string-helpers.h" #include "compositor/weston.h" static int weston_xserver_handle_event(int listen_fd, uint32_t mask, void *data) { struct weston_xserver *wxs = data; char display[8]; snprintf(display, sizeof display, ":%d", wxs->display); wxs->pid = wxs->spawn_func(wxs->user_data, display, wxs->abstract_fd, wxs->unix_fd); if (wxs->pid == -1) { weston_log("Failed to spawn the Xwayland server\n"); return 1; } weston_log("Spawned Xwayland server, pid %d\n", wxs->pid); wl_event_source_remove(wxs->abstract_source); wl_event_source_remove(wxs->unix_source); return 1; } static void weston_xserver_shutdown(struct weston_xserver *wxs) { char path[256]; snprintf(path, sizeof path, "/tmp/.X%d-lock", wxs->display); unlink(path); snprintf(path, sizeof path, "/tmp/.X11-unix/X%d", wxs->display); unlink(path); if (wxs->pid == 0) { wl_event_source_remove(wxs->abstract_source); wl_event_source_remove(wxs->unix_source); } close(wxs->abstract_fd); close(wxs->unix_fd); if (wxs->wm) { weston_wm_destroy(wxs->wm); wxs->wm = NULL; } wxs->loop = NULL; } static int bind_to_abstract_socket(int display) { struct sockaddr_un addr; socklen_t size, name_size; int fd; fd = socket(PF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0); if (fd < 0) return -1; addr.sun_family = AF_LOCAL; name_size = snprintf(addr.sun_path, sizeof addr.sun_path, "%c/tmp/.X11-unix/X%d", 0, display); size = offsetof(struct sockaddr_un, sun_path) + name_size; if (bind(fd, (struct sockaddr *) &addr, size) < 0) { weston_log("failed to bind to @%s: %m\n", addr.sun_path + 1); close(fd); return -1; } if (listen(fd, 1) < 0) { close(fd); return -1; } return fd; } static int bind_to_unix_socket(int display) { struct sockaddr_un addr; socklen_t size, name_size; int fd; fd = socket(PF_LOCAL, SOCK_STREAM | SOCK_CLOEXEC, 0); if (fd < 0) return -1; addr.sun_family = AF_LOCAL; name_size = snprintf(addr.sun_path, sizeof addr.sun_path, "/tmp/.X11-unix/X%d", display) + 1; size = offsetof(struct sockaddr_un, sun_path) + name_size; unlink(addr.sun_path); if (bind(fd, (struct sockaddr *) &addr, size) < 0) { weston_log("failed to bind to %s: %m\n", addr.sun_path); close(fd); return -1; } if (listen(fd, 1) < 0) { unlink(addr.sun_path); close(fd); return -1; } return fd; } static int create_lockfile(int display, char *lockfile, size_t lsize) { /* 10 decimal characters, trailing LF and NUL byte; see comment * at end of function. */ char pid[11]; int fd, size; pid_t other; snprintf(lockfile, lsize, "/tmp/.X%d-lock", display); fd = open(lockfile, O_WRONLY | O_CLOEXEC | O_CREAT | O_EXCL, 0444); if (fd < 0 && errno == EEXIST) { fd = open(lockfile, O_CLOEXEC | O_RDONLY); if (fd < 0 || read(fd, pid, 11) != 11) { weston_log("can't read lock file %s: %s\n", lockfile, strerror(errno)); if (fd >= 0) close (fd); errno = EEXIST; return -1; } /* Trim the trailing LF, or at least ensure it's NULL. */ pid[10] = '\0'; if (!safe_strtoint(pid, &other)) { weston_log("can't parse lock file %s\n", lockfile); close(fd); errno = EEXIST; return -1; } if (kill(other, 0) < 0 && errno == ESRCH) { /* stale lock file; unlink and try again */ weston_log("unlinking stale lock file %s\n", lockfile); close(fd); if (unlink(lockfile)) /* If we fail to unlink, return EEXIST so we try the next display number.*/ errno = EEXIST; else errno = EAGAIN; return -1; } close(fd); errno = EEXIST; return -1; } else if (fd < 0) { weston_log("failed to create lock file %s: %s\n", lockfile, strerror(errno)); return -1; } /* Subtle detail: we use the pid of the wayland compositor, not the * xserver in the lock file. * Also subtle is that we don't emit a trailing NUL to the file, so * our size here is 11 rather than 12. */ size = dprintf(fd, "%10d\n", getpid()); if (size != 11) { unlink(lockfile); close(fd); return -1; } close(fd); return 0; } static void weston_xserver_destroy(struct wl_listener *l, void *data) { struct weston_xserver *wxs = container_of(l, struct weston_xserver, destroy_listener); if (!wxs) return; if (wxs->loop) weston_xserver_shutdown(wxs); free(wxs); } static struct weston_xwayland * weston_xwayland_get(struct weston_compositor *compositor) { struct wl_listener *listener; struct weston_xserver *wxs; listener = wl_signal_get(&compositor->destroy_signal, weston_xserver_destroy); if (!listener) return NULL; wxs = wl_container_of(listener, wxs, destroy_listener); return (struct weston_xwayland *)wxs; } static int weston_xwayland_listen(struct weston_xwayland *xwayland, void *user_data, weston_xwayland_spawn_xserver_func_t spawn_func) { struct weston_xserver *wxs = (struct weston_xserver *)xwayland; char lockfile[256], display_name[8]; wxs->user_data = user_data; wxs->spawn_func = spawn_func; retry: if (create_lockfile(wxs->display, lockfile, sizeof lockfile) < 0) { if (errno == EAGAIN) { goto retry; } else if (errno == EEXIST) { wxs->display++; goto retry; } else { free(wxs); return -1; } } wxs->abstract_fd = bind_to_abstract_socket(wxs->display); if (wxs->abstract_fd < 0 && errno == EADDRINUSE) { wxs->display++; unlink(lockfile); goto retry; } wxs->unix_fd = bind_to_unix_socket(wxs->display); if (wxs->unix_fd < 0) { unlink(lockfile); close(wxs->abstract_fd); free(wxs); return -1; } snprintf(display_name, sizeof display_name, ":%d", wxs->display); weston_log("xserver listening on display %s\n", display_name); setenv("DISPLAY", display_name, 1); wxs->loop = wl_display_get_event_loop(wxs->wl_display); wxs->abstract_source = wl_event_loop_add_fd(wxs->loop, wxs->abstract_fd, WL_EVENT_READABLE, weston_xserver_handle_event, wxs); wxs->unix_source = wl_event_loop_add_fd(wxs->loop, wxs->unix_fd, WL_EVENT_READABLE, weston_xserver_handle_event, wxs); return 0; } static void weston_xwayland_xserver_loaded(struct weston_xwayland *xwayland, struct wl_client *client, int wm_fd) { struct weston_xserver *wxs = (struct weston_xserver *)xwayland; wxs->wm = weston_wm_create(wxs, wm_fd); wxs->client = client; } static void weston_xwayland_xserver_exited(struct weston_xwayland *xwayland, int exit_status) { struct weston_xserver *wxs = (struct weston_xserver *)xwayland; wxs->pid = 0; wxs->client = NULL; wxs->abstract_source = wl_event_loop_add_fd(wxs->loop, wxs->abstract_fd, WL_EVENT_READABLE, weston_xserver_handle_event, wxs); wxs->unix_source = wl_event_loop_add_fd(wxs->loop, wxs->unix_fd, WL_EVENT_READABLE, weston_xserver_handle_event, wxs); if (wxs->wm) { weston_log("xserver exited, code %d\n", exit_status); weston_wm_destroy(wxs->wm); wxs->wm = NULL; } else { /* If the X server crashes before it binds to the * xserver interface, shut down and don't try * again. */ weston_log("xserver crashing too fast: %d\n", exit_status); weston_xserver_shutdown(wxs); } } const struct weston_xwayland_api api = { weston_xwayland_get, weston_xwayland_listen, weston_xwayland_xserver_loaded, weston_xwayland_xserver_exited, }; extern const struct weston_xwayland_surface_api surface_api; WL_EXPORT int weston_module_init(struct weston_compositor *compositor) { struct wl_display *display = compositor->wl_display; struct weston_xserver *wxs; int ret; wxs = zalloc(sizeof *wxs); if (wxs == NULL) return -1; wxs->wl_display = display; wxs->compositor = compositor; if (weston_xwayland_get_api(compositor) != NULL || weston_xwayland_surface_get_api(compositor) != NULL) { weston_log("The xwayland module APIs are already loaded.\n"); free(wxs); return -1; } ret = weston_plugin_api_register(compositor, WESTON_XWAYLAND_API_NAME, &api, sizeof(api)); if (ret < 0) { weston_log("Failed to register the xwayland module API.\n"); free(wxs); return -1; } ret = weston_plugin_api_register(compositor, WESTON_XWAYLAND_SURFACE_API_NAME, &surface_api, sizeof(surface_api)); if (ret < 0) { weston_log("Failed to register the xwayland surface API.\n"); free(wxs); return -1; } wxs->destroy_listener.notify = weston_xserver_destroy; wl_signal_add(&compositor->destroy_signal, &wxs->destroy_listener); return 0; } weston-3.0.0/xwayland/dnd.c0000664000175000017500000001605613142404577012533 00000000000000/* * Copyright © 2013 Intel Corporation * * 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 (including the * next paragraph) 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. */ #include "config.h" #include #include #include #include #include #include #include #include #include #include #include #include "compositor.h" #include "xwayland.h" #include "cairo-util.h" #include "hash.h" struct dnd_data_source { struct weston_data_source base; struct weston_wm *wm; int version; uint32_t window; }; static void data_source_accept(struct weston_data_source *base, uint32_t time, const char *mime_type) { struct dnd_data_source *source = (struct dnd_data_source *) base; xcb_client_message_event_t client_message; struct weston_wm *wm = source->wm; weston_log("got accept, mime-type %s\n", mime_type); /* FIXME: If we rewrote UTF8_STRING to * text/plain;charset=utf-8 and the source doesn't support the * mime-type, we'll have to rewrite the mime-type back to * UTF8_STRING here. */ client_message.response_type = XCB_CLIENT_MESSAGE; client_message.format = 32; client_message.window = wm->dnd_window; client_message.type = wm->atom.xdnd_status; client_message.data.data32[0] = wm->dnd_window; client_message.data.data32[1] = 2; if (mime_type) client_message.data.data32[1] |= 1; client_message.data.data32[2] = 0; client_message.data.data32[3] = 0; client_message.data.data32[4] = wm->atom.xdnd_action_copy; xcb_send_event(wm->conn, 0, wm->dnd_owner, XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT, (char *) &client_message); } static void data_source_send(struct weston_data_source *base, const char *mime_type, int32_t fd) { struct dnd_data_source *source = (struct dnd_data_source *) base; struct weston_wm *wm = source->wm; weston_log("got send, %s\n", mime_type); /* Get data for the utf8_string target */ xcb_convert_selection(wm->conn, wm->selection_window, wm->atom.xdnd_selection, wm->atom.utf8_string, wm->atom.wl_selection, XCB_TIME_CURRENT_TIME); xcb_flush(wm->conn); fcntl(fd, F_SETFL, O_WRONLY | O_NONBLOCK); wm->data_source_fd = fd; } static void data_source_cancel(struct weston_data_source *source) { weston_log("got cancel\n"); } static void handle_enter(struct weston_wm *wm, xcb_client_message_event_t *client_message) { struct dnd_data_source *source; struct weston_seat *seat = weston_wm_pick_seat(wm); struct weston_pointer *pointer = weston_seat_get_pointer(seat); char **p; const char *name; uint32_t *types; int i, length, has_text; xcb_get_property_cookie_t cookie; xcb_get_property_reply_t *reply; source = zalloc(sizeof *source); if (source == NULL) return; wl_signal_init(&source->base.destroy_signal); source->base.accept = data_source_accept; source->base.send = data_source_send; source->base.cancel = data_source_cancel; source->wm = wm; source->window = client_message->data.data32[0]; source->version = client_message->data.data32[1] >> 24; if (client_message->data.data32[1] & 1) { cookie = xcb_get_property(wm->conn, 0, /* delete */ source->window, wm->atom.xdnd_type_list, XCB_ATOM_ANY, 0, 2048); reply = xcb_get_property_reply(wm->conn, cookie, NULL); types = xcb_get_property_value(reply); length = reply->value_len; } else { reply = NULL; types = &client_message->data.data32[2]; length = 3; } wl_array_init(&source->base.mime_types); has_text = 0; for (i = 0; i < length; i++) { if (types[i] == XCB_ATOM_NONE) continue; name = get_atom_name(wm->conn, types[i]); if (types[i] == wm->atom.utf8_string || types[i] == wm->atom.text_plain_utf8 || types[i] == wm->atom.text_plain) { if (has_text) continue; has_text = 1; p = wl_array_add(&source->base.mime_types, sizeof *p); if (p) *p = strdup("text/plain;charset=utf-8"); } else if (strchr(name, '/')) { p = wl_array_add(&source->base.mime_types, sizeof *p); if (p) *p = strdup(name); } } free(reply); weston_pointer_start_drag(pointer, &source->base, NULL, NULL); } int weston_wm_handle_dnd_event(struct weston_wm *wm, xcb_generic_event_t *event) { xcb_xfixes_selection_notify_event_t *xfixes_selection_notify = (xcb_xfixes_selection_notify_event_t *) event; xcb_client_message_event_t *client_message = (xcb_client_message_event_t *) event; switch (event->response_type - wm->xfixes->first_event) { case XCB_XFIXES_SELECTION_NOTIFY: if (xfixes_selection_notify->selection != wm->atom.xdnd_selection) return 0; weston_log("XdndSelection owner: %d!\n", xfixes_selection_notify->owner); return 1; } switch (EVENT_TYPE(event)) { case XCB_CLIENT_MESSAGE: if (client_message->type == wm->atom.xdnd_enter) { handle_enter(wm, client_message); return 1; } else if (client_message->type == wm->atom.xdnd_leave) { weston_log("got leave!\n"); return 1; } else if (client_message->type == wm->atom.xdnd_drop) { weston_log("got drop!\n"); return 1; } else if (client_message->type == wm->atom.xdnd_drop) { weston_log("got enter!\n"); return 1; } return 0; } return 0; } void weston_wm_dnd_init(struct weston_wm *wm) { uint32_t values[1], version = 4, mask; mask = XCB_XFIXES_SELECTION_EVENT_MASK_SET_SELECTION_OWNER | XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_WINDOW_DESTROY | XCB_XFIXES_SELECTION_EVENT_MASK_SELECTION_CLIENT_CLOSE; xcb_xfixes_select_selection_input(wm->conn, wm->selection_window, wm->atom.xdnd_selection, mask); wm->dnd_window = xcb_generate_id(wm->conn); values[0] = XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY | XCB_EVENT_MASK_PROPERTY_CHANGE; xcb_create_window(wm->conn, XCB_COPY_FROM_PARENT, wm->dnd_window, wm->screen->root, 0, 0, 8192, 8192, 0, XCB_WINDOW_CLASS_INPUT_ONLY, wm->screen->root_visual, XCB_CW_EVENT_MASK, values); xcb_change_property(wm->conn, XCB_PROP_MODE_REPLACE, wm->dnd_window, wm->atom.xdnd_aware, XCB_ATOM_ATOM, 32, /* format */ 1, &version); } weston-3.0.0/xwayland/xwayland-internal-interface.h0000664000175000017500000000563213142404577017370 00000000000000/* * Copyright © 2016 Quentin "Sardem FF7" Glidic * * 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 (including the * next paragraph) 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. */ #ifndef XWAYLAND_INTERNAL_INTERFACE_H #define XWAYLAND_INTERNAL_INTERFACE_H struct weston_desktop_xwayland; struct weston_desktop_xwayland_surface; struct weston_xwayland_client_interface { void (*send_configure)(struct weston_surface *surface, int32_t width, int32_t height); }; struct weston_desktop_xwayland_interface { struct weston_desktop_xwayland_surface *(*create_surface)(struct weston_desktop_xwayland *xwayland, struct weston_surface *surface, const struct weston_xwayland_client_interface *client); void (*set_toplevel)(struct weston_desktop_xwayland_surface *shsurf); void (*set_toplevel_with_position)(struct weston_desktop_xwayland_surface *shsurf, int32_t x, int32_t y); void (*set_parent)(struct weston_desktop_xwayland_surface *shsurf, struct weston_surface *parent); void (*set_transient)(struct weston_desktop_xwayland_surface *shsurf, struct weston_surface *parent, int x, int y); void (*set_fullscreen)(struct weston_desktop_xwayland_surface *shsurf, struct weston_output *output); void (*set_xwayland)(struct weston_desktop_xwayland_surface *shsurf, int x, int y); int (*move)(struct weston_desktop_xwayland_surface *shsurf, struct weston_pointer *pointer); int (*resize)(struct weston_desktop_xwayland_surface *shsurf, struct weston_pointer *pointer, uint32_t edges); void (*set_title)(struct weston_desktop_xwayland_surface *shsurf, const char *title); void (*set_window_geometry)(struct weston_desktop_xwayland_surface *shsurf, int32_t x, int32_t y, int32_t width, int32_t height); void (*set_maximized)(struct weston_desktop_xwayland_surface *shsurf); void (*set_pid)(struct weston_desktop_xwayland_surface *shsurf, pid_t pid); }; #endif weston-3.0.0/xwayland/xwayland.h0000664000175000017500000001312613142404577013615 00000000000000/* * Copyright © 2012 Intel Corporation * * 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 (including the * next paragraph) 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. */ #include #include #include #include #include #include "compositor.h" #include "compositor/weston.h" #include "xwayland-api.h" #define SEND_EVENT_MASK (0x80) #define EVENT_TYPE(event) ((event)->response_type & ~SEND_EVENT_MASK) struct weston_xserver { struct wl_display *wl_display; struct wl_event_loop *loop; int abstract_fd; struct wl_event_source *abstract_source; int unix_fd; struct wl_event_source *unix_source; int display; pid_t pid; struct wl_client *client; struct weston_compositor *compositor; struct weston_wm *wm; struct wl_listener destroy_listener; weston_xwayland_spawn_xserver_func_t spawn_func; void *user_data; }; struct weston_wm { xcb_connection_t *conn; const xcb_query_extension_reply_t *xfixes; struct wl_event_source *source; xcb_screen_t *screen; struct hash_table *window_hash; struct weston_xserver *server; xcb_window_t wm_window; struct weston_wm_window *focus_window; struct theme *theme; xcb_cursor_t *cursors; int last_cursor; xcb_render_pictforminfo_t format_rgb, format_rgba; xcb_visualid_t visual_id; xcb_colormap_t colormap; struct wl_listener create_surface_listener; struct wl_listener activate_listener; struct wl_listener kill_listener; struct wl_list unpaired_window_list; xcb_window_t selection_window; xcb_window_t selection_owner; int incr; int data_source_fd; struct wl_event_source *property_source; xcb_get_property_reply_t *property_reply; int property_start; struct wl_array source_data; xcb_selection_request_event_t selection_request; xcb_atom_t selection_target; xcb_timestamp_t selection_timestamp; int selection_property_set; int flush_property_on_delete; struct wl_listener selection_listener; xcb_window_t dnd_window; xcb_window_t dnd_owner; struct { xcb_atom_t wm_protocols; xcb_atom_t wm_normal_hints; xcb_atom_t wm_take_focus; xcb_atom_t wm_delete_window; xcb_atom_t wm_state; xcb_atom_t wm_s0; xcb_atom_t wm_client_machine; xcb_atom_t net_wm_cm_s0; xcb_atom_t net_wm_name; xcb_atom_t net_wm_pid; xcb_atom_t net_wm_icon; xcb_atom_t net_wm_state; xcb_atom_t net_wm_state_maximized_vert; xcb_atom_t net_wm_state_maximized_horz; xcb_atom_t net_wm_state_fullscreen; xcb_atom_t net_wm_user_time; xcb_atom_t net_wm_icon_name; xcb_atom_t net_wm_desktop; xcb_atom_t net_wm_window_type; xcb_atom_t net_wm_window_type_desktop; xcb_atom_t net_wm_window_type_dock; xcb_atom_t net_wm_window_type_toolbar; xcb_atom_t net_wm_window_type_menu; xcb_atom_t net_wm_window_type_utility; xcb_atom_t net_wm_window_type_splash; xcb_atom_t net_wm_window_type_dialog; xcb_atom_t net_wm_window_type_dropdown; xcb_atom_t net_wm_window_type_popup; xcb_atom_t net_wm_window_type_tooltip; xcb_atom_t net_wm_window_type_notification; xcb_atom_t net_wm_window_type_combo; xcb_atom_t net_wm_window_type_dnd; xcb_atom_t net_wm_window_type_normal; xcb_atom_t net_wm_moveresize; xcb_atom_t net_supporting_wm_check; xcb_atom_t net_supported; xcb_atom_t net_active_window; xcb_atom_t motif_wm_hints; xcb_atom_t clipboard; xcb_atom_t clipboard_manager; xcb_atom_t targets; xcb_atom_t utf8_string; xcb_atom_t wl_selection; xcb_atom_t incr; xcb_atom_t timestamp; xcb_atom_t multiple; xcb_atom_t compound_text; xcb_atom_t text; xcb_atom_t string; xcb_atom_t window; xcb_atom_t text_plain_utf8; xcb_atom_t text_plain; xcb_atom_t xdnd_selection; xcb_atom_t xdnd_aware; xcb_atom_t xdnd_enter; xcb_atom_t xdnd_leave; xcb_atom_t xdnd_drop; xcb_atom_t xdnd_status; xcb_atom_t xdnd_finished; xcb_atom_t xdnd_type_list; xcb_atom_t xdnd_action_copy; xcb_atom_t wl_surface_id; xcb_atom_t allow_commits; } atom; }; void dump_property(struct weston_wm *wm, xcb_atom_t property, xcb_get_property_reply_t *reply); const char * get_atom_name(xcb_connection_t *c, xcb_atom_t atom); void weston_wm_selection_init(struct weston_wm *wm); int weston_wm_handle_selection_event(struct weston_wm *wm, xcb_generic_event_t *event); struct weston_wm * weston_wm_create(struct weston_xserver *wxs, int fd); void weston_wm_destroy(struct weston_wm *wm); struct weston_seat * weston_wm_pick_seat(struct weston_wm *wm); int weston_wm_handle_dnd_event(struct weston_wm *wm, xcb_generic_event_t *event); void weston_wm_dnd_init(struct weston_wm *wm); weston-3.0.0/xwayland/xwayland-api.h0000664000175000017500000001365013142404577014366 00000000000000/* * Copyright © 2016 Giulio Camuffo * * 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 (including the * next paragraph) 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. */ #ifndef XWAYLAND_API_H #define XWAYLAND_API_H #ifdef __cplusplus extern "C" { #endif #include #include "plugin-registry.h" struct weston_compositor; struct weston_xwayland; #define WESTON_XWAYLAND_API_NAME "weston_xwayland_v1" #define WESTON_XWAYLAND_SURFACE_API_NAME "weston_xwayland_surface_v1" typedef pid_t (*weston_xwayland_spawn_xserver_func_t)( void *user_data, const char *display, int abstract_fd, int unix_fd); /** The libweston Xwayland API * * This API allows control of the Xwayland libweston module. * The module must be loaded at runtime with \a weston_compositor_load_xwayland, * after which the API can be retrieved by using \a weston_xwayland_get_api. */ struct weston_xwayland_api { /** Retrieve the Xwayland context object. * * Note that this function does not create a new object, but always * returns the same object per compositor instance. * This function cannot fail while this API object is valid. * * \param compositor The compositor instance. */ struct weston_xwayland * (*get)(struct weston_compositor *compositor); /** Listen for X connections. * * This function tells the Xwayland module to begin creating an X socket * and start listening for client connections. When one such connection is * detected the given \a spawn_func callback will be called to start * the Xwayland process. * * \param xwayland The Xwayland context object. * \param user_data The user data pointer to be passed to \a spawn_func. * \param spawn_func The callback function called to start the Xwayland * server process. * * \return 0 on success, a negative number otherwise. */ int (*listen)(struct weston_xwayland *xwayland, void *user_data, weston_xwayland_spawn_xserver_func_t spawn_func); /** Notify the Xwayland module that the Xwayland server is loaded. * * After the Xwayland server process has been spawned it will notify * the parent that is has finished the initialization by sending a * SIGUSR1 signal. * The caller should listen for that signal and call this function * when it is received. * * \param xwayland The Xwayland context object. * \param client The wl_client object representing the connection of * the Xwayland server process. * \param wm_fd The file descriptor for the wm. */ void (*xserver_loaded)(struct weston_xwayland *xwayland, struct wl_client *client, int wm_fd); /** Notify the Xwayland module that the Xwayland server has exited. * * Whenever the Xwayland server process quits this function should be * called. * The Xwayland module will keep listening for X connections on the * socket, and may call the spawn function again. * * \param xwayland The Xwayland context object. * \param exit_status The exit status of the Xwayland server process. */ void (*xserver_exited)(struct weston_xwayland *xwayland, int exit_status); }; /** Retrieve the API object for the libweston Xwayland module. * * The module must have been previously loaded by calling * \a weston_compositor_load_xwayland. * * \param compositor The compositor instance. */ static inline const struct weston_xwayland_api * weston_xwayland_get_api(struct weston_compositor *compositor) { const void *api; api = weston_plugin_api_get(compositor, WESTON_XWAYLAND_API_NAME, sizeof(struct weston_xwayland_api)); /* The cast is necessary to use this function in C++ code */ return (const struct weston_xwayland_api *)api; } /** The libweston Xwayland surface API * * This API allows control of the Xwayland libweston module surfaces. * The module must be loaded at runtime with \a weston_compositor_load_xwayland, * after which the API can be retrieved by using * \a weston_xwayland_surface_get_api. */ struct weston_xwayland_surface_api { /** Check if the surface is an Xwayland surface * * \param surface The surface. */ bool (*is_xwayland_surface)(struct weston_surface *surface); /** Notify the Xwayland surface that its position changed. * * \param surface The Xwayland surface. * \param x The x-axis position. * \param y The y-axis position. */ void (*send_position)(struct weston_surface *surface, int32_t x, int32_t y); }; /** Retrieve the API object for the libweston Xwayland surface. * * The module must have been previously loaded by calling * \a weston_compositor_load_xwayland. * * \param compositor The compositor instance. */ static inline const struct weston_xwayland_surface_api * weston_xwayland_surface_get_api(struct weston_compositor *compositor) { const void *api; api = weston_plugin_api_get(compositor, WESTON_XWAYLAND_SURFACE_API_NAME, sizeof(struct weston_xwayland_surface_api)); /* The cast is necessary to use this function in C++ code */ return (const struct weston_xwayland_surface_api *)api; } #ifdef __cplusplus } #endif #endif weston-3.0.0/xwayland/hash.h0000664000175000017500000000407113142404577012710 00000000000000/* * Copyright © 2009 Intel Corporation * Copyright © 1988-2004 Keith Packard and Bart Massey. * * 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 (including the next * paragraph) 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. * * Except as contained in this notice, the names of the authors * or their institutions shall not be used in advertising or * otherwise to promote the sale, use or other dealings in this * Software without prior written authorization from the * authors. * * Authors: * Eric Anholt * Keith Packard */ #ifndef HASH_H #define HASH_H #include struct hash_table; struct hash_table *hash_table_create(void); typedef void (*hash_table_iterator_func_t)(void *element, void *data); void hash_table_destroy(struct hash_table *ht); void *hash_table_lookup(struct hash_table *ht, uint32_t hash); int hash_table_insert(struct hash_table *ht, uint32_t hash, void *data); void hash_table_remove(struct hash_table *ht, uint32_t hash); void hash_table_for_each(struct hash_table *ht, hash_table_iterator_func_t func, void *data); #endif weston-3.0.0/protocol/0000775000175000017500000000000013142404611011671 500000000000000weston-3.0.0/protocol/ivi-hmi-controller.xml0000664000175000017500000000767613142404577016111 00000000000000 Copyright (C) 2013 DENSO CORPORATION Copyright (c) 2013 BMW Car IT GmbH 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 (including the next paragraph) 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. Reference protocol to control a surface by server. To control a surface by server, it gives seat to the server to e.g. control Home screen. Home screen has several workspaces to group launchers of wayland application. These workspaces are drawn on a horizontally long surface to be controlled by motion of input device. E.g. A motion from right to left happens, the viewport of surface is controlled in the ivi-shell by using ivi-layout. client can recognizes the end of controlling by event "workspace_end_control". hmi-controller loaded to ivi-shall implements 4 types of layout as a reference; tiling, side by side, full_screen, and random. home screen is a reference implementation of launcher to launch wayland applications. The home screen has several workspaces to group wayland applications. By defining the following keys in weston.ini, user can add launcher icon to launch a wayland application to a workspace. [ivi-launcher] workspace-id=0 : id of workspace to add a launcher icon-id=4001 : ivi id of ivi_surface to draw an icon icon=/home/user/review/build-ivi-shell/data/icon_ivi_flower.png : path to icon image path=/home/user/review/build-ivi-shell/weston-dnd : path to wayland application weston-3.0.0/protocol/ivi-application.xml0000664000175000017500000001072413142404577015442 00000000000000 Copyright (C) 2013 DENSO CORPORATION Copyright (c) 2013 BMW Car IT GmbH 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 (including the next paragraph) 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. This removes link from ivi_id to wl_surface and destroys ivi_surface. The ID, ivi_id, is free and can be used for surface_create again. The configure event asks the client to resize its surface. The size is a hint, in the sense that the client is free to ignore it if it doesn't resize, pick a smaller size (to satisfy aspect ratio or resize in steps of NxM pixels). The client is free to dismiss all but the last configure event it received. The width and height arguments specify the size of the window in surface-local coordinates. This interface is exposed as a global singleton. This interface is implemented by servers that provide IVI-style user interfaces. It allows clients to associate a ivi_surface with wl_surface. This request gives the wl_surface the role of an IVI Surface. Creating more than one ivi_surface for a wl_surface is not allowed. Note, that this still allows the following example: 1. create a wl_surface 2. create ivi_surface for the wl_surface 3. destroy the ivi_surface 4. create ivi_surface for the wl_surface (with the same or another ivi_id as before) surface_create will create a interface:ivi_surface with numeric ID; ivi_id in ivi compositor. These ivi_ids are defined as unique in the system to identify it inside of ivi compositor. The ivi compositor implements business logic how to set properties of the surface with ivi_id according to status of the system. E.g. a unique ID for Car Navigation application is used for implementing special logic of the application about where it shall be located. The server regards following cases as protocol errors and disconnects the client. - wl_surface already has an nother role. - ivi_id is already assigned to an another wl_surface. If client destroys ivi_surface or wl_surface which is assigne to the ivi_surface, ivi_id which is assigned to the ivi_surface is free for reuse. weston-3.0.0/protocol/weston-desktop-shell.xml0000664000175000017500000001110413142404577016436 00000000000000 Traditional user interfaces can rely on this interface to define the foundations of typical desktops. Currently it's possible to set up background, panels and locking surfaces. The surface set by this request will receive a fake pointer.enter event during grabs at position 0, 0 and is expected to set an appropriate cursor image as described by the grab_cursor event sent just before the enter event. Tell the client we want it to create and set the lock surface, which is a GUI asking the user to unlock the screen. The lock surface is announced with 'set_lock_surface'. Whether or not the client actually implements locking, it MUST send 'unlock' request to let the normal desktop resume. This event will be sent immediately before a fake enter event on the grab surface. Tell the server, that enough desktop elements have been drawn to make the desktop look ready for use. During start-up, the server can wait for this request with a black screen before starting to fade in the desktop, for instance. If the client parts of a desktop take a long time to initialize, we avoid showing temporary garbage. Tell the shell which side of the screen the panel is located. This is so that new windows do not overlap the panel and maximized windows maximize properly. Only one client can bind this interface at a time. A screensaver surface is normally hidden, and only visible after an idle timeout. weston-3.0.0/protocol/weston-test.xml0000664000175000017500000001122013142404577014636 00000000000000 Copyright © 2012 Intel Corporation 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 (including the next paragraph) 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. Internal testing facilities for the weston compositor. It can't be stressed enough that these should never ever be used outside of running weston's tests. The weston-test.so module should never be installed. These requests may allow clients to do very bad things. Records an image of what is currently displayed on a given display output, returning the image as an event. The capture_screenshot_done signal is sent when a screenshot has been copied into the provided buffer. This is a global singleton interface for Weston internal tests. This interface allows a test client to trigger compositor-side test procedures. This is useful for cases, where the actual tests are in compositor plugins, but they also require the presence of a particular client. This interface is implemented by the compositor plugins containing the testing code. A test client starts a test with the "run" request. It must not send another "run" request until receiving the "finished" event. If the compositor-side test succeeds, the "finished" event is sent. If the compositor-side test fails, the compositor should send the protocol error "test_failed", but it may also exit with an error (e.g. SEGV). Unknown test name will raise "unknown_test" protocol error. weston-3.0.0/protocol/weston-screenshooter.xml0000664000175000017500000000050713142404577016550 00000000000000 weston-3.0.0/protocol/text-cursor-position.xml0000664000175000017500000000045413142404577016512 00000000000000 weston-3.0.0/Makefile.in0000664000175000017500000255512013142404607012034 00000000000000# Makefile.in generated by automake 1.15 from Makefile.am. # @configure_input@ # Copyright (C) 1994-2014 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. @SET_MAKE@ VPATH = @srcdir@ am__is_gnu_make = { \ if test -z '$(MAKELEVEL)'; then \ false; \ elif test -n '$(MAKE_HOST)'; then \ true; \ elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \ true; \ else \ false; \ fi; \ } am__make_running_with_option = \ case $${target_option-} in \ ?) ;; \ *) echo "am__make_running_with_option: internal error: invalid" \ "target option '$${target_option-}' specified" >&2; \ exit 1;; \ esac; \ has_opt=no; \ sane_makeflags=$$MAKEFLAGS; \ if $(am__is_gnu_make); then \ sane_makeflags=$$MFLAGS; \ else \ case $$MAKEFLAGS in \ *\\[\ \ ]*) \ bs=\\; \ sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \ | sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \ esac; \ fi; \ skip_next=no; \ strip_trailopt () \ { \ flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \ }; \ for flg in $$sane_makeflags; do \ test $$skip_next = yes && { skip_next=no; continue; }; \ case $$flg in \ *=*|--*) continue;; \ -*I) strip_trailopt 'I'; skip_next=yes;; \ -*I?*) strip_trailopt 'I';; \ -*O) strip_trailopt 'O'; skip_next=yes;; \ -*O?*) strip_trailopt 'O';; \ -*l) strip_trailopt 'l'; skip_next=yes;; \ -*l?*) strip_trailopt 'l';; \ -[dEDm]) skip_next=yes;; \ -[JT]) skip_next=yes;; \ esac; \ case $$flg in \ *$$target_option*) has_opt=yes; break;; \ esac; \ done; \ test $$has_opt = yes am__make_dryrun = (target_option=n; $(am__make_running_with_option)) am__make_keepgoing = (target_option=k; $(am__make_running_with_option)) pkgdatadir = $(datadir)/@PACKAGE@ pkgincludedir = $(includedir)/@PACKAGE@ pkglibdir = $(libdir)/@PACKAGE@ pkglibexecdir = $(libexecdir)/@PACKAGE@ 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 = @build@ host_triplet = @host@ bin_PROGRAMS = weston$(EXEEXT) $(am__EXEEXT_1) $(am__EXEEXT_2) \ $(am__EXEEXT_12) $(am__EXEEXT_13) noinst_PROGRAMS = spring-tool$(EXEEXT) $(am__EXEEXT_16) \ $(am__EXEEXT_17) $(am__EXEEXT_18) $(am__EXEEXT_20) \ $(am__EXEEXT_22) matrix-test$(EXEEXT) $(am__EXEEXT_23) \ $(am__EXEEXT_24) zuctest$(EXEEXT) libexec_PROGRAMS = $(am__EXEEXT_14) $(am__EXEEXT_15) @SYSTEMD_NOTIFY_SUPPORT_TRUE@am__append_1 = systemd-notify.la @ENABLE_DRM_COMPOSITOR_TRUE@am__append_2 = $(LIBDRM_LIBS) @ENABLE_DBUS_TRUE@@HAVE_SYSTEMD_LOGIN_TRUE@am__append_3 = \ @ENABLE_DBUS_TRUE@@HAVE_SYSTEMD_LOGIN_TRUE@ libweston/dbus.h \ @ENABLE_DBUS_TRUE@@HAVE_SYSTEMD_LOGIN_TRUE@ libweston/dbus.c \ @ENABLE_DBUS_TRUE@@HAVE_SYSTEMD_LOGIN_TRUE@ libweston/launcher-logind.c @ENABLE_DBUS_TRUE@@HAVE_SYSTEMD_LOGIN_TRUE@am__append_4 = $(SYSTEMD_LOGIN_CFLAGS) $(DBUS_CFLAGS) @ENABLE_DBUS_TRUE@@HAVE_SYSTEMD_LOGIN_TRUE@am__append_5 = $(SYSTEMD_LOGIN_LIBS) $(DBUS_LIBS) @BUILD_WESTON_LAUNCH_TRUE@am__append_6 = weston-launch @BUILD_WESTON_LAUNCH_TRUE@@ENABLE_DRM_COMPOSITOR_TRUE@am__append_7 = $(LIBDRM_LIBS) @ENABLE_IVI_SHELL_TRUE@am__append_8 = \ @ENABLE_IVI_SHELL_TRUE@ ivi-shell/ivi-layout-export.h @ENABLE_EGL_TRUE@am__append_9 = gl-renderer.la @ENABLE_X11_COMPOSITOR_TRUE@am__append_10 = x11-backend.la @ENABLE_DRM_COMPOSITOR_TRUE@am__append_11 = drm-backend.la @ENABLE_DRM_COMPOSITOR_TRUE@@ENABLE_VAAPI_RECORDER_TRUE@am__append_12 = libweston/vaapi-recorder.c libweston/vaapi-recorder.h @ENABLE_DRM_COMPOSITOR_TRUE@@ENABLE_VAAPI_RECORDER_TRUE@am__append_13 = $(LIBVA_LIBS) @ENABLE_DRM_COMPOSITOR_TRUE@@ENABLE_VAAPI_RECORDER_TRUE@am__append_14 = -pthread @ENABLE_DRM_COMPOSITOR_TRUE@@ENABLE_VAAPI_RECORDER_TRUE@am__append_15 = $(LIBVA_CFLAGS) @ENABLE_WAYLAND_COMPOSITOR_TRUE@am__append_16 = wayland-backend.la @ENABLE_HEADLESS_COMPOSITOR_TRUE@am__append_17 = headless-backend.la @ENABLE_FBDEV_COMPOSITOR_TRUE@am__append_18 = fbdev-backend.la @ENABLE_RDP_COMPOSITOR_TRUE@am__append_19 = rdp-backend.la @HAVE_LCMS_TRUE@am__append_20 = cms-static.la @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@am__append_21 = cms-colord.la @BUILD_CLIENTS_TRUE@am__append_22 = weston-terminal weston-info @BUILD_CLIENTS_TRUE@am__append_23 = \ @BUILD_CLIENTS_TRUE@ weston-desktop-shell \ @BUILD_CLIENTS_TRUE@ weston-screenshooter \ @BUILD_CLIENTS_TRUE@ weston-keyboard \ @BUILD_CLIENTS_TRUE@ weston-simple-im @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@am__append_24 = \ @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@ weston-ivi-shell-user-interface @BUILD_CLIENTS_TRUE@@INSTALL_DEMO_CLIENTS_TRUE@am__append_25 = $(demo_clients) @BUILD_CLIENTS_TRUE@@INSTALL_DEMO_CLIENTS_FALSE@am__append_26 = $(demo_clients) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@am__append_27 = \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ weston-simple-shm \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ weston-simple-damage \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ weston-simple-touch \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ weston-presentation-shm \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ weston-multi-resource @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_EGL_CLIENTS_TRUE@am__append_28 = weston-simple-egl @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@am__append_29 = weston-simple-dmabuf-drm @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@am__append_30 = protocol/linux-dmabuf-unstable-v1-client-protocol.h @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@am__append_31 = weston-simple-dmabuf-v4l @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@am__append_32 = protocol/linux-dmabuf-unstable-v1-client-protocol.h @BUILD_CLIENTS_TRUE@am__append_33 = libtoytoolkit.la @BUILD_CLIENTS_TRUE@am__append_34 = $(nodist_libtoytoolkit_la_SOURCES) @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@am__append_35 = weston-nested weston-nested-client @BUILD_CLIENTS_TRUE@@BUILD_SUBSURFACES_CLIENT_TRUE@am__append_36 = weston-subsurfaces @BUILD_CLIENTS_TRUE@@HAVE_PANGO_TRUE@am__append_37 = weston-editor @BUILD_CLIENTS_TRUE@@BUILD_FULL_GL_CLIENTS_TRUE@am__append_38 = weston-gears @ENABLE_IVI_SHELL_TRUE@am__append_39 = \ @ENABLE_IVI_SHELL_TRUE@ data/background.png \ @ENABLE_IVI_SHELL_TRUE@ data/tiling.png \ @ENABLE_IVI_SHELL_TRUE@ data/fullscreen.png \ @ENABLE_IVI_SHELL_TRUE@ data/panel.png \ @ENABLE_IVI_SHELL_TRUE@ data/random.png \ @ENABLE_IVI_SHELL_TRUE@ data/sidebyside.png \ @ENABLE_IVI_SHELL_TRUE@ data/home.png \ @ENABLE_IVI_SHELL_TRUE@ data/icon_ivi_clickdot.png \ @ENABLE_IVI_SHELL_TRUE@ data/icon_ivi_flower.png \ @ENABLE_IVI_SHELL_TRUE@ data/icon_ivi_simple-egl.png \ @ENABLE_IVI_SHELL_TRUE@ data/icon_ivi_simple-shm.png \ @ENABLE_IVI_SHELL_TRUE@ data/icon_ivi_smoke.png @BUILD_WCAP_TOOLS_TRUE@am__append_40 = wcap-decode @ENABLE_DESKTOP_SHELL_TRUE@am__append_41 = desktop-shell.la @ENABLE_DESKTOP_SHELL_TRUE@am__append_42 = $(nodist_desktop_shell_la_SOURCES) @ENABLE_FULLSCREEN_SHELL_TRUE@am__append_43 = fullscreen-shell.la @ENABLE_FULLSCREEN_SHELL_TRUE@am__append_44 = $(nodist_fullscreen_shell_la_SOURCES) @ENABLE_IVI_SHELL_TRUE@am__append_45 = \ @ENABLE_IVI_SHELL_TRUE@ $(ivi_shell) \ @ENABLE_IVI_SHELL_TRUE@ $(hmi_controller) @ENABLE_IVI_SHELL_TRUE@am__append_46 = $(nodist_ivi_shell_la_SOURCES) \ @ENABLE_IVI_SHELL_TRUE@ $(nodist_hmi_controller_la_SOURCES) @ENABLE_SCREEN_SHARING_TRUE@am__append_47 = screen-share.la @ENABLE_XWAYLAND_TRUE@am__append_48 = xwayland.la @ENABLE_XWAYLAND_TRUE@am__append_49 = xwayland/xwayland-api.h @ENABLE_JUNIT_XML_TRUE@am__append_50 = \ @ENABLE_JUNIT_XML_TRUE@ $(LIBXML2_CFLAGS) @ENABLE_JUNIT_XML_TRUE@am__append_51 = \ @ENABLE_JUNIT_XML_TRUE@ $(LIBXML2_LIBS) TESTS = $(am__EXEEXT_17) $(am__EXEEXT_18) $(module_tests) \ $(am__EXEEXT_20) $(am__EXEEXT_22) @ENABLE_EGL_TRUE@am__append_52 = $(EGL_TESTS_CFLAGS) @ENABLE_EGL_TRUE@am__append_53 = $(EGL_TESTS_LIBS) @ENABLE_XWAYLAND_TEST_TRUE@am__append_54 = xwayland-test.weston @ENABLE_IVI_SHELL_TRUE@am__append_55 = \ @ENABLE_IVI_SHELL_TRUE@ ivi-layout-internal-test.la \ @ENABLE_IVI_SHELL_TRUE@ ivi-layout-test.la @ENABLE_IVI_SHELL_TRUE@am__append_56 = \ @ENABLE_IVI_SHELL_TRUE@ ivi-shell-app.weston @ENABLE_IVI_SHELL_TRUE@am__append_57 = ivi-layout.ivi @BUILD_SETBACKLIGHT_TRUE@am__append_58 = setbacklight @ENABLE_DRM_COMPOSITOR_TRUE@am__append_59 = weston-drm.7 subdir = . ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \ $(top_srcdir)/m4/weston.m4 $(top_srcdir)/configure.ac am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ $(ACLOCAL_M4) DIST_COMMON = $(srcdir)/Makefile.am $(top_srcdir)/configure \ $(am__configure_deps) $(dist_wayland_session_DATA) \ $(am__dist_westondata_DATA_DIST) \ $(am__libwestoninclude_HEADERS_DIST) \ $(am__westoninclude_HEADERS_DIST) $(am__DIST_COMMON) 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 = doc/doxygen/tools.doxygen \ doc/doxygen/tooldev.doxygen libweston/version.h \ compositor/weston.pc libweston/libweston-3.pc \ libweston-desktop/libweston-desktop-3.pc CONFIG_CLEAN_VPATH_FILES = 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__uninstall_files_from_dir = { \ test -z "$$files" \ || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } am__installdirs = "$(DESTDIR)$(libdir)" \ "$(DESTDIR)$(libweston_moduledir)" "$(DESTDIR)$(moduledir)" \ "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" \ "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" \ "$(DESTDIR)$(man7dir)" "$(DESTDIR)$(wayland_sessiondir)" \ "$(DESTDIR)$(westondatadir)" "$(DESTDIR)$(pkgconfigdir)" \ "$(DESTDIR)$(libwestonincludedir)" \ "$(DESTDIR)$(westonincludedir)" LTLIBRARIES = $(lib_LTLIBRARIES) $(libweston_module_LTLIBRARIES) \ $(module_LTLIBRARIES) $(noinst_LTLIBRARIES) am__DEPENDENCIES_1 = @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@cms_colord_la_DEPENDENCIES = \ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@ libshared.la \ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@ $(am__DEPENDENCIES_1) \ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@ $(am__DEPENDENCIES_1) \ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@ $(am__DEPENDENCIES_1) am__cms_colord_la_SOURCES_DIST = compositor/cms-colord.c \ compositor/cms-helper.c compositor/cms-helper.h \ shared/helpers.h am__dirstamp = $(am__leading_dot)dirstamp @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@am_cms_colord_la_OBJECTS = compositor/cms_colord_la-cms-colord.lo \ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@ compositor/cms_colord_la-cms-helper.lo cms_colord_la_OBJECTS = $(am_cms_colord_la_OBJECTS) AM_V_lt = $(am__v_lt_@AM_V@) am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = cms_colord_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(cms_colord_la_CFLAGS) \ $(CFLAGS) $(cms_colord_la_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@am_cms_colord_la_rpath = -rpath \ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@ $(moduledir) @HAVE_LCMS_TRUE@cms_static_la_DEPENDENCIES = libshared.la \ @HAVE_LCMS_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @HAVE_LCMS_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) am__cms_static_la_SOURCES_DIST = compositor/cms-static.c \ compositor/cms-helper.c compositor/cms-helper.h \ shared/helpers.h @HAVE_LCMS_TRUE@am_cms_static_la_OBJECTS = \ @HAVE_LCMS_TRUE@ compositor/cms_static_la-cms-static.lo \ @HAVE_LCMS_TRUE@ compositor/cms_static_la-cms-helper.lo cms_static_la_OBJECTS = $(am_cms_static_la_OBJECTS) cms_static_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(cms_static_la_CFLAGS) \ $(CFLAGS) $(cms_static_la_LDFLAGS) $(LDFLAGS) -o $@ @HAVE_LCMS_TRUE@am_cms_static_la_rpath = -rpath $(moduledir) @ENABLE_DESKTOP_SHELL_TRUE@desktop_shell_la_DEPENDENCIES = \ @ENABLE_DESKTOP_SHELL_TRUE@ libshared.la \ @ENABLE_DESKTOP_SHELL_TRUE@ libweston-desktop-@LIBWESTON_MAJOR@.la \ @ENABLE_DESKTOP_SHELL_TRUE@ $(am__DEPENDENCIES_1) am__desktop_shell_la_SOURCES_DIST = desktop-shell/shell.h \ desktop-shell/shell.c desktop-shell/exposay.c \ desktop-shell/input-panel.c shared/helpers.h @ENABLE_DESKTOP_SHELL_TRUE@am_desktop_shell_la_OBJECTS = desktop-shell/desktop_shell_la-shell.lo \ @ENABLE_DESKTOP_SHELL_TRUE@ desktop-shell/desktop_shell_la-exposay.lo \ @ENABLE_DESKTOP_SHELL_TRUE@ desktop-shell/desktop_shell_la-input-panel.lo @ENABLE_DESKTOP_SHELL_TRUE@nodist_desktop_shell_la_OBJECTS = protocol/desktop_shell_la-weston-desktop-shell-protocol.lo desktop_shell_la_OBJECTS = $(am_desktop_shell_la_OBJECTS) \ $(nodist_desktop_shell_la_OBJECTS) desktop_shell_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(desktop_shell_la_CFLAGS) $(CFLAGS) \ $(desktop_shell_la_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_DESKTOP_SHELL_TRUE@am_desktop_shell_la_rpath = -rpath \ @ENABLE_DESKTOP_SHELL_TRUE@ $(moduledir) am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1) @ENABLE_DRM_COMPOSITOR_TRUE@@ENABLE_VAAPI_RECORDER_TRUE@am__DEPENDENCIES_3 = $(am__DEPENDENCIES_1) @ENABLE_DRM_COMPOSITOR_TRUE@drm_backend_la_DEPENDENCIES = \ @ENABLE_DRM_COMPOSITOR_TRUE@ libsession-helper.la \ @ENABLE_DRM_COMPOSITOR_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_1) \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_1) \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_2) libshared.la \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_1) \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_3) am__drm_backend_la_SOURCES_DIST = libweston/compositor-drm.c \ libweston/compositor-drm.h libweston/libinput-seat.c \ libweston/libinput-seat.h libweston/libinput-device.c \ libweston/libinput-device.h shared/helpers.h \ shared/timespec-util.h libweston/libbacklight.c \ libweston/libbacklight.h libweston/vaapi-recorder.c \ libweston/vaapi-recorder.h am__objects_1 = libweston/drm_backend_la-libinput-seat.lo \ libweston/drm_backend_la-libinput-device.lo @ENABLE_DRM_COMPOSITOR_TRUE@@ENABLE_VAAPI_RECORDER_TRUE@am__objects_2 = libweston/drm_backend_la-vaapi-recorder.lo @ENABLE_DRM_COMPOSITOR_TRUE@am_drm_backend_la_OBJECTS = libweston/drm_backend_la-compositor-drm.lo \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(am__objects_1) \ @ENABLE_DRM_COMPOSITOR_TRUE@ libweston/drm_backend_la-libbacklight.lo \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(am__objects_2) drm_backend_la_OBJECTS = $(am_drm_backend_la_OBJECTS) drm_backend_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(drm_backend_la_CFLAGS) $(CFLAGS) $(drm_backend_la_LDFLAGS) \ $(LDFLAGS) -o $@ @ENABLE_DRM_COMPOSITOR_TRUE@am_drm_backend_la_rpath = -rpath \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(libweston_moduledir) @ENABLE_FBDEV_COMPOSITOR_TRUE@fbdev_backend_la_DEPENDENCIES = \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ libshared.la \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ libsession-helper.la \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_1) \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_1) \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_2) am__fbdev_backend_la_SOURCES_DIST = libweston/compositor-fbdev.c \ libweston/compositor-fbdev.h shared/helpers.h \ libweston/libinput-seat.c libweston/libinput-seat.h \ libweston/libinput-device.c libweston/libinput-device.h am__objects_3 = libweston/fbdev_backend_la-libinput-seat.lo \ libweston/fbdev_backend_la-libinput-device.lo @ENABLE_FBDEV_COMPOSITOR_TRUE@am_fbdev_backend_la_OBJECTS = libweston/fbdev_backend_la-compositor-fbdev.lo \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ $(am__objects_3) fbdev_backend_la_OBJECTS = $(am_fbdev_backend_la_OBJECTS) fbdev_backend_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(fbdev_backend_la_CFLAGS) $(CFLAGS) \ $(fbdev_backend_la_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_FBDEV_COMPOSITOR_TRUE@am_fbdev_backend_la_rpath = -rpath \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ $(libweston_moduledir) @ENABLE_FULLSCREEN_SHELL_TRUE@fullscreen_shell_la_DEPENDENCIES = \ @ENABLE_FULLSCREEN_SHELL_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_FULLSCREEN_SHELL_TRUE@ $(am__DEPENDENCIES_1) am__fullscreen_shell_la_SOURCES_DIST = \ fullscreen-shell/fullscreen-shell.c shared/helpers.h @ENABLE_FULLSCREEN_SHELL_TRUE@am_fullscreen_shell_la_OBJECTS = fullscreen-shell/fullscreen_shell_la-fullscreen-shell.lo @ENABLE_FULLSCREEN_SHELL_TRUE@nodist_fullscreen_shell_la_OBJECTS = protocol/fullscreen_shell_la-fullscreen-shell-unstable-v1-protocol.lo fullscreen_shell_la_OBJECTS = $(am_fullscreen_shell_la_OBJECTS) \ $(nodist_fullscreen_shell_la_OBJECTS) fullscreen_shell_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(fullscreen_shell_la_CFLAGS) $(CFLAGS) \ $(fullscreen_shell_la_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_FULLSCREEN_SHELL_TRUE@am_fullscreen_shell_la_rpath = -rpath \ @ENABLE_FULLSCREEN_SHELL_TRUE@ $(moduledir) @ENABLE_EGL_TRUE@gl_renderer_la_DEPENDENCIES = \ @ENABLE_EGL_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_EGL_TRUE@ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) am__gl_renderer_la_SOURCES_DIST = libweston/gl-renderer.h \ libweston/gl-renderer.c libweston/vertex-clipping.c \ libweston/vertex-clipping.h shared/helpers.h @ENABLE_EGL_TRUE@am_gl_renderer_la_OBJECTS = \ @ENABLE_EGL_TRUE@ libweston/gl_renderer_la-gl-renderer.lo \ @ENABLE_EGL_TRUE@ libweston/gl_renderer_la-vertex-clipping.lo gl_renderer_la_OBJECTS = $(am_gl_renderer_la_OBJECTS) gl_renderer_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(gl_renderer_la_CFLAGS) $(CFLAGS) $(gl_renderer_la_LDFLAGS) \ $(LDFLAGS) -o $@ @ENABLE_EGL_TRUE@am_gl_renderer_la_rpath = -rpath \ @ENABLE_EGL_TRUE@ $(libweston_moduledir) @ENABLE_HEADLESS_COMPOSITOR_TRUE@headless_backend_la_DEPENDENCIES = \ @ENABLE_HEADLESS_COMPOSITOR_TRUE@ libshared.la \ @ENABLE_HEADLESS_COMPOSITOR_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_HEADLESS_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_1) am__headless_backend_la_SOURCES_DIST = \ libweston/compositor-headless.c \ libweston/compositor-headless.h shared/helpers.h @ENABLE_HEADLESS_COMPOSITOR_TRUE@am_headless_backend_la_OBJECTS = libweston/headless_backend_la-compositor-headless.lo headless_backend_la_OBJECTS = $(am_headless_backend_la_OBJECTS) headless_backend_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(headless_backend_la_CFLAGS) $(CFLAGS) \ $(headless_backend_la_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_HEADLESS_COMPOSITOR_TRUE@am_headless_backend_la_rpath = \ @ENABLE_HEADLESS_COMPOSITOR_TRUE@ -rpath $(libweston_moduledir) @ENABLE_IVI_SHELL_TRUE@hmi_controller_la_DEPENDENCIES = libshared.la \ @ENABLE_IVI_SHELL_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_IVI_SHELL_TRUE@ $(am__DEPENDENCIES_1) am__hmi_controller_la_SOURCES_DIST = ivi-shell/ivi-layout-export.h \ ivi-shell/hmi-controller.c shared/helpers.h @ENABLE_IVI_SHELL_TRUE@am_hmi_controller_la_OBJECTS = ivi-shell/hmi_controller_la-hmi-controller.lo @ENABLE_IVI_SHELL_TRUE@nodist_hmi_controller_la_OBJECTS = protocol/hmi_controller_la-ivi-hmi-controller-protocol.lo hmi_controller_la_OBJECTS = $(am_hmi_controller_la_OBJECTS) \ $(nodist_hmi_controller_la_OBJECTS) hmi_controller_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(hmi_controller_la_CFLAGS) $(CFLAGS) \ $(hmi_controller_la_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_IVI_SHELL_TRUE@am_hmi_controller_la_rpath = -rpath \ @ENABLE_IVI_SHELL_TRUE@ $(moduledir) am__DEPENDENCIES_4 = libweston-@LIBWESTON_MAJOR@.la \ $(am__DEPENDENCIES_1) @ENABLE_IVI_SHELL_TRUE@ivi_layout_internal_test_la_DEPENDENCIES = \ @ENABLE_IVI_SHELL_TRUE@ $(am__DEPENDENCIES_4) am__ivi_layout_internal_test_la_SOURCES_DIST = \ tests/ivi_layout-internal-test.c @ENABLE_IVI_SHELL_TRUE@am_ivi_layout_internal_test_la_OBJECTS = tests/ivi_layout_internal_test_la-ivi_layout-internal-test.lo ivi_layout_internal_test_la_OBJECTS = \ $(am_ivi_layout_internal_test_la_OBJECTS) ivi_layout_internal_test_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(ivi_layout_internal_test_la_CFLAGS) $(CFLAGS) \ $(ivi_layout_internal_test_la_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_IVI_SHELL_TRUE@am_ivi_layout_internal_test_la_rpath = @ENABLE_IVI_SHELL_TRUE@ivi_layout_test_la_DEPENDENCIES = \ @ENABLE_IVI_SHELL_TRUE@ $(am__DEPENDENCIES_4) am__ivi_layout_test_la_SOURCES_DIST = tests/ivi_layout-test-plugin.c \ tests/ivi-test.h shared/helpers.h @ENABLE_IVI_SHELL_TRUE@am_ivi_layout_test_la_OBJECTS = tests/ivi_layout_test_la-ivi_layout-test-plugin.lo @ENABLE_IVI_SHELL_TRUE@nodist_ivi_layout_test_la_OBJECTS = protocol/ivi_layout_test_la-weston-test-protocol.lo ivi_layout_test_la_OBJECTS = $(am_ivi_layout_test_la_OBJECTS) \ $(nodist_ivi_layout_test_la_OBJECTS) ivi_layout_test_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(ivi_layout_test_la_CFLAGS) $(CFLAGS) \ $(ivi_layout_test_la_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_IVI_SHELL_TRUE@am_ivi_layout_test_la_rpath = @ENABLE_IVI_SHELL_TRUE@ivi_shell_la_DEPENDENCIES = libshared.la \ @ENABLE_IVI_SHELL_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_IVI_SHELL_TRUE@ $(am__DEPENDENCIES_1) am__ivi_shell_la_SOURCES_DIST = ivi-shell/ivi-layout-export.h \ ivi-shell/ivi-layout-private.h ivi-shell/ivi-layout-shell.h \ ivi-shell/ivi-layout.c ivi-shell/ivi-layout-transition.c \ ivi-shell/ivi-shell.h ivi-shell/ivi-shell.c \ ivi-shell/input-panel-ivi.c shared/helpers.h @ENABLE_IVI_SHELL_TRUE@am_ivi_shell_la_OBJECTS = \ @ENABLE_IVI_SHELL_TRUE@ ivi-shell/ivi_shell_la-ivi-layout.lo \ @ENABLE_IVI_SHELL_TRUE@ ivi-shell/ivi_shell_la-ivi-layout-transition.lo \ @ENABLE_IVI_SHELL_TRUE@ ivi-shell/ivi_shell_la-ivi-shell.lo \ @ENABLE_IVI_SHELL_TRUE@ ivi-shell/ivi_shell_la-input-panel-ivi.lo @ENABLE_IVI_SHELL_TRUE@nodist_ivi_shell_la_OBJECTS = protocol/ivi_shell_la-ivi-application-protocol.lo ivi_shell_la_OBJECTS = $(am_ivi_shell_la_OBJECTS) \ $(nodist_ivi_shell_la_OBJECTS) ivi_shell_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(ivi_shell_la_CFLAGS) \ $(CFLAGS) $(ivi_shell_la_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_IVI_SHELL_TRUE@am_ivi_shell_la_rpath = -rpath $(moduledir) @ENABLE_DRM_COMPOSITOR_TRUE@am__DEPENDENCIES_5 = \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_1) @ENABLE_DBUS_TRUE@@HAVE_SYSTEMD_LOGIN_TRUE@am__DEPENDENCIES_6 = $(am__DEPENDENCIES_1) \ @ENABLE_DBUS_TRUE@@HAVE_SYSTEMD_LOGIN_TRUE@ $(am__DEPENDENCIES_1) libsession_helper_la_DEPENDENCIES = libweston-@LIBWESTON_MAJOR@.la \ $(am__DEPENDENCIES_5) $(am__DEPENDENCIES_6) am__libsession_helper_la_SOURCES_DIST = libweston/launcher-util.c \ libweston/launcher-util.h libweston/launcher-impl.h \ libweston/weston-launch.h libweston/launcher-weston-launch.c \ libweston/launcher-direct.c libweston/dbus.h libweston/dbus.c \ libweston/launcher-logind.c @ENABLE_DBUS_TRUE@@HAVE_SYSTEMD_LOGIN_TRUE@am__objects_4 = libweston/libsession_helper_la-dbus.lo \ @ENABLE_DBUS_TRUE@@HAVE_SYSTEMD_LOGIN_TRUE@ libweston/libsession_helper_la-launcher-logind.lo am_libsession_helper_la_OBJECTS = \ libweston/libsession_helper_la-launcher-util.lo \ libweston/libsession_helper_la-launcher-weston-launch.lo \ libweston/libsession_helper_la-launcher-direct.lo \ $(am__objects_4) libsession_helper_la_OBJECTS = $(am_libsession_helper_la_OBJECTS) libsession_helper_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(libsession_helper_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ libshared_cairo_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) am__objects_5 = shared/libshared_cairo_la-config-parser.lo \ shared/libshared_cairo_la-option-parser.lo \ shared/libshared_cairo_la-file-util.lo \ shared/libshared_cairo_la-os-compatibility.lo \ shared/libshared_cairo_la-xalloc.lo am_libshared_cairo_la_OBJECTS = $(am__objects_5) \ shared/libshared_cairo_la-image-loader.lo \ shared/libshared_cairo_la-cairo-util.lo \ shared/libshared_cairo_la-frame.lo libshared_cairo_la_OBJECTS = $(am_libshared_cairo_la_OBJECTS) libshared_cairo_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(libshared_cairo_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ libshared_la_LIBADD = am_libshared_la_OBJECTS = shared/libshared_la-config-parser.lo \ shared/libshared_la-option-parser.lo \ shared/libshared_la-file-util.lo \ shared/libshared_la-os-compatibility.lo \ shared/libshared_la-xalloc.lo libshared_la_OBJECTS = $(am_libshared_la_OBJECTS) libshared_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libshared_la_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ libtest_client_la_DEPENDENCIES = libshared.la libtest-runner.la \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) am_libtest_client_la_OBJECTS = \ tests/libtest_client_la-weston-test-client-helper.lo nodist_libtest_client_la_OBJECTS = \ protocol/libtest_client_la-weston-test-protocol.lo libtest_client_la_OBJECTS = $(am_libtest_client_la_OBJECTS) \ $(nodist_libtest_client_la_OBJECTS) libtest_client_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(libtest_client_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ libtest_runner_la_LIBADD = am_libtest_runner_la_OBJECTS = \ tests/libtest_runner_la-weston-test-runner.lo libtest_runner_la_OBJECTS = $(am_libtest_runner_la_OBJECTS) libtest_runner_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(libtest_runner_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ @BUILD_CLIENTS_TRUE@libtoytoolkit_la_DEPENDENCIES = \ @BUILD_CLIENTS_TRUE@ $(am__DEPENDENCIES_1) \ @BUILD_CLIENTS_TRUE@ $(am__DEPENDENCIES_1) libshared-cairo.la \ @BUILD_CLIENTS_TRUE@ $(am__DEPENDENCIES_1) am__libtoytoolkit_la_SOURCES_DIST = clients/window.c clients/window.h \ shared/helpers.h @BUILD_CLIENTS_TRUE@am_libtoytoolkit_la_OBJECTS = \ @BUILD_CLIENTS_TRUE@ clients/libtoytoolkit_la-window.lo @BUILD_CLIENTS_TRUE@nodist_libtoytoolkit_la_OBJECTS = protocol/libtoytoolkit_la-text-cursor-position-protocol.lo \ @BUILD_CLIENTS_TRUE@ protocol/libtoytoolkit_la-viewporter-protocol.lo \ @BUILD_CLIENTS_TRUE@ protocol/libtoytoolkit_la-xdg-shell-unstable-v6-protocol.lo \ @BUILD_CLIENTS_TRUE@ protocol/libtoytoolkit_la-ivi-application-protocol.lo \ @BUILD_CLIENTS_TRUE@ protocol/libtoytoolkit_la-pointer-constraints-unstable-v1-protocol.lo \ @BUILD_CLIENTS_TRUE@ protocol/libtoytoolkit_la-relative-pointer-unstable-v1-protocol.lo libtoytoolkit_la_OBJECTS = $(am_libtoytoolkit_la_OBJECTS) \ $(nodist_libtoytoolkit_la_OBJECTS) libtoytoolkit_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(libtoytoolkit_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ @BUILD_CLIENTS_TRUE@am_libtoytoolkit_la_rpath = libweston_@LIBWESTON_MAJOR@_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) libshared.la am_libweston_@LIBWESTON_MAJOR@_la_OBJECTS = \ libweston/libweston_@LIBWESTON_MAJOR@_la-log.lo \ libweston/libweston_@LIBWESTON_MAJOR@_la-compositor.lo \ libweston/libweston_@LIBWESTON_MAJOR@_la-input.lo \ libweston/libweston_@LIBWESTON_MAJOR@_la-data-device.lo \ libweston/libweston_@LIBWESTON_MAJOR@_la-screenshooter.lo \ libweston/libweston_@LIBWESTON_MAJOR@_la-clipboard.lo \ libweston/libweston_@LIBWESTON_MAJOR@_la-zoom.lo \ libweston/libweston_@LIBWESTON_MAJOR@_la-bindings.lo \ libweston/libweston_@LIBWESTON_MAJOR@_la-animation.lo \ libweston/libweston_@LIBWESTON_MAJOR@_la-noop-renderer.lo \ libweston/libweston_@LIBWESTON_MAJOR@_la-pixman-renderer.lo \ libweston/libweston_@LIBWESTON_MAJOR@_la-plugin-registry.lo \ libweston/libweston_@LIBWESTON_MAJOR@_la-timeline.lo \ libweston/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf.lo \ libweston/libweston_@LIBWESTON_MAJOR@_la-pixel-formats.lo \ shared/libweston_@LIBWESTON_MAJOR@_la-matrix.lo nodist_libweston_@LIBWESTON_MAJOR@_la_OBJECTS = protocol/libweston_@LIBWESTON_MAJOR@_la-weston-screenshooter-protocol.lo \ protocol/libweston_@LIBWESTON_MAJOR@_la-text-cursor-position-protocol.lo \ protocol/libweston_@LIBWESTON_MAJOR@_la-text-input-unstable-v1-protocol.lo \ protocol/libweston_@LIBWESTON_MAJOR@_la-input-method-unstable-v1-protocol.lo \ protocol/libweston_@LIBWESTON_MAJOR@_la-presentation-time-protocol.lo \ protocol/libweston_@LIBWESTON_MAJOR@_la-viewporter-protocol.lo \ protocol/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf-unstable-v1-protocol.lo \ protocol/libweston_@LIBWESTON_MAJOR@_la-relative-pointer-unstable-v1-protocol.lo \ protocol/libweston_@LIBWESTON_MAJOR@_la-pointer-constraints-unstable-v1-protocol.lo libweston_@LIBWESTON_MAJOR@_la_OBJECTS = \ $(am_libweston_@LIBWESTON_MAJOR@_la_OBJECTS) \ $(nodist_libweston_@LIBWESTON_MAJOR@_la_OBJECTS) libweston_@LIBWESTON_MAJOR@_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) \ $(libweston_@LIBWESTON_MAJOR@_la_LDFLAGS) $(LDFLAGS) -o $@ libweston_desktop_@LIBWESTON_MAJOR@_la_DEPENDENCIES = \ libweston-@LIBWESTON_MAJOR@.la $(am__DEPENDENCIES_1) am_libweston_desktop_@LIBWESTON_MAJOR@_la_OBJECTS = libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-client.lo \ libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-libweston-desktop.lo \ libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-seat.lo \ libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-surface.lo \ libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-wl-shell.lo \ libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v6.lo \ libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v5.lo \ libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xwayland.lo nodist_libweston_desktop_@LIBWESTON_MAJOR@_la_OBJECTS = protocol/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v6-protocol.lo \ protocol/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v5-protocol.lo libweston_desktop_@LIBWESTON_MAJOR@_la_OBJECTS = \ $(am_libweston_desktop_@LIBWESTON_MAJOR@_la_OBJECTS) \ $(nodist_libweston_desktop_@LIBWESTON_MAJOR@_la_OBJECTS) libweston_desktop_@LIBWESTON_MAJOR@_la_LINK = $(LIBTOOL) $(AM_V_lt) \ --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link \ $(CCLD) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) \ $(CFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_LDFLAGS) \ $(LDFLAGS) -o $@ @ENABLE_JUNIT_XML_TRUE@am__DEPENDENCIES_7 = $(am__DEPENDENCIES_1) libzunitc_la_DEPENDENCIES = libshared.la $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_7) am_libzunitc_la_OBJECTS = \ tools/zunitc/src/libzunitc_la-zuc_base_logger.lo \ tools/zunitc/src/libzunitc_la-zuc_collector.lo \ tools/zunitc/src/libzunitc_la-zuc_junit_reporter.lo \ tools/zunitc/src/libzunitc_la-zunitc_impl.lo libzunitc_la_OBJECTS = $(am_libzunitc_la_OBJECTS) libzunitc_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libzunitc_la_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ libzunitcmain_la_DEPENDENCIES = libzunitc.la libshared.la am_libzunitcmain_la_OBJECTS = \ tools/zunitc/src/libzunitcmain_la-main.lo libzunitcmain_la_OBJECTS = $(am_libzunitcmain_la_OBJECTS) libzunitcmain_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(libzunitcmain_la_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ plugin_registry_test_la_DEPENDENCIES = $(am__DEPENDENCIES_4) am_plugin_registry_test_la_OBJECTS = \ tests/plugin_registry_test_la-plugin-registry-test.lo plugin_registry_test_la_OBJECTS = \ $(am_plugin_registry_test_la_OBJECTS) plugin_registry_test_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(plugin_registry_test_la_CFLAGS) $(CFLAGS) \ $(plugin_registry_test_la_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_RDP_COMPOSITOR_TRUE@rdp_backend_la_DEPENDENCIES = \ @ENABLE_RDP_COMPOSITOR_TRUE@ libshared.la \ @ENABLE_RDP_COMPOSITOR_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_RDP_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_1) \ @ENABLE_RDP_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_1) am__rdp_backend_la_SOURCES_DIST = libweston/compositor-rdp.c \ libweston/compositor-rdp.h shared/helpers.h @ENABLE_RDP_COMPOSITOR_TRUE@am_rdp_backend_la_OBJECTS = libweston/rdp_backend_la-compositor-rdp.lo rdp_backend_la_OBJECTS = $(am_rdp_backend_la_OBJECTS) rdp_backend_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(rdp_backend_la_CFLAGS) $(CFLAGS) $(rdp_backend_la_LDFLAGS) \ $(LDFLAGS) -o $@ @ENABLE_RDP_COMPOSITOR_TRUE@am_rdp_backend_la_rpath = -rpath \ @ENABLE_RDP_COMPOSITOR_TRUE@ $(libweston_moduledir) @ENABLE_SCREEN_SHARING_TRUE@screen_share_la_DEPENDENCIES = \ @ENABLE_SCREEN_SHARING_TRUE@ libshared-cairo.la \ @ENABLE_SCREEN_SHARING_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_SCREEN_SHARING_TRUE@ $(am__DEPENDENCIES_1) \ @ENABLE_SCREEN_SHARING_TRUE@ $(am__DEPENDENCIES_1) am__screen_share_la_SOURCES_DIST = compositor/screen-share.c \ shared/helpers.h @ENABLE_SCREEN_SHARING_TRUE@am_screen_share_la_OBJECTS = compositor/screen_share_la-screen-share.lo @ENABLE_SCREEN_SHARING_TRUE@nodist_screen_share_la_OBJECTS = protocol/screen_share_la-fullscreen-shell-unstable-v1-protocol.lo screen_share_la_OBJECTS = $(am_screen_share_la_OBJECTS) \ $(nodist_screen_share_la_OBJECTS) screen_share_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(screen_share_la_CFLAGS) $(CFLAGS) $(screen_share_la_LDFLAGS) \ $(LDFLAGS) -o $@ @ENABLE_SCREEN_SHARING_TRUE@am_screen_share_la_rpath = -rpath \ @ENABLE_SCREEN_SHARING_TRUE@ $(moduledir) surface_global_test_la_DEPENDENCIES = $(am__DEPENDENCIES_4) am_surface_global_test_la_OBJECTS = \ tests/surface_global_test_la-surface-global-test.lo surface_global_test_la_OBJECTS = $(am_surface_global_test_la_OBJECTS) surface_global_test_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(surface_global_test_la_CFLAGS) $(CFLAGS) \ $(surface_global_test_la_LDFLAGS) $(LDFLAGS) -o $@ surface_screenshot_la_DEPENDENCIES = libshared.la \ $(am__DEPENDENCIES_4) am_surface_screenshot_la_OBJECTS = \ tests/surface_screenshot_la-surface-screenshot.lo surface_screenshot_la_OBJECTS = $(am_surface_screenshot_la_OBJECTS) surface_screenshot_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(surface_screenshot_la_CFLAGS) $(CFLAGS) \ $(surface_screenshot_la_LDFLAGS) $(LDFLAGS) -o $@ surface_test_la_DEPENDENCIES = $(am__DEPENDENCIES_4) am_surface_test_la_OBJECTS = tests/surface_test_la-surface-test.lo surface_test_la_OBJECTS = $(am_surface_test_la_OBJECTS) surface_test_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(surface_test_la_CFLAGS) $(CFLAGS) $(surface_test_la_LDFLAGS) \ $(LDFLAGS) -o $@ @SYSTEMD_NOTIFY_SUPPORT_TRUE@systemd_notify_la_DEPENDENCIES = \ @SYSTEMD_NOTIFY_SUPPORT_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @SYSTEMD_NOTIFY_SUPPORT_TRUE@ $(am__DEPENDENCIES_1) am__systemd_notify_la_SOURCES_DIST = compositor/systemd-notify.c \ shared/helpers.h shared/zalloc.h libweston/compositor.h @SYSTEMD_NOTIFY_SUPPORT_TRUE@am_systemd_notify_la_OBJECTS = compositor/systemd_notify_la-systemd-notify.lo systemd_notify_la_OBJECTS = $(am_systemd_notify_la_OBJECTS) systemd_notify_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(systemd_notify_la_CFLAGS) $(CFLAGS) \ $(systemd_notify_la_LDFLAGS) $(LDFLAGS) -o $@ @SYSTEMD_NOTIFY_SUPPORT_TRUE@am_systemd_notify_la_rpath = -rpath \ @SYSTEMD_NOTIFY_SUPPORT_TRUE@ $(moduledir) @ENABLE_WAYLAND_COMPOSITOR_TRUE@wayland_backend_la_DEPENDENCIES = \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ libshared-cairo.la \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_1) \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_1) \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_1) am__wayland_backend_la_SOURCES_DIST = libweston/compositor-wayland.c \ libweston/compositor-wayland.h shared/helpers.h @ENABLE_WAYLAND_COMPOSITOR_TRUE@am_wayland_backend_la_OBJECTS = libweston/wayland_backend_la-compositor-wayland.lo @ENABLE_WAYLAND_COMPOSITOR_TRUE@nodist_wayland_backend_la_OBJECTS = protocol/wayland_backend_la-fullscreen-shell-unstable-v1-protocol.lo \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ protocol/wayland_backend_la-xdg-shell-unstable-v6-protocol.lo wayland_backend_la_OBJECTS = $(am_wayland_backend_la_OBJECTS) \ $(nodist_wayland_backend_la_OBJECTS) wayland_backend_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(wayland_backend_la_CFLAGS) $(CFLAGS) \ $(wayland_backend_la_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_WAYLAND_COMPOSITOR_TRUE@am_wayland_backend_la_rpath = -rpath \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ $(libweston_moduledir) weston_test_desktop_shell_la_DEPENDENCIES = libshared.la \ libweston-desktop-@LIBWESTON_MAJOR@.la $(am__DEPENDENCIES_1) am_weston_test_desktop_shell_la_OBJECTS = tests/weston_test_desktop_shell_la-weston-test-desktop-shell.lo weston_test_desktop_shell_la_OBJECTS = \ $(am_weston_test_desktop_shell_la_OBJECTS) weston_test_desktop_shell_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_test_desktop_shell_la_CFLAGS) $(CFLAGS) \ $(weston_test_desktop_shell_la_LDFLAGS) $(LDFLAGS) -o $@ weston_test_la_DEPENDENCIES = libshared.la $(am__DEPENDENCIES_4) am_weston_test_la_OBJECTS = tests/weston_test_la-weston-test.lo nodist_weston_test_la_OBJECTS = \ protocol/weston_test_la-weston-test-protocol.lo weston_test_la_OBJECTS = $(am_weston_test_la_OBJECTS) \ $(nodist_weston_test_la_OBJECTS) weston_test_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_test_la_CFLAGS) $(CFLAGS) $(weston_test_la_LDFLAGS) \ $(LDFLAGS) -o $@ @ENABLE_X11_COMPOSITOR_TRUE@x11_backend_la_DEPENDENCIES = \ @ENABLE_X11_COMPOSITOR_TRUE@ libshared-cairo.la \ @ENABLE_X11_COMPOSITOR_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_X11_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_1) \ @ENABLE_X11_COMPOSITOR_TRUE@ $(am__DEPENDENCIES_1) am__x11_backend_la_SOURCES_DIST = libweston/compositor-x11.c \ libweston/compositor-x11.h shared/helpers.h @ENABLE_X11_COMPOSITOR_TRUE@am_x11_backend_la_OBJECTS = libweston/x11_backend_la-compositor-x11.lo x11_backend_la_OBJECTS = $(am_x11_backend_la_OBJECTS) x11_backend_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(x11_backend_la_CFLAGS) $(CFLAGS) $(x11_backend_la_LDFLAGS) \ $(LDFLAGS) -o $@ @ENABLE_X11_COMPOSITOR_TRUE@am_x11_backend_la_rpath = -rpath \ @ENABLE_X11_COMPOSITOR_TRUE@ $(libweston_moduledir) @ENABLE_XWAYLAND_TRUE@xwayland_la_DEPENDENCIES = libshared-cairo.la \ @ENABLE_XWAYLAND_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_XWAYLAND_TRUE@ $(am__DEPENDENCIES_1) am__xwayland_la_SOURCES_DIST = xwayland/xwayland.h \ xwayland/xwayland-internal-interface.h \ xwayland/window-manager.c xwayland/selection.c xwayland/dnd.c \ xwayland/launcher.c xwayland/hash.c xwayland/hash.h \ shared/helpers.h @ENABLE_XWAYLAND_TRUE@am_xwayland_la_OBJECTS = \ @ENABLE_XWAYLAND_TRUE@ xwayland/xwayland_la-window-manager.lo \ @ENABLE_XWAYLAND_TRUE@ xwayland/xwayland_la-selection.lo \ @ENABLE_XWAYLAND_TRUE@ xwayland/xwayland_la-dnd.lo \ @ENABLE_XWAYLAND_TRUE@ xwayland/xwayland_la-launcher.lo \ @ENABLE_XWAYLAND_TRUE@ xwayland/xwayland_la-hash.lo xwayland_la_OBJECTS = $(am_xwayland_la_OBJECTS) xwayland_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(xwayland_la_CFLAGS) \ $(CFLAGS) $(xwayland_la_LDFLAGS) $(LDFLAGS) -o $@ @ENABLE_XWAYLAND_TRUE@am_xwayland_la_rpath = -rpath \ @ENABLE_XWAYLAND_TRUE@ $(libweston_moduledir) @BUILD_WESTON_LAUNCH_TRUE@am__EXEEXT_1 = weston-launch$(EXEEXT) @BUILD_CLIENTS_TRUE@am__EXEEXT_2 = weston-terminal$(EXEEXT) \ @BUILD_CLIENTS_TRUE@ weston-info$(EXEEXT) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@am__EXEEXT_3 = weston-simple-shm$(EXEEXT) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ weston-simple-damage$(EXEEXT) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ weston-simple-touch$(EXEEXT) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ weston-presentation-shm$(EXEEXT) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ weston-multi-resource$(EXEEXT) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_EGL_CLIENTS_TRUE@am__EXEEXT_4 = weston-simple-egl$(EXEEXT) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@am__EXEEXT_5 = weston-simple-dmabuf-drm$(EXEEXT) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@am__EXEEXT_6 = weston-simple-dmabuf-v4l$(EXEEXT) @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@am__EXEEXT_7 = weston-nested$(EXEEXT) \ @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@ weston-nested-client$(EXEEXT) @BUILD_CLIENTS_TRUE@@BUILD_SUBSURFACES_CLIENT_TRUE@am__EXEEXT_8 = weston-subsurfaces$(EXEEXT) @BUILD_CLIENTS_TRUE@@HAVE_PANGO_TRUE@am__EXEEXT_9 = \ @BUILD_CLIENTS_TRUE@@HAVE_PANGO_TRUE@ weston-editor$(EXEEXT) @BUILD_CLIENTS_TRUE@@BUILD_FULL_GL_CLIENTS_TRUE@am__EXEEXT_10 = weston-gears$(EXEEXT) @BUILD_CLIENTS_TRUE@am__EXEEXT_11 = weston-flower$(EXEEXT) \ @BUILD_CLIENTS_TRUE@ weston-image$(EXEEXT) \ @BUILD_CLIENTS_TRUE@ weston-cliptest$(EXEEXT) \ @BUILD_CLIENTS_TRUE@ weston-dnd$(EXEEXT) weston-smoke$(EXEEXT) \ @BUILD_CLIENTS_TRUE@ weston-resizor$(EXEEXT) \ @BUILD_CLIENTS_TRUE@ weston-eventdemo$(EXEEXT) \ @BUILD_CLIENTS_TRUE@ weston-clickdot$(EXEEXT) \ @BUILD_CLIENTS_TRUE@ weston-confine$(EXEEXT) \ @BUILD_CLIENTS_TRUE@ weston-transformed$(EXEEXT) \ @BUILD_CLIENTS_TRUE@ weston-fullscreen$(EXEEXT) \ @BUILD_CLIENTS_TRUE@ weston-stacking$(EXEEXT) \ @BUILD_CLIENTS_TRUE@ weston-calibrator$(EXEEXT) \ @BUILD_CLIENTS_TRUE@ weston-scaler$(EXEEXT) $(am__EXEEXT_3) \ @BUILD_CLIENTS_TRUE@ $(am__EXEEXT_4) $(am__EXEEXT_5) \ @BUILD_CLIENTS_TRUE@ $(am__EXEEXT_6) $(am__EXEEXT_7) \ @BUILD_CLIENTS_TRUE@ $(am__EXEEXT_8) $(am__EXEEXT_9) \ @BUILD_CLIENTS_TRUE@ $(am__EXEEXT_10) @BUILD_CLIENTS_TRUE@@INSTALL_DEMO_CLIENTS_TRUE@am__EXEEXT_12 = $(am__EXEEXT_11) @BUILD_WCAP_TOOLS_TRUE@am__EXEEXT_13 = wcap-decode$(EXEEXT) @BUILD_CLIENTS_TRUE@am__EXEEXT_14 = weston-desktop-shell$(EXEEXT) \ @BUILD_CLIENTS_TRUE@ weston-screenshooter$(EXEEXT) \ @BUILD_CLIENTS_TRUE@ weston-keyboard$(EXEEXT) \ @BUILD_CLIENTS_TRUE@ weston-simple-im$(EXEEXT) @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@am__EXEEXT_15 = weston-ivi-shell-user-interface$(EXEEXT) @BUILD_CLIENTS_TRUE@@INSTALL_DEMO_CLIENTS_FALSE@am__EXEEXT_16 = $(am__EXEEXT_11) am__EXEEXT_17 = internal-screenshot.weston$(EXEEXT) am__EXEEXT_18 = config-parser.test$(EXEEXT) timespec.test$(EXEEXT) \ string.test$(EXEEXT) vertex-clip.test$(EXEEXT) \ zuctest$(EXEEXT) @ENABLE_XWAYLAND_TEST_TRUE@am__EXEEXT_19 = \ @ENABLE_XWAYLAND_TEST_TRUE@ xwayland-test.weston$(EXEEXT) am__EXEEXT_20 = bad_buffer.weston$(EXEEXT) keyboard.weston$(EXEEXT) \ event.weston$(EXEEXT) button.weston$(EXEEXT) \ text.weston$(EXEEXT) presentation.weston$(EXEEXT) \ viewporter.weston$(EXEEXT) roles.weston$(EXEEXT) \ subsurface.weston$(EXEEXT) subsurface-shot.weston$(EXEEXT) \ devices.weston$(EXEEXT) $(am__EXEEXT_19) @ENABLE_IVI_SHELL_TRUE@am__EXEEXT_21 = ivi-shell-app.weston$(EXEEXT) am__EXEEXT_22 = $(am__EXEEXT_21) @ENABLE_IVI_SHELL_TRUE@am__EXEEXT_23 = ivi-layout.ivi$(EXEEXT) @BUILD_SETBACKLIGHT_TRUE@am__EXEEXT_24 = setbacklight$(EXEEXT) PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) $(noinst_PROGRAMS) am_bad_buffer_weston_OBJECTS = \ tests/bad_buffer_weston-bad-buffer-test.$(OBJEXT) bad_buffer_weston_OBJECTS = $(am_bad_buffer_weston_OBJECTS) bad_buffer_weston_DEPENDENCIES = libtest-client.la bad_buffer_weston_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(bad_buffer_weston_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ am_button_weston_OBJECTS = tests/button_weston-button-test.$(OBJEXT) button_weston_OBJECTS = $(am_button_weston_OBJECTS) button_weston_DEPENDENCIES = libtest-client.la button_weston_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(button_weston_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am_config_parser_test_OBJECTS = \ tests/config_parser_test-config-parser-test.$(OBJEXT) config_parser_test_OBJECTS = $(am_config_parser_test_OBJECTS) config_parser_test_DEPENDENCIES = libshared.la $(am__DEPENDENCIES_1) \ libzunitc.la libzunitcmain.la config_parser_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(config_parser_test_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am_devices_weston_OBJECTS = \ tests/devices_weston-devices-test.$(OBJEXT) devices_weston_OBJECTS = $(am_devices_weston_OBJECTS) devices_weston_DEPENDENCIES = libtest-client.la devices_weston_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(devices_weston_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o \ $@ am_event_weston_OBJECTS = tests/event_weston-event-test.$(OBJEXT) event_weston_OBJECTS = $(am_event_weston_OBJECTS) event_weston_DEPENDENCIES = libtest-client.la event_weston_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(event_weston_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am_internal_screenshot_weston_OBJECTS = tests/internal_screenshot_weston-internal-screenshot-test.$(OBJEXT) internal_screenshot_weston_OBJECTS = \ $(am_internal_screenshot_weston_OBJECTS) internal_screenshot_weston_DEPENDENCIES = libtest-client.la internal_screenshot_weston_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(internal_screenshot_weston_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am__ivi_layout_ivi_SOURCES_DIST = tests/ivi_layout-test.c \ tests/ivi-test.h shared/helpers.h @ENABLE_IVI_SHELL_TRUE@am_ivi_layout_ivi_OBJECTS = tests/ivi_layout_ivi-ivi_layout-test.$(OBJEXT) @ENABLE_IVI_SHELL_TRUE@nodist_ivi_layout_ivi_OBJECTS = protocol/ivi_layout_ivi-ivi-application-protocol.$(OBJEXT) ivi_layout_ivi_OBJECTS = $(am_ivi_layout_ivi_OBJECTS) \ $(nodist_ivi_layout_ivi_OBJECTS) @ENABLE_IVI_SHELL_TRUE@ivi_layout_ivi_DEPENDENCIES = \ @ENABLE_IVI_SHELL_TRUE@ libtest-client.la ivi_layout_ivi_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(ivi_layout_ivi_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o \ $@ am__ivi_shell_app_weston_SOURCES_DIST = tests/ivi-shell-app-test.c @ENABLE_IVI_SHELL_TRUE@am_ivi_shell_app_weston_OBJECTS = tests/ivi_shell_app_weston-ivi-shell-app-test.$(OBJEXT) @ENABLE_IVI_SHELL_TRUE@nodist_ivi_shell_app_weston_OBJECTS = protocol/ivi_shell_app_weston-ivi-application-protocol.$(OBJEXT) ivi_shell_app_weston_OBJECTS = $(am_ivi_shell_app_weston_OBJECTS) \ $(nodist_ivi_shell_app_weston_OBJECTS) @ENABLE_IVI_SHELL_TRUE@ivi_shell_app_weston_DEPENDENCIES = \ @ENABLE_IVI_SHELL_TRUE@ libtest-client.la ivi_shell_app_weston_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(ivi_shell_app_weston_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am_keyboard_weston_OBJECTS = \ tests/keyboard_weston-keyboard-test.$(OBJEXT) keyboard_weston_OBJECTS = $(am_keyboard_weston_OBJECTS) keyboard_weston_DEPENDENCIES = libtest-client.la keyboard_weston_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(keyboard_weston_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ am_matrix_test_OBJECTS = tests/matrix_test-matrix-test.$(OBJEXT) \ shared/matrix_test-matrix.$(OBJEXT) matrix_test_OBJECTS = $(am_matrix_test_OBJECTS) matrix_test_DEPENDENCIES = $(am__DEPENDENCIES_1) am_presentation_weston_OBJECTS = \ tests/presentation_weston-presentation-test.$(OBJEXT) nodist_presentation_weston_OBJECTS = protocol/presentation_weston-presentation-time-protocol.$(OBJEXT) presentation_weston_OBJECTS = $(am_presentation_weston_OBJECTS) \ $(nodist_presentation_weston_OBJECTS) presentation_weston_DEPENDENCIES = libtest-client.la presentation_weston_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(presentation_weston_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am_roles_weston_OBJECTS = tests/roles_weston-roles-test.$(OBJEXT) roles_weston_OBJECTS = $(am_roles_weston_OBJECTS) roles_weston_DEPENDENCIES = libtest-client.la roles_weston_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(roles_weston_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am__setbacklight_SOURCES_DIST = tests/setbacklight.c \ libweston/libbacklight.c libweston/libbacklight.h @BUILD_SETBACKLIGHT_TRUE@am_setbacklight_OBJECTS = tests/setbacklight-setbacklight.$(OBJEXT) \ @BUILD_SETBACKLIGHT_TRUE@ libweston/setbacklight-libbacklight.$(OBJEXT) setbacklight_OBJECTS = $(am_setbacklight_OBJECTS) @BUILD_SETBACKLIGHT_TRUE@setbacklight_DEPENDENCIES = \ @BUILD_SETBACKLIGHT_TRUE@ $(am__DEPENDENCIES_1) setbacklight_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(setbacklight_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am_spring_tool_OBJECTS = libweston/spring_tool-spring-tool.$(OBJEXT) \ libweston/spring_tool-animation.$(OBJEXT) \ shared/spring_tool-matrix.$(OBJEXT) spring_tool_OBJECTS = $(am_spring_tool_OBJECTS) spring_tool_DEPENDENCIES = $(am__DEPENDENCIES_1) spring_tool_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(spring_tool_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am_string_test_OBJECTS = tests/string_test-string-test.$(OBJEXT) string_test_OBJECTS = $(am_string_test_OBJECTS) string_test_DEPENDENCIES = libtest-client.la string_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(string_test_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am_subsurface_shot_weston_OBJECTS = \ tests/subsurface_shot_weston-subsurface-shot-test.$(OBJEXT) subsurface_shot_weston_OBJECTS = $(am_subsurface_shot_weston_OBJECTS) subsurface_shot_weston_DEPENDENCIES = libtest-client.la subsurface_shot_weston_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(subsurface_shot_weston_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am_subsurface_weston_OBJECTS = \ tests/subsurface_weston-subsurface-test.$(OBJEXT) subsurface_weston_OBJECTS = $(am_subsurface_weston_OBJECTS) subsurface_weston_DEPENDENCIES = libtest-client.la subsurface_weston_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(subsurface_weston_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ am_text_weston_OBJECTS = tests/text_weston-text-test.$(OBJEXT) nodist_text_weston_OBJECTS = protocol/text_weston-text-input-unstable-v1-protocol.$(OBJEXT) text_weston_OBJECTS = $(am_text_weston_OBJECTS) \ $(nodist_text_weston_OBJECTS) text_weston_DEPENDENCIES = libtest-client.la text_weston_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(text_weston_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am_timespec_test_OBJECTS = \ tests/timespec_test-timespec-test.$(OBJEXT) timespec_test_OBJECTS = $(am_timespec_test_OBJECTS) timespec_test_DEPENDENCIES = libshared.la libzunitc.la \ libzunitcmain.la timespec_test_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(timespec_test_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am_vertex_clip_test_OBJECTS = tests/vertex-clip-test.$(OBJEXT) \ libweston/vertex-clipping.$(OBJEXT) vertex_clip_test_OBJECTS = $(am_vertex_clip_test_OBJECTS) vertex_clip_test_DEPENDENCIES = libtest-runner.la \ $(am__DEPENDENCIES_1) am_viewporter_weston_OBJECTS = \ tests/viewporter_weston-viewporter-test.$(OBJEXT) nodist_viewporter_weston_OBJECTS = \ protocol/viewporter_weston-viewporter-protocol.$(OBJEXT) viewporter_weston_OBJECTS = $(am_viewporter_weston_OBJECTS) \ $(nodist_viewporter_weston_OBJECTS) viewporter_weston_DEPENDENCIES = libtest-client.la viewporter_weston_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(viewporter_weston_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ am__wcap_decode_SOURCES_DIST = wcap/main.c wcap/wcap-decode.c \ wcap/wcap-decode.h @BUILD_WCAP_TOOLS_TRUE@am_wcap_decode_OBJECTS = \ @BUILD_WCAP_TOOLS_TRUE@ wcap/wcap_decode-main.$(OBJEXT) \ @BUILD_WCAP_TOOLS_TRUE@ wcap/wcap_decode-wcap-decode.$(OBJEXT) wcap_decode_OBJECTS = $(am_wcap_decode_OBJECTS) @BUILD_WCAP_TOOLS_TRUE@wcap_decode_DEPENDENCIES = \ @BUILD_WCAP_TOOLS_TRUE@ $(am__DEPENDENCIES_1) wcap_decode_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(wcap_decode_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am_weston_OBJECTS = compositor/weston-main.$(OBJEXT) \ compositor/weston-weston-screenshooter.$(OBJEXT) \ compositor/weston-text-backend.$(OBJEXT) \ compositor/weston-xwayland.$(OBJEXT) weston_OBJECTS = $(am_weston_OBJECTS) weston_DEPENDENCIES = libshared.la libweston-@LIBWESTON_MAJOR@.la \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \ $(am__DEPENDENCIES_1) weston_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(weston_CFLAGS) $(CFLAGS) \ $(weston_LDFLAGS) $(LDFLAGS) -o $@ am__weston_calibrator_SOURCES_DIST = clients/calibrator.c \ shared/helpers.h shared/matrix.c shared/matrix.h @BUILD_CLIENTS_TRUE@am_weston_calibrator_OBJECTS = clients/weston_calibrator-calibrator.$(OBJEXT) \ @BUILD_CLIENTS_TRUE@ shared/weston_calibrator-matrix.$(OBJEXT) weston_calibrator_OBJECTS = $(am_weston_calibrator_OBJECTS) @BUILD_CLIENTS_TRUE@weston_calibrator_DEPENDENCIES = libtoytoolkit.la weston_calibrator_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_calibrator_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ am__weston_clickdot_SOURCES_DIST = clients/clickdot.c shared/helpers.h @BUILD_CLIENTS_TRUE@am_weston_clickdot_OBJECTS = clients/weston_clickdot-clickdot.$(OBJEXT) weston_clickdot_OBJECTS = $(am_weston_clickdot_OBJECTS) @BUILD_CLIENTS_TRUE@weston_clickdot_DEPENDENCIES = libtoytoolkit.la weston_clickdot_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_clickdot_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ am__weston_cliptest_SOURCES_DIST = clients/cliptest.c \ libweston/vertex-clipping.c libweston/vertex-clipping.h @BUILD_CLIENTS_TRUE@am_weston_cliptest_OBJECTS = clients/weston_cliptest-cliptest.$(OBJEXT) \ @BUILD_CLIENTS_TRUE@ libweston/weston_cliptest-vertex-clipping.$(OBJEXT) weston_cliptest_OBJECTS = $(am_weston_cliptest_OBJECTS) @BUILD_CLIENTS_TRUE@weston_cliptest_DEPENDENCIES = libtoytoolkit.la weston_cliptest_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_cliptest_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ am__weston_confine_SOURCES_DIST = clients/confine.c shared/helpers.h @BUILD_CLIENTS_TRUE@am_weston_confine_OBJECTS = \ @BUILD_CLIENTS_TRUE@ clients/weston_confine-confine.$(OBJEXT) weston_confine_OBJECTS = $(am_weston_confine_OBJECTS) @BUILD_CLIENTS_TRUE@weston_confine_DEPENDENCIES = libtoytoolkit.la weston_confine_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_confine_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o \ $@ am__weston_desktop_shell_SOURCES_DIST = clients/desktop-shell.c \ shared/helpers.h @BUILD_CLIENTS_TRUE@am_weston_desktop_shell_OBJECTS = clients/weston_desktop_shell-desktop-shell.$(OBJEXT) @BUILD_CLIENTS_TRUE@nodist_weston_desktop_shell_OBJECTS = protocol/weston_desktop_shell-weston-desktop-shell-protocol.$(OBJEXT) weston_desktop_shell_OBJECTS = $(am_weston_desktop_shell_OBJECTS) \ $(nodist_weston_desktop_shell_OBJECTS) @BUILD_CLIENTS_TRUE@weston_desktop_shell_DEPENDENCIES = \ @BUILD_CLIENTS_TRUE@ libtoytoolkit.la weston_desktop_shell_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_desktop_shell_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am__weston_dnd_SOURCES_DIST = clients/dnd.c shared/helpers.h @BUILD_CLIENTS_TRUE@am_weston_dnd_OBJECTS = \ @BUILD_CLIENTS_TRUE@ clients/weston_dnd-dnd.$(OBJEXT) weston_dnd_OBJECTS = $(am_weston_dnd_OBJECTS) @BUILD_CLIENTS_TRUE@weston_dnd_DEPENDENCIES = libtoytoolkit.la weston_dnd_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(weston_dnd_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am__weston_editor_SOURCES_DIST = clients/editor.c shared/helpers.h @BUILD_CLIENTS_TRUE@@HAVE_PANGO_TRUE@am_weston_editor_OBJECTS = clients/weston_editor-editor.$(OBJEXT) @BUILD_CLIENTS_TRUE@@HAVE_PANGO_TRUE@nodist_weston_editor_OBJECTS = protocol/weston_editor-text-input-unstable-v1-protocol.$(OBJEXT) weston_editor_OBJECTS = $(am_weston_editor_OBJECTS) \ $(nodist_weston_editor_OBJECTS) @BUILD_CLIENTS_TRUE@@HAVE_PANGO_TRUE@weston_editor_DEPENDENCIES = \ @BUILD_CLIENTS_TRUE@@HAVE_PANGO_TRUE@ libtoytoolkit.la \ @BUILD_CLIENTS_TRUE@@HAVE_PANGO_TRUE@ $(am__DEPENDENCIES_1) weston_editor_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(weston_editor_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am__weston_eventdemo_SOURCES_DIST = clients/eventdemo.c \ shared/helpers.h @BUILD_CLIENTS_TRUE@am_weston_eventdemo_OBJECTS = clients/weston_eventdemo-eventdemo.$(OBJEXT) weston_eventdemo_OBJECTS = $(am_weston_eventdemo_OBJECTS) @BUILD_CLIENTS_TRUE@weston_eventdemo_DEPENDENCIES = libtoytoolkit.la weston_eventdemo_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_eventdemo_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ am__weston_flower_SOURCES_DIST = clients/flower.c @BUILD_CLIENTS_TRUE@am_weston_flower_OBJECTS = \ @BUILD_CLIENTS_TRUE@ clients/weston_flower-flower.$(OBJEXT) weston_flower_OBJECTS = $(am_weston_flower_OBJECTS) @BUILD_CLIENTS_TRUE@weston_flower_DEPENDENCIES = libtoytoolkit.la weston_flower_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(weston_flower_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am__weston_fullscreen_SOURCES_DIST = clients/fullscreen.c @BUILD_CLIENTS_TRUE@am_weston_fullscreen_OBJECTS = clients/weston_fullscreen-fullscreen.$(OBJEXT) @BUILD_CLIENTS_TRUE@nodist_weston_fullscreen_OBJECTS = protocol/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.$(OBJEXT) weston_fullscreen_OBJECTS = $(am_weston_fullscreen_OBJECTS) \ $(nodist_weston_fullscreen_OBJECTS) @BUILD_CLIENTS_TRUE@weston_fullscreen_DEPENDENCIES = libtoytoolkit.la weston_fullscreen_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_fullscreen_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ am__weston_gears_SOURCES_DIST = clients/gears.c @BUILD_CLIENTS_TRUE@@BUILD_FULL_GL_CLIENTS_TRUE@am_weston_gears_OBJECTS = clients/weston_gears-gears.$(OBJEXT) weston_gears_OBJECTS = $(am_weston_gears_OBJECTS) @BUILD_CLIENTS_TRUE@@BUILD_FULL_GL_CLIENTS_TRUE@weston_gears_DEPENDENCIES = libtoytoolkit.la weston_gears_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(weston_gears_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am__weston_image_SOURCES_DIST = clients/image.c @BUILD_CLIENTS_TRUE@am_weston_image_OBJECTS = \ @BUILD_CLIENTS_TRUE@ clients/weston_image-image.$(OBJEXT) weston_image_OBJECTS = $(am_weston_image_OBJECTS) @BUILD_CLIENTS_TRUE@weston_image_DEPENDENCIES = libtoytoolkit.la weston_image_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(weston_image_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am__weston_info_SOURCES_DIST = clients/weston-info.c shared/helpers.h @BUILD_CLIENTS_TRUE@am_weston_info_OBJECTS = \ @BUILD_CLIENTS_TRUE@ clients/weston_info-weston-info.$(OBJEXT) @BUILD_CLIENTS_TRUE@nodist_weston_info_OBJECTS = protocol/weston_info-presentation-time-protocol.$(OBJEXT) weston_info_OBJECTS = $(am_weston_info_OBJECTS) \ $(nodist_weston_info_OBJECTS) @BUILD_CLIENTS_TRUE@weston_info_DEPENDENCIES = $(am__DEPENDENCIES_1) \ @BUILD_CLIENTS_TRUE@ libshared.la weston_info_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(weston_info_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am__weston_ivi_shell_user_interface_SOURCES_DIST = \ clients/ivi-shell-user-interface.c shared/helpers.h @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@am_weston_ivi_shell_user_interface_OBJECTS = clients/weston_ivi_shell_user_interface-ivi-shell-user-interface.$(OBJEXT) @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@nodist_weston_ivi_shell_user_interface_OBJECTS = protocol/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.$(OBJEXT) \ @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@ protocol/weston_ivi_shell_user_interface-ivi-application-protocol.$(OBJEXT) weston_ivi_shell_user_interface_OBJECTS = \ $(am_weston_ivi_shell_user_interface_OBJECTS) \ $(nodist_weston_ivi_shell_user_interface_OBJECTS) @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@weston_ivi_shell_user_interface_DEPENDENCIES = \ @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@ libtoytoolkit.la weston_ivi_shell_user_interface_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_ivi_shell_user_interface_CFLAGS) $(CFLAGS) \ $(AM_LDFLAGS) $(LDFLAGS) -o $@ am__weston_keyboard_SOURCES_DIST = clients/keyboard.c @BUILD_CLIENTS_TRUE@am_weston_keyboard_OBJECTS = clients/weston_keyboard-keyboard.$(OBJEXT) @BUILD_CLIENTS_TRUE@nodist_weston_keyboard_OBJECTS = protocol/weston_keyboard-weston-desktop-shell-protocol.$(OBJEXT) \ @BUILD_CLIENTS_TRUE@ protocol/weston_keyboard-input-method-unstable-v1-protocol.$(OBJEXT) weston_keyboard_OBJECTS = $(am_weston_keyboard_OBJECTS) \ $(nodist_weston_keyboard_OBJECTS) @BUILD_CLIENTS_TRUE@weston_keyboard_DEPENDENCIES = libtoytoolkit.la weston_keyboard_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_keyboard_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ am__weston_launch_SOURCES_DIST = libweston/weston-launch.c \ libweston/weston-launch.h @BUILD_WESTON_LAUNCH_TRUE@am_weston_launch_OBJECTS = libweston/weston_launch-weston-launch.$(OBJEXT) weston_launch_OBJECTS = $(am_weston_launch_OBJECTS) @BUILD_WESTON_LAUNCH_TRUE@@ENABLE_DRM_COMPOSITOR_TRUE@am__DEPENDENCIES_8 = $(am__DEPENDENCIES_1) @BUILD_WESTON_LAUNCH_TRUE@weston_launch_DEPENDENCIES = \ @BUILD_WESTON_LAUNCH_TRUE@ $(am__DEPENDENCIES_1) \ @BUILD_WESTON_LAUNCH_TRUE@ $(am__DEPENDENCIES_1) \ @BUILD_WESTON_LAUNCH_TRUE@ $(am__DEPENDENCIES_8) weston_launch_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(weston_launch_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am__weston_multi_resource_SOURCES_DIST = clients/multi-resource.c @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@am_weston_multi_resource_OBJECTS = clients/weston_multi_resource-multi-resource.$(OBJEXT) weston_multi_resource_OBJECTS = $(am_weston_multi_resource_OBJECTS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_multi_resource_DEPENDENCIES = $(am__DEPENDENCIES_1) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ libshared.la \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ $(am__DEPENDENCIES_1) weston_multi_resource_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_multi_resource_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am__weston_nested_SOURCES_DIST = clients/nested.c shared/helpers.h @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@am_weston_nested_OBJECTS = clients/weston_nested-nested.$(OBJEXT) weston_nested_OBJECTS = $(am_weston_nested_OBJECTS) @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@weston_nested_DEPENDENCIES = \ @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@ libtoytoolkit.la \ @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@ $(am__DEPENDENCIES_1) weston_nested_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(weston_nested_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am__weston_nested_client_SOURCES_DIST = clients/nested-client.c @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@am_weston_nested_client_OBJECTS = clients/weston_nested_client-nested-client.$(OBJEXT) weston_nested_client_OBJECTS = $(am_weston_nested_client_OBJECTS) @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@weston_nested_client_DEPENDENCIES = $(am__DEPENDENCIES_1) weston_nested_client_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_nested_client_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am__weston_presentation_shm_SOURCES_DIST = clients/presentation-shm.c \ shared/helpers.h @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@am_weston_presentation_shm_OBJECTS = clients/weston_presentation_shm-presentation-shm.$(OBJEXT) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@nodist_weston_presentation_shm_OBJECTS = protocol/weston_presentation_shm-presentation-time-protocol.$(OBJEXT) weston_presentation_shm_OBJECTS = \ $(am_weston_presentation_shm_OBJECTS) \ $(nodist_weston_presentation_shm_OBJECTS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_presentation_shm_DEPENDENCIES = $(am__DEPENDENCIES_1) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ libshared.la \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ $(am__DEPENDENCIES_1) weston_presentation_shm_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_presentation_shm_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am__weston_resizor_SOURCES_DIST = clients/resizor.c @BUILD_CLIENTS_TRUE@am_weston_resizor_OBJECTS = \ @BUILD_CLIENTS_TRUE@ clients/weston_resizor-resizor.$(OBJEXT) weston_resizor_OBJECTS = $(am_weston_resizor_OBJECTS) @BUILD_CLIENTS_TRUE@weston_resizor_DEPENDENCIES = libtoytoolkit.la weston_resizor_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_resizor_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o \ $@ am__weston_scaler_SOURCES_DIST = clients/scaler.c @BUILD_CLIENTS_TRUE@am_weston_scaler_OBJECTS = \ @BUILD_CLIENTS_TRUE@ clients/weston_scaler-scaler.$(OBJEXT) weston_scaler_OBJECTS = $(am_weston_scaler_OBJECTS) @BUILD_CLIENTS_TRUE@weston_scaler_DEPENDENCIES = libtoytoolkit.la weston_scaler_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(weston_scaler_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am__weston_screenshooter_SOURCES_DIST = clients/screenshot.c @BUILD_CLIENTS_TRUE@am_weston_screenshooter_OBJECTS = clients/weston_screenshooter-screenshot.$(OBJEXT) @BUILD_CLIENTS_TRUE@nodist_weston_screenshooter_OBJECTS = protocol/weston_screenshooter-weston-screenshooter-protocol.$(OBJEXT) weston_screenshooter_OBJECTS = $(am_weston_screenshooter_OBJECTS) \ $(nodist_weston_screenshooter_OBJECTS) @BUILD_CLIENTS_TRUE@weston_screenshooter_DEPENDENCIES = \ @BUILD_CLIENTS_TRUE@ $(am__DEPENDENCIES_1) libshared.la weston_screenshooter_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_screenshooter_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am__weston_simple_damage_SOURCES_DIST = clients/simple-damage.c @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@am_weston_simple_damage_OBJECTS = clients/weston_simple_damage-simple-damage.$(OBJEXT) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@nodist_weston_simple_damage_OBJECTS = protocol/weston_simple_damage-viewporter-protocol.$(OBJEXT) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/weston_simple_damage-xdg-shell-unstable-v6-protocol.$(OBJEXT) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.$(OBJEXT) weston_simple_damage_OBJECTS = $(am_weston_simple_damage_OBJECTS) \ $(nodist_weston_simple_damage_OBJECTS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_simple_damage_DEPENDENCIES = $(am__DEPENDENCIES_1) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ libshared.la weston_simple_damage_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_simple_damage_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am__weston_simple_dmabuf_drm_SOURCES_DIST = \ clients/simple-dmabuf-drm.c clients/simple-dmabuf-drm-data.h @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@am_weston_simple_dmabuf_drm_OBJECTS = clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.$(OBJEXT) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@nodist_weston_simple_dmabuf_drm_OBJECTS = protocol/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.$(OBJEXT) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@ protocol/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.$(OBJEXT) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@ protocol/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.$(OBJEXT) weston_simple_dmabuf_drm_OBJECTS = \ $(am_weston_simple_dmabuf_drm_OBJECTS) \ $(nodist_weston_simple_dmabuf_drm_OBJECTS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@weston_simple_dmabuf_drm_DEPENDENCIES = $(am__DEPENDENCIES_1) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@ $(am__DEPENDENCIES_1) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@ libshared.la weston_simple_dmabuf_drm_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am__weston_simple_dmabuf_v4l_SOURCES_DIST = \ clients/simple-dmabuf-v4l.c @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@am_weston_simple_dmabuf_v4l_OBJECTS = clients/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.$(OBJEXT) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@nodist_weston_simple_dmabuf_v4l_OBJECTS = protocol/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.$(OBJEXT) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@ protocol/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.$(OBJEXT) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@ protocol/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.$(OBJEXT) weston_simple_dmabuf_v4l_OBJECTS = \ $(am_weston_simple_dmabuf_v4l_OBJECTS) \ $(nodist_weston_simple_dmabuf_v4l_OBJECTS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@weston_simple_dmabuf_v4l_DEPENDENCIES = $(am__DEPENDENCIES_1) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@ libshared.la weston_simple_dmabuf_v4l_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am__weston_simple_egl_SOURCES_DIST = clients/simple-egl.c @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_EGL_CLIENTS_TRUE@am_weston_simple_egl_OBJECTS = clients/weston_simple_egl-simple-egl.$(OBJEXT) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_EGL_CLIENTS_TRUE@nodist_weston_simple_egl_OBJECTS = protocol/weston_simple_egl-xdg-shell-unstable-v6-protocol.$(OBJEXT) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_EGL_CLIENTS_TRUE@ protocol/weston_simple_egl-ivi-application-protocol.$(OBJEXT) weston_simple_egl_OBJECTS = $(am_weston_simple_egl_OBJECTS) \ $(nodist_weston_simple_egl_OBJECTS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_EGL_CLIENTS_TRUE@weston_simple_egl_DEPENDENCIES = $(am__DEPENDENCIES_1) weston_simple_egl_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_simple_egl_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ am__weston_simple_im_SOURCES_DIST = clients/simple-im.c @BUILD_CLIENTS_TRUE@am_weston_simple_im_OBJECTS = clients/weston_simple_im-simple-im.$(OBJEXT) @BUILD_CLIENTS_TRUE@nodist_weston_simple_im_OBJECTS = protocol/weston_simple_im-input-method-unstable-v1-protocol.$(OBJEXT) weston_simple_im_OBJECTS = $(am_weston_simple_im_OBJECTS) \ $(nodist_weston_simple_im_OBJECTS) @BUILD_CLIENTS_TRUE@weston_simple_im_DEPENDENCIES = \ @BUILD_CLIENTS_TRUE@ $(am__DEPENDENCIES_1) weston_simple_im_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_simple_im_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ am__weston_simple_shm_SOURCES_DIST = clients/simple-shm.c @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@am_weston_simple_shm_OBJECTS = clients/weston_simple_shm-simple-shm.$(OBJEXT) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@nodist_weston_simple_shm_OBJECTS = protocol/weston_simple_shm-xdg-shell-unstable-v6-protocol.$(OBJEXT) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.$(OBJEXT) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/weston_simple_shm-ivi-application-protocol.$(OBJEXT) weston_simple_shm_OBJECTS = $(am_weston_simple_shm_OBJECTS) \ $(nodist_weston_simple_shm_OBJECTS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_simple_shm_DEPENDENCIES = $(am__DEPENDENCIES_1) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ libshared.la weston_simple_shm_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_simple_shm_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ am__weston_simple_touch_SOURCES_DIST = clients/simple-touch.c \ shared/helpers.h @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@am_weston_simple_touch_OBJECTS = clients/weston_simple_touch-simple-touch.$(OBJEXT) weston_simple_touch_OBJECTS = $(am_weston_simple_touch_OBJECTS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_simple_touch_DEPENDENCIES = $(am__DEPENDENCIES_1) \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ libshared.la weston_simple_touch_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_simple_touch_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am__weston_smoke_SOURCES_DIST = clients/smoke.c @BUILD_CLIENTS_TRUE@am_weston_smoke_OBJECTS = \ @BUILD_CLIENTS_TRUE@ clients/weston_smoke-smoke.$(OBJEXT) weston_smoke_OBJECTS = $(am_weston_smoke_OBJECTS) @BUILD_CLIENTS_TRUE@weston_smoke_DEPENDENCIES = libtoytoolkit.la weston_smoke_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(weston_smoke_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ am__weston_stacking_SOURCES_DIST = clients/stacking.c shared/helpers.h @BUILD_CLIENTS_TRUE@am_weston_stacking_OBJECTS = clients/weston_stacking-stacking.$(OBJEXT) weston_stacking_OBJECTS = $(am_weston_stacking_OBJECTS) @BUILD_CLIENTS_TRUE@weston_stacking_DEPENDENCIES = libtoytoolkit.la weston_stacking_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_stacking_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ am__weston_subsurfaces_SOURCES_DIST = clients/subsurfaces.c \ shared/helpers.h @BUILD_CLIENTS_TRUE@@BUILD_SUBSURFACES_CLIENT_TRUE@am_weston_subsurfaces_OBJECTS = clients/weston_subsurfaces-subsurfaces.$(OBJEXT) weston_subsurfaces_OBJECTS = $(am_weston_subsurfaces_OBJECTS) @BUILD_CLIENTS_TRUE@@BUILD_SUBSURFACES_CLIENT_TRUE@weston_subsurfaces_DEPENDENCIES = libtoytoolkit.la \ @BUILD_CLIENTS_TRUE@@BUILD_SUBSURFACES_CLIENT_TRUE@ $(am__DEPENDENCIES_1) weston_subsurfaces_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_subsurfaces_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am__weston_terminal_SOURCES_DIST = clients/terminal.c shared/helpers.h @BUILD_CLIENTS_TRUE@am_weston_terminal_OBJECTS = clients/weston_terminal-terminal.$(OBJEXT) weston_terminal_OBJECTS = $(am_weston_terminal_OBJECTS) @BUILD_CLIENTS_TRUE@weston_terminal_DEPENDENCIES = libtoytoolkit.la weston_terminal_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_terminal_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \ -o $@ am__weston_transformed_SOURCES_DIST = clients/transformed.c @BUILD_CLIENTS_TRUE@am_weston_transformed_OBJECTS = clients/weston_transformed-transformed.$(OBJEXT) weston_transformed_OBJECTS = $(am_weston_transformed_OBJECTS) @BUILD_CLIENTS_TRUE@weston_transformed_DEPENDENCIES = \ @BUILD_CLIENTS_TRUE@ libtoytoolkit.la weston_transformed_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(weston_transformed_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am__xwayland_test_weston_SOURCES_DIST = tests/xwayland-test.c @ENABLE_XWAYLAND_TEST_TRUE@am_xwayland_test_weston_OBJECTS = tests/xwayland_test_weston-xwayland-test.$(OBJEXT) xwayland_test_weston_OBJECTS = $(am_xwayland_test_weston_OBJECTS) @ENABLE_XWAYLAND_TEST_TRUE@xwayland_test_weston_DEPENDENCIES = \ @ENABLE_XWAYLAND_TEST_TRUE@ libtest-client.la \ @ENABLE_XWAYLAND_TEST_TRUE@ $(am__DEPENDENCIES_1) xwayland_test_weston_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(xwayland_test_weston_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \ $(LDFLAGS) -o $@ am_zuctest_OBJECTS = \ tools/zunitc/test/zuctest-fixtures_test.$(OBJEXT) \ tools/zunitc/test/zuctest-zunitc_test.$(OBJEXT) zuctest_OBJECTS = $(am_zuctest_OBJECTS) zuctest_DEPENDENCIES = libzunitc.la libzunitcmain.la zuctest_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(zuctest_CFLAGS) \ $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_@AM_V@) am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) am__v_P_0 = false am__v_P_1 = : AM_V_GEN = $(am__v_GEN_@AM_V@) am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@) am__v_GEN_0 = @echo " GEN " $@; am__v_GEN_1 = AM_V_at = $(am__v_at_@AM_V@) am__v_at_ = $(am__v_at_@AM_DEFAULT_V@) am__v_at_0 = @ am__v_at_1 = DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/build-aux/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_@AM_V@) am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@) am__v_CC_0 = @echo " CC " $@; am__v_CC_1 = 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_@AM_V@) am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = SOURCES = $(cms_colord_la_SOURCES) $(cms_static_la_SOURCES) \ $(desktop_shell_la_SOURCES) $(nodist_desktop_shell_la_SOURCES) \ $(drm_backend_la_SOURCES) $(fbdev_backend_la_SOURCES) \ $(fullscreen_shell_la_SOURCES) \ $(nodist_fullscreen_shell_la_SOURCES) \ $(gl_renderer_la_SOURCES) $(headless_backend_la_SOURCES) \ $(hmi_controller_la_SOURCES) \ $(nodist_hmi_controller_la_SOURCES) \ $(ivi_layout_internal_test_la_SOURCES) \ $(ivi_layout_test_la_SOURCES) \ $(nodist_ivi_layout_test_la_SOURCES) $(ivi_shell_la_SOURCES) \ $(nodist_ivi_shell_la_SOURCES) $(libsession_helper_la_SOURCES) \ $(libshared_cairo_la_SOURCES) $(libshared_la_SOURCES) \ $(libtest_client_la_SOURCES) \ $(nodist_libtest_client_la_SOURCES) \ $(libtest_runner_la_SOURCES) $(libtoytoolkit_la_SOURCES) \ $(nodist_libtoytoolkit_la_SOURCES) \ $(libweston_@LIBWESTON_MAJOR@_la_SOURCES) \ $(nodist_libweston_@LIBWESTON_MAJOR@_la_SOURCES) \ $(libweston_desktop_@LIBWESTON_MAJOR@_la_SOURCES) \ $(nodist_libweston_desktop_@LIBWESTON_MAJOR@_la_SOURCES) \ $(libzunitc_la_SOURCES) $(libzunitcmain_la_SOURCES) \ $(plugin_registry_test_la_SOURCES) $(rdp_backend_la_SOURCES) \ $(screen_share_la_SOURCES) $(nodist_screen_share_la_SOURCES) \ $(surface_global_test_la_SOURCES) \ $(surface_screenshot_la_SOURCES) $(surface_test_la_SOURCES) \ $(systemd_notify_la_SOURCES) $(wayland_backend_la_SOURCES) \ $(nodist_wayland_backend_la_SOURCES) \ $(weston_test_desktop_shell_la_SOURCES) \ $(weston_test_la_SOURCES) $(nodist_weston_test_la_SOURCES) \ $(x11_backend_la_SOURCES) $(xwayland_la_SOURCES) \ $(bad_buffer_weston_SOURCES) $(button_weston_SOURCES) \ $(config_parser_test_SOURCES) $(devices_weston_SOURCES) \ $(event_weston_SOURCES) $(internal_screenshot_weston_SOURCES) \ $(ivi_layout_ivi_SOURCES) $(nodist_ivi_layout_ivi_SOURCES) \ $(ivi_shell_app_weston_SOURCES) \ $(nodist_ivi_shell_app_weston_SOURCES) \ $(keyboard_weston_SOURCES) $(matrix_test_SOURCES) \ $(presentation_weston_SOURCES) \ $(nodist_presentation_weston_SOURCES) $(roles_weston_SOURCES) \ $(setbacklight_SOURCES) $(spring_tool_SOURCES) \ $(string_test_SOURCES) $(subsurface_shot_weston_SOURCES) \ $(subsurface_weston_SOURCES) $(text_weston_SOURCES) \ $(nodist_text_weston_SOURCES) $(timespec_test_SOURCES) \ $(vertex_clip_test_SOURCES) $(viewporter_weston_SOURCES) \ $(nodist_viewporter_weston_SOURCES) $(wcap_decode_SOURCES) \ $(weston_SOURCES) $(weston_calibrator_SOURCES) \ $(weston_clickdot_SOURCES) $(weston_cliptest_SOURCES) \ $(weston_confine_SOURCES) $(weston_desktop_shell_SOURCES) \ $(nodist_weston_desktop_shell_SOURCES) $(weston_dnd_SOURCES) \ $(weston_editor_SOURCES) $(nodist_weston_editor_SOURCES) \ $(weston_eventdemo_SOURCES) $(weston_flower_SOURCES) \ $(weston_fullscreen_SOURCES) \ $(nodist_weston_fullscreen_SOURCES) $(weston_gears_SOURCES) \ $(weston_image_SOURCES) $(weston_info_SOURCES) \ $(nodist_weston_info_SOURCES) \ $(weston_ivi_shell_user_interface_SOURCES) \ $(nodist_weston_ivi_shell_user_interface_SOURCES) \ $(weston_keyboard_SOURCES) $(nodist_weston_keyboard_SOURCES) \ $(weston_launch_SOURCES) $(weston_multi_resource_SOURCES) \ $(weston_nested_SOURCES) $(weston_nested_client_SOURCES) \ $(weston_presentation_shm_SOURCES) \ $(nodist_weston_presentation_shm_SOURCES) \ $(weston_resizor_SOURCES) $(weston_scaler_SOURCES) \ $(weston_screenshooter_SOURCES) \ $(nodist_weston_screenshooter_SOURCES) \ $(weston_simple_damage_SOURCES) \ $(nodist_weston_simple_damage_SOURCES) \ $(weston_simple_dmabuf_drm_SOURCES) \ $(nodist_weston_simple_dmabuf_drm_SOURCES) \ $(weston_simple_dmabuf_v4l_SOURCES) \ $(nodist_weston_simple_dmabuf_v4l_SOURCES) \ $(weston_simple_egl_SOURCES) \ $(nodist_weston_simple_egl_SOURCES) \ $(weston_simple_im_SOURCES) $(nodist_weston_simple_im_SOURCES) \ $(weston_simple_shm_SOURCES) \ $(nodist_weston_simple_shm_SOURCES) \ $(weston_simple_touch_SOURCES) $(weston_smoke_SOURCES) \ $(weston_stacking_SOURCES) $(weston_subsurfaces_SOURCES) \ $(weston_terminal_SOURCES) $(weston_transformed_SOURCES) \ $(xwayland_test_weston_SOURCES) $(zuctest_SOURCES) DIST_SOURCES = $(am__cms_colord_la_SOURCES_DIST) \ $(am__cms_static_la_SOURCES_DIST) \ $(am__desktop_shell_la_SOURCES_DIST) \ $(am__drm_backend_la_SOURCES_DIST) \ $(am__fbdev_backend_la_SOURCES_DIST) \ $(am__fullscreen_shell_la_SOURCES_DIST) \ $(am__gl_renderer_la_SOURCES_DIST) \ $(am__headless_backend_la_SOURCES_DIST) \ $(am__hmi_controller_la_SOURCES_DIST) \ $(am__ivi_layout_internal_test_la_SOURCES_DIST) \ $(am__ivi_layout_test_la_SOURCES_DIST) \ $(am__ivi_shell_la_SOURCES_DIST) \ $(am__libsession_helper_la_SOURCES_DIST) \ $(libshared_cairo_la_SOURCES) $(libshared_la_SOURCES) \ $(libtest_client_la_SOURCES) $(libtest_runner_la_SOURCES) \ $(am__libtoytoolkit_la_SOURCES_DIST) \ $(libweston_@LIBWESTON_MAJOR@_la_SOURCES) \ $(libweston_desktop_@LIBWESTON_MAJOR@_la_SOURCES) \ $(libzunitc_la_SOURCES) $(libzunitcmain_la_SOURCES) \ $(plugin_registry_test_la_SOURCES) \ $(am__rdp_backend_la_SOURCES_DIST) \ $(am__screen_share_la_SOURCES_DIST) \ $(surface_global_test_la_SOURCES) \ $(surface_screenshot_la_SOURCES) $(surface_test_la_SOURCES) \ $(am__systemd_notify_la_SOURCES_DIST) \ $(am__wayland_backend_la_SOURCES_DIST) \ $(weston_test_desktop_shell_la_SOURCES) \ $(weston_test_la_SOURCES) $(am__x11_backend_la_SOURCES_DIST) \ $(am__xwayland_la_SOURCES_DIST) $(bad_buffer_weston_SOURCES) \ $(button_weston_SOURCES) $(config_parser_test_SOURCES) \ $(devices_weston_SOURCES) $(event_weston_SOURCES) \ $(internal_screenshot_weston_SOURCES) \ $(am__ivi_layout_ivi_SOURCES_DIST) \ $(am__ivi_shell_app_weston_SOURCES_DIST) \ $(keyboard_weston_SOURCES) $(matrix_test_SOURCES) \ $(presentation_weston_SOURCES) $(roles_weston_SOURCES) \ $(am__setbacklight_SOURCES_DIST) $(spring_tool_SOURCES) \ $(string_test_SOURCES) $(subsurface_shot_weston_SOURCES) \ $(subsurface_weston_SOURCES) $(text_weston_SOURCES) \ $(timespec_test_SOURCES) $(vertex_clip_test_SOURCES) \ $(viewporter_weston_SOURCES) $(am__wcap_decode_SOURCES_DIST) \ $(weston_SOURCES) $(am__weston_calibrator_SOURCES_DIST) \ $(am__weston_clickdot_SOURCES_DIST) \ $(am__weston_cliptest_SOURCES_DIST) \ $(am__weston_confine_SOURCES_DIST) \ $(am__weston_desktop_shell_SOURCES_DIST) \ $(am__weston_dnd_SOURCES_DIST) \ $(am__weston_editor_SOURCES_DIST) \ $(am__weston_eventdemo_SOURCES_DIST) \ $(am__weston_flower_SOURCES_DIST) \ $(am__weston_fullscreen_SOURCES_DIST) \ $(am__weston_gears_SOURCES_DIST) \ $(am__weston_image_SOURCES_DIST) \ $(am__weston_info_SOURCES_DIST) \ $(am__weston_ivi_shell_user_interface_SOURCES_DIST) \ $(am__weston_keyboard_SOURCES_DIST) \ $(am__weston_launch_SOURCES_DIST) \ $(am__weston_multi_resource_SOURCES_DIST) \ $(am__weston_nested_SOURCES_DIST) \ $(am__weston_nested_client_SOURCES_DIST) \ $(am__weston_presentation_shm_SOURCES_DIST) \ $(am__weston_resizor_SOURCES_DIST) \ $(am__weston_scaler_SOURCES_DIST) \ $(am__weston_screenshooter_SOURCES_DIST) \ $(am__weston_simple_damage_SOURCES_DIST) \ $(am__weston_simple_dmabuf_drm_SOURCES_DIST) \ $(am__weston_simple_dmabuf_v4l_SOURCES_DIST) \ $(am__weston_simple_egl_SOURCES_DIST) \ $(am__weston_simple_im_SOURCES_DIST) \ $(am__weston_simple_shm_SOURCES_DIST) \ $(am__weston_simple_touch_SOURCES_DIST) \ $(am__weston_smoke_SOURCES_DIST) \ $(am__weston_stacking_SOURCES_DIST) \ $(am__weston_subsurfaces_SOURCES_DIST) \ $(am__weston_terminal_SOURCES_DIST) \ $(am__weston_transformed_SOURCES_DIST) \ $(am__xwayland_test_weston_SOURCES_DIST) $(zuctest_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac man1dir = $(mandir)/man1 man5dir = $(mandir)/man5 man7dir = $(mandir)/man7 NROFF = nroff MANS = $(man_MANS) am__dist_westondata_DATA_DIST = data/wayland.svg data/wayland.png \ data/pattern.png data/terminal.png data/border.png \ data/icon_editor.png data/icon_flower.png \ data/icon_terminal.png data/icon_window.png \ data/sign_close.png data/sign_maximize.png \ data/sign_minimize.png data/background.png data/tiling.png \ data/fullscreen.png data/panel.png data/random.png \ data/sidebyside.png data/home.png data/icon_ivi_clickdot.png \ data/icon_ivi_flower.png data/icon_ivi_simple-egl.png \ data/icon_ivi_simple-shm.png data/icon_ivi_smoke.png DATA = $(dist_wayland_session_DATA) $(dist_westondata_DATA) \ $(pkgconfig_DATA) am__libwestoninclude_HEADERS_DIST = libweston/version.h \ libweston/compositor.h libweston/compositor-drm.h \ libweston/compositor-fbdev.h libweston/compositor-headless.h \ libweston/compositor-rdp.h libweston/compositor-wayland.h \ libweston/compositor-x11.h libweston/windowed-output-api.h \ libweston/plugin-registry.h libweston/timeline-object.h \ shared/matrix.h shared/config-parser.h shared/zalloc.h \ libweston-desktop/libweston-desktop.h xwayland/xwayland-api.h am__westoninclude_HEADERS_DIST = compositor/weston.h \ ivi-shell/ivi-layout-export.h HEADERS = $(libwestoninclude_HEADERS) $(westoninclude_HEADERS) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) \ $(LISP)config.h.in # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is # *not* preserved. am__uniquify_input = $(AWK) '\ BEGIN { nonempty = 0; } \ { items[$$0] = 1; nonempty = 1; } \ END { if (nonempty) { for (i in items) print i; }; } \ ' # Make sure the list of sources is unique. This is necessary because, # e.g., the same source file might be shared among _SOURCES variables # for different programs/libraries. am__define_uniq_tagged_files = \ list='$(am__tagged_files)'; \ unique=`for i in $$list; do \ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \ done | $(am__uniquify_input)` ETAGS = etags CTAGS = ctags CSCOPE = cscope AM_RECURSIVE_TARGETS = cscope check recheck am__tty_colors_dummy = \ mgn= red= grn= lgn= blu= brg= std=; \ am__color_tests=no am__tty_colors = { \ $(am__tty_colors_dummy); \ if test "X$(AM_COLOR_TESTS)" = Xno; then \ am__color_tests=no; \ elif test "X$(AM_COLOR_TESTS)" = Xalways; then \ am__color_tests=yes; \ elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \ am__color_tests=yes; \ fi; \ if test $$am__color_tests = yes; then \ red=''; \ grn=''; \ lgn=''; \ blu=''; \ mgn=''; \ brg=''; \ std=''; \ fi; \ } am__recheck_rx = ^[ ]*:recheck:[ ]* am__global_test_result_rx = ^[ ]*:global-test-result:[ ]* am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]* # A command that, given a newline-separated list of test names on the # standard input, print the name of the tests that are to be re-run # upon "make recheck". am__list_recheck_tests = $(AWK) '{ \ recheck = 1; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ { \ if ((getline line2 < ($$0 ".log")) < 0) \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \ { \ recheck = 0; \ break; \ } \ else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \ { \ break; \ } \ }; \ if (recheck) \ print $$0; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # A command that, given a newline-separated list of test names on the # standard input, create the global log from their .trs and .log files. am__create_global_log = $(AWK) ' \ function fatal(msg) \ { \ print "fatal: making $@: " msg | "cat >&2"; \ exit 1; \ } \ function rst_section(header) \ { \ print header; \ len = length(header); \ for (i = 1; i <= len; i = i + 1) \ printf "="; \ printf "\n\n"; \ } \ { \ copy_in_global_log = 1; \ global_test_result = "RUN"; \ while ((rc = (getline line < ($$0 ".trs"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".trs"); \ if (line ~ /$(am__global_test_result_rx)/) \ { \ sub("$(am__global_test_result_rx)", "", line); \ sub("[ ]*$$", "", line); \ global_test_result = line; \ } \ else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \ copy_in_global_log = 0; \ }; \ if (copy_in_global_log) \ { \ rst_section(global_test_result ": " $$0); \ while ((rc = (getline line < ($$0 ".log"))) != 0) \ { \ if (rc < 0) \ fatal("failed to read from " $$0 ".log"); \ print line; \ }; \ printf "\n"; \ }; \ close ($$0 ".trs"); \ close ($$0 ".log"); \ }' # Restructured Text title. am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; } # Solaris 10 'make', and several other traditional 'make' implementations, # pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it # by disabling -e (using the XSI extension "set +e") if it's set. am__sh_e_setup = case $$- in *e*) set +e;; esac # Default flags passed to test drivers. am__common_driver_flags = \ --color-tests "$$am__color_tests" \ --enable-hard-errors "$$am__enable_hard_errors" \ --expect-failure "$$am__expect_failure" # To be inserted before the command running the test. Creates the # directory for the log if needed. Stores in $dir the directory # containing $f, in $tst the test, in $log the log. Executes the # developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and # passes TESTS_ENVIRONMENT. Set up options for the wrapper that # will run the test scripts (or their associated LOG_COMPILER, if # thy have one). am__check_pre = \ $(am__sh_e_setup); \ $(am__vpath_adj_setup) $(am__vpath_adj) \ $(am__tty_colors); \ srcdir=$(srcdir); export srcdir; \ case "$@" in \ */*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \ *) am__odir=.;; \ esac; \ test "x$$am__odir" = x"." || test -d "$$am__odir" \ || $(MKDIR_P) "$$am__odir" || exit $$?; \ if test -f "./$$f"; then dir=./; \ elif test -f "$$f"; then dir=; \ else dir="$(srcdir)/"; fi; \ tst=$$dir$$f; log='$@'; \ if test -n '$(DISABLE_HARD_ERRORS)'; then \ am__enable_hard_errors=no; \ else \ am__enable_hard_errors=yes; \ fi; \ case " $(XFAIL_TESTS) " in \ *[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \ am__expect_failure=yes;; \ *) \ am__expect_failure=no;; \ esac; \ $(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT) # A shell command to get the names of the tests scripts with any registered # extension removed (i.e., equivalently, the names of the test logs, with # the '.log' extension removed). The result is saved in the shell variable # '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly, # we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)", # since that might cause problem with VPATH rewrites for suffix-less tests. # See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'. am__set_TESTS_bases = \ bases='$(TEST_LOGS)'; \ bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \ bases=`echo $$bases` RECHECK_LOGS = $(TEST_LOGS) TEST_SUITE_LOG = test-suite.log LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS) am__set_b = \ case '$@' in \ */*) \ case '$*' in \ */*) b='$*';; \ *) b=`echo '$@' | sed 's/\.log$$//'`; \ esac;; \ *) \ b='$*';; \ esac am__test_logs1 = $(TESTS:=.log) am__test_logs2 = $(am__test_logs1:@EXEEXT@.log=.log) am__test_logs3 = $(am__test_logs2:.la.log=.log) LA_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver LA_LOG_COMPILE = $(LA_LOG_COMPILER) $(AM_LA_LOG_FLAGS) $(LA_LOG_FLAGS) TEST_LOGS = $(am__test_logs3:.weston.log=.log) WESTON_LOG_DRIVER = $(SHELL) $(top_srcdir)/build-aux/test-driver WESTON_LOG_COMPILE = $(WESTON_LOG_COMPILER) $(AM_WESTON_LOG_FLAGS) \ $(WESTON_LOG_FLAGS) am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.h.in \ $(top_srcdir)/build-aux/compile \ $(top_srcdir)/build-aux/config.guess \ $(top_srcdir)/build-aux/config.sub \ $(top_srcdir)/build-aux/depcomp \ $(top_srcdir)/build-aux/install-sh \ $(top_srcdir)/build-aux/ltmain.sh \ $(top_srcdir)/build-aux/missing \ $(top_srcdir)/build-aux/test-driver \ $(top_srcdir)/compositor/weston.pc.in \ $(top_srcdir)/doc/doxygen/tooldev.doxygen.in \ $(top_srcdir)/doc/doxygen/tools.doxygen.in \ $(top_srcdir)/libweston-desktop/libweston-desktop.pc.in \ $(top_srcdir)/libweston/libweston.pc.in \ $(top_srcdir)/libweston/version.h.in COPYING README \ build-aux/compile build-aux/config.guess build-aux/config.sub \ build-aux/depcomp build-aux/install-sh build-aux/ltmain.sh \ build-aux/missing DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) distdir = $(PACKAGE)-$(VERSION) top_distdir = $(distdir) am__remove_distdir = \ if test -d "$(distdir)"; then \ find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ && rm -rf "$(distdir)" \ || { sleep 5 && rm -rf "$(distdir)"; }; \ else :; fi am__post_remove_distdir = $(am__remove_distdir) GZIP_ENV = --best DIST_ARCHIVES = $(distdir).tar.xz DIST_TARGETS = dist-xz distuninstallcheck_listfiles = find . -type f -print am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' distcleancheck_listfiles = find . -type f -print ACLOCAL = @ACLOCAL@ AMTAR = @AMTAR@ AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ AR = @AR@ AUTOCONF = @AUTOCONF@ AUTOHEADER = @AUTOHEADER@ AUTOMAKE = @AUTOMAKE@ AWK = @AWK@ CAIRO_CFLAGS = @CAIRO_CFLAGS@ CAIRO_EGL_CFLAGS = @CAIRO_EGL_CFLAGS@ CAIRO_EGL_LIBS = @CAIRO_EGL_LIBS@ CAIRO_LIBS = @CAIRO_LIBS@ CC = @CC@ CCDEPMODE = @CCDEPMODE@ CFLAGS = @CFLAGS@ CLIENT_CFLAGS = @CLIENT_CFLAGS@ CLIENT_LIBS = @CLIENT_LIBS@ CLOCK_GETRES_LIBS = @CLOCK_GETRES_LIBS@ CLOCK_GETTIME_LIBS = @CLOCK_GETTIME_LIBS@ COLORD_CFLAGS = @COLORD_CFLAGS@ COLORD_LIBS = @COLORD_LIBS@ COMPOSITOR_CFLAGS = @COMPOSITOR_CFLAGS@ COMPOSITOR_LIBS = @COMPOSITOR_LIBS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ DBUS_CFLAGS = @DBUS_CFLAGS@ DBUS_LIBS = @DBUS_LIBS@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ DLOPEN_LIBS = @DLOPEN_LIBS@ DOXYGEN = @DOXYGEN@ DRM_COMPOSITOR_CFLAGS = @DRM_COMPOSITOR_CFLAGS@ DRM_COMPOSITOR_GBM_CFLAGS = @DRM_COMPOSITOR_GBM_CFLAGS@ DRM_COMPOSITOR_GBM_LIBS = @DRM_COMPOSITOR_GBM_LIBS@ DRM_COMPOSITOR_LIBS = @DRM_COMPOSITOR_LIBS@ DSYMUTIL = @DSYMUTIL@ DUMPBIN = @DUMPBIN@ ECHO_C = @ECHO_C@ ECHO_N = @ECHO_N@ ECHO_T = @ECHO_T@ EGL_CFLAGS = @EGL_CFLAGS@ EGL_LIBS = @EGL_LIBS@ EGL_TESTS_CFLAGS = @EGL_TESTS_CFLAGS@ EGL_TESTS_LIBS = @EGL_TESTS_LIBS@ EGREP = @EGREP@ EXEEXT = @EXEEXT@ FBDEV_COMPOSITOR_CFLAGS = @FBDEV_COMPOSITOR_CFLAGS@ FBDEV_COMPOSITOR_LIBS = @FBDEV_COMPOSITOR_LIBS@ FGREP = @FGREP@ GCC_CFLAGS = @GCC_CFLAGS@ GREP = @GREP@ INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ INSTALL_PROGRAM = @INSTALL_PROGRAM@ INSTALL_SCRIPT = @INSTALL_SCRIPT@ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ JPEG_LIBS = @JPEG_LIBS@ LCMS_CFLAGS = @LCMS_CFLAGS@ LCMS_LIBS = @LCMS_LIBS@ LD = @LD@ LDFLAGS = @LDFLAGS@ LIBDRM_CFLAGS = @LIBDRM_CFLAGS@ LIBDRM_LIBS = @LIBDRM_LIBS@ LIBDRM_PLATFORM_CFLAGS = @LIBDRM_PLATFORM_CFLAGS@ LIBDRM_PLATFORM_LIBS = @LIBDRM_PLATFORM_LIBS@ LIBINPUT_BACKEND_CFLAGS = @LIBINPUT_BACKEND_CFLAGS@ LIBINPUT_BACKEND_LIBS = @LIBINPUT_BACKEND_LIBS@ LIBOBJS = @LIBOBJS@ LIBS = @LIBS@ LIBTOOL = @LIBTOOL@ LIBUNWIND_CFLAGS = @LIBUNWIND_CFLAGS@ LIBUNWIND_LIBS = @LIBUNWIND_LIBS@ LIBVA_CFLAGS = @LIBVA_CFLAGS@ LIBVA_LIBS = @LIBVA_LIBS@ LIBWESTON_MAJOR = @LIBWESTON_MAJOR@ LIBXML2_CFLAGS = @LIBXML2_CFLAGS@ LIBXML2_LIBS = @LIBXML2_LIBS@ LIPO = @LIPO@ LN_S = @LN_S@ LTLIBOBJS = @LTLIBOBJS@ LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ LT_VERSION_INFO = @LT_VERSION_INFO@ MAKEINFO = @MAKEINFO@ MANIFEST_TOOL = @MANIFEST_TOOL@ MKDIR_P = @MKDIR_P@ NM = @NM@ NMEDIT = @NMEDIT@ OBJDUMP = @OBJDUMP@ OBJEXT = @OBJEXT@ OTOOL = @OTOOL@ OTOOL64 = @OTOOL64@ PACKAGE = @PACKAGE@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PAM_LIBS = @PAM_LIBS@ PANGO_CFLAGS = @PANGO_CFLAGS@ PANGO_LIBS = @PANGO_LIBS@ PATH_SEPARATOR = @PATH_SEPARATOR@ PIXMAN_CFLAGS = @PIXMAN_CFLAGS@ PIXMAN_LIBS = @PIXMAN_LIBS@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ PNG_CFLAGS = @PNG_CFLAGS@ PNG_LIBS = @PNG_LIBS@ RANLIB = @RANLIB@ RDP_COMPOSITOR_CFLAGS = @RDP_COMPOSITOR_CFLAGS@ RDP_COMPOSITOR_LIBS = @RDP_COMPOSITOR_LIBS@ SCREEN_SHARE_CFLAGS = @SCREEN_SHARE_CFLAGS@ SCREEN_SHARE_LIBS = @SCREEN_SHARE_LIBS@ SED = @SED@ SERVER_CFLAGS = @SERVER_CFLAGS@ SERVER_LIBS = @SERVER_LIBS@ SETBACKLIGHT_CFLAGS = @SETBACKLIGHT_CFLAGS@ SETBACKLIGHT_LIBS = @SETBACKLIGHT_LIBS@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ SIMPLE_CLIENT_CFLAGS = @SIMPLE_CLIENT_CFLAGS@ SIMPLE_CLIENT_LIBS = @SIMPLE_CLIENT_LIBS@ SIMPLE_DMABUF_DRM_CLIENT_CFLAGS = @SIMPLE_DMABUF_DRM_CLIENT_CFLAGS@ SIMPLE_DMABUF_DRM_CLIENT_LIBS = @SIMPLE_DMABUF_DRM_CLIENT_LIBS@ SIMPLE_DMABUF_V4L_CLIENT_CFLAGS = @SIMPLE_DMABUF_V4L_CLIENT_CFLAGS@ SIMPLE_DMABUF_V4L_CLIENT_LIBS = @SIMPLE_DMABUF_V4L_CLIENT_LIBS@ SIMPLE_EGL_CLIENT_CFLAGS = @SIMPLE_EGL_CLIENT_CFLAGS@ SIMPLE_EGL_CLIENT_LIBS = @SIMPLE_EGL_CLIENT_LIBS@ STRIP = @STRIP@ SYSTEMD_DAEMON_CFLAGS = @SYSTEMD_DAEMON_CFLAGS@ SYSTEMD_DAEMON_LIBS = @SYSTEMD_DAEMON_LIBS@ SYSTEMD_LOGIN_CFLAGS = @SYSTEMD_LOGIN_CFLAGS@ SYSTEMD_LOGIN_LIBS = @SYSTEMD_LOGIN_LIBS@ TEST_CLIENT_CFLAGS = @TEST_CLIENT_CFLAGS@ TEST_CLIENT_LIBS = @TEST_CLIENT_LIBS@ VERSION = @VERSION@ WAYLAND_COMPOSITOR_CFLAGS = @WAYLAND_COMPOSITOR_CFLAGS@ WAYLAND_COMPOSITOR_EGL_CFLAGS = @WAYLAND_COMPOSITOR_EGL_CFLAGS@ WAYLAND_COMPOSITOR_EGL_LIBS = @WAYLAND_COMPOSITOR_EGL_LIBS@ WAYLAND_COMPOSITOR_LIBS = @WAYLAND_COMPOSITOR_LIBS@ WAYLAND_PROTOCOLS_CFLAGS = @WAYLAND_PROTOCOLS_CFLAGS@ WAYLAND_PROTOCOLS_DATADIR = @WAYLAND_PROTOCOLS_DATADIR@ WAYLAND_PROTOCOLS_LIBS = @WAYLAND_PROTOCOLS_LIBS@ WAYLAND_SCANNER_CFLAGS = @WAYLAND_SCANNER_CFLAGS@ WAYLAND_SCANNER_LIBS = @WAYLAND_SCANNER_LIBS@ WCAP_CFLAGS = @WCAP_CFLAGS@ WCAP_LIBS = @WCAP_LIBS@ WEBP_CFLAGS = @WEBP_CFLAGS@ WEBP_LIBS = @WEBP_LIBS@ WESTON_INFO_CFLAGS = @WESTON_INFO_CFLAGS@ WESTON_INFO_LIBS = @WESTON_INFO_LIBS@ WESTON_NATIVE_BACKEND = @WESTON_NATIVE_BACKEND@ WESTON_SHELL_CLIENT = @WESTON_SHELL_CLIENT@ WESTON_VERSION = @WESTON_VERSION@ WESTON_VERSION_MAJOR = @WESTON_VERSION_MAJOR@ WESTON_VERSION_MICRO = @WESTON_VERSION_MICRO@ WESTON_VERSION_MINOR = @WESTON_VERSION_MINOR@ X11_COMPOSITOR_CFLAGS = @X11_COMPOSITOR_CFLAGS@ X11_COMPOSITOR_LIBS = @X11_COMPOSITOR_LIBS@ X11_COMPOSITOR_XKB_CFLAGS = @X11_COMPOSITOR_XKB_CFLAGS@ X11_COMPOSITOR_XKB_LIBS = @X11_COMPOSITOR_XKB_LIBS@ XCB_CFLAGS = @XCB_CFLAGS@ XCB_LIBS = @XCB_LIBS@ XKBCOMMON_COMPOSE_CFLAGS = @XKBCOMMON_COMPOSE_CFLAGS@ XKBCOMMON_COMPOSE_LIBS = @XKBCOMMON_COMPOSE_LIBS@ XSERVER_PATH = @XSERVER_PATH@ XWAYLAND_CFLAGS = @XWAYLAND_CFLAGS@ XWAYLAND_LIBS = @XWAYLAND_LIBS@ XWAYLAND_TEST_CFLAGS = @XWAYLAND_TEST_CFLAGS@ XWAYLAND_TEST_LIBS = @XWAYLAND_TEST_LIBS@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ abs_top_builddir = @abs_top_builddir@ abs_top_srcdir = @abs_top_srcdir@ ac_ct_AR = @ac_ct_AR@ ac_ct_CC = @ac_ct_CC@ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ am__include = @am__include@ am__leading_dot = @am__leading_dot@ am__quote = @am__quote@ am__tar = @am__tar@ am__untar = @am__untar@ bindir = @bindir@ build = @build@ build_alias = @build_alias@ build_cpu = @build_cpu@ build_os = @build_os@ build_vendor = @build_vendor@ builddir = @builddir@ datadir = @datadir@ datarootdir = @datarootdir@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ includedir = @includedir@ infodir = @infodir@ install_sh = @install_sh@ libdir = @libdir@ libexecdir = @libexecdir@ localedir = @localedir@ localstatedir = @localstatedir@ mandir = @mandir@ mkdir_p = @mkdir_p@ oldincludedir = @oldincludedir@ pdfdir = @pdfdir@ prefix = @prefix@ program_transform_name = @program_transform_name@ psdir = @psdir@ runstatedir = @runstatedir@ sbindir = @sbindir@ sharedstatedir = @sharedstatedir@ srcdir = @srcdir@ sysconfdir = @sysconfdir@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ wayland_scanner = @wayland_scanner@ ACLOCAL_AMFLAGS = -I m4 moduledir = $(libdir)/weston module_LTLIBRARIES = $(am__append_1) $(am__append_20) $(am__append_21) \ $(am__append_41) $(am__append_43) $(am__append_45) \ $(am__append_47) libweston_moduledir = $(libdir)/libweston-$(LIBWESTON_MAJOR) libweston_module_LTLIBRARIES = $(am__append_9) $(am__append_10) \ $(am__append_11) $(am__append_16) $(am__append_17) \ $(am__append_18) $(am__append_19) $(am__append_48) # # Shared utilities # # # manual test modules in tests subdirectory # noinst_LTLIBRARIES = libsession-helper.la $(am__append_33) \ libshared.la libshared-cairo.la libzunitc.la libzunitcmain.la \ weston-test.la weston-test-desktop-shell.la $(module_tests) \ libtest-runner.la libtest-client.la surface-screenshot.la BUILT_SOURCES = \ $(nodist_libweston_desktop_@LIBWESTON_MAJOR@_la_SOURCES) \ $(nodist_libweston_@LIBWESTON_MAJOR@_la_SOURCES) \ $(am__append_30) $(am__append_32) $(am__append_34) \ protocol/weston-screenshooter-protocol.c \ protocol/weston-screenshooter-client-protocol.h \ protocol/text-cursor-position-client-protocol.h \ protocol/text-cursor-position-protocol.c \ protocol/text-input-unstable-v1-protocol.c \ protocol/text-input-unstable-v1-client-protocol.h \ protocol/input-method-unstable-v1-protocol.c \ protocol/input-method-unstable-v1-client-protocol.h \ protocol/weston-desktop-shell-client-protocol.h \ protocol/weston-desktop-shell-protocol.c \ protocol/viewporter-client-protocol.h \ protocol/viewporter-protocol.c \ protocol/presentation-time-protocol.c \ protocol/presentation-time-client-protocol.h \ protocol/fullscreen-shell-unstable-v1-protocol.c \ protocol/fullscreen-shell-unstable-v1-client-protocol.h \ protocol/xdg-shell-unstable-v6-protocol.c \ protocol/xdg-shell-unstable-v6-client-protocol.h \ protocol/ivi-hmi-controller-protocol.c \ protocol/ivi-hmi-controller-client-protocol.h \ protocol/ivi-application-protocol.c \ protocol/ivi-application-client-protocol.h $(am__append_42) \ $(am__append_44) $(am__append_46) \ protocol/weston-test-protocol.c \ protocol/weston-test-server-protocol.h \ protocol/weston-test-client-protocol.h \ protocol/text-input-unstable-v1-protocol.c \ protocol/text-input-unstable-v1-client-protocol.h AM_DISTCHECK_CONFIGURE_FLAGS = --disable-setuid-install EXTRA_DIST = weston.ini.in ivi-shell/weston.ini.in \ tests/internal-screenshot.ini \ tests/reference/internal-screenshot-bad-00.png \ tests/reference/internal-screenshot-good-00.png \ tests/reference/subsurface_z_order-00.png \ tests/reference/subsurface_z_order-01.png \ tests/reference/subsurface_z_order-02.png \ tests/reference/subsurface_z_order-03.png \ tests/reference/subsurface_z_order-04.png \ tests/weston-tests-env protocol/weston-desktop-shell.xml \ protocol/weston-screenshooter.xml \ protocol/text-cursor-position.xml protocol/weston-test.xml \ protocol/ivi-application.xml protocol/ivi-hmi-controller.xml \ man/weston.man man/weston-drm.man man/weston.ini.man AM_CFLAGS = $(GCC_CFLAGS) AM_CPPFLAGS = \ -I$(top_builddir)/libweston \ -I$(top_srcdir)/libweston \ -I$(top_builddir)/clients \ -I$(top_builddir)/tests \ -I$(top_srcdir)/shared \ -I$(top_builddir)/protocol \ -DDATADIR='"$(datadir)"' \ -DLIBWESTON_MODULEDIR='"$(libweston_moduledir)"' \ -DLIBEXECDIR='"$(libexecdir)"' \ -DBINDIR='"$(bindir)"' CLEANFILES = weston.ini ivi-shell/weston.ini tests/weston-ivi.ini \ internal-screenshot-00.png $(BUILT_SOURCES) $(man_MANS) lib_LTLIBRARIES = libweston-@LIBWESTON_MAJOR@.la \ libweston-desktop-@LIBWESTON_MAJOR@.la libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS = $(AM_CPPFLAGS) -DIN_WESTON libweston_@LIBWESTON_MAJOR@_la_CFLAGS = $(AM_CFLAGS) \ $(COMPOSITOR_CFLAGS) $(EGL_CFLAGS) $(LIBUNWIND_CFLAGS) $(LIBDRM_CFLAGS) libweston_@LIBWESTON_MAJOR@_la_LIBADD = $(COMPOSITOR_LIBS) $(LIBUNWIND_LIBS) \ $(DLOPEN_LIBS) -lm $(CLOCK_GETTIME_LIBS) \ $(LIBINPUT_BACKEND_LIBS) libshared.la libweston_@LIBWESTON_MAJOR@_la_LDFLAGS = -version-info $(LT_VERSION_INFO) libweston_@LIBWESTON_MAJOR@_la_SOURCES = \ libweston/git-version.h \ libweston/log.c \ libweston/compositor.c \ libweston/compositor.h \ libweston/compositor-drm.h \ libweston/compositor-fbdev.h \ libweston/compositor-headless.h \ libweston/compositor-rdp.h \ libweston/compositor-wayland.h \ libweston/compositor-x11.h \ libweston/input.c \ libweston/data-device.c \ libweston/screenshooter.c \ libweston/clipboard.c \ libweston/zoom.c \ libweston/bindings.c \ libweston/animation.c \ libweston/noop-renderer.c \ libweston/pixman-renderer.c \ libweston/pixman-renderer.h \ libweston/plugin-registry.c \ libweston/plugin-registry.h \ libweston/timeline.c \ libweston/timeline.h \ libweston/timeline-object.h \ libweston/linux-dmabuf.c \ libweston/linux-dmabuf.h \ libweston/pixel-formats.c \ libweston/pixel-formats.h \ shared/helpers.h \ shared/matrix.c \ shared/matrix.h \ shared/timespec-util.h \ shared/zalloc.h \ shared/platform.h \ shared/weston-egl-ext.h libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS = $(AM_CPPFLAGS) -DIN_WESTON libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) libweston_desktop_@LIBWESTON_MAJOR@_la_LIBADD = \ libweston-@LIBWESTON_MAJOR@.la \ $(COMPOSITOR_LIBS) libweston_desktop_@LIBWESTON_MAJOR@_la_LDFLAGS = -version-info $(LT_VERSION_INFO) libweston_desktop_@LIBWESTON_MAJOR@_la_SOURCES = \ libweston-desktop/client.c \ libweston-desktop/internal.h \ libweston-desktop/libweston-desktop.c \ libweston-desktop/libweston-desktop.h \ libweston-desktop/seat.c \ libweston-desktop/surface.c \ libweston-desktop/wl-shell.c \ libweston-desktop/xdg-shell-v6.c \ libweston-desktop/xdg-shell-v5.c \ libweston-desktop/xwayland.c nodist_libweston_desktop_@LIBWESTON_MAJOR@_la_SOURCES = \ protocol/xdg-shell-unstable-v6-protocol.c \ protocol/xdg-shell-unstable-v6-server-protocol.h \ protocol/xdg-shell-unstable-v5-protocol.c \ protocol/xdg-shell-unstable-v5-server-protocol.h @SYSTEMD_NOTIFY_SUPPORT_TRUE@systemd_notify_la_LDFLAGS = -module -avoid-version @SYSTEMD_NOTIFY_SUPPORT_TRUE@systemd_notify_la_LIBADD = libweston-@LIBWESTON_MAJOR@.la $(SYSTEMD_DAEMON_LIBS) @SYSTEMD_NOTIFY_SUPPORT_TRUE@systemd_notify_la_CFLAGS = \ @SYSTEMD_NOTIFY_SUPPORT_TRUE@ $(COMPOSITOR_CFLAGS) \ @SYSTEMD_NOTIFY_SUPPORT_TRUE@ $(SYSTEMD_DAEMON_CFLAGS) \ @SYSTEMD_NOTIFY_SUPPORT_TRUE@ $(PIXMAN_CFLAGS) \ @SYSTEMD_NOTIFY_SUPPORT_TRUE@ $(AM_CFLAGS) @SYSTEMD_NOTIFY_SUPPORT_TRUE@systemd_notify_la_SOURCES = \ @SYSTEMD_NOTIFY_SUPPORT_TRUE@ compositor/systemd-notify.c \ @SYSTEMD_NOTIFY_SUPPORT_TRUE@ shared/helpers.h \ @SYSTEMD_NOTIFY_SUPPORT_TRUE@ shared/zalloc.h \ @SYSTEMD_NOTIFY_SUPPORT_TRUE@ libweston/compositor.h nodist_libweston_@LIBWESTON_MAJOR@_la_SOURCES = \ protocol/weston-screenshooter-protocol.c \ protocol/weston-screenshooter-server-protocol.h \ protocol/text-cursor-position-protocol.c \ protocol/text-cursor-position-server-protocol.h \ protocol/text-input-unstable-v1-protocol.c \ protocol/text-input-unstable-v1-server-protocol.h \ protocol/input-method-unstable-v1-protocol.c \ protocol/input-method-unstable-v1-server-protocol.h \ protocol/presentation-time-protocol.c \ protocol/presentation-time-server-protocol.h \ protocol/viewporter-protocol.c \ protocol/viewporter-server-protocol.h \ protocol/linux-dmabuf-unstable-v1-protocol.c \ protocol/linux-dmabuf-unstable-v1-server-protocol.h \ protocol/relative-pointer-unstable-v1-protocol.c \ protocol/relative-pointer-unstable-v1-server-protocol.h \ protocol/pointer-constraints-unstable-v1-protocol.c \ protocol/pointer-constraints-unstable-v1-server-protocol.h weston_LDFLAGS = -export-dynamic weston_CPPFLAGS = $(AM_CPPFLAGS) -DIN_WESTON \ -DMODULEDIR='"$(moduledir)"' \ -DXSERVER_PATH='"@XSERVER_PATH@"' weston_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) $(LIBUNWIND_CFLAGS) weston_LDADD = libshared.la libweston-@LIBWESTON_MAJOR@.la \ $(COMPOSITOR_LIBS) $(LIBUNWIND_LIBS) \ $(DLOPEN_LIBS) $(LIBINPUT_BACKEND_LIBS) \ $(CLOCK_GETRES_LIBS) \ -lm weston_SOURCES = \ compositor/main.c \ compositor/weston-screenshooter.c \ compositor/text-backend.c \ compositor/xwayland.c libsession_helper_la_SOURCES = libweston/launcher-util.c \ libweston/launcher-util.h libweston/launcher-impl.h \ libweston/weston-launch.h libweston/launcher-weston-launch.c \ libweston/launcher-direct.c $(am__append_3) libsession_helper_la_CFLAGS = $(AM_CFLAGS) $(LIBDRM_CFLAGS) \ $(PIXMAN_CFLAGS) $(COMPOSITOR_CFLAGS) $(am__append_4) libsession_helper_la_LIBADD = libweston-@LIBWESTON_MAJOR@.la \ $(am__append_2) $(am__append_5) @BUILD_WESTON_LAUNCH_TRUE@weston_launch_SOURCES = libweston/weston-launch.c libweston/weston-launch.h @BUILD_WESTON_LAUNCH_TRUE@weston_launch_CPPFLAGS = -DBINDIR='"$(bindir)"' @BUILD_WESTON_LAUNCH_TRUE@weston_launch_CFLAGS = \ @BUILD_WESTON_LAUNCH_TRUE@ $(AM_CFLAGS) \ @BUILD_WESTON_LAUNCH_TRUE@ $(PAM_CFLAGS) \ @BUILD_WESTON_LAUNCH_TRUE@ $(SYSTEMD_LOGIN_CFLAGS) \ @BUILD_WESTON_LAUNCH_TRUE@ $(LIBDRM_CFLAGS) @BUILD_WESTON_LAUNCH_TRUE@weston_launch_LDADD = $(PAM_LIBS) \ @BUILD_WESTON_LAUNCH_TRUE@ $(SYSTEMD_LOGIN_LIBS) \ @BUILD_WESTON_LAUNCH_TRUE@ $(am__append_7) pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = \ libweston/libweston-${LIBWESTON_MAJOR}.pc \ libweston-desktop/libweston-desktop-${LIBWESTON_MAJOR}.pc \ compositor/weston.pc wayland_sessiondir = $(datadir)/wayland-sessions dist_wayland_session_DATA = compositor/weston.desktop libwestonincludedir = $(includedir)/libweston-${LIBWESTON_MAJOR} libwestoninclude_HEADERS = libweston/version.h libweston/compositor.h \ libweston/compositor-drm.h libweston/compositor-fbdev.h \ libweston/compositor-headless.h libweston/compositor-rdp.h \ libweston/compositor-wayland.h libweston/compositor-x11.h \ libweston/windowed-output-api.h libweston/plugin-registry.h \ libweston/timeline-object.h shared/matrix.h \ shared/config-parser.h shared/zalloc.h \ libweston-desktop/libweston-desktop.h $(am__append_49) westonincludedir = $(includedir)/weston westoninclude_HEADERS = compositor/weston.h $(am__append_8) @ENABLE_EGL_TRUE@gl_renderer_la_LDFLAGS = -module -avoid-version @ENABLE_EGL_TRUE@gl_renderer_la_LIBADD = \ @ENABLE_EGL_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_EGL_TRUE@ $(EGL_LIBS) \ @ENABLE_EGL_TRUE@ $(COMPOSITOR_LIBS) @ENABLE_EGL_TRUE@gl_renderer_la_CFLAGS = \ @ENABLE_EGL_TRUE@ $(COMPOSITOR_CFLAGS) \ @ENABLE_EGL_TRUE@ $(EGL_CFLAGS) \ @ENABLE_EGL_TRUE@ $(LIBDRM_CFLAGS) \ @ENABLE_EGL_TRUE@ $(AM_CFLAGS) @ENABLE_EGL_TRUE@gl_renderer_la_SOURCES = \ @ENABLE_EGL_TRUE@ libweston/gl-renderer.h \ @ENABLE_EGL_TRUE@ libweston/gl-renderer.c \ @ENABLE_EGL_TRUE@ libweston/vertex-clipping.c \ @ENABLE_EGL_TRUE@ libweston/vertex-clipping.h \ @ENABLE_EGL_TRUE@ shared/helpers.h @ENABLE_X11_COMPOSITOR_TRUE@x11_backend_la_LDFLAGS = -module -avoid-version @ENABLE_X11_COMPOSITOR_TRUE@x11_backend_la_LIBADD = \ @ENABLE_X11_COMPOSITOR_TRUE@ libshared-cairo.la \ @ENABLE_X11_COMPOSITOR_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_X11_COMPOSITOR_TRUE@ $(X11_COMPOSITOR_LIBS) \ @ENABLE_X11_COMPOSITOR_TRUE@ $(COMPOSITOR_LIBS) @ENABLE_X11_COMPOSITOR_TRUE@x11_backend_la_CFLAGS = \ @ENABLE_X11_COMPOSITOR_TRUE@ $(AM_CFLAGS) \ @ENABLE_X11_COMPOSITOR_TRUE@ $(COMPOSITOR_CFLAGS) \ @ENABLE_X11_COMPOSITOR_TRUE@ $(EGL_CFLAGS) \ @ENABLE_X11_COMPOSITOR_TRUE@ $(PIXMAN_CFLAGS) \ @ENABLE_X11_COMPOSITOR_TRUE@ $(CAIRO_CFLAGS) \ @ENABLE_X11_COMPOSITOR_TRUE@ $(X11_COMPOSITOR_CFLAGS) @ENABLE_X11_COMPOSITOR_TRUE@x11_backend_la_SOURCES = \ @ENABLE_X11_COMPOSITOR_TRUE@ libweston/compositor-x11.c \ @ENABLE_X11_COMPOSITOR_TRUE@ libweston/compositor-x11.h \ @ENABLE_X11_COMPOSITOR_TRUE@ shared/helpers.h INPUT_BACKEND_LIBS = $(LIBINPUT_BACKEND_LIBS) INPUT_BACKEND_SOURCES = \ libweston/libinput-seat.c \ libweston/libinput-seat.h \ libweston/libinput-device.c \ libweston/libinput-device.h \ shared/helpers.h @ENABLE_DRM_COMPOSITOR_TRUE@drm_backend_la_LDFLAGS = -module \ @ENABLE_DRM_COMPOSITOR_TRUE@ -avoid-version $(am__append_14) @ENABLE_DRM_COMPOSITOR_TRUE@drm_backend_la_LIBADD = \ @ENABLE_DRM_COMPOSITOR_TRUE@ libsession-helper.la \ @ENABLE_DRM_COMPOSITOR_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(COMPOSITOR_LIBS) \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(DRM_COMPOSITOR_LIBS) \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(INPUT_BACKEND_LIBS) libshared.la \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(CLOCK_GETTIME_LIBS) \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(am__append_13) @ENABLE_DRM_COMPOSITOR_TRUE@drm_backend_la_CFLAGS = \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(COMPOSITOR_CFLAGS) $(EGL_CFLAGS) \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(DRM_COMPOSITOR_CFLAGS) \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(AM_CFLAGS) $(am__append_15) @ENABLE_DRM_COMPOSITOR_TRUE@drm_backend_la_SOURCES = \ @ENABLE_DRM_COMPOSITOR_TRUE@ libweston/compositor-drm.c \ @ENABLE_DRM_COMPOSITOR_TRUE@ libweston/compositor-drm.h \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(INPUT_BACKEND_SOURCES) \ @ENABLE_DRM_COMPOSITOR_TRUE@ shared/helpers.h \ @ENABLE_DRM_COMPOSITOR_TRUE@ shared/timespec-util.h \ @ENABLE_DRM_COMPOSITOR_TRUE@ libweston/libbacklight.c \ @ENABLE_DRM_COMPOSITOR_TRUE@ libweston/libbacklight.h \ @ENABLE_DRM_COMPOSITOR_TRUE@ $(am__append_12) @ENABLE_WAYLAND_COMPOSITOR_TRUE@wayland_backend_la_LDFLAGS = -module -avoid-version @ENABLE_WAYLAND_COMPOSITOR_TRUE@wayland_backend_la_LIBADD = \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ libshared-cairo.la \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ $(COMPOSITOR_LIBS) \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ $(WAYLAND_COMPOSITOR_EGL_LIBS) \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ $(WAYLAND_COMPOSITOR_LIBS) @ENABLE_WAYLAND_COMPOSITOR_TRUE@wayland_backend_la_CFLAGS = \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ $(COMPOSITOR_CFLAGS) \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ $(EGL_CFLAGS) \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ $(PIXMAN_CFLAGS) \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ $(CAIRO_CFLAGS) \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ $(WAYLAND_COMPOSITOR_CFLAGS) \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ $(AM_CFLAGS) @ENABLE_WAYLAND_COMPOSITOR_TRUE@wayland_backend_la_SOURCES = \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ libweston/compositor-wayland.c \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ libweston/compositor-wayland.h \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ shared/helpers.h @ENABLE_WAYLAND_COMPOSITOR_TRUE@nodist_wayland_backend_la_SOURCES = \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ protocol/fullscreen-shell-unstable-v1-protocol.c \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ protocol/fullscreen-shell-unstable-v1-client-protocol.h \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ protocol/xdg-shell-unstable-v6-protocol.c \ @ENABLE_WAYLAND_COMPOSITOR_TRUE@ protocol/xdg-shell-unstable-v6-client-protocol.h @ENABLE_HEADLESS_COMPOSITOR_TRUE@headless_backend_la_LDFLAGS = -module -avoid-version @ENABLE_HEADLESS_COMPOSITOR_TRUE@headless_backend_la_LIBADD = \ @ENABLE_HEADLESS_COMPOSITOR_TRUE@ libshared.la \ @ENABLE_HEADLESS_COMPOSITOR_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_HEADLESS_COMPOSITOR_TRUE@ $(COMPOSITOR_LIBS) @ENABLE_HEADLESS_COMPOSITOR_TRUE@headless_backend_la_CFLAGS = $(COMPOSITOR_CFLAGS) $(AM_CFLAGS) @ENABLE_HEADLESS_COMPOSITOR_TRUE@headless_backend_la_SOURCES = \ @ENABLE_HEADLESS_COMPOSITOR_TRUE@ libweston/compositor-headless.c \ @ENABLE_HEADLESS_COMPOSITOR_TRUE@ libweston/compositor-headless.h \ @ENABLE_HEADLESS_COMPOSITOR_TRUE@ shared/helpers.h @ENABLE_FBDEV_COMPOSITOR_TRUE@fbdev_backend_la_LDFLAGS = -module -avoid-version @ENABLE_FBDEV_COMPOSITOR_TRUE@fbdev_backend_la_LIBADD = \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ libshared.la \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ libsession-helper.la \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ $(COMPOSITOR_LIBS) \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ $(FBDEV_COMPOSITOR_LIBS) \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ $(INPUT_BACKEND_LIBS) @ENABLE_FBDEV_COMPOSITOR_TRUE@fbdev_backend_la_CFLAGS = \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ $(COMPOSITOR_CFLAGS) \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ $(EGL_CFLAGS) \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ $(FBDEV_COMPOSITOR_CFLAGS) \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ $(PIXMAN_CFLAGS) \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ $(AM_CFLAGS) @ENABLE_FBDEV_COMPOSITOR_TRUE@fbdev_backend_la_SOURCES = \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ libweston/compositor-fbdev.c \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ libweston/compositor-fbdev.h \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ shared/helpers.h \ @ENABLE_FBDEV_COMPOSITOR_TRUE@ $(INPUT_BACKEND_SOURCES) @ENABLE_RDP_COMPOSITOR_TRUE@rdp_backend_la_LDFLAGS = -module -avoid-version @ENABLE_RDP_COMPOSITOR_TRUE@rdp_backend_la_LIBADD = \ @ENABLE_RDP_COMPOSITOR_TRUE@ libshared.la \ @ENABLE_RDP_COMPOSITOR_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_RDP_COMPOSITOR_TRUE@ $(COMPOSITOR_LIBS) \ @ENABLE_RDP_COMPOSITOR_TRUE@ $(RDP_COMPOSITOR_LIBS) @ENABLE_RDP_COMPOSITOR_TRUE@rdp_backend_la_CFLAGS = \ @ENABLE_RDP_COMPOSITOR_TRUE@ $(COMPOSITOR_CFLAGS) \ @ENABLE_RDP_COMPOSITOR_TRUE@ $(RDP_COMPOSITOR_CFLAGS) \ @ENABLE_RDP_COMPOSITOR_TRUE@ $(AM_CFLAGS) @ENABLE_RDP_COMPOSITOR_TRUE@rdp_backend_la_SOURCES = \ @ENABLE_RDP_COMPOSITOR_TRUE@ libweston/compositor-rdp.c \ @ENABLE_RDP_COMPOSITOR_TRUE@ libweston/compositor-rdp.h \ @ENABLE_RDP_COMPOSITOR_TRUE@ shared/helpers.h @HAVE_LCMS_TRUE@cms_static_la_LDFLAGS = -module -avoid-version @HAVE_LCMS_TRUE@cms_static_la_LIBADD = \ @HAVE_LCMS_TRUE@ libshared.la \ @HAVE_LCMS_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @HAVE_LCMS_TRUE@ $(LCMS_LIBS) \ @HAVE_LCMS_TRUE@ $(COMPOSITOR_LIBS) @HAVE_LCMS_TRUE@cms_static_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) $(LCMS_CFLAGS) @HAVE_LCMS_TRUE@cms_static_la_SOURCES = \ @HAVE_LCMS_TRUE@ compositor/cms-static.c \ @HAVE_LCMS_TRUE@ compositor/cms-helper.c \ @HAVE_LCMS_TRUE@ compositor/cms-helper.h \ @HAVE_LCMS_TRUE@ shared/helpers.h @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@cms_colord_la_LDFLAGS = -module -avoid-version @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@cms_colord_la_LIBADD = \ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@ libshared.la \ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@ $(COLORD_LIBS) \ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@ $(LCMS_LIBS) \ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@ $(COMPOSITOR_LIBS) @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@cms_colord_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) $(COLORD_CFLAGS) @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@cms_colord_la_SOURCES = \ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@ compositor/cms-colord.c \ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@ compositor/cms-helper.c \ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@ compositor/cms-helper.h \ @ENABLE_COLORD_TRUE@@HAVE_LCMS_TRUE@ shared/helpers.h spring_tool_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) spring_tool_LDADD = $(COMPOSITOR_LIBS) -lm spring_tool_SOURCES = \ libweston/spring-tool.c \ libweston/animation.c \ shared/matrix.c \ shared/matrix.h \ libweston/compositor.h @BUILD_CLIENTS_TRUE@demo_clients = weston-flower weston-image \ @BUILD_CLIENTS_TRUE@ weston-cliptest weston-dnd weston-smoke \ @BUILD_CLIENTS_TRUE@ weston-resizor weston-eventdemo \ @BUILD_CLIENTS_TRUE@ weston-clickdot weston-confine \ @BUILD_CLIENTS_TRUE@ weston-transformed weston-fullscreen \ @BUILD_CLIENTS_TRUE@ weston-stacking weston-calibrator \ @BUILD_CLIENTS_TRUE@ weston-scaler $(am__append_27) \ @BUILD_CLIENTS_TRUE@ $(am__append_28) $(am__append_29) \ @BUILD_CLIENTS_TRUE@ $(am__append_31) $(am__append_35) \ @BUILD_CLIENTS_TRUE@ $(am__append_36) $(am__append_37) \ @BUILD_CLIENTS_TRUE@ $(am__append_38) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_simple_shm_SOURCES = clients/simple-shm.c @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@nodist_weston_simple_shm_SOURCES = \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/xdg-shell-unstable-v6-protocol.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/xdg-shell-unstable-v6-client-protocol.h \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/fullscreen-shell-unstable-v1-protocol.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/fullscreen-shell-unstable-v1-client-protocol.h \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/ivi-application-protocol.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/ivi-application-client-protocol.h @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_simple_shm_CFLAGS = $(AM_CFLAGS) $(SIMPLE_CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_simple_shm_LDADD = $(SIMPLE_CLIENT_LIBS) libshared.la @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_simple_damage_SOURCES = clients/simple-damage.c @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@nodist_weston_simple_damage_SOURCES = \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/viewporter-protocol.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/viewporter-client-protocol.h \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/xdg-shell-unstable-v6-protocol.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/xdg-shell-unstable-v6-client-protocol.h \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/fullscreen-shell-unstable-v1-protocol.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/fullscreen-shell-unstable-v1-client-protocol.h @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_simple_damage_CFLAGS = $(AM_CFLAGS) $(SIMPLE_CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_simple_damage_LDADD = $(SIMPLE_CLIENT_LIBS) libshared.la @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_simple_touch_SOURCES = \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ clients/simple-touch.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ shared/helpers.h @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_simple_touch_CFLAGS = $(AM_CFLAGS) $(SIMPLE_CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_simple_touch_LDADD = $(SIMPLE_CLIENT_LIBS) libshared.la @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_presentation_shm_SOURCES = \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ clients/presentation-shm.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ shared/helpers.h @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@nodist_weston_presentation_shm_SOURCES = \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/presentation-time-protocol.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@ protocol/presentation-time-client-protocol.h @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_presentation_shm_CFLAGS = $(AM_CFLAGS) $(SIMPLE_CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_presentation_shm_LDADD = $(SIMPLE_CLIENT_LIBS) libshared.la -lm $(CLOCK_GETTIME_LIBS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_multi_resource_SOURCES = clients/multi-resource.c @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_multi_resource_CFLAGS = $(AM_CFLAGS) $(SIMPLE_CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_CLIENTS_TRUE@weston_multi_resource_LDADD = $(SIMPLE_CLIENT_LIBS) libshared.la $(CLOCK_GETTIME_LIBS) -lm @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_EGL_CLIENTS_TRUE@weston_simple_egl_SOURCES = clients/simple-egl.c @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_EGL_CLIENTS_TRUE@nodist_weston_simple_egl_SOURCES = \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_EGL_CLIENTS_TRUE@ protocol/xdg-shell-unstable-v6-protocol.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_EGL_CLIENTS_TRUE@ protocol/xdg-shell-unstable-v6-client-protocol.h \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_EGL_CLIENTS_TRUE@ protocol/ivi-application-protocol.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_EGL_CLIENTS_TRUE@ protocol/ivi-application-client-protocol.h @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_EGL_CLIENTS_TRUE@weston_simple_egl_CFLAGS = $(AM_CFLAGS) $(SIMPLE_EGL_CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_EGL_CLIENTS_TRUE@weston_simple_egl_LDADD = $(SIMPLE_EGL_CLIENT_LIBS) -lm @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@weston_simple_dmabuf_drm_SOURCES = \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@ clients/simple-dmabuf-drm.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@ clients/simple-dmabuf-drm-data.h @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@nodist_weston_simple_dmabuf_drm_SOURCES = \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@ protocol/xdg-shell-unstable-v6-protocol.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@ protocol/xdg-shell-unstable-v6-client-protocol.h \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@ protocol/fullscreen-shell-unstable-v1-protocol.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@ protocol/fullscreen-shell-unstable-v1-client-protocol.h \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@ protocol/linux-dmabuf-unstable-v1-protocol.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@ protocol/linux-dmabuf-unstable-v1-client-protocol.h @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@weston_simple_dmabuf_drm_CFLAGS = $(AM_CFLAGS) $(SIMPLE_DMABUF_DRM_CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_DRM_CLIENT_TRUE@weston_simple_dmabuf_drm_LDADD = $(SIMPLE_DMABUF_DRM_CLIENT_LIBS) $(LIBDRM_PLATFORM_LIBS) libshared.la @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@weston_simple_dmabuf_v4l_SOURCES = clients/simple-dmabuf-v4l.c @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@nodist_weston_simple_dmabuf_v4l_SOURCES = \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@ protocol/xdg-shell-unstable-v6-protocol.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@ protocol/xdg-shell-unstable-v6-client-protocol.h \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@ protocol/fullscreen-shell-unstable-v1-protocol.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@ protocol/fullscreen-shell-unstable-v1-client-protocol.h \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@ protocol/linux-dmabuf-unstable-v1-protocol.c \ @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@ protocol/linux-dmabuf-unstable-v1-client-protocol.h @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@weston_simple_dmabuf_v4l_CFLAGS = $(AM_CFLAGS) $(SIMPLE_DMABUF_V4L_CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@@BUILD_SIMPLE_DMABUF_V4L_CLIENT_TRUE@weston_simple_dmabuf_v4l_LDADD = $(SIMPLE_DMABUF_V4L_CLIENT_LIBS) libshared.la @BUILD_CLIENTS_TRUE@libtoytoolkit_la_SOURCES = \ @BUILD_CLIENTS_TRUE@ clients/window.c \ @BUILD_CLIENTS_TRUE@ clients/window.h \ @BUILD_CLIENTS_TRUE@ shared/helpers.h @BUILD_CLIENTS_TRUE@nodist_libtoytoolkit_la_SOURCES = \ @BUILD_CLIENTS_TRUE@ protocol/text-cursor-position-protocol.c \ @BUILD_CLIENTS_TRUE@ protocol/text-cursor-position-client-protocol.h \ @BUILD_CLIENTS_TRUE@ protocol/viewporter-protocol.c \ @BUILD_CLIENTS_TRUE@ protocol/viewporter-client-protocol.h \ @BUILD_CLIENTS_TRUE@ protocol/xdg-shell-unstable-v6-protocol.c \ @BUILD_CLIENTS_TRUE@ protocol/xdg-shell-unstable-v6-client-protocol.h \ @BUILD_CLIENTS_TRUE@ protocol/ivi-application-protocol.c \ @BUILD_CLIENTS_TRUE@ protocol/ivi-application-client-protocol.h \ @BUILD_CLIENTS_TRUE@ protocol/pointer-constraints-unstable-v1-protocol.c \ @BUILD_CLIENTS_TRUE@ protocol/pointer-constraints-unstable-v1-client-protocol.h \ @BUILD_CLIENTS_TRUE@ protocol/relative-pointer-unstable-v1-protocol.c \ @BUILD_CLIENTS_TRUE@ protocol/relative-pointer-unstable-v1-client-protocol.h @BUILD_CLIENTS_TRUE@libtoytoolkit_la_LIBADD = \ @BUILD_CLIENTS_TRUE@ $(CLIENT_LIBS) \ @BUILD_CLIENTS_TRUE@ $(CAIRO_EGL_LIBS) \ @BUILD_CLIENTS_TRUE@ libshared-cairo.la $(CLOCK_GETTIME_LIBS) -lm @BUILD_CLIENTS_TRUE@libtoytoolkit_la_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) $(CAIRO_EGL_CFLAGS) @BUILD_CLIENTS_TRUE@weston_flower_SOURCES = clients/flower.c @BUILD_CLIENTS_TRUE@weston_flower_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@weston_flower_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_screenshooter_SOURCES = \ @BUILD_CLIENTS_TRUE@ clients/screenshot.c @BUILD_CLIENTS_TRUE@nodist_weston_screenshooter_SOURCES = \ @BUILD_CLIENTS_TRUE@ protocol/weston-screenshooter-protocol.c \ @BUILD_CLIENTS_TRUE@ protocol/weston-screenshooter-client-protocol.h @BUILD_CLIENTS_TRUE@weston_screenshooter_LDADD = $(CLIENT_LIBS) libshared.la @BUILD_CLIENTS_TRUE@weston_screenshooter_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_terminal_SOURCES = \ @BUILD_CLIENTS_TRUE@ clients/terminal.c \ @BUILD_CLIENTS_TRUE@ shared/helpers.h @BUILD_CLIENTS_TRUE@weston_terminal_LDADD = libtoytoolkit.la -lutil @BUILD_CLIENTS_TRUE@weston_terminal_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_image_SOURCES = clients/image.c @BUILD_CLIENTS_TRUE@weston_image_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@weston_image_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_cliptest_SOURCES = \ @BUILD_CLIENTS_TRUE@ clients/cliptest.c \ @BUILD_CLIENTS_TRUE@ libweston/vertex-clipping.c \ @BUILD_CLIENTS_TRUE@ libweston/vertex-clipping.h @BUILD_CLIENTS_TRUE@weston_cliptest_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_cliptest_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@weston_dnd_SOURCES = \ @BUILD_CLIENTS_TRUE@ clients/dnd.c \ @BUILD_CLIENTS_TRUE@ shared/helpers.h @BUILD_CLIENTS_TRUE@weston_dnd_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@weston_dnd_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_smoke_SOURCES = clients/smoke.c @BUILD_CLIENTS_TRUE@weston_smoke_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@weston_smoke_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_resizor_SOURCES = clients/resizor.c @BUILD_CLIENTS_TRUE@weston_resizor_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@weston_resizor_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_scaler_SOURCES = clients/scaler.c @BUILD_CLIENTS_TRUE@weston_scaler_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@weston_scaler_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@weston_nested_SOURCES = \ @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@ clients/nested.c \ @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@ shared/helpers.h @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@weston_nested_LDADD = libtoytoolkit.la $(SERVER_LIBS) @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@weston_nested_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@weston_nested_client_SOURCES = clients/nested-client.c @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@weston_nested_client_LDADD = $(SIMPLE_EGL_CLIENT_LIBS) -lm @BUILD_CLIENTS_TRUE@@HAVE_CAIRO_GLESV2_TRUE@weston_nested_client_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_eventdemo_SOURCES = \ @BUILD_CLIENTS_TRUE@ clients/eventdemo.c \ @BUILD_CLIENTS_TRUE@ shared/helpers.h @BUILD_CLIENTS_TRUE@weston_eventdemo_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@weston_eventdemo_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_clickdot_SOURCES = \ @BUILD_CLIENTS_TRUE@ clients/clickdot.c \ @BUILD_CLIENTS_TRUE@ shared/helpers.h @BUILD_CLIENTS_TRUE@weston_clickdot_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@weston_clickdot_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_confine_SOURCES = \ @BUILD_CLIENTS_TRUE@ clients/confine.c \ @BUILD_CLIENTS_TRUE@ shared/helpers.h @BUILD_CLIENTS_TRUE@weston_confine_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@weston_confine_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_transformed_SOURCES = clients/transformed.c @BUILD_CLIENTS_TRUE@weston_transformed_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@weston_transformed_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_fullscreen_SOURCES = clients/fullscreen.c @BUILD_CLIENTS_TRUE@nodist_weston_fullscreen_SOURCES = \ @BUILD_CLIENTS_TRUE@ protocol/fullscreen-shell-unstable-v1-protocol.c \ @BUILD_CLIENTS_TRUE@ protocol/fullscreen-shell-unstable-v1-client-protocol.h @BUILD_CLIENTS_TRUE@weston_fullscreen_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@weston_fullscreen_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_stacking_SOURCES = \ @BUILD_CLIENTS_TRUE@ clients/stacking.c \ @BUILD_CLIENTS_TRUE@ shared/helpers.h @BUILD_CLIENTS_TRUE@weston_stacking_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@weston_stacking_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_calibrator_SOURCES = \ @BUILD_CLIENTS_TRUE@ clients/calibrator.c \ @BUILD_CLIENTS_TRUE@ shared/helpers.h \ @BUILD_CLIENTS_TRUE@ shared/matrix.c \ @BUILD_CLIENTS_TRUE@ shared/matrix.h @BUILD_CLIENTS_TRUE@weston_calibrator_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@weston_calibrator_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@@BUILD_SUBSURFACES_CLIENT_TRUE@weston_subsurfaces_SOURCES = \ @BUILD_CLIENTS_TRUE@@BUILD_SUBSURFACES_CLIENT_TRUE@ clients/subsurfaces.c \ @BUILD_CLIENTS_TRUE@@BUILD_SUBSURFACES_CLIENT_TRUE@ shared/helpers.h @BUILD_CLIENTS_TRUE@@BUILD_SUBSURFACES_CLIENT_TRUE@weston_subsurfaces_CFLAGS = \ @BUILD_CLIENTS_TRUE@@BUILD_SUBSURFACES_CLIENT_TRUE@ $(AM_CFLAGS) \ @BUILD_CLIENTS_TRUE@@BUILD_SUBSURFACES_CLIENT_TRUE@ $(SIMPLE_EGL_CLIENT_CFLAGS) \ @BUILD_CLIENTS_TRUE@@BUILD_SUBSURFACES_CLIENT_TRUE@ $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@@BUILD_SUBSURFACES_CLIENT_TRUE@weston_subsurfaces_LDADD = libtoytoolkit.la $(SIMPLE_EGL_CLIENT_LIBS) -lm @BUILD_CLIENTS_TRUE@@HAVE_PANGO_TRUE@weston_editor_SOURCES = \ @BUILD_CLIENTS_TRUE@@HAVE_PANGO_TRUE@ clients/editor.c \ @BUILD_CLIENTS_TRUE@@HAVE_PANGO_TRUE@ shared/helpers.h @BUILD_CLIENTS_TRUE@@HAVE_PANGO_TRUE@nodist_weston_editor_SOURCES = \ @BUILD_CLIENTS_TRUE@@HAVE_PANGO_TRUE@ protocol/text-input-unstable-v1-protocol.c \ @BUILD_CLIENTS_TRUE@@HAVE_PANGO_TRUE@ protocol/text-input-unstable-v1-client-protocol.h @BUILD_CLIENTS_TRUE@@HAVE_PANGO_TRUE@weston_editor_LDADD = libtoytoolkit.la $(PANGO_LIBS) @BUILD_CLIENTS_TRUE@@HAVE_PANGO_TRUE@weston_editor_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) $(PANGO_CFLAGS) @BUILD_CLIENTS_TRUE@weston_keyboard_SOURCES = clients/keyboard.c @BUILD_CLIENTS_TRUE@nodist_weston_keyboard_SOURCES = \ @BUILD_CLIENTS_TRUE@ protocol/weston-desktop-shell-client-protocol.h \ @BUILD_CLIENTS_TRUE@ protocol/weston-desktop-shell-protocol.c \ @BUILD_CLIENTS_TRUE@ protocol/input-method-unstable-v1-protocol.c \ @BUILD_CLIENTS_TRUE@ protocol/input-method-unstable-v1-client-protocol.h @BUILD_CLIENTS_TRUE@weston_keyboard_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@weston_keyboard_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_simple_im_SOURCES = clients/simple-im.c @BUILD_CLIENTS_TRUE@nodist_weston_simple_im_SOURCES = \ @BUILD_CLIENTS_TRUE@ protocol/input-method-unstable-v1-protocol.c \ @BUILD_CLIENTS_TRUE@ protocol/input-method-unstable-v1-client-protocol.h @BUILD_CLIENTS_TRUE@weston_simple_im_LDADD = $(CLIENT_LIBS) @BUILD_CLIENTS_TRUE@weston_simple_im_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_info_SOURCES = \ @BUILD_CLIENTS_TRUE@ clients/weston-info.c \ @BUILD_CLIENTS_TRUE@ shared/helpers.h @BUILD_CLIENTS_TRUE@nodist_weston_info_SOURCES = \ @BUILD_CLIENTS_TRUE@ protocol/presentation-time-protocol.c \ @BUILD_CLIENTS_TRUE@ protocol/presentation-time-client-protocol.h @BUILD_CLIENTS_TRUE@weston_info_LDADD = $(WESTON_INFO_LIBS) libshared.la @BUILD_CLIENTS_TRUE@weston_info_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@weston_desktop_shell_SOURCES = \ @BUILD_CLIENTS_TRUE@ clients/desktop-shell.c \ @BUILD_CLIENTS_TRUE@ shared/helpers.h @BUILD_CLIENTS_TRUE@nodist_weston_desktop_shell_SOURCES = \ @BUILD_CLIENTS_TRUE@ protocol/weston-desktop-shell-client-protocol.h \ @BUILD_CLIENTS_TRUE@ protocol/weston-desktop-shell-protocol.c @BUILD_CLIENTS_TRUE@weston_desktop_shell_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@weston_desktop_shell_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@weston_ivi_shell_user_interface_SOURCES = \ @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@ clients/ivi-shell-user-interface.c \ @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@ shared/helpers.h @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@nodist_weston_ivi_shell_user_interface_SOURCES = \ @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@ protocol/ivi-hmi-controller-client-protocol.h \ @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@ protocol/ivi-hmi-controller-protocol.c \ @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@ protocol/ivi-application-client-protocol.h \ @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@ protocol/ivi-application-protocol.c @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@weston_ivi_shell_user_interface_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@@ENABLE_IVI_SHELL_TRUE@weston_ivi_shell_user_interface_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) @BUILD_CLIENTS_TRUE@@BUILD_FULL_GL_CLIENTS_TRUE@weston_gears_SOURCES = clients/gears.c @BUILD_CLIENTS_TRUE@@BUILD_FULL_GL_CLIENTS_TRUE@weston_gears_LDADD = libtoytoolkit.la @BUILD_CLIENTS_TRUE@@BUILD_FULL_GL_CLIENTS_TRUE@weston_gears_CFLAGS = $(AM_CFLAGS) $(CLIENT_CFLAGS) westondatadir = $(datadir)/weston dist_westondata_DATA = data/wayland.svg data/wayland.png \ data/pattern.png data/terminal.png data/border.png \ data/icon_editor.png data/icon_flower.png \ data/icon_terminal.png data/icon_window.png \ data/sign_close.png data/sign_maximize.png \ data/sign_minimize.png $(am__append_39) @BUILD_WCAP_TOOLS_TRUE@wcap_decode_SOURCES = \ @BUILD_WCAP_TOOLS_TRUE@ wcap/main.c \ @BUILD_WCAP_TOOLS_TRUE@ wcap/wcap-decode.c \ @BUILD_WCAP_TOOLS_TRUE@ wcap/wcap-decode.h @BUILD_WCAP_TOOLS_TRUE@wcap_decode_CFLAGS = $(AM_CFLAGS) $(WCAP_CFLAGS) @BUILD_WCAP_TOOLS_TRUE@wcap_decode_LDADD = $(WCAP_LIBS) @ENABLE_DESKTOP_SHELL_TRUE@desktop_shell_la_CPPFLAGS = \ @ENABLE_DESKTOP_SHELL_TRUE@ -I$(top_builddir)/protocol \ @ENABLE_DESKTOP_SHELL_TRUE@ -I$(top_srcdir)/shared \ @ENABLE_DESKTOP_SHELL_TRUE@ -I$(top_builddir)/libweston \ @ENABLE_DESKTOP_SHELL_TRUE@ -I$(top_srcdir)/libweston \ @ENABLE_DESKTOP_SHELL_TRUE@ -I$(top_builddir)/desktop-shell \ @ENABLE_DESKTOP_SHELL_TRUE@ -DDATADIR='"$(datadir)"' \ @ENABLE_DESKTOP_SHELL_TRUE@ -DMODULEDIR='"$(moduledir)"' \ @ENABLE_DESKTOP_SHELL_TRUE@ -DLIBEXECDIR='"$(libexecdir)"' \ @ENABLE_DESKTOP_SHELL_TRUE@ -DIN_WESTON @ENABLE_DESKTOP_SHELL_TRUE@desktop_shell_la_LDFLAGS = -module -avoid-version @ENABLE_DESKTOP_SHELL_TRUE@desktop_shell_la_LIBADD = libshared.la libweston-desktop-@LIBWESTON_MAJOR@.la $(COMPOSITOR_LIBS) @ENABLE_DESKTOP_SHELL_TRUE@desktop_shell_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) @ENABLE_DESKTOP_SHELL_TRUE@desktop_shell_la_SOURCES = \ @ENABLE_DESKTOP_SHELL_TRUE@ desktop-shell/shell.h \ @ENABLE_DESKTOP_SHELL_TRUE@ desktop-shell/shell.c \ @ENABLE_DESKTOP_SHELL_TRUE@ desktop-shell/exposay.c \ @ENABLE_DESKTOP_SHELL_TRUE@ desktop-shell/input-panel.c \ @ENABLE_DESKTOP_SHELL_TRUE@ shared/helpers.h @ENABLE_DESKTOP_SHELL_TRUE@nodist_desktop_shell_la_SOURCES = \ @ENABLE_DESKTOP_SHELL_TRUE@ protocol/weston-desktop-shell-protocol.c \ @ENABLE_DESKTOP_SHELL_TRUE@ protocol/weston-desktop-shell-server-protocol.h @ENABLE_FULLSCREEN_SHELL_TRUE@fullscreen_shell_la_CPPFLAGS = \ @ENABLE_FULLSCREEN_SHELL_TRUE@ -I$(top_builddir)/protocol \ @ENABLE_FULLSCREEN_SHELL_TRUE@ -I$(top_srcdir)/shared \ @ENABLE_FULLSCREEN_SHELL_TRUE@ -I$(top_builddir)/libweston \ @ENABLE_FULLSCREEN_SHELL_TRUE@ -I$(top_srcdir)/libweston \ @ENABLE_FULLSCREEN_SHELL_TRUE@ -DIN_WESTON @ENABLE_FULLSCREEN_SHELL_TRUE@fullscreen_shell_la_LDFLAGS = -module -avoid-version @ENABLE_FULLSCREEN_SHELL_TRUE@fullscreen_shell_la_LIBADD = \ @ENABLE_FULLSCREEN_SHELL_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_FULLSCREEN_SHELL_TRUE@ $(COMPOSITOR_LIBS) @ENABLE_FULLSCREEN_SHELL_TRUE@fullscreen_shell_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) @ENABLE_FULLSCREEN_SHELL_TRUE@fullscreen_shell_la_SOURCES = \ @ENABLE_FULLSCREEN_SHELL_TRUE@ fullscreen-shell/fullscreen-shell.c \ @ENABLE_FULLSCREEN_SHELL_TRUE@ shared/helpers.h @ENABLE_FULLSCREEN_SHELL_TRUE@nodist_fullscreen_shell_la_SOURCES = \ @ENABLE_FULLSCREEN_SHELL_TRUE@ protocol/fullscreen-shell-unstable-v1-protocol.c \ @ENABLE_FULLSCREEN_SHELL_TRUE@ protocol/fullscreen-shell-unstable-v1-server-protocol.h @ENABLE_IVI_SHELL_TRUE@ivi_shell = ivi-shell.la @ENABLE_IVI_SHELL_TRUE@ivi_shell_la_LDFLAGS = -module -avoid-version @ENABLE_IVI_SHELL_TRUE@ivi_shell_la_LIBADD = \ @ENABLE_IVI_SHELL_TRUE@ libshared.la \ @ENABLE_IVI_SHELL_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_IVI_SHELL_TRUE@ $(COMPOSITOR_LIBS) @ENABLE_IVI_SHELL_TRUE@ivi_shell_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) @ENABLE_IVI_SHELL_TRUE@ivi_shell_la_SOURCES = \ @ENABLE_IVI_SHELL_TRUE@ ivi-shell/ivi-layout-export.h \ @ENABLE_IVI_SHELL_TRUE@ ivi-shell/ivi-layout-private.h \ @ENABLE_IVI_SHELL_TRUE@ ivi-shell/ivi-layout-shell.h \ @ENABLE_IVI_SHELL_TRUE@ ivi-shell/ivi-layout.c \ @ENABLE_IVI_SHELL_TRUE@ ivi-shell/ivi-layout-transition.c \ @ENABLE_IVI_SHELL_TRUE@ ivi-shell/ivi-shell.h \ @ENABLE_IVI_SHELL_TRUE@ ivi-shell/ivi-shell.c \ @ENABLE_IVI_SHELL_TRUE@ ivi-shell/input-panel-ivi.c \ @ENABLE_IVI_SHELL_TRUE@ shared/helpers.h @ENABLE_IVI_SHELL_TRUE@nodist_ivi_shell_la_SOURCES = \ @ENABLE_IVI_SHELL_TRUE@ protocol/ivi-application-protocol.c \ @ENABLE_IVI_SHELL_TRUE@ protocol/ivi-application-server-protocol.h @ENABLE_IVI_SHELL_TRUE@hmi_controller = hmi-controller.la @ENABLE_IVI_SHELL_TRUE@hmi_controller_la_LDFLAGS = -module -avoid-version @ENABLE_IVI_SHELL_TRUE@hmi_controller_la_LIBADD = \ @ENABLE_IVI_SHELL_TRUE@ libshared.la \ @ENABLE_IVI_SHELL_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_IVI_SHELL_TRUE@ $(COMPOSITOR_LIBS) @ENABLE_IVI_SHELL_TRUE@hmi_controller_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) @ENABLE_IVI_SHELL_TRUE@hmi_controller_la_SOURCES = \ @ENABLE_IVI_SHELL_TRUE@ ivi-shell/ivi-layout-export.h \ @ENABLE_IVI_SHELL_TRUE@ ivi-shell/hmi-controller.c \ @ENABLE_IVI_SHELL_TRUE@ shared/helpers.h @ENABLE_IVI_SHELL_TRUE@nodist_hmi_controller_la_SOURCES = \ @ENABLE_IVI_SHELL_TRUE@ protocol/ivi-hmi-controller-protocol.c \ @ENABLE_IVI_SHELL_TRUE@ protocol/ivi-hmi-controller-server-protocol.h @ENABLE_SCREEN_SHARING_TRUE@screen_share_la_CPPFLAGS = $(AM_CPPFLAGS) -DBINDIR='"$(bindir)"' @ENABLE_SCREEN_SHARING_TRUE@screen_share_la_LDFLAGS = -module -avoid-version @ENABLE_SCREEN_SHARING_TRUE@screen_share_la_LIBADD = \ @ENABLE_SCREEN_SHARING_TRUE@ libshared-cairo.la \ @ENABLE_SCREEN_SHARING_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_SCREEN_SHARING_TRUE@ $(COMPOSITOR_LIBS) \ @ENABLE_SCREEN_SHARING_TRUE@ $(SCREEN_SHARE_LIBS) @ENABLE_SCREEN_SHARING_TRUE@screen_share_la_CFLAGS = \ @ENABLE_SCREEN_SHARING_TRUE@ $(COMPOSITOR_CFLAGS) \ @ENABLE_SCREEN_SHARING_TRUE@ $(SCREEN_SHARE_CFLAGS) \ @ENABLE_SCREEN_SHARING_TRUE@ $(AM_CFLAGS) @ENABLE_SCREEN_SHARING_TRUE@screen_share_la_SOURCES = \ @ENABLE_SCREEN_SHARING_TRUE@ compositor/screen-share.c \ @ENABLE_SCREEN_SHARING_TRUE@ shared/helpers.h @ENABLE_SCREEN_SHARING_TRUE@nodist_screen_share_la_SOURCES = \ @ENABLE_SCREEN_SHARING_TRUE@ protocol/fullscreen-shell-unstable-v1-protocol.c \ @ENABLE_SCREEN_SHARING_TRUE@ protocol/fullscreen-shell-unstable-v1-client-protocol.h @ENABLE_XWAYLAND_TRUE@xwayland_la_CPPFLAGS = \ @ENABLE_XWAYLAND_TRUE@ -I$(top_builddir)/protocol \ @ENABLE_XWAYLAND_TRUE@ -I$(top_srcdir)/shared \ @ENABLE_XWAYLAND_TRUE@ -I$(top_builddir)/libweston \ @ENABLE_XWAYLAND_TRUE@ -I$(top_srcdir)/libweston \ @ENABLE_XWAYLAND_TRUE@ -I$(top_builddir)/xwayland \ @ENABLE_XWAYLAND_TRUE@ -DDATADIR='"$(datadir)"' \ @ENABLE_XWAYLAND_TRUE@ -DMODULEDIR='"$(moduledir)"' \ @ENABLE_XWAYLAND_TRUE@ -DLIBEXECDIR='"$(libexecdir)"' @ENABLE_XWAYLAND_TRUE@xwayland_la_LDFLAGS = -module -avoid-version @ENABLE_XWAYLAND_TRUE@xwayland_la_LIBADD = \ @ENABLE_XWAYLAND_TRUE@ libshared-cairo.la \ @ENABLE_XWAYLAND_TRUE@ libweston-@LIBWESTON_MAJOR@.la \ @ENABLE_XWAYLAND_TRUE@ $(XWAYLAND_LIBS) @ENABLE_XWAYLAND_TRUE@xwayland_la_CFLAGS = \ @ENABLE_XWAYLAND_TRUE@ $(AM_CFLAGS) \ @ENABLE_XWAYLAND_TRUE@ $(COMPOSITOR_CFLAGS) \ @ENABLE_XWAYLAND_TRUE@ $(PIXMAN_CFLAGS) \ @ENABLE_XWAYLAND_TRUE@ $(CAIRO_CFLAGS) @ENABLE_XWAYLAND_TRUE@xwayland_la_SOURCES = \ @ENABLE_XWAYLAND_TRUE@ xwayland/xwayland.h \ @ENABLE_XWAYLAND_TRUE@ xwayland/xwayland-internal-interface.h \ @ENABLE_XWAYLAND_TRUE@ xwayland/window-manager.c \ @ENABLE_XWAYLAND_TRUE@ xwayland/selection.c \ @ENABLE_XWAYLAND_TRUE@ xwayland/dnd.c \ @ENABLE_XWAYLAND_TRUE@ xwayland/launcher.c \ @ENABLE_XWAYLAND_TRUE@ xwayland/hash.c \ @ENABLE_XWAYLAND_TRUE@ xwayland/hash.h \ @ENABLE_XWAYLAND_TRUE@ shared/helpers.h libshared_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) libshared_la_SOURCES = \ shared/config-parser.c \ shared/option-parser.c \ shared/config-parser.h \ shared/file-util.c \ shared/file-util.h \ shared/helpers.h \ shared/os-compatibility.c \ shared/os-compatibility.h \ shared/xalloc.c \ shared/xalloc.h libshared_cairo_la_CFLAGS = \ -DDATADIR='"$(datadir)"' \ $(AM_CFLAGS) \ $(COMPOSITOR_CFLAGS) \ $(PIXMAN_CFLAGS) \ $(CAIRO_CFLAGS) \ $(PNG_CFLAGS) \ $(WEBP_CFLAGS) libshared_cairo_la_LIBADD = \ $(PIXMAN_LIBS) \ $(CAIRO_LIBS) \ $(PNG_LIBS) \ $(WEBP_LIBS) \ $(JPEG_LIBS) libshared_cairo_la_SOURCES = \ $(libshared_la_SOURCES) \ shared/helpers.h \ shared/image-loader.c \ shared/image-loader.h \ shared/cairo-util.c \ shared/frame.c \ shared/cairo-util.h libzunitc_la_SOURCES = \ tools/zunitc/inc/zunitc/zunitc.h \ tools/zunitc/inc/zunitc/zunitc_impl.h \ tools/zunitc/src/zuc_base_logger.c \ tools/zunitc/src/zuc_base_logger.h \ tools/zunitc/src/zuc_collector.c \ tools/zunitc/src/zuc_collector.h \ tools/zunitc/src/zuc_context.h \ tools/zunitc/src/zuc_event.h \ tools/zunitc/src/zuc_event_listener.h \ tools/zunitc/src/zuc_junit_reporter.c \ tools/zunitc/src/zuc_junit_reporter.h \ tools/zunitc/src/zuc_types.h \ tools/zunitc/src/zunitc_impl.c \ shared/helpers.h libzunitc_la_CFLAGS = $(AM_CFLAGS) -I$(top_srcdir)/tools/zunitc/inc \ $(am__append_50) libzunitc_la_LIBADD = libshared.la $(CLOCK_GETTIME_LIBS) \ $(am__append_51) libzunitcmain_la_SOURCES = \ tools/zunitc/src/main.c libzunitcmain_la_CFLAGS = \ $(AM_CFLAGS) \ -I$(top_srcdir)/tools/zunitc/inc libzunitcmain_la_LIBADD = \ libzunitc.la \ libshared.la internal_tests = \ internal-screenshot.weston shared_tests = \ config-parser.test \ timespec.test \ string.test \ vertex-clip.test \ zuctest module_tests = plugin-registry-test.la surface-test.la \ surface-global-test.la $(am__append_55) weston_tests = bad_buffer.weston keyboard.weston event.weston \ button.weston text.weston presentation.weston \ viewporter.weston roles.weston subsurface.weston \ subsurface-shot.weston devices.weston $(am__append_54) ivi_tests = $(am__append_56) AM_TESTS_ENVIRONMENT = \ abs_builddir='$(abs_builddir)'; export abs_builddir; \ abs_top_srcdir='$(abs_top_srcdir)'; export abs_top_srcdir; TEST_EXTENSIONS = .la .weston LA_LOG_COMPILER = $(srcdir)/tests/weston-tests-env WESTON_LOG_COMPILER = $(srcdir)/tests/weston-tests-env test_module_ldflags = -module -avoid-version -rpath $(libdir) test_module_libadd = \ libweston-@LIBWESTON_MAJOR@.la \ $(COMPOSITOR_LIBS) plugin_registry_test_la_SOURCES = tests/plugin-registry-test.c plugin_registry_test_la_LIBADD = $(test_module_libadd) plugin_registry_test_la_LDFLAGS = $(test_module_ldflags) plugin_registry_test_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) surface_global_test_la_SOURCES = tests/surface-global-test.c surface_global_test_la_LIBADD = $(test_module_libadd) surface_global_test_la_LDFLAGS = $(test_module_ldflags) surface_global_test_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) surface_test_la_SOURCES = tests/surface-test.c surface_test_la_LIBADD = $(test_module_libadd) surface_test_la_LDFLAGS = $(test_module_ldflags) surface_test_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) weston_test_la_LIBADD = libshared.la $(test_module_libadd) weston_test_la_LDFLAGS = $(test_module_ldflags) $(am__append_53) weston_test_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) \ $(am__append_52) weston_test_la_SOURCES = \ tests/weston-test.c \ shared/helpers.h nodist_weston_test_la_SOURCES = \ protocol/weston-test-protocol.c \ protocol/weston-test-server-protocol.h weston_test_desktop_shell_la_LIBADD = libshared.la libweston-desktop-@LIBWESTON_MAJOR@.la $(COMPOSITOR_LIBS) weston_test_desktop_shell_la_LDFLAGS = $(test_module_ldflags) weston_test_desktop_shell_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) weston_test_desktop_shell_la_SOURCES = \ tests/weston-test-desktop-shell.c \ shared/helpers.h libtest_runner_la_SOURCES = \ tests/weston-test-runner.c \ tests/weston-test-runner.h libtest_runner_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) config_parser_test_SOURCES = tests/config-parser-test.c config_parser_test_LDADD = \ libshared.la \ $(COMPOSITOR_LIBS) \ libzunitc.la \ libzunitcmain.la config_parser_test_CFLAGS = \ $(AM_CFLAGS) \ -I$(top_srcdir)/tools/zunitc/inc timespec_test_SOURCES = tests/timespec-test.c timespec_test_LDADD = \ libshared.la \ libzunitc.la \ libzunitcmain.la timespec_test_CFLAGS = \ $(AM_CFLAGS) \ -I$(top_srcdir)/tools/zunitc/inc string_test_SOURCES = \ tests/string-test.c \ shared/string-helpers.h string_test_CFLAGS = $(AM_CFLAGS) $(TEST_CLIENT_CFLAGS) string_test_LDADD = libtest-client.la vertex_clip_test_SOURCES = \ tests/vertex-clip-test.c \ shared/helpers.h \ libweston/vertex-clipping.c \ libweston/vertex-clipping.h vertex_clip_test_LDADD = libtest-runner.la -lm $(CLOCK_GETTIME_LIBS) libtest_client_la_SOURCES = \ tests/weston-test-client-helper.c \ tests/weston-test-client-helper.h nodist_libtest_client_la_SOURCES = \ protocol/weston-test-protocol.c \ protocol/weston-test-client-protocol.h libtest_client_la_CFLAGS = $(AM_CFLAGS) $(TEST_CLIENT_CFLAGS) $(CAIRO_CFLAGS) libtest_client_la_LIBADD = libshared.la libtest-runner.la $(TEST_CLIENT_LIBS) $(CAIRO_LIBS) # # Internal tests - tests functionality of the testsuite itself # internal_screenshot_weston_SOURCES = tests/internal-screenshot-test.c internal_screenshot_weston_CFLAGS = $(AM_CFLAGS) $(TEST_CLIENT_CFLAGS) internal_screenshot_weston_LDADD = libtest-client.la # # Weston Tests # bad_buffer_weston_SOURCES = tests/bad-buffer-test.c bad_buffer_weston_CFLAGS = $(AM_CFLAGS) $(TEST_CLIENT_CFLAGS) bad_buffer_weston_LDADD = libtest-client.la keyboard_weston_SOURCES = tests/keyboard-test.c keyboard_weston_CFLAGS = $(AM_CFLAGS) $(TEST_CLIENT_CFLAGS) keyboard_weston_LDADD = libtest-client.la event_weston_SOURCES = tests/event-test.c event_weston_CFLAGS = $(AM_CFLAGS) $(TEST_CLIENT_CFLAGS) event_weston_LDADD = libtest-client.la button_weston_SOURCES = tests/button-test.c button_weston_CFLAGS = $(AM_CFLAGS) $(TEST_CLIENT_CFLAGS) button_weston_LDADD = libtest-client.la devices_weston_SOURCES = tests/devices-test.c devices_weston_CFLAGS = $(AM_CFLAGS) $(TEST_CLIENT_CFLAGS) devices_weston_LDADD = libtest-client.la text_weston_SOURCES = tests/text-test.c nodist_text_weston_SOURCES = \ protocol/text-input-unstable-v1-protocol.c \ protocol/text-input-unstable-v1-client-protocol.h text_weston_CFLAGS = $(AM_CFLAGS) $(TEST_CLIENT_CFLAGS) text_weston_LDADD = libtest-client.la subsurface_weston_SOURCES = tests/subsurface-test.c subsurface_weston_CFLAGS = $(AM_CFLAGS) $(TEST_CLIENT_CFLAGS) subsurface_weston_LDADD = libtest-client.la subsurface_shot_weston_SOURCES = tests/subsurface-shot-test.c subsurface_shot_weston_CFLAGS = $(AM_CFLAGS) $(TEST_CLIENT_CFLAGS) subsurface_shot_weston_LDADD = libtest-client.la presentation_weston_SOURCES = \ tests/presentation-test.c \ shared/helpers.h nodist_presentation_weston_SOURCES = \ protocol/presentation-time-protocol.c \ protocol/presentation-time-client-protocol.h presentation_weston_CFLAGS = $(AM_CFLAGS) $(TEST_CLIENT_CFLAGS) presentation_weston_LDADD = libtest-client.la roles_weston_SOURCES = tests/roles-test.c roles_weston_CFLAGS = $(AM_CFLAGS) $(TEST_CLIENT_CFLAGS) roles_weston_LDADD = libtest-client.la viewporter_weston_SOURCES = \ tests/viewporter-test.c \ shared/helpers.h nodist_viewporter_weston_SOURCES = \ protocol/viewporter-protocol.c \ protocol/viewporter-client-protocol.h viewporter_weston_CFLAGS = $(AM_CFLAGS) $(TEST_CLIENT_CFLAGS) viewporter_weston_LDADD = libtest-client.la @ENABLE_XWAYLAND_TEST_TRUE@xwayland_test_weston_SOURCES = tests/xwayland-test.c @ENABLE_XWAYLAND_TEST_TRUE@xwayland_test_weston_CFLAGS = \ @ENABLE_XWAYLAND_TEST_TRUE@ $(AM_CFLAGS) $(XWAYLAND_TEST_CFLAGS) -DXSERVER_PATH='"@XSERVER_PATH@"' @ENABLE_XWAYLAND_TEST_TRUE@xwayland_test_weston_LDADD = libtest-client.la $(XWAYLAND_TEST_LIBS) matrix_test_SOURCES = \ tests/matrix-test.c \ shared/matrix.c \ shared/matrix.h matrix_test_CPPFLAGS = -DUNIT_TEST matrix_test_LDADD = -lm $(CLOCK_GETTIME_LIBS) @ENABLE_IVI_SHELL_TRUE@ivi_layout_internal_test_la_LIBADD = $(test_module_libadd) @ENABLE_IVI_SHELL_TRUE@ivi_layout_internal_test_la_LDFLAGS = $(test_module_ldflags) @ENABLE_IVI_SHELL_TRUE@ivi_layout_internal_test_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) @ENABLE_IVI_SHELL_TRUE@ivi_layout_internal_test_la_SOURCES = \ @ENABLE_IVI_SHELL_TRUE@ tests/ivi_layout-internal-test.c @ENABLE_IVI_SHELL_TRUE@ivi_layout_test_la_LIBADD = $(test_module_libadd) @ENABLE_IVI_SHELL_TRUE@ivi_layout_test_la_LDFLAGS = $(test_module_ldflags) @ENABLE_IVI_SHELL_TRUE@ivi_layout_test_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) @ENABLE_IVI_SHELL_TRUE@ivi_layout_test_la_SOURCES = \ @ENABLE_IVI_SHELL_TRUE@ tests/ivi_layout-test-plugin.c \ @ENABLE_IVI_SHELL_TRUE@ tests/ivi-test.h \ @ENABLE_IVI_SHELL_TRUE@ shared/helpers.h @ENABLE_IVI_SHELL_TRUE@nodist_ivi_layout_test_la_SOURCES = \ @ENABLE_IVI_SHELL_TRUE@ protocol/weston-test-protocol.c \ @ENABLE_IVI_SHELL_TRUE@ protocol/weston-test-server-protocol.h @ENABLE_IVI_SHELL_TRUE@ivi_shell_app_weston_SOURCES = tests/ivi-shell-app-test.c @ENABLE_IVI_SHELL_TRUE@nodist_ivi_shell_app_weston_SOURCES = \ @ENABLE_IVI_SHELL_TRUE@ protocol/ivi-application-protocol.c \ @ENABLE_IVI_SHELL_TRUE@ protocol/ivi-application-client-protocol.h @ENABLE_IVI_SHELL_TRUE@ivi_shell_app_weston_CFLAGS = $(AM_CFLAGS) $(TEST_CLIENT_CFLAGS) @ENABLE_IVI_SHELL_TRUE@ivi_shell_app_weston_LDADD = libtest-client.la @ENABLE_IVI_SHELL_TRUE@ivi_layout_ivi_SOURCES = \ @ENABLE_IVI_SHELL_TRUE@ tests/ivi_layout-test.c \ @ENABLE_IVI_SHELL_TRUE@ tests/ivi-test.h \ @ENABLE_IVI_SHELL_TRUE@ shared/helpers.h @ENABLE_IVI_SHELL_TRUE@nodist_ivi_layout_ivi_SOURCES = \ @ENABLE_IVI_SHELL_TRUE@ protocol/ivi-application-protocol.c \ @ENABLE_IVI_SHELL_TRUE@ protocol/ivi-application-client-protocol.h @ENABLE_IVI_SHELL_TRUE@ivi_layout_ivi_CFLAGS = $(AM_CFLAGS) $(TEST_CLIENT_CFLAGS) @ENABLE_IVI_SHELL_TRUE@ivi_layout_ivi_LDADD = libtest-client.la @BUILD_SETBACKLIGHT_TRUE@setbacklight_SOURCES = \ @BUILD_SETBACKLIGHT_TRUE@ tests/setbacklight.c \ @BUILD_SETBACKLIGHT_TRUE@ libweston/libbacklight.c \ @BUILD_SETBACKLIGHT_TRUE@ libweston/libbacklight.h @BUILD_SETBACKLIGHT_TRUE@setbacklight_CFLAGS = $(AM_CFLAGS) $(SETBACKLIGHT_CFLAGS) @BUILD_SETBACKLIGHT_TRUE@setbacklight_LDADD = $(SETBACKLIGHT_LIBS) zuctest_LDADD = \ libzunitc.la \ libzunitcmain.la zuctest_CFLAGS = \ $(AM_CFLAGS) \ -I$(top_srcdir)/tools/zunitc/inc zuctest_SOURCES = \ tools/zunitc/test/fixtures_test.c \ tools/zunitc/test/zunitc_test.c surface_screenshot_la_LIBADD = libshared.la $(test_module_libadd) surface_screenshot_la_LDFLAGS = $(test_module_ldflags) surface_screenshot_la_CFLAGS = $(AM_CFLAGS) $(COMPOSITOR_CFLAGS) surface_screenshot_la_SOURCES = tests/surface-screenshot.c # # Documentation # man_MANS = weston.1 weston.ini.5 $(am__append_59) MAN_SUBSTS = \ -e 's|__weston_native_backend__|$(WESTON_NATIVE_BACKEND)|g' \ -e 's|__weston_modules_dir__|$(pkglibdir)|g' \ -e 's|__weston_shell_client__|$(WESTON_SHELL_CLIENT)|g' \ -e 's|__version__|$(PACKAGE_VERSION)|g' SUFFIXES = .1 .5 .7 .man @ENABLE_DEVDOCS_TRUE@DOXYGEN_INDICES = docs/developer/html/index.html docs/tools/html/index.html DOCDIRS = \ docs/developer \ docs/tools all: $(BUILT_SOURCES) config.h $(MAKE) $(AM_MAKEFLAGS) all-am .SUFFIXES: .SUFFIXES: .1 .5 .7 .man .c .la .la$(EXEEXT) .lo .log .o .obj .trs .weston .weston$(EXEEXT) am--refresh: Makefile @: $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(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 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 @test -f $@ || rm -f stamp-h1 @test -f $@ || $(MAKE) $(AM_MAKEFLAGS) stamp-h1 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 doc/doxygen/tools.doxygen: $(top_builddir)/config.status $(top_srcdir)/doc/doxygen/tools.doxygen.in cd $(top_builddir) && $(SHELL) ./config.status $@ doc/doxygen/tooldev.doxygen: $(top_builddir)/config.status $(top_srcdir)/doc/doxygen/tooldev.doxygen.in cd $(top_builddir) && $(SHELL) ./config.status $@ libweston/version.h: $(top_builddir)/config.status $(top_srcdir)/libweston/version.h.in cd $(top_builddir) && $(SHELL) ./config.status $@ compositor/weston.pc: $(top_builddir)/config.status $(top_srcdir)/compositor/weston.pc.in cd $(top_builddir) && $(SHELL) ./config.status $@ libweston/libweston-3.pc: $(top_builddir)/config.status $(top_srcdir)/libweston/libweston.pc.in cd $(top_builddir) && $(SHELL) ./config.status $@ libweston-desktop/libweston-desktop-3.pc: $(top_builddir)/config.status $(top_srcdir)/libweston-desktop/libweston-desktop.pc.in cd $(top_builddir) && $(SHELL) ./config.status $@ install-libLTLIBRARIES: $(lib_LTLIBRARIES) @$(NORMAL_INSTALL) @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 " $(MKDIR_P) '$(DESTDIR)$(libdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libdir)" || exit 1; \ 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)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } install-libweston_moduleLTLIBRARIES: $(libweston_module_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(libweston_module_LTLIBRARIES)'; test -n "$(libweston_moduledir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(libweston_moduledir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libweston_moduledir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libweston_moduledir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libweston_moduledir)"; \ } uninstall-libweston_moduleLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(libweston_module_LTLIBRARIES)'; test -n "$(libweston_moduledir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libweston_moduledir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libweston_moduledir)/$$f"; \ done clean-libweston_moduleLTLIBRARIES: -test -z "$(libweston_module_LTLIBRARIES)" || rm -f $(libweston_module_LTLIBRARIES) @list='$(libweston_module_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } install-moduleLTLIBRARIES: $(module_LTLIBRARIES) @$(NORMAL_INSTALL) @list='$(module_LTLIBRARIES)'; test -n "$(moduledir)" || list=; \ list2=; for p in $$list; do \ if test -f $$p; then \ list2="$$list2 $$p"; \ else :; fi; \ done; \ test -z "$$list2" || { \ echo " $(MKDIR_P) '$(DESTDIR)$(moduledir)'"; \ $(MKDIR_P) "$(DESTDIR)$(moduledir)" || exit 1; \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(moduledir)'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(moduledir)"; \ } uninstall-moduleLTLIBRARIES: @$(NORMAL_UNINSTALL) @list='$(module_LTLIBRARIES)'; test -n "$(moduledir)" || list=; \ for p in $$list; do \ $(am__strip_dir) \ echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(moduledir)/$$f'"; \ $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(moduledir)/$$f"; \ done clean-moduleLTLIBRARIES: -test -z "$(module_LTLIBRARIES)" || rm -f $(module_LTLIBRARIES) @list='$(module_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } clean-noinstLTLIBRARIES: -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES) @list='$(noinst_LTLIBRARIES)'; \ locs=`for p in $$list; do echo $$p; done | \ sed 's|^[^/]*$$|.|; s|/[^/]*$$||; s|$$|/so_locations|' | \ sort -u`; \ test -z "$$locs" || { \ echo rm -f $${locs}; \ rm -f $${locs}; \ } compositor/$(am__dirstamp): @$(MKDIR_P) compositor @: > compositor/$(am__dirstamp) compositor/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) compositor/$(DEPDIR) @: > compositor/$(DEPDIR)/$(am__dirstamp) compositor/cms_colord_la-cms-colord.lo: compositor/$(am__dirstamp) \ compositor/$(DEPDIR)/$(am__dirstamp) compositor/cms_colord_la-cms-helper.lo: compositor/$(am__dirstamp) \ compositor/$(DEPDIR)/$(am__dirstamp) cms-colord.la: $(cms_colord_la_OBJECTS) $(cms_colord_la_DEPENDENCIES) $(EXTRA_cms_colord_la_DEPENDENCIES) $(AM_V_CCLD)$(cms_colord_la_LINK) $(am_cms_colord_la_rpath) $(cms_colord_la_OBJECTS) $(cms_colord_la_LIBADD) $(LIBS) compositor/cms_static_la-cms-static.lo: compositor/$(am__dirstamp) \ compositor/$(DEPDIR)/$(am__dirstamp) compositor/cms_static_la-cms-helper.lo: compositor/$(am__dirstamp) \ compositor/$(DEPDIR)/$(am__dirstamp) cms-static.la: $(cms_static_la_OBJECTS) $(cms_static_la_DEPENDENCIES) $(EXTRA_cms_static_la_DEPENDENCIES) $(AM_V_CCLD)$(cms_static_la_LINK) $(am_cms_static_la_rpath) $(cms_static_la_OBJECTS) $(cms_static_la_LIBADD) $(LIBS) desktop-shell/$(am__dirstamp): @$(MKDIR_P) desktop-shell @: > desktop-shell/$(am__dirstamp) desktop-shell/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) desktop-shell/$(DEPDIR) @: > desktop-shell/$(DEPDIR)/$(am__dirstamp) desktop-shell/desktop_shell_la-shell.lo: \ desktop-shell/$(am__dirstamp) \ desktop-shell/$(DEPDIR)/$(am__dirstamp) desktop-shell/desktop_shell_la-exposay.lo: \ desktop-shell/$(am__dirstamp) \ desktop-shell/$(DEPDIR)/$(am__dirstamp) desktop-shell/desktop_shell_la-input-panel.lo: \ desktop-shell/$(am__dirstamp) \ desktop-shell/$(DEPDIR)/$(am__dirstamp) protocol/$(am__dirstamp): @$(MKDIR_P) protocol @: > protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) protocol/$(DEPDIR) @: > protocol/$(DEPDIR)/$(am__dirstamp) protocol/desktop_shell_la-weston-desktop-shell-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) desktop-shell.la: $(desktop_shell_la_OBJECTS) $(desktop_shell_la_DEPENDENCIES) $(EXTRA_desktop_shell_la_DEPENDENCIES) $(AM_V_CCLD)$(desktop_shell_la_LINK) $(am_desktop_shell_la_rpath) $(desktop_shell_la_OBJECTS) $(desktop_shell_la_LIBADD) $(LIBS) libweston/$(am__dirstamp): @$(MKDIR_P) libweston @: > libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) libweston/$(DEPDIR) @: > libweston/$(DEPDIR)/$(am__dirstamp) libweston/drm_backend_la-compositor-drm.lo: libweston/$(am__dirstamp) \ libweston/$(DEPDIR)/$(am__dirstamp) libweston/drm_backend_la-libinput-seat.lo: libweston/$(am__dirstamp) \ libweston/$(DEPDIR)/$(am__dirstamp) libweston/drm_backend_la-libinput-device.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/drm_backend_la-libbacklight.lo: libweston/$(am__dirstamp) \ libweston/$(DEPDIR)/$(am__dirstamp) libweston/drm_backend_la-vaapi-recorder.lo: libweston/$(am__dirstamp) \ libweston/$(DEPDIR)/$(am__dirstamp) drm-backend.la: $(drm_backend_la_OBJECTS) $(drm_backend_la_DEPENDENCIES) $(EXTRA_drm_backend_la_DEPENDENCIES) $(AM_V_CCLD)$(drm_backend_la_LINK) $(am_drm_backend_la_rpath) $(drm_backend_la_OBJECTS) $(drm_backend_la_LIBADD) $(LIBS) libweston/fbdev_backend_la-compositor-fbdev.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/fbdev_backend_la-libinput-seat.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/fbdev_backend_la-libinput-device.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) fbdev-backend.la: $(fbdev_backend_la_OBJECTS) $(fbdev_backend_la_DEPENDENCIES) $(EXTRA_fbdev_backend_la_DEPENDENCIES) $(AM_V_CCLD)$(fbdev_backend_la_LINK) $(am_fbdev_backend_la_rpath) $(fbdev_backend_la_OBJECTS) $(fbdev_backend_la_LIBADD) $(LIBS) fullscreen-shell/$(am__dirstamp): @$(MKDIR_P) fullscreen-shell @: > fullscreen-shell/$(am__dirstamp) fullscreen-shell/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) fullscreen-shell/$(DEPDIR) @: > fullscreen-shell/$(DEPDIR)/$(am__dirstamp) fullscreen-shell/fullscreen_shell_la-fullscreen-shell.lo: \ fullscreen-shell/$(am__dirstamp) \ fullscreen-shell/$(DEPDIR)/$(am__dirstamp) protocol/fullscreen_shell_la-fullscreen-shell-unstable-v1-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) fullscreen-shell.la: $(fullscreen_shell_la_OBJECTS) $(fullscreen_shell_la_DEPENDENCIES) $(EXTRA_fullscreen_shell_la_DEPENDENCIES) $(AM_V_CCLD)$(fullscreen_shell_la_LINK) $(am_fullscreen_shell_la_rpath) $(fullscreen_shell_la_OBJECTS) $(fullscreen_shell_la_LIBADD) $(LIBS) libweston/gl_renderer_la-gl-renderer.lo: libweston/$(am__dirstamp) \ libweston/$(DEPDIR)/$(am__dirstamp) libweston/gl_renderer_la-vertex-clipping.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) gl-renderer.la: $(gl_renderer_la_OBJECTS) $(gl_renderer_la_DEPENDENCIES) $(EXTRA_gl_renderer_la_DEPENDENCIES) $(AM_V_CCLD)$(gl_renderer_la_LINK) $(am_gl_renderer_la_rpath) $(gl_renderer_la_OBJECTS) $(gl_renderer_la_LIBADD) $(LIBS) libweston/headless_backend_la-compositor-headless.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) headless-backend.la: $(headless_backend_la_OBJECTS) $(headless_backend_la_DEPENDENCIES) $(EXTRA_headless_backend_la_DEPENDENCIES) $(AM_V_CCLD)$(headless_backend_la_LINK) $(am_headless_backend_la_rpath) $(headless_backend_la_OBJECTS) $(headless_backend_la_LIBADD) $(LIBS) ivi-shell/$(am__dirstamp): @$(MKDIR_P) ivi-shell @: > ivi-shell/$(am__dirstamp) ivi-shell/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) ivi-shell/$(DEPDIR) @: > ivi-shell/$(DEPDIR)/$(am__dirstamp) ivi-shell/hmi_controller_la-hmi-controller.lo: \ ivi-shell/$(am__dirstamp) ivi-shell/$(DEPDIR)/$(am__dirstamp) protocol/hmi_controller_la-ivi-hmi-controller-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) hmi-controller.la: $(hmi_controller_la_OBJECTS) $(hmi_controller_la_DEPENDENCIES) $(EXTRA_hmi_controller_la_DEPENDENCIES) $(AM_V_CCLD)$(hmi_controller_la_LINK) $(am_hmi_controller_la_rpath) $(hmi_controller_la_OBJECTS) $(hmi_controller_la_LIBADD) $(LIBS) tests/$(am__dirstamp): @$(MKDIR_P) tests @: > tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) tests/$(DEPDIR) @: > tests/$(DEPDIR)/$(am__dirstamp) tests/ivi_layout_internal_test_la-ivi_layout-internal-test.lo: \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) ivi-layout-internal-test.la: $(ivi_layout_internal_test_la_OBJECTS) $(ivi_layout_internal_test_la_DEPENDENCIES) $(EXTRA_ivi_layout_internal_test_la_DEPENDENCIES) $(AM_V_CCLD)$(ivi_layout_internal_test_la_LINK) $(am_ivi_layout_internal_test_la_rpath) $(ivi_layout_internal_test_la_OBJECTS) $(ivi_layout_internal_test_la_LIBADD) $(LIBS) tests/ivi_layout_test_la-ivi_layout-test-plugin.lo: \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) protocol/ivi_layout_test_la-weston-test-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) ivi-layout-test.la: $(ivi_layout_test_la_OBJECTS) $(ivi_layout_test_la_DEPENDENCIES) $(EXTRA_ivi_layout_test_la_DEPENDENCIES) $(AM_V_CCLD)$(ivi_layout_test_la_LINK) $(am_ivi_layout_test_la_rpath) $(ivi_layout_test_la_OBJECTS) $(ivi_layout_test_la_LIBADD) $(LIBS) ivi-shell/ivi_shell_la-ivi-layout.lo: ivi-shell/$(am__dirstamp) \ ivi-shell/$(DEPDIR)/$(am__dirstamp) ivi-shell/ivi_shell_la-ivi-layout-transition.lo: \ ivi-shell/$(am__dirstamp) ivi-shell/$(DEPDIR)/$(am__dirstamp) ivi-shell/ivi_shell_la-ivi-shell.lo: ivi-shell/$(am__dirstamp) \ ivi-shell/$(DEPDIR)/$(am__dirstamp) ivi-shell/ivi_shell_la-input-panel-ivi.lo: ivi-shell/$(am__dirstamp) \ ivi-shell/$(DEPDIR)/$(am__dirstamp) protocol/ivi_shell_la-ivi-application-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) ivi-shell.la: $(ivi_shell_la_OBJECTS) $(ivi_shell_la_DEPENDENCIES) $(EXTRA_ivi_shell_la_DEPENDENCIES) $(AM_V_CCLD)$(ivi_shell_la_LINK) $(am_ivi_shell_la_rpath) $(ivi_shell_la_OBJECTS) $(ivi_shell_la_LIBADD) $(LIBS) libweston/libsession_helper_la-launcher-util.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libsession_helper_la-launcher-weston-launch.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libsession_helper_la-launcher-direct.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libsession_helper_la-dbus.lo: libweston/$(am__dirstamp) \ libweston/$(DEPDIR)/$(am__dirstamp) libweston/libsession_helper_la-launcher-logind.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libsession-helper.la: $(libsession_helper_la_OBJECTS) $(libsession_helper_la_DEPENDENCIES) $(EXTRA_libsession_helper_la_DEPENDENCIES) $(AM_V_CCLD)$(libsession_helper_la_LINK) $(libsession_helper_la_OBJECTS) $(libsession_helper_la_LIBADD) $(LIBS) shared/$(am__dirstamp): @$(MKDIR_P) shared @: > shared/$(am__dirstamp) shared/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) shared/$(DEPDIR) @: > shared/$(DEPDIR)/$(am__dirstamp) shared/libshared_cairo_la-config-parser.lo: shared/$(am__dirstamp) \ shared/$(DEPDIR)/$(am__dirstamp) shared/libshared_cairo_la-option-parser.lo: shared/$(am__dirstamp) \ shared/$(DEPDIR)/$(am__dirstamp) shared/libshared_cairo_la-file-util.lo: shared/$(am__dirstamp) \ shared/$(DEPDIR)/$(am__dirstamp) shared/libshared_cairo_la-os-compatibility.lo: shared/$(am__dirstamp) \ shared/$(DEPDIR)/$(am__dirstamp) shared/libshared_cairo_la-xalloc.lo: shared/$(am__dirstamp) \ shared/$(DEPDIR)/$(am__dirstamp) shared/libshared_cairo_la-image-loader.lo: shared/$(am__dirstamp) \ shared/$(DEPDIR)/$(am__dirstamp) shared/libshared_cairo_la-cairo-util.lo: shared/$(am__dirstamp) \ shared/$(DEPDIR)/$(am__dirstamp) shared/libshared_cairo_la-frame.lo: shared/$(am__dirstamp) \ shared/$(DEPDIR)/$(am__dirstamp) libshared-cairo.la: $(libshared_cairo_la_OBJECTS) $(libshared_cairo_la_DEPENDENCIES) $(EXTRA_libshared_cairo_la_DEPENDENCIES) $(AM_V_CCLD)$(libshared_cairo_la_LINK) $(libshared_cairo_la_OBJECTS) $(libshared_cairo_la_LIBADD) $(LIBS) shared/libshared_la-config-parser.lo: shared/$(am__dirstamp) \ shared/$(DEPDIR)/$(am__dirstamp) shared/libshared_la-option-parser.lo: shared/$(am__dirstamp) \ shared/$(DEPDIR)/$(am__dirstamp) shared/libshared_la-file-util.lo: shared/$(am__dirstamp) \ shared/$(DEPDIR)/$(am__dirstamp) shared/libshared_la-os-compatibility.lo: shared/$(am__dirstamp) \ shared/$(DEPDIR)/$(am__dirstamp) shared/libshared_la-xalloc.lo: shared/$(am__dirstamp) \ shared/$(DEPDIR)/$(am__dirstamp) libshared.la: $(libshared_la_OBJECTS) $(libshared_la_DEPENDENCIES) $(EXTRA_libshared_la_DEPENDENCIES) $(AM_V_CCLD)$(libshared_la_LINK) $(libshared_la_OBJECTS) $(libshared_la_LIBADD) $(LIBS) tests/libtest_client_la-weston-test-client-helper.lo: \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) protocol/libtest_client_la-weston-test-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) libtest-client.la: $(libtest_client_la_OBJECTS) $(libtest_client_la_DEPENDENCIES) $(EXTRA_libtest_client_la_DEPENDENCIES) $(AM_V_CCLD)$(libtest_client_la_LINK) $(libtest_client_la_OBJECTS) $(libtest_client_la_LIBADD) $(LIBS) tests/libtest_runner_la-weston-test-runner.lo: tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) libtest-runner.la: $(libtest_runner_la_OBJECTS) $(libtest_runner_la_DEPENDENCIES) $(EXTRA_libtest_runner_la_DEPENDENCIES) $(AM_V_CCLD)$(libtest_runner_la_LINK) $(libtest_runner_la_OBJECTS) $(libtest_runner_la_LIBADD) $(LIBS) clients/$(am__dirstamp): @$(MKDIR_P) clients @: > clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) clients/$(DEPDIR) @: > clients/$(DEPDIR)/$(am__dirstamp) clients/libtoytoolkit_la-window.lo: clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) protocol/libtoytoolkit_la-text-cursor-position-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/libtoytoolkit_la-viewporter-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/libtoytoolkit_la-xdg-shell-unstable-v6-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/libtoytoolkit_la-ivi-application-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/libtoytoolkit_la-pointer-constraints-unstable-v1-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/libtoytoolkit_la-relative-pointer-unstable-v1-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) libtoytoolkit.la: $(libtoytoolkit_la_OBJECTS) $(libtoytoolkit_la_DEPENDENCIES) $(EXTRA_libtoytoolkit_la_DEPENDENCIES) $(AM_V_CCLD)$(libtoytoolkit_la_LINK) $(am_libtoytoolkit_la_rpath) $(libtoytoolkit_la_OBJECTS) $(libtoytoolkit_la_LIBADD) $(LIBS) libweston/libweston_@LIBWESTON_MAJOR@_la-log.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libweston_@LIBWESTON_MAJOR@_la-compositor.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libweston_@LIBWESTON_MAJOR@_la-input.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libweston_@LIBWESTON_MAJOR@_la-data-device.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libweston_@LIBWESTON_MAJOR@_la-screenshooter.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libweston_@LIBWESTON_MAJOR@_la-clipboard.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libweston_@LIBWESTON_MAJOR@_la-zoom.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libweston_@LIBWESTON_MAJOR@_la-bindings.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libweston_@LIBWESTON_MAJOR@_la-animation.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libweston_@LIBWESTON_MAJOR@_la-noop-renderer.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libweston_@LIBWESTON_MAJOR@_la-pixman-renderer.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libweston_@LIBWESTON_MAJOR@_la-plugin-registry.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libweston_@LIBWESTON_MAJOR@_la-timeline.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/libweston_@LIBWESTON_MAJOR@_la-pixel-formats.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) shared/libweston_@LIBWESTON_MAJOR@_la-matrix.lo: \ shared/$(am__dirstamp) shared/$(DEPDIR)/$(am__dirstamp) protocol/libweston_@LIBWESTON_MAJOR@_la-weston-screenshooter-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/libweston_@LIBWESTON_MAJOR@_la-text-cursor-position-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/libweston_@LIBWESTON_MAJOR@_la-text-input-unstable-v1-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/libweston_@LIBWESTON_MAJOR@_la-input-method-unstable-v1-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/libweston_@LIBWESTON_MAJOR@_la-presentation-time-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/libweston_@LIBWESTON_MAJOR@_la-viewporter-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf-unstable-v1-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/libweston_@LIBWESTON_MAJOR@_la-relative-pointer-unstable-v1-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/libweston_@LIBWESTON_MAJOR@_la-pointer-constraints-unstable-v1-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) libweston-@LIBWESTON_MAJOR@.la: $(libweston_@LIBWESTON_MAJOR@_la_OBJECTS) $(libweston_@LIBWESTON_MAJOR@_la_DEPENDENCIES) $(EXTRA_libweston_@LIBWESTON_MAJOR@_la_DEPENDENCIES) $(AM_V_CCLD)$(libweston_@LIBWESTON_MAJOR@_la_LINK) -rpath $(libdir) $(libweston_@LIBWESTON_MAJOR@_la_OBJECTS) $(libweston_@LIBWESTON_MAJOR@_la_LIBADD) $(LIBS) libweston-desktop/$(am__dirstamp): @$(MKDIR_P) libweston-desktop @: > libweston-desktop/$(am__dirstamp) libweston-desktop/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) libweston-desktop/$(DEPDIR) @: > libweston-desktop/$(DEPDIR)/$(am__dirstamp) libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-client.lo: \ libweston-desktop/$(am__dirstamp) \ libweston-desktop/$(DEPDIR)/$(am__dirstamp) libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-libweston-desktop.lo: \ libweston-desktop/$(am__dirstamp) \ libweston-desktop/$(DEPDIR)/$(am__dirstamp) libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-seat.lo: \ libweston-desktop/$(am__dirstamp) \ libweston-desktop/$(DEPDIR)/$(am__dirstamp) libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-surface.lo: \ libweston-desktop/$(am__dirstamp) \ libweston-desktop/$(DEPDIR)/$(am__dirstamp) libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-wl-shell.lo: \ libweston-desktop/$(am__dirstamp) \ libweston-desktop/$(DEPDIR)/$(am__dirstamp) libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v6.lo: \ libweston-desktop/$(am__dirstamp) \ libweston-desktop/$(DEPDIR)/$(am__dirstamp) libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v5.lo: \ libweston-desktop/$(am__dirstamp) \ libweston-desktop/$(DEPDIR)/$(am__dirstamp) libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xwayland.lo: \ libweston-desktop/$(am__dirstamp) \ libweston-desktop/$(DEPDIR)/$(am__dirstamp) protocol/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v6-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v5-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) libweston-desktop-@LIBWESTON_MAJOR@.la: $(libweston_desktop_@LIBWESTON_MAJOR@_la_OBJECTS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_DEPENDENCIES) $(EXTRA_libweston_desktop_@LIBWESTON_MAJOR@_la_DEPENDENCIES) $(AM_V_CCLD)$(libweston_desktop_@LIBWESTON_MAJOR@_la_LINK) -rpath $(libdir) $(libweston_desktop_@LIBWESTON_MAJOR@_la_OBJECTS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_LIBADD) $(LIBS) tools/zunitc/src/$(am__dirstamp): @$(MKDIR_P) tools/zunitc/src @: > tools/zunitc/src/$(am__dirstamp) tools/zunitc/src/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) tools/zunitc/src/$(DEPDIR) @: > tools/zunitc/src/$(DEPDIR)/$(am__dirstamp) tools/zunitc/src/libzunitc_la-zuc_base_logger.lo: \ tools/zunitc/src/$(am__dirstamp) \ tools/zunitc/src/$(DEPDIR)/$(am__dirstamp) tools/zunitc/src/libzunitc_la-zuc_collector.lo: \ tools/zunitc/src/$(am__dirstamp) \ tools/zunitc/src/$(DEPDIR)/$(am__dirstamp) tools/zunitc/src/libzunitc_la-zuc_junit_reporter.lo: \ tools/zunitc/src/$(am__dirstamp) \ tools/zunitc/src/$(DEPDIR)/$(am__dirstamp) tools/zunitc/src/libzunitc_la-zunitc_impl.lo: \ tools/zunitc/src/$(am__dirstamp) \ tools/zunitc/src/$(DEPDIR)/$(am__dirstamp) libzunitc.la: $(libzunitc_la_OBJECTS) $(libzunitc_la_DEPENDENCIES) $(EXTRA_libzunitc_la_DEPENDENCIES) $(AM_V_CCLD)$(libzunitc_la_LINK) $(libzunitc_la_OBJECTS) $(libzunitc_la_LIBADD) $(LIBS) tools/zunitc/src/libzunitcmain_la-main.lo: \ tools/zunitc/src/$(am__dirstamp) \ tools/zunitc/src/$(DEPDIR)/$(am__dirstamp) libzunitcmain.la: $(libzunitcmain_la_OBJECTS) $(libzunitcmain_la_DEPENDENCIES) $(EXTRA_libzunitcmain_la_DEPENDENCIES) $(AM_V_CCLD)$(libzunitcmain_la_LINK) $(libzunitcmain_la_OBJECTS) $(libzunitcmain_la_LIBADD) $(LIBS) tests/plugin_registry_test_la-plugin-registry-test.lo: \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) plugin-registry-test.la: $(plugin_registry_test_la_OBJECTS) $(plugin_registry_test_la_DEPENDENCIES) $(EXTRA_plugin_registry_test_la_DEPENDENCIES) $(AM_V_CCLD)$(plugin_registry_test_la_LINK) $(plugin_registry_test_la_OBJECTS) $(plugin_registry_test_la_LIBADD) $(LIBS) libweston/rdp_backend_la-compositor-rdp.lo: libweston/$(am__dirstamp) \ libweston/$(DEPDIR)/$(am__dirstamp) rdp-backend.la: $(rdp_backend_la_OBJECTS) $(rdp_backend_la_DEPENDENCIES) $(EXTRA_rdp_backend_la_DEPENDENCIES) $(AM_V_CCLD)$(rdp_backend_la_LINK) $(am_rdp_backend_la_rpath) $(rdp_backend_la_OBJECTS) $(rdp_backend_la_LIBADD) $(LIBS) compositor/screen_share_la-screen-share.lo: \ compositor/$(am__dirstamp) \ compositor/$(DEPDIR)/$(am__dirstamp) protocol/screen_share_la-fullscreen-shell-unstable-v1-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) screen-share.la: $(screen_share_la_OBJECTS) $(screen_share_la_DEPENDENCIES) $(EXTRA_screen_share_la_DEPENDENCIES) $(AM_V_CCLD)$(screen_share_la_LINK) $(am_screen_share_la_rpath) $(screen_share_la_OBJECTS) $(screen_share_la_LIBADD) $(LIBS) tests/surface_global_test_la-surface-global-test.lo: \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) surface-global-test.la: $(surface_global_test_la_OBJECTS) $(surface_global_test_la_DEPENDENCIES) $(EXTRA_surface_global_test_la_DEPENDENCIES) $(AM_V_CCLD)$(surface_global_test_la_LINK) $(surface_global_test_la_OBJECTS) $(surface_global_test_la_LIBADD) $(LIBS) tests/surface_screenshot_la-surface-screenshot.lo: \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) surface-screenshot.la: $(surface_screenshot_la_OBJECTS) $(surface_screenshot_la_DEPENDENCIES) $(EXTRA_surface_screenshot_la_DEPENDENCIES) $(AM_V_CCLD)$(surface_screenshot_la_LINK) $(surface_screenshot_la_OBJECTS) $(surface_screenshot_la_LIBADD) $(LIBS) tests/surface_test_la-surface-test.lo: tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) surface-test.la: $(surface_test_la_OBJECTS) $(surface_test_la_DEPENDENCIES) $(EXTRA_surface_test_la_DEPENDENCIES) $(AM_V_CCLD)$(surface_test_la_LINK) $(surface_test_la_OBJECTS) $(surface_test_la_LIBADD) $(LIBS) compositor/systemd_notify_la-systemd-notify.lo: \ compositor/$(am__dirstamp) \ compositor/$(DEPDIR)/$(am__dirstamp) systemd-notify.la: $(systemd_notify_la_OBJECTS) $(systemd_notify_la_DEPENDENCIES) $(EXTRA_systemd_notify_la_DEPENDENCIES) $(AM_V_CCLD)$(systemd_notify_la_LINK) $(am_systemd_notify_la_rpath) $(systemd_notify_la_OBJECTS) $(systemd_notify_la_LIBADD) $(LIBS) libweston/wayland_backend_la-compositor-wayland.lo: \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) protocol/wayland_backend_la-fullscreen-shell-unstable-v1-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/wayland_backend_la-xdg-shell-unstable-v6-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) wayland-backend.la: $(wayland_backend_la_OBJECTS) $(wayland_backend_la_DEPENDENCIES) $(EXTRA_wayland_backend_la_DEPENDENCIES) $(AM_V_CCLD)$(wayland_backend_la_LINK) $(am_wayland_backend_la_rpath) $(wayland_backend_la_OBJECTS) $(wayland_backend_la_LIBADD) $(LIBS) tests/weston_test_desktop_shell_la-weston-test-desktop-shell.lo: \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) weston-test-desktop-shell.la: $(weston_test_desktop_shell_la_OBJECTS) $(weston_test_desktop_shell_la_DEPENDENCIES) $(EXTRA_weston_test_desktop_shell_la_DEPENDENCIES) $(AM_V_CCLD)$(weston_test_desktop_shell_la_LINK) $(weston_test_desktop_shell_la_OBJECTS) $(weston_test_desktop_shell_la_LIBADD) $(LIBS) tests/weston_test_la-weston-test.lo: tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) protocol/weston_test_la-weston-test-protocol.lo: \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) weston-test.la: $(weston_test_la_OBJECTS) $(weston_test_la_DEPENDENCIES) $(EXTRA_weston_test_la_DEPENDENCIES) $(AM_V_CCLD)$(weston_test_la_LINK) $(weston_test_la_OBJECTS) $(weston_test_la_LIBADD) $(LIBS) libweston/x11_backend_la-compositor-x11.lo: libweston/$(am__dirstamp) \ libweston/$(DEPDIR)/$(am__dirstamp) x11-backend.la: $(x11_backend_la_OBJECTS) $(x11_backend_la_DEPENDENCIES) $(EXTRA_x11_backend_la_DEPENDENCIES) $(AM_V_CCLD)$(x11_backend_la_LINK) $(am_x11_backend_la_rpath) $(x11_backend_la_OBJECTS) $(x11_backend_la_LIBADD) $(LIBS) xwayland/$(am__dirstamp): @$(MKDIR_P) xwayland @: > xwayland/$(am__dirstamp) xwayland/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) xwayland/$(DEPDIR) @: > xwayland/$(DEPDIR)/$(am__dirstamp) xwayland/xwayland_la-window-manager.lo: xwayland/$(am__dirstamp) \ xwayland/$(DEPDIR)/$(am__dirstamp) xwayland/xwayland_la-selection.lo: xwayland/$(am__dirstamp) \ xwayland/$(DEPDIR)/$(am__dirstamp) xwayland/xwayland_la-dnd.lo: xwayland/$(am__dirstamp) \ xwayland/$(DEPDIR)/$(am__dirstamp) xwayland/xwayland_la-launcher.lo: xwayland/$(am__dirstamp) \ xwayland/$(DEPDIR)/$(am__dirstamp) xwayland/xwayland_la-hash.lo: xwayland/$(am__dirstamp) \ xwayland/$(DEPDIR)/$(am__dirstamp) xwayland.la: $(xwayland_la_OBJECTS) $(xwayland_la_DEPENDENCIES) $(EXTRA_xwayland_la_DEPENDENCIES) $(AM_V_CCLD)$(xwayland_la_LINK) $(am_xwayland_la_rpath) $(xwayland_la_OBJECTS) $(xwayland_la_LIBADD) $(LIBS) install-binPROGRAMS: $(bin_PROGRAMS) @$(NORMAL_INSTALL) @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(bindir)'"; \ $(MKDIR_P) "$(DESTDIR)$(bindir)" || exit 1; \ fi; \ 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-libexecPROGRAMS: $(libexec_PROGRAMS) @$(NORMAL_INSTALL) @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(libexecdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libexecdir)" || exit 1; \ fi; \ 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)$(libexecdir)$$dir'"; \ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(libexecdir)$$dir" || exit $$?; \ } \ ; done uninstall-libexecPROGRAMS: @$(NORMAL_UNINSTALL) @list='$(libexec_PROGRAMS)'; test -n "$(libexecdir)" || 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)$(libexecdir)' && rm -f" $$files ")"; \ cd "$(DESTDIR)$(libexecdir)" && rm -f $$files clean-libexecPROGRAMS: @list='$(libexec_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 tests/bad_buffer_weston-bad-buffer-test.$(OBJEXT): \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) bad_buffer.weston$(EXEEXT): $(bad_buffer_weston_OBJECTS) $(bad_buffer_weston_DEPENDENCIES) $(EXTRA_bad_buffer_weston_DEPENDENCIES) @rm -f bad_buffer.weston$(EXEEXT) $(AM_V_CCLD)$(bad_buffer_weston_LINK) $(bad_buffer_weston_OBJECTS) $(bad_buffer_weston_LDADD) $(LIBS) tests/button_weston-button-test.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) button.weston$(EXEEXT): $(button_weston_OBJECTS) $(button_weston_DEPENDENCIES) $(EXTRA_button_weston_DEPENDENCIES) @rm -f button.weston$(EXEEXT) $(AM_V_CCLD)$(button_weston_LINK) $(button_weston_OBJECTS) $(button_weston_LDADD) $(LIBS) tests/config_parser_test-config-parser-test.$(OBJEXT): \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) config-parser.test$(EXEEXT): $(config_parser_test_OBJECTS) $(config_parser_test_DEPENDENCIES) $(EXTRA_config_parser_test_DEPENDENCIES) @rm -f config-parser.test$(EXEEXT) $(AM_V_CCLD)$(config_parser_test_LINK) $(config_parser_test_OBJECTS) $(config_parser_test_LDADD) $(LIBS) tests/devices_weston-devices-test.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) devices.weston$(EXEEXT): $(devices_weston_OBJECTS) $(devices_weston_DEPENDENCIES) $(EXTRA_devices_weston_DEPENDENCIES) @rm -f devices.weston$(EXEEXT) $(AM_V_CCLD)$(devices_weston_LINK) $(devices_weston_OBJECTS) $(devices_weston_LDADD) $(LIBS) tests/event_weston-event-test.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) event.weston$(EXEEXT): $(event_weston_OBJECTS) $(event_weston_DEPENDENCIES) $(EXTRA_event_weston_DEPENDENCIES) @rm -f event.weston$(EXEEXT) $(AM_V_CCLD)$(event_weston_LINK) $(event_weston_OBJECTS) $(event_weston_LDADD) $(LIBS) tests/internal_screenshot_weston-internal-screenshot-test.$(OBJEXT): \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) internal-screenshot.weston$(EXEEXT): $(internal_screenshot_weston_OBJECTS) $(internal_screenshot_weston_DEPENDENCIES) $(EXTRA_internal_screenshot_weston_DEPENDENCIES) @rm -f internal-screenshot.weston$(EXEEXT) $(AM_V_CCLD)$(internal_screenshot_weston_LINK) $(internal_screenshot_weston_OBJECTS) $(internal_screenshot_weston_LDADD) $(LIBS) tests/ivi_layout_ivi-ivi_layout-test.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) protocol/ivi_layout_ivi-ivi-application-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) ivi-layout.ivi$(EXEEXT): $(ivi_layout_ivi_OBJECTS) $(ivi_layout_ivi_DEPENDENCIES) $(EXTRA_ivi_layout_ivi_DEPENDENCIES) @rm -f ivi-layout.ivi$(EXEEXT) $(AM_V_CCLD)$(ivi_layout_ivi_LINK) $(ivi_layout_ivi_OBJECTS) $(ivi_layout_ivi_LDADD) $(LIBS) tests/ivi_shell_app_weston-ivi-shell-app-test.$(OBJEXT): \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) protocol/ivi_shell_app_weston-ivi-application-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) ivi-shell-app.weston$(EXEEXT): $(ivi_shell_app_weston_OBJECTS) $(ivi_shell_app_weston_DEPENDENCIES) $(EXTRA_ivi_shell_app_weston_DEPENDENCIES) @rm -f ivi-shell-app.weston$(EXEEXT) $(AM_V_CCLD)$(ivi_shell_app_weston_LINK) $(ivi_shell_app_weston_OBJECTS) $(ivi_shell_app_weston_LDADD) $(LIBS) tests/keyboard_weston-keyboard-test.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) keyboard.weston$(EXEEXT): $(keyboard_weston_OBJECTS) $(keyboard_weston_DEPENDENCIES) $(EXTRA_keyboard_weston_DEPENDENCIES) @rm -f keyboard.weston$(EXEEXT) $(AM_V_CCLD)$(keyboard_weston_LINK) $(keyboard_weston_OBJECTS) $(keyboard_weston_LDADD) $(LIBS) tests/matrix_test-matrix-test.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) shared/matrix_test-matrix.$(OBJEXT): shared/$(am__dirstamp) \ shared/$(DEPDIR)/$(am__dirstamp) matrix-test$(EXEEXT): $(matrix_test_OBJECTS) $(matrix_test_DEPENDENCIES) $(EXTRA_matrix_test_DEPENDENCIES) @rm -f matrix-test$(EXEEXT) $(AM_V_CCLD)$(LINK) $(matrix_test_OBJECTS) $(matrix_test_LDADD) $(LIBS) tests/presentation_weston-presentation-test.$(OBJEXT): \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) protocol/presentation_weston-presentation-time-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) presentation.weston$(EXEEXT): $(presentation_weston_OBJECTS) $(presentation_weston_DEPENDENCIES) $(EXTRA_presentation_weston_DEPENDENCIES) @rm -f presentation.weston$(EXEEXT) $(AM_V_CCLD)$(presentation_weston_LINK) $(presentation_weston_OBJECTS) $(presentation_weston_LDADD) $(LIBS) tests/roles_weston-roles-test.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) roles.weston$(EXEEXT): $(roles_weston_OBJECTS) $(roles_weston_DEPENDENCIES) $(EXTRA_roles_weston_DEPENDENCIES) @rm -f roles.weston$(EXEEXT) $(AM_V_CCLD)$(roles_weston_LINK) $(roles_weston_OBJECTS) $(roles_weston_LDADD) $(LIBS) tests/setbacklight-setbacklight.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) libweston/setbacklight-libbacklight.$(OBJEXT): \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) setbacklight$(EXEEXT): $(setbacklight_OBJECTS) $(setbacklight_DEPENDENCIES) $(EXTRA_setbacklight_DEPENDENCIES) @rm -f setbacklight$(EXEEXT) $(AM_V_CCLD)$(setbacklight_LINK) $(setbacklight_OBJECTS) $(setbacklight_LDADD) $(LIBS) libweston/spring_tool-spring-tool.$(OBJEXT): \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) libweston/spring_tool-animation.$(OBJEXT): libweston/$(am__dirstamp) \ libweston/$(DEPDIR)/$(am__dirstamp) shared/spring_tool-matrix.$(OBJEXT): shared/$(am__dirstamp) \ shared/$(DEPDIR)/$(am__dirstamp) spring-tool$(EXEEXT): $(spring_tool_OBJECTS) $(spring_tool_DEPENDENCIES) $(EXTRA_spring_tool_DEPENDENCIES) @rm -f spring-tool$(EXEEXT) $(AM_V_CCLD)$(spring_tool_LINK) $(spring_tool_OBJECTS) $(spring_tool_LDADD) $(LIBS) tests/string_test-string-test.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) string.test$(EXEEXT): $(string_test_OBJECTS) $(string_test_DEPENDENCIES) $(EXTRA_string_test_DEPENDENCIES) @rm -f string.test$(EXEEXT) $(AM_V_CCLD)$(string_test_LINK) $(string_test_OBJECTS) $(string_test_LDADD) $(LIBS) tests/subsurface_shot_weston-subsurface-shot-test.$(OBJEXT): \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) subsurface-shot.weston$(EXEEXT): $(subsurface_shot_weston_OBJECTS) $(subsurface_shot_weston_DEPENDENCIES) $(EXTRA_subsurface_shot_weston_DEPENDENCIES) @rm -f subsurface-shot.weston$(EXEEXT) $(AM_V_CCLD)$(subsurface_shot_weston_LINK) $(subsurface_shot_weston_OBJECTS) $(subsurface_shot_weston_LDADD) $(LIBS) tests/subsurface_weston-subsurface-test.$(OBJEXT): \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) subsurface.weston$(EXEEXT): $(subsurface_weston_OBJECTS) $(subsurface_weston_DEPENDENCIES) $(EXTRA_subsurface_weston_DEPENDENCIES) @rm -f subsurface.weston$(EXEEXT) $(AM_V_CCLD)$(subsurface_weston_LINK) $(subsurface_weston_OBJECTS) $(subsurface_weston_LDADD) $(LIBS) tests/text_weston-text-test.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) protocol/text_weston-text-input-unstable-v1-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) text.weston$(EXEEXT): $(text_weston_OBJECTS) $(text_weston_DEPENDENCIES) $(EXTRA_text_weston_DEPENDENCIES) @rm -f text.weston$(EXEEXT) $(AM_V_CCLD)$(text_weston_LINK) $(text_weston_OBJECTS) $(text_weston_LDADD) $(LIBS) tests/timespec_test-timespec-test.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) timespec.test$(EXEEXT): $(timespec_test_OBJECTS) $(timespec_test_DEPENDENCIES) $(EXTRA_timespec_test_DEPENDENCIES) @rm -f timespec.test$(EXEEXT) $(AM_V_CCLD)$(timespec_test_LINK) $(timespec_test_OBJECTS) $(timespec_test_LDADD) $(LIBS) tests/vertex-clip-test.$(OBJEXT): tests/$(am__dirstamp) \ tests/$(DEPDIR)/$(am__dirstamp) libweston/vertex-clipping.$(OBJEXT): libweston/$(am__dirstamp) \ libweston/$(DEPDIR)/$(am__dirstamp) vertex-clip.test$(EXEEXT): $(vertex_clip_test_OBJECTS) $(vertex_clip_test_DEPENDENCIES) $(EXTRA_vertex_clip_test_DEPENDENCIES) @rm -f vertex-clip.test$(EXEEXT) $(AM_V_CCLD)$(LINK) $(vertex_clip_test_OBJECTS) $(vertex_clip_test_LDADD) $(LIBS) tests/viewporter_weston-viewporter-test.$(OBJEXT): \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) protocol/viewporter_weston-viewporter-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) viewporter.weston$(EXEEXT): $(viewporter_weston_OBJECTS) $(viewporter_weston_DEPENDENCIES) $(EXTRA_viewporter_weston_DEPENDENCIES) @rm -f viewporter.weston$(EXEEXT) $(AM_V_CCLD)$(viewporter_weston_LINK) $(viewporter_weston_OBJECTS) $(viewporter_weston_LDADD) $(LIBS) wcap/$(am__dirstamp): @$(MKDIR_P) wcap @: > wcap/$(am__dirstamp) wcap/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) wcap/$(DEPDIR) @: > wcap/$(DEPDIR)/$(am__dirstamp) wcap/wcap_decode-main.$(OBJEXT): wcap/$(am__dirstamp) \ wcap/$(DEPDIR)/$(am__dirstamp) wcap/wcap_decode-wcap-decode.$(OBJEXT): wcap/$(am__dirstamp) \ wcap/$(DEPDIR)/$(am__dirstamp) wcap-decode$(EXEEXT): $(wcap_decode_OBJECTS) $(wcap_decode_DEPENDENCIES) $(EXTRA_wcap_decode_DEPENDENCIES) @rm -f wcap-decode$(EXEEXT) $(AM_V_CCLD)$(wcap_decode_LINK) $(wcap_decode_OBJECTS) $(wcap_decode_LDADD) $(LIBS) compositor/weston-main.$(OBJEXT): compositor/$(am__dirstamp) \ compositor/$(DEPDIR)/$(am__dirstamp) compositor/weston-weston-screenshooter.$(OBJEXT): \ compositor/$(am__dirstamp) \ compositor/$(DEPDIR)/$(am__dirstamp) compositor/weston-text-backend.$(OBJEXT): compositor/$(am__dirstamp) \ compositor/$(DEPDIR)/$(am__dirstamp) compositor/weston-xwayland.$(OBJEXT): compositor/$(am__dirstamp) \ compositor/$(DEPDIR)/$(am__dirstamp) weston$(EXEEXT): $(weston_OBJECTS) $(weston_DEPENDENCIES) $(EXTRA_weston_DEPENDENCIES) @rm -f weston$(EXEEXT) $(AM_V_CCLD)$(weston_LINK) $(weston_OBJECTS) $(weston_LDADD) $(LIBS) clients/weston_calibrator-calibrator.$(OBJEXT): \ clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp) shared/weston_calibrator-matrix.$(OBJEXT): shared/$(am__dirstamp) \ shared/$(DEPDIR)/$(am__dirstamp) weston-calibrator$(EXEEXT): $(weston_calibrator_OBJECTS) $(weston_calibrator_DEPENDENCIES) $(EXTRA_weston_calibrator_DEPENDENCIES) @rm -f weston-calibrator$(EXEEXT) $(AM_V_CCLD)$(weston_calibrator_LINK) $(weston_calibrator_OBJECTS) $(weston_calibrator_LDADD) $(LIBS) clients/weston_clickdot-clickdot.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) weston-clickdot$(EXEEXT): $(weston_clickdot_OBJECTS) $(weston_clickdot_DEPENDENCIES) $(EXTRA_weston_clickdot_DEPENDENCIES) @rm -f weston-clickdot$(EXEEXT) $(AM_V_CCLD)$(weston_clickdot_LINK) $(weston_clickdot_OBJECTS) $(weston_clickdot_LDADD) $(LIBS) clients/weston_cliptest-cliptest.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) libweston/weston_cliptest-vertex-clipping.$(OBJEXT): \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) weston-cliptest$(EXEEXT): $(weston_cliptest_OBJECTS) $(weston_cliptest_DEPENDENCIES) $(EXTRA_weston_cliptest_DEPENDENCIES) @rm -f weston-cliptest$(EXEEXT) $(AM_V_CCLD)$(weston_cliptest_LINK) $(weston_cliptest_OBJECTS) $(weston_cliptest_LDADD) $(LIBS) clients/weston_confine-confine.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) weston-confine$(EXEEXT): $(weston_confine_OBJECTS) $(weston_confine_DEPENDENCIES) $(EXTRA_weston_confine_DEPENDENCIES) @rm -f weston-confine$(EXEEXT) $(AM_V_CCLD)$(weston_confine_LINK) $(weston_confine_OBJECTS) $(weston_confine_LDADD) $(LIBS) clients/weston_desktop_shell-desktop-shell.$(OBJEXT): \ clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp) protocol/weston_desktop_shell-weston-desktop-shell-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) weston-desktop-shell$(EXEEXT): $(weston_desktop_shell_OBJECTS) $(weston_desktop_shell_DEPENDENCIES) $(EXTRA_weston_desktop_shell_DEPENDENCIES) @rm -f weston-desktop-shell$(EXEEXT) $(AM_V_CCLD)$(weston_desktop_shell_LINK) $(weston_desktop_shell_OBJECTS) $(weston_desktop_shell_LDADD) $(LIBS) clients/weston_dnd-dnd.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) weston-dnd$(EXEEXT): $(weston_dnd_OBJECTS) $(weston_dnd_DEPENDENCIES) $(EXTRA_weston_dnd_DEPENDENCIES) @rm -f weston-dnd$(EXEEXT) $(AM_V_CCLD)$(weston_dnd_LINK) $(weston_dnd_OBJECTS) $(weston_dnd_LDADD) $(LIBS) clients/weston_editor-editor.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) protocol/weston_editor-text-input-unstable-v1-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) weston-editor$(EXEEXT): $(weston_editor_OBJECTS) $(weston_editor_DEPENDENCIES) $(EXTRA_weston_editor_DEPENDENCIES) @rm -f weston-editor$(EXEEXT) $(AM_V_CCLD)$(weston_editor_LINK) $(weston_editor_OBJECTS) $(weston_editor_LDADD) $(LIBS) clients/weston_eventdemo-eventdemo.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) weston-eventdemo$(EXEEXT): $(weston_eventdemo_OBJECTS) $(weston_eventdemo_DEPENDENCIES) $(EXTRA_weston_eventdemo_DEPENDENCIES) @rm -f weston-eventdemo$(EXEEXT) $(AM_V_CCLD)$(weston_eventdemo_LINK) $(weston_eventdemo_OBJECTS) $(weston_eventdemo_LDADD) $(LIBS) clients/weston_flower-flower.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) weston-flower$(EXEEXT): $(weston_flower_OBJECTS) $(weston_flower_DEPENDENCIES) $(EXTRA_weston_flower_DEPENDENCIES) @rm -f weston-flower$(EXEEXT) $(AM_V_CCLD)$(weston_flower_LINK) $(weston_flower_OBJECTS) $(weston_flower_LDADD) $(LIBS) clients/weston_fullscreen-fullscreen.$(OBJEXT): \ clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp) protocol/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) weston-fullscreen$(EXEEXT): $(weston_fullscreen_OBJECTS) $(weston_fullscreen_DEPENDENCIES) $(EXTRA_weston_fullscreen_DEPENDENCIES) @rm -f weston-fullscreen$(EXEEXT) $(AM_V_CCLD)$(weston_fullscreen_LINK) $(weston_fullscreen_OBJECTS) $(weston_fullscreen_LDADD) $(LIBS) clients/weston_gears-gears.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) weston-gears$(EXEEXT): $(weston_gears_OBJECTS) $(weston_gears_DEPENDENCIES) $(EXTRA_weston_gears_DEPENDENCIES) @rm -f weston-gears$(EXEEXT) $(AM_V_CCLD)$(weston_gears_LINK) $(weston_gears_OBJECTS) $(weston_gears_LDADD) $(LIBS) clients/weston_image-image.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) weston-image$(EXEEXT): $(weston_image_OBJECTS) $(weston_image_DEPENDENCIES) $(EXTRA_weston_image_DEPENDENCIES) @rm -f weston-image$(EXEEXT) $(AM_V_CCLD)$(weston_image_LINK) $(weston_image_OBJECTS) $(weston_image_LDADD) $(LIBS) clients/weston_info-weston-info.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) protocol/weston_info-presentation-time-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) weston-info$(EXEEXT): $(weston_info_OBJECTS) $(weston_info_DEPENDENCIES) $(EXTRA_weston_info_DEPENDENCIES) @rm -f weston-info$(EXEEXT) $(AM_V_CCLD)$(weston_info_LINK) $(weston_info_OBJECTS) $(weston_info_LDADD) $(LIBS) clients/weston_ivi_shell_user_interface-ivi-shell-user-interface.$(OBJEXT): \ clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp) protocol/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/weston_ivi_shell_user_interface-ivi-application-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) weston-ivi-shell-user-interface$(EXEEXT): $(weston_ivi_shell_user_interface_OBJECTS) $(weston_ivi_shell_user_interface_DEPENDENCIES) $(EXTRA_weston_ivi_shell_user_interface_DEPENDENCIES) @rm -f weston-ivi-shell-user-interface$(EXEEXT) $(AM_V_CCLD)$(weston_ivi_shell_user_interface_LINK) $(weston_ivi_shell_user_interface_OBJECTS) $(weston_ivi_shell_user_interface_LDADD) $(LIBS) clients/weston_keyboard-keyboard.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) protocol/weston_keyboard-weston-desktop-shell-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/weston_keyboard-input-method-unstable-v1-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) weston-keyboard$(EXEEXT): $(weston_keyboard_OBJECTS) $(weston_keyboard_DEPENDENCIES) $(EXTRA_weston_keyboard_DEPENDENCIES) @rm -f weston-keyboard$(EXEEXT) $(AM_V_CCLD)$(weston_keyboard_LINK) $(weston_keyboard_OBJECTS) $(weston_keyboard_LDADD) $(LIBS) libweston/weston_launch-weston-launch.$(OBJEXT): \ libweston/$(am__dirstamp) libweston/$(DEPDIR)/$(am__dirstamp) weston-launch$(EXEEXT): $(weston_launch_OBJECTS) $(weston_launch_DEPENDENCIES) $(EXTRA_weston_launch_DEPENDENCIES) @rm -f weston-launch$(EXEEXT) $(AM_V_CCLD)$(weston_launch_LINK) $(weston_launch_OBJECTS) $(weston_launch_LDADD) $(LIBS) clients/weston_multi_resource-multi-resource.$(OBJEXT): \ clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp) weston-multi-resource$(EXEEXT): $(weston_multi_resource_OBJECTS) $(weston_multi_resource_DEPENDENCIES) $(EXTRA_weston_multi_resource_DEPENDENCIES) @rm -f weston-multi-resource$(EXEEXT) $(AM_V_CCLD)$(weston_multi_resource_LINK) $(weston_multi_resource_OBJECTS) $(weston_multi_resource_LDADD) $(LIBS) clients/weston_nested-nested.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) weston-nested$(EXEEXT): $(weston_nested_OBJECTS) $(weston_nested_DEPENDENCIES) $(EXTRA_weston_nested_DEPENDENCIES) @rm -f weston-nested$(EXEEXT) $(AM_V_CCLD)$(weston_nested_LINK) $(weston_nested_OBJECTS) $(weston_nested_LDADD) $(LIBS) clients/weston_nested_client-nested-client.$(OBJEXT): \ clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp) weston-nested-client$(EXEEXT): $(weston_nested_client_OBJECTS) $(weston_nested_client_DEPENDENCIES) $(EXTRA_weston_nested_client_DEPENDENCIES) @rm -f weston-nested-client$(EXEEXT) $(AM_V_CCLD)$(weston_nested_client_LINK) $(weston_nested_client_OBJECTS) $(weston_nested_client_LDADD) $(LIBS) clients/weston_presentation_shm-presentation-shm.$(OBJEXT): \ clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp) protocol/weston_presentation_shm-presentation-time-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) weston-presentation-shm$(EXEEXT): $(weston_presentation_shm_OBJECTS) $(weston_presentation_shm_DEPENDENCIES) $(EXTRA_weston_presentation_shm_DEPENDENCIES) @rm -f weston-presentation-shm$(EXEEXT) $(AM_V_CCLD)$(weston_presentation_shm_LINK) $(weston_presentation_shm_OBJECTS) $(weston_presentation_shm_LDADD) $(LIBS) clients/weston_resizor-resizor.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) weston-resizor$(EXEEXT): $(weston_resizor_OBJECTS) $(weston_resizor_DEPENDENCIES) $(EXTRA_weston_resizor_DEPENDENCIES) @rm -f weston-resizor$(EXEEXT) $(AM_V_CCLD)$(weston_resizor_LINK) $(weston_resizor_OBJECTS) $(weston_resizor_LDADD) $(LIBS) clients/weston_scaler-scaler.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) weston-scaler$(EXEEXT): $(weston_scaler_OBJECTS) $(weston_scaler_DEPENDENCIES) $(EXTRA_weston_scaler_DEPENDENCIES) @rm -f weston-scaler$(EXEEXT) $(AM_V_CCLD)$(weston_scaler_LINK) $(weston_scaler_OBJECTS) $(weston_scaler_LDADD) $(LIBS) clients/weston_screenshooter-screenshot.$(OBJEXT): \ clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp) protocol/weston_screenshooter-weston-screenshooter-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) weston-screenshooter$(EXEEXT): $(weston_screenshooter_OBJECTS) $(weston_screenshooter_DEPENDENCIES) $(EXTRA_weston_screenshooter_DEPENDENCIES) @rm -f weston-screenshooter$(EXEEXT) $(AM_V_CCLD)$(weston_screenshooter_LINK) $(weston_screenshooter_OBJECTS) $(weston_screenshooter_LDADD) $(LIBS) clients/weston_simple_damage-simple-damage.$(OBJEXT): \ clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp) protocol/weston_simple_damage-viewporter-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/weston_simple_damage-xdg-shell-unstable-v6-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) weston-simple-damage$(EXEEXT): $(weston_simple_damage_OBJECTS) $(weston_simple_damage_DEPENDENCIES) $(EXTRA_weston_simple_damage_DEPENDENCIES) @rm -f weston-simple-damage$(EXEEXT) $(AM_V_CCLD)$(weston_simple_damage_LINK) $(weston_simple_damage_OBJECTS) $(weston_simple_damage_LDADD) $(LIBS) clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.$(OBJEXT): \ clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp) protocol/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) weston-simple-dmabuf-drm$(EXEEXT): $(weston_simple_dmabuf_drm_OBJECTS) $(weston_simple_dmabuf_drm_DEPENDENCIES) $(EXTRA_weston_simple_dmabuf_drm_DEPENDENCIES) @rm -f weston-simple-dmabuf-drm$(EXEEXT) $(AM_V_CCLD)$(weston_simple_dmabuf_drm_LINK) $(weston_simple_dmabuf_drm_OBJECTS) $(weston_simple_dmabuf_drm_LDADD) $(LIBS) clients/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.$(OBJEXT): \ clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp) protocol/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) weston-simple-dmabuf-v4l$(EXEEXT): $(weston_simple_dmabuf_v4l_OBJECTS) $(weston_simple_dmabuf_v4l_DEPENDENCIES) $(EXTRA_weston_simple_dmabuf_v4l_DEPENDENCIES) @rm -f weston-simple-dmabuf-v4l$(EXEEXT) $(AM_V_CCLD)$(weston_simple_dmabuf_v4l_LINK) $(weston_simple_dmabuf_v4l_OBJECTS) $(weston_simple_dmabuf_v4l_LDADD) $(LIBS) clients/weston_simple_egl-simple-egl.$(OBJEXT): \ clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp) protocol/weston_simple_egl-xdg-shell-unstable-v6-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/weston_simple_egl-ivi-application-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) weston-simple-egl$(EXEEXT): $(weston_simple_egl_OBJECTS) $(weston_simple_egl_DEPENDENCIES) $(EXTRA_weston_simple_egl_DEPENDENCIES) @rm -f weston-simple-egl$(EXEEXT) $(AM_V_CCLD)$(weston_simple_egl_LINK) $(weston_simple_egl_OBJECTS) $(weston_simple_egl_LDADD) $(LIBS) clients/weston_simple_im-simple-im.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) protocol/weston_simple_im-input-method-unstable-v1-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) weston-simple-im$(EXEEXT): $(weston_simple_im_OBJECTS) $(weston_simple_im_DEPENDENCIES) $(EXTRA_weston_simple_im_DEPENDENCIES) @rm -f weston-simple-im$(EXEEXT) $(AM_V_CCLD)$(weston_simple_im_LINK) $(weston_simple_im_OBJECTS) $(weston_simple_im_LDADD) $(LIBS) clients/weston_simple_shm-simple-shm.$(OBJEXT): \ clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp) protocol/weston_simple_shm-xdg-shell-unstable-v6-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) protocol/weston_simple_shm-ivi-application-protocol.$(OBJEXT): \ protocol/$(am__dirstamp) protocol/$(DEPDIR)/$(am__dirstamp) weston-simple-shm$(EXEEXT): $(weston_simple_shm_OBJECTS) $(weston_simple_shm_DEPENDENCIES) $(EXTRA_weston_simple_shm_DEPENDENCIES) @rm -f weston-simple-shm$(EXEEXT) $(AM_V_CCLD)$(weston_simple_shm_LINK) $(weston_simple_shm_OBJECTS) $(weston_simple_shm_LDADD) $(LIBS) clients/weston_simple_touch-simple-touch.$(OBJEXT): \ clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp) weston-simple-touch$(EXEEXT): $(weston_simple_touch_OBJECTS) $(weston_simple_touch_DEPENDENCIES) $(EXTRA_weston_simple_touch_DEPENDENCIES) @rm -f weston-simple-touch$(EXEEXT) $(AM_V_CCLD)$(weston_simple_touch_LINK) $(weston_simple_touch_OBJECTS) $(weston_simple_touch_LDADD) $(LIBS) clients/weston_smoke-smoke.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) weston-smoke$(EXEEXT): $(weston_smoke_OBJECTS) $(weston_smoke_DEPENDENCIES) $(EXTRA_weston_smoke_DEPENDENCIES) @rm -f weston-smoke$(EXEEXT) $(AM_V_CCLD)$(weston_smoke_LINK) $(weston_smoke_OBJECTS) $(weston_smoke_LDADD) $(LIBS) clients/weston_stacking-stacking.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) weston-stacking$(EXEEXT): $(weston_stacking_OBJECTS) $(weston_stacking_DEPENDENCIES) $(EXTRA_weston_stacking_DEPENDENCIES) @rm -f weston-stacking$(EXEEXT) $(AM_V_CCLD)$(weston_stacking_LINK) $(weston_stacking_OBJECTS) $(weston_stacking_LDADD) $(LIBS) clients/weston_subsurfaces-subsurfaces.$(OBJEXT): \ clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp) weston-subsurfaces$(EXEEXT): $(weston_subsurfaces_OBJECTS) $(weston_subsurfaces_DEPENDENCIES) $(EXTRA_weston_subsurfaces_DEPENDENCIES) @rm -f weston-subsurfaces$(EXEEXT) $(AM_V_CCLD)$(weston_subsurfaces_LINK) $(weston_subsurfaces_OBJECTS) $(weston_subsurfaces_LDADD) $(LIBS) clients/weston_terminal-terminal.$(OBJEXT): clients/$(am__dirstamp) \ clients/$(DEPDIR)/$(am__dirstamp) weston-terminal$(EXEEXT): $(weston_terminal_OBJECTS) $(weston_terminal_DEPENDENCIES) $(EXTRA_weston_terminal_DEPENDENCIES) @rm -f weston-terminal$(EXEEXT) $(AM_V_CCLD)$(weston_terminal_LINK) $(weston_terminal_OBJECTS) $(weston_terminal_LDADD) $(LIBS) clients/weston_transformed-transformed.$(OBJEXT): \ clients/$(am__dirstamp) clients/$(DEPDIR)/$(am__dirstamp) weston-transformed$(EXEEXT): $(weston_transformed_OBJECTS) $(weston_transformed_DEPENDENCIES) $(EXTRA_weston_transformed_DEPENDENCIES) @rm -f weston-transformed$(EXEEXT) $(AM_V_CCLD)$(weston_transformed_LINK) $(weston_transformed_OBJECTS) $(weston_transformed_LDADD) $(LIBS) tests/xwayland_test_weston-xwayland-test.$(OBJEXT): \ tests/$(am__dirstamp) tests/$(DEPDIR)/$(am__dirstamp) xwayland-test.weston$(EXEEXT): $(xwayland_test_weston_OBJECTS) $(xwayland_test_weston_DEPENDENCIES) $(EXTRA_xwayland_test_weston_DEPENDENCIES) @rm -f xwayland-test.weston$(EXEEXT) $(AM_V_CCLD)$(xwayland_test_weston_LINK) $(xwayland_test_weston_OBJECTS) $(xwayland_test_weston_LDADD) $(LIBS) tools/zunitc/test/$(am__dirstamp): @$(MKDIR_P) tools/zunitc/test @: > tools/zunitc/test/$(am__dirstamp) tools/zunitc/test/$(DEPDIR)/$(am__dirstamp): @$(MKDIR_P) tools/zunitc/test/$(DEPDIR) @: > tools/zunitc/test/$(DEPDIR)/$(am__dirstamp) tools/zunitc/test/zuctest-fixtures_test.$(OBJEXT): \ tools/zunitc/test/$(am__dirstamp) \ tools/zunitc/test/$(DEPDIR)/$(am__dirstamp) tools/zunitc/test/zuctest-zunitc_test.$(OBJEXT): \ tools/zunitc/test/$(am__dirstamp) \ tools/zunitc/test/$(DEPDIR)/$(am__dirstamp) zuctest$(EXEEXT): $(zuctest_OBJECTS) $(zuctest_DEPENDENCIES) $(EXTRA_zuctest_DEPENDENCIES) @rm -f zuctest$(EXEEXT) $(AM_V_CCLD)$(zuctest_LINK) $(zuctest_OBJECTS) $(zuctest_LDADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) -rm -f clients/*.$(OBJEXT) -rm -f clients/*.lo -rm -f compositor/*.$(OBJEXT) -rm -f compositor/*.lo -rm -f desktop-shell/*.$(OBJEXT) -rm -f desktop-shell/*.lo -rm -f fullscreen-shell/*.$(OBJEXT) -rm -f fullscreen-shell/*.lo -rm -f ivi-shell/*.$(OBJEXT) -rm -f ivi-shell/*.lo -rm -f libweston-desktop/*.$(OBJEXT) -rm -f libweston-desktop/*.lo -rm -f libweston/*.$(OBJEXT) -rm -f libweston/*.lo -rm -f protocol/*.$(OBJEXT) -rm -f protocol/*.lo -rm -f shared/*.$(OBJEXT) -rm -f shared/*.lo -rm -f tests/*.$(OBJEXT) -rm -f tests/*.lo -rm -f tools/zunitc/src/*.$(OBJEXT) -rm -f tools/zunitc/src/*.lo -rm -f tools/zunitc/test/*.$(OBJEXT) -rm -f wcap/*.$(OBJEXT) -rm -f xwayland/*.$(OBJEXT) -rm -f xwayland/*.lo distclean-compile: -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/libtoytoolkit_la-window.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_calibrator-calibrator.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_clickdot-clickdot.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_cliptest-cliptest.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_confine-confine.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_desktop_shell-desktop-shell.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_dnd-dnd.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_editor-editor.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_eventdemo-eventdemo.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_flower-flower.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_fullscreen-fullscreen.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_gears-gears.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_image-image.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_info-weston-info.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-shell-user-interface.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_keyboard-keyboard.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_multi_resource-multi-resource.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_nested-nested.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_nested_client-nested-client.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_presentation_shm-presentation-shm.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_resizor-resizor.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_scaler-scaler.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_screenshooter-screenshot.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_simple_damage-simple-damage.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_simple_dmabuf_drm-simple-dmabuf-drm.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_simple_egl-simple-egl.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_simple_im-simple-im.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_simple_shm-simple-shm.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_simple_touch-simple-touch.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_smoke-smoke.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_stacking-stacking.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_subsurfaces-subsurfaces.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_terminal-terminal.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@clients/$(DEPDIR)/weston_transformed-transformed.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@compositor/$(DEPDIR)/cms_colord_la-cms-colord.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@compositor/$(DEPDIR)/cms_colord_la-cms-helper.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@compositor/$(DEPDIR)/cms_static_la-cms-helper.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@compositor/$(DEPDIR)/cms_static_la-cms-static.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@compositor/$(DEPDIR)/screen_share_la-screen-share.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@compositor/$(DEPDIR)/systemd_notify_la-systemd-notify.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@compositor/$(DEPDIR)/weston-main.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@compositor/$(DEPDIR)/weston-text-backend.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@compositor/$(DEPDIR)/weston-weston-screenshooter.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@compositor/$(DEPDIR)/weston-xwayland.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@desktop-shell/$(DEPDIR)/desktop_shell_la-exposay.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@desktop-shell/$(DEPDIR)/desktop_shell_la-input-panel.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@desktop-shell/$(DEPDIR)/desktop_shell_la-shell.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@fullscreen-shell/$(DEPDIR)/fullscreen_shell_la-fullscreen-shell.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@ivi-shell/$(DEPDIR)/hmi_controller_la-hmi-controller.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@ivi-shell/$(DEPDIR)/ivi_shell_la-input-panel-ivi.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@ivi-shell/$(DEPDIR)/ivi_shell_la-ivi-layout-transition.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@ivi-shell/$(DEPDIR)/ivi_shell_la-ivi-layout.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@ivi-shell/$(DEPDIR)/ivi_shell_la-ivi-shell.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-client.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-libweston-desktop.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-seat.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-surface.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-wl-shell.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v5.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v6.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xwayland.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/drm_backend_la-compositor-drm.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/drm_backend_la-libbacklight.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/drm_backend_la-libinput-device.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/drm_backend_la-libinput-seat.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/drm_backend_la-vaapi-recorder.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/fbdev_backend_la-compositor-fbdev.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/fbdev_backend_la-libinput-device.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/fbdev_backend_la-libinput-seat.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/gl_renderer_la-gl-renderer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/gl_renderer_la-vertex-clipping.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/headless_backend_la-compositor-headless.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libsession_helper_la-dbus.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libsession_helper_la-launcher-direct.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libsession_helper_la-launcher-logind.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libsession_helper_la-launcher-util.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libsession_helper_la-launcher-weston-launch.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-animation.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-bindings.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-clipboard.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-compositor.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-data-device.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-input.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-log.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-noop-renderer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-pixel-formats.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-pixman-renderer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-plugin-registry.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-screenshooter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-timeline.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-zoom.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/rdp_backend_la-compositor-rdp.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/setbacklight-libbacklight.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/spring_tool-animation.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/spring_tool-spring-tool.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/vertex-clipping.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/wayland_backend_la-compositor-wayland.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/weston_cliptest-vertex-clipping.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/weston_launch-weston-launch.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@libweston/$(DEPDIR)/x11_backend_la-compositor-x11.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/desktop_shell_la-weston-desktop-shell-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/fullscreen_shell_la-fullscreen-shell-unstable-v1-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/hmi_controller_la-ivi-hmi-controller-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/ivi_layout_ivi-ivi-application-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/ivi_layout_test_la-weston-test-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/ivi_shell_app_weston-ivi-application-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/ivi_shell_la-ivi-application-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libtest_client_la-weston-test-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libtoytoolkit_la-ivi-application-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libtoytoolkit_la-pointer-constraints-unstable-v1-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libtoytoolkit_la-relative-pointer-unstable-v1-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libtoytoolkit_la-text-cursor-position-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libtoytoolkit_la-viewporter-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libtoytoolkit_la-xdg-shell-unstable-v6-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-input-method-unstable-v1-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf-unstable-v1-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-pointer-constraints-unstable-v1-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-presentation-time-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-relative-pointer-unstable-v1-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-text-cursor-position-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-text-input-unstable-v1-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-viewporter-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-weston-screenshooter-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v5-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v6-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/presentation_weston-presentation-time-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/screen_share_la-fullscreen-shell-unstable-v1-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/text_weston-text-input-unstable-v1-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/viewporter_weston-viewporter-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/wayland_backend_la-fullscreen-shell-unstable-v1-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/wayland_backend_la-xdg-shell-unstable-v6-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_desktop_shell-weston-desktop-shell-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_editor-text-input-unstable-v1-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_info-presentation-time-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-application-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_keyboard-input-method-unstable-v1-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_keyboard-weston-desktop-shell-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_presentation_shm-presentation-time-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_screenshooter-weston-screenshooter-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_simple_damage-viewporter-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_simple_damage-xdg-shell-unstable-v6-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_simple_egl-ivi-application-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_simple_egl-xdg-shell-unstable-v6-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_simple_im-input-method-unstable-v1-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_simple_shm-ivi-application-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_simple_shm-xdg-shell-unstable-v6-protocol.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@protocol/$(DEPDIR)/weston_test_la-weston-test-protocol.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/libshared_cairo_la-cairo-util.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/libshared_cairo_la-config-parser.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/libshared_cairo_la-file-util.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/libshared_cairo_la-frame.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/libshared_cairo_la-image-loader.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/libshared_cairo_la-option-parser.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/libshared_cairo_la-os-compatibility.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/libshared_cairo_la-xalloc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/libshared_la-config-parser.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/libshared_la-file-util.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/libshared_la-option-parser.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/libshared_la-os-compatibility.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/libshared_la-xalloc.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-matrix.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/matrix_test-matrix.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/spring_tool-matrix.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@shared/$(DEPDIR)/weston_calibrator-matrix.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/bad_buffer_weston-bad-buffer-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/button_weston-button-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/config_parser_test-config-parser-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/devices_weston-devices-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/event_weston-event-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/internal_screenshot_weston-internal-screenshot-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/ivi_layout_internal_test_la-ivi_layout-internal-test.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/ivi_layout_ivi-ivi_layout-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/ivi_layout_test_la-ivi_layout-test-plugin.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/ivi_shell_app_weston-ivi-shell-app-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/keyboard_weston-keyboard-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/libtest_client_la-weston-test-client-helper.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/libtest_runner_la-weston-test-runner.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/matrix_test-matrix-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/plugin_registry_test_la-plugin-registry-test.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/presentation_weston-presentation-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/roles_weston-roles-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/setbacklight-setbacklight.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/string_test-string-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/subsurface_shot_weston-subsurface-shot-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/subsurface_weston-subsurface-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/surface_global_test_la-surface-global-test.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/surface_screenshot_la-surface-screenshot.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/surface_test_la-surface-test.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/text_weston-text-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/timespec_test-timespec-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/vertex-clip-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/viewporter_weston-viewporter-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/weston_test_desktop_shell_la-weston-test-desktop-shell.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/weston_test_la-weston-test.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tests/$(DEPDIR)/xwayland_test_weston-xwayland-test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tools/zunitc/src/$(DEPDIR)/libzunitc_la-zuc_base_logger.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tools/zunitc/src/$(DEPDIR)/libzunitc_la-zuc_collector.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tools/zunitc/src/$(DEPDIR)/libzunitc_la-zuc_junit_reporter.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tools/zunitc/src/$(DEPDIR)/libzunitc_la-zunitc_impl.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tools/zunitc/src/$(DEPDIR)/libzunitcmain_la-main.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tools/zunitc/test/$(DEPDIR)/zuctest-fixtures_test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@tools/zunitc/test/$(DEPDIR)/zuctest-zunitc_test.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@wcap/$(DEPDIR)/wcap_decode-main.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@wcap/$(DEPDIR)/wcap_decode-wcap-decode.Po@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@xwayland/$(DEPDIR)/xwayland_la-dnd.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@xwayland/$(DEPDIR)/xwayland_la-hash.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@xwayland/$(DEPDIR)/xwayland_la-launcher.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@xwayland/$(DEPDIR)/xwayland_la-selection.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@xwayland/$(DEPDIR)/xwayland_la-window-manager.Plo@am__quote@ .c.o: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: @am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ @am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $< compositor/cms_colord_la-cms-colord.lo: compositor/cms-colord.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cms_colord_la_CFLAGS) $(CFLAGS) -MT compositor/cms_colord_la-cms-colord.lo -MD -MP -MF compositor/$(DEPDIR)/cms_colord_la-cms-colord.Tpo -c -o compositor/cms_colord_la-cms-colord.lo `test -f 'compositor/cms-colord.c' || echo '$(srcdir)/'`compositor/cms-colord.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) compositor/$(DEPDIR)/cms_colord_la-cms-colord.Tpo compositor/$(DEPDIR)/cms_colord_la-cms-colord.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='compositor/cms-colord.c' object='compositor/cms_colord_la-cms-colord.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cms_colord_la_CFLAGS) $(CFLAGS) -c -o compositor/cms_colord_la-cms-colord.lo `test -f 'compositor/cms-colord.c' || echo '$(srcdir)/'`compositor/cms-colord.c compositor/cms_colord_la-cms-helper.lo: compositor/cms-helper.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cms_colord_la_CFLAGS) $(CFLAGS) -MT compositor/cms_colord_la-cms-helper.lo -MD -MP -MF compositor/$(DEPDIR)/cms_colord_la-cms-helper.Tpo -c -o compositor/cms_colord_la-cms-helper.lo `test -f 'compositor/cms-helper.c' || echo '$(srcdir)/'`compositor/cms-helper.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) compositor/$(DEPDIR)/cms_colord_la-cms-helper.Tpo compositor/$(DEPDIR)/cms_colord_la-cms-helper.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='compositor/cms-helper.c' object='compositor/cms_colord_la-cms-helper.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cms_colord_la_CFLAGS) $(CFLAGS) -c -o compositor/cms_colord_la-cms-helper.lo `test -f 'compositor/cms-helper.c' || echo '$(srcdir)/'`compositor/cms-helper.c compositor/cms_static_la-cms-static.lo: compositor/cms-static.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cms_static_la_CFLAGS) $(CFLAGS) -MT compositor/cms_static_la-cms-static.lo -MD -MP -MF compositor/$(DEPDIR)/cms_static_la-cms-static.Tpo -c -o compositor/cms_static_la-cms-static.lo `test -f 'compositor/cms-static.c' || echo '$(srcdir)/'`compositor/cms-static.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) compositor/$(DEPDIR)/cms_static_la-cms-static.Tpo compositor/$(DEPDIR)/cms_static_la-cms-static.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='compositor/cms-static.c' object='compositor/cms_static_la-cms-static.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cms_static_la_CFLAGS) $(CFLAGS) -c -o compositor/cms_static_la-cms-static.lo `test -f 'compositor/cms-static.c' || echo '$(srcdir)/'`compositor/cms-static.c compositor/cms_static_la-cms-helper.lo: compositor/cms-helper.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cms_static_la_CFLAGS) $(CFLAGS) -MT compositor/cms_static_la-cms-helper.lo -MD -MP -MF compositor/$(DEPDIR)/cms_static_la-cms-helper.Tpo -c -o compositor/cms_static_la-cms-helper.lo `test -f 'compositor/cms-helper.c' || echo '$(srcdir)/'`compositor/cms-helper.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) compositor/$(DEPDIR)/cms_static_la-cms-helper.Tpo compositor/$(DEPDIR)/cms_static_la-cms-helper.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='compositor/cms-helper.c' object='compositor/cms_static_la-cms-helper.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cms_static_la_CFLAGS) $(CFLAGS) -c -o compositor/cms_static_la-cms-helper.lo `test -f 'compositor/cms-helper.c' || echo '$(srcdir)/'`compositor/cms-helper.c desktop-shell/desktop_shell_la-shell.lo: desktop-shell/shell.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(desktop_shell_la_CPPFLAGS) $(CPPFLAGS) $(desktop_shell_la_CFLAGS) $(CFLAGS) -MT desktop-shell/desktop_shell_la-shell.lo -MD -MP -MF desktop-shell/$(DEPDIR)/desktop_shell_la-shell.Tpo -c -o desktop-shell/desktop_shell_la-shell.lo `test -f 'desktop-shell/shell.c' || echo '$(srcdir)/'`desktop-shell/shell.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) desktop-shell/$(DEPDIR)/desktop_shell_la-shell.Tpo desktop-shell/$(DEPDIR)/desktop_shell_la-shell.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='desktop-shell/shell.c' object='desktop-shell/desktop_shell_la-shell.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(desktop_shell_la_CPPFLAGS) $(CPPFLAGS) $(desktop_shell_la_CFLAGS) $(CFLAGS) -c -o desktop-shell/desktop_shell_la-shell.lo `test -f 'desktop-shell/shell.c' || echo '$(srcdir)/'`desktop-shell/shell.c desktop-shell/desktop_shell_la-exposay.lo: desktop-shell/exposay.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(desktop_shell_la_CPPFLAGS) $(CPPFLAGS) $(desktop_shell_la_CFLAGS) $(CFLAGS) -MT desktop-shell/desktop_shell_la-exposay.lo -MD -MP -MF desktop-shell/$(DEPDIR)/desktop_shell_la-exposay.Tpo -c -o desktop-shell/desktop_shell_la-exposay.lo `test -f 'desktop-shell/exposay.c' || echo '$(srcdir)/'`desktop-shell/exposay.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) desktop-shell/$(DEPDIR)/desktop_shell_la-exposay.Tpo desktop-shell/$(DEPDIR)/desktop_shell_la-exposay.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='desktop-shell/exposay.c' object='desktop-shell/desktop_shell_la-exposay.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(desktop_shell_la_CPPFLAGS) $(CPPFLAGS) $(desktop_shell_la_CFLAGS) $(CFLAGS) -c -o desktop-shell/desktop_shell_la-exposay.lo `test -f 'desktop-shell/exposay.c' || echo '$(srcdir)/'`desktop-shell/exposay.c desktop-shell/desktop_shell_la-input-panel.lo: desktop-shell/input-panel.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(desktop_shell_la_CPPFLAGS) $(CPPFLAGS) $(desktop_shell_la_CFLAGS) $(CFLAGS) -MT desktop-shell/desktop_shell_la-input-panel.lo -MD -MP -MF desktop-shell/$(DEPDIR)/desktop_shell_la-input-panel.Tpo -c -o desktop-shell/desktop_shell_la-input-panel.lo `test -f 'desktop-shell/input-panel.c' || echo '$(srcdir)/'`desktop-shell/input-panel.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) desktop-shell/$(DEPDIR)/desktop_shell_la-input-panel.Tpo desktop-shell/$(DEPDIR)/desktop_shell_la-input-panel.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='desktop-shell/input-panel.c' object='desktop-shell/desktop_shell_la-input-panel.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(desktop_shell_la_CPPFLAGS) $(CPPFLAGS) $(desktop_shell_la_CFLAGS) $(CFLAGS) -c -o desktop-shell/desktop_shell_la-input-panel.lo `test -f 'desktop-shell/input-panel.c' || echo '$(srcdir)/'`desktop-shell/input-panel.c protocol/desktop_shell_la-weston-desktop-shell-protocol.lo: protocol/weston-desktop-shell-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(desktop_shell_la_CPPFLAGS) $(CPPFLAGS) $(desktop_shell_la_CFLAGS) $(CFLAGS) -MT protocol/desktop_shell_la-weston-desktop-shell-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/desktop_shell_la-weston-desktop-shell-protocol.Tpo -c -o protocol/desktop_shell_la-weston-desktop-shell-protocol.lo `test -f 'protocol/weston-desktop-shell-protocol.c' || echo '$(srcdir)/'`protocol/weston-desktop-shell-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/desktop_shell_la-weston-desktop-shell-protocol.Tpo protocol/$(DEPDIR)/desktop_shell_la-weston-desktop-shell-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/weston-desktop-shell-protocol.c' object='protocol/desktop_shell_la-weston-desktop-shell-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(desktop_shell_la_CPPFLAGS) $(CPPFLAGS) $(desktop_shell_la_CFLAGS) $(CFLAGS) -c -o protocol/desktop_shell_la-weston-desktop-shell-protocol.lo `test -f 'protocol/weston-desktop-shell-protocol.c' || echo '$(srcdir)/'`protocol/weston-desktop-shell-protocol.c libweston/drm_backend_la-compositor-drm.lo: libweston/compositor-drm.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drm_backend_la_CFLAGS) $(CFLAGS) -MT libweston/drm_backend_la-compositor-drm.lo -MD -MP -MF libweston/$(DEPDIR)/drm_backend_la-compositor-drm.Tpo -c -o libweston/drm_backend_la-compositor-drm.lo `test -f 'libweston/compositor-drm.c' || echo '$(srcdir)/'`libweston/compositor-drm.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/drm_backend_la-compositor-drm.Tpo libweston/$(DEPDIR)/drm_backend_la-compositor-drm.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/compositor-drm.c' object='libweston/drm_backend_la-compositor-drm.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drm_backend_la_CFLAGS) $(CFLAGS) -c -o libweston/drm_backend_la-compositor-drm.lo `test -f 'libweston/compositor-drm.c' || echo '$(srcdir)/'`libweston/compositor-drm.c libweston/drm_backend_la-libinput-seat.lo: libweston/libinput-seat.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drm_backend_la_CFLAGS) $(CFLAGS) -MT libweston/drm_backend_la-libinput-seat.lo -MD -MP -MF libweston/$(DEPDIR)/drm_backend_la-libinput-seat.Tpo -c -o libweston/drm_backend_la-libinput-seat.lo `test -f 'libweston/libinput-seat.c' || echo '$(srcdir)/'`libweston/libinput-seat.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/drm_backend_la-libinput-seat.Tpo libweston/$(DEPDIR)/drm_backend_la-libinput-seat.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/libinput-seat.c' object='libweston/drm_backend_la-libinput-seat.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drm_backend_la_CFLAGS) $(CFLAGS) -c -o libweston/drm_backend_la-libinput-seat.lo `test -f 'libweston/libinput-seat.c' || echo '$(srcdir)/'`libweston/libinput-seat.c libweston/drm_backend_la-libinput-device.lo: libweston/libinput-device.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drm_backend_la_CFLAGS) $(CFLAGS) -MT libweston/drm_backend_la-libinput-device.lo -MD -MP -MF libweston/$(DEPDIR)/drm_backend_la-libinput-device.Tpo -c -o libweston/drm_backend_la-libinput-device.lo `test -f 'libweston/libinput-device.c' || echo '$(srcdir)/'`libweston/libinput-device.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/drm_backend_la-libinput-device.Tpo libweston/$(DEPDIR)/drm_backend_la-libinput-device.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/libinput-device.c' object='libweston/drm_backend_la-libinput-device.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drm_backend_la_CFLAGS) $(CFLAGS) -c -o libweston/drm_backend_la-libinput-device.lo `test -f 'libweston/libinput-device.c' || echo '$(srcdir)/'`libweston/libinput-device.c libweston/drm_backend_la-libbacklight.lo: libweston/libbacklight.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drm_backend_la_CFLAGS) $(CFLAGS) -MT libweston/drm_backend_la-libbacklight.lo -MD -MP -MF libweston/$(DEPDIR)/drm_backend_la-libbacklight.Tpo -c -o libweston/drm_backend_la-libbacklight.lo `test -f 'libweston/libbacklight.c' || echo '$(srcdir)/'`libweston/libbacklight.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/drm_backend_la-libbacklight.Tpo libweston/$(DEPDIR)/drm_backend_la-libbacklight.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/libbacklight.c' object='libweston/drm_backend_la-libbacklight.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drm_backend_la_CFLAGS) $(CFLAGS) -c -o libweston/drm_backend_la-libbacklight.lo `test -f 'libweston/libbacklight.c' || echo '$(srcdir)/'`libweston/libbacklight.c libweston/drm_backend_la-vaapi-recorder.lo: libweston/vaapi-recorder.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drm_backend_la_CFLAGS) $(CFLAGS) -MT libweston/drm_backend_la-vaapi-recorder.lo -MD -MP -MF libweston/$(DEPDIR)/drm_backend_la-vaapi-recorder.Tpo -c -o libweston/drm_backend_la-vaapi-recorder.lo `test -f 'libweston/vaapi-recorder.c' || echo '$(srcdir)/'`libweston/vaapi-recorder.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/drm_backend_la-vaapi-recorder.Tpo libweston/$(DEPDIR)/drm_backend_la-vaapi-recorder.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/vaapi-recorder.c' object='libweston/drm_backend_la-vaapi-recorder.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(drm_backend_la_CFLAGS) $(CFLAGS) -c -o libweston/drm_backend_la-vaapi-recorder.lo `test -f 'libweston/vaapi-recorder.c' || echo '$(srcdir)/'`libweston/vaapi-recorder.c libweston/fbdev_backend_la-compositor-fbdev.lo: libweston/compositor-fbdev.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fbdev_backend_la_CFLAGS) $(CFLAGS) -MT libweston/fbdev_backend_la-compositor-fbdev.lo -MD -MP -MF libweston/$(DEPDIR)/fbdev_backend_la-compositor-fbdev.Tpo -c -o libweston/fbdev_backend_la-compositor-fbdev.lo `test -f 'libweston/compositor-fbdev.c' || echo '$(srcdir)/'`libweston/compositor-fbdev.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/fbdev_backend_la-compositor-fbdev.Tpo libweston/$(DEPDIR)/fbdev_backend_la-compositor-fbdev.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/compositor-fbdev.c' object='libweston/fbdev_backend_la-compositor-fbdev.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fbdev_backend_la_CFLAGS) $(CFLAGS) -c -o libweston/fbdev_backend_la-compositor-fbdev.lo `test -f 'libweston/compositor-fbdev.c' || echo '$(srcdir)/'`libweston/compositor-fbdev.c libweston/fbdev_backend_la-libinput-seat.lo: libweston/libinput-seat.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fbdev_backend_la_CFLAGS) $(CFLAGS) -MT libweston/fbdev_backend_la-libinput-seat.lo -MD -MP -MF libweston/$(DEPDIR)/fbdev_backend_la-libinput-seat.Tpo -c -o libweston/fbdev_backend_la-libinput-seat.lo `test -f 'libweston/libinput-seat.c' || echo '$(srcdir)/'`libweston/libinput-seat.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/fbdev_backend_la-libinput-seat.Tpo libweston/$(DEPDIR)/fbdev_backend_la-libinput-seat.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/libinput-seat.c' object='libweston/fbdev_backend_la-libinput-seat.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fbdev_backend_la_CFLAGS) $(CFLAGS) -c -o libweston/fbdev_backend_la-libinput-seat.lo `test -f 'libweston/libinput-seat.c' || echo '$(srcdir)/'`libweston/libinput-seat.c libweston/fbdev_backend_la-libinput-device.lo: libweston/libinput-device.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fbdev_backend_la_CFLAGS) $(CFLAGS) -MT libweston/fbdev_backend_la-libinput-device.lo -MD -MP -MF libweston/$(DEPDIR)/fbdev_backend_la-libinput-device.Tpo -c -o libweston/fbdev_backend_la-libinput-device.lo `test -f 'libweston/libinput-device.c' || echo '$(srcdir)/'`libweston/libinput-device.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/fbdev_backend_la-libinput-device.Tpo libweston/$(DEPDIR)/fbdev_backend_la-libinput-device.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/libinput-device.c' object='libweston/fbdev_backend_la-libinput-device.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(fbdev_backend_la_CFLAGS) $(CFLAGS) -c -o libweston/fbdev_backend_la-libinput-device.lo `test -f 'libweston/libinput-device.c' || echo '$(srcdir)/'`libweston/libinput-device.c fullscreen-shell/fullscreen_shell_la-fullscreen-shell.lo: fullscreen-shell/fullscreen-shell.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fullscreen_shell_la_CPPFLAGS) $(CPPFLAGS) $(fullscreen_shell_la_CFLAGS) $(CFLAGS) -MT fullscreen-shell/fullscreen_shell_la-fullscreen-shell.lo -MD -MP -MF fullscreen-shell/$(DEPDIR)/fullscreen_shell_la-fullscreen-shell.Tpo -c -o fullscreen-shell/fullscreen_shell_la-fullscreen-shell.lo `test -f 'fullscreen-shell/fullscreen-shell.c' || echo '$(srcdir)/'`fullscreen-shell/fullscreen-shell.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) fullscreen-shell/$(DEPDIR)/fullscreen_shell_la-fullscreen-shell.Tpo fullscreen-shell/$(DEPDIR)/fullscreen_shell_la-fullscreen-shell.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='fullscreen-shell/fullscreen-shell.c' object='fullscreen-shell/fullscreen_shell_la-fullscreen-shell.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fullscreen_shell_la_CPPFLAGS) $(CPPFLAGS) $(fullscreen_shell_la_CFLAGS) $(CFLAGS) -c -o fullscreen-shell/fullscreen_shell_la-fullscreen-shell.lo `test -f 'fullscreen-shell/fullscreen-shell.c' || echo '$(srcdir)/'`fullscreen-shell/fullscreen-shell.c protocol/fullscreen_shell_la-fullscreen-shell-unstable-v1-protocol.lo: protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fullscreen_shell_la_CPPFLAGS) $(CPPFLAGS) $(fullscreen_shell_la_CFLAGS) $(CFLAGS) -MT protocol/fullscreen_shell_la-fullscreen-shell-unstable-v1-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/fullscreen_shell_la-fullscreen-shell-unstable-v1-protocol.Tpo -c -o protocol/fullscreen_shell_la-fullscreen-shell-unstable-v1-protocol.lo `test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/fullscreen_shell_la-fullscreen-shell-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/fullscreen_shell_la-fullscreen-shell-unstable-v1-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/fullscreen-shell-unstable-v1-protocol.c' object='protocol/fullscreen_shell_la-fullscreen-shell-unstable-v1-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fullscreen_shell_la_CPPFLAGS) $(CPPFLAGS) $(fullscreen_shell_la_CFLAGS) $(CFLAGS) -c -o protocol/fullscreen_shell_la-fullscreen-shell-unstable-v1-protocol.lo `test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/fullscreen-shell-unstable-v1-protocol.c libweston/gl_renderer_la-gl-renderer.lo: libweston/gl-renderer.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gl_renderer_la_CFLAGS) $(CFLAGS) -MT libweston/gl_renderer_la-gl-renderer.lo -MD -MP -MF libweston/$(DEPDIR)/gl_renderer_la-gl-renderer.Tpo -c -o libweston/gl_renderer_la-gl-renderer.lo `test -f 'libweston/gl-renderer.c' || echo '$(srcdir)/'`libweston/gl-renderer.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/gl_renderer_la-gl-renderer.Tpo libweston/$(DEPDIR)/gl_renderer_la-gl-renderer.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/gl-renderer.c' object='libweston/gl_renderer_la-gl-renderer.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gl_renderer_la_CFLAGS) $(CFLAGS) -c -o libweston/gl_renderer_la-gl-renderer.lo `test -f 'libweston/gl-renderer.c' || echo '$(srcdir)/'`libweston/gl-renderer.c libweston/gl_renderer_la-vertex-clipping.lo: libweston/vertex-clipping.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gl_renderer_la_CFLAGS) $(CFLAGS) -MT libweston/gl_renderer_la-vertex-clipping.lo -MD -MP -MF libweston/$(DEPDIR)/gl_renderer_la-vertex-clipping.Tpo -c -o libweston/gl_renderer_la-vertex-clipping.lo `test -f 'libweston/vertex-clipping.c' || echo '$(srcdir)/'`libweston/vertex-clipping.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/gl_renderer_la-vertex-clipping.Tpo libweston/$(DEPDIR)/gl_renderer_la-vertex-clipping.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/vertex-clipping.c' object='libweston/gl_renderer_la-vertex-clipping.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(gl_renderer_la_CFLAGS) $(CFLAGS) -c -o libweston/gl_renderer_la-vertex-clipping.lo `test -f 'libweston/vertex-clipping.c' || echo '$(srcdir)/'`libweston/vertex-clipping.c libweston/headless_backend_la-compositor-headless.lo: libweston/compositor-headless.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(headless_backend_la_CFLAGS) $(CFLAGS) -MT libweston/headless_backend_la-compositor-headless.lo -MD -MP -MF libweston/$(DEPDIR)/headless_backend_la-compositor-headless.Tpo -c -o libweston/headless_backend_la-compositor-headless.lo `test -f 'libweston/compositor-headless.c' || echo '$(srcdir)/'`libweston/compositor-headless.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/headless_backend_la-compositor-headless.Tpo libweston/$(DEPDIR)/headless_backend_la-compositor-headless.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/compositor-headless.c' object='libweston/headless_backend_la-compositor-headless.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(headless_backend_la_CFLAGS) $(CFLAGS) -c -o libweston/headless_backend_la-compositor-headless.lo `test -f 'libweston/compositor-headless.c' || echo '$(srcdir)/'`libweston/compositor-headless.c ivi-shell/hmi_controller_la-hmi-controller.lo: ivi-shell/hmi-controller.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hmi_controller_la_CFLAGS) $(CFLAGS) -MT ivi-shell/hmi_controller_la-hmi-controller.lo -MD -MP -MF ivi-shell/$(DEPDIR)/hmi_controller_la-hmi-controller.Tpo -c -o ivi-shell/hmi_controller_la-hmi-controller.lo `test -f 'ivi-shell/hmi-controller.c' || echo '$(srcdir)/'`ivi-shell/hmi-controller.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) ivi-shell/$(DEPDIR)/hmi_controller_la-hmi-controller.Tpo ivi-shell/$(DEPDIR)/hmi_controller_la-hmi-controller.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ivi-shell/hmi-controller.c' object='ivi-shell/hmi_controller_la-hmi-controller.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hmi_controller_la_CFLAGS) $(CFLAGS) -c -o ivi-shell/hmi_controller_la-hmi-controller.lo `test -f 'ivi-shell/hmi-controller.c' || echo '$(srcdir)/'`ivi-shell/hmi-controller.c protocol/hmi_controller_la-ivi-hmi-controller-protocol.lo: protocol/ivi-hmi-controller-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hmi_controller_la_CFLAGS) $(CFLAGS) -MT protocol/hmi_controller_la-ivi-hmi-controller-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/hmi_controller_la-ivi-hmi-controller-protocol.Tpo -c -o protocol/hmi_controller_la-ivi-hmi-controller-protocol.lo `test -f 'protocol/ivi-hmi-controller-protocol.c' || echo '$(srcdir)/'`protocol/ivi-hmi-controller-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/hmi_controller_la-ivi-hmi-controller-protocol.Tpo protocol/$(DEPDIR)/hmi_controller_la-ivi-hmi-controller-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/ivi-hmi-controller-protocol.c' object='protocol/hmi_controller_la-ivi-hmi-controller-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(hmi_controller_la_CFLAGS) $(CFLAGS) -c -o protocol/hmi_controller_la-ivi-hmi-controller-protocol.lo `test -f 'protocol/ivi-hmi-controller-protocol.c' || echo '$(srcdir)/'`protocol/ivi-hmi-controller-protocol.c tests/ivi_layout_internal_test_la-ivi_layout-internal-test.lo: tests/ivi_layout-internal-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_layout_internal_test_la_CFLAGS) $(CFLAGS) -MT tests/ivi_layout_internal_test_la-ivi_layout-internal-test.lo -MD -MP -MF tests/$(DEPDIR)/ivi_layout_internal_test_la-ivi_layout-internal-test.Tpo -c -o tests/ivi_layout_internal_test_la-ivi_layout-internal-test.lo `test -f 'tests/ivi_layout-internal-test.c' || echo '$(srcdir)/'`tests/ivi_layout-internal-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/ivi_layout_internal_test_la-ivi_layout-internal-test.Tpo tests/$(DEPDIR)/ivi_layout_internal_test_la-ivi_layout-internal-test.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/ivi_layout-internal-test.c' object='tests/ivi_layout_internal_test_la-ivi_layout-internal-test.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_layout_internal_test_la_CFLAGS) $(CFLAGS) -c -o tests/ivi_layout_internal_test_la-ivi_layout-internal-test.lo `test -f 'tests/ivi_layout-internal-test.c' || echo '$(srcdir)/'`tests/ivi_layout-internal-test.c tests/ivi_layout_test_la-ivi_layout-test-plugin.lo: tests/ivi_layout-test-plugin.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_layout_test_la_CFLAGS) $(CFLAGS) -MT tests/ivi_layout_test_la-ivi_layout-test-plugin.lo -MD -MP -MF tests/$(DEPDIR)/ivi_layout_test_la-ivi_layout-test-plugin.Tpo -c -o tests/ivi_layout_test_la-ivi_layout-test-plugin.lo `test -f 'tests/ivi_layout-test-plugin.c' || echo '$(srcdir)/'`tests/ivi_layout-test-plugin.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/ivi_layout_test_la-ivi_layout-test-plugin.Tpo tests/$(DEPDIR)/ivi_layout_test_la-ivi_layout-test-plugin.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/ivi_layout-test-plugin.c' object='tests/ivi_layout_test_la-ivi_layout-test-plugin.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_layout_test_la_CFLAGS) $(CFLAGS) -c -o tests/ivi_layout_test_la-ivi_layout-test-plugin.lo `test -f 'tests/ivi_layout-test-plugin.c' || echo '$(srcdir)/'`tests/ivi_layout-test-plugin.c protocol/ivi_layout_test_la-weston-test-protocol.lo: protocol/weston-test-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_layout_test_la_CFLAGS) $(CFLAGS) -MT protocol/ivi_layout_test_la-weston-test-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/ivi_layout_test_la-weston-test-protocol.Tpo -c -o protocol/ivi_layout_test_la-weston-test-protocol.lo `test -f 'protocol/weston-test-protocol.c' || echo '$(srcdir)/'`protocol/weston-test-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/ivi_layout_test_la-weston-test-protocol.Tpo protocol/$(DEPDIR)/ivi_layout_test_la-weston-test-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/weston-test-protocol.c' object='protocol/ivi_layout_test_la-weston-test-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_layout_test_la_CFLAGS) $(CFLAGS) -c -o protocol/ivi_layout_test_la-weston-test-protocol.lo `test -f 'protocol/weston-test-protocol.c' || echo '$(srcdir)/'`protocol/weston-test-protocol.c ivi-shell/ivi_shell_la-ivi-layout.lo: ivi-shell/ivi-layout.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_la_CFLAGS) $(CFLAGS) -MT ivi-shell/ivi_shell_la-ivi-layout.lo -MD -MP -MF ivi-shell/$(DEPDIR)/ivi_shell_la-ivi-layout.Tpo -c -o ivi-shell/ivi_shell_la-ivi-layout.lo `test -f 'ivi-shell/ivi-layout.c' || echo '$(srcdir)/'`ivi-shell/ivi-layout.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) ivi-shell/$(DEPDIR)/ivi_shell_la-ivi-layout.Tpo ivi-shell/$(DEPDIR)/ivi_shell_la-ivi-layout.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ivi-shell/ivi-layout.c' object='ivi-shell/ivi_shell_la-ivi-layout.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_la_CFLAGS) $(CFLAGS) -c -o ivi-shell/ivi_shell_la-ivi-layout.lo `test -f 'ivi-shell/ivi-layout.c' || echo '$(srcdir)/'`ivi-shell/ivi-layout.c ivi-shell/ivi_shell_la-ivi-layout-transition.lo: ivi-shell/ivi-layout-transition.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_la_CFLAGS) $(CFLAGS) -MT ivi-shell/ivi_shell_la-ivi-layout-transition.lo -MD -MP -MF ivi-shell/$(DEPDIR)/ivi_shell_la-ivi-layout-transition.Tpo -c -o ivi-shell/ivi_shell_la-ivi-layout-transition.lo `test -f 'ivi-shell/ivi-layout-transition.c' || echo '$(srcdir)/'`ivi-shell/ivi-layout-transition.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) ivi-shell/$(DEPDIR)/ivi_shell_la-ivi-layout-transition.Tpo ivi-shell/$(DEPDIR)/ivi_shell_la-ivi-layout-transition.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ivi-shell/ivi-layout-transition.c' object='ivi-shell/ivi_shell_la-ivi-layout-transition.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_la_CFLAGS) $(CFLAGS) -c -o ivi-shell/ivi_shell_la-ivi-layout-transition.lo `test -f 'ivi-shell/ivi-layout-transition.c' || echo '$(srcdir)/'`ivi-shell/ivi-layout-transition.c ivi-shell/ivi_shell_la-ivi-shell.lo: ivi-shell/ivi-shell.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_la_CFLAGS) $(CFLAGS) -MT ivi-shell/ivi_shell_la-ivi-shell.lo -MD -MP -MF ivi-shell/$(DEPDIR)/ivi_shell_la-ivi-shell.Tpo -c -o ivi-shell/ivi_shell_la-ivi-shell.lo `test -f 'ivi-shell/ivi-shell.c' || echo '$(srcdir)/'`ivi-shell/ivi-shell.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) ivi-shell/$(DEPDIR)/ivi_shell_la-ivi-shell.Tpo ivi-shell/$(DEPDIR)/ivi_shell_la-ivi-shell.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ivi-shell/ivi-shell.c' object='ivi-shell/ivi_shell_la-ivi-shell.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_la_CFLAGS) $(CFLAGS) -c -o ivi-shell/ivi_shell_la-ivi-shell.lo `test -f 'ivi-shell/ivi-shell.c' || echo '$(srcdir)/'`ivi-shell/ivi-shell.c ivi-shell/ivi_shell_la-input-panel-ivi.lo: ivi-shell/input-panel-ivi.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_la_CFLAGS) $(CFLAGS) -MT ivi-shell/ivi_shell_la-input-panel-ivi.lo -MD -MP -MF ivi-shell/$(DEPDIR)/ivi_shell_la-input-panel-ivi.Tpo -c -o ivi-shell/ivi_shell_la-input-panel-ivi.lo `test -f 'ivi-shell/input-panel-ivi.c' || echo '$(srcdir)/'`ivi-shell/input-panel-ivi.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) ivi-shell/$(DEPDIR)/ivi_shell_la-input-panel-ivi.Tpo ivi-shell/$(DEPDIR)/ivi_shell_la-input-panel-ivi.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='ivi-shell/input-panel-ivi.c' object='ivi-shell/ivi_shell_la-input-panel-ivi.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_la_CFLAGS) $(CFLAGS) -c -o ivi-shell/ivi_shell_la-input-panel-ivi.lo `test -f 'ivi-shell/input-panel-ivi.c' || echo '$(srcdir)/'`ivi-shell/input-panel-ivi.c protocol/ivi_shell_la-ivi-application-protocol.lo: protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_la_CFLAGS) $(CFLAGS) -MT protocol/ivi_shell_la-ivi-application-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/ivi_shell_la-ivi-application-protocol.Tpo -c -o protocol/ivi_shell_la-ivi-application-protocol.lo `test -f 'protocol/ivi-application-protocol.c' || echo '$(srcdir)/'`protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/ivi_shell_la-ivi-application-protocol.Tpo protocol/$(DEPDIR)/ivi_shell_la-ivi-application-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/ivi-application-protocol.c' object='protocol/ivi_shell_la-ivi-application-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_la_CFLAGS) $(CFLAGS) -c -o protocol/ivi_shell_la-ivi-application-protocol.lo `test -f 'protocol/ivi-application-protocol.c' || echo '$(srcdir)/'`protocol/ivi-application-protocol.c libweston/libsession_helper_la-launcher-util.lo: libweston/launcher-util.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsession_helper_la_CFLAGS) $(CFLAGS) -MT libweston/libsession_helper_la-launcher-util.lo -MD -MP -MF libweston/$(DEPDIR)/libsession_helper_la-launcher-util.Tpo -c -o libweston/libsession_helper_la-launcher-util.lo `test -f 'libweston/launcher-util.c' || echo '$(srcdir)/'`libweston/launcher-util.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libsession_helper_la-launcher-util.Tpo libweston/$(DEPDIR)/libsession_helper_la-launcher-util.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/launcher-util.c' object='libweston/libsession_helper_la-launcher-util.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsession_helper_la_CFLAGS) $(CFLAGS) -c -o libweston/libsession_helper_la-launcher-util.lo `test -f 'libweston/launcher-util.c' || echo '$(srcdir)/'`libweston/launcher-util.c libweston/libsession_helper_la-launcher-weston-launch.lo: libweston/launcher-weston-launch.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsession_helper_la_CFLAGS) $(CFLAGS) -MT libweston/libsession_helper_la-launcher-weston-launch.lo -MD -MP -MF libweston/$(DEPDIR)/libsession_helper_la-launcher-weston-launch.Tpo -c -o libweston/libsession_helper_la-launcher-weston-launch.lo `test -f 'libweston/launcher-weston-launch.c' || echo '$(srcdir)/'`libweston/launcher-weston-launch.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libsession_helper_la-launcher-weston-launch.Tpo libweston/$(DEPDIR)/libsession_helper_la-launcher-weston-launch.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/launcher-weston-launch.c' object='libweston/libsession_helper_la-launcher-weston-launch.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsession_helper_la_CFLAGS) $(CFLAGS) -c -o libweston/libsession_helper_la-launcher-weston-launch.lo `test -f 'libweston/launcher-weston-launch.c' || echo '$(srcdir)/'`libweston/launcher-weston-launch.c libweston/libsession_helper_la-launcher-direct.lo: libweston/launcher-direct.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsession_helper_la_CFLAGS) $(CFLAGS) -MT libweston/libsession_helper_la-launcher-direct.lo -MD -MP -MF libweston/$(DEPDIR)/libsession_helper_la-launcher-direct.Tpo -c -o libweston/libsession_helper_la-launcher-direct.lo `test -f 'libweston/launcher-direct.c' || echo '$(srcdir)/'`libweston/launcher-direct.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libsession_helper_la-launcher-direct.Tpo libweston/$(DEPDIR)/libsession_helper_la-launcher-direct.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/launcher-direct.c' object='libweston/libsession_helper_la-launcher-direct.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsession_helper_la_CFLAGS) $(CFLAGS) -c -o libweston/libsession_helper_la-launcher-direct.lo `test -f 'libweston/launcher-direct.c' || echo '$(srcdir)/'`libweston/launcher-direct.c libweston/libsession_helper_la-dbus.lo: libweston/dbus.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsession_helper_la_CFLAGS) $(CFLAGS) -MT libweston/libsession_helper_la-dbus.lo -MD -MP -MF libweston/$(DEPDIR)/libsession_helper_la-dbus.Tpo -c -o libweston/libsession_helper_la-dbus.lo `test -f 'libweston/dbus.c' || echo '$(srcdir)/'`libweston/dbus.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libsession_helper_la-dbus.Tpo libweston/$(DEPDIR)/libsession_helper_la-dbus.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/dbus.c' object='libweston/libsession_helper_la-dbus.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsession_helper_la_CFLAGS) $(CFLAGS) -c -o libweston/libsession_helper_la-dbus.lo `test -f 'libweston/dbus.c' || echo '$(srcdir)/'`libweston/dbus.c libweston/libsession_helper_la-launcher-logind.lo: libweston/launcher-logind.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsession_helper_la_CFLAGS) $(CFLAGS) -MT libweston/libsession_helper_la-launcher-logind.lo -MD -MP -MF libweston/$(DEPDIR)/libsession_helper_la-launcher-logind.Tpo -c -o libweston/libsession_helper_la-launcher-logind.lo `test -f 'libweston/launcher-logind.c' || echo '$(srcdir)/'`libweston/launcher-logind.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libsession_helper_la-launcher-logind.Tpo libweston/$(DEPDIR)/libsession_helper_la-launcher-logind.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/launcher-logind.c' object='libweston/libsession_helper_la-launcher-logind.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libsession_helper_la_CFLAGS) $(CFLAGS) -c -o libweston/libsession_helper_la-launcher-logind.lo `test -f 'libweston/launcher-logind.c' || echo '$(srcdir)/'`libweston/launcher-logind.c shared/libshared_cairo_la-config-parser.lo: shared/config-parser.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_cairo_la_CFLAGS) $(CFLAGS) -MT shared/libshared_cairo_la-config-parser.lo -MD -MP -MF shared/$(DEPDIR)/libshared_cairo_la-config-parser.Tpo -c -o shared/libshared_cairo_la-config-parser.lo `test -f 'shared/config-parser.c' || echo '$(srcdir)/'`shared/config-parser.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/libshared_cairo_la-config-parser.Tpo shared/$(DEPDIR)/libshared_cairo_la-config-parser.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/config-parser.c' object='shared/libshared_cairo_la-config-parser.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_cairo_la_CFLAGS) $(CFLAGS) -c -o shared/libshared_cairo_la-config-parser.lo `test -f 'shared/config-parser.c' || echo '$(srcdir)/'`shared/config-parser.c shared/libshared_cairo_la-option-parser.lo: shared/option-parser.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_cairo_la_CFLAGS) $(CFLAGS) -MT shared/libshared_cairo_la-option-parser.lo -MD -MP -MF shared/$(DEPDIR)/libshared_cairo_la-option-parser.Tpo -c -o shared/libshared_cairo_la-option-parser.lo `test -f 'shared/option-parser.c' || echo '$(srcdir)/'`shared/option-parser.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/libshared_cairo_la-option-parser.Tpo shared/$(DEPDIR)/libshared_cairo_la-option-parser.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/option-parser.c' object='shared/libshared_cairo_la-option-parser.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_cairo_la_CFLAGS) $(CFLAGS) -c -o shared/libshared_cairo_la-option-parser.lo `test -f 'shared/option-parser.c' || echo '$(srcdir)/'`shared/option-parser.c shared/libshared_cairo_la-file-util.lo: shared/file-util.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_cairo_la_CFLAGS) $(CFLAGS) -MT shared/libshared_cairo_la-file-util.lo -MD -MP -MF shared/$(DEPDIR)/libshared_cairo_la-file-util.Tpo -c -o shared/libshared_cairo_la-file-util.lo `test -f 'shared/file-util.c' || echo '$(srcdir)/'`shared/file-util.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/libshared_cairo_la-file-util.Tpo shared/$(DEPDIR)/libshared_cairo_la-file-util.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/file-util.c' object='shared/libshared_cairo_la-file-util.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_cairo_la_CFLAGS) $(CFLAGS) -c -o shared/libshared_cairo_la-file-util.lo `test -f 'shared/file-util.c' || echo '$(srcdir)/'`shared/file-util.c shared/libshared_cairo_la-os-compatibility.lo: shared/os-compatibility.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_cairo_la_CFLAGS) $(CFLAGS) -MT shared/libshared_cairo_la-os-compatibility.lo -MD -MP -MF shared/$(DEPDIR)/libshared_cairo_la-os-compatibility.Tpo -c -o shared/libshared_cairo_la-os-compatibility.lo `test -f 'shared/os-compatibility.c' || echo '$(srcdir)/'`shared/os-compatibility.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/libshared_cairo_la-os-compatibility.Tpo shared/$(DEPDIR)/libshared_cairo_la-os-compatibility.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/os-compatibility.c' object='shared/libshared_cairo_la-os-compatibility.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_cairo_la_CFLAGS) $(CFLAGS) -c -o shared/libshared_cairo_la-os-compatibility.lo `test -f 'shared/os-compatibility.c' || echo '$(srcdir)/'`shared/os-compatibility.c shared/libshared_cairo_la-xalloc.lo: shared/xalloc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_cairo_la_CFLAGS) $(CFLAGS) -MT shared/libshared_cairo_la-xalloc.lo -MD -MP -MF shared/$(DEPDIR)/libshared_cairo_la-xalloc.Tpo -c -o shared/libshared_cairo_la-xalloc.lo `test -f 'shared/xalloc.c' || echo '$(srcdir)/'`shared/xalloc.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/libshared_cairo_la-xalloc.Tpo shared/$(DEPDIR)/libshared_cairo_la-xalloc.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/xalloc.c' object='shared/libshared_cairo_la-xalloc.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_cairo_la_CFLAGS) $(CFLAGS) -c -o shared/libshared_cairo_la-xalloc.lo `test -f 'shared/xalloc.c' || echo '$(srcdir)/'`shared/xalloc.c shared/libshared_cairo_la-image-loader.lo: shared/image-loader.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_cairo_la_CFLAGS) $(CFLAGS) -MT shared/libshared_cairo_la-image-loader.lo -MD -MP -MF shared/$(DEPDIR)/libshared_cairo_la-image-loader.Tpo -c -o shared/libshared_cairo_la-image-loader.lo `test -f 'shared/image-loader.c' || echo '$(srcdir)/'`shared/image-loader.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/libshared_cairo_la-image-loader.Tpo shared/$(DEPDIR)/libshared_cairo_la-image-loader.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/image-loader.c' object='shared/libshared_cairo_la-image-loader.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_cairo_la_CFLAGS) $(CFLAGS) -c -o shared/libshared_cairo_la-image-loader.lo `test -f 'shared/image-loader.c' || echo '$(srcdir)/'`shared/image-loader.c shared/libshared_cairo_la-cairo-util.lo: shared/cairo-util.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_cairo_la_CFLAGS) $(CFLAGS) -MT shared/libshared_cairo_la-cairo-util.lo -MD -MP -MF shared/$(DEPDIR)/libshared_cairo_la-cairo-util.Tpo -c -o shared/libshared_cairo_la-cairo-util.lo `test -f 'shared/cairo-util.c' || echo '$(srcdir)/'`shared/cairo-util.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/libshared_cairo_la-cairo-util.Tpo shared/$(DEPDIR)/libshared_cairo_la-cairo-util.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/cairo-util.c' object='shared/libshared_cairo_la-cairo-util.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_cairo_la_CFLAGS) $(CFLAGS) -c -o shared/libshared_cairo_la-cairo-util.lo `test -f 'shared/cairo-util.c' || echo '$(srcdir)/'`shared/cairo-util.c shared/libshared_cairo_la-frame.lo: shared/frame.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_cairo_la_CFLAGS) $(CFLAGS) -MT shared/libshared_cairo_la-frame.lo -MD -MP -MF shared/$(DEPDIR)/libshared_cairo_la-frame.Tpo -c -o shared/libshared_cairo_la-frame.lo `test -f 'shared/frame.c' || echo '$(srcdir)/'`shared/frame.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/libshared_cairo_la-frame.Tpo shared/$(DEPDIR)/libshared_cairo_la-frame.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/frame.c' object='shared/libshared_cairo_la-frame.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_cairo_la_CFLAGS) $(CFLAGS) -c -o shared/libshared_cairo_la-frame.lo `test -f 'shared/frame.c' || echo '$(srcdir)/'`shared/frame.c shared/libshared_la-config-parser.lo: shared/config-parser.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_la_CFLAGS) $(CFLAGS) -MT shared/libshared_la-config-parser.lo -MD -MP -MF shared/$(DEPDIR)/libshared_la-config-parser.Tpo -c -o shared/libshared_la-config-parser.lo `test -f 'shared/config-parser.c' || echo '$(srcdir)/'`shared/config-parser.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/libshared_la-config-parser.Tpo shared/$(DEPDIR)/libshared_la-config-parser.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/config-parser.c' object='shared/libshared_la-config-parser.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_la_CFLAGS) $(CFLAGS) -c -o shared/libshared_la-config-parser.lo `test -f 'shared/config-parser.c' || echo '$(srcdir)/'`shared/config-parser.c shared/libshared_la-option-parser.lo: shared/option-parser.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_la_CFLAGS) $(CFLAGS) -MT shared/libshared_la-option-parser.lo -MD -MP -MF shared/$(DEPDIR)/libshared_la-option-parser.Tpo -c -o shared/libshared_la-option-parser.lo `test -f 'shared/option-parser.c' || echo '$(srcdir)/'`shared/option-parser.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/libshared_la-option-parser.Tpo shared/$(DEPDIR)/libshared_la-option-parser.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/option-parser.c' object='shared/libshared_la-option-parser.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_la_CFLAGS) $(CFLAGS) -c -o shared/libshared_la-option-parser.lo `test -f 'shared/option-parser.c' || echo '$(srcdir)/'`shared/option-parser.c shared/libshared_la-file-util.lo: shared/file-util.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_la_CFLAGS) $(CFLAGS) -MT shared/libshared_la-file-util.lo -MD -MP -MF shared/$(DEPDIR)/libshared_la-file-util.Tpo -c -o shared/libshared_la-file-util.lo `test -f 'shared/file-util.c' || echo '$(srcdir)/'`shared/file-util.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/libshared_la-file-util.Tpo shared/$(DEPDIR)/libshared_la-file-util.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/file-util.c' object='shared/libshared_la-file-util.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_la_CFLAGS) $(CFLAGS) -c -o shared/libshared_la-file-util.lo `test -f 'shared/file-util.c' || echo '$(srcdir)/'`shared/file-util.c shared/libshared_la-os-compatibility.lo: shared/os-compatibility.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_la_CFLAGS) $(CFLAGS) -MT shared/libshared_la-os-compatibility.lo -MD -MP -MF shared/$(DEPDIR)/libshared_la-os-compatibility.Tpo -c -o shared/libshared_la-os-compatibility.lo `test -f 'shared/os-compatibility.c' || echo '$(srcdir)/'`shared/os-compatibility.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/libshared_la-os-compatibility.Tpo shared/$(DEPDIR)/libshared_la-os-compatibility.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/os-compatibility.c' object='shared/libshared_la-os-compatibility.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_la_CFLAGS) $(CFLAGS) -c -o shared/libshared_la-os-compatibility.lo `test -f 'shared/os-compatibility.c' || echo '$(srcdir)/'`shared/os-compatibility.c shared/libshared_la-xalloc.lo: shared/xalloc.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_la_CFLAGS) $(CFLAGS) -MT shared/libshared_la-xalloc.lo -MD -MP -MF shared/$(DEPDIR)/libshared_la-xalloc.Tpo -c -o shared/libshared_la-xalloc.lo `test -f 'shared/xalloc.c' || echo '$(srcdir)/'`shared/xalloc.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/libshared_la-xalloc.Tpo shared/$(DEPDIR)/libshared_la-xalloc.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/xalloc.c' object='shared/libshared_la-xalloc.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libshared_la_CFLAGS) $(CFLAGS) -c -o shared/libshared_la-xalloc.lo `test -f 'shared/xalloc.c' || echo '$(srcdir)/'`shared/xalloc.c tests/libtest_client_la-weston-test-client-helper.lo: tests/weston-test-client-helper.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_client_la_CFLAGS) $(CFLAGS) -MT tests/libtest_client_la-weston-test-client-helper.lo -MD -MP -MF tests/$(DEPDIR)/libtest_client_la-weston-test-client-helper.Tpo -c -o tests/libtest_client_la-weston-test-client-helper.lo `test -f 'tests/weston-test-client-helper.c' || echo '$(srcdir)/'`tests/weston-test-client-helper.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/libtest_client_la-weston-test-client-helper.Tpo tests/$(DEPDIR)/libtest_client_la-weston-test-client-helper.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/weston-test-client-helper.c' object='tests/libtest_client_la-weston-test-client-helper.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_client_la_CFLAGS) $(CFLAGS) -c -o tests/libtest_client_la-weston-test-client-helper.lo `test -f 'tests/weston-test-client-helper.c' || echo '$(srcdir)/'`tests/weston-test-client-helper.c protocol/libtest_client_la-weston-test-protocol.lo: protocol/weston-test-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_client_la_CFLAGS) $(CFLAGS) -MT protocol/libtest_client_la-weston-test-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libtest_client_la-weston-test-protocol.Tpo -c -o protocol/libtest_client_la-weston-test-protocol.lo `test -f 'protocol/weston-test-protocol.c' || echo '$(srcdir)/'`protocol/weston-test-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libtest_client_la-weston-test-protocol.Tpo protocol/$(DEPDIR)/libtest_client_la-weston-test-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/weston-test-protocol.c' object='protocol/libtest_client_la-weston-test-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_client_la_CFLAGS) $(CFLAGS) -c -o protocol/libtest_client_la-weston-test-protocol.lo `test -f 'protocol/weston-test-protocol.c' || echo '$(srcdir)/'`protocol/weston-test-protocol.c tests/libtest_runner_la-weston-test-runner.lo: tests/weston-test-runner.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_runner_la_CFLAGS) $(CFLAGS) -MT tests/libtest_runner_la-weston-test-runner.lo -MD -MP -MF tests/$(DEPDIR)/libtest_runner_la-weston-test-runner.Tpo -c -o tests/libtest_runner_la-weston-test-runner.lo `test -f 'tests/weston-test-runner.c' || echo '$(srcdir)/'`tests/weston-test-runner.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/libtest_runner_la-weston-test-runner.Tpo tests/$(DEPDIR)/libtest_runner_la-weston-test-runner.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/weston-test-runner.c' object='tests/libtest_runner_la-weston-test-runner.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtest_runner_la_CFLAGS) $(CFLAGS) -c -o tests/libtest_runner_la-weston-test-runner.lo `test -f 'tests/weston-test-runner.c' || echo '$(srcdir)/'`tests/weston-test-runner.c clients/libtoytoolkit_la-window.lo: clients/window.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtoytoolkit_la_CFLAGS) $(CFLAGS) -MT clients/libtoytoolkit_la-window.lo -MD -MP -MF clients/$(DEPDIR)/libtoytoolkit_la-window.Tpo -c -o clients/libtoytoolkit_la-window.lo `test -f 'clients/window.c' || echo '$(srcdir)/'`clients/window.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/libtoytoolkit_la-window.Tpo clients/$(DEPDIR)/libtoytoolkit_la-window.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/window.c' object='clients/libtoytoolkit_la-window.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtoytoolkit_la_CFLAGS) $(CFLAGS) -c -o clients/libtoytoolkit_la-window.lo `test -f 'clients/window.c' || echo '$(srcdir)/'`clients/window.c protocol/libtoytoolkit_la-text-cursor-position-protocol.lo: protocol/text-cursor-position-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtoytoolkit_la_CFLAGS) $(CFLAGS) -MT protocol/libtoytoolkit_la-text-cursor-position-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libtoytoolkit_la-text-cursor-position-protocol.Tpo -c -o protocol/libtoytoolkit_la-text-cursor-position-protocol.lo `test -f 'protocol/text-cursor-position-protocol.c' || echo '$(srcdir)/'`protocol/text-cursor-position-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libtoytoolkit_la-text-cursor-position-protocol.Tpo protocol/$(DEPDIR)/libtoytoolkit_la-text-cursor-position-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/text-cursor-position-protocol.c' object='protocol/libtoytoolkit_la-text-cursor-position-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtoytoolkit_la_CFLAGS) $(CFLAGS) -c -o protocol/libtoytoolkit_la-text-cursor-position-protocol.lo `test -f 'protocol/text-cursor-position-protocol.c' || echo '$(srcdir)/'`protocol/text-cursor-position-protocol.c protocol/libtoytoolkit_la-viewporter-protocol.lo: protocol/viewporter-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtoytoolkit_la_CFLAGS) $(CFLAGS) -MT protocol/libtoytoolkit_la-viewporter-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libtoytoolkit_la-viewporter-protocol.Tpo -c -o protocol/libtoytoolkit_la-viewporter-protocol.lo `test -f 'protocol/viewporter-protocol.c' || echo '$(srcdir)/'`protocol/viewporter-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libtoytoolkit_la-viewporter-protocol.Tpo protocol/$(DEPDIR)/libtoytoolkit_la-viewporter-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/viewporter-protocol.c' object='protocol/libtoytoolkit_la-viewporter-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtoytoolkit_la_CFLAGS) $(CFLAGS) -c -o protocol/libtoytoolkit_la-viewporter-protocol.lo `test -f 'protocol/viewporter-protocol.c' || echo '$(srcdir)/'`protocol/viewporter-protocol.c protocol/libtoytoolkit_la-xdg-shell-unstable-v6-protocol.lo: protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtoytoolkit_la_CFLAGS) $(CFLAGS) -MT protocol/libtoytoolkit_la-xdg-shell-unstable-v6-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libtoytoolkit_la-xdg-shell-unstable-v6-protocol.Tpo -c -o protocol/libtoytoolkit_la-xdg-shell-unstable-v6-protocol.lo `test -f 'protocol/xdg-shell-unstable-v6-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libtoytoolkit_la-xdg-shell-unstable-v6-protocol.Tpo protocol/$(DEPDIR)/libtoytoolkit_la-xdg-shell-unstable-v6-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/xdg-shell-unstable-v6-protocol.c' object='protocol/libtoytoolkit_la-xdg-shell-unstable-v6-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtoytoolkit_la_CFLAGS) $(CFLAGS) -c -o protocol/libtoytoolkit_la-xdg-shell-unstable-v6-protocol.lo `test -f 'protocol/xdg-shell-unstable-v6-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v6-protocol.c protocol/libtoytoolkit_la-ivi-application-protocol.lo: protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtoytoolkit_la_CFLAGS) $(CFLAGS) -MT protocol/libtoytoolkit_la-ivi-application-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libtoytoolkit_la-ivi-application-protocol.Tpo -c -o protocol/libtoytoolkit_la-ivi-application-protocol.lo `test -f 'protocol/ivi-application-protocol.c' || echo '$(srcdir)/'`protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libtoytoolkit_la-ivi-application-protocol.Tpo protocol/$(DEPDIR)/libtoytoolkit_la-ivi-application-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/ivi-application-protocol.c' object='protocol/libtoytoolkit_la-ivi-application-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtoytoolkit_la_CFLAGS) $(CFLAGS) -c -o protocol/libtoytoolkit_la-ivi-application-protocol.lo `test -f 'protocol/ivi-application-protocol.c' || echo '$(srcdir)/'`protocol/ivi-application-protocol.c protocol/libtoytoolkit_la-pointer-constraints-unstable-v1-protocol.lo: protocol/pointer-constraints-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtoytoolkit_la_CFLAGS) $(CFLAGS) -MT protocol/libtoytoolkit_la-pointer-constraints-unstable-v1-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libtoytoolkit_la-pointer-constraints-unstable-v1-protocol.Tpo -c -o protocol/libtoytoolkit_la-pointer-constraints-unstable-v1-protocol.lo `test -f 'protocol/pointer-constraints-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/pointer-constraints-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libtoytoolkit_la-pointer-constraints-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/libtoytoolkit_la-pointer-constraints-unstable-v1-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/pointer-constraints-unstable-v1-protocol.c' object='protocol/libtoytoolkit_la-pointer-constraints-unstable-v1-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtoytoolkit_la_CFLAGS) $(CFLAGS) -c -o protocol/libtoytoolkit_la-pointer-constraints-unstable-v1-protocol.lo `test -f 'protocol/pointer-constraints-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/pointer-constraints-unstable-v1-protocol.c protocol/libtoytoolkit_la-relative-pointer-unstable-v1-protocol.lo: protocol/relative-pointer-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtoytoolkit_la_CFLAGS) $(CFLAGS) -MT protocol/libtoytoolkit_la-relative-pointer-unstable-v1-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libtoytoolkit_la-relative-pointer-unstable-v1-protocol.Tpo -c -o protocol/libtoytoolkit_la-relative-pointer-unstable-v1-protocol.lo `test -f 'protocol/relative-pointer-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/relative-pointer-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libtoytoolkit_la-relative-pointer-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/libtoytoolkit_la-relative-pointer-unstable-v1-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/relative-pointer-unstable-v1-protocol.c' object='protocol/libtoytoolkit_la-relative-pointer-unstable-v1-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libtoytoolkit_la_CFLAGS) $(CFLAGS) -c -o protocol/libtoytoolkit_la-relative-pointer-unstable-v1-protocol.lo `test -f 'protocol/relative-pointer-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/relative-pointer-unstable-v1-protocol.c libweston/libweston_@LIBWESTON_MAJOR@_la-log.lo: libweston/log.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston/libweston_@LIBWESTON_MAJOR@_la-log.lo -MD -MP -MF libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-log.Tpo -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-log.lo `test -f 'libweston/log.c' || echo '$(srcdir)/'`libweston/log.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-log.Tpo libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-log.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/log.c' object='libweston/libweston_@LIBWESTON_MAJOR@_la-log.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-log.lo `test -f 'libweston/log.c' || echo '$(srcdir)/'`libweston/log.c libweston/libweston_@LIBWESTON_MAJOR@_la-compositor.lo: libweston/compositor.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston/libweston_@LIBWESTON_MAJOR@_la-compositor.lo -MD -MP -MF libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-compositor.Tpo -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-compositor.lo `test -f 'libweston/compositor.c' || echo '$(srcdir)/'`libweston/compositor.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-compositor.Tpo libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-compositor.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/compositor.c' object='libweston/libweston_@LIBWESTON_MAJOR@_la-compositor.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-compositor.lo `test -f 'libweston/compositor.c' || echo '$(srcdir)/'`libweston/compositor.c libweston/libweston_@LIBWESTON_MAJOR@_la-input.lo: libweston/input.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston/libweston_@LIBWESTON_MAJOR@_la-input.lo -MD -MP -MF libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-input.Tpo -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-input.lo `test -f 'libweston/input.c' || echo '$(srcdir)/'`libweston/input.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-input.Tpo libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-input.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/input.c' object='libweston/libweston_@LIBWESTON_MAJOR@_la-input.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-input.lo `test -f 'libweston/input.c' || echo '$(srcdir)/'`libweston/input.c libweston/libweston_@LIBWESTON_MAJOR@_la-data-device.lo: libweston/data-device.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston/libweston_@LIBWESTON_MAJOR@_la-data-device.lo -MD -MP -MF libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-data-device.Tpo -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-data-device.lo `test -f 'libweston/data-device.c' || echo '$(srcdir)/'`libweston/data-device.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-data-device.Tpo libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-data-device.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/data-device.c' object='libweston/libweston_@LIBWESTON_MAJOR@_la-data-device.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-data-device.lo `test -f 'libweston/data-device.c' || echo '$(srcdir)/'`libweston/data-device.c libweston/libweston_@LIBWESTON_MAJOR@_la-screenshooter.lo: libweston/screenshooter.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston/libweston_@LIBWESTON_MAJOR@_la-screenshooter.lo -MD -MP -MF libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-screenshooter.Tpo -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-screenshooter.lo `test -f 'libweston/screenshooter.c' || echo '$(srcdir)/'`libweston/screenshooter.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-screenshooter.Tpo libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-screenshooter.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/screenshooter.c' object='libweston/libweston_@LIBWESTON_MAJOR@_la-screenshooter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-screenshooter.lo `test -f 'libweston/screenshooter.c' || echo '$(srcdir)/'`libweston/screenshooter.c libweston/libweston_@LIBWESTON_MAJOR@_la-clipboard.lo: libweston/clipboard.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston/libweston_@LIBWESTON_MAJOR@_la-clipboard.lo -MD -MP -MF libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-clipboard.Tpo -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-clipboard.lo `test -f 'libweston/clipboard.c' || echo '$(srcdir)/'`libweston/clipboard.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-clipboard.Tpo libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-clipboard.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/clipboard.c' object='libweston/libweston_@LIBWESTON_MAJOR@_la-clipboard.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-clipboard.lo `test -f 'libweston/clipboard.c' || echo '$(srcdir)/'`libweston/clipboard.c libweston/libweston_@LIBWESTON_MAJOR@_la-zoom.lo: libweston/zoom.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston/libweston_@LIBWESTON_MAJOR@_la-zoom.lo -MD -MP -MF libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-zoom.Tpo -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-zoom.lo `test -f 'libweston/zoom.c' || echo '$(srcdir)/'`libweston/zoom.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-zoom.Tpo libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-zoom.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/zoom.c' object='libweston/libweston_@LIBWESTON_MAJOR@_la-zoom.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-zoom.lo `test -f 'libweston/zoom.c' || echo '$(srcdir)/'`libweston/zoom.c libweston/libweston_@LIBWESTON_MAJOR@_la-bindings.lo: libweston/bindings.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston/libweston_@LIBWESTON_MAJOR@_la-bindings.lo -MD -MP -MF libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-bindings.Tpo -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-bindings.lo `test -f 'libweston/bindings.c' || echo '$(srcdir)/'`libweston/bindings.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-bindings.Tpo libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-bindings.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/bindings.c' object='libweston/libweston_@LIBWESTON_MAJOR@_la-bindings.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-bindings.lo `test -f 'libweston/bindings.c' || echo '$(srcdir)/'`libweston/bindings.c libweston/libweston_@LIBWESTON_MAJOR@_la-animation.lo: libweston/animation.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston/libweston_@LIBWESTON_MAJOR@_la-animation.lo -MD -MP -MF libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-animation.Tpo -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-animation.lo `test -f 'libweston/animation.c' || echo '$(srcdir)/'`libweston/animation.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-animation.Tpo libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-animation.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/animation.c' object='libweston/libweston_@LIBWESTON_MAJOR@_la-animation.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-animation.lo `test -f 'libweston/animation.c' || echo '$(srcdir)/'`libweston/animation.c libweston/libweston_@LIBWESTON_MAJOR@_la-noop-renderer.lo: libweston/noop-renderer.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston/libweston_@LIBWESTON_MAJOR@_la-noop-renderer.lo -MD -MP -MF libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-noop-renderer.Tpo -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-noop-renderer.lo `test -f 'libweston/noop-renderer.c' || echo '$(srcdir)/'`libweston/noop-renderer.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-noop-renderer.Tpo libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-noop-renderer.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/noop-renderer.c' object='libweston/libweston_@LIBWESTON_MAJOR@_la-noop-renderer.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-noop-renderer.lo `test -f 'libweston/noop-renderer.c' || echo '$(srcdir)/'`libweston/noop-renderer.c libweston/libweston_@LIBWESTON_MAJOR@_la-pixman-renderer.lo: libweston/pixman-renderer.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston/libweston_@LIBWESTON_MAJOR@_la-pixman-renderer.lo -MD -MP -MF libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-pixman-renderer.Tpo -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-pixman-renderer.lo `test -f 'libweston/pixman-renderer.c' || echo '$(srcdir)/'`libweston/pixman-renderer.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-pixman-renderer.Tpo libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-pixman-renderer.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/pixman-renderer.c' object='libweston/libweston_@LIBWESTON_MAJOR@_la-pixman-renderer.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-pixman-renderer.lo `test -f 'libweston/pixman-renderer.c' || echo '$(srcdir)/'`libweston/pixman-renderer.c libweston/libweston_@LIBWESTON_MAJOR@_la-plugin-registry.lo: libweston/plugin-registry.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston/libweston_@LIBWESTON_MAJOR@_la-plugin-registry.lo -MD -MP -MF libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-plugin-registry.Tpo -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-plugin-registry.lo `test -f 'libweston/plugin-registry.c' || echo '$(srcdir)/'`libweston/plugin-registry.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-plugin-registry.Tpo libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-plugin-registry.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/plugin-registry.c' object='libweston/libweston_@LIBWESTON_MAJOR@_la-plugin-registry.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-plugin-registry.lo `test -f 'libweston/plugin-registry.c' || echo '$(srcdir)/'`libweston/plugin-registry.c libweston/libweston_@LIBWESTON_MAJOR@_la-timeline.lo: libweston/timeline.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston/libweston_@LIBWESTON_MAJOR@_la-timeline.lo -MD -MP -MF libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-timeline.Tpo -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-timeline.lo `test -f 'libweston/timeline.c' || echo '$(srcdir)/'`libweston/timeline.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-timeline.Tpo libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-timeline.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/timeline.c' object='libweston/libweston_@LIBWESTON_MAJOR@_la-timeline.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-timeline.lo `test -f 'libweston/timeline.c' || echo '$(srcdir)/'`libweston/timeline.c libweston/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf.lo: libweston/linux-dmabuf.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf.lo -MD -MP -MF libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf.Tpo -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf.lo `test -f 'libweston/linux-dmabuf.c' || echo '$(srcdir)/'`libweston/linux-dmabuf.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf.Tpo libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/linux-dmabuf.c' object='libweston/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf.lo `test -f 'libweston/linux-dmabuf.c' || echo '$(srcdir)/'`libweston/linux-dmabuf.c libweston/libweston_@LIBWESTON_MAJOR@_la-pixel-formats.lo: libweston/pixel-formats.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston/libweston_@LIBWESTON_MAJOR@_la-pixel-formats.lo -MD -MP -MF libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-pixel-formats.Tpo -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-pixel-formats.lo `test -f 'libweston/pixel-formats.c' || echo '$(srcdir)/'`libweston/pixel-formats.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-pixel-formats.Tpo libweston/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-pixel-formats.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/pixel-formats.c' object='libweston/libweston_@LIBWESTON_MAJOR@_la-pixel-formats.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston/libweston_@LIBWESTON_MAJOR@_la-pixel-formats.lo `test -f 'libweston/pixel-formats.c' || echo '$(srcdir)/'`libweston/pixel-formats.c shared/libweston_@LIBWESTON_MAJOR@_la-matrix.lo: shared/matrix.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT shared/libweston_@LIBWESTON_MAJOR@_la-matrix.lo -MD -MP -MF shared/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-matrix.Tpo -c -o shared/libweston_@LIBWESTON_MAJOR@_la-matrix.lo `test -f 'shared/matrix.c' || echo '$(srcdir)/'`shared/matrix.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-matrix.Tpo shared/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-matrix.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/matrix.c' object='shared/libweston_@LIBWESTON_MAJOR@_la-matrix.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o shared/libweston_@LIBWESTON_MAJOR@_la-matrix.lo `test -f 'shared/matrix.c' || echo '$(srcdir)/'`shared/matrix.c protocol/libweston_@LIBWESTON_MAJOR@_la-weston-screenshooter-protocol.lo: protocol/weston-screenshooter-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT protocol/libweston_@LIBWESTON_MAJOR@_la-weston-screenshooter-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-weston-screenshooter-protocol.Tpo -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-weston-screenshooter-protocol.lo `test -f 'protocol/weston-screenshooter-protocol.c' || echo '$(srcdir)/'`protocol/weston-screenshooter-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-weston-screenshooter-protocol.Tpo protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-weston-screenshooter-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/weston-screenshooter-protocol.c' object='protocol/libweston_@LIBWESTON_MAJOR@_la-weston-screenshooter-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-weston-screenshooter-protocol.lo `test -f 'protocol/weston-screenshooter-protocol.c' || echo '$(srcdir)/'`protocol/weston-screenshooter-protocol.c protocol/libweston_@LIBWESTON_MAJOR@_la-text-cursor-position-protocol.lo: protocol/text-cursor-position-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT protocol/libweston_@LIBWESTON_MAJOR@_la-text-cursor-position-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-text-cursor-position-protocol.Tpo -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-text-cursor-position-protocol.lo `test -f 'protocol/text-cursor-position-protocol.c' || echo '$(srcdir)/'`protocol/text-cursor-position-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-text-cursor-position-protocol.Tpo protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-text-cursor-position-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/text-cursor-position-protocol.c' object='protocol/libweston_@LIBWESTON_MAJOR@_la-text-cursor-position-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-text-cursor-position-protocol.lo `test -f 'protocol/text-cursor-position-protocol.c' || echo '$(srcdir)/'`protocol/text-cursor-position-protocol.c protocol/libweston_@LIBWESTON_MAJOR@_la-text-input-unstable-v1-protocol.lo: protocol/text-input-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT protocol/libweston_@LIBWESTON_MAJOR@_la-text-input-unstable-v1-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-text-input-unstable-v1-protocol.Tpo -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-text-input-unstable-v1-protocol.lo `test -f 'protocol/text-input-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/text-input-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-text-input-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-text-input-unstable-v1-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/text-input-unstable-v1-protocol.c' object='protocol/libweston_@LIBWESTON_MAJOR@_la-text-input-unstable-v1-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-text-input-unstable-v1-protocol.lo `test -f 'protocol/text-input-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/text-input-unstable-v1-protocol.c protocol/libweston_@LIBWESTON_MAJOR@_la-input-method-unstable-v1-protocol.lo: protocol/input-method-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT protocol/libweston_@LIBWESTON_MAJOR@_la-input-method-unstable-v1-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-input-method-unstable-v1-protocol.Tpo -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-input-method-unstable-v1-protocol.lo `test -f 'protocol/input-method-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/input-method-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-input-method-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-input-method-unstable-v1-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/input-method-unstable-v1-protocol.c' object='protocol/libweston_@LIBWESTON_MAJOR@_la-input-method-unstable-v1-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-input-method-unstable-v1-protocol.lo `test -f 'protocol/input-method-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/input-method-unstable-v1-protocol.c protocol/libweston_@LIBWESTON_MAJOR@_la-presentation-time-protocol.lo: protocol/presentation-time-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT protocol/libweston_@LIBWESTON_MAJOR@_la-presentation-time-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-presentation-time-protocol.Tpo -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-presentation-time-protocol.lo `test -f 'protocol/presentation-time-protocol.c' || echo '$(srcdir)/'`protocol/presentation-time-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-presentation-time-protocol.Tpo protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-presentation-time-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/presentation-time-protocol.c' object='protocol/libweston_@LIBWESTON_MAJOR@_la-presentation-time-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-presentation-time-protocol.lo `test -f 'protocol/presentation-time-protocol.c' || echo '$(srcdir)/'`protocol/presentation-time-protocol.c protocol/libweston_@LIBWESTON_MAJOR@_la-viewporter-protocol.lo: protocol/viewporter-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT protocol/libweston_@LIBWESTON_MAJOR@_la-viewporter-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-viewporter-protocol.Tpo -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-viewporter-protocol.lo `test -f 'protocol/viewporter-protocol.c' || echo '$(srcdir)/'`protocol/viewporter-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-viewporter-protocol.Tpo protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-viewporter-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/viewporter-protocol.c' object='protocol/libweston_@LIBWESTON_MAJOR@_la-viewporter-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-viewporter-protocol.lo `test -f 'protocol/viewporter-protocol.c' || echo '$(srcdir)/'`protocol/viewporter-protocol.c protocol/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf-unstable-v1-protocol.lo: protocol/linux-dmabuf-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT protocol/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf-unstable-v1-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf-unstable-v1-protocol.Tpo -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf-unstable-v1-protocol.lo `test -f 'protocol/linux-dmabuf-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/linux-dmabuf-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf-unstable-v1-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/linux-dmabuf-unstable-v1-protocol.c' object='protocol/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf-unstable-v1-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-linux-dmabuf-unstable-v1-protocol.lo `test -f 'protocol/linux-dmabuf-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/linux-dmabuf-unstable-v1-protocol.c protocol/libweston_@LIBWESTON_MAJOR@_la-relative-pointer-unstable-v1-protocol.lo: protocol/relative-pointer-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT protocol/libweston_@LIBWESTON_MAJOR@_la-relative-pointer-unstable-v1-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-relative-pointer-unstable-v1-protocol.Tpo -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-relative-pointer-unstable-v1-protocol.lo `test -f 'protocol/relative-pointer-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/relative-pointer-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-relative-pointer-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-relative-pointer-unstable-v1-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/relative-pointer-unstable-v1-protocol.c' object='protocol/libweston_@LIBWESTON_MAJOR@_la-relative-pointer-unstable-v1-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-relative-pointer-unstable-v1-protocol.lo `test -f 'protocol/relative-pointer-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/relative-pointer-unstable-v1-protocol.c protocol/libweston_@LIBWESTON_MAJOR@_la-pointer-constraints-unstable-v1-protocol.lo: protocol/pointer-constraints-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT protocol/libweston_@LIBWESTON_MAJOR@_la-pointer-constraints-unstable-v1-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-pointer-constraints-unstable-v1-protocol.Tpo -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-pointer-constraints-unstable-v1-protocol.lo `test -f 'protocol/pointer-constraints-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/pointer-constraints-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-pointer-constraints-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/libweston_@LIBWESTON_MAJOR@_la-pointer-constraints-unstable-v1-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/pointer-constraints-unstable-v1-protocol.c' object='protocol/libweston_@LIBWESTON_MAJOR@_la-pointer-constraints-unstable-v1-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o protocol/libweston_@LIBWESTON_MAJOR@_la-pointer-constraints-unstable-v1-protocol.lo `test -f 'protocol/pointer-constraints-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/pointer-constraints-unstable-v1-protocol.c libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-client.lo: libweston-desktop/client.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-client.lo -MD -MP -MF libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-client.Tpo -c -o libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-client.lo `test -f 'libweston-desktop/client.c' || echo '$(srcdir)/'`libweston-desktop/client.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-client.Tpo libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-client.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston-desktop/client.c' object='libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-client.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-client.lo `test -f 'libweston-desktop/client.c' || echo '$(srcdir)/'`libweston-desktop/client.c libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-libweston-desktop.lo: libweston-desktop/libweston-desktop.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-libweston-desktop.lo -MD -MP -MF libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-libweston-desktop.Tpo -c -o libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-libweston-desktop.lo `test -f 'libweston-desktop/libweston-desktop.c' || echo '$(srcdir)/'`libweston-desktop/libweston-desktop.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-libweston-desktop.Tpo libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-libweston-desktop.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston-desktop/libweston-desktop.c' object='libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-libweston-desktop.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-libweston-desktop.lo `test -f 'libweston-desktop/libweston-desktop.c' || echo '$(srcdir)/'`libweston-desktop/libweston-desktop.c libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-seat.lo: libweston-desktop/seat.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-seat.lo -MD -MP -MF libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-seat.Tpo -c -o libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-seat.lo `test -f 'libweston-desktop/seat.c' || echo '$(srcdir)/'`libweston-desktop/seat.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-seat.Tpo libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-seat.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston-desktop/seat.c' object='libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-seat.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-seat.lo `test -f 'libweston-desktop/seat.c' || echo '$(srcdir)/'`libweston-desktop/seat.c libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-surface.lo: libweston-desktop/surface.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-surface.lo -MD -MP -MF libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-surface.Tpo -c -o libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-surface.lo `test -f 'libweston-desktop/surface.c' || echo '$(srcdir)/'`libweston-desktop/surface.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-surface.Tpo libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-surface.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston-desktop/surface.c' object='libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-surface.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-surface.lo `test -f 'libweston-desktop/surface.c' || echo '$(srcdir)/'`libweston-desktop/surface.c libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-wl-shell.lo: libweston-desktop/wl-shell.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-wl-shell.lo -MD -MP -MF libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-wl-shell.Tpo -c -o libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-wl-shell.lo `test -f 'libweston-desktop/wl-shell.c' || echo '$(srcdir)/'`libweston-desktop/wl-shell.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-wl-shell.Tpo libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-wl-shell.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston-desktop/wl-shell.c' object='libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-wl-shell.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-wl-shell.lo `test -f 'libweston-desktop/wl-shell.c' || echo '$(srcdir)/'`libweston-desktop/wl-shell.c libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v6.lo: libweston-desktop/xdg-shell-v6.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v6.lo -MD -MP -MF libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v6.Tpo -c -o libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v6.lo `test -f 'libweston-desktop/xdg-shell-v6.c' || echo '$(srcdir)/'`libweston-desktop/xdg-shell-v6.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v6.Tpo libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v6.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston-desktop/xdg-shell-v6.c' object='libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v6.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v6.lo `test -f 'libweston-desktop/xdg-shell-v6.c' || echo '$(srcdir)/'`libweston-desktop/xdg-shell-v6.c libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v5.lo: libweston-desktop/xdg-shell-v5.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v5.lo -MD -MP -MF libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v5.Tpo -c -o libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v5.lo `test -f 'libweston-desktop/xdg-shell-v5.c' || echo '$(srcdir)/'`libweston-desktop/xdg-shell-v5.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v5.Tpo libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v5.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston-desktop/xdg-shell-v5.c' object='libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v5.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v5.lo `test -f 'libweston-desktop/xdg-shell-v5.c' || echo '$(srcdir)/'`libweston-desktop/xdg-shell-v5.c libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xwayland.lo: libweston-desktop/xwayland.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xwayland.lo -MD -MP -MF libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xwayland.Tpo -c -o libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xwayland.lo `test -f 'libweston-desktop/xwayland.c' || echo '$(srcdir)/'`libweston-desktop/xwayland.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xwayland.Tpo libweston-desktop/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xwayland.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston-desktop/xwayland.c' object='libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xwayland.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xwayland.lo `test -f 'libweston-desktop/xwayland.c' || echo '$(srcdir)/'`libweston-desktop/xwayland.c protocol/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v6-protocol.lo: protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT protocol/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v6-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v6-protocol.Tpo -c -o protocol/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v6-protocol.lo `test -f 'protocol/xdg-shell-unstable-v6-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v6-protocol.Tpo protocol/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v6-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/xdg-shell-unstable-v6-protocol.c' object='protocol/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v6-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o protocol/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v6-protocol.lo `test -f 'protocol/xdg-shell-unstable-v6-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v6-protocol.c protocol/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v5-protocol.lo: protocol/xdg-shell-unstable-v5-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -MT protocol/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v5-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v5-protocol.Tpo -c -o protocol/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v5-protocol.lo `test -f 'protocol/xdg-shell-unstable-v5-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v5-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v5-protocol.Tpo protocol/$(DEPDIR)/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v5-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/xdg-shell-unstable-v5-protocol.c' object='protocol/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v5-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CPPFLAGS) $(CPPFLAGS) $(libweston_desktop_@LIBWESTON_MAJOR@_la_CFLAGS) $(CFLAGS) -c -o protocol/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-unstable-v5-protocol.lo `test -f 'protocol/xdg-shell-unstable-v5-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v5-protocol.c tools/zunitc/src/libzunitc_la-zuc_base_logger.lo: tools/zunitc/src/zuc_base_logger.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libzunitc_la_CFLAGS) $(CFLAGS) -MT tools/zunitc/src/libzunitc_la-zuc_base_logger.lo -MD -MP -MF tools/zunitc/src/$(DEPDIR)/libzunitc_la-zuc_base_logger.Tpo -c -o tools/zunitc/src/libzunitc_la-zuc_base_logger.lo `test -f 'tools/zunitc/src/zuc_base_logger.c' || echo '$(srcdir)/'`tools/zunitc/src/zuc_base_logger.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/zunitc/src/$(DEPDIR)/libzunitc_la-zuc_base_logger.Tpo tools/zunitc/src/$(DEPDIR)/libzunitc_la-zuc_base_logger.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/zunitc/src/zuc_base_logger.c' object='tools/zunitc/src/libzunitc_la-zuc_base_logger.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libzunitc_la_CFLAGS) $(CFLAGS) -c -o tools/zunitc/src/libzunitc_la-zuc_base_logger.lo `test -f 'tools/zunitc/src/zuc_base_logger.c' || echo '$(srcdir)/'`tools/zunitc/src/zuc_base_logger.c tools/zunitc/src/libzunitc_la-zuc_collector.lo: tools/zunitc/src/zuc_collector.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libzunitc_la_CFLAGS) $(CFLAGS) -MT tools/zunitc/src/libzunitc_la-zuc_collector.lo -MD -MP -MF tools/zunitc/src/$(DEPDIR)/libzunitc_la-zuc_collector.Tpo -c -o tools/zunitc/src/libzunitc_la-zuc_collector.lo `test -f 'tools/zunitc/src/zuc_collector.c' || echo '$(srcdir)/'`tools/zunitc/src/zuc_collector.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/zunitc/src/$(DEPDIR)/libzunitc_la-zuc_collector.Tpo tools/zunitc/src/$(DEPDIR)/libzunitc_la-zuc_collector.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/zunitc/src/zuc_collector.c' object='tools/zunitc/src/libzunitc_la-zuc_collector.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libzunitc_la_CFLAGS) $(CFLAGS) -c -o tools/zunitc/src/libzunitc_la-zuc_collector.lo `test -f 'tools/zunitc/src/zuc_collector.c' || echo '$(srcdir)/'`tools/zunitc/src/zuc_collector.c tools/zunitc/src/libzunitc_la-zuc_junit_reporter.lo: tools/zunitc/src/zuc_junit_reporter.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libzunitc_la_CFLAGS) $(CFLAGS) -MT tools/zunitc/src/libzunitc_la-zuc_junit_reporter.lo -MD -MP -MF tools/zunitc/src/$(DEPDIR)/libzunitc_la-zuc_junit_reporter.Tpo -c -o tools/zunitc/src/libzunitc_la-zuc_junit_reporter.lo `test -f 'tools/zunitc/src/zuc_junit_reporter.c' || echo '$(srcdir)/'`tools/zunitc/src/zuc_junit_reporter.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/zunitc/src/$(DEPDIR)/libzunitc_la-zuc_junit_reporter.Tpo tools/zunitc/src/$(DEPDIR)/libzunitc_la-zuc_junit_reporter.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/zunitc/src/zuc_junit_reporter.c' object='tools/zunitc/src/libzunitc_la-zuc_junit_reporter.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libzunitc_la_CFLAGS) $(CFLAGS) -c -o tools/zunitc/src/libzunitc_la-zuc_junit_reporter.lo `test -f 'tools/zunitc/src/zuc_junit_reporter.c' || echo '$(srcdir)/'`tools/zunitc/src/zuc_junit_reporter.c tools/zunitc/src/libzunitc_la-zunitc_impl.lo: tools/zunitc/src/zunitc_impl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libzunitc_la_CFLAGS) $(CFLAGS) -MT tools/zunitc/src/libzunitc_la-zunitc_impl.lo -MD -MP -MF tools/zunitc/src/$(DEPDIR)/libzunitc_la-zunitc_impl.Tpo -c -o tools/zunitc/src/libzunitc_la-zunitc_impl.lo `test -f 'tools/zunitc/src/zunitc_impl.c' || echo '$(srcdir)/'`tools/zunitc/src/zunitc_impl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/zunitc/src/$(DEPDIR)/libzunitc_la-zunitc_impl.Tpo tools/zunitc/src/$(DEPDIR)/libzunitc_la-zunitc_impl.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/zunitc/src/zunitc_impl.c' object='tools/zunitc/src/libzunitc_la-zunitc_impl.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libzunitc_la_CFLAGS) $(CFLAGS) -c -o tools/zunitc/src/libzunitc_la-zunitc_impl.lo `test -f 'tools/zunitc/src/zunitc_impl.c' || echo '$(srcdir)/'`tools/zunitc/src/zunitc_impl.c tools/zunitc/src/libzunitcmain_la-main.lo: tools/zunitc/src/main.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libzunitcmain_la_CFLAGS) $(CFLAGS) -MT tools/zunitc/src/libzunitcmain_la-main.lo -MD -MP -MF tools/zunitc/src/$(DEPDIR)/libzunitcmain_la-main.Tpo -c -o tools/zunitc/src/libzunitcmain_la-main.lo `test -f 'tools/zunitc/src/main.c' || echo '$(srcdir)/'`tools/zunitc/src/main.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/zunitc/src/$(DEPDIR)/libzunitcmain_la-main.Tpo tools/zunitc/src/$(DEPDIR)/libzunitcmain_la-main.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/zunitc/src/main.c' object='tools/zunitc/src/libzunitcmain_la-main.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libzunitcmain_la_CFLAGS) $(CFLAGS) -c -o tools/zunitc/src/libzunitcmain_la-main.lo `test -f 'tools/zunitc/src/main.c' || echo '$(srcdir)/'`tools/zunitc/src/main.c tests/plugin_registry_test_la-plugin-registry-test.lo: tests/plugin-registry-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugin_registry_test_la_CFLAGS) $(CFLAGS) -MT tests/plugin_registry_test_la-plugin-registry-test.lo -MD -MP -MF tests/$(DEPDIR)/plugin_registry_test_la-plugin-registry-test.Tpo -c -o tests/plugin_registry_test_la-plugin-registry-test.lo `test -f 'tests/plugin-registry-test.c' || echo '$(srcdir)/'`tests/plugin-registry-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/plugin_registry_test_la-plugin-registry-test.Tpo tests/$(DEPDIR)/plugin_registry_test_la-plugin-registry-test.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/plugin-registry-test.c' object='tests/plugin_registry_test_la-plugin-registry-test.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(plugin_registry_test_la_CFLAGS) $(CFLAGS) -c -o tests/plugin_registry_test_la-plugin-registry-test.lo `test -f 'tests/plugin-registry-test.c' || echo '$(srcdir)/'`tests/plugin-registry-test.c libweston/rdp_backend_la-compositor-rdp.lo: libweston/compositor-rdp.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rdp_backend_la_CFLAGS) $(CFLAGS) -MT libweston/rdp_backend_la-compositor-rdp.lo -MD -MP -MF libweston/$(DEPDIR)/rdp_backend_la-compositor-rdp.Tpo -c -o libweston/rdp_backend_la-compositor-rdp.lo `test -f 'libweston/compositor-rdp.c' || echo '$(srcdir)/'`libweston/compositor-rdp.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/rdp_backend_la-compositor-rdp.Tpo libweston/$(DEPDIR)/rdp_backend_la-compositor-rdp.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/compositor-rdp.c' object='libweston/rdp_backend_la-compositor-rdp.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(rdp_backend_la_CFLAGS) $(CFLAGS) -c -o libweston/rdp_backend_la-compositor-rdp.lo `test -f 'libweston/compositor-rdp.c' || echo '$(srcdir)/'`libweston/compositor-rdp.c compositor/screen_share_la-screen-share.lo: compositor/screen-share.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(screen_share_la_CPPFLAGS) $(CPPFLAGS) $(screen_share_la_CFLAGS) $(CFLAGS) -MT compositor/screen_share_la-screen-share.lo -MD -MP -MF compositor/$(DEPDIR)/screen_share_la-screen-share.Tpo -c -o compositor/screen_share_la-screen-share.lo `test -f 'compositor/screen-share.c' || echo '$(srcdir)/'`compositor/screen-share.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) compositor/$(DEPDIR)/screen_share_la-screen-share.Tpo compositor/$(DEPDIR)/screen_share_la-screen-share.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='compositor/screen-share.c' object='compositor/screen_share_la-screen-share.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(screen_share_la_CPPFLAGS) $(CPPFLAGS) $(screen_share_la_CFLAGS) $(CFLAGS) -c -o compositor/screen_share_la-screen-share.lo `test -f 'compositor/screen-share.c' || echo '$(srcdir)/'`compositor/screen-share.c protocol/screen_share_la-fullscreen-shell-unstable-v1-protocol.lo: protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(screen_share_la_CPPFLAGS) $(CPPFLAGS) $(screen_share_la_CFLAGS) $(CFLAGS) -MT protocol/screen_share_la-fullscreen-shell-unstable-v1-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/screen_share_la-fullscreen-shell-unstable-v1-protocol.Tpo -c -o protocol/screen_share_la-fullscreen-shell-unstable-v1-protocol.lo `test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/screen_share_la-fullscreen-shell-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/screen_share_la-fullscreen-shell-unstable-v1-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/fullscreen-shell-unstable-v1-protocol.c' object='protocol/screen_share_la-fullscreen-shell-unstable-v1-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(screen_share_la_CPPFLAGS) $(CPPFLAGS) $(screen_share_la_CFLAGS) $(CFLAGS) -c -o protocol/screen_share_la-fullscreen-shell-unstable-v1-protocol.lo `test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/fullscreen-shell-unstable-v1-protocol.c tests/surface_global_test_la-surface-global-test.lo: tests/surface-global-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(surface_global_test_la_CFLAGS) $(CFLAGS) -MT tests/surface_global_test_la-surface-global-test.lo -MD -MP -MF tests/$(DEPDIR)/surface_global_test_la-surface-global-test.Tpo -c -o tests/surface_global_test_la-surface-global-test.lo `test -f 'tests/surface-global-test.c' || echo '$(srcdir)/'`tests/surface-global-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/surface_global_test_la-surface-global-test.Tpo tests/$(DEPDIR)/surface_global_test_la-surface-global-test.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/surface-global-test.c' object='tests/surface_global_test_la-surface-global-test.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(surface_global_test_la_CFLAGS) $(CFLAGS) -c -o tests/surface_global_test_la-surface-global-test.lo `test -f 'tests/surface-global-test.c' || echo '$(srcdir)/'`tests/surface-global-test.c tests/surface_screenshot_la-surface-screenshot.lo: tests/surface-screenshot.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(surface_screenshot_la_CFLAGS) $(CFLAGS) -MT tests/surface_screenshot_la-surface-screenshot.lo -MD -MP -MF tests/$(DEPDIR)/surface_screenshot_la-surface-screenshot.Tpo -c -o tests/surface_screenshot_la-surface-screenshot.lo `test -f 'tests/surface-screenshot.c' || echo '$(srcdir)/'`tests/surface-screenshot.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/surface_screenshot_la-surface-screenshot.Tpo tests/$(DEPDIR)/surface_screenshot_la-surface-screenshot.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/surface-screenshot.c' object='tests/surface_screenshot_la-surface-screenshot.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(surface_screenshot_la_CFLAGS) $(CFLAGS) -c -o tests/surface_screenshot_la-surface-screenshot.lo `test -f 'tests/surface-screenshot.c' || echo '$(srcdir)/'`tests/surface-screenshot.c tests/surface_test_la-surface-test.lo: tests/surface-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(surface_test_la_CFLAGS) $(CFLAGS) -MT tests/surface_test_la-surface-test.lo -MD -MP -MF tests/$(DEPDIR)/surface_test_la-surface-test.Tpo -c -o tests/surface_test_la-surface-test.lo `test -f 'tests/surface-test.c' || echo '$(srcdir)/'`tests/surface-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/surface_test_la-surface-test.Tpo tests/$(DEPDIR)/surface_test_la-surface-test.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/surface-test.c' object='tests/surface_test_la-surface-test.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(surface_test_la_CFLAGS) $(CFLAGS) -c -o tests/surface_test_la-surface-test.lo `test -f 'tests/surface-test.c' || echo '$(srcdir)/'`tests/surface-test.c compositor/systemd_notify_la-systemd-notify.lo: compositor/systemd-notify.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(systemd_notify_la_CFLAGS) $(CFLAGS) -MT compositor/systemd_notify_la-systemd-notify.lo -MD -MP -MF compositor/$(DEPDIR)/systemd_notify_la-systemd-notify.Tpo -c -o compositor/systemd_notify_la-systemd-notify.lo `test -f 'compositor/systemd-notify.c' || echo '$(srcdir)/'`compositor/systemd-notify.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) compositor/$(DEPDIR)/systemd_notify_la-systemd-notify.Tpo compositor/$(DEPDIR)/systemd_notify_la-systemd-notify.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='compositor/systemd-notify.c' object='compositor/systemd_notify_la-systemd-notify.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(systemd_notify_la_CFLAGS) $(CFLAGS) -c -o compositor/systemd_notify_la-systemd-notify.lo `test -f 'compositor/systemd-notify.c' || echo '$(srcdir)/'`compositor/systemd-notify.c libweston/wayland_backend_la-compositor-wayland.lo: libweston/compositor-wayland.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wayland_backend_la_CFLAGS) $(CFLAGS) -MT libweston/wayland_backend_la-compositor-wayland.lo -MD -MP -MF libweston/$(DEPDIR)/wayland_backend_la-compositor-wayland.Tpo -c -o libweston/wayland_backend_la-compositor-wayland.lo `test -f 'libweston/compositor-wayland.c' || echo '$(srcdir)/'`libweston/compositor-wayland.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/wayland_backend_la-compositor-wayland.Tpo libweston/$(DEPDIR)/wayland_backend_la-compositor-wayland.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/compositor-wayland.c' object='libweston/wayland_backend_la-compositor-wayland.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wayland_backend_la_CFLAGS) $(CFLAGS) -c -o libweston/wayland_backend_la-compositor-wayland.lo `test -f 'libweston/compositor-wayland.c' || echo '$(srcdir)/'`libweston/compositor-wayland.c protocol/wayland_backend_la-fullscreen-shell-unstable-v1-protocol.lo: protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wayland_backend_la_CFLAGS) $(CFLAGS) -MT protocol/wayland_backend_la-fullscreen-shell-unstable-v1-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/wayland_backend_la-fullscreen-shell-unstable-v1-protocol.Tpo -c -o protocol/wayland_backend_la-fullscreen-shell-unstable-v1-protocol.lo `test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/wayland_backend_la-fullscreen-shell-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/wayland_backend_la-fullscreen-shell-unstable-v1-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/fullscreen-shell-unstable-v1-protocol.c' object='protocol/wayland_backend_la-fullscreen-shell-unstable-v1-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wayland_backend_la_CFLAGS) $(CFLAGS) -c -o protocol/wayland_backend_la-fullscreen-shell-unstable-v1-protocol.lo `test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/fullscreen-shell-unstable-v1-protocol.c protocol/wayland_backend_la-xdg-shell-unstable-v6-protocol.lo: protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wayland_backend_la_CFLAGS) $(CFLAGS) -MT protocol/wayland_backend_la-xdg-shell-unstable-v6-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/wayland_backend_la-xdg-shell-unstable-v6-protocol.Tpo -c -o protocol/wayland_backend_la-xdg-shell-unstable-v6-protocol.lo `test -f 'protocol/xdg-shell-unstable-v6-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/wayland_backend_la-xdg-shell-unstable-v6-protocol.Tpo protocol/$(DEPDIR)/wayland_backend_la-xdg-shell-unstable-v6-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/xdg-shell-unstable-v6-protocol.c' object='protocol/wayland_backend_la-xdg-shell-unstable-v6-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wayland_backend_la_CFLAGS) $(CFLAGS) -c -o protocol/wayland_backend_la-xdg-shell-unstable-v6-protocol.lo `test -f 'protocol/xdg-shell-unstable-v6-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v6-protocol.c tests/weston_test_desktop_shell_la-weston-test-desktop-shell.lo: tests/weston-test-desktop-shell.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_test_desktop_shell_la_CFLAGS) $(CFLAGS) -MT tests/weston_test_desktop_shell_la-weston-test-desktop-shell.lo -MD -MP -MF tests/$(DEPDIR)/weston_test_desktop_shell_la-weston-test-desktop-shell.Tpo -c -o tests/weston_test_desktop_shell_la-weston-test-desktop-shell.lo `test -f 'tests/weston-test-desktop-shell.c' || echo '$(srcdir)/'`tests/weston-test-desktop-shell.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/weston_test_desktop_shell_la-weston-test-desktop-shell.Tpo tests/$(DEPDIR)/weston_test_desktop_shell_la-weston-test-desktop-shell.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/weston-test-desktop-shell.c' object='tests/weston_test_desktop_shell_la-weston-test-desktop-shell.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_test_desktop_shell_la_CFLAGS) $(CFLAGS) -c -o tests/weston_test_desktop_shell_la-weston-test-desktop-shell.lo `test -f 'tests/weston-test-desktop-shell.c' || echo '$(srcdir)/'`tests/weston-test-desktop-shell.c tests/weston_test_la-weston-test.lo: tests/weston-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_test_la_CFLAGS) $(CFLAGS) -MT tests/weston_test_la-weston-test.lo -MD -MP -MF tests/$(DEPDIR)/weston_test_la-weston-test.Tpo -c -o tests/weston_test_la-weston-test.lo `test -f 'tests/weston-test.c' || echo '$(srcdir)/'`tests/weston-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/weston_test_la-weston-test.Tpo tests/$(DEPDIR)/weston_test_la-weston-test.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/weston-test.c' object='tests/weston_test_la-weston-test.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_test_la_CFLAGS) $(CFLAGS) -c -o tests/weston_test_la-weston-test.lo `test -f 'tests/weston-test.c' || echo '$(srcdir)/'`tests/weston-test.c protocol/weston_test_la-weston-test-protocol.lo: protocol/weston-test-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_test_la_CFLAGS) $(CFLAGS) -MT protocol/weston_test_la-weston-test-protocol.lo -MD -MP -MF protocol/$(DEPDIR)/weston_test_la-weston-test-protocol.Tpo -c -o protocol/weston_test_la-weston-test-protocol.lo `test -f 'protocol/weston-test-protocol.c' || echo '$(srcdir)/'`protocol/weston-test-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_test_la-weston-test-protocol.Tpo protocol/$(DEPDIR)/weston_test_la-weston-test-protocol.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/weston-test-protocol.c' object='protocol/weston_test_la-weston-test-protocol.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_test_la_CFLAGS) $(CFLAGS) -c -o protocol/weston_test_la-weston-test-protocol.lo `test -f 'protocol/weston-test-protocol.c' || echo '$(srcdir)/'`protocol/weston-test-protocol.c libweston/x11_backend_la-compositor-x11.lo: libweston/compositor-x11.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(x11_backend_la_CFLAGS) $(CFLAGS) -MT libweston/x11_backend_la-compositor-x11.lo -MD -MP -MF libweston/$(DEPDIR)/x11_backend_la-compositor-x11.Tpo -c -o libweston/x11_backend_la-compositor-x11.lo `test -f 'libweston/compositor-x11.c' || echo '$(srcdir)/'`libweston/compositor-x11.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/x11_backend_la-compositor-x11.Tpo libweston/$(DEPDIR)/x11_backend_la-compositor-x11.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/compositor-x11.c' object='libweston/x11_backend_la-compositor-x11.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(x11_backend_la_CFLAGS) $(CFLAGS) -c -o libweston/x11_backend_la-compositor-x11.lo `test -f 'libweston/compositor-x11.c' || echo '$(srcdir)/'`libweston/compositor-x11.c xwayland/xwayland_la-window-manager.lo: xwayland/window-manager.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xwayland_la_CPPFLAGS) $(CPPFLAGS) $(xwayland_la_CFLAGS) $(CFLAGS) -MT xwayland/xwayland_la-window-manager.lo -MD -MP -MF xwayland/$(DEPDIR)/xwayland_la-window-manager.Tpo -c -o xwayland/xwayland_la-window-manager.lo `test -f 'xwayland/window-manager.c' || echo '$(srcdir)/'`xwayland/window-manager.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) xwayland/$(DEPDIR)/xwayland_la-window-manager.Tpo xwayland/$(DEPDIR)/xwayland_la-window-manager.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='xwayland/window-manager.c' object='xwayland/xwayland_la-window-manager.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xwayland_la_CPPFLAGS) $(CPPFLAGS) $(xwayland_la_CFLAGS) $(CFLAGS) -c -o xwayland/xwayland_la-window-manager.lo `test -f 'xwayland/window-manager.c' || echo '$(srcdir)/'`xwayland/window-manager.c xwayland/xwayland_la-selection.lo: xwayland/selection.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xwayland_la_CPPFLAGS) $(CPPFLAGS) $(xwayland_la_CFLAGS) $(CFLAGS) -MT xwayland/xwayland_la-selection.lo -MD -MP -MF xwayland/$(DEPDIR)/xwayland_la-selection.Tpo -c -o xwayland/xwayland_la-selection.lo `test -f 'xwayland/selection.c' || echo '$(srcdir)/'`xwayland/selection.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) xwayland/$(DEPDIR)/xwayland_la-selection.Tpo xwayland/$(DEPDIR)/xwayland_la-selection.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='xwayland/selection.c' object='xwayland/xwayland_la-selection.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xwayland_la_CPPFLAGS) $(CPPFLAGS) $(xwayland_la_CFLAGS) $(CFLAGS) -c -o xwayland/xwayland_la-selection.lo `test -f 'xwayland/selection.c' || echo '$(srcdir)/'`xwayland/selection.c xwayland/xwayland_la-dnd.lo: xwayland/dnd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xwayland_la_CPPFLAGS) $(CPPFLAGS) $(xwayland_la_CFLAGS) $(CFLAGS) -MT xwayland/xwayland_la-dnd.lo -MD -MP -MF xwayland/$(DEPDIR)/xwayland_la-dnd.Tpo -c -o xwayland/xwayland_la-dnd.lo `test -f 'xwayland/dnd.c' || echo '$(srcdir)/'`xwayland/dnd.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) xwayland/$(DEPDIR)/xwayland_la-dnd.Tpo xwayland/$(DEPDIR)/xwayland_la-dnd.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='xwayland/dnd.c' object='xwayland/xwayland_la-dnd.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xwayland_la_CPPFLAGS) $(CPPFLAGS) $(xwayland_la_CFLAGS) $(CFLAGS) -c -o xwayland/xwayland_la-dnd.lo `test -f 'xwayland/dnd.c' || echo '$(srcdir)/'`xwayland/dnd.c xwayland/xwayland_la-launcher.lo: xwayland/launcher.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xwayland_la_CPPFLAGS) $(CPPFLAGS) $(xwayland_la_CFLAGS) $(CFLAGS) -MT xwayland/xwayland_la-launcher.lo -MD -MP -MF xwayland/$(DEPDIR)/xwayland_la-launcher.Tpo -c -o xwayland/xwayland_la-launcher.lo `test -f 'xwayland/launcher.c' || echo '$(srcdir)/'`xwayland/launcher.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) xwayland/$(DEPDIR)/xwayland_la-launcher.Tpo xwayland/$(DEPDIR)/xwayland_la-launcher.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='xwayland/launcher.c' object='xwayland/xwayland_la-launcher.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xwayland_la_CPPFLAGS) $(CPPFLAGS) $(xwayland_la_CFLAGS) $(CFLAGS) -c -o xwayland/xwayland_la-launcher.lo `test -f 'xwayland/launcher.c' || echo '$(srcdir)/'`xwayland/launcher.c xwayland/xwayland_la-hash.lo: xwayland/hash.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xwayland_la_CPPFLAGS) $(CPPFLAGS) $(xwayland_la_CFLAGS) $(CFLAGS) -MT xwayland/xwayland_la-hash.lo -MD -MP -MF xwayland/$(DEPDIR)/xwayland_la-hash.Tpo -c -o xwayland/xwayland_la-hash.lo `test -f 'xwayland/hash.c' || echo '$(srcdir)/'`xwayland/hash.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) xwayland/$(DEPDIR)/xwayland_la-hash.Tpo xwayland/$(DEPDIR)/xwayland_la-hash.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='xwayland/hash.c' object='xwayland/xwayland_la-hash.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xwayland_la_CPPFLAGS) $(CPPFLAGS) $(xwayland_la_CFLAGS) $(CFLAGS) -c -o xwayland/xwayland_la-hash.lo `test -f 'xwayland/hash.c' || echo '$(srcdir)/'`xwayland/hash.c tests/bad_buffer_weston-bad-buffer-test.o: tests/bad-buffer-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(bad_buffer_weston_CFLAGS) $(CFLAGS) -MT tests/bad_buffer_weston-bad-buffer-test.o -MD -MP -MF tests/$(DEPDIR)/bad_buffer_weston-bad-buffer-test.Tpo -c -o tests/bad_buffer_weston-bad-buffer-test.o `test -f 'tests/bad-buffer-test.c' || echo '$(srcdir)/'`tests/bad-buffer-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/bad_buffer_weston-bad-buffer-test.Tpo tests/$(DEPDIR)/bad_buffer_weston-bad-buffer-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/bad-buffer-test.c' object='tests/bad_buffer_weston-bad-buffer-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(bad_buffer_weston_CFLAGS) $(CFLAGS) -c -o tests/bad_buffer_weston-bad-buffer-test.o `test -f 'tests/bad-buffer-test.c' || echo '$(srcdir)/'`tests/bad-buffer-test.c tests/bad_buffer_weston-bad-buffer-test.obj: tests/bad-buffer-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(bad_buffer_weston_CFLAGS) $(CFLAGS) -MT tests/bad_buffer_weston-bad-buffer-test.obj -MD -MP -MF tests/$(DEPDIR)/bad_buffer_weston-bad-buffer-test.Tpo -c -o tests/bad_buffer_weston-bad-buffer-test.obj `if test -f 'tests/bad-buffer-test.c'; then $(CYGPATH_W) 'tests/bad-buffer-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/bad-buffer-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/bad_buffer_weston-bad-buffer-test.Tpo tests/$(DEPDIR)/bad_buffer_weston-bad-buffer-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/bad-buffer-test.c' object='tests/bad_buffer_weston-bad-buffer-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(bad_buffer_weston_CFLAGS) $(CFLAGS) -c -o tests/bad_buffer_weston-bad-buffer-test.obj `if test -f 'tests/bad-buffer-test.c'; then $(CYGPATH_W) 'tests/bad-buffer-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/bad-buffer-test.c'; fi` tests/button_weston-button-test.o: tests/button-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(button_weston_CFLAGS) $(CFLAGS) -MT tests/button_weston-button-test.o -MD -MP -MF tests/$(DEPDIR)/button_weston-button-test.Tpo -c -o tests/button_weston-button-test.o `test -f 'tests/button-test.c' || echo '$(srcdir)/'`tests/button-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/button_weston-button-test.Tpo tests/$(DEPDIR)/button_weston-button-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/button-test.c' object='tests/button_weston-button-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(button_weston_CFLAGS) $(CFLAGS) -c -o tests/button_weston-button-test.o `test -f 'tests/button-test.c' || echo '$(srcdir)/'`tests/button-test.c tests/button_weston-button-test.obj: tests/button-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(button_weston_CFLAGS) $(CFLAGS) -MT tests/button_weston-button-test.obj -MD -MP -MF tests/$(DEPDIR)/button_weston-button-test.Tpo -c -o tests/button_weston-button-test.obj `if test -f 'tests/button-test.c'; then $(CYGPATH_W) 'tests/button-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/button-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/button_weston-button-test.Tpo tests/$(DEPDIR)/button_weston-button-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/button-test.c' object='tests/button_weston-button-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(button_weston_CFLAGS) $(CFLAGS) -c -o tests/button_weston-button-test.obj `if test -f 'tests/button-test.c'; then $(CYGPATH_W) 'tests/button-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/button-test.c'; fi` tests/config_parser_test-config-parser-test.o: tests/config-parser-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(config_parser_test_CFLAGS) $(CFLAGS) -MT tests/config_parser_test-config-parser-test.o -MD -MP -MF tests/$(DEPDIR)/config_parser_test-config-parser-test.Tpo -c -o tests/config_parser_test-config-parser-test.o `test -f 'tests/config-parser-test.c' || echo '$(srcdir)/'`tests/config-parser-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/config_parser_test-config-parser-test.Tpo tests/$(DEPDIR)/config_parser_test-config-parser-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/config-parser-test.c' object='tests/config_parser_test-config-parser-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(config_parser_test_CFLAGS) $(CFLAGS) -c -o tests/config_parser_test-config-parser-test.o `test -f 'tests/config-parser-test.c' || echo '$(srcdir)/'`tests/config-parser-test.c tests/config_parser_test-config-parser-test.obj: tests/config-parser-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(config_parser_test_CFLAGS) $(CFLAGS) -MT tests/config_parser_test-config-parser-test.obj -MD -MP -MF tests/$(DEPDIR)/config_parser_test-config-parser-test.Tpo -c -o tests/config_parser_test-config-parser-test.obj `if test -f 'tests/config-parser-test.c'; then $(CYGPATH_W) 'tests/config-parser-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/config-parser-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/config_parser_test-config-parser-test.Tpo tests/$(DEPDIR)/config_parser_test-config-parser-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/config-parser-test.c' object='tests/config_parser_test-config-parser-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(config_parser_test_CFLAGS) $(CFLAGS) -c -o tests/config_parser_test-config-parser-test.obj `if test -f 'tests/config-parser-test.c'; then $(CYGPATH_W) 'tests/config-parser-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/config-parser-test.c'; fi` tests/devices_weston-devices-test.o: tests/devices-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(devices_weston_CFLAGS) $(CFLAGS) -MT tests/devices_weston-devices-test.o -MD -MP -MF tests/$(DEPDIR)/devices_weston-devices-test.Tpo -c -o tests/devices_weston-devices-test.o `test -f 'tests/devices-test.c' || echo '$(srcdir)/'`tests/devices-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/devices_weston-devices-test.Tpo tests/$(DEPDIR)/devices_weston-devices-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/devices-test.c' object='tests/devices_weston-devices-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(devices_weston_CFLAGS) $(CFLAGS) -c -o tests/devices_weston-devices-test.o `test -f 'tests/devices-test.c' || echo '$(srcdir)/'`tests/devices-test.c tests/devices_weston-devices-test.obj: tests/devices-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(devices_weston_CFLAGS) $(CFLAGS) -MT tests/devices_weston-devices-test.obj -MD -MP -MF tests/$(DEPDIR)/devices_weston-devices-test.Tpo -c -o tests/devices_weston-devices-test.obj `if test -f 'tests/devices-test.c'; then $(CYGPATH_W) 'tests/devices-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/devices-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/devices_weston-devices-test.Tpo tests/$(DEPDIR)/devices_weston-devices-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/devices-test.c' object='tests/devices_weston-devices-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(devices_weston_CFLAGS) $(CFLAGS) -c -o tests/devices_weston-devices-test.obj `if test -f 'tests/devices-test.c'; then $(CYGPATH_W) 'tests/devices-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/devices-test.c'; fi` tests/event_weston-event-test.o: tests/event-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(event_weston_CFLAGS) $(CFLAGS) -MT tests/event_weston-event-test.o -MD -MP -MF tests/$(DEPDIR)/event_weston-event-test.Tpo -c -o tests/event_weston-event-test.o `test -f 'tests/event-test.c' || echo '$(srcdir)/'`tests/event-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/event_weston-event-test.Tpo tests/$(DEPDIR)/event_weston-event-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/event-test.c' object='tests/event_weston-event-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(event_weston_CFLAGS) $(CFLAGS) -c -o tests/event_weston-event-test.o `test -f 'tests/event-test.c' || echo '$(srcdir)/'`tests/event-test.c tests/event_weston-event-test.obj: tests/event-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(event_weston_CFLAGS) $(CFLAGS) -MT tests/event_weston-event-test.obj -MD -MP -MF tests/$(DEPDIR)/event_weston-event-test.Tpo -c -o tests/event_weston-event-test.obj `if test -f 'tests/event-test.c'; then $(CYGPATH_W) 'tests/event-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/event-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/event_weston-event-test.Tpo tests/$(DEPDIR)/event_weston-event-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/event-test.c' object='tests/event_weston-event-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(event_weston_CFLAGS) $(CFLAGS) -c -o tests/event_weston-event-test.obj `if test -f 'tests/event-test.c'; then $(CYGPATH_W) 'tests/event-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/event-test.c'; fi` tests/internal_screenshot_weston-internal-screenshot-test.o: tests/internal-screenshot-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(internal_screenshot_weston_CFLAGS) $(CFLAGS) -MT tests/internal_screenshot_weston-internal-screenshot-test.o -MD -MP -MF tests/$(DEPDIR)/internal_screenshot_weston-internal-screenshot-test.Tpo -c -o tests/internal_screenshot_weston-internal-screenshot-test.o `test -f 'tests/internal-screenshot-test.c' || echo '$(srcdir)/'`tests/internal-screenshot-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/internal_screenshot_weston-internal-screenshot-test.Tpo tests/$(DEPDIR)/internal_screenshot_weston-internal-screenshot-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/internal-screenshot-test.c' object='tests/internal_screenshot_weston-internal-screenshot-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(internal_screenshot_weston_CFLAGS) $(CFLAGS) -c -o tests/internal_screenshot_weston-internal-screenshot-test.o `test -f 'tests/internal-screenshot-test.c' || echo '$(srcdir)/'`tests/internal-screenshot-test.c tests/internal_screenshot_weston-internal-screenshot-test.obj: tests/internal-screenshot-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(internal_screenshot_weston_CFLAGS) $(CFLAGS) -MT tests/internal_screenshot_weston-internal-screenshot-test.obj -MD -MP -MF tests/$(DEPDIR)/internal_screenshot_weston-internal-screenshot-test.Tpo -c -o tests/internal_screenshot_weston-internal-screenshot-test.obj `if test -f 'tests/internal-screenshot-test.c'; then $(CYGPATH_W) 'tests/internal-screenshot-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/internal-screenshot-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/internal_screenshot_weston-internal-screenshot-test.Tpo tests/$(DEPDIR)/internal_screenshot_weston-internal-screenshot-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/internal-screenshot-test.c' object='tests/internal_screenshot_weston-internal-screenshot-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(internal_screenshot_weston_CFLAGS) $(CFLAGS) -c -o tests/internal_screenshot_weston-internal-screenshot-test.obj `if test -f 'tests/internal-screenshot-test.c'; then $(CYGPATH_W) 'tests/internal-screenshot-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/internal-screenshot-test.c'; fi` tests/ivi_layout_ivi-ivi_layout-test.o: tests/ivi_layout-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_layout_ivi_CFLAGS) $(CFLAGS) -MT tests/ivi_layout_ivi-ivi_layout-test.o -MD -MP -MF tests/$(DEPDIR)/ivi_layout_ivi-ivi_layout-test.Tpo -c -o tests/ivi_layout_ivi-ivi_layout-test.o `test -f 'tests/ivi_layout-test.c' || echo '$(srcdir)/'`tests/ivi_layout-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/ivi_layout_ivi-ivi_layout-test.Tpo tests/$(DEPDIR)/ivi_layout_ivi-ivi_layout-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/ivi_layout-test.c' object='tests/ivi_layout_ivi-ivi_layout-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_layout_ivi_CFLAGS) $(CFLAGS) -c -o tests/ivi_layout_ivi-ivi_layout-test.o `test -f 'tests/ivi_layout-test.c' || echo '$(srcdir)/'`tests/ivi_layout-test.c tests/ivi_layout_ivi-ivi_layout-test.obj: tests/ivi_layout-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_layout_ivi_CFLAGS) $(CFLAGS) -MT tests/ivi_layout_ivi-ivi_layout-test.obj -MD -MP -MF tests/$(DEPDIR)/ivi_layout_ivi-ivi_layout-test.Tpo -c -o tests/ivi_layout_ivi-ivi_layout-test.obj `if test -f 'tests/ivi_layout-test.c'; then $(CYGPATH_W) 'tests/ivi_layout-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/ivi_layout-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/ivi_layout_ivi-ivi_layout-test.Tpo tests/$(DEPDIR)/ivi_layout_ivi-ivi_layout-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/ivi_layout-test.c' object='tests/ivi_layout_ivi-ivi_layout-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_layout_ivi_CFLAGS) $(CFLAGS) -c -o tests/ivi_layout_ivi-ivi_layout-test.obj `if test -f 'tests/ivi_layout-test.c'; then $(CYGPATH_W) 'tests/ivi_layout-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/ivi_layout-test.c'; fi` protocol/ivi_layout_ivi-ivi-application-protocol.o: protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_layout_ivi_CFLAGS) $(CFLAGS) -MT protocol/ivi_layout_ivi-ivi-application-protocol.o -MD -MP -MF protocol/$(DEPDIR)/ivi_layout_ivi-ivi-application-protocol.Tpo -c -o protocol/ivi_layout_ivi-ivi-application-protocol.o `test -f 'protocol/ivi-application-protocol.c' || echo '$(srcdir)/'`protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/ivi_layout_ivi-ivi-application-protocol.Tpo protocol/$(DEPDIR)/ivi_layout_ivi-ivi-application-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/ivi-application-protocol.c' object='protocol/ivi_layout_ivi-ivi-application-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_layout_ivi_CFLAGS) $(CFLAGS) -c -o protocol/ivi_layout_ivi-ivi-application-protocol.o `test -f 'protocol/ivi-application-protocol.c' || echo '$(srcdir)/'`protocol/ivi-application-protocol.c protocol/ivi_layout_ivi-ivi-application-protocol.obj: protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_layout_ivi_CFLAGS) $(CFLAGS) -MT protocol/ivi_layout_ivi-ivi-application-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/ivi_layout_ivi-ivi-application-protocol.Tpo -c -o protocol/ivi_layout_ivi-ivi-application-protocol.obj `if test -f 'protocol/ivi-application-protocol.c'; then $(CYGPATH_W) 'protocol/ivi-application-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/ivi-application-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/ivi_layout_ivi-ivi-application-protocol.Tpo protocol/$(DEPDIR)/ivi_layout_ivi-ivi-application-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/ivi-application-protocol.c' object='protocol/ivi_layout_ivi-ivi-application-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_layout_ivi_CFLAGS) $(CFLAGS) -c -o protocol/ivi_layout_ivi-ivi-application-protocol.obj `if test -f 'protocol/ivi-application-protocol.c'; then $(CYGPATH_W) 'protocol/ivi-application-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/ivi-application-protocol.c'; fi` tests/ivi_shell_app_weston-ivi-shell-app-test.o: tests/ivi-shell-app-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_app_weston_CFLAGS) $(CFLAGS) -MT tests/ivi_shell_app_weston-ivi-shell-app-test.o -MD -MP -MF tests/$(DEPDIR)/ivi_shell_app_weston-ivi-shell-app-test.Tpo -c -o tests/ivi_shell_app_weston-ivi-shell-app-test.o `test -f 'tests/ivi-shell-app-test.c' || echo '$(srcdir)/'`tests/ivi-shell-app-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/ivi_shell_app_weston-ivi-shell-app-test.Tpo tests/$(DEPDIR)/ivi_shell_app_weston-ivi-shell-app-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/ivi-shell-app-test.c' object='tests/ivi_shell_app_weston-ivi-shell-app-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_app_weston_CFLAGS) $(CFLAGS) -c -o tests/ivi_shell_app_weston-ivi-shell-app-test.o `test -f 'tests/ivi-shell-app-test.c' || echo '$(srcdir)/'`tests/ivi-shell-app-test.c tests/ivi_shell_app_weston-ivi-shell-app-test.obj: tests/ivi-shell-app-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_app_weston_CFLAGS) $(CFLAGS) -MT tests/ivi_shell_app_weston-ivi-shell-app-test.obj -MD -MP -MF tests/$(DEPDIR)/ivi_shell_app_weston-ivi-shell-app-test.Tpo -c -o tests/ivi_shell_app_weston-ivi-shell-app-test.obj `if test -f 'tests/ivi-shell-app-test.c'; then $(CYGPATH_W) 'tests/ivi-shell-app-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/ivi-shell-app-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/ivi_shell_app_weston-ivi-shell-app-test.Tpo tests/$(DEPDIR)/ivi_shell_app_weston-ivi-shell-app-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/ivi-shell-app-test.c' object='tests/ivi_shell_app_weston-ivi-shell-app-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_app_weston_CFLAGS) $(CFLAGS) -c -o tests/ivi_shell_app_weston-ivi-shell-app-test.obj `if test -f 'tests/ivi-shell-app-test.c'; then $(CYGPATH_W) 'tests/ivi-shell-app-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/ivi-shell-app-test.c'; fi` protocol/ivi_shell_app_weston-ivi-application-protocol.o: protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_app_weston_CFLAGS) $(CFLAGS) -MT protocol/ivi_shell_app_weston-ivi-application-protocol.o -MD -MP -MF protocol/$(DEPDIR)/ivi_shell_app_weston-ivi-application-protocol.Tpo -c -o protocol/ivi_shell_app_weston-ivi-application-protocol.o `test -f 'protocol/ivi-application-protocol.c' || echo '$(srcdir)/'`protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/ivi_shell_app_weston-ivi-application-protocol.Tpo protocol/$(DEPDIR)/ivi_shell_app_weston-ivi-application-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/ivi-application-protocol.c' object='protocol/ivi_shell_app_weston-ivi-application-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_app_weston_CFLAGS) $(CFLAGS) -c -o protocol/ivi_shell_app_weston-ivi-application-protocol.o `test -f 'protocol/ivi-application-protocol.c' || echo '$(srcdir)/'`protocol/ivi-application-protocol.c protocol/ivi_shell_app_weston-ivi-application-protocol.obj: protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_app_weston_CFLAGS) $(CFLAGS) -MT protocol/ivi_shell_app_weston-ivi-application-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/ivi_shell_app_weston-ivi-application-protocol.Tpo -c -o protocol/ivi_shell_app_weston-ivi-application-protocol.obj `if test -f 'protocol/ivi-application-protocol.c'; then $(CYGPATH_W) 'protocol/ivi-application-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/ivi-application-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/ivi_shell_app_weston-ivi-application-protocol.Tpo protocol/$(DEPDIR)/ivi_shell_app_weston-ivi-application-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/ivi-application-protocol.c' object='protocol/ivi_shell_app_weston-ivi-application-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(ivi_shell_app_weston_CFLAGS) $(CFLAGS) -c -o protocol/ivi_shell_app_weston-ivi-application-protocol.obj `if test -f 'protocol/ivi-application-protocol.c'; then $(CYGPATH_W) 'protocol/ivi-application-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/ivi-application-protocol.c'; fi` tests/keyboard_weston-keyboard-test.o: tests/keyboard-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(keyboard_weston_CFLAGS) $(CFLAGS) -MT tests/keyboard_weston-keyboard-test.o -MD -MP -MF tests/$(DEPDIR)/keyboard_weston-keyboard-test.Tpo -c -o tests/keyboard_weston-keyboard-test.o `test -f 'tests/keyboard-test.c' || echo '$(srcdir)/'`tests/keyboard-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/keyboard_weston-keyboard-test.Tpo tests/$(DEPDIR)/keyboard_weston-keyboard-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/keyboard-test.c' object='tests/keyboard_weston-keyboard-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(keyboard_weston_CFLAGS) $(CFLAGS) -c -o tests/keyboard_weston-keyboard-test.o `test -f 'tests/keyboard-test.c' || echo '$(srcdir)/'`tests/keyboard-test.c tests/keyboard_weston-keyboard-test.obj: tests/keyboard-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(keyboard_weston_CFLAGS) $(CFLAGS) -MT tests/keyboard_weston-keyboard-test.obj -MD -MP -MF tests/$(DEPDIR)/keyboard_weston-keyboard-test.Tpo -c -o tests/keyboard_weston-keyboard-test.obj `if test -f 'tests/keyboard-test.c'; then $(CYGPATH_W) 'tests/keyboard-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/keyboard-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/keyboard_weston-keyboard-test.Tpo tests/$(DEPDIR)/keyboard_weston-keyboard-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/keyboard-test.c' object='tests/keyboard_weston-keyboard-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(keyboard_weston_CFLAGS) $(CFLAGS) -c -o tests/keyboard_weston-keyboard-test.obj `if test -f 'tests/keyboard-test.c'; then $(CYGPATH_W) 'tests/keyboard-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/keyboard-test.c'; fi` tests/matrix_test-matrix-test.o: tests/matrix-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(matrix_test_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/matrix_test-matrix-test.o -MD -MP -MF tests/$(DEPDIR)/matrix_test-matrix-test.Tpo -c -o tests/matrix_test-matrix-test.o `test -f 'tests/matrix-test.c' || echo '$(srcdir)/'`tests/matrix-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/matrix_test-matrix-test.Tpo tests/$(DEPDIR)/matrix_test-matrix-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/matrix-test.c' object='tests/matrix_test-matrix-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(matrix_test_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/matrix_test-matrix-test.o `test -f 'tests/matrix-test.c' || echo '$(srcdir)/'`tests/matrix-test.c tests/matrix_test-matrix-test.obj: tests/matrix-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(matrix_test_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT tests/matrix_test-matrix-test.obj -MD -MP -MF tests/$(DEPDIR)/matrix_test-matrix-test.Tpo -c -o tests/matrix_test-matrix-test.obj `if test -f 'tests/matrix-test.c'; then $(CYGPATH_W) 'tests/matrix-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/matrix-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/matrix_test-matrix-test.Tpo tests/$(DEPDIR)/matrix_test-matrix-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/matrix-test.c' object='tests/matrix_test-matrix-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(matrix_test_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o tests/matrix_test-matrix-test.obj `if test -f 'tests/matrix-test.c'; then $(CYGPATH_W) 'tests/matrix-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/matrix-test.c'; fi` shared/matrix_test-matrix.o: shared/matrix.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(matrix_test_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT shared/matrix_test-matrix.o -MD -MP -MF shared/$(DEPDIR)/matrix_test-matrix.Tpo -c -o shared/matrix_test-matrix.o `test -f 'shared/matrix.c' || echo '$(srcdir)/'`shared/matrix.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/matrix_test-matrix.Tpo shared/$(DEPDIR)/matrix_test-matrix.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/matrix.c' object='shared/matrix_test-matrix.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(matrix_test_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o shared/matrix_test-matrix.o `test -f 'shared/matrix.c' || echo '$(srcdir)/'`shared/matrix.c shared/matrix_test-matrix.obj: shared/matrix.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(matrix_test_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT shared/matrix_test-matrix.obj -MD -MP -MF shared/$(DEPDIR)/matrix_test-matrix.Tpo -c -o shared/matrix_test-matrix.obj `if test -f 'shared/matrix.c'; then $(CYGPATH_W) 'shared/matrix.c'; else $(CYGPATH_W) '$(srcdir)/shared/matrix.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/matrix_test-matrix.Tpo shared/$(DEPDIR)/matrix_test-matrix.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/matrix.c' object='shared/matrix_test-matrix.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(matrix_test_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o shared/matrix_test-matrix.obj `if test -f 'shared/matrix.c'; then $(CYGPATH_W) 'shared/matrix.c'; else $(CYGPATH_W) '$(srcdir)/shared/matrix.c'; fi` tests/presentation_weston-presentation-test.o: tests/presentation-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(presentation_weston_CFLAGS) $(CFLAGS) -MT tests/presentation_weston-presentation-test.o -MD -MP -MF tests/$(DEPDIR)/presentation_weston-presentation-test.Tpo -c -o tests/presentation_weston-presentation-test.o `test -f 'tests/presentation-test.c' || echo '$(srcdir)/'`tests/presentation-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/presentation_weston-presentation-test.Tpo tests/$(DEPDIR)/presentation_weston-presentation-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/presentation-test.c' object='tests/presentation_weston-presentation-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(presentation_weston_CFLAGS) $(CFLAGS) -c -o tests/presentation_weston-presentation-test.o `test -f 'tests/presentation-test.c' || echo '$(srcdir)/'`tests/presentation-test.c tests/presentation_weston-presentation-test.obj: tests/presentation-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(presentation_weston_CFLAGS) $(CFLAGS) -MT tests/presentation_weston-presentation-test.obj -MD -MP -MF tests/$(DEPDIR)/presentation_weston-presentation-test.Tpo -c -o tests/presentation_weston-presentation-test.obj `if test -f 'tests/presentation-test.c'; then $(CYGPATH_W) 'tests/presentation-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/presentation-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/presentation_weston-presentation-test.Tpo tests/$(DEPDIR)/presentation_weston-presentation-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/presentation-test.c' object='tests/presentation_weston-presentation-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(presentation_weston_CFLAGS) $(CFLAGS) -c -o tests/presentation_weston-presentation-test.obj `if test -f 'tests/presentation-test.c'; then $(CYGPATH_W) 'tests/presentation-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/presentation-test.c'; fi` protocol/presentation_weston-presentation-time-protocol.o: protocol/presentation-time-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(presentation_weston_CFLAGS) $(CFLAGS) -MT protocol/presentation_weston-presentation-time-protocol.o -MD -MP -MF protocol/$(DEPDIR)/presentation_weston-presentation-time-protocol.Tpo -c -o protocol/presentation_weston-presentation-time-protocol.o `test -f 'protocol/presentation-time-protocol.c' || echo '$(srcdir)/'`protocol/presentation-time-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/presentation_weston-presentation-time-protocol.Tpo protocol/$(DEPDIR)/presentation_weston-presentation-time-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/presentation-time-protocol.c' object='protocol/presentation_weston-presentation-time-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(presentation_weston_CFLAGS) $(CFLAGS) -c -o protocol/presentation_weston-presentation-time-protocol.o `test -f 'protocol/presentation-time-protocol.c' || echo '$(srcdir)/'`protocol/presentation-time-protocol.c protocol/presentation_weston-presentation-time-protocol.obj: protocol/presentation-time-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(presentation_weston_CFLAGS) $(CFLAGS) -MT protocol/presentation_weston-presentation-time-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/presentation_weston-presentation-time-protocol.Tpo -c -o protocol/presentation_weston-presentation-time-protocol.obj `if test -f 'protocol/presentation-time-protocol.c'; then $(CYGPATH_W) 'protocol/presentation-time-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/presentation-time-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/presentation_weston-presentation-time-protocol.Tpo protocol/$(DEPDIR)/presentation_weston-presentation-time-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/presentation-time-protocol.c' object='protocol/presentation_weston-presentation-time-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(presentation_weston_CFLAGS) $(CFLAGS) -c -o protocol/presentation_weston-presentation-time-protocol.obj `if test -f 'protocol/presentation-time-protocol.c'; then $(CYGPATH_W) 'protocol/presentation-time-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/presentation-time-protocol.c'; fi` tests/roles_weston-roles-test.o: tests/roles-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(roles_weston_CFLAGS) $(CFLAGS) -MT tests/roles_weston-roles-test.o -MD -MP -MF tests/$(DEPDIR)/roles_weston-roles-test.Tpo -c -o tests/roles_weston-roles-test.o `test -f 'tests/roles-test.c' || echo '$(srcdir)/'`tests/roles-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/roles_weston-roles-test.Tpo tests/$(DEPDIR)/roles_weston-roles-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/roles-test.c' object='tests/roles_weston-roles-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(roles_weston_CFLAGS) $(CFLAGS) -c -o tests/roles_weston-roles-test.o `test -f 'tests/roles-test.c' || echo '$(srcdir)/'`tests/roles-test.c tests/roles_weston-roles-test.obj: tests/roles-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(roles_weston_CFLAGS) $(CFLAGS) -MT tests/roles_weston-roles-test.obj -MD -MP -MF tests/$(DEPDIR)/roles_weston-roles-test.Tpo -c -o tests/roles_weston-roles-test.obj `if test -f 'tests/roles-test.c'; then $(CYGPATH_W) 'tests/roles-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/roles-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/roles_weston-roles-test.Tpo tests/$(DEPDIR)/roles_weston-roles-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/roles-test.c' object='tests/roles_weston-roles-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(roles_weston_CFLAGS) $(CFLAGS) -c -o tests/roles_weston-roles-test.obj `if test -f 'tests/roles-test.c'; then $(CYGPATH_W) 'tests/roles-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/roles-test.c'; fi` tests/setbacklight-setbacklight.o: tests/setbacklight.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(setbacklight_CFLAGS) $(CFLAGS) -MT tests/setbacklight-setbacklight.o -MD -MP -MF tests/$(DEPDIR)/setbacklight-setbacklight.Tpo -c -o tests/setbacklight-setbacklight.o `test -f 'tests/setbacklight.c' || echo '$(srcdir)/'`tests/setbacklight.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/setbacklight-setbacklight.Tpo tests/$(DEPDIR)/setbacklight-setbacklight.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/setbacklight.c' object='tests/setbacklight-setbacklight.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(setbacklight_CFLAGS) $(CFLAGS) -c -o tests/setbacklight-setbacklight.o `test -f 'tests/setbacklight.c' || echo '$(srcdir)/'`tests/setbacklight.c tests/setbacklight-setbacklight.obj: tests/setbacklight.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(setbacklight_CFLAGS) $(CFLAGS) -MT tests/setbacklight-setbacklight.obj -MD -MP -MF tests/$(DEPDIR)/setbacklight-setbacklight.Tpo -c -o tests/setbacklight-setbacklight.obj `if test -f 'tests/setbacklight.c'; then $(CYGPATH_W) 'tests/setbacklight.c'; else $(CYGPATH_W) '$(srcdir)/tests/setbacklight.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/setbacklight-setbacklight.Tpo tests/$(DEPDIR)/setbacklight-setbacklight.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/setbacklight.c' object='tests/setbacklight-setbacklight.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(setbacklight_CFLAGS) $(CFLAGS) -c -o tests/setbacklight-setbacklight.obj `if test -f 'tests/setbacklight.c'; then $(CYGPATH_W) 'tests/setbacklight.c'; else $(CYGPATH_W) '$(srcdir)/tests/setbacklight.c'; fi` libweston/setbacklight-libbacklight.o: libweston/libbacklight.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(setbacklight_CFLAGS) $(CFLAGS) -MT libweston/setbacklight-libbacklight.o -MD -MP -MF libweston/$(DEPDIR)/setbacklight-libbacklight.Tpo -c -o libweston/setbacklight-libbacklight.o `test -f 'libweston/libbacklight.c' || echo '$(srcdir)/'`libweston/libbacklight.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/setbacklight-libbacklight.Tpo libweston/$(DEPDIR)/setbacklight-libbacklight.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/libbacklight.c' object='libweston/setbacklight-libbacklight.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(setbacklight_CFLAGS) $(CFLAGS) -c -o libweston/setbacklight-libbacklight.o `test -f 'libweston/libbacklight.c' || echo '$(srcdir)/'`libweston/libbacklight.c libweston/setbacklight-libbacklight.obj: libweston/libbacklight.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(setbacklight_CFLAGS) $(CFLAGS) -MT libweston/setbacklight-libbacklight.obj -MD -MP -MF libweston/$(DEPDIR)/setbacklight-libbacklight.Tpo -c -o libweston/setbacklight-libbacklight.obj `if test -f 'libweston/libbacklight.c'; then $(CYGPATH_W) 'libweston/libbacklight.c'; else $(CYGPATH_W) '$(srcdir)/libweston/libbacklight.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/setbacklight-libbacklight.Tpo libweston/$(DEPDIR)/setbacklight-libbacklight.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/libbacklight.c' object='libweston/setbacklight-libbacklight.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(setbacklight_CFLAGS) $(CFLAGS) -c -o libweston/setbacklight-libbacklight.obj `if test -f 'libweston/libbacklight.c'; then $(CYGPATH_W) 'libweston/libbacklight.c'; else $(CYGPATH_W) '$(srcdir)/libweston/libbacklight.c'; fi` libweston/spring_tool-spring-tool.o: libweston/spring-tool.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(spring_tool_CFLAGS) $(CFLAGS) -MT libweston/spring_tool-spring-tool.o -MD -MP -MF libweston/$(DEPDIR)/spring_tool-spring-tool.Tpo -c -o libweston/spring_tool-spring-tool.o `test -f 'libweston/spring-tool.c' || echo '$(srcdir)/'`libweston/spring-tool.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/spring_tool-spring-tool.Tpo libweston/$(DEPDIR)/spring_tool-spring-tool.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/spring-tool.c' object='libweston/spring_tool-spring-tool.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(spring_tool_CFLAGS) $(CFLAGS) -c -o libweston/spring_tool-spring-tool.o `test -f 'libweston/spring-tool.c' || echo '$(srcdir)/'`libweston/spring-tool.c libweston/spring_tool-spring-tool.obj: libweston/spring-tool.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(spring_tool_CFLAGS) $(CFLAGS) -MT libweston/spring_tool-spring-tool.obj -MD -MP -MF libweston/$(DEPDIR)/spring_tool-spring-tool.Tpo -c -o libweston/spring_tool-spring-tool.obj `if test -f 'libweston/spring-tool.c'; then $(CYGPATH_W) 'libweston/spring-tool.c'; else $(CYGPATH_W) '$(srcdir)/libweston/spring-tool.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/spring_tool-spring-tool.Tpo libweston/$(DEPDIR)/spring_tool-spring-tool.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/spring-tool.c' object='libweston/spring_tool-spring-tool.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(spring_tool_CFLAGS) $(CFLAGS) -c -o libweston/spring_tool-spring-tool.obj `if test -f 'libweston/spring-tool.c'; then $(CYGPATH_W) 'libweston/spring-tool.c'; else $(CYGPATH_W) '$(srcdir)/libweston/spring-tool.c'; fi` libweston/spring_tool-animation.o: libweston/animation.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(spring_tool_CFLAGS) $(CFLAGS) -MT libweston/spring_tool-animation.o -MD -MP -MF libweston/$(DEPDIR)/spring_tool-animation.Tpo -c -o libweston/spring_tool-animation.o `test -f 'libweston/animation.c' || echo '$(srcdir)/'`libweston/animation.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/spring_tool-animation.Tpo libweston/$(DEPDIR)/spring_tool-animation.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/animation.c' object='libweston/spring_tool-animation.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(spring_tool_CFLAGS) $(CFLAGS) -c -o libweston/spring_tool-animation.o `test -f 'libweston/animation.c' || echo '$(srcdir)/'`libweston/animation.c libweston/spring_tool-animation.obj: libweston/animation.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(spring_tool_CFLAGS) $(CFLAGS) -MT libweston/spring_tool-animation.obj -MD -MP -MF libweston/$(DEPDIR)/spring_tool-animation.Tpo -c -o libweston/spring_tool-animation.obj `if test -f 'libweston/animation.c'; then $(CYGPATH_W) 'libweston/animation.c'; else $(CYGPATH_W) '$(srcdir)/libweston/animation.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/spring_tool-animation.Tpo libweston/$(DEPDIR)/spring_tool-animation.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/animation.c' object='libweston/spring_tool-animation.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(spring_tool_CFLAGS) $(CFLAGS) -c -o libweston/spring_tool-animation.obj `if test -f 'libweston/animation.c'; then $(CYGPATH_W) 'libweston/animation.c'; else $(CYGPATH_W) '$(srcdir)/libweston/animation.c'; fi` shared/spring_tool-matrix.o: shared/matrix.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(spring_tool_CFLAGS) $(CFLAGS) -MT shared/spring_tool-matrix.o -MD -MP -MF shared/$(DEPDIR)/spring_tool-matrix.Tpo -c -o shared/spring_tool-matrix.o `test -f 'shared/matrix.c' || echo '$(srcdir)/'`shared/matrix.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/spring_tool-matrix.Tpo shared/$(DEPDIR)/spring_tool-matrix.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/matrix.c' object='shared/spring_tool-matrix.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(spring_tool_CFLAGS) $(CFLAGS) -c -o shared/spring_tool-matrix.o `test -f 'shared/matrix.c' || echo '$(srcdir)/'`shared/matrix.c shared/spring_tool-matrix.obj: shared/matrix.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(spring_tool_CFLAGS) $(CFLAGS) -MT shared/spring_tool-matrix.obj -MD -MP -MF shared/$(DEPDIR)/spring_tool-matrix.Tpo -c -o shared/spring_tool-matrix.obj `if test -f 'shared/matrix.c'; then $(CYGPATH_W) 'shared/matrix.c'; else $(CYGPATH_W) '$(srcdir)/shared/matrix.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/spring_tool-matrix.Tpo shared/$(DEPDIR)/spring_tool-matrix.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/matrix.c' object='shared/spring_tool-matrix.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(spring_tool_CFLAGS) $(CFLAGS) -c -o shared/spring_tool-matrix.obj `if test -f 'shared/matrix.c'; then $(CYGPATH_W) 'shared/matrix.c'; else $(CYGPATH_W) '$(srcdir)/shared/matrix.c'; fi` tests/string_test-string-test.o: tests/string-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(string_test_CFLAGS) $(CFLAGS) -MT tests/string_test-string-test.o -MD -MP -MF tests/$(DEPDIR)/string_test-string-test.Tpo -c -o tests/string_test-string-test.o `test -f 'tests/string-test.c' || echo '$(srcdir)/'`tests/string-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/string_test-string-test.Tpo tests/$(DEPDIR)/string_test-string-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/string-test.c' object='tests/string_test-string-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(string_test_CFLAGS) $(CFLAGS) -c -o tests/string_test-string-test.o `test -f 'tests/string-test.c' || echo '$(srcdir)/'`tests/string-test.c tests/string_test-string-test.obj: tests/string-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(string_test_CFLAGS) $(CFLAGS) -MT tests/string_test-string-test.obj -MD -MP -MF tests/$(DEPDIR)/string_test-string-test.Tpo -c -o tests/string_test-string-test.obj `if test -f 'tests/string-test.c'; then $(CYGPATH_W) 'tests/string-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/string-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/string_test-string-test.Tpo tests/$(DEPDIR)/string_test-string-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/string-test.c' object='tests/string_test-string-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(string_test_CFLAGS) $(CFLAGS) -c -o tests/string_test-string-test.obj `if test -f 'tests/string-test.c'; then $(CYGPATH_W) 'tests/string-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/string-test.c'; fi` tests/subsurface_shot_weston-subsurface-shot-test.o: tests/subsurface-shot-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(subsurface_shot_weston_CFLAGS) $(CFLAGS) -MT tests/subsurface_shot_weston-subsurface-shot-test.o -MD -MP -MF tests/$(DEPDIR)/subsurface_shot_weston-subsurface-shot-test.Tpo -c -o tests/subsurface_shot_weston-subsurface-shot-test.o `test -f 'tests/subsurface-shot-test.c' || echo '$(srcdir)/'`tests/subsurface-shot-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/subsurface_shot_weston-subsurface-shot-test.Tpo tests/$(DEPDIR)/subsurface_shot_weston-subsurface-shot-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/subsurface-shot-test.c' object='tests/subsurface_shot_weston-subsurface-shot-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(subsurface_shot_weston_CFLAGS) $(CFLAGS) -c -o tests/subsurface_shot_weston-subsurface-shot-test.o `test -f 'tests/subsurface-shot-test.c' || echo '$(srcdir)/'`tests/subsurface-shot-test.c tests/subsurface_shot_weston-subsurface-shot-test.obj: tests/subsurface-shot-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(subsurface_shot_weston_CFLAGS) $(CFLAGS) -MT tests/subsurface_shot_weston-subsurface-shot-test.obj -MD -MP -MF tests/$(DEPDIR)/subsurface_shot_weston-subsurface-shot-test.Tpo -c -o tests/subsurface_shot_weston-subsurface-shot-test.obj `if test -f 'tests/subsurface-shot-test.c'; then $(CYGPATH_W) 'tests/subsurface-shot-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/subsurface-shot-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/subsurface_shot_weston-subsurface-shot-test.Tpo tests/$(DEPDIR)/subsurface_shot_weston-subsurface-shot-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/subsurface-shot-test.c' object='tests/subsurface_shot_weston-subsurface-shot-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(subsurface_shot_weston_CFLAGS) $(CFLAGS) -c -o tests/subsurface_shot_weston-subsurface-shot-test.obj `if test -f 'tests/subsurface-shot-test.c'; then $(CYGPATH_W) 'tests/subsurface-shot-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/subsurface-shot-test.c'; fi` tests/subsurface_weston-subsurface-test.o: tests/subsurface-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(subsurface_weston_CFLAGS) $(CFLAGS) -MT tests/subsurface_weston-subsurface-test.o -MD -MP -MF tests/$(DEPDIR)/subsurface_weston-subsurface-test.Tpo -c -o tests/subsurface_weston-subsurface-test.o `test -f 'tests/subsurface-test.c' || echo '$(srcdir)/'`tests/subsurface-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/subsurface_weston-subsurface-test.Tpo tests/$(DEPDIR)/subsurface_weston-subsurface-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/subsurface-test.c' object='tests/subsurface_weston-subsurface-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(subsurface_weston_CFLAGS) $(CFLAGS) -c -o tests/subsurface_weston-subsurface-test.o `test -f 'tests/subsurface-test.c' || echo '$(srcdir)/'`tests/subsurface-test.c tests/subsurface_weston-subsurface-test.obj: tests/subsurface-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(subsurface_weston_CFLAGS) $(CFLAGS) -MT tests/subsurface_weston-subsurface-test.obj -MD -MP -MF tests/$(DEPDIR)/subsurface_weston-subsurface-test.Tpo -c -o tests/subsurface_weston-subsurface-test.obj `if test -f 'tests/subsurface-test.c'; then $(CYGPATH_W) 'tests/subsurface-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/subsurface-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/subsurface_weston-subsurface-test.Tpo tests/$(DEPDIR)/subsurface_weston-subsurface-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/subsurface-test.c' object='tests/subsurface_weston-subsurface-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(subsurface_weston_CFLAGS) $(CFLAGS) -c -o tests/subsurface_weston-subsurface-test.obj `if test -f 'tests/subsurface-test.c'; then $(CYGPATH_W) 'tests/subsurface-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/subsurface-test.c'; fi` tests/text_weston-text-test.o: tests/text-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(text_weston_CFLAGS) $(CFLAGS) -MT tests/text_weston-text-test.o -MD -MP -MF tests/$(DEPDIR)/text_weston-text-test.Tpo -c -o tests/text_weston-text-test.o `test -f 'tests/text-test.c' || echo '$(srcdir)/'`tests/text-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/text_weston-text-test.Tpo tests/$(DEPDIR)/text_weston-text-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/text-test.c' object='tests/text_weston-text-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(text_weston_CFLAGS) $(CFLAGS) -c -o tests/text_weston-text-test.o `test -f 'tests/text-test.c' || echo '$(srcdir)/'`tests/text-test.c tests/text_weston-text-test.obj: tests/text-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(text_weston_CFLAGS) $(CFLAGS) -MT tests/text_weston-text-test.obj -MD -MP -MF tests/$(DEPDIR)/text_weston-text-test.Tpo -c -o tests/text_weston-text-test.obj `if test -f 'tests/text-test.c'; then $(CYGPATH_W) 'tests/text-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/text-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/text_weston-text-test.Tpo tests/$(DEPDIR)/text_weston-text-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/text-test.c' object='tests/text_weston-text-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(text_weston_CFLAGS) $(CFLAGS) -c -o tests/text_weston-text-test.obj `if test -f 'tests/text-test.c'; then $(CYGPATH_W) 'tests/text-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/text-test.c'; fi` protocol/text_weston-text-input-unstable-v1-protocol.o: protocol/text-input-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(text_weston_CFLAGS) $(CFLAGS) -MT protocol/text_weston-text-input-unstable-v1-protocol.o -MD -MP -MF protocol/$(DEPDIR)/text_weston-text-input-unstable-v1-protocol.Tpo -c -o protocol/text_weston-text-input-unstable-v1-protocol.o `test -f 'protocol/text-input-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/text-input-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/text_weston-text-input-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/text_weston-text-input-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/text-input-unstable-v1-protocol.c' object='protocol/text_weston-text-input-unstable-v1-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(text_weston_CFLAGS) $(CFLAGS) -c -o protocol/text_weston-text-input-unstable-v1-protocol.o `test -f 'protocol/text-input-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/text-input-unstable-v1-protocol.c protocol/text_weston-text-input-unstable-v1-protocol.obj: protocol/text-input-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(text_weston_CFLAGS) $(CFLAGS) -MT protocol/text_weston-text-input-unstable-v1-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/text_weston-text-input-unstable-v1-protocol.Tpo -c -o protocol/text_weston-text-input-unstable-v1-protocol.obj `if test -f 'protocol/text-input-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/text-input-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/text-input-unstable-v1-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/text_weston-text-input-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/text_weston-text-input-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/text-input-unstable-v1-protocol.c' object='protocol/text_weston-text-input-unstable-v1-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(text_weston_CFLAGS) $(CFLAGS) -c -o protocol/text_weston-text-input-unstable-v1-protocol.obj `if test -f 'protocol/text-input-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/text-input-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/text-input-unstable-v1-protocol.c'; fi` tests/timespec_test-timespec-test.o: tests/timespec-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(timespec_test_CFLAGS) $(CFLAGS) -MT tests/timespec_test-timespec-test.o -MD -MP -MF tests/$(DEPDIR)/timespec_test-timespec-test.Tpo -c -o tests/timespec_test-timespec-test.o `test -f 'tests/timespec-test.c' || echo '$(srcdir)/'`tests/timespec-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/timespec_test-timespec-test.Tpo tests/$(DEPDIR)/timespec_test-timespec-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/timespec-test.c' object='tests/timespec_test-timespec-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(timespec_test_CFLAGS) $(CFLAGS) -c -o tests/timespec_test-timespec-test.o `test -f 'tests/timespec-test.c' || echo '$(srcdir)/'`tests/timespec-test.c tests/timespec_test-timespec-test.obj: tests/timespec-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(timespec_test_CFLAGS) $(CFLAGS) -MT tests/timespec_test-timespec-test.obj -MD -MP -MF tests/$(DEPDIR)/timespec_test-timespec-test.Tpo -c -o tests/timespec_test-timespec-test.obj `if test -f 'tests/timespec-test.c'; then $(CYGPATH_W) 'tests/timespec-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/timespec-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/timespec_test-timespec-test.Tpo tests/$(DEPDIR)/timespec_test-timespec-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/timespec-test.c' object='tests/timespec_test-timespec-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(timespec_test_CFLAGS) $(CFLAGS) -c -o tests/timespec_test-timespec-test.obj `if test -f 'tests/timespec-test.c'; then $(CYGPATH_W) 'tests/timespec-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/timespec-test.c'; fi` tests/viewporter_weston-viewporter-test.o: tests/viewporter-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(viewporter_weston_CFLAGS) $(CFLAGS) -MT tests/viewporter_weston-viewporter-test.o -MD -MP -MF tests/$(DEPDIR)/viewporter_weston-viewporter-test.Tpo -c -o tests/viewporter_weston-viewporter-test.o `test -f 'tests/viewporter-test.c' || echo '$(srcdir)/'`tests/viewporter-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/viewporter_weston-viewporter-test.Tpo tests/$(DEPDIR)/viewporter_weston-viewporter-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/viewporter-test.c' object='tests/viewporter_weston-viewporter-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(viewporter_weston_CFLAGS) $(CFLAGS) -c -o tests/viewporter_weston-viewporter-test.o `test -f 'tests/viewporter-test.c' || echo '$(srcdir)/'`tests/viewporter-test.c tests/viewporter_weston-viewporter-test.obj: tests/viewporter-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(viewporter_weston_CFLAGS) $(CFLAGS) -MT tests/viewporter_weston-viewporter-test.obj -MD -MP -MF tests/$(DEPDIR)/viewporter_weston-viewporter-test.Tpo -c -o tests/viewporter_weston-viewporter-test.obj `if test -f 'tests/viewporter-test.c'; then $(CYGPATH_W) 'tests/viewporter-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/viewporter-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/viewporter_weston-viewporter-test.Tpo tests/$(DEPDIR)/viewporter_weston-viewporter-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/viewporter-test.c' object='tests/viewporter_weston-viewporter-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(viewporter_weston_CFLAGS) $(CFLAGS) -c -o tests/viewporter_weston-viewporter-test.obj `if test -f 'tests/viewporter-test.c'; then $(CYGPATH_W) 'tests/viewporter-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/viewporter-test.c'; fi` protocol/viewporter_weston-viewporter-protocol.o: protocol/viewporter-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(viewporter_weston_CFLAGS) $(CFLAGS) -MT protocol/viewporter_weston-viewporter-protocol.o -MD -MP -MF protocol/$(DEPDIR)/viewporter_weston-viewporter-protocol.Tpo -c -o protocol/viewporter_weston-viewporter-protocol.o `test -f 'protocol/viewporter-protocol.c' || echo '$(srcdir)/'`protocol/viewporter-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/viewporter_weston-viewporter-protocol.Tpo protocol/$(DEPDIR)/viewporter_weston-viewporter-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/viewporter-protocol.c' object='protocol/viewporter_weston-viewporter-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(viewporter_weston_CFLAGS) $(CFLAGS) -c -o protocol/viewporter_weston-viewporter-protocol.o `test -f 'protocol/viewporter-protocol.c' || echo '$(srcdir)/'`protocol/viewporter-protocol.c protocol/viewporter_weston-viewporter-protocol.obj: protocol/viewporter-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(viewporter_weston_CFLAGS) $(CFLAGS) -MT protocol/viewporter_weston-viewporter-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/viewporter_weston-viewporter-protocol.Tpo -c -o protocol/viewporter_weston-viewporter-protocol.obj `if test -f 'protocol/viewporter-protocol.c'; then $(CYGPATH_W) 'protocol/viewporter-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/viewporter-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/viewporter_weston-viewporter-protocol.Tpo protocol/$(DEPDIR)/viewporter_weston-viewporter-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/viewporter-protocol.c' object='protocol/viewporter_weston-viewporter-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(viewporter_weston_CFLAGS) $(CFLAGS) -c -o protocol/viewporter_weston-viewporter-protocol.obj `if test -f 'protocol/viewporter-protocol.c'; then $(CYGPATH_W) 'protocol/viewporter-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/viewporter-protocol.c'; fi` wcap/wcap_decode-main.o: wcap/main.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wcap_decode_CFLAGS) $(CFLAGS) -MT wcap/wcap_decode-main.o -MD -MP -MF wcap/$(DEPDIR)/wcap_decode-main.Tpo -c -o wcap/wcap_decode-main.o `test -f 'wcap/main.c' || echo '$(srcdir)/'`wcap/main.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) wcap/$(DEPDIR)/wcap_decode-main.Tpo wcap/$(DEPDIR)/wcap_decode-main.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='wcap/main.c' object='wcap/wcap_decode-main.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wcap_decode_CFLAGS) $(CFLAGS) -c -o wcap/wcap_decode-main.o `test -f 'wcap/main.c' || echo '$(srcdir)/'`wcap/main.c wcap/wcap_decode-main.obj: wcap/main.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wcap_decode_CFLAGS) $(CFLAGS) -MT wcap/wcap_decode-main.obj -MD -MP -MF wcap/$(DEPDIR)/wcap_decode-main.Tpo -c -o wcap/wcap_decode-main.obj `if test -f 'wcap/main.c'; then $(CYGPATH_W) 'wcap/main.c'; else $(CYGPATH_W) '$(srcdir)/wcap/main.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) wcap/$(DEPDIR)/wcap_decode-main.Tpo wcap/$(DEPDIR)/wcap_decode-main.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='wcap/main.c' object='wcap/wcap_decode-main.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wcap_decode_CFLAGS) $(CFLAGS) -c -o wcap/wcap_decode-main.obj `if test -f 'wcap/main.c'; then $(CYGPATH_W) 'wcap/main.c'; else $(CYGPATH_W) '$(srcdir)/wcap/main.c'; fi` wcap/wcap_decode-wcap-decode.o: wcap/wcap-decode.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wcap_decode_CFLAGS) $(CFLAGS) -MT wcap/wcap_decode-wcap-decode.o -MD -MP -MF wcap/$(DEPDIR)/wcap_decode-wcap-decode.Tpo -c -o wcap/wcap_decode-wcap-decode.o `test -f 'wcap/wcap-decode.c' || echo '$(srcdir)/'`wcap/wcap-decode.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) wcap/$(DEPDIR)/wcap_decode-wcap-decode.Tpo wcap/$(DEPDIR)/wcap_decode-wcap-decode.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='wcap/wcap-decode.c' object='wcap/wcap_decode-wcap-decode.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wcap_decode_CFLAGS) $(CFLAGS) -c -o wcap/wcap_decode-wcap-decode.o `test -f 'wcap/wcap-decode.c' || echo '$(srcdir)/'`wcap/wcap-decode.c wcap/wcap_decode-wcap-decode.obj: wcap/wcap-decode.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wcap_decode_CFLAGS) $(CFLAGS) -MT wcap/wcap_decode-wcap-decode.obj -MD -MP -MF wcap/$(DEPDIR)/wcap_decode-wcap-decode.Tpo -c -o wcap/wcap_decode-wcap-decode.obj `if test -f 'wcap/wcap-decode.c'; then $(CYGPATH_W) 'wcap/wcap-decode.c'; else $(CYGPATH_W) '$(srcdir)/wcap/wcap-decode.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) wcap/$(DEPDIR)/wcap_decode-wcap-decode.Tpo wcap/$(DEPDIR)/wcap_decode-wcap-decode.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='wcap/wcap-decode.c' object='wcap/wcap_decode-wcap-decode.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(wcap_decode_CFLAGS) $(CFLAGS) -c -o wcap/wcap_decode-wcap-decode.obj `if test -f 'wcap/wcap-decode.c'; then $(CYGPATH_W) 'wcap/wcap-decode.c'; else $(CYGPATH_W) '$(srcdir)/wcap/wcap-decode.c'; fi` compositor/weston-main.o: compositor/main.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_CPPFLAGS) $(CPPFLAGS) $(weston_CFLAGS) $(CFLAGS) -MT compositor/weston-main.o -MD -MP -MF compositor/$(DEPDIR)/weston-main.Tpo -c -o compositor/weston-main.o `test -f 'compositor/main.c' || echo '$(srcdir)/'`compositor/main.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) compositor/$(DEPDIR)/weston-main.Tpo compositor/$(DEPDIR)/weston-main.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='compositor/main.c' object='compositor/weston-main.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_CPPFLAGS) $(CPPFLAGS) $(weston_CFLAGS) $(CFLAGS) -c -o compositor/weston-main.o `test -f 'compositor/main.c' || echo '$(srcdir)/'`compositor/main.c compositor/weston-main.obj: compositor/main.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_CPPFLAGS) $(CPPFLAGS) $(weston_CFLAGS) $(CFLAGS) -MT compositor/weston-main.obj -MD -MP -MF compositor/$(DEPDIR)/weston-main.Tpo -c -o compositor/weston-main.obj `if test -f 'compositor/main.c'; then $(CYGPATH_W) 'compositor/main.c'; else $(CYGPATH_W) '$(srcdir)/compositor/main.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) compositor/$(DEPDIR)/weston-main.Tpo compositor/$(DEPDIR)/weston-main.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='compositor/main.c' object='compositor/weston-main.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_CPPFLAGS) $(CPPFLAGS) $(weston_CFLAGS) $(CFLAGS) -c -o compositor/weston-main.obj `if test -f 'compositor/main.c'; then $(CYGPATH_W) 'compositor/main.c'; else $(CYGPATH_W) '$(srcdir)/compositor/main.c'; fi` compositor/weston-weston-screenshooter.o: compositor/weston-screenshooter.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_CPPFLAGS) $(CPPFLAGS) $(weston_CFLAGS) $(CFLAGS) -MT compositor/weston-weston-screenshooter.o -MD -MP -MF compositor/$(DEPDIR)/weston-weston-screenshooter.Tpo -c -o compositor/weston-weston-screenshooter.o `test -f 'compositor/weston-screenshooter.c' || echo '$(srcdir)/'`compositor/weston-screenshooter.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) compositor/$(DEPDIR)/weston-weston-screenshooter.Tpo compositor/$(DEPDIR)/weston-weston-screenshooter.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='compositor/weston-screenshooter.c' object='compositor/weston-weston-screenshooter.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_CPPFLAGS) $(CPPFLAGS) $(weston_CFLAGS) $(CFLAGS) -c -o compositor/weston-weston-screenshooter.o `test -f 'compositor/weston-screenshooter.c' || echo '$(srcdir)/'`compositor/weston-screenshooter.c compositor/weston-weston-screenshooter.obj: compositor/weston-screenshooter.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_CPPFLAGS) $(CPPFLAGS) $(weston_CFLAGS) $(CFLAGS) -MT compositor/weston-weston-screenshooter.obj -MD -MP -MF compositor/$(DEPDIR)/weston-weston-screenshooter.Tpo -c -o compositor/weston-weston-screenshooter.obj `if test -f 'compositor/weston-screenshooter.c'; then $(CYGPATH_W) 'compositor/weston-screenshooter.c'; else $(CYGPATH_W) '$(srcdir)/compositor/weston-screenshooter.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) compositor/$(DEPDIR)/weston-weston-screenshooter.Tpo compositor/$(DEPDIR)/weston-weston-screenshooter.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='compositor/weston-screenshooter.c' object='compositor/weston-weston-screenshooter.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_CPPFLAGS) $(CPPFLAGS) $(weston_CFLAGS) $(CFLAGS) -c -o compositor/weston-weston-screenshooter.obj `if test -f 'compositor/weston-screenshooter.c'; then $(CYGPATH_W) 'compositor/weston-screenshooter.c'; else $(CYGPATH_W) '$(srcdir)/compositor/weston-screenshooter.c'; fi` compositor/weston-text-backend.o: compositor/text-backend.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_CPPFLAGS) $(CPPFLAGS) $(weston_CFLAGS) $(CFLAGS) -MT compositor/weston-text-backend.o -MD -MP -MF compositor/$(DEPDIR)/weston-text-backend.Tpo -c -o compositor/weston-text-backend.o `test -f 'compositor/text-backend.c' || echo '$(srcdir)/'`compositor/text-backend.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) compositor/$(DEPDIR)/weston-text-backend.Tpo compositor/$(DEPDIR)/weston-text-backend.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='compositor/text-backend.c' object='compositor/weston-text-backend.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_CPPFLAGS) $(CPPFLAGS) $(weston_CFLAGS) $(CFLAGS) -c -o compositor/weston-text-backend.o `test -f 'compositor/text-backend.c' || echo '$(srcdir)/'`compositor/text-backend.c compositor/weston-text-backend.obj: compositor/text-backend.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_CPPFLAGS) $(CPPFLAGS) $(weston_CFLAGS) $(CFLAGS) -MT compositor/weston-text-backend.obj -MD -MP -MF compositor/$(DEPDIR)/weston-text-backend.Tpo -c -o compositor/weston-text-backend.obj `if test -f 'compositor/text-backend.c'; then $(CYGPATH_W) 'compositor/text-backend.c'; else $(CYGPATH_W) '$(srcdir)/compositor/text-backend.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) compositor/$(DEPDIR)/weston-text-backend.Tpo compositor/$(DEPDIR)/weston-text-backend.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='compositor/text-backend.c' object='compositor/weston-text-backend.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_CPPFLAGS) $(CPPFLAGS) $(weston_CFLAGS) $(CFLAGS) -c -o compositor/weston-text-backend.obj `if test -f 'compositor/text-backend.c'; then $(CYGPATH_W) 'compositor/text-backend.c'; else $(CYGPATH_W) '$(srcdir)/compositor/text-backend.c'; fi` compositor/weston-xwayland.o: compositor/xwayland.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_CPPFLAGS) $(CPPFLAGS) $(weston_CFLAGS) $(CFLAGS) -MT compositor/weston-xwayland.o -MD -MP -MF compositor/$(DEPDIR)/weston-xwayland.Tpo -c -o compositor/weston-xwayland.o `test -f 'compositor/xwayland.c' || echo '$(srcdir)/'`compositor/xwayland.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) compositor/$(DEPDIR)/weston-xwayland.Tpo compositor/$(DEPDIR)/weston-xwayland.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='compositor/xwayland.c' object='compositor/weston-xwayland.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_CPPFLAGS) $(CPPFLAGS) $(weston_CFLAGS) $(CFLAGS) -c -o compositor/weston-xwayland.o `test -f 'compositor/xwayland.c' || echo '$(srcdir)/'`compositor/xwayland.c compositor/weston-xwayland.obj: compositor/xwayland.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_CPPFLAGS) $(CPPFLAGS) $(weston_CFLAGS) $(CFLAGS) -MT compositor/weston-xwayland.obj -MD -MP -MF compositor/$(DEPDIR)/weston-xwayland.Tpo -c -o compositor/weston-xwayland.obj `if test -f 'compositor/xwayland.c'; then $(CYGPATH_W) 'compositor/xwayland.c'; else $(CYGPATH_W) '$(srcdir)/compositor/xwayland.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) compositor/$(DEPDIR)/weston-xwayland.Tpo compositor/$(DEPDIR)/weston-xwayland.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='compositor/xwayland.c' object='compositor/weston-xwayland.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_CPPFLAGS) $(CPPFLAGS) $(weston_CFLAGS) $(CFLAGS) -c -o compositor/weston-xwayland.obj `if test -f 'compositor/xwayland.c'; then $(CYGPATH_W) 'compositor/xwayland.c'; else $(CYGPATH_W) '$(srcdir)/compositor/xwayland.c'; fi` clients/weston_calibrator-calibrator.o: clients/calibrator.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_calibrator_CFLAGS) $(CFLAGS) -MT clients/weston_calibrator-calibrator.o -MD -MP -MF clients/$(DEPDIR)/weston_calibrator-calibrator.Tpo -c -o clients/weston_calibrator-calibrator.o `test -f 'clients/calibrator.c' || echo '$(srcdir)/'`clients/calibrator.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_calibrator-calibrator.Tpo clients/$(DEPDIR)/weston_calibrator-calibrator.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/calibrator.c' object='clients/weston_calibrator-calibrator.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_calibrator_CFLAGS) $(CFLAGS) -c -o clients/weston_calibrator-calibrator.o `test -f 'clients/calibrator.c' || echo '$(srcdir)/'`clients/calibrator.c clients/weston_calibrator-calibrator.obj: clients/calibrator.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_calibrator_CFLAGS) $(CFLAGS) -MT clients/weston_calibrator-calibrator.obj -MD -MP -MF clients/$(DEPDIR)/weston_calibrator-calibrator.Tpo -c -o clients/weston_calibrator-calibrator.obj `if test -f 'clients/calibrator.c'; then $(CYGPATH_W) 'clients/calibrator.c'; else $(CYGPATH_W) '$(srcdir)/clients/calibrator.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_calibrator-calibrator.Tpo clients/$(DEPDIR)/weston_calibrator-calibrator.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/calibrator.c' object='clients/weston_calibrator-calibrator.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_calibrator_CFLAGS) $(CFLAGS) -c -o clients/weston_calibrator-calibrator.obj `if test -f 'clients/calibrator.c'; then $(CYGPATH_W) 'clients/calibrator.c'; else $(CYGPATH_W) '$(srcdir)/clients/calibrator.c'; fi` shared/weston_calibrator-matrix.o: shared/matrix.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_calibrator_CFLAGS) $(CFLAGS) -MT shared/weston_calibrator-matrix.o -MD -MP -MF shared/$(DEPDIR)/weston_calibrator-matrix.Tpo -c -o shared/weston_calibrator-matrix.o `test -f 'shared/matrix.c' || echo '$(srcdir)/'`shared/matrix.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/weston_calibrator-matrix.Tpo shared/$(DEPDIR)/weston_calibrator-matrix.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/matrix.c' object='shared/weston_calibrator-matrix.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_calibrator_CFLAGS) $(CFLAGS) -c -o shared/weston_calibrator-matrix.o `test -f 'shared/matrix.c' || echo '$(srcdir)/'`shared/matrix.c shared/weston_calibrator-matrix.obj: shared/matrix.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_calibrator_CFLAGS) $(CFLAGS) -MT shared/weston_calibrator-matrix.obj -MD -MP -MF shared/$(DEPDIR)/weston_calibrator-matrix.Tpo -c -o shared/weston_calibrator-matrix.obj `if test -f 'shared/matrix.c'; then $(CYGPATH_W) 'shared/matrix.c'; else $(CYGPATH_W) '$(srcdir)/shared/matrix.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) shared/$(DEPDIR)/weston_calibrator-matrix.Tpo shared/$(DEPDIR)/weston_calibrator-matrix.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='shared/matrix.c' object='shared/weston_calibrator-matrix.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_calibrator_CFLAGS) $(CFLAGS) -c -o shared/weston_calibrator-matrix.obj `if test -f 'shared/matrix.c'; then $(CYGPATH_W) 'shared/matrix.c'; else $(CYGPATH_W) '$(srcdir)/shared/matrix.c'; fi` clients/weston_clickdot-clickdot.o: clients/clickdot.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_clickdot_CFLAGS) $(CFLAGS) -MT clients/weston_clickdot-clickdot.o -MD -MP -MF clients/$(DEPDIR)/weston_clickdot-clickdot.Tpo -c -o clients/weston_clickdot-clickdot.o `test -f 'clients/clickdot.c' || echo '$(srcdir)/'`clients/clickdot.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_clickdot-clickdot.Tpo clients/$(DEPDIR)/weston_clickdot-clickdot.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/clickdot.c' object='clients/weston_clickdot-clickdot.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_clickdot_CFLAGS) $(CFLAGS) -c -o clients/weston_clickdot-clickdot.o `test -f 'clients/clickdot.c' || echo '$(srcdir)/'`clients/clickdot.c clients/weston_clickdot-clickdot.obj: clients/clickdot.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_clickdot_CFLAGS) $(CFLAGS) -MT clients/weston_clickdot-clickdot.obj -MD -MP -MF clients/$(DEPDIR)/weston_clickdot-clickdot.Tpo -c -o clients/weston_clickdot-clickdot.obj `if test -f 'clients/clickdot.c'; then $(CYGPATH_W) 'clients/clickdot.c'; else $(CYGPATH_W) '$(srcdir)/clients/clickdot.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_clickdot-clickdot.Tpo clients/$(DEPDIR)/weston_clickdot-clickdot.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/clickdot.c' object='clients/weston_clickdot-clickdot.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_clickdot_CFLAGS) $(CFLAGS) -c -o clients/weston_clickdot-clickdot.obj `if test -f 'clients/clickdot.c'; then $(CYGPATH_W) 'clients/clickdot.c'; else $(CYGPATH_W) '$(srcdir)/clients/clickdot.c'; fi` clients/weston_cliptest-cliptest.o: clients/cliptest.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_cliptest_CFLAGS) $(CFLAGS) -MT clients/weston_cliptest-cliptest.o -MD -MP -MF clients/$(DEPDIR)/weston_cliptest-cliptest.Tpo -c -o clients/weston_cliptest-cliptest.o `test -f 'clients/cliptest.c' || echo '$(srcdir)/'`clients/cliptest.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_cliptest-cliptest.Tpo clients/$(DEPDIR)/weston_cliptest-cliptest.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/cliptest.c' object='clients/weston_cliptest-cliptest.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_cliptest_CFLAGS) $(CFLAGS) -c -o clients/weston_cliptest-cliptest.o `test -f 'clients/cliptest.c' || echo '$(srcdir)/'`clients/cliptest.c clients/weston_cliptest-cliptest.obj: clients/cliptest.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_cliptest_CFLAGS) $(CFLAGS) -MT clients/weston_cliptest-cliptest.obj -MD -MP -MF clients/$(DEPDIR)/weston_cliptest-cliptest.Tpo -c -o clients/weston_cliptest-cliptest.obj `if test -f 'clients/cliptest.c'; then $(CYGPATH_W) 'clients/cliptest.c'; else $(CYGPATH_W) '$(srcdir)/clients/cliptest.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_cliptest-cliptest.Tpo clients/$(DEPDIR)/weston_cliptest-cliptest.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/cliptest.c' object='clients/weston_cliptest-cliptest.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_cliptest_CFLAGS) $(CFLAGS) -c -o clients/weston_cliptest-cliptest.obj `if test -f 'clients/cliptest.c'; then $(CYGPATH_W) 'clients/cliptest.c'; else $(CYGPATH_W) '$(srcdir)/clients/cliptest.c'; fi` libweston/weston_cliptest-vertex-clipping.o: libweston/vertex-clipping.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_cliptest_CFLAGS) $(CFLAGS) -MT libweston/weston_cliptest-vertex-clipping.o -MD -MP -MF libweston/$(DEPDIR)/weston_cliptest-vertex-clipping.Tpo -c -o libweston/weston_cliptest-vertex-clipping.o `test -f 'libweston/vertex-clipping.c' || echo '$(srcdir)/'`libweston/vertex-clipping.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/weston_cliptest-vertex-clipping.Tpo libweston/$(DEPDIR)/weston_cliptest-vertex-clipping.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/vertex-clipping.c' object='libweston/weston_cliptest-vertex-clipping.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_cliptest_CFLAGS) $(CFLAGS) -c -o libweston/weston_cliptest-vertex-clipping.o `test -f 'libweston/vertex-clipping.c' || echo '$(srcdir)/'`libweston/vertex-clipping.c libweston/weston_cliptest-vertex-clipping.obj: libweston/vertex-clipping.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_cliptest_CFLAGS) $(CFLAGS) -MT libweston/weston_cliptest-vertex-clipping.obj -MD -MP -MF libweston/$(DEPDIR)/weston_cliptest-vertex-clipping.Tpo -c -o libweston/weston_cliptest-vertex-clipping.obj `if test -f 'libweston/vertex-clipping.c'; then $(CYGPATH_W) 'libweston/vertex-clipping.c'; else $(CYGPATH_W) '$(srcdir)/libweston/vertex-clipping.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/weston_cliptest-vertex-clipping.Tpo libweston/$(DEPDIR)/weston_cliptest-vertex-clipping.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/vertex-clipping.c' object='libweston/weston_cliptest-vertex-clipping.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_cliptest_CFLAGS) $(CFLAGS) -c -o libweston/weston_cliptest-vertex-clipping.obj `if test -f 'libweston/vertex-clipping.c'; then $(CYGPATH_W) 'libweston/vertex-clipping.c'; else $(CYGPATH_W) '$(srcdir)/libweston/vertex-clipping.c'; fi` clients/weston_confine-confine.o: clients/confine.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_confine_CFLAGS) $(CFLAGS) -MT clients/weston_confine-confine.o -MD -MP -MF clients/$(DEPDIR)/weston_confine-confine.Tpo -c -o clients/weston_confine-confine.o `test -f 'clients/confine.c' || echo '$(srcdir)/'`clients/confine.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_confine-confine.Tpo clients/$(DEPDIR)/weston_confine-confine.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/confine.c' object='clients/weston_confine-confine.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_confine_CFLAGS) $(CFLAGS) -c -o clients/weston_confine-confine.o `test -f 'clients/confine.c' || echo '$(srcdir)/'`clients/confine.c clients/weston_confine-confine.obj: clients/confine.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_confine_CFLAGS) $(CFLAGS) -MT clients/weston_confine-confine.obj -MD -MP -MF clients/$(DEPDIR)/weston_confine-confine.Tpo -c -o clients/weston_confine-confine.obj `if test -f 'clients/confine.c'; then $(CYGPATH_W) 'clients/confine.c'; else $(CYGPATH_W) '$(srcdir)/clients/confine.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_confine-confine.Tpo clients/$(DEPDIR)/weston_confine-confine.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/confine.c' object='clients/weston_confine-confine.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_confine_CFLAGS) $(CFLAGS) -c -o clients/weston_confine-confine.obj `if test -f 'clients/confine.c'; then $(CYGPATH_W) 'clients/confine.c'; else $(CYGPATH_W) '$(srcdir)/clients/confine.c'; fi` clients/weston_desktop_shell-desktop-shell.o: clients/desktop-shell.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_desktop_shell_CFLAGS) $(CFLAGS) -MT clients/weston_desktop_shell-desktop-shell.o -MD -MP -MF clients/$(DEPDIR)/weston_desktop_shell-desktop-shell.Tpo -c -o clients/weston_desktop_shell-desktop-shell.o `test -f 'clients/desktop-shell.c' || echo '$(srcdir)/'`clients/desktop-shell.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_desktop_shell-desktop-shell.Tpo clients/$(DEPDIR)/weston_desktop_shell-desktop-shell.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/desktop-shell.c' object='clients/weston_desktop_shell-desktop-shell.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_desktop_shell_CFLAGS) $(CFLAGS) -c -o clients/weston_desktop_shell-desktop-shell.o `test -f 'clients/desktop-shell.c' || echo '$(srcdir)/'`clients/desktop-shell.c clients/weston_desktop_shell-desktop-shell.obj: clients/desktop-shell.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_desktop_shell_CFLAGS) $(CFLAGS) -MT clients/weston_desktop_shell-desktop-shell.obj -MD -MP -MF clients/$(DEPDIR)/weston_desktop_shell-desktop-shell.Tpo -c -o clients/weston_desktop_shell-desktop-shell.obj `if test -f 'clients/desktop-shell.c'; then $(CYGPATH_W) 'clients/desktop-shell.c'; else $(CYGPATH_W) '$(srcdir)/clients/desktop-shell.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_desktop_shell-desktop-shell.Tpo clients/$(DEPDIR)/weston_desktop_shell-desktop-shell.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/desktop-shell.c' object='clients/weston_desktop_shell-desktop-shell.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_desktop_shell_CFLAGS) $(CFLAGS) -c -o clients/weston_desktop_shell-desktop-shell.obj `if test -f 'clients/desktop-shell.c'; then $(CYGPATH_W) 'clients/desktop-shell.c'; else $(CYGPATH_W) '$(srcdir)/clients/desktop-shell.c'; fi` protocol/weston_desktop_shell-weston-desktop-shell-protocol.o: protocol/weston-desktop-shell-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_desktop_shell_CFLAGS) $(CFLAGS) -MT protocol/weston_desktop_shell-weston-desktop-shell-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_desktop_shell-weston-desktop-shell-protocol.Tpo -c -o protocol/weston_desktop_shell-weston-desktop-shell-protocol.o `test -f 'protocol/weston-desktop-shell-protocol.c' || echo '$(srcdir)/'`protocol/weston-desktop-shell-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_desktop_shell-weston-desktop-shell-protocol.Tpo protocol/$(DEPDIR)/weston_desktop_shell-weston-desktop-shell-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/weston-desktop-shell-protocol.c' object='protocol/weston_desktop_shell-weston-desktop-shell-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_desktop_shell_CFLAGS) $(CFLAGS) -c -o protocol/weston_desktop_shell-weston-desktop-shell-protocol.o `test -f 'protocol/weston-desktop-shell-protocol.c' || echo '$(srcdir)/'`protocol/weston-desktop-shell-protocol.c protocol/weston_desktop_shell-weston-desktop-shell-protocol.obj: protocol/weston-desktop-shell-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_desktop_shell_CFLAGS) $(CFLAGS) -MT protocol/weston_desktop_shell-weston-desktop-shell-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_desktop_shell-weston-desktop-shell-protocol.Tpo -c -o protocol/weston_desktop_shell-weston-desktop-shell-protocol.obj `if test -f 'protocol/weston-desktop-shell-protocol.c'; then $(CYGPATH_W) 'protocol/weston-desktop-shell-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/weston-desktop-shell-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_desktop_shell-weston-desktop-shell-protocol.Tpo protocol/$(DEPDIR)/weston_desktop_shell-weston-desktop-shell-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/weston-desktop-shell-protocol.c' object='protocol/weston_desktop_shell-weston-desktop-shell-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_desktop_shell_CFLAGS) $(CFLAGS) -c -o protocol/weston_desktop_shell-weston-desktop-shell-protocol.obj `if test -f 'protocol/weston-desktop-shell-protocol.c'; then $(CYGPATH_W) 'protocol/weston-desktop-shell-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/weston-desktop-shell-protocol.c'; fi` clients/weston_dnd-dnd.o: clients/dnd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_dnd_CFLAGS) $(CFLAGS) -MT clients/weston_dnd-dnd.o -MD -MP -MF clients/$(DEPDIR)/weston_dnd-dnd.Tpo -c -o clients/weston_dnd-dnd.o `test -f 'clients/dnd.c' || echo '$(srcdir)/'`clients/dnd.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_dnd-dnd.Tpo clients/$(DEPDIR)/weston_dnd-dnd.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/dnd.c' object='clients/weston_dnd-dnd.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_dnd_CFLAGS) $(CFLAGS) -c -o clients/weston_dnd-dnd.o `test -f 'clients/dnd.c' || echo '$(srcdir)/'`clients/dnd.c clients/weston_dnd-dnd.obj: clients/dnd.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_dnd_CFLAGS) $(CFLAGS) -MT clients/weston_dnd-dnd.obj -MD -MP -MF clients/$(DEPDIR)/weston_dnd-dnd.Tpo -c -o clients/weston_dnd-dnd.obj `if test -f 'clients/dnd.c'; then $(CYGPATH_W) 'clients/dnd.c'; else $(CYGPATH_W) '$(srcdir)/clients/dnd.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_dnd-dnd.Tpo clients/$(DEPDIR)/weston_dnd-dnd.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/dnd.c' object='clients/weston_dnd-dnd.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_dnd_CFLAGS) $(CFLAGS) -c -o clients/weston_dnd-dnd.obj `if test -f 'clients/dnd.c'; then $(CYGPATH_W) 'clients/dnd.c'; else $(CYGPATH_W) '$(srcdir)/clients/dnd.c'; fi` clients/weston_editor-editor.o: clients/editor.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_editor_CFLAGS) $(CFLAGS) -MT clients/weston_editor-editor.o -MD -MP -MF clients/$(DEPDIR)/weston_editor-editor.Tpo -c -o clients/weston_editor-editor.o `test -f 'clients/editor.c' || echo '$(srcdir)/'`clients/editor.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_editor-editor.Tpo clients/$(DEPDIR)/weston_editor-editor.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/editor.c' object='clients/weston_editor-editor.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_editor_CFLAGS) $(CFLAGS) -c -o clients/weston_editor-editor.o `test -f 'clients/editor.c' || echo '$(srcdir)/'`clients/editor.c clients/weston_editor-editor.obj: clients/editor.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_editor_CFLAGS) $(CFLAGS) -MT clients/weston_editor-editor.obj -MD -MP -MF clients/$(DEPDIR)/weston_editor-editor.Tpo -c -o clients/weston_editor-editor.obj `if test -f 'clients/editor.c'; then $(CYGPATH_W) 'clients/editor.c'; else $(CYGPATH_W) '$(srcdir)/clients/editor.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_editor-editor.Tpo clients/$(DEPDIR)/weston_editor-editor.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/editor.c' object='clients/weston_editor-editor.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_editor_CFLAGS) $(CFLAGS) -c -o clients/weston_editor-editor.obj `if test -f 'clients/editor.c'; then $(CYGPATH_W) 'clients/editor.c'; else $(CYGPATH_W) '$(srcdir)/clients/editor.c'; fi` protocol/weston_editor-text-input-unstable-v1-protocol.o: protocol/text-input-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_editor_CFLAGS) $(CFLAGS) -MT protocol/weston_editor-text-input-unstable-v1-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_editor-text-input-unstable-v1-protocol.Tpo -c -o protocol/weston_editor-text-input-unstable-v1-protocol.o `test -f 'protocol/text-input-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/text-input-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_editor-text-input-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_editor-text-input-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/text-input-unstable-v1-protocol.c' object='protocol/weston_editor-text-input-unstable-v1-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_editor_CFLAGS) $(CFLAGS) -c -o protocol/weston_editor-text-input-unstable-v1-protocol.o `test -f 'protocol/text-input-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/text-input-unstable-v1-protocol.c protocol/weston_editor-text-input-unstable-v1-protocol.obj: protocol/text-input-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_editor_CFLAGS) $(CFLAGS) -MT protocol/weston_editor-text-input-unstable-v1-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_editor-text-input-unstable-v1-protocol.Tpo -c -o protocol/weston_editor-text-input-unstable-v1-protocol.obj `if test -f 'protocol/text-input-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/text-input-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/text-input-unstable-v1-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_editor-text-input-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_editor-text-input-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/text-input-unstable-v1-protocol.c' object='protocol/weston_editor-text-input-unstable-v1-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_editor_CFLAGS) $(CFLAGS) -c -o protocol/weston_editor-text-input-unstable-v1-protocol.obj `if test -f 'protocol/text-input-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/text-input-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/text-input-unstable-v1-protocol.c'; fi` clients/weston_eventdemo-eventdemo.o: clients/eventdemo.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_eventdemo_CFLAGS) $(CFLAGS) -MT clients/weston_eventdemo-eventdemo.o -MD -MP -MF clients/$(DEPDIR)/weston_eventdemo-eventdemo.Tpo -c -o clients/weston_eventdemo-eventdemo.o `test -f 'clients/eventdemo.c' || echo '$(srcdir)/'`clients/eventdemo.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_eventdemo-eventdemo.Tpo clients/$(DEPDIR)/weston_eventdemo-eventdemo.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/eventdemo.c' object='clients/weston_eventdemo-eventdemo.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_eventdemo_CFLAGS) $(CFLAGS) -c -o clients/weston_eventdemo-eventdemo.o `test -f 'clients/eventdemo.c' || echo '$(srcdir)/'`clients/eventdemo.c clients/weston_eventdemo-eventdemo.obj: clients/eventdemo.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_eventdemo_CFLAGS) $(CFLAGS) -MT clients/weston_eventdemo-eventdemo.obj -MD -MP -MF clients/$(DEPDIR)/weston_eventdemo-eventdemo.Tpo -c -o clients/weston_eventdemo-eventdemo.obj `if test -f 'clients/eventdemo.c'; then $(CYGPATH_W) 'clients/eventdemo.c'; else $(CYGPATH_W) '$(srcdir)/clients/eventdemo.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_eventdemo-eventdemo.Tpo clients/$(DEPDIR)/weston_eventdemo-eventdemo.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/eventdemo.c' object='clients/weston_eventdemo-eventdemo.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_eventdemo_CFLAGS) $(CFLAGS) -c -o clients/weston_eventdemo-eventdemo.obj `if test -f 'clients/eventdemo.c'; then $(CYGPATH_W) 'clients/eventdemo.c'; else $(CYGPATH_W) '$(srcdir)/clients/eventdemo.c'; fi` clients/weston_flower-flower.o: clients/flower.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_flower_CFLAGS) $(CFLAGS) -MT clients/weston_flower-flower.o -MD -MP -MF clients/$(DEPDIR)/weston_flower-flower.Tpo -c -o clients/weston_flower-flower.o `test -f 'clients/flower.c' || echo '$(srcdir)/'`clients/flower.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_flower-flower.Tpo clients/$(DEPDIR)/weston_flower-flower.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/flower.c' object='clients/weston_flower-flower.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_flower_CFLAGS) $(CFLAGS) -c -o clients/weston_flower-flower.o `test -f 'clients/flower.c' || echo '$(srcdir)/'`clients/flower.c clients/weston_flower-flower.obj: clients/flower.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_flower_CFLAGS) $(CFLAGS) -MT clients/weston_flower-flower.obj -MD -MP -MF clients/$(DEPDIR)/weston_flower-flower.Tpo -c -o clients/weston_flower-flower.obj `if test -f 'clients/flower.c'; then $(CYGPATH_W) 'clients/flower.c'; else $(CYGPATH_W) '$(srcdir)/clients/flower.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_flower-flower.Tpo clients/$(DEPDIR)/weston_flower-flower.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/flower.c' object='clients/weston_flower-flower.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_flower_CFLAGS) $(CFLAGS) -c -o clients/weston_flower-flower.obj `if test -f 'clients/flower.c'; then $(CYGPATH_W) 'clients/flower.c'; else $(CYGPATH_W) '$(srcdir)/clients/flower.c'; fi` clients/weston_fullscreen-fullscreen.o: clients/fullscreen.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_fullscreen_CFLAGS) $(CFLAGS) -MT clients/weston_fullscreen-fullscreen.o -MD -MP -MF clients/$(DEPDIR)/weston_fullscreen-fullscreen.Tpo -c -o clients/weston_fullscreen-fullscreen.o `test -f 'clients/fullscreen.c' || echo '$(srcdir)/'`clients/fullscreen.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_fullscreen-fullscreen.Tpo clients/$(DEPDIR)/weston_fullscreen-fullscreen.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/fullscreen.c' object='clients/weston_fullscreen-fullscreen.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_fullscreen_CFLAGS) $(CFLAGS) -c -o clients/weston_fullscreen-fullscreen.o `test -f 'clients/fullscreen.c' || echo '$(srcdir)/'`clients/fullscreen.c clients/weston_fullscreen-fullscreen.obj: clients/fullscreen.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_fullscreen_CFLAGS) $(CFLAGS) -MT clients/weston_fullscreen-fullscreen.obj -MD -MP -MF clients/$(DEPDIR)/weston_fullscreen-fullscreen.Tpo -c -o clients/weston_fullscreen-fullscreen.obj `if test -f 'clients/fullscreen.c'; then $(CYGPATH_W) 'clients/fullscreen.c'; else $(CYGPATH_W) '$(srcdir)/clients/fullscreen.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_fullscreen-fullscreen.Tpo clients/$(DEPDIR)/weston_fullscreen-fullscreen.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/fullscreen.c' object='clients/weston_fullscreen-fullscreen.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_fullscreen_CFLAGS) $(CFLAGS) -c -o clients/weston_fullscreen-fullscreen.obj `if test -f 'clients/fullscreen.c'; then $(CYGPATH_W) 'clients/fullscreen.c'; else $(CYGPATH_W) '$(srcdir)/clients/fullscreen.c'; fi` protocol/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.o: protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_fullscreen_CFLAGS) $(CFLAGS) -MT protocol/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.Tpo -c -o protocol/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.o `test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/fullscreen-shell-unstable-v1-protocol.c' object='protocol/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_fullscreen_CFLAGS) $(CFLAGS) -c -o protocol/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.o `test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/fullscreen-shell-unstable-v1-protocol.c protocol/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.obj: protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_fullscreen_CFLAGS) $(CFLAGS) -MT protocol/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.Tpo -c -o protocol/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.obj `if test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/fullscreen-shell-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/fullscreen-shell-unstable-v1-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/fullscreen-shell-unstable-v1-protocol.c' object='protocol/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_fullscreen_CFLAGS) $(CFLAGS) -c -o protocol/weston_fullscreen-fullscreen-shell-unstable-v1-protocol.obj `if test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/fullscreen-shell-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/fullscreen-shell-unstable-v1-protocol.c'; fi` clients/weston_gears-gears.o: clients/gears.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_gears_CFLAGS) $(CFLAGS) -MT clients/weston_gears-gears.o -MD -MP -MF clients/$(DEPDIR)/weston_gears-gears.Tpo -c -o clients/weston_gears-gears.o `test -f 'clients/gears.c' || echo '$(srcdir)/'`clients/gears.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_gears-gears.Tpo clients/$(DEPDIR)/weston_gears-gears.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/gears.c' object='clients/weston_gears-gears.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_gears_CFLAGS) $(CFLAGS) -c -o clients/weston_gears-gears.o `test -f 'clients/gears.c' || echo '$(srcdir)/'`clients/gears.c clients/weston_gears-gears.obj: clients/gears.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_gears_CFLAGS) $(CFLAGS) -MT clients/weston_gears-gears.obj -MD -MP -MF clients/$(DEPDIR)/weston_gears-gears.Tpo -c -o clients/weston_gears-gears.obj `if test -f 'clients/gears.c'; then $(CYGPATH_W) 'clients/gears.c'; else $(CYGPATH_W) '$(srcdir)/clients/gears.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_gears-gears.Tpo clients/$(DEPDIR)/weston_gears-gears.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/gears.c' object='clients/weston_gears-gears.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_gears_CFLAGS) $(CFLAGS) -c -o clients/weston_gears-gears.obj `if test -f 'clients/gears.c'; then $(CYGPATH_W) 'clients/gears.c'; else $(CYGPATH_W) '$(srcdir)/clients/gears.c'; fi` clients/weston_image-image.o: clients/image.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_image_CFLAGS) $(CFLAGS) -MT clients/weston_image-image.o -MD -MP -MF clients/$(DEPDIR)/weston_image-image.Tpo -c -o clients/weston_image-image.o `test -f 'clients/image.c' || echo '$(srcdir)/'`clients/image.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_image-image.Tpo clients/$(DEPDIR)/weston_image-image.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/image.c' object='clients/weston_image-image.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_image_CFLAGS) $(CFLAGS) -c -o clients/weston_image-image.o `test -f 'clients/image.c' || echo '$(srcdir)/'`clients/image.c clients/weston_image-image.obj: clients/image.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_image_CFLAGS) $(CFLAGS) -MT clients/weston_image-image.obj -MD -MP -MF clients/$(DEPDIR)/weston_image-image.Tpo -c -o clients/weston_image-image.obj `if test -f 'clients/image.c'; then $(CYGPATH_W) 'clients/image.c'; else $(CYGPATH_W) '$(srcdir)/clients/image.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_image-image.Tpo clients/$(DEPDIR)/weston_image-image.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/image.c' object='clients/weston_image-image.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_image_CFLAGS) $(CFLAGS) -c -o clients/weston_image-image.obj `if test -f 'clients/image.c'; then $(CYGPATH_W) 'clients/image.c'; else $(CYGPATH_W) '$(srcdir)/clients/image.c'; fi` clients/weston_info-weston-info.o: clients/weston-info.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_info_CFLAGS) $(CFLAGS) -MT clients/weston_info-weston-info.o -MD -MP -MF clients/$(DEPDIR)/weston_info-weston-info.Tpo -c -o clients/weston_info-weston-info.o `test -f 'clients/weston-info.c' || echo '$(srcdir)/'`clients/weston-info.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_info-weston-info.Tpo clients/$(DEPDIR)/weston_info-weston-info.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/weston-info.c' object='clients/weston_info-weston-info.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_info_CFLAGS) $(CFLAGS) -c -o clients/weston_info-weston-info.o `test -f 'clients/weston-info.c' || echo '$(srcdir)/'`clients/weston-info.c clients/weston_info-weston-info.obj: clients/weston-info.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_info_CFLAGS) $(CFLAGS) -MT clients/weston_info-weston-info.obj -MD -MP -MF clients/$(DEPDIR)/weston_info-weston-info.Tpo -c -o clients/weston_info-weston-info.obj `if test -f 'clients/weston-info.c'; then $(CYGPATH_W) 'clients/weston-info.c'; else $(CYGPATH_W) '$(srcdir)/clients/weston-info.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_info-weston-info.Tpo clients/$(DEPDIR)/weston_info-weston-info.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/weston-info.c' object='clients/weston_info-weston-info.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_info_CFLAGS) $(CFLAGS) -c -o clients/weston_info-weston-info.obj `if test -f 'clients/weston-info.c'; then $(CYGPATH_W) 'clients/weston-info.c'; else $(CYGPATH_W) '$(srcdir)/clients/weston-info.c'; fi` protocol/weston_info-presentation-time-protocol.o: protocol/presentation-time-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_info_CFLAGS) $(CFLAGS) -MT protocol/weston_info-presentation-time-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_info-presentation-time-protocol.Tpo -c -o protocol/weston_info-presentation-time-protocol.o `test -f 'protocol/presentation-time-protocol.c' || echo '$(srcdir)/'`protocol/presentation-time-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_info-presentation-time-protocol.Tpo protocol/$(DEPDIR)/weston_info-presentation-time-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/presentation-time-protocol.c' object='protocol/weston_info-presentation-time-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_info_CFLAGS) $(CFLAGS) -c -o protocol/weston_info-presentation-time-protocol.o `test -f 'protocol/presentation-time-protocol.c' || echo '$(srcdir)/'`protocol/presentation-time-protocol.c protocol/weston_info-presentation-time-protocol.obj: protocol/presentation-time-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_info_CFLAGS) $(CFLAGS) -MT protocol/weston_info-presentation-time-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_info-presentation-time-protocol.Tpo -c -o protocol/weston_info-presentation-time-protocol.obj `if test -f 'protocol/presentation-time-protocol.c'; then $(CYGPATH_W) 'protocol/presentation-time-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/presentation-time-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_info-presentation-time-protocol.Tpo protocol/$(DEPDIR)/weston_info-presentation-time-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/presentation-time-protocol.c' object='protocol/weston_info-presentation-time-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_info_CFLAGS) $(CFLAGS) -c -o protocol/weston_info-presentation-time-protocol.obj `if test -f 'protocol/presentation-time-protocol.c'; then $(CYGPATH_W) 'protocol/presentation-time-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/presentation-time-protocol.c'; fi` clients/weston_ivi_shell_user_interface-ivi-shell-user-interface.o: clients/ivi-shell-user-interface.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_ivi_shell_user_interface_CFLAGS) $(CFLAGS) -MT clients/weston_ivi_shell_user_interface-ivi-shell-user-interface.o -MD -MP -MF clients/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-shell-user-interface.Tpo -c -o clients/weston_ivi_shell_user_interface-ivi-shell-user-interface.o `test -f 'clients/ivi-shell-user-interface.c' || echo '$(srcdir)/'`clients/ivi-shell-user-interface.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-shell-user-interface.Tpo clients/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-shell-user-interface.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/ivi-shell-user-interface.c' object='clients/weston_ivi_shell_user_interface-ivi-shell-user-interface.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_ivi_shell_user_interface_CFLAGS) $(CFLAGS) -c -o clients/weston_ivi_shell_user_interface-ivi-shell-user-interface.o `test -f 'clients/ivi-shell-user-interface.c' || echo '$(srcdir)/'`clients/ivi-shell-user-interface.c clients/weston_ivi_shell_user_interface-ivi-shell-user-interface.obj: clients/ivi-shell-user-interface.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_ivi_shell_user_interface_CFLAGS) $(CFLAGS) -MT clients/weston_ivi_shell_user_interface-ivi-shell-user-interface.obj -MD -MP -MF clients/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-shell-user-interface.Tpo -c -o clients/weston_ivi_shell_user_interface-ivi-shell-user-interface.obj `if test -f 'clients/ivi-shell-user-interface.c'; then $(CYGPATH_W) 'clients/ivi-shell-user-interface.c'; else $(CYGPATH_W) '$(srcdir)/clients/ivi-shell-user-interface.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-shell-user-interface.Tpo clients/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-shell-user-interface.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/ivi-shell-user-interface.c' object='clients/weston_ivi_shell_user_interface-ivi-shell-user-interface.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_ivi_shell_user_interface_CFLAGS) $(CFLAGS) -c -o clients/weston_ivi_shell_user_interface-ivi-shell-user-interface.obj `if test -f 'clients/ivi-shell-user-interface.c'; then $(CYGPATH_W) 'clients/ivi-shell-user-interface.c'; else $(CYGPATH_W) '$(srcdir)/clients/ivi-shell-user-interface.c'; fi` protocol/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.o: protocol/ivi-hmi-controller-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_ivi_shell_user_interface_CFLAGS) $(CFLAGS) -MT protocol/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.Tpo -c -o protocol/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.o `test -f 'protocol/ivi-hmi-controller-protocol.c' || echo '$(srcdir)/'`protocol/ivi-hmi-controller-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.Tpo protocol/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/ivi-hmi-controller-protocol.c' object='protocol/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_ivi_shell_user_interface_CFLAGS) $(CFLAGS) -c -o protocol/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.o `test -f 'protocol/ivi-hmi-controller-protocol.c' || echo '$(srcdir)/'`protocol/ivi-hmi-controller-protocol.c protocol/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.obj: protocol/ivi-hmi-controller-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_ivi_shell_user_interface_CFLAGS) $(CFLAGS) -MT protocol/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.Tpo -c -o protocol/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.obj `if test -f 'protocol/ivi-hmi-controller-protocol.c'; then $(CYGPATH_W) 'protocol/ivi-hmi-controller-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/ivi-hmi-controller-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.Tpo protocol/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/ivi-hmi-controller-protocol.c' object='protocol/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_ivi_shell_user_interface_CFLAGS) $(CFLAGS) -c -o protocol/weston_ivi_shell_user_interface-ivi-hmi-controller-protocol.obj `if test -f 'protocol/ivi-hmi-controller-protocol.c'; then $(CYGPATH_W) 'protocol/ivi-hmi-controller-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/ivi-hmi-controller-protocol.c'; fi` protocol/weston_ivi_shell_user_interface-ivi-application-protocol.o: protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_ivi_shell_user_interface_CFLAGS) $(CFLAGS) -MT protocol/weston_ivi_shell_user_interface-ivi-application-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-application-protocol.Tpo -c -o protocol/weston_ivi_shell_user_interface-ivi-application-protocol.o `test -f 'protocol/ivi-application-protocol.c' || echo '$(srcdir)/'`protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-application-protocol.Tpo protocol/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-application-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/ivi-application-protocol.c' object='protocol/weston_ivi_shell_user_interface-ivi-application-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_ivi_shell_user_interface_CFLAGS) $(CFLAGS) -c -o protocol/weston_ivi_shell_user_interface-ivi-application-protocol.o `test -f 'protocol/ivi-application-protocol.c' || echo '$(srcdir)/'`protocol/ivi-application-protocol.c protocol/weston_ivi_shell_user_interface-ivi-application-protocol.obj: protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_ivi_shell_user_interface_CFLAGS) $(CFLAGS) -MT protocol/weston_ivi_shell_user_interface-ivi-application-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-application-protocol.Tpo -c -o protocol/weston_ivi_shell_user_interface-ivi-application-protocol.obj `if test -f 'protocol/ivi-application-protocol.c'; then $(CYGPATH_W) 'protocol/ivi-application-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/ivi-application-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-application-protocol.Tpo protocol/$(DEPDIR)/weston_ivi_shell_user_interface-ivi-application-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/ivi-application-protocol.c' object='protocol/weston_ivi_shell_user_interface-ivi-application-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_ivi_shell_user_interface_CFLAGS) $(CFLAGS) -c -o protocol/weston_ivi_shell_user_interface-ivi-application-protocol.obj `if test -f 'protocol/ivi-application-protocol.c'; then $(CYGPATH_W) 'protocol/ivi-application-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/ivi-application-protocol.c'; fi` clients/weston_keyboard-keyboard.o: clients/keyboard.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_keyboard_CFLAGS) $(CFLAGS) -MT clients/weston_keyboard-keyboard.o -MD -MP -MF clients/$(DEPDIR)/weston_keyboard-keyboard.Tpo -c -o clients/weston_keyboard-keyboard.o `test -f 'clients/keyboard.c' || echo '$(srcdir)/'`clients/keyboard.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_keyboard-keyboard.Tpo clients/$(DEPDIR)/weston_keyboard-keyboard.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/keyboard.c' object='clients/weston_keyboard-keyboard.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_keyboard_CFLAGS) $(CFLAGS) -c -o clients/weston_keyboard-keyboard.o `test -f 'clients/keyboard.c' || echo '$(srcdir)/'`clients/keyboard.c clients/weston_keyboard-keyboard.obj: clients/keyboard.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_keyboard_CFLAGS) $(CFLAGS) -MT clients/weston_keyboard-keyboard.obj -MD -MP -MF clients/$(DEPDIR)/weston_keyboard-keyboard.Tpo -c -o clients/weston_keyboard-keyboard.obj `if test -f 'clients/keyboard.c'; then $(CYGPATH_W) 'clients/keyboard.c'; else $(CYGPATH_W) '$(srcdir)/clients/keyboard.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_keyboard-keyboard.Tpo clients/$(DEPDIR)/weston_keyboard-keyboard.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/keyboard.c' object='clients/weston_keyboard-keyboard.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_keyboard_CFLAGS) $(CFLAGS) -c -o clients/weston_keyboard-keyboard.obj `if test -f 'clients/keyboard.c'; then $(CYGPATH_W) 'clients/keyboard.c'; else $(CYGPATH_W) '$(srcdir)/clients/keyboard.c'; fi` protocol/weston_keyboard-weston-desktop-shell-protocol.o: protocol/weston-desktop-shell-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_keyboard_CFLAGS) $(CFLAGS) -MT protocol/weston_keyboard-weston-desktop-shell-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_keyboard-weston-desktop-shell-protocol.Tpo -c -o protocol/weston_keyboard-weston-desktop-shell-protocol.o `test -f 'protocol/weston-desktop-shell-protocol.c' || echo '$(srcdir)/'`protocol/weston-desktop-shell-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_keyboard-weston-desktop-shell-protocol.Tpo protocol/$(DEPDIR)/weston_keyboard-weston-desktop-shell-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/weston-desktop-shell-protocol.c' object='protocol/weston_keyboard-weston-desktop-shell-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_keyboard_CFLAGS) $(CFLAGS) -c -o protocol/weston_keyboard-weston-desktop-shell-protocol.o `test -f 'protocol/weston-desktop-shell-protocol.c' || echo '$(srcdir)/'`protocol/weston-desktop-shell-protocol.c protocol/weston_keyboard-weston-desktop-shell-protocol.obj: protocol/weston-desktop-shell-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_keyboard_CFLAGS) $(CFLAGS) -MT protocol/weston_keyboard-weston-desktop-shell-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_keyboard-weston-desktop-shell-protocol.Tpo -c -o protocol/weston_keyboard-weston-desktop-shell-protocol.obj `if test -f 'protocol/weston-desktop-shell-protocol.c'; then $(CYGPATH_W) 'protocol/weston-desktop-shell-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/weston-desktop-shell-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_keyboard-weston-desktop-shell-protocol.Tpo protocol/$(DEPDIR)/weston_keyboard-weston-desktop-shell-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/weston-desktop-shell-protocol.c' object='protocol/weston_keyboard-weston-desktop-shell-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_keyboard_CFLAGS) $(CFLAGS) -c -o protocol/weston_keyboard-weston-desktop-shell-protocol.obj `if test -f 'protocol/weston-desktop-shell-protocol.c'; then $(CYGPATH_W) 'protocol/weston-desktop-shell-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/weston-desktop-shell-protocol.c'; fi` protocol/weston_keyboard-input-method-unstable-v1-protocol.o: protocol/input-method-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_keyboard_CFLAGS) $(CFLAGS) -MT protocol/weston_keyboard-input-method-unstable-v1-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_keyboard-input-method-unstable-v1-protocol.Tpo -c -o protocol/weston_keyboard-input-method-unstable-v1-protocol.o `test -f 'protocol/input-method-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/input-method-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_keyboard-input-method-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_keyboard-input-method-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/input-method-unstable-v1-protocol.c' object='protocol/weston_keyboard-input-method-unstable-v1-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_keyboard_CFLAGS) $(CFLAGS) -c -o protocol/weston_keyboard-input-method-unstable-v1-protocol.o `test -f 'protocol/input-method-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/input-method-unstable-v1-protocol.c protocol/weston_keyboard-input-method-unstable-v1-protocol.obj: protocol/input-method-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_keyboard_CFLAGS) $(CFLAGS) -MT protocol/weston_keyboard-input-method-unstable-v1-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_keyboard-input-method-unstable-v1-protocol.Tpo -c -o protocol/weston_keyboard-input-method-unstable-v1-protocol.obj `if test -f 'protocol/input-method-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/input-method-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/input-method-unstable-v1-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_keyboard-input-method-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_keyboard-input-method-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/input-method-unstable-v1-protocol.c' object='protocol/weston_keyboard-input-method-unstable-v1-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_keyboard_CFLAGS) $(CFLAGS) -c -o protocol/weston_keyboard-input-method-unstable-v1-protocol.obj `if test -f 'protocol/input-method-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/input-method-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/input-method-unstable-v1-protocol.c'; fi` libweston/weston_launch-weston-launch.o: libweston/weston-launch.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_launch_CPPFLAGS) $(CPPFLAGS) $(weston_launch_CFLAGS) $(CFLAGS) -MT libweston/weston_launch-weston-launch.o -MD -MP -MF libweston/$(DEPDIR)/weston_launch-weston-launch.Tpo -c -o libweston/weston_launch-weston-launch.o `test -f 'libweston/weston-launch.c' || echo '$(srcdir)/'`libweston/weston-launch.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/weston_launch-weston-launch.Tpo libweston/$(DEPDIR)/weston_launch-weston-launch.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/weston-launch.c' object='libweston/weston_launch-weston-launch.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_launch_CPPFLAGS) $(CPPFLAGS) $(weston_launch_CFLAGS) $(CFLAGS) -c -o libweston/weston_launch-weston-launch.o `test -f 'libweston/weston-launch.c' || echo '$(srcdir)/'`libweston/weston-launch.c libweston/weston_launch-weston-launch.obj: libweston/weston-launch.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_launch_CPPFLAGS) $(CPPFLAGS) $(weston_launch_CFLAGS) $(CFLAGS) -MT libweston/weston_launch-weston-launch.obj -MD -MP -MF libweston/$(DEPDIR)/weston_launch-weston-launch.Tpo -c -o libweston/weston_launch-weston-launch.obj `if test -f 'libweston/weston-launch.c'; then $(CYGPATH_W) 'libweston/weston-launch.c'; else $(CYGPATH_W) '$(srcdir)/libweston/weston-launch.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) libweston/$(DEPDIR)/weston_launch-weston-launch.Tpo libweston/$(DEPDIR)/weston_launch-weston-launch.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='libweston/weston-launch.c' object='libweston/weston_launch-weston-launch.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(weston_launch_CPPFLAGS) $(CPPFLAGS) $(weston_launch_CFLAGS) $(CFLAGS) -c -o libweston/weston_launch-weston-launch.obj `if test -f 'libweston/weston-launch.c'; then $(CYGPATH_W) 'libweston/weston-launch.c'; else $(CYGPATH_W) '$(srcdir)/libweston/weston-launch.c'; fi` clients/weston_multi_resource-multi-resource.o: clients/multi-resource.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_multi_resource_CFLAGS) $(CFLAGS) -MT clients/weston_multi_resource-multi-resource.o -MD -MP -MF clients/$(DEPDIR)/weston_multi_resource-multi-resource.Tpo -c -o clients/weston_multi_resource-multi-resource.o `test -f 'clients/multi-resource.c' || echo '$(srcdir)/'`clients/multi-resource.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_multi_resource-multi-resource.Tpo clients/$(DEPDIR)/weston_multi_resource-multi-resource.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/multi-resource.c' object='clients/weston_multi_resource-multi-resource.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_multi_resource_CFLAGS) $(CFLAGS) -c -o clients/weston_multi_resource-multi-resource.o `test -f 'clients/multi-resource.c' || echo '$(srcdir)/'`clients/multi-resource.c clients/weston_multi_resource-multi-resource.obj: clients/multi-resource.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_multi_resource_CFLAGS) $(CFLAGS) -MT clients/weston_multi_resource-multi-resource.obj -MD -MP -MF clients/$(DEPDIR)/weston_multi_resource-multi-resource.Tpo -c -o clients/weston_multi_resource-multi-resource.obj `if test -f 'clients/multi-resource.c'; then $(CYGPATH_W) 'clients/multi-resource.c'; else $(CYGPATH_W) '$(srcdir)/clients/multi-resource.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_multi_resource-multi-resource.Tpo clients/$(DEPDIR)/weston_multi_resource-multi-resource.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/multi-resource.c' object='clients/weston_multi_resource-multi-resource.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_multi_resource_CFLAGS) $(CFLAGS) -c -o clients/weston_multi_resource-multi-resource.obj `if test -f 'clients/multi-resource.c'; then $(CYGPATH_W) 'clients/multi-resource.c'; else $(CYGPATH_W) '$(srcdir)/clients/multi-resource.c'; fi` clients/weston_nested-nested.o: clients/nested.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_nested_CFLAGS) $(CFLAGS) -MT clients/weston_nested-nested.o -MD -MP -MF clients/$(DEPDIR)/weston_nested-nested.Tpo -c -o clients/weston_nested-nested.o `test -f 'clients/nested.c' || echo '$(srcdir)/'`clients/nested.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_nested-nested.Tpo clients/$(DEPDIR)/weston_nested-nested.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/nested.c' object='clients/weston_nested-nested.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_nested_CFLAGS) $(CFLAGS) -c -o clients/weston_nested-nested.o `test -f 'clients/nested.c' || echo '$(srcdir)/'`clients/nested.c clients/weston_nested-nested.obj: clients/nested.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_nested_CFLAGS) $(CFLAGS) -MT clients/weston_nested-nested.obj -MD -MP -MF clients/$(DEPDIR)/weston_nested-nested.Tpo -c -o clients/weston_nested-nested.obj `if test -f 'clients/nested.c'; then $(CYGPATH_W) 'clients/nested.c'; else $(CYGPATH_W) '$(srcdir)/clients/nested.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_nested-nested.Tpo clients/$(DEPDIR)/weston_nested-nested.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/nested.c' object='clients/weston_nested-nested.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_nested_CFLAGS) $(CFLAGS) -c -o clients/weston_nested-nested.obj `if test -f 'clients/nested.c'; then $(CYGPATH_W) 'clients/nested.c'; else $(CYGPATH_W) '$(srcdir)/clients/nested.c'; fi` clients/weston_nested_client-nested-client.o: clients/nested-client.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_nested_client_CFLAGS) $(CFLAGS) -MT clients/weston_nested_client-nested-client.o -MD -MP -MF clients/$(DEPDIR)/weston_nested_client-nested-client.Tpo -c -o clients/weston_nested_client-nested-client.o `test -f 'clients/nested-client.c' || echo '$(srcdir)/'`clients/nested-client.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_nested_client-nested-client.Tpo clients/$(DEPDIR)/weston_nested_client-nested-client.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/nested-client.c' object='clients/weston_nested_client-nested-client.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_nested_client_CFLAGS) $(CFLAGS) -c -o clients/weston_nested_client-nested-client.o `test -f 'clients/nested-client.c' || echo '$(srcdir)/'`clients/nested-client.c clients/weston_nested_client-nested-client.obj: clients/nested-client.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_nested_client_CFLAGS) $(CFLAGS) -MT clients/weston_nested_client-nested-client.obj -MD -MP -MF clients/$(DEPDIR)/weston_nested_client-nested-client.Tpo -c -o clients/weston_nested_client-nested-client.obj `if test -f 'clients/nested-client.c'; then $(CYGPATH_W) 'clients/nested-client.c'; else $(CYGPATH_W) '$(srcdir)/clients/nested-client.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_nested_client-nested-client.Tpo clients/$(DEPDIR)/weston_nested_client-nested-client.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/nested-client.c' object='clients/weston_nested_client-nested-client.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_nested_client_CFLAGS) $(CFLAGS) -c -o clients/weston_nested_client-nested-client.obj `if test -f 'clients/nested-client.c'; then $(CYGPATH_W) 'clients/nested-client.c'; else $(CYGPATH_W) '$(srcdir)/clients/nested-client.c'; fi` clients/weston_presentation_shm-presentation-shm.o: clients/presentation-shm.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_presentation_shm_CFLAGS) $(CFLAGS) -MT clients/weston_presentation_shm-presentation-shm.o -MD -MP -MF clients/$(DEPDIR)/weston_presentation_shm-presentation-shm.Tpo -c -o clients/weston_presentation_shm-presentation-shm.o `test -f 'clients/presentation-shm.c' || echo '$(srcdir)/'`clients/presentation-shm.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_presentation_shm-presentation-shm.Tpo clients/$(DEPDIR)/weston_presentation_shm-presentation-shm.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/presentation-shm.c' object='clients/weston_presentation_shm-presentation-shm.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_presentation_shm_CFLAGS) $(CFLAGS) -c -o clients/weston_presentation_shm-presentation-shm.o `test -f 'clients/presentation-shm.c' || echo '$(srcdir)/'`clients/presentation-shm.c clients/weston_presentation_shm-presentation-shm.obj: clients/presentation-shm.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_presentation_shm_CFLAGS) $(CFLAGS) -MT clients/weston_presentation_shm-presentation-shm.obj -MD -MP -MF clients/$(DEPDIR)/weston_presentation_shm-presentation-shm.Tpo -c -o clients/weston_presentation_shm-presentation-shm.obj `if test -f 'clients/presentation-shm.c'; then $(CYGPATH_W) 'clients/presentation-shm.c'; else $(CYGPATH_W) '$(srcdir)/clients/presentation-shm.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_presentation_shm-presentation-shm.Tpo clients/$(DEPDIR)/weston_presentation_shm-presentation-shm.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/presentation-shm.c' object='clients/weston_presentation_shm-presentation-shm.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_presentation_shm_CFLAGS) $(CFLAGS) -c -o clients/weston_presentation_shm-presentation-shm.obj `if test -f 'clients/presentation-shm.c'; then $(CYGPATH_W) 'clients/presentation-shm.c'; else $(CYGPATH_W) '$(srcdir)/clients/presentation-shm.c'; fi` protocol/weston_presentation_shm-presentation-time-protocol.o: protocol/presentation-time-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_presentation_shm_CFLAGS) $(CFLAGS) -MT protocol/weston_presentation_shm-presentation-time-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_presentation_shm-presentation-time-protocol.Tpo -c -o protocol/weston_presentation_shm-presentation-time-protocol.o `test -f 'protocol/presentation-time-protocol.c' || echo '$(srcdir)/'`protocol/presentation-time-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_presentation_shm-presentation-time-protocol.Tpo protocol/$(DEPDIR)/weston_presentation_shm-presentation-time-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/presentation-time-protocol.c' object='protocol/weston_presentation_shm-presentation-time-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_presentation_shm_CFLAGS) $(CFLAGS) -c -o protocol/weston_presentation_shm-presentation-time-protocol.o `test -f 'protocol/presentation-time-protocol.c' || echo '$(srcdir)/'`protocol/presentation-time-protocol.c protocol/weston_presentation_shm-presentation-time-protocol.obj: protocol/presentation-time-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_presentation_shm_CFLAGS) $(CFLAGS) -MT protocol/weston_presentation_shm-presentation-time-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_presentation_shm-presentation-time-protocol.Tpo -c -o protocol/weston_presentation_shm-presentation-time-protocol.obj `if test -f 'protocol/presentation-time-protocol.c'; then $(CYGPATH_W) 'protocol/presentation-time-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/presentation-time-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_presentation_shm-presentation-time-protocol.Tpo protocol/$(DEPDIR)/weston_presentation_shm-presentation-time-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/presentation-time-protocol.c' object='protocol/weston_presentation_shm-presentation-time-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_presentation_shm_CFLAGS) $(CFLAGS) -c -o protocol/weston_presentation_shm-presentation-time-protocol.obj `if test -f 'protocol/presentation-time-protocol.c'; then $(CYGPATH_W) 'protocol/presentation-time-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/presentation-time-protocol.c'; fi` clients/weston_resizor-resizor.o: clients/resizor.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_resizor_CFLAGS) $(CFLAGS) -MT clients/weston_resizor-resizor.o -MD -MP -MF clients/$(DEPDIR)/weston_resizor-resizor.Tpo -c -o clients/weston_resizor-resizor.o `test -f 'clients/resizor.c' || echo '$(srcdir)/'`clients/resizor.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_resizor-resizor.Tpo clients/$(DEPDIR)/weston_resizor-resizor.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/resizor.c' object='clients/weston_resizor-resizor.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_resizor_CFLAGS) $(CFLAGS) -c -o clients/weston_resizor-resizor.o `test -f 'clients/resizor.c' || echo '$(srcdir)/'`clients/resizor.c clients/weston_resizor-resizor.obj: clients/resizor.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_resizor_CFLAGS) $(CFLAGS) -MT clients/weston_resizor-resizor.obj -MD -MP -MF clients/$(DEPDIR)/weston_resizor-resizor.Tpo -c -o clients/weston_resizor-resizor.obj `if test -f 'clients/resizor.c'; then $(CYGPATH_W) 'clients/resizor.c'; else $(CYGPATH_W) '$(srcdir)/clients/resizor.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_resizor-resizor.Tpo clients/$(DEPDIR)/weston_resizor-resizor.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/resizor.c' object='clients/weston_resizor-resizor.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_resizor_CFLAGS) $(CFLAGS) -c -o clients/weston_resizor-resizor.obj `if test -f 'clients/resizor.c'; then $(CYGPATH_W) 'clients/resizor.c'; else $(CYGPATH_W) '$(srcdir)/clients/resizor.c'; fi` clients/weston_scaler-scaler.o: clients/scaler.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_scaler_CFLAGS) $(CFLAGS) -MT clients/weston_scaler-scaler.o -MD -MP -MF clients/$(DEPDIR)/weston_scaler-scaler.Tpo -c -o clients/weston_scaler-scaler.o `test -f 'clients/scaler.c' || echo '$(srcdir)/'`clients/scaler.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_scaler-scaler.Tpo clients/$(DEPDIR)/weston_scaler-scaler.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/scaler.c' object='clients/weston_scaler-scaler.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_scaler_CFLAGS) $(CFLAGS) -c -o clients/weston_scaler-scaler.o `test -f 'clients/scaler.c' || echo '$(srcdir)/'`clients/scaler.c clients/weston_scaler-scaler.obj: clients/scaler.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_scaler_CFLAGS) $(CFLAGS) -MT clients/weston_scaler-scaler.obj -MD -MP -MF clients/$(DEPDIR)/weston_scaler-scaler.Tpo -c -o clients/weston_scaler-scaler.obj `if test -f 'clients/scaler.c'; then $(CYGPATH_W) 'clients/scaler.c'; else $(CYGPATH_W) '$(srcdir)/clients/scaler.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_scaler-scaler.Tpo clients/$(DEPDIR)/weston_scaler-scaler.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/scaler.c' object='clients/weston_scaler-scaler.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_scaler_CFLAGS) $(CFLAGS) -c -o clients/weston_scaler-scaler.obj `if test -f 'clients/scaler.c'; then $(CYGPATH_W) 'clients/scaler.c'; else $(CYGPATH_W) '$(srcdir)/clients/scaler.c'; fi` clients/weston_screenshooter-screenshot.o: clients/screenshot.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_screenshooter_CFLAGS) $(CFLAGS) -MT clients/weston_screenshooter-screenshot.o -MD -MP -MF clients/$(DEPDIR)/weston_screenshooter-screenshot.Tpo -c -o clients/weston_screenshooter-screenshot.o `test -f 'clients/screenshot.c' || echo '$(srcdir)/'`clients/screenshot.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_screenshooter-screenshot.Tpo clients/$(DEPDIR)/weston_screenshooter-screenshot.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/screenshot.c' object='clients/weston_screenshooter-screenshot.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_screenshooter_CFLAGS) $(CFLAGS) -c -o clients/weston_screenshooter-screenshot.o `test -f 'clients/screenshot.c' || echo '$(srcdir)/'`clients/screenshot.c clients/weston_screenshooter-screenshot.obj: clients/screenshot.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_screenshooter_CFLAGS) $(CFLAGS) -MT clients/weston_screenshooter-screenshot.obj -MD -MP -MF clients/$(DEPDIR)/weston_screenshooter-screenshot.Tpo -c -o clients/weston_screenshooter-screenshot.obj `if test -f 'clients/screenshot.c'; then $(CYGPATH_W) 'clients/screenshot.c'; else $(CYGPATH_W) '$(srcdir)/clients/screenshot.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_screenshooter-screenshot.Tpo clients/$(DEPDIR)/weston_screenshooter-screenshot.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/screenshot.c' object='clients/weston_screenshooter-screenshot.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_screenshooter_CFLAGS) $(CFLAGS) -c -o clients/weston_screenshooter-screenshot.obj `if test -f 'clients/screenshot.c'; then $(CYGPATH_W) 'clients/screenshot.c'; else $(CYGPATH_W) '$(srcdir)/clients/screenshot.c'; fi` protocol/weston_screenshooter-weston-screenshooter-protocol.o: protocol/weston-screenshooter-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_screenshooter_CFLAGS) $(CFLAGS) -MT protocol/weston_screenshooter-weston-screenshooter-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_screenshooter-weston-screenshooter-protocol.Tpo -c -o protocol/weston_screenshooter-weston-screenshooter-protocol.o `test -f 'protocol/weston-screenshooter-protocol.c' || echo '$(srcdir)/'`protocol/weston-screenshooter-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_screenshooter-weston-screenshooter-protocol.Tpo protocol/$(DEPDIR)/weston_screenshooter-weston-screenshooter-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/weston-screenshooter-protocol.c' object='protocol/weston_screenshooter-weston-screenshooter-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_screenshooter_CFLAGS) $(CFLAGS) -c -o protocol/weston_screenshooter-weston-screenshooter-protocol.o `test -f 'protocol/weston-screenshooter-protocol.c' || echo '$(srcdir)/'`protocol/weston-screenshooter-protocol.c protocol/weston_screenshooter-weston-screenshooter-protocol.obj: protocol/weston-screenshooter-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_screenshooter_CFLAGS) $(CFLAGS) -MT protocol/weston_screenshooter-weston-screenshooter-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_screenshooter-weston-screenshooter-protocol.Tpo -c -o protocol/weston_screenshooter-weston-screenshooter-protocol.obj `if test -f 'protocol/weston-screenshooter-protocol.c'; then $(CYGPATH_W) 'protocol/weston-screenshooter-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/weston-screenshooter-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_screenshooter-weston-screenshooter-protocol.Tpo protocol/$(DEPDIR)/weston_screenshooter-weston-screenshooter-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/weston-screenshooter-protocol.c' object='protocol/weston_screenshooter-weston-screenshooter-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_screenshooter_CFLAGS) $(CFLAGS) -c -o protocol/weston_screenshooter-weston-screenshooter-protocol.obj `if test -f 'protocol/weston-screenshooter-protocol.c'; then $(CYGPATH_W) 'protocol/weston-screenshooter-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/weston-screenshooter-protocol.c'; fi` clients/weston_simple_damage-simple-damage.o: clients/simple-damage.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_damage_CFLAGS) $(CFLAGS) -MT clients/weston_simple_damage-simple-damage.o -MD -MP -MF clients/$(DEPDIR)/weston_simple_damage-simple-damage.Tpo -c -o clients/weston_simple_damage-simple-damage.o `test -f 'clients/simple-damage.c' || echo '$(srcdir)/'`clients/simple-damage.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_simple_damage-simple-damage.Tpo clients/$(DEPDIR)/weston_simple_damage-simple-damage.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/simple-damage.c' object='clients/weston_simple_damage-simple-damage.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_damage_CFLAGS) $(CFLAGS) -c -o clients/weston_simple_damage-simple-damage.o `test -f 'clients/simple-damage.c' || echo '$(srcdir)/'`clients/simple-damage.c clients/weston_simple_damage-simple-damage.obj: clients/simple-damage.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_damage_CFLAGS) $(CFLAGS) -MT clients/weston_simple_damage-simple-damage.obj -MD -MP -MF clients/$(DEPDIR)/weston_simple_damage-simple-damage.Tpo -c -o clients/weston_simple_damage-simple-damage.obj `if test -f 'clients/simple-damage.c'; then $(CYGPATH_W) 'clients/simple-damage.c'; else $(CYGPATH_W) '$(srcdir)/clients/simple-damage.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_simple_damage-simple-damage.Tpo clients/$(DEPDIR)/weston_simple_damage-simple-damage.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/simple-damage.c' object='clients/weston_simple_damage-simple-damage.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_damage_CFLAGS) $(CFLAGS) -c -o clients/weston_simple_damage-simple-damage.obj `if test -f 'clients/simple-damage.c'; then $(CYGPATH_W) 'clients/simple-damage.c'; else $(CYGPATH_W) '$(srcdir)/clients/simple-damage.c'; fi` protocol/weston_simple_damage-viewporter-protocol.o: protocol/viewporter-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_damage_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_damage-viewporter-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_simple_damage-viewporter-protocol.Tpo -c -o protocol/weston_simple_damage-viewporter-protocol.o `test -f 'protocol/viewporter-protocol.c' || echo '$(srcdir)/'`protocol/viewporter-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_damage-viewporter-protocol.Tpo protocol/$(DEPDIR)/weston_simple_damage-viewporter-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/viewporter-protocol.c' object='protocol/weston_simple_damage-viewporter-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_damage_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_damage-viewporter-protocol.o `test -f 'protocol/viewporter-protocol.c' || echo '$(srcdir)/'`protocol/viewporter-protocol.c protocol/weston_simple_damage-viewporter-protocol.obj: protocol/viewporter-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_damage_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_damage-viewporter-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_simple_damage-viewporter-protocol.Tpo -c -o protocol/weston_simple_damage-viewporter-protocol.obj `if test -f 'protocol/viewporter-protocol.c'; then $(CYGPATH_W) 'protocol/viewporter-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/viewporter-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_damage-viewporter-protocol.Tpo protocol/$(DEPDIR)/weston_simple_damage-viewporter-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/viewporter-protocol.c' object='protocol/weston_simple_damage-viewporter-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_damage_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_damage-viewporter-protocol.obj `if test -f 'protocol/viewporter-protocol.c'; then $(CYGPATH_W) 'protocol/viewporter-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/viewporter-protocol.c'; fi` protocol/weston_simple_damage-xdg-shell-unstable-v6-protocol.o: protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_damage_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_damage-xdg-shell-unstable-v6-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_simple_damage-xdg-shell-unstable-v6-protocol.Tpo -c -o protocol/weston_simple_damage-xdg-shell-unstable-v6-protocol.o `test -f 'protocol/xdg-shell-unstable-v6-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_damage-xdg-shell-unstable-v6-protocol.Tpo protocol/$(DEPDIR)/weston_simple_damage-xdg-shell-unstable-v6-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/xdg-shell-unstable-v6-protocol.c' object='protocol/weston_simple_damage-xdg-shell-unstable-v6-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_damage_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_damage-xdg-shell-unstable-v6-protocol.o `test -f 'protocol/xdg-shell-unstable-v6-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v6-protocol.c protocol/weston_simple_damage-xdg-shell-unstable-v6-protocol.obj: protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_damage_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_damage-xdg-shell-unstable-v6-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_simple_damage-xdg-shell-unstable-v6-protocol.Tpo -c -o protocol/weston_simple_damage-xdg-shell-unstable-v6-protocol.obj `if test -f 'protocol/xdg-shell-unstable-v6-protocol.c'; then $(CYGPATH_W) 'protocol/xdg-shell-unstable-v6-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/xdg-shell-unstable-v6-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_damage-xdg-shell-unstable-v6-protocol.Tpo protocol/$(DEPDIR)/weston_simple_damage-xdg-shell-unstable-v6-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/xdg-shell-unstable-v6-protocol.c' object='protocol/weston_simple_damage-xdg-shell-unstable-v6-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_damage_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_damage-xdg-shell-unstable-v6-protocol.obj `if test -f 'protocol/xdg-shell-unstable-v6-protocol.c'; then $(CYGPATH_W) 'protocol/xdg-shell-unstable-v6-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/xdg-shell-unstable-v6-protocol.c'; fi` protocol/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.o: protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_damage_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.Tpo -c -o protocol/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.o `test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/fullscreen-shell-unstable-v1-protocol.c' object='protocol/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_damage_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.o `test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/fullscreen-shell-unstable-v1-protocol.c protocol/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.obj: protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_damage_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.Tpo -c -o protocol/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.obj `if test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/fullscreen-shell-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/fullscreen-shell-unstable-v1-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/fullscreen-shell-unstable-v1-protocol.c' object='protocol/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_damage_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_damage-fullscreen-shell-unstable-v1-protocol.obj `if test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/fullscreen-shell-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/fullscreen-shell-unstable-v1-protocol.c'; fi` clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.o: clients/simple-dmabuf-drm.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) -MT clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.o -MD -MP -MF clients/$(DEPDIR)/weston_simple_dmabuf_drm-simple-dmabuf-drm.Tpo -c -o clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.o `test -f 'clients/simple-dmabuf-drm.c' || echo '$(srcdir)/'`clients/simple-dmabuf-drm.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_simple_dmabuf_drm-simple-dmabuf-drm.Tpo clients/$(DEPDIR)/weston_simple_dmabuf_drm-simple-dmabuf-drm.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/simple-dmabuf-drm.c' object='clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) -c -o clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.o `test -f 'clients/simple-dmabuf-drm.c' || echo '$(srcdir)/'`clients/simple-dmabuf-drm.c clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.obj: clients/simple-dmabuf-drm.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) -MT clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.obj -MD -MP -MF clients/$(DEPDIR)/weston_simple_dmabuf_drm-simple-dmabuf-drm.Tpo -c -o clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.obj `if test -f 'clients/simple-dmabuf-drm.c'; then $(CYGPATH_W) 'clients/simple-dmabuf-drm.c'; else $(CYGPATH_W) '$(srcdir)/clients/simple-dmabuf-drm.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_simple_dmabuf_drm-simple-dmabuf-drm.Tpo clients/$(DEPDIR)/weston_simple_dmabuf_drm-simple-dmabuf-drm.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/simple-dmabuf-drm.c' object='clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) -c -o clients/weston_simple_dmabuf_drm-simple-dmabuf-drm.obj `if test -f 'clients/simple-dmabuf-drm.c'; then $(CYGPATH_W) 'clients/simple-dmabuf-drm.c'; else $(CYGPATH_W) '$(srcdir)/clients/simple-dmabuf-drm.c'; fi` protocol/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.o: protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.Tpo -c -o protocol/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.o `test -f 'protocol/xdg-shell-unstable-v6-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.Tpo protocol/$(DEPDIR)/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/xdg-shell-unstable-v6-protocol.c' object='protocol/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.o `test -f 'protocol/xdg-shell-unstable-v6-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v6-protocol.c protocol/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.obj: protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.Tpo -c -o protocol/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.obj `if test -f 'protocol/xdg-shell-unstable-v6-protocol.c'; then $(CYGPATH_W) 'protocol/xdg-shell-unstable-v6-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/xdg-shell-unstable-v6-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.Tpo protocol/$(DEPDIR)/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/xdg-shell-unstable-v6-protocol.c' object='protocol/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_dmabuf_drm-xdg-shell-unstable-v6-protocol.obj `if test -f 'protocol/xdg-shell-unstable-v6-protocol.c'; then $(CYGPATH_W) 'protocol/xdg-shell-unstable-v6-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/xdg-shell-unstable-v6-protocol.c'; fi` protocol/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.o: protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.Tpo -c -o protocol/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.o `test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/fullscreen-shell-unstable-v1-protocol.c' object='protocol/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.o `test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/fullscreen-shell-unstable-v1-protocol.c protocol/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.obj: protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.Tpo -c -o protocol/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.obj `if test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/fullscreen-shell-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/fullscreen-shell-unstable-v1-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/fullscreen-shell-unstable-v1-protocol.c' object='protocol/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_dmabuf_drm-fullscreen-shell-unstable-v1-protocol.obj `if test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/fullscreen-shell-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/fullscreen-shell-unstable-v1-protocol.c'; fi` protocol/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.o: protocol/linux-dmabuf-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.Tpo -c -o protocol/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.o `test -f 'protocol/linux-dmabuf-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/linux-dmabuf-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/linux-dmabuf-unstable-v1-protocol.c' object='protocol/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.o `test -f 'protocol/linux-dmabuf-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/linux-dmabuf-unstable-v1-protocol.c protocol/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.obj: protocol/linux-dmabuf-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.Tpo -c -o protocol/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.obj `if test -f 'protocol/linux-dmabuf-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/linux-dmabuf-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/linux-dmabuf-unstable-v1-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/linux-dmabuf-unstable-v1-protocol.c' object='protocol/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_drm_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_dmabuf_drm-linux-dmabuf-unstable-v1-protocol.obj `if test -f 'protocol/linux-dmabuf-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/linux-dmabuf-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/linux-dmabuf-unstable-v1-protocol.c'; fi` clients/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.o: clients/simple-dmabuf-v4l.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) -MT clients/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.o -MD -MP -MF clients/$(DEPDIR)/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.Tpo -c -o clients/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.o `test -f 'clients/simple-dmabuf-v4l.c' || echo '$(srcdir)/'`clients/simple-dmabuf-v4l.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.Tpo clients/$(DEPDIR)/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/simple-dmabuf-v4l.c' object='clients/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) -c -o clients/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.o `test -f 'clients/simple-dmabuf-v4l.c' || echo '$(srcdir)/'`clients/simple-dmabuf-v4l.c clients/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.obj: clients/simple-dmabuf-v4l.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) -MT clients/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.obj -MD -MP -MF clients/$(DEPDIR)/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.Tpo -c -o clients/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.obj `if test -f 'clients/simple-dmabuf-v4l.c'; then $(CYGPATH_W) 'clients/simple-dmabuf-v4l.c'; else $(CYGPATH_W) '$(srcdir)/clients/simple-dmabuf-v4l.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.Tpo clients/$(DEPDIR)/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/simple-dmabuf-v4l.c' object='clients/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) -c -o clients/weston_simple_dmabuf_v4l-simple-dmabuf-v4l.obj `if test -f 'clients/simple-dmabuf-v4l.c'; then $(CYGPATH_W) 'clients/simple-dmabuf-v4l.c'; else $(CYGPATH_W) '$(srcdir)/clients/simple-dmabuf-v4l.c'; fi` protocol/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.o: protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.Tpo -c -o protocol/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.o `test -f 'protocol/xdg-shell-unstable-v6-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.Tpo protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/xdg-shell-unstable-v6-protocol.c' object='protocol/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.o `test -f 'protocol/xdg-shell-unstable-v6-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v6-protocol.c protocol/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.obj: protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.Tpo -c -o protocol/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.obj `if test -f 'protocol/xdg-shell-unstable-v6-protocol.c'; then $(CYGPATH_W) 'protocol/xdg-shell-unstable-v6-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/xdg-shell-unstable-v6-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.Tpo protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/xdg-shell-unstable-v6-protocol.c' object='protocol/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_dmabuf_v4l-xdg-shell-unstable-v6-protocol.obj `if test -f 'protocol/xdg-shell-unstable-v6-protocol.c'; then $(CYGPATH_W) 'protocol/xdg-shell-unstable-v6-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/xdg-shell-unstable-v6-protocol.c'; fi` protocol/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.o: protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.Tpo -c -o protocol/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.o `test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/fullscreen-shell-unstable-v1-protocol.c' object='protocol/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.o `test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/fullscreen-shell-unstable-v1-protocol.c protocol/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.obj: protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.Tpo -c -o protocol/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.obj `if test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/fullscreen-shell-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/fullscreen-shell-unstable-v1-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/fullscreen-shell-unstable-v1-protocol.c' object='protocol/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_dmabuf_v4l-fullscreen-shell-unstable-v1-protocol.obj `if test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/fullscreen-shell-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/fullscreen-shell-unstable-v1-protocol.c'; fi` protocol/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.o: protocol/linux-dmabuf-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.Tpo -c -o protocol/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.o `test -f 'protocol/linux-dmabuf-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/linux-dmabuf-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/linux-dmabuf-unstable-v1-protocol.c' object='protocol/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.o `test -f 'protocol/linux-dmabuf-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/linux-dmabuf-unstable-v1-protocol.c protocol/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.obj: protocol/linux-dmabuf-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.Tpo -c -o protocol/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.obj `if test -f 'protocol/linux-dmabuf-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/linux-dmabuf-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/linux-dmabuf-unstable-v1-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/linux-dmabuf-unstable-v1-protocol.c' object='protocol/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_dmabuf_v4l_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_dmabuf_v4l-linux-dmabuf-unstable-v1-protocol.obj `if test -f 'protocol/linux-dmabuf-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/linux-dmabuf-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/linux-dmabuf-unstable-v1-protocol.c'; fi` clients/weston_simple_egl-simple-egl.o: clients/simple-egl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_egl_CFLAGS) $(CFLAGS) -MT clients/weston_simple_egl-simple-egl.o -MD -MP -MF clients/$(DEPDIR)/weston_simple_egl-simple-egl.Tpo -c -o clients/weston_simple_egl-simple-egl.o `test -f 'clients/simple-egl.c' || echo '$(srcdir)/'`clients/simple-egl.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_simple_egl-simple-egl.Tpo clients/$(DEPDIR)/weston_simple_egl-simple-egl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/simple-egl.c' object='clients/weston_simple_egl-simple-egl.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_egl_CFLAGS) $(CFLAGS) -c -o clients/weston_simple_egl-simple-egl.o `test -f 'clients/simple-egl.c' || echo '$(srcdir)/'`clients/simple-egl.c clients/weston_simple_egl-simple-egl.obj: clients/simple-egl.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_egl_CFLAGS) $(CFLAGS) -MT clients/weston_simple_egl-simple-egl.obj -MD -MP -MF clients/$(DEPDIR)/weston_simple_egl-simple-egl.Tpo -c -o clients/weston_simple_egl-simple-egl.obj `if test -f 'clients/simple-egl.c'; then $(CYGPATH_W) 'clients/simple-egl.c'; else $(CYGPATH_W) '$(srcdir)/clients/simple-egl.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_simple_egl-simple-egl.Tpo clients/$(DEPDIR)/weston_simple_egl-simple-egl.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/simple-egl.c' object='clients/weston_simple_egl-simple-egl.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_egl_CFLAGS) $(CFLAGS) -c -o clients/weston_simple_egl-simple-egl.obj `if test -f 'clients/simple-egl.c'; then $(CYGPATH_W) 'clients/simple-egl.c'; else $(CYGPATH_W) '$(srcdir)/clients/simple-egl.c'; fi` protocol/weston_simple_egl-xdg-shell-unstable-v6-protocol.o: protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_egl_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_egl-xdg-shell-unstable-v6-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_simple_egl-xdg-shell-unstable-v6-protocol.Tpo -c -o protocol/weston_simple_egl-xdg-shell-unstable-v6-protocol.o `test -f 'protocol/xdg-shell-unstable-v6-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_egl-xdg-shell-unstable-v6-protocol.Tpo protocol/$(DEPDIR)/weston_simple_egl-xdg-shell-unstable-v6-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/xdg-shell-unstable-v6-protocol.c' object='protocol/weston_simple_egl-xdg-shell-unstable-v6-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_egl_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_egl-xdg-shell-unstable-v6-protocol.o `test -f 'protocol/xdg-shell-unstable-v6-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v6-protocol.c protocol/weston_simple_egl-xdg-shell-unstable-v6-protocol.obj: protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_egl_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_egl-xdg-shell-unstable-v6-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_simple_egl-xdg-shell-unstable-v6-protocol.Tpo -c -o protocol/weston_simple_egl-xdg-shell-unstable-v6-protocol.obj `if test -f 'protocol/xdg-shell-unstable-v6-protocol.c'; then $(CYGPATH_W) 'protocol/xdg-shell-unstable-v6-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/xdg-shell-unstable-v6-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_egl-xdg-shell-unstable-v6-protocol.Tpo protocol/$(DEPDIR)/weston_simple_egl-xdg-shell-unstable-v6-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/xdg-shell-unstable-v6-protocol.c' object='protocol/weston_simple_egl-xdg-shell-unstable-v6-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_egl_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_egl-xdg-shell-unstable-v6-protocol.obj `if test -f 'protocol/xdg-shell-unstable-v6-protocol.c'; then $(CYGPATH_W) 'protocol/xdg-shell-unstable-v6-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/xdg-shell-unstable-v6-protocol.c'; fi` protocol/weston_simple_egl-ivi-application-protocol.o: protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_egl_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_egl-ivi-application-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_simple_egl-ivi-application-protocol.Tpo -c -o protocol/weston_simple_egl-ivi-application-protocol.o `test -f 'protocol/ivi-application-protocol.c' || echo '$(srcdir)/'`protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_egl-ivi-application-protocol.Tpo protocol/$(DEPDIR)/weston_simple_egl-ivi-application-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/ivi-application-protocol.c' object='protocol/weston_simple_egl-ivi-application-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_egl_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_egl-ivi-application-protocol.o `test -f 'protocol/ivi-application-protocol.c' || echo '$(srcdir)/'`protocol/ivi-application-protocol.c protocol/weston_simple_egl-ivi-application-protocol.obj: protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_egl_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_egl-ivi-application-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_simple_egl-ivi-application-protocol.Tpo -c -o protocol/weston_simple_egl-ivi-application-protocol.obj `if test -f 'protocol/ivi-application-protocol.c'; then $(CYGPATH_W) 'protocol/ivi-application-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/ivi-application-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_egl-ivi-application-protocol.Tpo protocol/$(DEPDIR)/weston_simple_egl-ivi-application-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/ivi-application-protocol.c' object='protocol/weston_simple_egl-ivi-application-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_egl_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_egl-ivi-application-protocol.obj `if test -f 'protocol/ivi-application-protocol.c'; then $(CYGPATH_W) 'protocol/ivi-application-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/ivi-application-protocol.c'; fi` clients/weston_simple_im-simple-im.o: clients/simple-im.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_im_CFLAGS) $(CFLAGS) -MT clients/weston_simple_im-simple-im.o -MD -MP -MF clients/$(DEPDIR)/weston_simple_im-simple-im.Tpo -c -o clients/weston_simple_im-simple-im.o `test -f 'clients/simple-im.c' || echo '$(srcdir)/'`clients/simple-im.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_simple_im-simple-im.Tpo clients/$(DEPDIR)/weston_simple_im-simple-im.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/simple-im.c' object='clients/weston_simple_im-simple-im.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_im_CFLAGS) $(CFLAGS) -c -o clients/weston_simple_im-simple-im.o `test -f 'clients/simple-im.c' || echo '$(srcdir)/'`clients/simple-im.c clients/weston_simple_im-simple-im.obj: clients/simple-im.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_im_CFLAGS) $(CFLAGS) -MT clients/weston_simple_im-simple-im.obj -MD -MP -MF clients/$(DEPDIR)/weston_simple_im-simple-im.Tpo -c -o clients/weston_simple_im-simple-im.obj `if test -f 'clients/simple-im.c'; then $(CYGPATH_W) 'clients/simple-im.c'; else $(CYGPATH_W) '$(srcdir)/clients/simple-im.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_simple_im-simple-im.Tpo clients/$(DEPDIR)/weston_simple_im-simple-im.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/simple-im.c' object='clients/weston_simple_im-simple-im.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_im_CFLAGS) $(CFLAGS) -c -o clients/weston_simple_im-simple-im.obj `if test -f 'clients/simple-im.c'; then $(CYGPATH_W) 'clients/simple-im.c'; else $(CYGPATH_W) '$(srcdir)/clients/simple-im.c'; fi` protocol/weston_simple_im-input-method-unstable-v1-protocol.o: protocol/input-method-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_im_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_im-input-method-unstable-v1-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_simple_im-input-method-unstable-v1-protocol.Tpo -c -o protocol/weston_simple_im-input-method-unstable-v1-protocol.o `test -f 'protocol/input-method-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/input-method-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_im-input-method-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_simple_im-input-method-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/input-method-unstable-v1-protocol.c' object='protocol/weston_simple_im-input-method-unstable-v1-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_im_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_im-input-method-unstable-v1-protocol.o `test -f 'protocol/input-method-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/input-method-unstable-v1-protocol.c protocol/weston_simple_im-input-method-unstable-v1-protocol.obj: protocol/input-method-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_im_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_im-input-method-unstable-v1-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_simple_im-input-method-unstable-v1-protocol.Tpo -c -o protocol/weston_simple_im-input-method-unstable-v1-protocol.obj `if test -f 'protocol/input-method-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/input-method-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/input-method-unstable-v1-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_im-input-method-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_simple_im-input-method-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/input-method-unstable-v1-protocol.c' object='protocol/weston_simple_im-input-method-unstable-v1-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_im_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_im-input-method-unstable-v1-protocol.obj `if test -f 'protocol/input-method-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/input-method-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/input-method-unstable-v1-protocol.c'; fi` clients/weston_simple_shm-simple-shm.o: clients/simple-shm.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_shm_CFLAGS) $(CFLAGS) -MT clients/weston_simple_shm-simple-shm.o -MD -MP -MF clients/$(DEPDIR)/weston_simple_shm-simple-shm.Tpo -c -o clients/weston_simple_shm-simple-shm.o `test -f 'clients/simple-shm.c' || echo '$(srcdir)/'`clients/simple-shm.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_simple_shm-simple-shm.Tpo clients/$(DEPDIR)/weston_simple_shm-simple-shm.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/simple-shm.c' object='clients/weston_simple_shm-simple-shm.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_shm_CFLAGS) $(CFLAGS) -c -o clients/weston_simple_shm-simple-shm.o `test -f 'clients/simple-shm.c' || echo '$(srcdir)/'`clients/simple-shm.c clients/weston_simple_shm-simple-shm.obj: clients/simple-shm.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_shm_CFLAGS) $(CFLAGS) -MT clients/weston_simple_shm-simple-shm.obj -MD -MP -MF clients/$(DEPDIR)/weston_simple_shm-simple-shm.Tpo -c -o clients/weston_simple_shm-simple-shm.obj `if test -f 'clients/simple-shm.c'; then $(CYGPATH_W) 'clients/simple-shm.c'; else $(CYGPATH_W) '$(srcdir)/clients/simple-shm.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_simple_shm-simple-shm.Tpo clients/$(DEPDIR)/weston_simple_shm-simple-shm.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/simple-shm.c' object='clients/weston_simple_shm-simple-shm.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_shm_CFLAGS) $(CFLAGS) -c -o clients/weston_simple_shm-simple-shm.obj `if test -f 'clients/simple-shm.c'; then $(CYGPATH_W) 'clients/simple-shm.c'; else $(CYGPATH_W) '$(srcdir)/clients/simple-shm.c'; fi` protocol/weston_simple_shm-xdg-shell-unstable-v6-protocol.o: protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_shm_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_shm-xdg-shell-unstable-v6-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_simple_shm-xdg-shell-unstable-v6-protocol.Tpo -c -o protocol/weston_simple_shm-xdg-shell-unstable-v6-protocol.o `test -f 'protocol/xdg-shell-unstable-v6-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_shm-xdg-shell-unstable-v6-protocol.Tpo protocol/$(DEPDIR)/weston_simple_shm-xdg-shell-unstable-v6-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/xdg-shell-unstable-v6-protocol.c' object='protocol/weston_simple_shm-xdg-shell-unstable-v6-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_shm_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_shm-xdg-shell-unstable-v6-protocol.o `test -f 'protocol/xdg-shell-unstable-v6-protocol.c' || echo '$(srcdir)/'`protocol/xdg-shell-unstable-v6-protocol.c protocol/weston_simple_shm-xdg-shell-unstable-v6-protocol.obj: protocol/xdg-shell-unstable-v6-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_shm_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_shm-xdg-shell-unstable-v6-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_simple_shm-xdg-shell-unstable-v6-protocol.Tpo -c -o protocol/weston_simple_shm-xdg-shell-unstable-v6-protocol.obj `if test -f 'protocol/xdg-shell-unstable-v6-protocol.c'; then $(CYGPATH_W) 'protocol/xdg-shell-unstable-v6-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/xdg-shell-unstable-v6-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_shm-xdg-shell-unstable-v6-protocol.Tpo protocol/$(DEPDIR)/weston_simple_shm-xdg-shell-unstable-v6-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/xdg-shell-unstable-v6-protocol.c' object='protocol/weston_simple_shm-xdg-shell-unstable-v6-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_shm_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_shm-xdg-shell-unstable-v6-protocol.obj `if test -f 'protocol/xdg-shell-unstable-v6-protocol.c'; then $(CYGPATH_W) 'protocol/xdg-shell-unstable-v6-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/xdg-shell-unstable-v6-protocol.c'; fi` protocol/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.o: protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_shm_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.Tpo -c -o protocol/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.o `test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/fullscreen-shell-unstable-v1-protocol.c' object='protocol/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_shm_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.o `test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c' || echo '$(srcdir)/'`protocol/fullscreen-shell-unstable-v1-protocol.c protocol/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.obj: protocol/fullscreen-shell-unstable-v1-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_shm_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.Tpo -c -o protocol/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.obj `if test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/fullscreen-shell-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/fullscreen-shell-unstable-v1-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.Tpo protocol/$(DEPDIR)/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/fullscreen-shell-unstable-v1-protocol.c' object='protocol/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_shm_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_shm-fullscreen-shell-unstable-v1-protocol.obj `if test -f 'protocol/fullscreen-shell-unstable-v1-protocol.c'; then $(CYGPATH_W) 'protocol/fullscreen-shell-unstable-v1-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/fullscreen-shell-unstable-v1-protocol.c'; fi` protocol/weston_simple_shm-ivi-application-protocol.o: protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_shm_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_shm-ivi-application-protocol.o -MD -MP -MF protocol/$(DEPDIR)/weston_simple_shm-ivi-application-protocol.Tpo -c -o protocol/weston_simple_shm-ivi-application-protocol.o `test -f 'protocol/ivi-application-protocol.c' || echo '$(srcdir)/'`protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_shm-ivi-application-protocol.Tpo protocol/$(DEPDIR)/weston_simple_shm-ivi-application-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/ivi-application-protocol.c' object='protocol/weston_simple_shm-ivi-application-protocol.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_shm_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_shm-ivi-application-protocol.o `test -f 'protocol/ivi-application-protocol.c' || echo '$(srcdir)/'`protocol/ivi-application-protocol.c protocol/weston_simple_shm-ivi-application-protocol.obj: protocol/ivi-application-protocol.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_shm_CFLAGS) $(CFLAGS) -MT protocol/weston_simple_shm-ivi-application-protocol.obj -MD -MP -MF protocol/$(DEPDIR)/weston_simple_shm-ivi-application-protocol.Tpo -c -o protocol/weston_simple_shm-ivi-application-protocol.obj `if test -f 'protocol/ivi-application-protocol.c'; then $(CYGPATH_W) 'protocol/ivi-application-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/ivi-application-protocol.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) protocol/$(DEPDIR)/weston_simple_shm-ivi-application-protocol.Tpo protocol/$(DEPDIR)/weston_simple_shm-ivi-application-protocol.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='protocol/ivi-application-protocol.c' object='protocol/weston_simple_shm-ivi-application-protocol.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_shm_CFLAGS) $(CFLAGS) -c -o protocol/weston_simple_shm-ivi-application-protocol.obj `if test -f 'protocol/ivi-application-protocol.c'; then $(CYGPATH_W) 'protocol/ivi-application-protocol.c'; else $(CYGPATH_W) '$(srcdir)/protocol/ivi-application-protocol.c'; fi` clients/weston_simple_touch-simple-touch.o: clients/simple-touch.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_touch_CFLAGS) $(CFLAGS) -MT clients/weston_simple_touch-simple-touch.o -MD -MP -MF clients/$(DEPDIR)/weston_simple_touch-simple-touch.Tpo -c -o clients/weston_simple_touch-simple-touch.o `test -f 'clients/simple-touch.c' || echo '$(srcdir)/'`clients/simple-touch.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_simple_touch-simple-touch.Tpo clients/$(DEPDIR)/weston_simple_touch-simple-touch.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/simple-touch.c' object='clients/weston_simple_touch-simple-touch.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_touch_CFLAGS) $(CFLAGS) -c -o clients/weston_simple_touch-simple-touch.o `test -f 'clients/simple-touch.c' || echo '$(srcdir)/'`clients/simple-touch.c clients/weston_simple_touch-simple-touch.obj: clients/simple-touch.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_touch_CFLAGS) $(CFLAGS) -MT clients/weston_simple_touch-simple-touch.obj -MD -MP -MF clients/$(DEPDIR)/weston_simple_touch-simple-touch.Tpo -c -o clients/weston_simple_touch-simple-touch.obj `if test -f 'clients/simple-touch.c'; then $(CYGPATH_W) 'clients/simple-touch.c'; else $(CYGPATH_W) '$(srcdir)/clients/simple-touch.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_simple_touch-simple-touch.Tpo clients/$(DEPDIR)/weston_simple_touch-simple-touch.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/simple-touch.c' object='clients/weston_simple_touch-simple-touch.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_simple_touch_CFLAGS) $(CFLAGS) -c -o clients/weston_simple_touch-simple-touch.obj `if test -f 'clients/simple-touch.c'; then $(CYGPATH_W) 'clients/simple-touch.c'; else $(CYGPATH_W) '$(srcdir)/clients/simple-touch.c'; fi` clients/weston_smoke-smoke.o: clients/smoke.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_smoke_CFLAGS) $(CFLAGS) -MT clients/weston_smoke-smoke.o -MD -MP -MF clients/$(DEPDIR)/weston_smoke-smoke.Tpo -c -o clients/weston_smoke-smoke.o `test -f 'clients/smoke.c' || echo '$(srcdir)/'`clients/smoke.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_smoke-smoke.Tpo clients/$(DEPDIR)/weston_smoke-smoke.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/smoke.c' object='clients/weston_smoke-smoke.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_smoke_CFLAGS) $(CFLAGS) -c -o clients/weston_smoke-smoke.o `test -f 'clients/smoke.c' || echo '$(srcdir)/'`clients/smoke.c clients/weston_smoke-smoke.obj: clients/smoke.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_smoke_CFLAGS) $(CFLAGS) -MT clients/weston_smoke-smoke.obj -MD -MP -MF clients/$(DEPDIR)/weston_smoke-smoke.Tpo -c -o clients/weston_smoke-smoke.obj `if test -f 'clients/smoke.c'; then $(CYGPATH_W) 'clients/smoke.c'; else $(CYGPATH_W) '$(srcdir)/clients/smoke.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_smoke-smoke.Tpo clients/$(DEPDIR)/weston_smoke-smoke.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/smoke.c' object='clients/weston_smoke-smoke.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_smoke_CFLAGS) $(CFLAGS) -c -o clients/weston_smoke-smoke.obj `if test -f 'clients/smoke.c'; then $(CYGPATH_W) 'clients/smoke.c'; else $(CYGPATH_W) '$(srcdir)/clients/smoke.c'; fi` clients/weston_stacking-stacking.o: clients/stacking.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_stacking_CFLAGS) $(CFLAGS) -MT clients/weston_stacking-stacking.o -MD -MP -MF clients/$(DEPDIR)/weston_stacking-stacking.Tpo -c -o clients/weston_stacking-stacking.o `test -f 'clients/stacking.c' || echo '$(srcdir)/'`clients/stacking.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_stacking-stacking.Tpo clients/$(DEPDIR)/weston_stacking-stacking.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/stacking.c' object='clients/weston_stacking-stacking.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_stacking_CFLAGS) $(CFLAGS) -c -o clients/weston_stacking-stacking.o `test -f 'clients/stacking.c' || echo '$(srcdir)/'`clients/stacking.c clients/weston_stacking-stacking.obj: clients/stacking.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_stacking_CFLAGS) $(CFLAGS) -MT clients/weston_stacking-stacking.obj -MD -MP -MF clients/$(DEPDIR)/weston_stacking-stacking.Tpo -c -o clients/weston_stacking-stacking.obj `if test -f 'clients/stacking.c'; then $(CYGPATH_W) 'clients/stacking.c'; else $(CYGPATH_W) '$(srcdir)/clients/stacking.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_stacking-stacking.Tpo clients/$(DEPDIR)/weston_stacking-stacking.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/stacking.c' object='clients/weston_stacking-stacking.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_stacking_CFLAGS) $(CFLAGS) -c -o clients/weston_stacking-stacking.obj `if test -f 'clients/stacking.c'; then $(CYGPATH_W) 'clients/stacking.c'; else $(CYGPATH_W) '$(srcdir)/clients/stacking.c'; fi` clients/weston_subsurfaces-subsurfaces.o: clients/subsurfaces.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_subsurfaces_CFLAGS) $(CFLAGS) -MT clients/weston_subsurfaces-subsurfaces.o -MD -MP -MF clients/$(DEPDIR)/weston_subsurfaces-subsurfaces.Tpo -c -o clients/weston_subsurfaces-subsurfaces.o `test -f 'clients/subsurfaces.c' || echo '$(srcdir)/'`clients/subsurfaces.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_subsurfaces-subsurfaces.Tpo clients/$(DEPDIR)/weston_subsurfaces-subsurfaces.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/subsurfaces.c' object='clients/weston_subsurfaces-subsurfaces.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_subsurfaces_CFLAGS) $(CFLAGS) -c -o clients/weston_subsurfaces-subsurfaces.o `test -f 'clients/subsurfaces.c' || echo '$(srcdir)/'`clients/subsurfaces.c clients/weston_subsurfaces-subsurfaces.obj: clients/subsurfaces.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_subsurfaces_CFLAGS) $(CFLAGS) -MT clients/weston_subsurfaces-subsurfaces.obj -MD -MP -MF clients/$(DEPDIR)/weston_subsurfaces-subsurfaces.Tpo -c -o clients/weston_subsurfaces-subsurfaces.obj `if test -f 'clients/subsurfaces.c'; then $(CYGPATH_W) 'clients/subsurfaces.c'; else $(CYGPATH_W) '$(srcdir)/clients/subsurfaces.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_subsurfaces-subsurfaces.Tpo clients/$(DEPDIR)/weston_subsurfaces-subsurfaces.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/subsurfaces.c' object='clients/weston_subsurfaces-subsurfaces.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_subsurfaces_CFLAGS) $(CFLAGS) -c -o clients/weston_subsurfaces-subsurfaces.obj `if test -f 'clients/subsurfaces.c'; then $(CYGPATH_W) 'clients/subsurfaces.c'; else $(CYGPATH_W) '$(srcdir)/clients/subsurfaces.c'; fi` clients/weston_terminal-terminal.o: clients/terminal.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_terminal_CFLAGS) $(CFLAGS) -MT clients/weston_terminal-terminal.o -MD -MP -MF clients/$(DEPDIR)/weston_terminal-terminal.Tpo -c -o clients/weston_terminal-terminal.o `test -f 'clients/terminal.c' || echo '$(srcdir)/'`clients/terminal.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_terminal-terminal.Tpo clients/$(DEPDIR)/weston_terminal-terminal.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/terminal.c' object='clients/weston_terminal-terminal.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_terminal_CFLAGS) $(CFLAGS) -c -o clients/weston_terminal-terminal.o `test -f 'clients/terminal.c' || echo '$(srcdir)/'`clients/terminal.c clients/weston_terminal-terminal.obj: clients/terminal.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_terminal_CFLAGS) $(CFLAGS) -MT clients/weston_terminal-terminal.obj -MD -MP -MF clients/$(DEPDIR)/weston_terminal-terminal.Tpo -c -o clients/weston_terminal-terminal.obj `if test -f 'clients/terminal.c'; then $(CYGPATH_W) 'clients/terminal.c'; else $(CYGPATH_W) '$(srcdir)/clients/terminal.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_terminal-terminal.Tpo clients/$(DEPDIR)/weston_terminal-terminal.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/terminal.c' object='clients/weston_terminal-terminal.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_terminal_CFLAGS) $(CFLAGS) -c -o clients/weston_terminal-terminal.obj `if test -f 'clients/terminal.c'; then $(CYGPATH_W) 'clients/terminal.c'; else $(CYGPATH_W) '$(srcdir)/clients/terminal.c'; fi` clients/weston_transformed-transformed.o: clients/transformed.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_transformed_CFLAGS) $(CFLAGS) -MT clients/weston_transformed-transformed.o -MD -MP -MF clients/$(DEPDIR)/weston_transformed-transformed.Tpo -c -o clients/weston_transformed-transformed.o `test -f 'clients/transformed.c' || echo '$(srcdir)/'`clients/transformed.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_transformed-transformed.Tpo clients/$(DEPDIR)/weston_transformed-transformed.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/transformed.c' object='clients/weston_transformed-transformed.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_transformed_CFLAGS) $(CFLAGS) -c -o clients/weston_transformed-transformed.o `test -f 'clients/transformed.c' || echo '$(srcdir)/'`clients/transformed.c clients/weston_transformed-transformed.obj: clients/transformed.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_transformed_CFLAGS) $(CFLAGS) -MT clients/weston_transformed-transformed.obj -MD -MP -MF clients/$(DEPDIR)/weston_transformed-transformed.Tpo -c -o clients/weston_transformed-transformed.obj `if test -f 'clients/transformed.c'; then $(CYGPATH_W) 'clients/transformed.c'; else $(CYGPATH_W) '$(srcdir)/clients/transformed.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) clients/$(DEPDIR)/weston_transformed-transformed.Tpo clients/$(DEPDIR)/weston_transformed-transformed.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='clients/transformed.c' object='clients/weston_transformed-transformed.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(weston_transformed_CFLAGS) $(CFLAGS) -c -o clients/weston_transformed-transformed.obj `if test -f 'clients/transformed.c'; then $(CYGPATH_W) 'clients/transformed.c'; else $(CYGPATH_W) '$(srcdir)/clients/transformed.c'; fi` tests/xwayland_test_weston-xwayland-test.o: tests/xwayland-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xwayland_test_weston_CFLAGS) $(CFLAGS) -MT tests/xwayland_test_weston-xwayland-test.o -MD -MP -MF tests/$(DEPDIR)/xwayland_test_weston-xwayland-test.Tpo -c -o tests/xwayland_test_weston-xwayland-test.o `test -f 'tests/xwayland-test.c' || echo '$(srcdir)/'`tests/xwayland-test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/xwayland_test_weston-xwayland-test.Tpo tests/$(DEPDIR)/xwayland_test_weston-xwayland-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/xwayland-test.c' object='tests/xwayland_test_weston-xwayland-test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xwayland_test_weston_CFLAGS) $(CFLAGS) -c -o tests/xwayland_test_weston-xwayland-test.o `test -f 'tests/xwayland-test.c' || echo '$(srcdir)/'`tests/xwayland-test.c tests/xwayland_test_weston-xwayland-test.obj: tests/xwayland-test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xwayland_test_weston_CFLAGS) $(CFLAGS) -MT tests/xwayland_test_weston-xwayland-test.obj -MD -MP -MF tests/$(DEPDIR)/xwayland_test_weston-xwayland-test.Tpo -c -o tests/xwayland_test_weston-xwayland-test.obj `if test -f 'tests/xwayland-test.c'; then $(CYGPATH_W) 'tests/xwayland-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/xwayland-test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tests/$(DEPDIR)/xwayland_test_weston-xwayland-test.Tpo tests/$(DEPDIR)/xwayland_test_weston-xwayland-test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tests/xwayland-test.c' object='tests/xwayland_test_weston-xwayland-test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(xwayland_test_weston_CFLAGS) $(CFLAGS) -c -o tests/xwayland_test_weston-xwayland-test.obj `if test -f 'tests/xwayland-test.c'; then $(CYGPATH_W) 'tests/xwayland-test.c'; else $(CYGPATH_W) '$(srcdir)/tests/xwayland-test.c'; fi` tools/zunitc/test/zuctest-fixtures_test.o: tools/zunitc/test/fixtures_test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(zuctest_CFLAGS) $(CFLAGS) -MT tools/zunitc/test/zuctest-fixtures_test.o -MD -MP -MF tools/zunitc/test/$(DEPDIR)/zuctest-fixtures_test.Tpo -c -o tools/zunitc/test/zuctest-fixtures_test.o `test -f 'tools/zunitc/test/fixtures_test.c' || echo '$(srcdir)/'`tools/zunitc/test/fixtures_test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/zunitc/test/$(DEPDIR)/zuctest-fixtures_test.Tpo tools/zunitc/test/$(DEPDIR)/zuctest-fixtures_test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/zunitc/test/fixtures_test.c' object='tools/zunitc/test/zuctest-fixtures_test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(zuctest_CFLAGS) $(CFLAGS) -c -o tools/zunitc/test/zuctest-fixtures_test.o `test -f 'tools/zunitc/test/fixtures_test.c' || echo '$(srcdir)/'`tools/zunitc/test/fixtures_test.c tools/zunitc/test/zuctest-fixtures_test.obj: tools/zunitc/test/fixtures_test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(zuctest_CFLAGS) $(CFLAGS) -MT tools/zunitc/test/zuctest-fixtures_test.obj -MD -MP -MF tools/zunitc/test/$(DEPDIR)/zuctest-fixtures_test.Tpo -c -o tools/zunitc/test/zuctest-fixtures_test.obj `if test -f 'tools/zunitc/test/fixtures_test.c'; then $(CYGPATH_W) 'tools/zunitc/test/fixtures_test.c'; else $(CYGPATH_W) '$(srcdir)/tools/zunitc/test/fixtures_test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/zunitc/test/$(DEPDIR)/zuctest-fixtures_test.Tpo tools/zunitc/test/$(DEPDIR)/zuctest-fixtures_test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/zunitc/test/fixtures_test.c' object='tools/zunitc/test/zuctest-fixtures_test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(zuctest_CFLAGS) $(CFLAGS) -c -o tools/zunitc/test/zuctest-fixtures_test.obj `if test -f 'tools/zunitc/test/fixtures_test.c'; then $(CYGPATH_W) 'tools/zunitc/test/fixtures_test.c'; else $(CYGPATH_W) '$(srcdir)/tools/zunitc/test/fixtures_test.c'; fi` tools/zunitc/test/zuctest-zunitc_test.o: tools/zunitc/test/zunitc_test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(zuctest_CFLAGS) $(CFLAGS) -MT tools/zunitc/test/zuctest-zunitc_test.o -MD -MP -MF tools/zunitc/test/$(DEPDIR)/zuctest-zunitc_test.Tpo -c -o tools/zunitc/test/zuctest-zunitc_test.o `test -f 'tools/zunitc/test/zunitc_test.c' || echo '$(srcdir)/'`tools/zunitc/test/zunitc_test.c @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/zunitc/test/$(DEPDIR)/zuctest-zunitc_test.Tpo tools/zunitc/test/$(DEPDIR)/zuctest-zunitc_test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/zunitc/test/zunitc_test.c' object='tools/zunitc/test/zuctest-zunitc_test.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(zuctest_CFLAGS) $(CFLAGS) -c -o tools/zunitc/test/zuctest-zunitc_test.o `test -f 'tools/zunitc/test/zunitc_test.c' || echo '$(srcdir)/'`tools/zunitc/test/zunitc_test.c tools/zunitc/test/zuctest-zunitc_test.obj: tools/zunitc/test/zunitc_test.c @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(zuctest_CFLAGS) $(CFLAGS) -MT tools/zunitc/test/zuctest-zunitc_test.obj -MD -MP -MF tools/zunitc/test/$(DEPDIR)/zuctest-zunitc_test.Tpo -c -o tools/zunitc/test/zuctest-zunitc_test.obj `if test -f 'tools/zunitc/test/zunitc_test.c'; then $(CYGPATH_W) 'tools/zunitc/test/zunitc_test.c'; else $(CYGPATH_W) '$(srcdir)/tools/zunitc/test/zunitc_test.c'; fi` @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) tools/zunitc/test/$(DEPDIR)/zuctest-zunitc_test.Tpo tools/zunitc/test/$(DEPDIR)/zuctest-zunitc_test.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='tools/zunitc/test/zunitc_test.c' object='tools/zunitc/test/zuctest-zunitc_test.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(zuctest_CFLAGS) $(CFLAGS) -c -o tools/zunitc/test/zuctest-zunitc_test.obj `if test -f 'tools/zunitc/test/zunitc_test.c'; then $(CYGPATH_W) 'tools/zunitc/test/zunitc_test.c'; else $(CYGPATH_W) '$(srcdir)/tools/zunitc/test/zunitc_test.c'; fi` mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs -rm -rf clients/.libs clients/_libs -rm -rf compositor/.libs compositor/_libs -rm -rf desktop-shell/.libs desktop-shell/_libs -rm -rf fullscreen-shell/.libs fullscreen-shell/_libs -rm -rf ivi-shell/.libs ivi-shell/_libs -rm -rf libweston/.libs libweston/_libs -rm -rf libweston-desktop/.libs libweston-desktop/_libs -rm -rf protocol/.libs protocol/_libs -rm -rf shared/.libs shared/_libs -rm -rf tests/.libs tests/_libs -rm -rf tools/zunitc/src/.libs tools/zunitc/src/_libs -rm -rf xwayland/.libs xwayland/_libs distclean-libtool: -rm -f libtool config.lt install-man1: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(man_MANS)'; \ test -n "$(man1dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man1dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man1dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.1[a-z]*$$/p'; \ fi; \ } | 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='$(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,.,'`; \ dir='$(DESTDIR)$(man1dir)'; $(am__uninstall_files_from_dir) install-man5: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(man_MANS)'; \ test -n "$(man5dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man5dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man5dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.5[a-z]*$$/p'; \ fi; \ } | 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,^[^5][0-9a-z]*$$,5,;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)$(man5dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man5dir)/$$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)$(man5dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man5dir)" || exit $$?; }; \ done; } uninstall-man5: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man5dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.5[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^5][0-9a-z]*$$,5,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man5dir)'; $(am__uninstall_files_from_dir) install-man7: $(man_MANS) @$(NORMAL_INSTALL) @list1=''; \ list2='$(man_MANS)'; \ test -n "$(man7dir)" \ && test -n "`echo $$list1$$list2`" \ || exit 0; \ echo " $(MKDIR_P) '$(DESTDIR)$(man7dir)'"; \ $(MKDIR_P) "$(DESTDIR)$(man7dir)" || exit 1; \ { for i in $$list1; do echo "$$i"; done; \ if test -n "$$list2"; then \ for i in $$list2; do echo "$$i"; done \ | sed -n '/\.7[a-z]*$$/p'; \ fi; \ } | 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,^[^7][0-9a-z]*$$,7,;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)$(man7dir)/$$inst'"; \ $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man7dir)/$$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)$(man7dir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(man7dir)" || exit $$?; }; \ done; } uninstall-man7: @$(NORMAL_UNINSTALL) @list=''; test -n "$(man7dir)" || exit 0; \ files=`{ for i in $$list; do echo "$$i"; done; \ l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ sed -n '/\.7[a-z]*$$/p'; \ } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^7][0-9a-z]*$$,7,;x' \ -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ dir='$(DESTDIR)$(man7dir)'; $(am__uninstall_files_from_dir) install-dist_wayland_sessionDATA: $(dist_wayland_session_DATA) @$(NORMAL_INSTALL) @list='$(dist_wayland_session_DATA)'; test -n "$(wayland_sessiondir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(wayland_sessiondir)'"; \ $(MKDIR_P) "$(DESTDIR)$(wayland_sessiondir)" || exit 1; \ fi; \ 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)$(wayland_sessiondir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(wayland_sessiondir)" || exit $$?; \ done uninstall-dist_wayland_sessionDATA: @$(NORMAL_UNINSTALL) @list='$(dist_wayland_session_DATA)'; test -n "$(wayland_sessiondir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(wayland_sessiondir)'; $(am__uninstall_files_from_dir) install-dist_westondataDATA: $(dist_westondata_DATA) @$(NORMAL_INSTALL) @list='$(dist_westondata_DATA)'; test -n "$(westondatadir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(westondatadir)'"; \ $(MKDIR_P) "$(DESTDIR)$(westondatadir)" || exit 1; \ fi; \ 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)$(westondatadir)'"; \ $(INSTALL_DATA) $$files "$(DESTDIR)$(westondatadir)" || exit $$?; \ done uninstall-dist_westondataDATA: @$(NORMAL_UNINSTALL) @list='$(dist_westondata_DATA)'; test -n "$(westondatadir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(westondatadir)'; $(am__uninstall_files_from_dir) install-pkgconfigDATA: $(pkgconfig_DATA) @$(NORMAL_INSTALL) @list='$(pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(pkgconfigdir)'"; \ $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)" || exit 1; \ fi; \ 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|^.*/||'`; \ dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir) install-libwestonincludeHEADERS: $(libwestoninclude_HEADERS) @$(NORMAL_INSTALL) @list='$(libwestoninclude_HEADERS)'; test -n "$(libwestonincludedir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(libwestonincludedir)'"; \ $(MKDIR_P) "$(DESTDIR)$(libwestonincludedir)" || exit 1; \ fi; \ 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)$(libwestonincludedir)'"; \ $(INSTALL_HEADER) $$files "$(DESTDIR)$(libwestonincludedir)" || exit $$?; \ done uninstall-libwestonincludeHEADERS: @$(NORMAL_UNINSTALL) @list='$(libwestoninclude_HEADERS)'; test -n "$(libwestonincludedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(libwestonincludedir)'; $(am__uninstall_files_from_dir) install-westonincludeHEADERS: $(westoninclude_HEADERS) @$(NORMAL_INSTALL) @list='$(westoninclude_HEADERS)'; test -n "$(westonincludedir)" || list=; \ if test -n "$$list"; then \ echo " $(MKDIR_P) '$(DESTDIR)$(westonincludedir)'"; \ $(MKDIR_P) "$(DESTDIR)$(westonincludedir)" || exit 1; \ fi; \ 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)$(westonincludedir)'"; \ $(INSTALL_HEADER) $$files "$(DESTDIR)$(westonincludedir)" || exit $$?; \ done uninstall-westonincludeHEADERS: @$(NORMAL_UNINSTALL) @list='$(westoninclude_HEADERS)'; test -n "$(westonincludedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ dir='$(DESTDIR)$(westonincludedir)'; $(am__uninstall_files_from_dir) ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique tags: tags-am TAGS: tags tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) set x; \ here=`pwd`; \ $(am__define_uniq_tagged_files); \ 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-am CTAGS: ctags ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files) $(am__define_uniq_tagged_files); \ 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" cscope: cscope.files test ! -s cscope.files \ || $(CSCOPE) -b -q $(AM_CSCOPEFLAGS) $(CSCOPEFLAGS) -i cscope.files $(CSCOPE_ARGS) clean-cscope: -rm -f cscope.files cscope.files: clean-cscope cscopelist cscopelist: cscopelist-am cscopelist-am: $(am__tagged_files) list='$(am__tagged_files)'; \ case "$(srcdir)" in \ [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \ *) sdir=$(subdir)/$(srcdir) ;; \ esac; \ for i in $$list; do \ if test -f "$$i"; then \ echo "$(subdir)/$$i"; \ else \ echo "$$sdir/$$i"; \ fi; \ done >> $(top_builddir)/cscope.files distclean-tags: -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags -rm -f cscope.out cscope.in.out cscope.po.out cscope.files # Recover from deleted '.trs' file; this should ensure that # "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create # both 'foo.log' and 'foo.trs'. Break the recipe in two subshells # to avoid problems with "make -n". .log.trs: rm -f $< $@ $(MAKE) $(AM_MAKEFLAGS) $< # Leading 'am--fnord' is there to ensure the list of targets does not # expand to empty, as could happen e.g. with make check TESTS=''. am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck) am--force-recheck: @: $(TEST_SUITE_LOG): $(TEST_LOGS) @$(am__set_TESTS_bases); \ am__f_ok () { test -f "$$1" && test -r "$$1"; }; \ redo_bases=`for i in $$bases; do \ am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \ done`; \ if test -n "$$redo_bases"; then \ redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \ redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \ if $(am__make_dryrun); then :; else \ rm -f $$redo_logs && rm -f $$redo_results || exit 1; \ fi; \ fi; \ if test -n "$$am__remaking_logs"; then \ echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \ "recursion detected" >&2; \ elif test -n "$$redo_logs"; then \ am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \ fi; \ if $(am__make_dryrun); then :; else \ st=0; \ errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \ for i in $$redo_bases; do \ test -f $$i.trs && test -r $$i.trs \ || { echo "$$errmsg $$i.trs" >&2; st=1; }; \ test -f $$i.log && test -r $$i.log \ || { echo "$$errmsg $$i.log" >&2; st=1; }; \ done; \ test $$st -eq 0 || exit 1; \ fi @$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \ ws='[ ]'; \ results=`for b in $$bases; do echo $$b.trs; done`; \ test -n "$$results" || results=/dev/null; \ all=` grep "^$$ws*:test-result:" $$results | wc -l`; \ pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \ fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \ skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \ xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \ xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \ error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \ if test `expr $$fail + $$xpass + $$error` -eq 0; then \ success=true; \ else \ success=false; \ fi; \ br='==================='; br=$$br$$br$$br$$br; \ result_count () \ { \ if test x"$$1" = x"--maybe-color"; then \ maybe_colorize=yes; \ elif test x"$$1" = x"--no-color"; then \ maybe_colorize=no; \ else \ echo "$@: invalid 'result_count' usage" >&2; exit 4; \ fi; \ shift; \ desc=$$1 count=$$2; \ if test $$maybe_colorize = yes && test $$count -gt 0; then \ color_start=$$3 color_end=$$std; \ else \ color_start= color_end=; \ fi; \ echo "$${color_start}# $$desc $$count$${color_end}"; \ }; \ create_testsuite_report () \ { \ result_count $$1 "TOTAL:" $$all "$$brg"; \ result_count $$1 "PASS: " $$pass "$$grn"; \ result_count $$1 "SKIP: " $$skip "$$blu"; \ result_count $$1 "XFAIL:" $$xfail "$$lgn"; \ result_count $$1 "FAIL: " $$fail "$$red"; \ result_count $$1 "XPASS:" $$xpass "$$red"; \ result_count $$1 "ERROR:" $$error "$$mgn"; \ }; \ { \ echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \ $(am__rst_title); \ create_testsuite_report --no-color; \ echo; \ echo ".. contents:: :depth: 2"; \ echo; \ for b in $$bases; do echo $$b; done \ | $(am__create_global_log); \ } >$(TEST_SUITE_LOG).tmp || exit 1; \ mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \ if $$success; then \ col="$$grn"; \ else \ col="$$red"; \ test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \ fi; \ echo "$${col}$$br$${std}"; \ echo "$${col}Testsuite summary for $(PACKAGE_STRING)$${std}"; \ echo "$${col}$$br$${std}"; \ create_testsuite_report --maybe-color; \ echo "$$col$$br$$std"; \ if $$success; then :; else \ echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \ if test -n "$(PACKAGE_BUGREPORT)"; then \ echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \ fi; \ echo "$$col$$br$$std"; \ fi; \ $$success || exit 1 check-TESTS: @list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list @list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ log_list=`for i in $$bases; do echo $$i.log; done`; \ trs_list=`for i in $$bases; do echo $$i.trs; done`; \ log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \ exit $$?; recheck: all @test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) @set +e; $(am__set_TESTS_bases); \ bases=`for i in $$bases; do echo $$i; done \ | $(am__list_recheck_tests)` || exit 1; \ log_list=`for i in $$bases; do echo $$i.log; done`; \ log_list=`echo $$log_list`; \ $(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \ am__force_recheck=am--force-recheck \ TEST_LOGS="$$log_list"; \ exit $$? config-parser.test.log: config-parser.test$(EXEEXT) @p='config-parser.test$(EXEEXT)'; \ b='config-parser.test'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) timespec.test.log: timespec.test$(EXEEXT) @p='timespec.test$(EXEEXT)'; \ b='timespec.test'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) string.test.log: string.test$(EXEEXT) @p='string.test$(EXEEXT)'; \ b='string.test'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) vertex-clip.test.log: vertex-clip.test$(EXEEXT) @p='vertex-clip.test$(EXEEXT)'; \ b='vertex-clip.test'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) zuctest.log: zuctest$(EXEEXT) @p='zuctest$(EXEEXT)'; \ b='zuctest'; \ $(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) .la.log: @p='$<'; \ $(am__set_b); \ $(am__check_pre) $(LA_LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_LA_LOG_DRIVER_FLAGS) $(LA_LOG_DRIVER_FLAGS) -- $(LA_LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) @am__EXEEXT_TRUE@.la$(EXEEXT).log: @am__EXEEXT_TRUE@ @p='$<'; \ @am__EXEEXT_TRUE@ $(am__set_b); \ @am__EXEEXT_TRUE@ $(am__check_pre) $(LA_LOG_DRIVER) --test-name "$$f" \ @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_LA_LOG_DRIVER_FLAGS) $(LA_LOG_DRIVER_FLAGS) -- $(LA_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) .weston.log: @p='$<'; \ $(am__set_b); \ $(am__check_pre) $(WESTON_LOG_DRIVER) --test-name "$$f" \ --log-file $$b.log --trs-file $$b.trs \ $(am__common_driver_flags) $(AM_WESTON_LOG_DRIVER_FLAGS) $(WESTON_LOG_DRIVER_FLAGS) -- $(WESTON_LOG_COMPILE) \ "$$tst" $(AM_TESTS_FD_REDIRECT) @am__EXEEXT_TRUE@.weston$(EXEEXT).log: @am__EXEEXT_TRUE@ @p='$<'; \ @am__EXEEXT_TRUE@ $(am__set_b); \ @am__EXEEXT_TRUE@ $(am__check_pre) $(WESTON_LOG_DRIVER) --test-name "$$f" \ @am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ @am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_WESTON_LOG_DRIVER_FLAGS) $(WESTON_LOG_DRIVER_FLAGS) -- $(WESTON_LOG_COMPILE) \ @am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) distdir: $(DISTFILES) $(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__post_remove_distdir) dist-bzip2: distdir tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2 $(am__post_remove_distdir) dist-lzip: distdir tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz $(am__post_remove_distdir) dist-xz: distdir tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz $(am__post_remove_distdir) dist-tarZ: distdir @echo WARNING: "Support for distribution archives compressed with" \ "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) dist-shar: distdir @echo WARNING: "Support for shar distribution archives is" \ "deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__post_remove_distdir) dist-zip: distdir -rm -f $(distdir).zip zip -rq $(distdir).zip $(distdir) $(am__post_remove_distdir) dist dist-all: $(MAKE) $(AM_MAKEFLAGS) $(DIST_TARGETS) am__post_remove_distdir='@:' $(am__post_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.lz*) \ lzip -dc $(distdir).tar.lz | $(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 u+w $(distdir) mkdir $(distdir)/_build $(distdir)/_build/sub $(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/sub \ && ../../configure \ $(AM_DISTCHECK_CONFIGURE_FLAGS) \ $(DISTCHECK_CONFIGURE_FLAGS) \ --srcdir=../.. --prefix="$$dc_install_base" \ && $(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__post_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: @test -n '$(distuninstallcheck_dir)' || { \ echo 'ERROR: trying to run $@ with an empty' \ '$$(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ $(am__cd) '$(distuninstallcheck_dir)' || { \ echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \ exit 1; \ }; \ test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \ || { 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 $(MAKE) $(AM_MAKEFLAGS) check-TESTS check: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) check-am all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(DATA) $(HEADERS) \ config.h all-local install-binPROGRAMS: install-libLTLIBRARIES installdirs: for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libweston_moduledir)" "$(DESTDIR)$(moduledir)" "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man5dir)" "$(DESTDIR)$(man7dir)" "$(DESTDIR)$(wayland_sessiondir)" "$(DESTDIR)$(westondatadir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(libwestonincludedir)" "$(DESTDIR)$(westonincludedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: $(BUILT_SOURCES) $(MAKE) $(AM_MAKEFLAGS) 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: if test -z '$(STRIP)'; then \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ install; \ else \ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \ fi mostlyclean-generic: -test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS) -test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs) -test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG) 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 clients/$(DEPDIR)/$(am__dirstamp) -rm -f clients/$(am__dirstamp) -rm -f compositor/$(DEPDIR)/$(am__dirstamp) -rm -f compositor/$(am__dirstamp) -rm -f desktop-shell/$(DEPDIR)/$(am__dirstamp) -rm -f desktop-shell/$(am__dirstamp) -rm -f fullscreen-shell/$(DEPDIR)/$(am__dirstamp) -rm -f fullscreen-shell/$(am__dirstamp) -rm -f ivi-shell/$(DEPDIR)/$(am__dirstamp) -rm -f ivi-shell/$(am__dirstamp) -rm -f libweston-desktop/$(DEPDIR)/$(am__dirstamp) -rm -f libweston-desktop/$(am__dirstamp) -rm -f libweston/$(DEPDIR)/$(am__dirstamp) -rm -f libweston/$(am__dirstamp) -rm -f protocol/$(DEPDIR)/$(am__dirstamp) -rm -f protocol/$(am__dirstamp) -rm -f shared/$(DEPDIR)/$(am__dirstamp) -rm -f shared/$(am__dirstamp) -rm -f tests/$(DEPDIR)/$(am__dirstamp) -rm -f tests/$(am__dirstamp) -rm -f tools/zunitc/src/$(DEPDIR)/$(am__dirstamp) -rm -f tools/zunitc/src/$(am__dirstamp) -rm -f tools/zunitc/test/$(DEPDIR)/$(am__dirstamp) -rm -f tools/zunitc/test/$(am__dirstamp) -rm -f wcap/$(DEPDIR)/$(am__dirstamp) -rm -f wcap/$(am__dirstamp) -rm -f xwayland/$(DEPDIR)/$(am__dirstamp) -rm -f xwayland/$(am__dirstamp) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) @BUILD_WESTON_LAUNCH_FALSE@install-exec-hook: @ENABLE_SETUID_INSTALL_FALSE@install-exec-hook: clean: clean-am clean-am: clean-binPROGRAMS clean-generic clean-libLTLIBRARIES \ clean-libexecPROGRAMS clean-libtool \ clean-libweston_moduleLTLIBRARIES clean-local \ clean-moduleLTLIBRARIES clean-noinstLTLIBRARIES \ clean-noinstPROGRAMS mostlyclean-am distclean: distclean-am -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf clients/$(DEPDIR) compositor/$(DEPDIR) desktop-shell/$(DEPDIR) fullscreen-shell/$(DEPDIR) ivi-shell/$(DEPDIR) libweston-desktop/$(DEPDIR) libweston/$(DEPDIR) protocol/$(DEPDIR) shared/$(DEPDIR) tests/$(DEPDIR) tools/zunitc/src/$(DEPDIR) tools/zunitc/test/$(DEPDIR) wcap/$(DEPDIR) xwayland/$(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-dist_wayland_sessionDATA \ install-dist_westondataDATA \ install-libweston_moduleLTLIBRARIES \ install-libwestonincludeHEADERS install-man \ install-moduleLTLIBRARIES install-pkgconfigDATA \ install-westonincludeHEADERS install-dvi: install-dvi-am install-dvi-am: install-exec-am: install-binPROGRAMS install-libLTLIBRARIES \ install-libexecPROGRAMS @$(NORMAL_INSTALL) $(MAKE) $(AM_MAKEFLAGS) install-exec-hook install-html: install-html-am install-html-am: install-info: install-info-am install-info-am: install-man: install-man1 install-man5 install-man7 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 clients/$(DEPDIR) compositor/$(DEPDIR) desktop-shell/$(DEPDIR) fullscreen-shell/$(DEPDIR) ivi-shell/$(DEPDIR) libweston-desktop/$(DEPDIR) libweston/$(DEPDIR) protocol/$(DEPDIR) shared/$(DEPDIR) tests/$(DEPDIR) tools/zunitc/src/$(DEPDIR) tools/zunitc/test/$(DEPDIR) wcap/$(DEPDIR) xwayland/$(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-binPROGRAMS uninstall-dist_wayland_sessionDATA \ uninstall-dist_westondataDATA uninstall-libLTLIBRARIES \ uninstall-libexecPROGRAMS \ uninstall-libweston_moduleLTLIBRARIES \ uninstall-libwestonincludeHEADERS uninstall-man \ uninstall-moduleLTLIBRARIES uninstall-pkgconfigDATA \ uninstall-westonincludeHEADERS uninstall-man: uninstall-man1 uninstall-man5 uninstall-man7 .MAKE: all check check-am install install-am install-exec-am \ install-strip .PHONY: CTAGS GTAGS TAGS all all-am all-local am--refresh check \ check-TESTS check-am clean clean-binPROGRAMS clean-cscope \ clean-generic clean-libLTLIBRARIES clean-libexecPROGRAMS \ clean-libtool clean-libweston_moduleLTLIBRARIES clean-local \ clean-moduleLTLIBRARIES clean-noinstLTLIBRARIES \ clean-noinstPROGRAMS cscope cscopelist-am ctags ctags-am dist \ dist-all dist-bzip2 dist-gzip dist-lzip 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-am \ install-binPROGRAMS install-data install-data-am \ install-dist_wayland_sessionDATA install-dist_westondataDATA \ install-dvi install-dvi-am install-exec install-exec-am \ install-exec-hook install-html install-html-am install-info \ install-info-am install-libLTLIBRARIES install-libexecPROGRAMS \ install-libweston_moduleLTLIBRARIES \ install-libwestonincludeHEADERS install-man install-man1 \ install-man5 install-man7 install-moduleLTLIBRARIES \ install-pdf install-pdf-am install-pkgconfigDATA install-ps \ install-ps-am install-strip install-westonincludeHEADERS \ installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ recheck tags tags-am uninstall uninstall-am \ uninstall-binPROGRAMS uninstall-dist_wayland_sessionDATA \ uninstall-dist_westondataDATA uninstall-libLTLIBRARIES \ uninstall-libexecPROGRAMS \ uninstall-libweston_moduleLTLIBRARIES \ uninstall-libwestonincludeHEADERS uninstall-man uninstall-man1 \ uninstall-man5 uninstall-man7 uninstall-moduleLTLIBRARIES \ uninstall-pkgconfigDATA uninstall-westonincludeHEADERS .PRECIOUS: Makefile weston.ini : $(srcdir)/weston.ini.in $(AM_V_GEN)$(SED) \ -e 's|@bindir[@]|$(bindir)|g' \ -e 's|@abs_top_builddir[@]|$(abs_top_builddir)|g' \ -e 's|@libexecdir[@]|$(libexecdir)|g' \ $< > $@ ivi-shell/weston.ini : $(srcdir)/ivi-shell/weston.ini.in $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \ -e 's|@bindir[@]|$(bindir)|g' \ -e 's|@abs_top_builddir[@]|$(abs_top_builddir)|g' \ -e 's|@abs_top_srcdir[@]|$(abs_top_srcdir)|g' \ -e 's|@libexecdir[@]|$(libexecdir)|g' \ -e 's|@plugin_prefix[@]||g' \ $< > $@ tests/weston-ivi.ini : $(srcdir)/ivi-shell/weston.ini.in $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \ -e 's|@bindir[@]|$(bindir)|g' \ -e 's|@abs_top_builddir[@]|$(abs_top_builddir)|g' \ -e 's|@abs_top_srcdir[@]|$(abs_top_srcdir)|g' \ -e 's|@libexecdir[@]|$(abs_builddir)|g' \ -e 's|@plugin_prefix[@]|$(abs_top_builddir)/.libs/|g' \ $< > $@ all-local : weston.ini ivi-shell/weston.ini # Libtool race fix # libweston-desktop depends on libweston, and desktop-shell depends on both. # This leads to a libtool race at installation, because libtool re-links # everything. # If you add more fixes, you may need a workaround to keep automake generated # targets. See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7328 install-libweston_moduleLTLIBRARIES install-moduleLTLIBRARIES: install-libLTLIBRARIES libweston-desktop-@LIBWESTON_MAJOR@.la libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v6.lo: protocol/xdg-shell-unstable-v6-server-protocol.h libweston-desktop-@LIBWESTON_MAJOR@.la libweston-desktop/libweston_desktop_@LIBWESTON_MAJOR@_la-xdg-shell-v5.lo: protocol/xdg-shell-unstable-v5-server-protocol.h # Track this dependency explicitly instead of using BUILT_SOURCES. We # add BUILT_SOURCES to CLEANFILES, but we want to keep git-version.h # in case we're building from tarballs. compositor/main.c : $(top_builddir)/libweston/git-version.h libweston/compositor.c : $(top_builddir)/libweston/git-version.h @HAVE_GIT_REPO_TRUE@libweston/git-version.h : $(top_srcdir)/.git/logs/HEAD @HAVE_GIT_REPO_TRUE@ $(AM_V_GEN)echo "#define BUILD_ID \"$(shell git --git-dir=$(top_srcdir)/.git describe --always --dirty) $(shell git --git-dir=$(top_srcdir)/.git log -1 --format='%s (%ci)')\"" > $@ @HAVE_GIT_REPO_FALSE@libweston/git-version.h : @HAVE_GIT_REPO_FALSE@ $(AM_V_GEN)echo "#define BUILD_ID \"unknown (not built from git or tarball)\"" > $@ .FORCE : @BUILD_WESTON_LAUNCH_TRUE@@ENABLE_SETUID_INSTALL_TRUE@install-exec-hook: @BUILD_WESTON_LAUNCH_TRUE@@ENABLE_SETUID_INSTALL_TRUE@ can_suid_files=no; \ @BUILD_WESTON_LAUNCH_TRUE@@ENABLE_SETUID_INSTALL_TRUE@ chown root $(DESTDIR)$(bindir)/weston-launch \ @BUILD_WESTON_LAUNCH_TRUE@@ENABLE_SETUID_INSTALL_TRUE@ && chmod u+s $(DESTDIR)$(bindir)/weston-launch \ @BUILD_WESTON_LAUNCH_TRUE@@ENABLE_SETUID_INSTALL_TRUE@ && can_suid_files=yes;\ @BUILD_WESTON_LAUNCH_TRUE@@ENABLE_SETUID_INSTALL_TRUE@ if test $$can_suid_files = no; then \ @BUILD_WESTON_LAUNCH_TRUE@@ENABLE_SETUID_INSTALL_TRUE@ echo 'Error: unable to unable to change ownership/setuid on weston-launch.'; \ @BUILD_WESTON_LAUNCH_TRUE@@ENABLE_SETUID_INSTALL_TRUE@ echo 'To skip this step, re-run ./configure using --disable-setuid-install'; \ @BUILD_WESTON_LAUNCH_TRUE@@ENABLE_SETUID_INSTALL_TRUE@ false; \ @BUILD_WESTON_LAUNCH_TRUE@@ENABLE_SETUID_INSTALL_TRUE@ fi $(ivi_tests) : $(builddir)/tests/weston-ivi.ini clean-local: -rm -rf logs -rm -rf $(DOCDIRS) # To remove when automake 1.11 support is dropped export abs_builddir all-local: zuctest$(EXEEXT) %.1 %.5 %.7 : man/%.man $(AM_V_GEN)$(SED) $(MAN_SUBSTS) < $< > $@ @ENABLE_DEVDOCS_TRUE@docs/developer/html/index.html: doc/doxygen/tooldev.doxygen | docs/developer @ENABLE_DEVDOCS_TRUE@ cd doc/doxygen && $(DOXYGEN) tooldev.doxygen @ENABLE_DEVDOCS_TRUE@docs/tools/html/index.html: doc/doxygen/tools.doxygen | docs/tools @ENABLE_DEVDOCS_TRUE@ cd doc/doxygen && $(DOXYGEN) tools.doxygen $(DOCDIRS): $(MKDIR_P) $@ .PHONY: doc $(DOXYGEN_INDICES) doc: $(DOXYGEN_INDICES) .SECONDEXPANSION: define protostability $(if $(findstring unstable,$1),unstable,stable) endef define protoname $(shell echo $1 | sed 's/\([a-z\-]\+\)-[a-z]\+-v[0-9]\+/\1/') endef protocol/%-protocol.c : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) code < $< > $@ protocol/%-server-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) server-header < $< > $@ protocol/%-client-protocol.h : $(WAYLAND_PROTOCOLS_DATADIR)/$$(call protostability,$$*)/$$(call protoname,$$*)/$$*.xml $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) client-header < $< > $@ protocol/%-protocol.c : $(top_srcdir)/protocol/%.xml $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) code < $< > $@ protocol/%-server-protocol.h : $(top_srcdir)/protocol/%.xml $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) server-header < $< > $@ protocol/%-client-protocol.h : $(top_srcdir)/protocol/%.xml $(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(wayland_scanner) client-header < $< > $@ # 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: weston-3.0.0/data/0000775000175000017500000000000013142404611010741 500000000000000weston-3.0.0/data/icon_ivi_simple-shm.png0000664000175000017500000021272013142404576015342 00000000000000PNG  IHDR\rfsRGBgAMA a pHYsodIDATx^t^G5޵{opb'1%Kfffff-ٖ%A,Y3B I3LϾ{+:(IGgZqS0ozo}WVU^oյoz?1ժ|wݯoӿU5oڧ}~O}jSkj'ڧ ?}~O}jSkj'ڧ ?}~O}jSkj'ڧ ?}~O}jSkj'ڧ ?}~O}jSkj'Ԩ/ŨB*G8|W_/oKۂ폅%SQ )~<@ [--E^Y)KQPQ2~T?l!~COl#TRgyk=.}Ny-JGY=f{xxS~?P>o>agg/O'dO͟?#3 g?QOI _ + > u/ԉNuۯ ~/Ÿ?~RjQ+qo +V;=qppz wA7l5ٶQ~*: {݆^~#A#w(9j4;M&Քh?c &`蒉|9k`Xeog`8zh Sqx8΅<_ rg!r<g1*YbVlڭز{B>RK'qL \/^MziQևh~.%O3~sL WXů`_c~O~}=~{}pz폸֟_?/i_Hnkd۬EQWCVsO8aG]0ӶvXXp#v qg]p]qnzw!DT^Hl-u_óImKA0~1x^>&ㆣh?m$~Fcآ1l,c p4M®]qp<4MSzn:|g e&> I7g#u,laclP~ YqW1~A,l\,^Uc|lߑ{ pF  רgbMxd|944k'Fg` ǿΎ8 G\p?DHݿ^Bb_#*:OUjZ=k $m#<=NڶpI#jVpaZTsSrx<a dG܎o{Iǰa?6K5O:9CpcDG\iK-pѪYmjڴƙN=qy7&>?mpp"qsP;\mWm׶v]k\3'gվ8#T qc@mVpZԶ@ө5nuFy\ܗZkj1#&ܮq?<km>][/\tW'Zy~`ώpTj[m e}&|j6}kʜ}[׶f}bB Bf>?D~4\fA蘎fH`Ujol4'A.$^H5fF ?nt{dmV۾MȚ0kv"RR,Z4͙:= FAamm6S` FդZ`8nLIQ4-ڠbLmmߡEŤn37ni;wܦ@٤vxmmm5צwMkw^[? 5~bҔvlJVj7GAj @u?<Exf~fV۾_l[ Tέ5/>hP`lߚs:"~N{$ֶ}2k?kwiWf@aAtm:,;Zfszŝ˥k[mVƫWNxBGG ěNu&;Ƣh֜پhd/[=3o4V}/5F]lvC/}hF:,:O5Z-@crX9_q|0A fcjA1&/¸")lB (Ā~;zWۉC}O=>N.3cjlJplAzU O5XAZ}Orm4 {jXo[煕eOG0)&?}G#tLyIaP tb[.ܺǔs}>WosL=3˜Xrt00ZV,ث_uE}6ԔL[7tͦn{?t?Ǡ0 ?1*=DGNlRv SwK#>@ʿ}qɻz}w}>ԗTj15v7 X>ĨF:##n48;W^뎶Gfk}}I'#eP?,끞[c0>1NqAYeƫK@r.RR*Tbܡ"V!n Z]GK>œ#>.~wUK}ʱsL=0ԕ s]8LLn nQVGYIZ] ~;/V셁ۻ6 0..HI>e}T0) O[B&Qo Z>B\#1rx*'su<G|8? {]ӻFߪc9=cNKcj{Axm#I澄@\܄(g>jio{ I>5g!ޡF{ڈS1BL Xuڸ30!=E-f`:Bwѡ]v hمs$v@Îl7wѷ>շX?F4FM0n"ĺ4y (\i2I{fi43,}R< 폮9,,:٨zƆ}l,>#nNd̋sÄ2 >C} y[zٷ Qx9 5ĜL\؜n<鎕)&_BRX.%CT}sHt#`1چ:!x"_[q 4j+J_xG[< 14Vı`8m(aT v \p?!Ľ4!-xt>8S2S08ȄCaI",@,ӹfyX ˓dیW-3 {$zT6apk*`=vD@ԕ#]?C(_0x opu.snY3 ѷC}O1!crwB0QNAD11@8 WMV QAiw*qQiu4EC04-ec2i8ً' fE;ֽplw_;+|0+'ó9ĔcBH).қѫI }M㐊5K`n"&LǠqc0`=LLf]8<nScC**Po\N%8c̟%y`_;vŹc[m*rƏooP_S};ߢ!ء! ` 50[a+qD\ĭ3qH\|.&-(ڈFU%B8XҴ i;,ze/6,ÎC]].˱YOz 덣 inn9K06}2a|\9ƄO19#^`6QOlHv+%a,=*[5۩0 S A~7C_xTv_OO̦a{߁ݳ;X6>oaf-L-)nbbML(|G}>ԗT4 ^-d0šF{*q.QC %݉ q D ;d]IФa]*g"iy4Kڎ#EK8-Ah6hzAzJ&Y ^8{?pKt3|*gEQ_e|V42D*o3ZYZPg4 vBà6MUo̷C}O14ϱ"aDXyR'n{o!W! Ziɑ4L8Ciw4C4}|Eо+y ^, ]=bpt =p \hWRdXEx`hfƞ̅Ǿ,\ܚk{n&[ u? ('چf#/{㲽Ne2w>t?&F@k!O}.e uFp' uU%4wDW_G.14ح`LM0N!Yo>q\^48 ׄAiP!Mړ6]H#mDRD0' 5_raK9Co.iߟAOƿװ M냻=&+i9.Ҝh,eh[A^H< \  Y[0t\-~NTqg)w7¿Ry{c"郝ywx*T<;92OBcp$ܨlשt|R= sXp?Ϝyfڇ3bⴽT=9iMvM}>ԗT9Ҙ0a,as)`N%!ⶋ8 W܁ȹh7[!4,+-BѝNCk'wɛ,Yx׃t\Ğ?CUP ZQvR)J)߻~gqɹ{P83 QvQ6SVS {#1pn̻s.z˝8l'ف6voѷ]O=ch,0)J8VQ\aN؅pNM8> {s0M^F{B4G{h1ZqO0? 4 dZ`MZeh?yZX<oo lB`oa/r\ȁ}jeҲ v qQ?v?c SݓbaD2Q~am|fۜn֦uE FwѶC8!닫86}膥O`] ޖ qO9{Ly8;<#F6,? OJ݅#w2G ;&oGѰ6X؆ݶme-;|s;zW[ԧKcjaAL%Ls(B8 LvÄ]8MBF7x>4GIҢ=iMHH#J4~ꁫކhIZwhnhmXM<onbJ/ xI.(5<Mn+<B+ipuG\{"g4fZQ4Ŧ4X^Db\l6(ԺtûG"& MN b;.\cP}W(aou.a?BOukCeH<}̶{;۷ɿWR3V(>f Fk7tZB݆>=b(u`-q3݌6pz[oDIˍ(l7 d57wM>/ٛ}k ՗cحC[ҍ`MyYs As'711jEA˓Aiq4#Dv" w =1q滁nlh?[$::_ ވG7pxYU"JGXje޲Ƣ4jW{!8пdx` FQ@V"o6bnyTkKn>6atHx0UY'a=}qG=(`nfrk\Mcut 'pDrg|prh}ǪC boQcT0-lUmH%Eo=fلlHkM#[uȪ%EkWg-rZ70jrZcѻFf[{ ֙>w*Xs!I5ajN1YO#pN܄pu%O'Z$&INMZi QK|H{!/2{8B<oģK Ļ9^zay+כWzzK?c4ud >/k" W` c}s/Be}_yess͞bq0cZ"^oo\ĝC#Ca.S^u .08)x:m;T )Ǫ4m/M؍S[za]` Mp&؀&O}@e_w 2XV#ľ䀨Ac8;rU*Q#}$/5*;0itF*{/ \pۈ,ܵ ( i|4i5r=3W2T4 7 ɋIFg,&N Z2ps&OMJ#/̫VF)xx)Si?>ұC\K{;+M?afz8 DQ`nPSjڄҍՊ9w !pw<퉛 Y׍CO qGK6.;8b)J*TAw7Mua=VvT0 K-<ոBCWs* \[WH;8;b._sy+p&vlkp}/CnHy4%0 6_¸ fޕ84 G(gTsQizWb@h4 \*}z\18 =*wYcN'˗h2,Y%K뽥Rld 6}Fozg+o>XjP_S};yvfLFb޵DJ!#ӏ|XFC/ҶVp%̒hD v eՈ4muH'|G1nARy~ E|c&ǡhqۆï%˱^8;߻)71aj+&T~z ![RSb*۔۷P͜z=hVx9xr)ؽ7V:88+*g˰R~c{,‚Nj0B(_e7wѷC}a[chSc_AG@`y4}C\'&p֤h #4mPϝAixM ؒDHx/EFGm ĻNjjx@^}LYh"^z:Zgփm`G~xx||:?sĨ"0߫Q-ʯWU*?~ Rz0<`I{%b[}sF%ܟy7eVy}>ԗTcҘ?ftAc Xc ӆ+ 9 ֠\ⶁ86#ي&<6I#mGVZ3 qa9C֊4ao|rNby腠H'6 Fy6{gUFayoJFYYR.OT';#u;ɭCVsO AO᭏'Z{ 2*`{)Ws*$S 0DB'ѻ pOlOncLEetcIԗTc4ǚ15G ,I$)nn;0M QE8 D\]4-z&HsX v58vд9=Iх)h`y!\HW ea{R<ՖmMFAyʫB #=߻d|4 NťO+55~w?OB'ZObty=GzDc_ ® t.\de#7%䏭Gβ C=:K B憅QU 9r 7vɍGMm*=&:0mn[_9>!zܧԤZTs^[#pe{Mh>lg><rcdzњۄ z&ED>f`lt A1kMoc7}mcQ}4 6Ҙh"F'cex77_58 C66h@;AgRV4~} :# d{n8 IHkhakFq9ΞL#)}KLH6Fg燧fk,OSh)?ap|9v5kK@*X4%])@7۞Uߔ?\\/ ŲG!c89L3M{eB>=m6!3OV՚?m%.ejKK?b!W)=[OS)D>caTL )HHtwq淓هRBc hα4nGKJc g1U̫ p8T #V掕%QV"F"-DѦ5iI1% =l uDY2 i>0၌PV|(t6 cې84ajD%T<2s{)~yԋ2ZYg5? ӟ}Di~?EYI*]H)\y7~nS:/M6{Umc!HhB?oStƽi PݹH<ͺ-ǰ!ؙ:\i8~u+N݌ #Z{v8`9Qi/Y̽GG]hmpxbfGo={4 w*$ܞ}]+Qwѻ&[Mǘͱ4fhIt<IF]8m09tFF.="49Mthh@|Ôi}u9\sd Rm2Fl_ē1<oD=sm8md!N)m00ߤ쬨VMz%F 2] Z0m|Oͼ? ;<o.DFQDa~po@NcݕIݡfW*rUIA]af ݉s{u܂֛tJ~WUpP?w9(B*fDRisLhߐ֌ ׍כyTxS! e'ir.N@H9;sbO}wUK} ݦQ, X&$:a6R!.Xr3GJ J]|iԛD;L!-5y=EѤyY}ɋ&F`D 8@X,jG#@3g&BN9HLlDW`dI>F^U+[&~SA? yi.mYޙ`E)F|sn¹46C8 @sv}FOoQX;no^qK{wn3ï4ט>{HOKjձͽ+qb} >T447{.?-[ӷ )T(* ߻E~m"L@xRcNccvt aԗgCciL04`a`n? \pUKg2-8uG6dzq4L4z7OkGlh縡QȓFvo1;?uSBHa_Bsɠ; o0;?S(F(3ӳK0}jeݤWү~j916K!G f9٧"Ry=,(|;poMtҧwN zN6{Uqg_9 jr4־<=\k<믂~;}l{o fV,f9Nz-EcO_0 iS㏮M2z*xcG*׍J|k(\9 .GqH<7}wUK}zoAgx">1J愽 AK1$܄r~r8GU6h%ݱ݌&LZhV GiNt'o#cȳ%ݞ$w\午WPP7Y=yi=SYKG֦? 7 q¿c10&,-VMz%F !Lyu>l?MhybLB'U`wd)dGf9٧"qh4uDBk*AnLƁw,tFz̈́)`*AC/SnJ;|t6elB)ڂ7Nę2}՟X+lnEŷwR*LFCb*Zo p쩱T184FpJyOmcطzv9 UC5oL_S}kF15v8a!,I GOC'&5L gV镆FU>iVd2%d3B#Ei</ 7Cȣw-N<<ӽEVX5Ҕn65K_|)CYOi3Ř~U+k&~S?fS>毿iq3dg#h6=[:CsjLGumX?M:G<`OQ՞`}(Xt N' Ιc6Fb{j7Zo&b_Z Vpx90mfsF9~LX:*~$JTJe*v OO/K驈NF̦8ޢ;b_6 El`,Y0 TѻF߮^2>շ8nǾF` #lQf^p{2<`qR#k,ܧfDN'zbH3\gBZv&M3{X7:;P<;zuὪ6Π4W9wL\B157ߨVQMz%F @1,s_Okڭl0 M+H'_/@\w} I@1.ֶ Gh`$r'VC=LANqLz/J+iֺQmq3.ވ\ n68܇);/Z5Z/OwZSo7 #Ofv2z|)&C\>o2w❢"q(:*=uAX0o @̘5Sf i1vj'1rrz~6wѷC}O14ͱ"n6o(XvPN\b68v"Ykuc|61 m/Y;eJYoA^up!M{Icm#J#0__iTTF @9MEBYu9:VMz%F @ȉK_Ok\DŽoh)o"~~k3 7Ef@ŅfW6:_`'PT%CuxnRN- ֛YNĐ?mv/|CK3k$A{̤VaSqc;OD&fCѸuKXuPvҋ赥gi0j|B C}md_te2/: þ7wѷC}d{LAИ{aLM0** ̂]8d'>ۉklp' D 0b[]p:}n]Y0P+#M]H^qo%1cFJ mҜ@,y|A yJL+na6 D_~e@uy!LEF%3!&oU+s&~S T64\ Sk0R8'28{#xN#a#CǼ?yaWe.ѡpgy]DsH] 1(!)sZTSFkn3$/ŷx0CAFSGHE*gGzq!ZN%nا'uzzyإ;u7w[Fߪ>շX?V $*(Xq.p:>XH\jR& @YhOhPʹJp+pËFRIrֶؗ=^XXD# ިvcgXG4t1ƒ\syi|}$R6iP;edDLk;$D"E8g =CW -3d8! ѷ.kTV>lܩ\:oE&IݰSKG[6T~0kQF%y~iȻ=.OB {b|1| nV/E^5xB?(^ATzzwߥbv éTq.(ouƣIg^n=.nEgYj"}8#q$vcvl3½Q|r_4˼nAsAvmE@M(k5Hrl_LɞxUt𚊌[Q2lѦmq1Lif}!f}&<^/oߛf1<ݵ;vmպ rZuFV(kbQG :^Gow@^ȭ9u6MoP_3FAcqshA F*p.e?(\pO% D,icMMZ8hՒOa3izo#5(kADB*gU]k3|S;B㪟~a9ƫ5њGz t^K%ʯ 0n4n~hҭ:vۮi7(.'%2FһdFTmp5ݬq + '?я[l;ݓ6ߪgOk\QC&cjT X `cjئ+:t78k$܄D*H48inTmx@9vMi@EKSIc)=2\ CH#{S\D<$ozGV䕎b0^ /)#%(xp}b(csZTt,\Me`"W^IjQPv=c? GEW LqOWD(-z -{Λ_e^y[(v>gk#\XzڈeO 7 =栮Vd lx)>\ais͚v=OnN6體_.Q&w-F^=NX:guRtT>)a/mY7S5 *ZoZcZa筰ӖɷkzW[ԧv ƍAm15v8a,U0*5S+t3h?p4I btb+hIh;4V-f% $C.ÎCw)};@^~¨L\.Qy?覹T'6"Qf!8)mG*Q8mc9F<}KЊ27+8Z٬&~SP q@L{ 1 ]#p˭mιd~2;aNK܍ХTIVL5s2h %#5nv23A5hEٰ ;dSHC\U/A0? " B7߬_o:rnHmϙcWdf5) 🷅hf8{?nl5g߮]}oNjAch,ImX&Sc^gYRL#vE8 7ؑ ]4Xt(Tmy͊H&S mƪTbHDV*mn7S i{I$ZMw=pǵވnz8&]{[,g92R2H eeo]xd&JUOgC6|5R)0)C \|`jcN SEWwk6ws z Zv?ay,<\zhz]ҩ :/8fO-ߔn;d'z1ՒLMqPW1'ܴo|F2`Zز".,U8$j]Rwd2ZMz%F a9CW~mwHg?dhX^ȸtq|CjȄX4Ӻpd4FƮrwsOb?!iSoFM4eTږdN-ګ"-ǓcC?lфUsbkkg40ð C^`>qx]־;2ϐaQ_jpi+H?U?lʛP9SQ>iaFESL2Oxc`Tac +hoP_S}kKcjC©p!U0+bp"n;wC4Yg |d5i4nfa]i "Mޝi6 i>@_OYcV+ģDjAhKu'' AK'LV|?yߋQ$ B+p20ei?˾a2,RFchCdu&~SpLX"*bttK)72 w6{߱*\mD4ztĹVH>8 9?]zՖv_k57_/zM J⻫5jg>vɘQL5*ę8w5T]Zz~ (?_ EBgRASQ6hW!_=Y`OS٤t~(qr>LM0 FR7FF 3!e6D׿ѻFߪ>61ch,7}rMjpgqsaGPAoV]Fqn"#P 褡h#%B̝ sHK(9IcѺ3S~Et)UH +/KiBpȄfoUĊ#2 hGYYӳ[Qz2w&޷ ?]S*^&bVorZMz%F x4yYӾw1! -#SKDzqns:V/IIqHjWqs#-- 5tqNG Ϟ6!V/9IUk'ن6# Z1>+/d4ۻ3;oOB&h H^7_2_ORyTTr*v%*[x3V1 +sT:S a㦘VccxA# ȵ(qR3BNV2MozG}>ԗȌ4^J`CD6S=9oGy|⺏8 &Lړ CO@4s6P,t&4n@Z~RҠxc[{sb{m"?u#Kq˽-EuO|^wq*o"/.ĺWY'=u7<`z yA] FuVc*L`/Đ6yܛ iqƛ>ט`Q~Uؙ6s (+~ P@POɢhV=m ̵ƙ+u+dc˄o:pB =4!1iT K[&GӸzhS٢^ԻxWߪ72 bq 1s*C  Ie f`"8 b⼞œO:Z<Ԕ" U0xS{m2lI`E&fW,z$2 ȳHnh-xzX6zYn2 \BW?H\ IzSI>- B?sҾh=9vf -1/3 .βߴ–ZO+; 77 8_n#Ja[PPP߹.ޢ^ /}s;zW[ԧ#=02d? ֩\+0p#.AIiBSF8 u;u7Dn0h:i%.DKT}|mBIfy0% K8%!eo@y7of!9Feeɘ&%s7oYta.*fu2[Mz%F sHd߈̙v0: ?d_/#HlJ78UE(nM5c Jo[5sZ/G]>gֆwfXƶCvb$YJTYRzEfJ[}[D΄4|:T^v uGN@/ҏE۫u]6 wBtb ̗C񚗗P3 |B?mn&䔏k?Q*_c]z:J)m4 zlگ7V}wg#14%"!hd`L˛`s ,g$"'U8}mݍAP%"J4> -ES("?3~КQ7TZ(xr\]*ŒcK;ME䱎 *!r( V̑-np9E⇜8OYjN>!vӔ5\s>|JT`GZD^IjQp6 -mD9k6>.~T<=L( )T.\Z!n T'1yzNH`xNC#*+5}B۱suwK0Te?nL7E/4rt{rse)Ib"}]{Pnߪ 5u;7{J**STU77Krʚbl1}}whЕ9=CFT7_ }6o] G:(e+qfo P_um ҘJ "6(XWf8b:@# B pѶ MD+֤vF.]0ؔ>-rd,RIc }k@Ё!U\Jaf^v1Ű Pe'̤ $^=e&rRp#œE42tu)](2wvei;W>+ ح$F)M1hg>1XWY?iZDirHugR!fK{h]~k2Z4sT x[Q!TM*1H@U. ^ w>M84;G]:[4Lc4`eQDŽGӤWү~j۫6뾗6n4FU:Ku%aG- kBm!.9{bc+&_Egx?v, ibH}E܎ ]pz˾v%QIkYKGOD4weHeغqPuܔ&V߻'l^Rx9a˶nj+I+*N @R` \-0Կ0mlQқT,M~fQng7oկ5Mocm=cɱ4n@$470N"5%dZNeXfkx71 A4(#-I-Jzb*@iĆCp4m5!yxEwDVhE`n4"!Oێ~cvjsmGdEtldʊd'vCn 8QPʘRM+ZZ EYJ(79^eum^IjQp*, VoA뿗6)5 s20E[~t7CwfȖNxN?`Y%D:sgc҃V=a&6ZWû*MX-gϛۤh9ws&2Pݢ*hK{:2=fͨ{=QoniyW)SR()V76єQCiu>?b]y%-5.}o=}o_4ۛcLXScJK$ؔ4]8X"V hVɛygW*qRԺVs\X쥉_}'|4b(+/Q-iJb1t2NKkSͶLA0%=u6T+&~S\DZm؊69Vx+w p6kWaѰ3 5cK(|_;Sqkeoɂ9il.[ڲSƮX bٜyg zRT[[XELL59S:SkK G5Uڕ?Q,).=+TרCJ[ȕ7^\^\L如:"«7wѷC}Ϗh4s1Gp +ӋF@0Z mVe=;=lGH=zUEd򡆶ZT!mV(hFȣϗHrܚ䡖͠f&|9Mʀ%_=5t..FVT'b#w6t2e4SL]*se tD™\.ěɞ06%I_5Ԩpڍ5lw!vwO]u)h3Ga`ļTY y9"YzJ|bHwn4e?fD7`&)XF#zVDi̿Dzq3]`|UKKj~8զ+Tj+/J/8#l?چ!rR`zH: caV=l4RRX_AonzGcd ؗ1[ch_s̻{axYF0 66I#݄2`eqnXyk찆qW ACi$Z5Y天 'L`9,:t$oģN)졒m1ZlM۔wU@T{ӑ2lREU V^fpsj9U{"ޔEdԇ]{r]r]JUO(tݾn('̹J hnaImniO.v']ŎPgwHtĤiMOٌx\ %3mji渪;:+_[^ovaf޲XQKso`&22۾WH?^O額_KR1^Aԉ~5oP_9S}k I8vW!,&V06a$@v \X }\5n14-* <%NVota~% ! KE dx4lT x]dy:&4 IUU;,e@ OLدY]s=ٔ)gVcʘN._Ӕ#9L@lP %~j65WusͶm1?7#󟘺|J )7Sv2%XܿW% ٷ. 'sc돘2ߚV= ]+7gġfOM,n6Z@'L(wh .mxC̦>gm;0eсh{l𸕙סIbX~cƛ=*'R?J>T^KRèAG^oѷTF[ch,MAX&2a|;]I.A &>hbpۈ뱧Vp9^Ue+ǤMҪ-EN!(ZjsVʑ;hXAxL yҔZ{o1e-͹L6f1,LLd:۫K$4EO`c_h}9%$3WΧOn4~7߁ Fܯae&u^Әߛ1qBP IuuP,Y0i;>QԪ+7LOב=-n-϶ƾ,ѓ8&&|~t=5x*JW."V):=uuw%x%wMu@chFC Xdf6*@{+PЗ$NM8S@Z2EmO6Hjiy:,$j)Zw hٵ<3F<ҥ /2s Ch?䑧I7bVkU U7PeuX@2zg]܇;\ lޔ1T~)PX_BQ_S]?izG^7/5FJ4%/@2̚1+Ik&iU 罟B+ܴoc6Q9iuu#EXi3,:)D_h.VmGވGUݑpq/;:đdzky|f:̋gFBYюq72t'"zAmk0|b9y%b z 1e;65)1}z^mf:Ęf%ʿE?7ɘbѨOڄ!@5XUrǬ K#i)[xZe+ZܭkVb_2xaޛqg9}r OLiK4?󕇓o8*iK-޿:kBbo$y0E:J\,/EBJ1}{2];~N#s`R}o7V}/5ƋF בF [ a\@XW pP*Й8ihRc& 8(4Q-dž5xiVtH_CŤh{FyP@^D'CiLRmɻ}pu"v@yj#mG( *BȽq.c# n`%e蔳"n Xa( e qjCBg2W ( SFvy^IjQgbI*TM3A!F<1,lwYfF1}řVfҧ18:]VK&SO @#i Ro0b8e[K*l:=b0|!BУcqu(33m2'+tUPV!B*.zʏUxWv#zsʃa?5s7~ _s}Ozkynyp*YJ}zEɏow^_}od n!PUр@܀ƔH`b*W(2!(- V$Fig\l/W\ZW!LtxG!TyD|, v~ N9vk\6}V .Rƴ٬X’CkRKY̿t)^hJEYu(-¼{ФWү~jb>,=ZB춺3'Gk$ @ݔyuLl̚}6kÓmF ];䎛>YjZb>^ 'hDk?Qwiߗh։l)Cڼ: _nT %ZkN 2>E[f'E4kZO;*ϼ/(?&s_ }JY{VUw}o#-$Xë51)Z A'68 9Ĺj.سpc FE+LWH;Pime :cpS5H(%9=f*a6Ìbi],x=Mj?@<er?dd#E`Y};DK#kG0ڝX9id2ֽVŅXzqo2JUOXlpj]ڋ%fvݻe Ξ,$L0:]$IYozY=u#b!)\za!*>3T6݄xZ+Zjk_Y& eYƜ3xc6h;B#꾧[MltGܼ i̬hff{K%=xz:Xn6hY.+f^KwRLyi_z*/_CEgMeP}ͦwѷo4`L.:O5$():֬q钵)D'ݹv -ESV*r@ț<5ke'"} :OGX A]3<MeT^K͡NHvg2iSO݋,+w6"_E^r~+q0qL2x>:A{31bnOO@ U1R志#sX岅X}0ǽ\4s^S%_WH?Mi¬6cNޅhղW9裵~ڳnfNDߩM}xEw;P+vM7w=>,FM:Ҙ~i`lQs9\pNUU8똳h§?Cm3@U~F]<iicX-Cu]BbɛQ@N&/+)ވݶ1u OR&$i l%Ngl7wpX Gc ˓[x-bqZ.Mz%F @xw=C7X;xГ?K!}S0e8z(nA p'=PÑ'޾\ W+wف]aG6pEv؛ K-6{5؋B7vOl=~d;{@ lا~޹;YwEEc˥4lpy/?g9f?9Ɵig 6&EeÏN:[vߢGҝ[]RTMv?˫oM]}oPCciL-V&&`N#ӈ×iqSm RmY]4FZ{5\hJHKV]Nр4mNghf[0yJ^hOFIwg2 Xt,Õv'ouhy#P2G( -̴URW\8㉈󠬵edr& d2:><:wV+ߥI_5ԨH-H98嶯 otz{<aIOǍµ6ay'G=P| ,K/!=bBJ7`XV7GM5Yf6g\oN|}WMq̱_mmZ2 ^! | -OZ_~uǕ'yf'Gﭼ~R|)7^oMozG}>ԗTTQ (`/F(@ F* q.Ui qԞY%D7?Lxihc夝i;D i@Z e@W'Oɛh@ sfC׈O)*OyK!!f9\L&~S 8kWS$ @ j\vKuݲ@L~̎=UBI2n4+=y_ [ fُ_es[efU)QfZ8S噫_7V._P_UjBPNj@0)5Uj pZyJ+@>m g@42*KhGjy[fRm[ @ȾU([UeNuPWbdu6GҤWү~j&3Xt3-& 09|p6ؑN-0f$4e_?NGSȪ3Z2[޽n[RL&~S, zƚw$1plT2G;=󚐉}/!r2q:DHBg U7-Vmֲ d_koxom1~/C6gDxT 7* k-x/zyU+Q7wW- `bWM,AQ8cQ'3ghn|#x4mI^ @`K~/nH{} FN{K|>H}+u,7Ywi+WM?5j+y"X {{@[4S1b62 k@B$a6~< 1u$Zx$}3 =V5P= u\X0h ʤ muyȷ1:Է݀4| 0+QǫҤWү~jRc-*渙5d4 {Z.Mz%F 'HK<5N`^5?20''ҤWү~j|,yirZf ̿0@U9s9ꔽe, N20 -d2]JUOOK(N?^c $Gpʲ {=Q]Z; d}m`Gg1V*-U W@KZA 2UۀY PeTpC5 @mA}q*Z27 ,ثVSvgB\"*ijVt ^Vn\* xD^Z:lVi}mp> @e*0~csg}a`V@]d~m'}[-䡫bՀ/g+W4tLM0~Λa ir wTō@S@1Q#fê}+@2}<N@}7)k* "S.+*ăwi+WM?5j~Q*>,<OX{/4 Nˁ%ȹj&:T;Z @FNS=@v&9[cMfȾ^ 44>[y45]2;[.B_HuQ:6p`9xŜ`PZV2 *F]}oՇRj'T ,IÛݗ8 #.$$GOaL 4@^+\UcpxPhX ~@8pXlupPZu`@ߺ`J?;aJ@ԈI{;dpݵ;vd dx"о3k9 4XiNű5`*Rw/4[w5ٳ(?G6VZ: `9wMžu|\եy(@=qUpbG~:zuQ:P]ozGVZWx15 `Ka(Xs&a_N7#5G z:N D7;ER>@D_Wȃ#c O7>S10rm0\B^:!9I^/Ŝ-A:r2s")g r2s$*)P⊳<9\0QF's):vm**)‡5 +WM?5jJ>MCPy[vˊ%!^)BD̅nZQj=(,z6<Յ GC g6GA`=n5'Ċ^o9$K=eӈG95d~lC0g DSǾQ^E8oxSlqeox ;>oU[0Dm1EM6BǴ}U, +7ۥ`x|QҰJS^RfnyzÜvig.ęMG1a^tSoE&[WV8+_ln>g[4ܙ yuh4J3b;j`zlY(z#_]A!?e"Pry푷J<& 6|B?s}(gͽ&T U*NU_՗TCciLE U_0 6(XsaĭW *=řp_UC=Jey𦤩h;4ֽ+ !NZ 7=ɣf*K],xqFL#U B2BOQ&$i""RfTKB5%6QYPTb,eo , vԬP Ŕwi+WM?5j* w?{v<=ɏ-hiLE 4~H4|;Eq0t'i/l ;D:cEDJ@4" =a&7XWm*K, 2ɋt!HUE ]r(V^stR`ܮJ@7TTy$ؤ?:8ZR93_VP~J :WUWG{Xc1U)AuՀԪ7S}WU ^H0겐< ҈8iCsˊ@48 6a gE3h5EM̪%@U_Ve`T'0u2W½4x)` עn{V 9MC=q7vi+n_C]/GsdnAoM^\k5hNZTMYsB<XUTTi2Jw& Lk [uAEKM@]+EAcVeЇ*0]m90!t[znU-@[v<=fUC )żB%U~#={+N[LϾUEAmAQf0UgT=(_ Yk37Zjiw4 &E[Y+¶PDsX y=;OU&}@^ 1#qq'92K5l6 U_עUM}Rן_VK^Ijh%O w>`T4.="d_̃Ǿ, l*I$#cи{$6Ap?Oݱm˾\IWSv:\r+tl|c | |4B3&y6H3ۜzn<=8mi&άl\~x9] Ҹ߶-'fϛcfŒ!/ 2ՅOs7Gw,( z{"=. 1`kN! z;s68bu9pZlLkv҃6[x&޻pIu>u`*޿^ ~4s/e>æ*%zozG*W&,VuCA&&= hzn9Xԛ-GOg I;VlI_X&G",DG)B{a)p8* R6>p3U]ۥ\0g]D:|7S|؅q=&3GL|e5po>ʒd&59xeh|,#o iY9Z 6E}e P|f p"S5rݛJUO/2ݻT SK'Dn2.v=!{7ycg;fBkhM^wyar>wev3s f `=ΧV0s6r&}d^J17UQ U3 hr0m7շXR~-=Nsm!E˜M8ocha 2`cߜh_՞ yQxLt Hx哥L/V9 4![׽ٳ, D鈦"p8!6S*V!2U*L-)Fhj75 } m愹 #}xbJF&h-Bfǘ2fo孺N.UE(`|F_†Q*jE`P. 4@ FWo8j]NNi}ښ}ߌtoශojCmM>ԗ_}k.~ĩ/q7hBD# EeEhI+-őh_nW:0kx9<oMO^0W T,e>emZ#k\\(L3otX@K Ҝjh#uċ5O0WoשcZuEL]Ljjn Wu+W}?XVCAnVvrO913`~vLbnce5xX)KasCORhP3!mOG{j[كͮ# wCm#T&68}u)*~v3q1h*LAӀ:GaX89wl~w"lJ fXፏ-wΩnbn^lI[N - o8myst$r!m[w_m-=PC}eapnoGm_~E6E:?oV׆P;S0ExSBm?y&ry*YVUHW\ i@l$#-?PE@V!N)n^sAN2b-s/_Da3*>>L>kZ!7.&3Xꚏ ?audW~ǜW0'f7vǴRtϺ7N0ņ&'k74:E#Z/;*%r]"z ⏝v~sbxK0&4,Fv^ck,ytca,t 0)42~@'aNizLZ5 1 h?gj[liU̙x- Zmj /olf{K&דw>uy8_E+rGOՄ 9{ܫ ѻFߪgՇRNq.IJ{g]64%IJխ༣5H{yȌ͹U`x(^ O5ǾuʉqL&"2:Dddn./GDו(zs5R)I\HМPub9#=+Ta?$"ԩmԭԱSS:[-7Q[P'u^eSMdW~rD^%wsB[ _]z5sMj>2 V=bqy$_ P!,%U6<2~$Q$k? ?ϔn5a~P4 0EG=  ђ`uȰꎚƺ/R-X[_Ʒclk;5Sl>@ԓnցK$ԜG(7pےܿl9Wp{DpDh-I ZsR[CUΆ'YrsxЇGYFc?`Ad)hn> mL0nOtpCp} inHsD 5Zx"kQǔktOA7ncNT9R= }S X!V{֯|7YE)*|1Y!(ǑQ|; aց8yWΘ~gq) ZfE;ѼVL כ㠞+a۞X%#KcQ>ŬC(`seV.!>q ƠhѣVp.(|rg`LŹְԲEJ!nֵ8w͝cZ[h&1?N}O<-:%jڮ[F.#o{_3jCmM}} `_S}JW<Ѳ4 mgi"v;^'HL #f6ayjy|cMIʠL ?kg,G`ߕ[2S:4g}N|{I>p1. K]Yy'2|<YoUloL2γ C]lXEA]uuٕ쫾zu1' +XwkdcʵjZӡ7z5f1:n0mi9`4 YiC?;V0a1fekVyS*,Q@+8]D) pqȲ$xQ2 ao;Y~k/ص큊fݘ N ; vpgbp^pEW$Z꭮k+%ЬK;(|1o Fo:{,Ej ozoFRv'ԧFA|pIh񟎷6zYWUaDQ-TKӵ: #1}OF7b짬\W 2trebvShޜ}as,+O.s@SFwꈮTenNP.R['> o1Mi程j!pS]ɾWpۛc;n 49A%U7*pɽ itטerOh G aHLR.bEyd]7A΂,ps߁"FT4ZWV Τ-æǖ*AiXE@SrTg~A4Ym~vJPm;D]]]NgU vp,"4aE]rG ˼ھΑX3s΍8J|\/Ǒu8|A]moAфmM>ԗTߪ#\z'68 g#h8ƟlשmHO&iw?"b y"ިg/jy&錅xy<oi׷8j 4WpS-322,'PG{U\T0:Q:rf8-6#[WXN&,R= ntN;Av%^@ -Sk8,GdוOR_;12޸Q3<ۧUd]OЭF{O/_t/^o9QPٕ쫾zuWq'6F\L̽* ,g]5Z ! ^ffw+>LpA(>O8|6QZ\}Q@7LZf1q}9t\BTT\tF!-Wkweð`sTxh7/v뉅#EWT|ٜAGI׏"pQt`}YNT ራ6]9HP\ƩwچMgKL~w7^z4mԧ"klp GcvL44Eiɏ4МFڗnxӓ85`l+lyK⥶7cڑ+dRA:ev j#zlAۙ"XtKt"e|K bfeleIԝRʖ)1-=GG*g R LM7թ+W}?{d+!#GeILvbLLgЕiL2 d,偑` qygO!d CLlm9`u܄ĦQ:Vpq\wa(`j'_0f]LBLEU-hRZmR:c2ZT8TG\ߦo6tA H>NAKslVt^tfo6ƨF&ˑXFٞƩxk+7WY_oM]}oՆB}6Ͼԧ@pnv]BK'-)FZNw;x"ތ2*IT-2촌?fY8()%wQmlQ@%Qv)ÖfZpA1b;]s:R)n5:YM4=?[Ȯd_ԫȻPqw +\Զ<@Ʋ0h\2c& 9! ^r2fbVB|Pp Yʅﶵl VP(j#_7WJb~o/dk(i6Z@ pLj}`}Ъ{hr] ѹ'tǽ,N0x-.n>V8)#aʧ)F\WfI g@N)<גF^7nB 3oM]}oՆRj[}PAhp.>ѤUx&Y]>Z kx2t68a0w˙?yܞn8IH9uFVףּ#eח;XHJƮ;} NgFTo\2/8! ;C%׎S;X~9?;Ay5(SW dW~97.Na LZ6+R]- MA: I8R_&m&xtCz91P-%A5Q6!y -NXh1fT-y4^,bXZ9Ŝp5ˎ8a$t\X{U^[ݨ% `1 !hd)P9J; 8ɇVk2Xr:lSa%W# W38jˈ5WUy5q@ozG-Ֆviv_}/"GVpk EhQ#'O&KIhoN6NT]?. WO{LZe锁~I&+Ҳ_&SvVFԌр-GQ[BΣ3uAk:73丩)9X,u-:2Nf4TVZ_ }SN)ɪF˘ y!LMM#{nKۍ(V7V#J?hh/ K SPrakU`,}!Zw'0 4!,AhT hp+e; o mp& }aB?4(2hl&hz7Vm-M=:'W{+q.L[{d[ f/izIx1j}O٪MM>>Z12qm@}6ԖTC}O}8n'ָҿ c,uG4T"J>!V,(CcoGxǼ?< ;yy+w"~П28 ޭlDHF7``h.Q3(u6RƙuXGE d)#p`YWEW :Թ&U]x#Kٕ쫾zuU0w'< 0Kf5\"nu,d.+3ii1:{{"e$ Ö5_iT1XG$Ci* ==&l~۔ { oDMuc )S8`[ B3ފӡqj$4mZԄִ x̜ܲljnCq~YBHpdع5dCOЇ.}'v&LM)t\%qx;rˇaɂ!M gf_:@dn׼+(}/#hCO£C8۷b:p7-D܎/[t׿ |ՆRj[}e|5<:CO[.qTM:^! HˤIU4䁖d⍌?*Ȼ (y6y*&'*? M-'S6Qnj6#)+2 ;*eP?eHPro\YŸAp}ZX g#@rcn>e:a׍.֥ +W}?"wd~/p!3+.v@=d‰Byh>+,߬'Ob( |F | E ?9AI:jv\fDT j˥ ;OG/,a*DTe¶RM \',|߳ اVT"\p$7>t imQQh^LUUV$ބGxO N^2OOk]zO[$SIe32jo/i!R~t;dBYOu2"uw@>|:)>`:)(q'mm&tMN@D[v 6cܺ[OLW8V1GztXᶎGDGШ-[2=Z)5p& 'CpoV]}oՆژ?hkQ _8 [ê& Eh@D{Eh#C7xAm$E$/gK%<^C^&/^wmMZVFlPF$;eN^u8+4ʺs NQ7#Gkx Ck-KqŻZjl /E:uAv%^c2TL  M̱Z<^r3Ơ0 gp8H" sj9#*1'7†0{^  mmGn[pZ{>X&f%/ k~^<ϲ? q6DiHvbljfI+XtGˆ3Ƹi[U NJ ?:K3g>]^csl_7kDrd3o>E\in[bMqi;jCmM>ԗTK%qngD*#HhQY/&'Es7<oģ4Zih>Ô`/=-/*#dZqv ,T403fδ_B@㕸ph9G[l&i{3a,8n,:Xv Ο;ˆ8E*.ڔdգ0>:#x@㫦j]9"kv%ܲ@W=ަchM@ozG}6ԖTC}O ?ĭq¹ð~QCaf_4v9C O4Gk_'PYbyr)]+&eMYMKFk8@٩޿d)zx(ʸe=2_B/S' >AtE:cMݑPSi1E;BKP>+N.@v%^o) Ѥ΄abA Z3Na|͙[[7gJ3kk{!U$ E OÖ^ u']ĐHrg-eoa*`sVefu؄QM'/6XO"1%ƫt+PSѳp[^6zuWkBcFp46̟Jߧ7 };ng4gzД΀!xr" 3Mx#i*x-%Ұ !wo[ԦږQ_S}_ T[/pYѲ4&mV0z:f $#]=y7P}n?o .? ;3M;e!9Pv*R)ө#Rs-w#{4?D1NdĆq9* 3/ŭ?VԧZRSNԩȮd_ԫC@98_M ^;օզ$[q8[t"ofoUMZN.1HlB8%'}#N &V]G&S بӂvBpT=,[x[ӏaǓ%Э*?:ggr=e)iBcmG#pX<܂q&Dqe0#Y*T ZwC~أ&]Lh~&LN'3;oxwkJti&mYՇO{3S|>q2'Sh-IF*EJT:O6J~9W:+٦ZeN|<.@(a_C{RrȪ$̝c9סttZ:S/S}8#ONhןuD:st]6.NW>5XRT _:u;ڕ쫾zun ~ ^!wvv\&DH9ZmIH3\ҶQH}?zw鏽y 1 :ct#|ϡDO0L=c%.9R?hc .و̤`i~ ; zq=Z2*怋*܄39~lH<90,cjNz\<r,eڎՁM)\$`COS$8JS"ʢ.NIԱyF dW~dda8ޚKK"+}ombN1\v*Aġ|SEU8TK;ES|1`*pr7Iqư p< s9>jsXYTփ]-8FE,nޜ@{^lpfS'`%8ز:-ÍcgaE )(WJpfbc9T:yc%-еc ̼f5Ϝv5܊iB3kcYH1 H;ѷjCmM>sWoB'G8 pm,wGB~Ҫ^=< 1Д=J<v0?SGl-b:7#y/H*&HFn{+e8lM~.C(?D 4:up˕ߺFˮl+G*V5z%:uٕ쫾zu%_&s:\ tz k#o"gknu9)en1S4? GJOb*ՕRy3g|Z 2:+|~L2i1puیTk ^[&tn.î-furG\SHU,؄̀4$Oa1ɄúhD39GCg&R!ks6hO:=GsD-1!yt V4=z+GwѷjCmM>ԗfAi' >U8h-F}(Z*rےVE ;y+lrF|B]601:r'iHqӔ^NYuw +W}?FTmHa?&B10=T<, n[i**kTa_Swqe?3,\zc.S 91E!O!8fHkGC܏ YghK' PQm`_J'@E։ |͟kjطOyMGTܸ4}f<3'<2ґGaECcZvj0k5ZЈ)ȠwѷjCmM>ԗԒ _8 W#Ch"M/LMɈ B(U[{)+2xx*ڀv4f4eܬΕvpآ~Ǒu]L u4CZ"o\G e u CqRȧ8]N /[kԽdW~@UQxsY]1*ݳ)ev mȁ 1[,ءAp Î;##AH9c#}PHʤbi.ܺ RN\('LNj#rjsJbU8b%Bss퀂y~hGF.P|~"2NO"C6bqᴖv؎0it[hVd0qCQBu@sDt7wUjkTC}O-pnp$p :iRQ!ӟ-& D{֑GJ\r2#Ow-exy`~)&)Í2EI)ݱu C QA4@{)اr_^e]nԥY]} }S>GmMFaXHFԠK-l`ؔxi뚩dU v0S F P0_lcYT֩W;a~l,It%؎m6Pzԥzm%׮¥p RV $Q31-x:"|)PY7Ɉ4N2:9~,FaCF5JkN)GWSwt4W۹lCTC}O}8hpҾ=ܫHh&M3I{?ˤA]<ŋways$ϒX7עkc3g6$ njl$#7s+ne%?TBYQ3t'u`nBPg6SwC#KÊnեsȮd_ԫpD1h&~yZx k8Tak@92.ZRicYP0}4#PS7`ZesEhv^PHErtΚ9: F{nDi(}{ 2~ kVD2hSa| dASFo r5'#*(IR1, <0̨0>v8ˇKrd C97Vm-Շrѫo(E8 7X{TDL,F8M4*y6 w'CȫJzKTM/Y%WʨC4Qv;# 02Ng1Ss?N3.R7g:`瀼L+؀:uٕ쫾zuNU-F0Tڷ1a*Pxج 8lef6}Q(gNR0zHVU[&5ۅ.1Q-+Tr]1܊:7rx(Ո-V!u9ZM  Bvi{c|ؙ@GHGPFGPaM0#l .dGg`hsqV4D_=X@}6ԖԵ\C}w"qJ\p58)47b8&&5ѧY~ѾU/Crx1<ij6&KTKqm_YE]%^dtjxH#S(녽ЃaK3LQp.c迓ᶎVyu +W}?\1w[p+Š02نDG)2!hV-VTc*Ejq06-PM:RNzC.@~a9şg.{oŮNQb$ fflے8 >!P 7CX& [qlEG09h:"}"s 9@9 I' 5nZJ̻&ᴤx96wUjKm2P_wS/#NIM8NT,ܭHhMM4稯HZe+JyULSQ y)tߢO^xr~s7eqߙz2]G+A(|' !Z2?5i >ԍ8Re-?ug\Dѥtٕ쫾zuWoax \$L˱m\E!7w麩2gGMJF 5-#v(һTK&v.pN KNI* h&ZNL?qvt;;o3-y{-^Ywl//ǡ|w9t8tЋe{O[Q 1q# -WLëq3pB fAjty bhZV aۀ7Vm- ؇їp \NqM8v!κIY4$TFM$,RDk,%LG^n3yrCKU]Nn'k9^9`eэ/Qf_kl]oz!gr WHL Ht^ f7Ѕi@Sn} }S3%`ĞId\ϰnkPmt.Avdn:KFǁ%#8Ã|k"-N/9i&'e(UY>rۨ:w[):D:)WqDZKVT2y`-6F'rrYlHe m P4ME\Z:M QD;kq J ]}oՆRj[}/h \:'&d:'DR?]ݤT2\Z\'?䨟ti y$^gp{۳x-ǛA?(,$F#x̜iѣ,])IcU5z>e*'t/6+2+0ѡtٕ쫾zuW1  G1Ntp1)CcPVˁٳ/mcDh86@{Kt x`"LHH 0xc|!_jgԼ&[2mk+qdhiM֣ynطl;Nnq#G`.g2H_˟ ]O9  "6vt!S@{L5KqǍ9Gm 7yVm-K#};p.Is 4|<"vWl|sL̘m9/L1M"1G,G'p2GeW45C>sǵyزmt,vn0VEEZqdk} [JF*U#AG a/fgK̥8曑U֝ȠEl3,~ZB㨙x9xUi$iHѻfm6ԖlAMHK}jC.IzF! h|϶AiYE#UmPZL!4<0+i#枎<2yEySx C j" Bn u~w-(X$\(EQ_*Nԇ(z@@\HF'@EDCœyp= Νb|{#f{ϝcv'VH@o^#וc8S vYpBk\#“3PП3wfAni2fὄYxQ4cfe9z5wUjKmmԧ d}wqK Χo-KG 6_2h-!ݖxQyrs>.:+3s\pY/GL2M82Ba8v6o*e2>!.Ƣ:u臄ŧUw0'a}&\:yUg\tB :~{O OfGTh A Gf%+x' ϣYgLtPٸZ%n.ԉ[I͈15]wך/rQf 6p_ELn,žG /1krZGQwO7oe5Ak.?@jRowUjKmmtY Nq+7 ZDS)i+&Ѥui~ Ӟ~ELxv O:y*ޞ%?q4׻T S{ir킌þMŴ8P4ݲO>|)k'SZ fP7թ;?$,= C_*0AoK] [rHz1+BaVNVEBRtPBxfj:)-NDF9D3LgH1G]u,B-\@9d:[nbتB6. g~;p.tdȫk؂;l%kM7W!=[^CWrMXcKq=9-CXid$FiӮ;r\]7Vm-Շ>շJ.i90kf-Kr4]!mHhmMEnc/!)RI*(} xz2^2'Tuafn%u#Hº3Xj?{L*+t1/pM-̛u 3+P2XrՄ@vѧ ݂qC|skb1-"1< -z#ڰvD#WZSmG[с1&Sg@ד5ZoAkNm!-mCgpr\]c)DXcMkQn~̸~6-aXXkqwѷjCmMڇq}o#'N-m[p.'Ñ#<$DcۙfY}@ЖkbOd%e}Ж<oǣK.anl ?{\(Qf֛?pt"p7O?QR:ܿs*ы:0=&lnԩ3? l5m8_N="s#v^.הv^N"L+МXSBJ\,(* \4h5 ;HHd~{;_l+X 0,m61Nt9pp$G˅`҂M}]_%GlCwslvrB3p$-{k h`W^VAmlՏa 8.9?:e8)[cW"klnozG(/5m-׀d;"[!q լ>q@ґ#h&{MJ,?Gx79;Ayw'2TZX@b\~>{8 Lj[ GϮ18*!`7Smv NbN Nv^p2 5թSZm7eştf_;MNxm6n-#:7Zwנ}u^EBS[D^V6laf6lKr\ [8R77w/o]+LjKmm-rاI Khu"ngD*{g ZDF|9;*:hx#W>#y(^+,k#j @8E+:j-7e)^BنPƋ*']Jku .`*?Ҏrstņ"[I|aW5oa26̈e$@)c~xT,Җa8:'tsP(y" pcJ-:8Y#s$ebsVȁf4s}(,ˆ `]ffhEhm w v˜:Qi‡Q::>&r^]mԫjqSUӉyQo~׻&f 6նP_S}se^ g.DhmQK;"</ē4Ɵ.lX0/MNAh7n< C^A?j}SOe1 mҝV1Msu*}3ȵ?e& C;am)> vcqK2ː̠3 D;Y[ظVM#|L pFrt.jV:yFA|ѷGFc6p^gK}o.I U8 w8BZDh54v H7ZRO^#>ᨿ<qBYL$U}:%UdGYND7v2eO*S yVT/GT2K τcJVa_N x@R+6"r|,- `y`4Vx<#ȣ{Yӱ @ yZM%1H52K0*\b);Opeٗ2ʑsY.ץ e#d}7ӏ| #8*lbgi%f ˫A* H=_lEbf/0Udðt7#N5gG |҂G£=9uwr:7:dF.ϟ6wh[ȁcĵTZFvشV/ُ444‰4FM g=BqCPXE a-;zW[ԦږQ_S}"E87O`Ug#Dh)!M-4^"+IhI×SO7 7}#>pP0YRgHֽ}uǡ SLP6G PӔ-R3)tW ҁ³t ݿc8Mpl|ȫ~.!2>8\r6USoaPM*Ca_) &T75=F%wxtͭt`J`o Ot̶ՙTv]Oi΁ (HY*GN&;Go=S4C44-454FK~\BqM(v٩oP[jSmK}opN^MuT[8wAZIh[F>Y{Gi'/7=A:Kok;0Fv!o{=SR U~Sf%#{je.O.,߄GV"rQQ9;u>CDqzF/8A|X[HL_3`sM|TP04QvLe!ҁcnh":þN1poÑ"_1R`Rm"">N١.SϠΜD>r!t>4K4>GiuL 7t W-vw5ioՆRj[}/upN­88A,y9+imHhV/gNQ|3'rZyvx* gJ)=L$'hxTS[Mm*evȶ.?/q ! ݯ_t6S} IJy!]%WTc*gxyB11} '6d[dI7euaA h=[E#iʙOGA|m@G0w+9DX,Fю#eHG 9s4`b"3tE4l]*/FJcTZ[wq@4-&P[jSm>շ8 xThy Z:&&D _

[URk5h\f7Sfve*d؛gΖ͜f YtACز&GJ~pÑ*lcD󪯘 ,F/GJmQQҷiH/E1|;KA; [WA#,>#!ܪY☃kbAE MtF[kg&J;q@܄qt\Y{و$ڴg+iN  'ɓxI^cxyx᥎񪤻x%ǔu2mj{e҄PV{(ʮ.>oP3J h?8k6cp#ڏ qfƈb*@gpDc^33_5J :K}㱭s Rܥrګ!#h?拽eXKxc::yr?E[9Qތs/iliti|ug_e؝~ ]QCE[wѷԦVˑ}vyjE8 7]7ଭѢA׉roCXC{.yɛ]} ĻR /Su"{Wʠ 3dx~ )U,(S#§p/a |Py= [TeTrݲ=Bn ƫ 8ekπ]>k8ViA&K7GKF h'amL[FGNR B8ʜx=/Dg/e;+p0| W!p !X@yiDīr̸̩#p?<oOsOxR7)/JV3|QX| u?^,z/B>ZTUhRUU17f-27v!7δ :r9͊a@$tL7C]cҎQAHD2/ֶגơnA :pY?_Ʈ2/lyeBUoϫɚxtqkNh/ٳ0fJ tp:;h0G!op4 C;4wC$͂8?sG>'}p4@oΏ˺awyG}6ԖTW?BϾSCv`\J}#U$9iMM4VS/7xB1C#/{j0<ݹWJ&?x*8vc __ ?[nalmZJ7b*5b&m$zv & Ut$:3`x܊~8=T%rm%6 GCR `sF ? Dȿ"_ )?\.<6%˻Fߪ"AmOD.R( !pDt>$iRѸzUChFTCdɫ狗#K9ߺmx3ZԗT*='&[Os]4ҔADc4i^76&yQix"'9D9>y% #úxc_'_npu9"H,tF 7?z Tc .:_Re,xޯp)AGS h8vye̦lY2mEY_5g5xY1b҇ML.GU ozg$UjKmmU_+=0q:Q\s>"8wѐIZIERXC%x1<V[V^g]]<m|@N56nP]{ÞTaGյ]Zkf\UU4{:79َ̑!r|̃߾kpߕK1au^h\S f3-%(wUjKmmѫ/{:"}8P{$T<HE9ҢwD[Jy4|`,y1<oģxcNW5c|9kd 5W?=#9bAwl-IQ#lNT%݄S@9~An%ȹXE4B,`Np` s5\ޙkV0\fлFߪ ꗙmԧ%E8 7+ѫ E4!95(Bh .^!t={S?s|ު?@%Ӂu`?]Ǡ?$ ~ ,ZL ŸZv\am&4fGP'q lt cUb J#o"d0ZH=^ģfN!#oF}6ԖT#}ű+H&qLTC8648w%adm6ӵw?39>|'nǁxu(qo)F&<:`j2C<׵jtκUh\w+jMt r#ۧ Wi) h1#Tp ]}oՆRjп Wg!E8u"nQ g>4sŔu#Cՠc E{㮃y3:&s?C@}8{N\0Ř*|A`˷0=B[IÑeZ,򺃹 /bm1)1֌ {֠{v F2~ C ozgP ׷jCmM=&}1wW[8,$.bΐp½.QaZ:Oѽ148zs;{OAfNJ>E  ^XԆoͿ[߾5X-0/2v dj0lݠ7VmLIO-E1wm}g^81B,}R7E w2A,} w}j[}:qxa)!-Ѣ]:7NvNXnVsYzM4ߠl~ A}8GǻƄ.X:6S-n`󻷱m/=3i]]`kmnc 4]ZWſK Nw δ="q] z~HcG6k8]rqM-[o}wpǻF78: 7c1p`P0u/[;~4x^!dTyƧ |0bXL^8sŶ'/]·Ӄho] p=įEƝ7+cdqB?lCȾ| ըip9&`ɺ828F!lMD^/C"z"GuHsB{l7NƭSpvaCHi4CʀO?!"F ]lpLm30¦G#il1>@Π!3)hpyw;wN]spv5Fꌫ(?o F>F]SK+y~go68cpNqi`7쐶8 3P>n^(12[_-[߯XخÊ51zߴSnĬ0f,ٻ+lC[6l? {Ooǡ;pN;.Ǖ=܃ߋ}H ݏȏ>X;L8I 4¼mL9_bZ¾U;Scgp-wK5/6n#·w|wq-<>n%>ݔ4dr>EBg\#cl| ̨|OK,V? >}k78~3_ֿ?o5"?# Fdoq3Y<_]yjiԫ͟GGO =<}_VW5 }-ww?ܽ>=!pn?|ZGqpӇOxC<$_ׄ?3_QG?5}gǟM]O_>W_~M}5~C~k 7>G鷂?׿ 5nj'!O'qO]6g|Fx??_ T_6_hM6?w{5ӯ<{4< Oz@Ohxip O? ix^4< 48y4Cyu]"O[?yڶ_ml^^Z˭b- [lƊ|tsAϚ6>~}{-rjëvǼ Sk]NY}}ہ7xc鍇97_=>3Q^?v!o2yN_MsڂPC}oڢ;񳝇'?v`"S潓ݸ{/vM lOk32bk6@4VGX_'Qvyݎɿoi*ok[?Oa?\]&ɴbuXL$[宭.oǦżȹAN.F#J=~U~p ɟ$Dg'o!&H &\=(\:Rni6t|oZf]G&? YN:C@lQd )6pnKَCWgϮ+51G?Z}(nx>2|2fҪW{%a!g$ ;%4D=;?`R lwN/ki&@*Gői5[[f@Y}V kgOCjH%?Xuc= .<9x<"L$Oh=恘 )7+'~pF5|z䳫kϮrL?d3> "p>;tRKT=*uUF AGS ItGde'?~@f?%`ĵKf q3# ӗo/[؞4*5 οK)¸Xwñ11wXͨ~BeC]Ld(( }LdHȔ$hOZ6͟.vwvfP61ow7},"^kb K}&ǁ 7$hD\G>Uzt>u\U=Jx/9=,SFP'ڃL( A6l&c?0c@Uk)kwyWp{ifIPwg%2A܈x>dg (&pT9|ZKkͤ2?L7TC< v1 ":^ڡt~_1BOj~Ed#`u$]H c{2Y29 C!pONdne`b$PgNQ i wcegI}ԉݡcuD~;WnWq`L%v C:o(oS G^w{6Rྸdw2ϕ_(A~&@⮽0$dh $J֐qKF>b^fO1 t&XJ=m8I.s<"N[%̡JF#CSABuW451lk3𪀘V6E &NjLeuE=c3}~}ϱ1Z9؉wК[C_qx^ɦˬ/z y5!{Ccw d`%Ē{މ;$Tϔ?e$3 @Bq§- qC~!^5_sk uc?>m;1_Qι4Wǽjc6{NHS5 *@h|E6hc幖:mX_\;Y }¨{Oҽt‡"(ږ%gf`B|[Fb$)R$#"l6Z]O=[loWDͼ {#WO8G"DEZx<>>q$.99[ztE e /͊Y -roA`"=.(Y+a*aYzr{:>*ثg2^u|ർ~Y{O}z??hep/K&KLgYi7'̐Jהп-3SLn\LI&'4t\OBR_'|3vЊSտ8ӿsIp59B7!%eXm8X:./OXSuc?lkM1M/zO G$$]cٶ%X!hVf#?LF"T ՟:g(u_hP^~3D>t~G!=P,dC eXq-F+0T fHe:-QIJП;A"HLI#p\_i 2DO0(+}~WCd;{40gCĴMhx, _K􇾼#M2 A99_nn{މ-c[*ksT_!xlADG k]_qR)lp7hf Nb\gxWf }Ag!J b[(CDP0˴bRdNJ)C3~&&_H$ӿ J멋:6m&K`"z¼>V?0/%lZ)w=>ǹd&}Q}MD("/iA$~~'&&#Ʃ=MLGl;%"hč#:eek)ʹ8nٍ~aXK%N]&$`٢.;0RLIPMK]Wꉂ)z7q_Jfc3c_zGX uY$EJP̪Qc&S'TI֘HN8O9fB(~Kko?-|L>>դM0CSuc2K{'c*0Ô0N}BJv1/ hsW@mE LH/7m:,Xj$cx3n m؋!=q4[kA%C`c\> k198nMHd8I%^] "ƺ^ן pW҄={ט L$Έx%& HJ'-ʵ-~ډ§=Bei\~m-Y8 So>Cgǫr| v Z`S x%0j% I4&aB}Y:a ҮajbXWk3_/{q<b!ƚo#Fb7__cbp0F ŘX7uy5&ZXp%EųH9}İluϢuM<Y1{,XC$%`5YEdh${,?i=UtNL'R< GBZi G_/·Ͻܢ] DgZ=sܫEۼt>q_Z p1ْLA/z[8[P(ϵ+y]4_F%ilN8cQcLIH`&IJIb"f(V$WNLW-\"?,~3*}fU9~[I{ua,ܯW8}9 k/c$^}8e0M6[F܆Pc[>m, c4bON%[IqQ|Gԉ&g S? V1H>lQ IBr=Mm{)Q-*U,Wc,@gGzv]nldevW+_~FHh*q'6~G\X\xxlk@P'a+aIc#x8Y Au.49 1JV4{VC8ؠ0cC'S,1?k 9ʘX=m844:D]V@Kd:Fuܗ%T{)ƽ:61#T'b}½g5:1O%<>}sfhbHJ%Z;WǯBZ26 :d\& U~/b1U CŗF? `L~#-? @mDqԢ{hԉ]3R$uR$H0}fff~YwZD !ps;_ORJ~th;%|鏩DY⏴A¢/o_H&ApĈX%<>;T =L;\oz_̀ku!ec^|?S|ƂUch2KKp"i|/S'uʹ$ _1(, fAH fiO ó?kJVtWm1{βx ! )߃:Vqk`bpnaY\ʅ_b; pYVi!Чh _Y=7c\~Y62m2T64d?kf%}v%׋^uc>WMGWğ>CI9X}K |H'gyf3)QD$Ibgg+NĿAeTqU-={%ư짘T]L[¢= 5 D~' x HtݣK(dby&r\h.c !h>E 4oGӸlӮleˡ@Σhձ .hU}dcEJh`1' xC4g]}y Ƴ;AxL$dLi09Ld40O ,K!_u{1iQOf-=,5{?įm>?c\g܎M҇ [ݴ|?8y1Ƌܟm旄S3EjߴXh2Dɾ!qxAXF ~|>)ËC^@<_k_˳'~ܓH c-G̾_^CYbD|c2=>5&ǒ{J h mJ^shIuut_]VV>6sg+#]+LJxˉ_DJ*̳ Y_L]ϒL}`l~ʤ7"iԱBL%8Nh)yId=onWlÛf2ߙM/ʉ 8+q#zO>j#^I'ߒ~įDMx{>S MgƨGm ~C6\G|W%goBw}x}6PDjJC~cn~r̚&2Y:ͫbőBܮq)T36xplA= YöolGbbn1 ]P)˶߀w #<;^APl6)q oޙ.hf??y_ -u4#.DF{UI؎I/3}oo+.51F5ԗbhsC6s2Ɋ%_=4("~eǴ%uF;#:dxd>8fh0%?}~>[IJ6vkpYdw,O() |FHrƤ3' NE*(ᮿz35>>}Q3ć9c_:_u%QnE{n뻜΢Q́ WgV($CI77?X^uy~HWwi+Ƒ~r0.h:+/eoM? "1%EZzpWV/VeVCH$1Nɍl$O4Dk4Ie 8I\Kr۱?~ ߊOQ$Q|{Ƥ<~=@w^V\r|ӎpsm蓞ca{ֵ j̢զ拠"2:ѝDB^ 8A66>\Uk??Θ&X0t%hŧgM?g-~ǥ\c}L ~Z-J>Яh'z,{@ a#Y Lb#Dq,C+V/V%8h}:QJB!Y0$6Ih +'݉%HXb0:>t7IO)o}LK?:fcʌdzaϡv1TBn}?F3hh?.A_3;YBdq@p4fua8gs`hb_:`=+1X:> t7\}>XԽqy<͛'}I?۸}h)"7Kr)S&9ԢG+VJզ<5R-v;- G$;!VC}Nt!cbv;8ViKKC3W`Vf,?8qnƁcM1%ؖeJ&|hJЪEj{]r J$$q/B@ n-xKNt$,/B+FZ8pؽHC_o6ĝqaEM/y#pD %U6*jOCߦi EGXEi%{ B^3LJ_ ;%?46\G6˽N,VLjZqO#5܇:S{/57lNw}G&7L~! 22,@PӴYV}ӴeZ"h(a*AɰZ&drBuXb H);& &ݛ6f`+确}wxi 0mz4x &#&޺;gM~nlδ]vZ5k`\=XmZ.CEi%,2!bBE!{{` XG46hŢ 6Ps Zq=2 mwq^3a6c?!+qdeudfuO>{Ɓc?Z_~. a'ycG޼s z mh'd/kn{1~xV}Eyg< l5k _yiŦncM]vRW7 yG'5-1_m69@+huk͸(2߲ ,X,XEbwb-ɶZkz:S.ԺߕЊOR׹,>N9v1Ƶ Z#MWok:GNOzi3v i;w, M ,ǔlsLw|aP)k((ēo&_xoOñw .0ؗt_Ws'b|MߗvO }Աa\_fhD1ŮKŐLt21xL<SDzc8s"ދIbp۩:7Obf_ _+etmXvȆZ ~6~O/VI0#|P@.7Qw P3`qtAD@8ёݗu?cuM}|bs[ĸ8Nf99u.o7ľ{8/;nbBA҅oXswӳ6fhKy2_b|+?=2m},Z~d g$XmAo1'0Q0 e~f״ʎ}iNj~MEŜYg~Ŀʭ ҳG|}G?m;3ujDK=to*[ 幖:b)BXG 2}0 [vɹn,Z}1[I]r٘%+L*˳?oN#FtN_:iTLtx3IG "Ph3A^"u& byV ۩덴6[:W fO1rD]1Kvm=B3!uZPe;&"8~=cjcc<ډs~NP5f᧥>g2MzCK)Nܕg.N>:vfᓓ?KM1 S֠q]eilc:9_%b2{X Vff!qas6M`܌J_IWJg}1 $<JkjvJ`&y}`1w* ?'/$tFἯ!D3U?[F00 Xk@gb83h\ת{Zu6>˦[+!jӌYbڊ}M\g=ZjmY_T+><iW=~LJ|pI:D^[l_ 3xK?:vv婋zP;'HP1߅ ~(ŰO>V&-lŻE\Ý#VfzO*R"=%̏uN Q I?N;mU'A\I?,` |ʌ`j>8|*o<幖ziFYܮ@(z|vB2f'!~;şPP 3 |j3@c]G `PZ~lT2-e'q\ꤪa(N9Xfur>ǍcS}b_u7ǿ˻>yY~INigW.n~H>N#^ZZ'-9Eѐ'4Y + =#?hMo%h330ϿهH/{ l<_;KG1A!D3(F;ށ )M1,WK2#~yx,c,Rf9I{i/?t.qlsQv9갑R7X=BlA%LrbE# ZꢍݷNM &H 'Ə(Io5+ǖݗ'W>Q-ѷOI<<[8뷄T_ }6;f0́2g &pPȀ_@˦?h])zZw_Z߯Ƀ%? |gZsz5 o8Ml \&QƮ)Hv4\xD>~,[8nI_UU-ož-|㣭%s@Q#(,G[ԽQ8oCz^a\HX(@ lmýr\ԉS2?8^cy=Y7W2՝/ & 5[%|߳"_v 3K|~.tQ+XbM?RvK{$ KYmഔ,x$l˼.,%+_~qGZa T(MQ]US\"ze?ſ񇙿%OGğAc~ro[K2nj#a ^\)$@ϧA[d׌G¿%zz~j(C?0q_hӃ@?RP#D yP 1e=3%u~_rDL.y±Ep2.K.Lv,Yd6}.s?)qJC+[N &)&!Vλ|M-3EDO_OHͷ݇yG%|x_77 gv4yt~ NU; h(>zY~ͪ\KJ8 %ѳ3:ۓaecz14g Ə&^-v!~~}{^ 2?f}?d!8GdE~6 {T$(f=/5 <xRP?m『sr rrOʫ>ꤊ5?f3"7!Ww~.N1߬6ɳ(H1|߉_o'4gЉşW21``Z7M^~<~=#8Db#Dc{T>g&)M"a>ء7GK))̟vz'sa0(%nidOQsBEM &a4V Nָ+BJVoe|lˎMC}d ~A=sz&הc)+.|ğ*l⯟-D%q7O^c,z$S00_d'D~B| %,ߏ5dgz[Q&+e1ꦽmz ٨b0x* $RK&PL@K58 z-. 'XN;PG Gh]עu평)A/cq[?@1ȶWnk%/%~@g?=cI3=N9v?/Wu7 0;">8rHA#<.޸D  `@ds,@nңCKr8Hs 'SL!1!] 8v2x}.ߺf._[Sj9ߍS>^.2'{ɀ|ؠlYFXV@4e ;?q dLjZ3kw$JnpEƥ>f' 1[>1:$+Bn1ib}cc?Yy8srUg/g@k%h6k 6Mg.M !`Հ-Ef}/585(ꀱOP90(~VV>d p:qB}Qm7~,ٟU%0ȷX0&~6Yb>8(-H] o\kLVz1zx,n͠ 6 l`-|alI YYέլcd:7xۃ;~I[ӳs%L*5n[D0|n Nt7~ SGE afvq| (S|vz,ܧnдd۬R| 'X 9yʽPAY#'gwh8 SL'LLy(ћ'#_]K] @J>1>fw&MIL 5O|&G%}M,a/rm bW޽!Gȟ$6:?_ EV\l:ggyܧo= @ vO2$ް YH>g,|'ߔ~Q/Nִ^m8B1&y=&.] hz$6j?fGofߟr% LOEC-H& 7M=~Xs\8BCE~-|9|>vv1>|K2uO>@|x` o1ӡ}Hu`V vI6qA-3Hq'(23ceL]u>\QŠ-c ˳ !VG4`KcMEIcןrl K S}*"|Xʿ!M('*Gx{׾?Y> oؓ6O킼.N9rO  ~/wlږ~@#ORW o@ty#qvf c۝4hkORD l-` poە38ȹPzdVdX<^SjӸL}<+7v,^k]-c,[)dGƓO&}o 9JHpNu?:x3$=E'z>M1 $#(&@NЙ@ u;4=IAt&w]w>Jnm:yɳOOn^tMe eӒݩw)I-C  6F'c8~P*cɡO*r{\h; @F~$8z2LJ f$A4iP31jGdՔus^,&V,O'Wnhv1 frHܑ0ӏCʾr-V5ەd}a w"&` 'jh.h+zAğ/8ΔK%kyX}22M2jsdG? @'q#bdm&y|G,A;6-uw)~3Ϸ-6q壐W ugG଑3)pq 2x sD3q/$RLe ?v[>F:ъq?/R4h_ cD?A?@" 8k@m<:I78 'Hj -ێ׬̠1X ʧraV@fA9Z.gqPx)1Kb`=8EK(ECm~ |Zȁh1E_2s~!HS  2C hWTwi~x?tQ73H @ v H-18%E W&{oM􃾑1^M` H-؊Z02+W%<Hm<@6~6z[f9X28`N`xO= J\Gp:hDC#5oMPJ 6KjP?ɬWZ.T/ E!Z|:a]X;ȵ˭h-7#e6 "wv\>٦54GbLdJ4w?i|܏&feS"~L/n4P#~Fp#{2CwP"m߉Ǒa`̓j{V$;/ߘl=e OxM 7&.7OoYP[:1lVBQӺw'&Ey>Ĥm!,V)اa"immoo}=-q&]d0m4ha& X/X @y1da2{dE;%>ۦ>:$~&?H&v> OO|qtNs3ktS8Vndϵ2{I@=Ad c M_%qYd>3/YIGC:`n~n^7]`?41gSeDӒgsJ%.b9lgy 1F ѮD8g3aN mbu\E(7Wj?0w!W H&  lL_*@9١)?ޯ#N2i9Gf%W3Zx"La6?mڞ >C.N79%rMv]nM%YeU߯6hkfN66g0WAThܸďx-hDf>1(Ϡ~vd3mZ~'YXN,.@Wr, Z9㳱xǯ;QƟގ E8iҋ߄b?B\/e`ddv@yjsVL:ȿM<'4&54 @N~\@y =? `c^q:/ dd[L-0!ӯoj@a xe7N_l>sQ` ^V7x&<{,A#j=.H$q(5\{n@[L.ԯ$~Up [f`~ă>SiDC,6+@gB| [yE0U6qJI$=Wɇ'wr|DI&OdHb WM7lO `ᓩi';7qzܼUd3`V! hCPQ\õ8u2:K=;77DLǫ{H%IE!347(k궍s]o1)cɄĸu>- 7ɋ "?/h !Lfh̀ 37Zp(5:yY7K}Wڦā{^X BBS[U@1(eh fe`᭄Z-Z>:W<2LPLLW'cĴ"W ׽ugNt.bOF7nK@7^"ݨ`l -,s8(u@=xRkLhc ~|`r_5oum>}ow됒{ 3U q{)8,z"kL(7fׄr&B2Qp>P5hןט1nO cjQV2%Wwr'W @iXyqQ'o) d*qIn  1 2:^ڈLjjhD_LB$=,_h h 檰@@-g}NޮٮW ʩ0Vz 8Uƾ_=XYIecyk9 }\רS6n"1nM`xe(u{:xoE}$W|Bǂ^j,_NIn 6^ 8|/V^z2FN; N`_)'eݷ _#8rw6jS)cSk:`&^ԷZ3}59 AoW|*"bojяQr+f >{Ztf9E<:Zu6Əǀ U_GUF~ `ydHbNIlY0zkWol 3t _`@p~1uhI3H _!ؗ \\2 lk> n~\03K&bL)ԿS fP :>ul#-\F t_ӘC*VyY ?Zͫ&8~KMjaЉXJ$^^]6LҊt5uy?43uOOȾ'Y#(ۄzV)/3N$ϢjLޠuM$DV(*^@a *@9 +'ҏʄIn,W뙇[GW3~VvLwH"$ ("Dԑ_un?DZxu]<5~P VJ~U$((% el*&LxW b0 yVz 8*@~΃QۃZ*ޡGVe1ik&J3EfvL3Cqh`#34g=Lޯ&/^<i* Ic>{(Jz'wY{h< `d '|)uݭ? 7뵟>.}B?ťcdlf=iƸ79gI$O*"mmqtm_&oZT㥎;Z1D }8{ ;aP^U l;s>y)엂~?x7P[O> QmyJ=R |} vu|~/j1^<]n#M3:½47Lg2b+pW$106'@ on( JJ/m0=Hb]Pl% eQ~`E loHdy#[bH.$(A\IAk6ʘk*<. kEKR ESF_./ogO㛁Y+jFwhP 6=$o%fr<8P6.ru=a; 4[ܫفY/Ib &g1U6@K ES^)s7\Ʋe%m?h h;>~sOeOj`[ǍE]yXq_ į  l1S228!xp|+O=Z`< lO_l@Qೆ Oyǵ|mʐX0NeyIZjb >.&9dH PR]Q 1F/KKmz0Q~DH,eh@B&Zdn]qV2#2 V WZ`; M`ĸN2/ W40pga"ʒZJJx@͇ >=B,qm`@X$5c3uB`<$ IpD@B-Epqclh}lP 7I>W゙ cuXR&P ǵ AC`d1L8 X WL`ML@E Z/&%& X#B'C# [L(3!7ȇd`:([d[f(zHve]A\cbգr.Mh8ˣƀEja -@KH׌i&Pՠ"9cv222cnMa2V~( &pn P>l 7bZ%&xžC)gXڢ7:pFy<8X;d4[99y0~ 8~# /䲑b\4b  > 2UB\uorx6,Z~$Do*0 3cFP6YZF('ϖm N}V2s23ON{8%8 M bZ`/] 8ǁS&[Ol7J@N Hpu1@J4o:(i]RO _>8fAspMsQ2EVik_rbx5;HID%("Ch 7:k4Q qج ӂfLK(h X1#1JVw -ô L}ߛV@18L`hpΤcʳq=R.rUoZtx 4%@\ى}A+e:x<Aط :-xإ ERGxX(lxkPOMa` 1o} 2/La볆s_[" uveM |");`1G < `e}M v>?vlz'@N09NL`L@DPNuh[L<10^r&KW:.e$L2Fc:eeYԟL|#X1Kγ %'RFT2 _-xC4_ڭ{b6cuAvrs D2_1pVpF14ӣ@y L.]ո.(,Nd&p8˗k㾷/A~ i& IܠUUo_uZ; bX^@@RpL@"N&P \G=@ ykZui<€$ Ƌ($GdaE[+ah-対Ih/1d{_ңd0 JDEK\k3aάwV"ϣL}oc 0@ G$$92^ jϣ%i!f2ĿԫVVA?p fB]s `<ں+}-0 Hˏ$,"8Z䳰^bn37eV~ 3s3(EB]~q(p"4*⚋|-PL] Wc?@kU@]1xVGq/JuhJ!&^0H 2ORP>KoI&] I1SK2:7؟DzQNV Kok U@4YfLcrrEP ܐԦu>_5&ă8oH3!Ζ@-% {%b{ .ӢfyXfo@0eQs3i A|Zf ZFtmX^ V]c}Οm2a4P < AB]R] l@"emFq/J-ֱuz1C]O90 _bd'4>D8W2e]m]@Y³&@d6/nQ=Sgƶ|zYIb893ZŚLSY V]cԟH*x(F_mz'/ gļ월$,BD 2eRnǟnAj*:{U6 ;$|H&=(8(/'اU.0W&F 3Dt =VO߶s N I3Y-0}؏Y!Һf\G| 0@ ^ǕHJҶ QgAۯ,Zי+ŷ㧲fZ15OJ' !~ XHpHL@vbW f`9?;d&Gٝge`i|99bI(qI^9 BsD/: .z)Kc E]>Ѫ/(V$젒̝}(Q+!/L |R]mf0lA5up.L&`#H H#dWdd0g1NN$~8&Q >r \O _V{ee$22m22L` +6b_ๆ0}|4j`,bs"GL_ϸq2(7ng>qU&s6Z*@`9s^ItkrQNV$¼vK\E_a]]/5>>F3 ϡmY~$Kg&ŇZ,?1 :M-,& *@c D04b:3(&ۛs]G}{\±3 ,~f nozaXz<Đkߎt؆ˌ]_1[`<ūJ+O̫ N"|> },Y&2lcvY k#kݗ|oY?{#-=T0g3zHM%= h\У `ً21VgxfXH[yVd.S]tWrOx!}3oDҶd϶2t W$Z#efmQcЧ@}.[ϳOl=8xH<\UKϛ/,س}x<7UJ0 :Qu8&Y؎OMg)qMr- _yr+ lLai6$x@FGl2C22>^nb;$ҧL*O vlG!ا,S/S/v Z{;hcŠ LeJ!oǺ 0k6;lùDfMà5s˵E1`=4 :G]R4hJ4+^ Rl9ѭ}S﷎]; .?13@3=?g O?ş 〶~3Q3l~ d幞U}!x z4ߋ}_+e-"c9&|NA{|E*7ڛ?k)9}Fc~WOx `)R%I̭"ϊN`@pTk2Sh0?`ٟOG P_t] C?}^V&'@-3@d$byjb{5M/l.k @2iHV7%hyBE'UՎi S׏ğ?_O 7;!* b \C={Hb4ט(Ei6B`_Ìrqn PBN얈=(Uֵh^;߽_5gf%<hQ'&j b&ҪŶ(O߻^_DC< $ %WN얀(YDVhb1wK-~j 16z5` 9 U3x&Da-:O/·aĽ[ fN=f=$٭JbE'ЪoZuՌ]36w?)KgyK[D8 $ `8sWϙ; -)s/@ `m4͢.?JЭ$[oX7#pCܩUܙAHU9GHPuF&8eIJ3}%VðqkA4q{(8oGZ~~,R:;_1NK?K%|8ҿp&`D>?R /'[V{dr*=(G<ѐuW{Qkd+MQ@#@M2[<0P  `7x7Iݴa#p<zV y]ɀۀ,N-!?9}Ȭ~^$@V|z9O-(| 7/Bm M <2S:7H.8X@K/' V (3562M! Y$1IE1f?2- kaXgMeZugl闄EZ%hc_me z;WܜF4Ծ 0cj璒7gPy ­8*ZefxL71C#@B2 @gEE"~<'24EE!&@~K@e\$'ɝ0 ܧǁd8."Uu&"B2z? dDo6I%#$pV{HrT>?8@SҜqA D"9~V (u4qxԃv= g"vk`1WN@-Ey8fjy0(iY/ЪoHK1K& _&_.gGDo38)0}q^ hr /Yy*gG!?ޣ<usct3eDď.A%Q$B@W>Itɳ -+U=[$c`l 42@ЌM&@ @X:mYhmь[Zl~%EaҪ3; {zf|ECf@4r169w2e<)3h@[E0Kt?$ 5bD4VRѲ F:aش(IwUu lNih ߴOlZbm->xu;6u|@ylqqVeipg?z& @ގNeñ+d+ Hƙ瞓g\I"_zEe]q'BZԔ2>ǧIeKA ?ΡtF q&#S  SF0cOKo f, u)G2 ԍ,~^N@oY3bP+a#P~1_%r2Թt %jah]ע|Z״i]S f@A7+VX. E28NYg y)~ $⟳_3*~__0,, &KH zIQBy_J&#Ƞ1 `HdyF}Y,ZT먉bK}k#h]ov0⍡{K+ Zc>0hV~WEyQ)hܖBp3s?/FIWËN3"4#G;)xc0*Lhu@q $XVZp(UVf4>:{н/J|O0x,>`6|cL$rra0_rOy;C,w-BDt$%Wmu@`=3 (ů%^ HOkP/*Ik'@:7~+M f%H{L*.}1q~!ijҼ&]L-|׻R\G 2}q%ֈg$QLd?x ^D_e; f`H/ P `l3 xQLVd5kw >~ _jXLS>qX0cآ6ͮ]% )9%?tRr~G LZ$bJ%| ا @Y~ɋb-u&OV!n/@w1&״ט?_+pNL:W`e#6 @2b$! aܙ#2C밎Q08 !&ĉx$%Ku|%  vdnDDe۸  xQr]}grU3Isۼ~˽R\f{iM)1<ʳu `̉>${ҵ];A5l 0BwUj+#7k+K<Շ'ޗ@X3Mj޼Fp+qL0¶ \\[5'\ee.Mk'G50Uste'ЗĔhYw=>s│x^ºqx{9%Pk5 @Y0 gSK_慨41Vt{-Gub$zm-YM`cjF @"3xMP~:W՚p712 `ٟF$w==}-L:N_'HRTD.Bwm,Lʸ8ćR DqM3Uq&pI710^p"9eN#zrmMkɉ q<}QW 8bv2fWEճ5# rWg(i1tU7Ζg0mø" ضL``6<q(Xl 8OYD__Gc0%yXZ{6=%cP_\34 fh#gE )(ǵ܁ȼ"Z(Y -;CݗN'~h 0vOWd6Y&kyʏg:=cc4_n U`Wqv> `!S?n)j`P$i^w_WjΑ0x<,0v9_[=0I"& aՀLF1>  \j,^^ >2M@NNJ 穃>?8NlwUנu<x<۱m@~a.too]]Z#Χ@^PI{JdzRm`GoH2?u:w )yHGGvJhޏ!EZzanԓhE_# NǨ6m w%2j.≟`W$~,wR>u5K@_[Ae  Lu>fD'qp e2W Yd6aiĽ Ldx]n'i`\/ϙ\s yuJDBO>/IZx)% /i};u-k w|7)6Ov< V.ݽWVw%⊁Mkג11O]x$}(}Ćx 7| L`&`'8xhYjY˲i0IfImXx B}uqͽoM&H$ 3>qJJ:"Y^Ӵʯ" ,(ex&@ ($ G2L@ L@$m bzuiE{0:߷ `"[EhW?k6#ll'Nvb"dxxR6 3,pMJ*7\ _wO-%5%% 9 @};zyP #X\G,^h/(kk:D$[t ܆Հݫ;L T&p@4b\@:G9"tWڤ7/\8;{oZ{gl>zLҧNi%75Չ'Iu4D8f3 H1x$9+?Չ V+| Q0/7F2ccX`0lo O $#0kk\\L8įM?#@rK;MiUa@KPcǓ W@ODZFPqʐp$`2 0+@|&)zSbQ&2x, A01V6M bs}?{p希׀^o,mk1ߝG6[A6- `#2z>kAF}2I{ڝ+IC}|*'3(4aYIyZ(vfm/.B&>x_2]632-#jf ܐ5%\ 61 ȓNjWO:1"VŐ{ ;_, o,xf1z6#b|nkJ-v<4-'8,Ծ!0%nH *yH%C< ^Su@ǁ2 l5ME4MN'dR6Ǯhg`;w3ǽ6Ǻr/>^|F.wfP(_qxL;8|]e0?UW:}1\O?W'yRǗaFϣBtc ?B%=Lm&c] MFRƍz<6GZF6 iGcx2*׀,CpJKjDE ޓT418礡}C:?6pݣŠyhEf@mu(h#׵z /6 31(g~wo6rO1'~g00Xܟs<$}=8 șniV}(3%a tI "IdJ'f.I<'g;BOpJey'W?=?Z~;_FxZdao4SD+%㶈5c4g2q+--{q137J-0AG4,=GqHW?{q\u0%Z82Sʙ7M4=Q:4s\}; o+D(&>~4/I3]^hy3k3WO9GY-^,_e=>V^_g">b(WRLoH'e(ϵԓDS=ӡ}w;a"1Eby G)e⵾Jgoc>>I~xR,/O]8}Ɲ9?uO$br[~Wm?xa* ZG3HBQl^ğVܷbcKx Ľm̰jb"p5$} BS [ Hl|r?mVW,\!z\>cq^?XbyI=?yĹsi#8e(qHEل "$XxId IRun AS(^)a `?>9{'1%|?$K VfY`j,|3&~c:!>'y mx]eaL"#r%ӧlc$?㆙3-N,\616h uZ}J@%Yvvvv><9X ! \4, Zf8P8CNd UVu-C9e6#NMXǀ@l (k3GEX1z lY]@K[GOp,pVK_+&ߔ`$$* `bJ2{J2;18Oyx#3J۩3۫h&S+ )nq$7eWey(G@8"# N걀\A}1w1D蟡Εc ķ3V@Z3+"lǬsD>6#Z&`8xXӚ.]>%O`~Ĭ! ? 4DSz݆_>_+2p7]|r,\ohYN ` &@ Z-p Rc,jDZ& ې󨯡. ܗo4+|0~\[70n|YM`~=hɁR":!%̛ $)|$?'SMx"kZ_= A^ l]&HFe"~6|7-prl\kkC Føvm%l,l lM gl{ؾGh:v۟cC0'ϝOq$H6$L>%@@e׎嶲PMO/u:YGh?SKSPGr!D\>Kyď|% Gf| `?/1L&#wU"Fg#nyPS8O!?pI=s:G60Wގߺ&fdɳ|o@&hy4OԌp.%ǵwOR2sRL!9ID0lӃsPgi%~jX;V 3{fZ>FL g~f\V{[& .M-rV(n޻ںǷ,<]&5C#d~L󱌧_01"yVb|Dļ3=A?tDJ.%4%WIJtjJ"M#2f-iAr,,b1x!D8Nj׮KW[?vL2lY&e:ZNfs+PMa, {gz G8vCT9MI'b _0DZ @D]-+د?>A>}bXC-~ ¯7+PJH,hէvj񬔿,@뺕LSlŦ1H8Ay;ɓg »3ߦEn'anp73k䲠Uuc*d dBJLA `5h 6nPh|-qxt!Zu[Y h],یa+F lO}Yg  |)qD_ gOp-P/B;e4ŇhmIB/"7ԉP?\myw&F y$ n%+(ǀh^0 ,d0W1`NH]&6*3E%e:GWǭ«(LdfFe9Έ?·=cQ50h^ h7 0ʬ<eL {5cck99Q'ۜ0VKs ga{ax<gmx>! cL=A=]UHN8^cIfg}sLQD|>,uq֧#O& G'zTcY{S OG^+,=""`?}~&  P"*@ɣsPF6>9^D5L=Aq(V93buV^5&z !H~IN|K˥ro{>1[ lbEiՓB[cxL303z/FP$ş虹 ?F6d?Йd6h6&ЇSa͡c&1L 63CwY'Em`. YZ"oܫȘ l8=| $7H}MqZ[bL cƠX$8nG#"7 3(D -:g )NHF Gї/^z>o_= ^`,Y,x>#jˉJգ%5Z]?r,/kYKB$:±P,E# A-yk}x/5BѐlX%9%} o?$]kc ccx~ oi>*?(F}BJ\+Ǯs!q篅ֹվ/Ͼ6~v wP5QauvnXw%}/=j+ Pu;$#C(=O ֽԛڴ3cxpPYHso2,{ۙw$zWؽ@b$ˑ'S"pIuKGe`N:_ .p-i|jZf]1S3Xa~7}³o z2q~}ƶ2\$.Zi fWA@-7,k-&)n;b梒YS^@;aWZ5ܘVR#wϯ E|=ߓ)࿁UK)qo G3w't]+r` v,"]q{Ɠ9wr6~L/g)Z -`߳a 0 bsoLݼ5QxXz vRSēhokVyms˱jד[| 32D,͊ȢY׏ދѪ#R#7o{ `i E|RghK@G%yZ1Ȥ8?D=NzF'tgyEK(+Ujcy*jo ^|ҹ>C%yw%$n{X>pMl'!#_8xQBrK^qS %cNN-ig&w<7n6cEXIL)EUg7=@,~/$г(exZrVT3L29 ;{z/l 43 勗Ln޾^>}ݟhqBFK ~bY-+)=swϢ"kmWBizAE* g[DxQ4ޯGbz;[q{X-MpQH..ʵ󓯾*oBvJ!1hcq?~?q,šП\ ukE$gMN<=CcX?ǶcvZ]#5>uYq! zp[ f(].v`wr2 _oI>v"!nl] (,کXENl_"|%ɓ&«X{sqVQ@, ,ļkrE5DtP׹=> | $QE2\G4g˼TBQ.9e`;AYo{?[nCeF"הxu+_&?ܼugrj}K?/?/j">hx |;&?xbND/ET2 s~>/Dat|>݋ֹly.ZhUS7o%%_rn7?P_1MoJb~2HKP/}cse@<06j:Uəyx:B'Q& 3~(~V}ϵDbY1 3<{ͷY;~u|mq7 P?vjRv3@*b~Ă\0fٺ2[m&@bC@ zBn/G/O^eǯ)t>pyu,F-)oWc÷P$6dm?R2/':t;O} hXWV/"~bϿFg-zɓRݼbzf}d?eOb+9kYt]ך -@6 E 7>$_ b4ka`P3"K7#FѴ*i"x)YǓO=@3=DP\tR?g|8&ՌOQ ESkeʾZ9, ~`A$tǦe5XƔec;|Lȶs_ en#@ii'ucf@fJJ.*Wy9(qc5 |#/U-I۳Qu:7)U 2+DO1k%PKw%۷'7Oe_+K%zVE$—A?G3yR {>qq8'cs5?$*@\p:mq!t}>ɪX.qMG;&ӝӰo?(S>~wZ:x ߓwĜ9iIf3 q0;z5To.Ye6>w𿺼Ox[WO'?=׫NDO/lObxgZQQZER U_? AKh<$ I4?0̸ l,(Bef3Kʵgz?/;ۏ 鋦J{hjh &FF#@T #fl̬lC@dD]s;Fµ~>~l* Ԃ{hjh2#yk#L̘0H,m 6f[~so{y?K_ eS z☼jrE( CR ^Z9 O %դxNB:k3PE,c_k#^i(1 M@KxN'n-(YE1(6WVPeh U5-ZJ0fѪEjhLZcC5~ a1h w5h(8,ZC"h%Y+AXVh%ˠ%բ/vъˤ5֯3 ?VZ7JyejcZzYUbZ"1ѺWV̢ -?/vъˤ5кWṾ-fъˤ5.]'ѽnIENDB`weston-3.0.0/data/icon_ivi_simple-egl.png0000664000175000017500000007120413142404576015322 00000000000000PNG  IHDR\rfsRGBgAMA a pHYsodrIDATx^}@ghMӴMӴ{c7" ( """"""b11&cI&od2L&3ٙݝݻ?vJI=9sSOUV$NEhHz;:\&mR>)}=Ǟpmzxma. v_.>JQ㘯w_'{c ֬cZ~ȀZVG #ӏL?Fn22  #ol9櫻oo٤v)͍|6rDk}oϥƢXal]v-r;l `ldd1r _#7{L-|2pׅK{]Co9^Onoڧ{]E?$=w  ##ӯPn22cn4\@FF!7~dd1rܗ0_v/ޯ*|e~;=iz;"5֎=bn?@N$e)T5m Toa€rOgF^&# ṬMxAB_* ͠+lyt@?#b ?' DOԪ]~,XE2FEnfz?p?к5fɘ{>%w4G"0oe3afP77 ɿMo ;G(btRtK[wG;nڿu;:T'oV;^<{X}}FNQt.͂¦J#-K廳FwRrZ7IknosF 5լgNpcox Oa7rwئ3un'ڻxNv8N}W#B;uk3n֋su7K\KWmWMxqƷu];4GNb_Q㯸+eD%sknG}o96;kz2W^^gPQC~xϐG{տ'P{ #_gfɜ2rxę Űߠ5*׸L_iטt_5n_cV}P SK$s<: gN|+\B}W _a _ ׯ|E[C2̣Àerxdlo_~z藸~K<|0KKt_%C_bU~i{/hf2rxDYb?%;._ 7h_x/}Y/V}A ܅;)ZCf(.1b)3.MsI.pf$ !}y2J;٨P p Mg 0PϘCrt}gOHs~. @FFI½f-5OQ*Sԡ):˧x?+SLkO1{~E)!0է+>%ggkRk8{Gn 63:8>F9c#?F3cc>fc|?cC>&c6cFh>fcF)?&j%גy5zIˬ'bG"?-#>Ba&GGM10wHGQ|Dۻ,XCr-e8'EoWދF5e^Dzi''\G{Uu\=:îzSu|,7_uM N:D_gubT׉U\g,)Ë!l q>_e5\cs kF]s5ïr _5p 5B1xh5hz.׈xyXz2'rxl'ʤ(⯢븫h28*W1_eȈ _U^ehU2*#\%pHD J*\J*UɟSrm);=]sK[MMX;7o7+b0Nӝ^m0Sw'F| kR黹0M| δBޛ-o-,R|Σx Sy|Ɯ?Oy't^ypdΓ8LYejYܻNX+m]ޙv=m7z]z8;r[GPmt~!mμv} KгD%,|7,L8K೤e,ӕg9,3:Yf!UÀr7ǵ}~Kn t2O24qK;vi4ISO:5zYSd :E,Gj>N#;!Ͻ'F*>G`wӉ}Xd{y`H,g9'Q9jIf=$xN=WIL'M8IcOb{1' <Ɉ𓄏8IdId$L8IIM'I:TϓN~n':Ir~v<hy(m ay@9:'O?״ r' p N`wacO0"#G`D8a'g=A\ & I>'2ӼN0]O0YU`ޠ,fkknLRu< !%}U+EPGs9>nq<ӏcL=)8>|sqN8NpqBc68lj ?ΘĄ'68'|I9N8{g8Ǚvqr>ҜVe|2b2>6081S|J8u1Bcc>ƨ=#1n1Ƈc AǘpdcL>F3 8Fٚcs=|c:Fqe|2A ;:(s28(by!ӏ3(~StaqG{G:JTQƆ%vQ%>(%)(S2(Ӈe(=5(sݏ>J( 56e|v<̪ނ_(An9nqS|S?#X2{G=cFalbÎ0!Ch9BS{t20[9#h0 TGX8YEV3? rःN:Ȉ ;Ȩq>HtAƍ:H\A&8ȤЃ$$eAR2 3}2{A ?ȼdA Y8Hu7e $kyp7A\v~VrŒ .8rs90>o`N;eBx p{cy Hq$`i MuDq,id2.rxȈǵh?nߏrcޏw~20c?Ac)>y?aL iLόd'{?3c?,rO~]S:plYEnY50Wv(ۇdnK^]><+w}G}gch>S}OGd>LGL>bc1a>"19|aH Gj>҇cy1w9}zc> t(r}QG$kJ.wT}C9{}YO^h뎾t# c-z+q)ۃk4{.ރǢ=`y{C@2`= {ѓq0~0i&G!yCZfX̀=dao"=,X=anV$moo)Lsj.k~h= @dUB|]/Żk.'w~swvaaw1b.§bT.&bl.bvQi#v1}.fZw1k.w1o>^(b],uEz˕d#Ev<$]m(Vv*mY'ڒNtK:m NL :߉N'9XfwIhz'aDtɘNb&v@t211$GvIjX'顝dw2s'9dN[dm':)WuRac6V,(y7o{v.]~GMOs8nbgZuEؚ-(:puEvQ܁gQƂ; `^AX3;L`FO`b:? ;H``Fv0cxB:ȴ}`^@y~{wP`ȳbJwP`k.T)lDŽ-wxw8>!snsj!s۝!{[ Xyk'$3sw w# L#uVӂbu;U+,o5vK1,ngȢv|Nvm'8팘NvFMkgtJ;I팛N\|;qLNRt;)ۙ6vۙ;yЧECYlhgYiB*e;*n\Ͽp諦;@_wCoV wd~T63pm.mPlý ݲ6RjC=5z ޽ z6)˙=r&;,+gQl9ǖ4rS1UY\Nrޯ >lRNrZ^NǔdKTB/!x] jJQ]BFUe%[ZB&.*aJHWBjv ӳJ93KȚ^Bvj RJK*aM,aq\ KǕ,Q%T*aUx #JVº-aC` KSBːJhӗ14%P>e O(Jhrm a*<8Pb㾫bo rxlٳp9P"4{.£"mExᷥ"6RW"QU"WE1ɋ_ĴEL)bFv@3ș^iEO)b"&Q_D""ETE&Eԅ`-1"]Dv":=ح-bEp)@=dyo9Xް{1p!' Q?Qf_!B(g[!-n.dB  )dB* [QȸB2qi! I*,$ea!yLWȌ*$kV!sg2oz!y,L)0ʼn,XȲBR1ʨBV*&u# Y? B6 -ds`!-l)dǐB: yL_Ȟ򄺐'Te^^r/d~\^ǡŸ)P' /co] ,߶Z Res! o(`d]j U0~EeL*)`rqɋ f/ c^dg0/3 O+`'Pg;!ӑ_[>ڒOps>63bC>\OTM>cW[O\E>34LYϴ|/gf^>rɚܬ|rg73)),MʧtR>'SOel>SϺ|ևaD>O|OO> gW><18V2g֥wt=lqOQӝ'ıGN<Apy>r<9`x"!rٝc9v0-m9 kasܐCT}rWC&aREIsH)!ui0sQ搕y9̛C^V ghf45Ҕ'P1)UsXC͸EPÆs<"a9l Ρmh9-SIYϢv|u1Y4Dg8:,e:<òhf,e;'YGGY< ,Ndqz/?⣀Xw78M^G'w74^FϪcЋ(_D|& >L 3d&>3ߗIL>IpG&2--ڜIԦLndLe2&ՙ$$"L/dLf-$0 3I޼Lͤ0+ų2Y:#e3)Oͤ"%UIN̤fb&2Y?. c3QdۈLچecC3>LdL2yZɱd:8fc=e[ 鐹d|62Pde{&ϣx=`Odx ݕA B3۞A "3ӔA b3.L yUSWf" fd0{Is2) wA r3(ɠhNKfgP23 Vfrj3ڄ MȠ>614ɠ92lˠ=4^sdoM#iTNM*95өN]|: itN5"t O3$]t?0'9c: < m:4t^Vy{$sOIۧ+i^N4НL4Ϧa:SiJ| iI#tWa;ӈؑF4lM#fKMiLؘ4H^FJuH_FFy1gi9KҘ_Ƃ4 Q4?%9i,Ʋig2=UiT694'qBMilIc4G#"ai McOp[8`NOqԔƳ4L.4^rKeU(8-G2Gm[sVG9W󩸾L*Oq*},#J%TS ٛݩLeT{*ݚʸToNeBc* L^ʔTI%*ZJfY*%+N%(E,O(/ydRʊYTH*-5SSɩ4$8!SiJkt*G>*ΑސT[Sy2(CKw*ǍLG*rFˮwI%Cs%}숣Q+wtX/>qԋ8:;ڝufۧ4~%)^LA*) y.gR:) =B) ۗˆ)?¨Rޖbk)mNa&mH!>u)LIafJavE YS[B@8/)MayV SX53SºR0)MSbk)lN-*Q)<))ONSxQY^Q2 iF@lkzL؞d"v%31;=حLhN&aS2InHfj]2kIN&*̕)O&gY2%,Xd &dA2%,I|N2+3H:=MM!9lJHyB2[c>6c̮d%xh2B9dI)s2Gy7LɜJd^%{2ݒJK2g=g\ Lͽs?|Fsvc1c>in42?^f0r7p}- WОKL0JD~&p4#IX'1$Ob$"v'13$b'15-ILjJbrcS>$fIb$2+"$&_DAQEI'Q:?$VI23ճX3#ڴ$OKaJhĖ$Z'=&$:G';"#?<'%qؚđ$$_'8eLgg<8MU$^sM e%{&sFcCЃ޼:ƠQ^JDz" ~%D /&2D|Ox"t" =Ȉ'/Q{z,kK$n["[IܜHҦDR6$>鵉̬Idvu"YɮHdD%pi"Y\҅,KdD*YHDjf&R;=lHIdSR"iȶD%16Ǣ3*}#ybD"C9C9qDI!hH>W'rAD.)ykfLc+?ֽ}vDZ0wԋ}ql|78pK>5x6ŕTo&t|90Nd%`~&J5žH "&0fW1;ݑ $lM`rsɛ1%0sm$0* ',$($Pʜ$@kg&.=6NM`Srؚ͓ M`gL$72x",x*81'\@'}8mJ%^L. \T'*+ 0 k;a.9C*^ 'uԊvG`bx xǣX#ewmqx<^p.x_T<' z6˱xB3P<#?{ϸxƷϤx&ogJS<IkgF]<k\OvU<*㙿",*8xJų>ǰq8'DQ;qq$n#%)㘶)☹>YȪc8r+ȫcayX4KXVG8*̍c8jX7+30=M<%8%Ʊcbqq<6.cx2<#xzXX8>4qNj>q+^q\8qY8 X歉%*XeqY,%R8b̏*/5b͎e}f, biXLuJ,'ҞKg|,Dzw\,cyrt,"b922ccy6$XNb@,g|cy;Cby&w\ce]"-WJ̽Gn?s(mbp;c_z C^\ ~gc|1/`}>acL O0p QcD bCc1L!-m1Lkazs 370{C Y1]CnM VǰpU 1,^Jư|q 1Z1ưnn Y1læ14OeZ RbhKcR ǰ;.}1<16Q11<3"bx Ccx10~1!1n>˃cx=kSp]ek!{(sjQ<Ѹj4|3ј.DJ4/Gc~) &hž&h4OE3P4cDx4D3qW4;IѤn&9MdnfNC49u_͂hVES2%є,fYI4KYYMhDv~4u94̉fcf42iNfkj4ۧF#9͞ <́Sٰh dp4/XyѼS4y3t\F[4﫢"wӴZr/e-4H;~lzۈ~C}3Q~QhG}' +Qx^FޯEw>sQz:SQ ?gu,Gs8'?Q$brgSڣ=(flbVSQdob(F&QUFQ"Ҳ(JXQEeQ XE(ϋbCvQ4͊bˌ(ZӢ>-)QtNbwB{?>'c8<V*gGFqbxB8mLP8kQagWA& F+;#HA2FMAn} EP65,deeE$%)`mADPƹlAsf[3"؞vN`Wr{#x˥)|/q$Ѿǻcp'p^ z.3 1‰8gÉ>N̑p '@83y_8Sv33pfNpi g~C8u,ZNњp) gpV,4pvQ8u41'pdӚNیp)IpĄs,:gGs""S#yqx8gB9g ՠp^ p.{sUC8z>-O\K8Dz=Wy'1A CYO|_ZCr0 aX_ c0FF az>a}&qOw8ODIHFcaLc0fm #%Ø) a,\FamkX:eaWQQF0V/ fqa_Ɔ06 c0Z6+3caI c_RO$0Dž00 a8"xƅan}x{H׼¸}&Oa| Wlcђ{*sV(so(i(EP~ǡ~{ t5߷B b(B >JˡJP"O2Pb %h( %`(BI~<Bm d2{{(sJnS( 6RPJѺP :U eey(B. ePR_4Ҝ9lJ{F(;Cm By<9L  噘PPNGRX(/r>8,\4r) |Cj ]c(ys]( P~ E(پl[{#Rqu\?AYOB0! ;!^ !Z!C~.gBx1ѧB>¸gC,#!L:'C?{CHŒfuBvk󶄐95.JքPVŠ*WPUšjC[BâC؜–y!fЖBǬ:g+-SC?%''phRGC86>gDžp":SCx1"3#C87m5 OX?n!ᘅG,L9daړ[¬]2;-d[B^-[PhBz eVPYešj,/Plbk[hͳ}l vͲwif G&[8`x-`t3-eH FV W,`ắ-|h_xX|/4~jk s5I{,Ñ}B o(gFͯ >13C3>{L53C6ǎxLf"_1uLfƝ2LzLfRI=hfff33{0f&o-fm6x,7|3T2SSafr3l\jfb3iYhf[\3s Q ?@bh{k$@.q!y9/B N\ |4Oz(d<H@ d@rw`{ [)ldɦ@J6RVHy] +R&5U]H]y el, dӒ@ Z d@v dOf gr =C<55Ɂ<s  46r>2 \ }VH W-k=@~G@> @{ U{U t  =h& HŶ\lcߝMws#B7P|˷~__~Aaǰ+~ G~D~D#OʏI'S1i׏~t1ݏ6?Qŏ&?JXNJ:?*kX]Gj?j+[Gr?Kh*cKh}9~cog ?qdGd?NLTq&Əs~k~~\U~07Z?v~|bCXWe]]1δwv](4aW>W> O|> C;> {ۇo0^!Uƾø>Ľ|I}H9C>L?'}Y0w!Ç;|(na&7PއU>ck>Ԯa}}ش̇K}hYöBv,#χgg,><ñ'$^Ëq>+c}x5ʇGpioa>>|`#>!>ˇ/>|5؇i|Fß>|7ȇ az={Jek_L(3 ?p oMxƄ _D&?7ayD5WMe"ȋ&\01ؗMLxDi'M$?gb3&ҎH̃&f01q9{M2`vEM,jDYM7j&VXDJWh*3\bbۋLعĮ\{sL<>ā&4Ti&jd'MN0/ǚ8?ą1&.Fn0WCM\ 6&>0񩯉_L|a4Oՙ?w 5k%\=dMc=Mg?q'#6x|m!6_ HЇF ywb$M#0qH#^42)'L}H1#38d$I#kd.#FuYfH#7Yhde:#kjԮ1RWeaF6/7HkF:7k6dCF0r,ȳSbd#/N2r&ȹF^ghțF4p#yj #Ͻz F0?j?灶S'Spjgj` (b@o  x}e_@~d 30⚁ l ꒁ}@9H|@ R|_<@z~k?x?vw=>H/7{L (o ›09ap'6qxq t՛3i(C:WtaFǐJ߯uJtcG:F|#=tDc[:]ΖWǤWt$ՑS:?cs:f?#is=#  X[t,Qڦcy6XIGuԯӱFǦ:6RuRKux}JVSIe6%kZnQRפQIc:%[jQVRI %+WdZH<;Oɉl%2PrfsiJ^)JޘIJ+ygwcJ>PJ>!J(:H|Jɨ JߵJM*?]@%̥N ȣ  (R C_xM(N (;֯ R_)Q*H o+H S^W0킂(yVd` r+;` +X|P',ۧ|TTzm ֵ(X߬`&6(h^em5 vVRc v+طLK\p*8x*x!K .LSo$) )>Nc|Q >W#|9LWVo|/CKctW R=H;@Jk"{n4ͺs͕X~k=Vmej{菬Dj{ļge5+qWĿme[Vߴp+S.ZzJy+Y񲕌>m%딕9[{jG谕V +_Z2o%Ƀqދ5~ UNmc=WޠΎEE-d-*fV[WR%bumfMMj6h[nͺFцx+ذvVRoƱ& 66Y/&֭d@-֮If%olgmTߦeUٺj%v*omz[~H=?&EH]p {ۑq,Bjdd ]!N 9Rv)z R',##s AEX/##kAwDd$6Jd~\_' `c/lCp{Ͱcƙ^pKқzz'^!^^qݯs#}.@wϻ1mn .FqJ#襐tvwb>)@w>1<1O鎛a9?b0y`ljc~~¦ HibV@l w{/+.-k~z#hlvguwhv222?@ꁼWH-cP/### Pȟh Mܳ $tf/9:]7d222 $222'ۑ yW$: =>/q}E*3z/G/H~?4Crخ]F0ܸddd~rH=?R_aw>|ҺY_g:G{o7 1I-lbzwQsk.g8浏ڜs tn;Nwݣ>Gzgn3jmݙOހ;kN8:qۏi6GA'F E_~gq=z{[_j|A NwTξ[ @~pG'0wGn9VtG8ݼ oڮtbGts)Tgy6YXsp.FlsԈǎzGi~(։b3bcq#;|j$2wxb]OڇMy]]b D=ҝ\5zIFכc ׈s~[_v>qVýdH{Nm|Kh7Q,i5gn/v6{_:ί?oߵf]>s>jΚ5|koAgswqhw E7?bٱy:ͫt7쾃q\qziW~sY3>x 鮞^{[{ctU:xo@|3?-;hy+~Kw\o׮/fၚ?x6cW oeoʟf8~׷ 7hjG}zog^g]o—4k'onϋnΜC?^v~jYYƮ-/V3x8ힷx1q<o[NW_fy.bz^<ޗ7p[#>i;/#N1xS}~/k{Ƨ aYqug홑{||/ૺci. Sw9\;\S{\f}x8}~MO@{Oyݽ6nw}o>~''n޼1ooa,j7j⿃j33c9ٿyư-zM/|3+\g|;Q[/v>`>[Smƅ~xlͺ7\|[?Oi^=.G>U+p}6zgkjq޼\5v\z?{ϡ_:j}wC4׻xS_kħ hnqo3?E{ _!`Y:?o˞#m{7g>/ig_+>'vכ={o-Qlx]/x;tW7o}qUcumEg|u]3Xoѯr̭;\Cs@^8U>r+ljYMy}s >*?W3sІw4#VN_@zT[mhgx|p[f97??>㽈7M+.]|ly8/g.p?mFy;6Sҕ ^]j5{prj8Uy>X5T[t=vgzg7n7M_8{'Wzϭ>z-ٷ=^Y{VOxӽ9_}m??HԿ_ڻo5mo͵OzG^8j[ 56W1Mg|3x}Sͱt]=?f~qG8?ai}N?_xOC\Aj/S 4 6=ǪWn-]i׺\<ν7ec/[>ԻΊmn>zG=o/ wmߖA7|=7vmvη} bun3f= zދ;=¯Wt[G>j7$_{j5ð:sVϨpx)C/Gm:}~%n<\w~xo3Ҋ=x/v37'?oޛ_q?moa?kk_h_\&kG[9Nǭv|nwCn㛯<qi{1֌m\[]wvܓsӹfcufe_|xP'7O~yW:[n}Е:5^z8xԜߚk-oGǨ]W\|4{_}v6}~bpٹ8ohn{nl_͸׹WU[=<6Z)>?WKG/0<fϋ?]x- t^x.[=oǍ?@~o@y1ܣy_}|K}o9TĘuK<޷5ߝiOuoa nֳ7||7=~׷8Gd&8׽Vͷ{ cA_/=/:>ߋ~c;wqb.iՆkEֺU|'O嚷q  >+|Ҫ^q:o81Pw}w^o=W9t?Vu{ ?y \}|Ĭ?fuxf,#Gsi8}^zo\wxw5om6~z4Kx~}9aݘ_7vA _ _kOwk"mO }wgOw-o >?rCpg:nG?&N5럠ݿ~W铯#'^ =}^{8qs7޾' _)lNx5՝]Yn?[X ou_AhBk7N=;z?-}TM "zq7wb75׽|y鳭ɷy9ӽ鿁oSC}kZ\ī܉W5CX+,Gi'o9?˻Ig=w=漾U ~ߏc_4=M'x;b;>wz\q7X|ã~$Wn +`ƍ/ O<ƷW3n^@/_|mC^< ^/Ὀ׬x}_ Q|C?$M>v_@{Ewհ>j{-> u|W^x?s߷ozn[^]_i|cngoXם{:NY^> w4?}=K3~ fqZnН"ߵK]> 7 ͓wwwyo>ˌC J{w1|ĨT O jջ0N6 "?u=n`]3j;GO/P}ǣxhǫ9u/!z:qZ|yY=vxq7`QԳPK\xG0u7 +~{][]ܹ_uozr+ǿV8 'Vy&|.fXM\]'G> ݋՞5SԸϣ'v:vHg+?Ot~gQ^D }B ]jZ>ük'͕.|0g%߆"AM6׵Ӽ 8ozeԄyU"JUo=q^~_HNqz;ځ;>^}Qg=w-/ri]{ԟW K;ք/yF\y Bӵ=we7SS;in3m?}Vt~֢f!.zhsxыD^93 --r<ʻ!.yӧyjN7f6Lh]k/14kiAx7'Hm y⬛6v.ʯdt1G>93w -uSٻZi\Nlzg!="oˣ=9 ]G9ZN<oh^c>rD?j+\9'{^+'+pM.xk/'E>. Mw쭘5^[\B G/g9j}9V3CzQ;gŇ?|h~;wΣ O9GUG ":[oϹY'ު[5jG/vAnP]El340>jk ^+>KCWƝq؋8u|74zW SoV@. rqȱj+&‹#!<~q+F#Ҟ3jkg6qWϙ«5A1Vr? ƏħϞ+h8Zǵ.܉7Z#6;Ws4}s>fjo،?0. _[!qO14qS`ΒVu덾s[V\sp2z+kOb?pU. 2>j_]:iT1w님8>M+ݣ\[8X:>pNp/Q`1=ƴ[xmKxp^\\\&@M=䣏G@]hiĩJH]e\=;5Fl(>ǿY:NB\ht^(>)sՏ3-Ҫ7;0V=sCz^@VfC5S~;^a:]tA]v{v zM}o:|['?=LCq2O{:9bl~CFܮjcGͽC\g{#/ MXӽ}V^KcړjpCyЬ9]Sb,v2ܭws%=;ćU }x[inl7'o{yKp~kjo^ 5@|hC]ڃ_8> uUg\9ߠO8P}G, kC`^y\ù[rnkopmj8o[>NX|{C<8շ@"n9N{gkUmٚioPVj^Ow=;fW;5]s]8yN/xK__F~sEz2:՘?88qg/g쉻Pyԟ3Z$myHzNO&zɵC!z̎[y}{7x&>{X=WOi83r;qCg[{<ЀgM>A;yጻǜg9Nzz/-jC:o\'=/8f_ζByCͳvS:rkݓjxw;Iyz+ZxS8*V+Q?SɯiO[C=bԨ}+;==^qf\<Ց9.4g;SKQO kjJsskf0ow}GDк~cΫ ^WQ睓so$ qs}מ'?9p^|#u*KqyWF.AO\<=kɻ;UzĆG}x;}='ӃOJ|1Wŧo7k/<5CJ=0ju~^w[{8]BO#?y~z9G}e~W{.ukUwm6֤: T/e4݉S3~Gmq1WQKhyyBЁK}y_yFNƥgOw-?`znu;=kG}94ZͫԞ?)g}R,>qW>}:F\9G} o\7.Nřx/Y>VK;s-l.췒/kqj^ܨf+D3VrS}NÇ=7_£z39O\pZ]3ܴ<}k=4~އ{ԙ>]yWre -5\3|{1={}}/jG9U'99VS^Y]k'NMTZ^r]y'Y9{yǨߦ'zc5wH.ǮS5C8{2CB P?v|9G5媃+ʝ/| s{|{D=wаV~ٗ =Ź҈۲8&j^'y쩹=#]/'>P<#wήwpT_fw/ubGs[_5iU]=wxm[n:U'w|]|i?azMFϷ{z5s^]Wty뼼=)xU:g I{˝h.t~ou]S}79~[}yOg|˝۽o} ;߸!vLmԣv;X>m5;fssu8#I'ssNnu׽ݧ ~'׿Ay=?翵sx;5MsOo&k׹43oyx{{Fo~X[K7VWOǛwZU5kõwxmFm׾ai['w՝W5o؞oݫ||Y֨Oغ#_g jp?ԍSЉ3.g8iX^ixs-Y/4Ӵ>=495QDW,AkOQkKM# 8ݍ E{(̉ݬ}W9%GTZA1'gڳQ?z`=34ԻKkI4v!:qq^{z];jǿ;ܻʚz{+㣶|#F,v^qi,zog{!VyN _yԌIAxǞTbx8{o\G=wjE[{^Oskg+0Aay?5gYz:XoPu߆ҿ']|nQު > ^qb믞OSKwgqZ}x[|~38MG@}G5 =#?cCpvX\55H<1Bz3[<\u.6>$18w,gz~7] D&k34{CC~HM.Yo X'<|p yƵO$rNp7kv?s /Ԣsi#goEyaySzzFsf'|vw<[߽kɳ~?݋9t:B=zϚt <g}a=ԁ^_;8١7ȓoyw-މqP#^wK"yyƬ3>bВ y%✙;@._Mɸ| ͧWCE-O'b:#>9}y?)Ǚ}#lEqOpJ{:?~ W_yj+}n{D|$זf͐fhk2sA5?7ݮ_yOu67ƽO?胵sk|?F?㟅{ho`CqBKs{\sUc^u/Mj[͘5qGnFL~Cǿ'_>_;P5ȳ4'bmڕ=f+\0,$wkyyƣvgEWMgs@>vF߉m㜺w'۳{ x;ymp*;`$ag}s{1'scwQ;} suG־xvM}cCoaw~>W᪻qY[z-8g5X> 7ډGm}*5p'o[[̭=?jx?c=W1419hN^ =[c?~F <z>/oDž> xbXwkNfU#}XO/O 7te|s됯qDg}V;]YS_|A{?=~ω뾨뤾<4!̀;fY;]<vs8+gj7brsflŃẕ<8άN>>kONq'k!oՃmSyyE,.݊_4^ƉX>Hյ{CڃZyPsP}k:o|Z {[9HSĉ ;wY~g-sl.=9bcw M u5]+]HW|2]=p4sNh>C~P1O?D5q?ϸ^Uw=[ҷF]LəEߪ|";|g}- j>87~x'4M\,_c~QQǾG3csvKkc7qK3w/qݟ,MG3bCi~pi?xhR}~_e=SZhxWs?N2w;(Sq<hߪXuW _F0Bљ}czUy_P:yLPOxz=9ԬQI>yb߸e-54q}ͫO\~]nsN=μ4*7|7S>i՟߀CӜxA\Ƽ<O=sNs<;e{N+?w11oΫG}KC=Wqgpuk125͗NwE],irg;aNG'fǴؑu5ל::[UW-rguļ;WLY9|~i'x}4718s^P-s맶=kVuԵO%݋K\B?f;ڳ+zKܠzYwgͺ4/k{ɝoj5j'0O OzGBNff7C݋qݱ弳/O'k#gdv;]yNqo֧9 |%?g1;{O?iZx쯻Tv͐zt\`}6usǿ 81{Q_+[sow;gx7ncy~Q{WOSw[\޸uyy}*vA| )޽=] ׾}~zp|o}vgoykWouV_ cW!qsYw5ykj7G_~j{~>+wK[܋[[~y^F=s^ iKw3pyCZ=yԳQ:߿w~~'^P5?cwa\dcpp?o7j^ak[?i&jtUs}V{|?=u"vǖּVۜ]8;5;o 1j4:Oo2VOy@DĬgг4GVG-ι[z_K .AK<6'!G]84yx0j`xS\O.w06/ͳў>&zN.I^'f~o-Y#pG/S:ik_R#.=G '|ZУ}. *.W>y>{Xg^qh䯷{!%?`#]<8D]Sw_䝊't]뢞w;wosnscjoyݸ |ϻO3NmL67̛9Z--qu4?si督w:jy!11{}&t~孉wj&S}skzURs=LQY^qW92uYs]םϚvwֹg|e횐z .P}V[xq80s&T?.GN^](z u[1! iNk8~dV9k7rg3znty1?j{y۽͞9Npop)AZwL]d^]޿wi񛮾^zw3ɋz,>yP'VsU({tm̵&m" 1[=6?.G[i1YKc:?{F.tߜr!8boP=ם>>ސܳS37 >r|^} p[189P7?5sʭ8;{d:w8w-M^Qq؛U }doރ=KU=|'kcǩ~@Dq"OM~(j^?ޚ]K'םO?#Qw >8o`(o *ǿ?{l{#7Mi#G,^`Nۚw1cW5`]g"<{Lgks?Izz?*Ʃg{8[ >= y̶\o_sQg5!fڙ ]Bo޻nW镺EZ&<)~i-sqcKi7cbs;v`oF}o1N^;QWo!/ߩřxx@^"=X:ss=x{;z䮵[ o8n#Vqw}O^^+g{CVhG_p[3nFW^F:8%T/o~7xr_aX&OuzҢF|ė4wOb?Wut@p=Ѻ}<|csf\Ũ+3Cc^<:# nYW|y.f{zĖ<ט.+OcoM~8q G<3vGkGX sJ3|p><yt8'U"8ߑmpY^(s ȹz G=+9뚥 vOx>tTM=9ONzbI>oT~w-ΪaNY^Z{u @3Q,%\7߿c 89j/ οk%9G޷[޳ssO~xsm`fi1qK|pߜqU <7ZFqu{wy1jxj;s7i=wߨ&ַ`{@?=jI{7<7x΄R3GNгrS^Sc\;O>gƼ9D/Q]SC Q.7NY}{qfu+%^K?ٵnc>uV͑|8ڞs=ҼsAU9'=}33Ω虚kf{#tYo:{Aި3.nťǙmIv)?ꆧЗsy|}[[֤KBzřޠwL̻1vM F36}yz`:m8/?ͼ9Ӛ7š7jzgOo\'ױG<j{&-t͓fA̋Zƭyyһ!}l.ω~_l<.~ ZhSzyիzjSjKn3uqf{gqH=n꼿n'w3m'z>w}ڥ?[{;;|䓏Z݇ʽ9}Ӊ}N{|>7⨑sXγZsz]6]O=C^@4.0jy!8μ"<{ճ>փ?5z ȥeNH ܣjS_{dzS}Z@^vu#F}zƠިIS\N\.#'r&?@~i"'{7kle-|)'Gm}8,rϚ}=C}53{(kCGonYcy }27p=5b tW_B}5U~z3{|^╣O:ҰV\ܧLƹ[}OyfiKnۼ{~}MoOs_S .}L ~ o<A{mfͽ/{P3^n3n޴Wm*wV. O5cc',f, 'z6_g~E~Ό5 b#8&ӛڱ1< k;1jWx4ԥgrf=Zc܏;yG>WwH'ӛ5D}YϹZ+]N57'b.AM譟ރKzy~!JMW}#/4Uc_Szhӟ`5CsZM. TθjL؅\'fw^@x?{ғ}z#X-&zsV)_Ӄ^#0'g5 s☁\3=v|=jا.Z9ݚS˞:3=u&R8gT/{`Ae]= `R{W}c_֔ ϞSo{ qQK 9qiǵef>MsVMMy>#L5"b{T-pš^=#9GeizB , {v>y׾1N+;?X;>҆|iU;qi'8ywt}qzRR}<^U@5#ub%>eo{|\/ujz %[:f}O{bx+/Vlѫ`<r칥=Z[5lbr+ԧ8μk3]G}[=9Uc*7=h?^/1!g瓏{MhqGDխUt@'KD@M{3e^>oz.[\o|qs"nlט;ٛ{.3foكK~%bzv{jYY[{ۿ'>|l\WSc|j[y֥5}?v<9:)rQ=U⹓YC9fn}5;܉ꥦ nc?;[w&O^Vo]]O'QB7C1؟7.7BJ]ғ#)?w@g]Wcw&uo힜ǝC<7uϞK'ܹ7kS;Izwoxcszƪ=go~ho==Slk}cz?1 3n>=mooѵ>73Yߓinxys~ow%||p&>7G'7>{UFU~wأglqt<}OB|ٓ>+}շ=w>S[{Ol{oG]ynezSs77ú=^^ZjN=uѳ߷!9G3#Y#\8?pQ -xh%gZ8^B'Ҟ7>4nvv3żjևS=W_+}#COyIՓGy6fzQ;|ķ>o^Ao8'=9䚵c.yR8yވTLߣ^3?bNM}iBsCzI=N̈Q}:G={#vP1z୓Cu)C3.hsG\f6椿1K>|#OϨ_sSw:ZzjF͒_^gkU{1' 5BN=i=\Cw/zp:T|!m9C#NаOGg~Qo\x+y~K=9kGڈE=FkCQKOy8;I9{Ω7ʾ]SǜDz6jO^SoЋgL571'fY|Ś{D3?Gxo]$s5ZxgiZ:Xg-g&QJzI:g 'UA_Άq>qZFrc]Ӛ뛆{AD]eNNwD^uq6jG838lz؞C?vӧ.KZs1O{H/]jգz~zG̡7`(c/7n/{\z6W{1˷ѻAp~cm<^gsL7ckCy@-ܯ~_Ss U}zLК;]֮7opo_o>/6"^^KW\^OF$^]ѻzw?7zzgN<`3>B@ߎGnNCUϥpKjyYk \l濗B?7a$tmOGQӉ{K(Y=!瞈7vcN-xfg7>ҷW٣{f 3SsP=y*=Xݫ]q賖N~5CQ>!{.rj8yWwOknpߜޱOyV:^sϳ{g[Cjl]J9|jFsw^o;#'2_;;f1I޽y>|ç@#cx͡sx!9#Ufo/;'Uϒ^JXsS^fyRyoʩ+.z l'uU 5>C[sܜs'3 W;gzV;`_Uw-sz[rG OL' ݨqb5>'5/My:u.qnWm;?r'W}<39Kp/}orWz>ENυPU+GFpW^s=>e~OtűW9仧3==@zdtBnnW:lF AcNCj8=P]gҡN>qhT.a>Hʸ|SMQ8gyųR37R-NWqFݵ.R+Iy7O?Qt-+F&7>И>} û[Ek=иGż{p/ZhjY=bOՈg؃GNsꭋMSo?kb8x+rcxUNx|/ytMq?~g>m bQҬ^cjV>sogf{0~Բ7|*؇wP}'^M=t7u7w)F {WroMtխa,`v\{⸧ k!Sn'HsƺPS~^Չ`ݰo.upEit7s@HBlB繝ڃOո`B*|L;χGe}CXFtuM=ߵ/1|jFO~/O/n/הmWhO`{ 8_KIsf=tqK.(/zd=| nΛ&7wuu-l~G,77_8sBZpɳf+P㹫Qol은%.Oo}q͜XwȺy&{G{x7\3#@h:}}yM3>w-ڛ9}70犷SYq|gQs݁{[<{9ywCfnzÍ;7QWy~WĜ%?{szfHN^>mК<\m]^Byy.;g I?n ;c8z{ǭAW3wڵg-gyv⬞g̮5k{Y=yJ::i&Us8v=\tV=k8˗yNdFgh/grAKM5z+y9_A9;{w< 2ހgg>Oh~``E}ג~mwJ {)?~@h}:Ѽz׮ne k' κ]1ВS?wy3 6[qY<wM[S^[Qʫ7|NݽV{E{dX}souNm.u8tVWH,_BIY '䝨74|D5Y}sv{=x;gܾZ 48ɉ-Ի\|stO_PgoZW<豺k~ ^.} 3jwrs9f)SyiN\s3{)7{}a}V.t3gިG?c{^#߽Gou5~C]c{8[(Ҵ~x&'q4Qx#yN?$Ǔ2lV] .44s z9ECC~,q'Vz$?~W}|ܺuud>iz^:⤋fU]':W5EsP\ ܪ'b}<5 >5õ7jgq<<bzx5saW/O~y0bǩxkrԐ ]G<Ԗ5KX| ܿ<ټ8grqzhh~~k[ugB XyևfOKc|&̣FhGMbhY riTY:bz}6b7X;=G,(rߩN5Q\}>6<8듾z2w{o{Wn߱%_!\䮫<}/jwS߃cݫ=><.a/ p&o)(g=GzyNĉO]=&AڭYDtz?ALyr٬kntZ~5O8|GW$\:ڜq֦FNndȸ5YWčsOvݧ\:<.4wE sz~;yHO׾CКgk}sb7R;|uzq{7v=߫i/d~5ݟ{&x9g陵=n;*v>~:{?~hS(Vx|'M/}ƽz.4힩VqBzK|'SϚvw}>xess]Cx˝xNOn[9X'74{/w{W;(NA߶c軧9OL.;s[OsOǝﻨ/Γ}ml΍Ϟw_j枊}gɹ.c͘Y:uǙ^ 潛s'os>{~oo5/?TO_8UO*^|r;\hٷ5Gwr]Nz}py9{A5g6b;լs~W9s{pxO昮8ؽ_3Uoi۫ޅym߃GvJHsG}}1xxXpMQɽ7zՍ߇|y5KVިj[w wv&p/w=~8a.p/OB-&-_{]uӿroP!jDo '?b^h ]Gn􇆵)޳]Y'jF,X-|<G1 ƻܻws43[}Uc ͉O-t8˻0Q}O׀99+k1n;>zfm3sB9#'.}^_|v՗&v-t#WsU-xhM(;8X}oA;-s{j_V~7=Q>XW593fsʡSuq@\g>/?>jZr72jvz}r9+ʓ=V9)'jnԎc͔&z 1FMǸ;45gohF@\gq./m"=G}ɣFX}gOݘM['sf詻s9'c١ /ds/@/]+:O]Oc q㬵[ƃS>F|zbO9sW>9 =u5;fyhC-95oursg{#Y'Wg}A4giQ'YoڇsFq38y;NڪӇ&u鋚KOob}yۨ9}9gu95pY{ګszp˧ f4mSߨo};7S/{sϬi3w5~Owi^ DդǙq @89W'"vte{qLk/Nۨ^QOμCrt\sFLkϜwNwwD5pO R^~ ߥzZ3 Ŧ̊uqwcb>wq5"-7o؍ޜoy<&\8}{/Ng_j{O5h>^s?xrz7z'zď?uHAM1vd^}'G<NOcs߿󶗰}M+ބͣwy5oxz~wl|=}oGaݣڛOj4V^wo^\3E{aһ1/O+{΋[yb1zcS:!t_5&?6?Χ?}sFؽ7׵Us塚5'w5=OK.:o|GDMsm֌:?>u "}ħFty5wK?K83~Zy2S}G9/:MlNyIoFp7iLϧ>xu3Tkh>oݍߒzr⽦;)OM~7.t/9n:=ińMK߼>cyL tJ/OGM;=waxCh]3N=NY6f]`w^te=?އ~w8^г}C<>x=YzL9w{[wG8I5"Y\ڑg)}~^sKKq}!-VZiݮvBgti}sOT4EbZƈU:v1|GSƃ[u}ěy:~V/p=k/ϟ|wByQZf.>N; ^g_ѯb}ip}')spQ8 ø׼zS71m#? 6ǓYOԺo|skw sS]7-M/Y,xmsEڊ^8wqbrgQx@N8;g};\_눡2I}iCg$zsQ7q5:O]&y?>kԓ+6.^k/;'w^= ZV/'c쫓}'ԗөXfJ]3>N|)NHNZ pu<[_sj5zW#˗7v[WB<~aks?8{fW{Nt|oɩ'xւZt_Ǭ5K^ h!Mz^>}V;PDtksbh;>kaP@S_Zwh3bfSS`ORs'<4Ч5i3lhGrR{|N..DNVmz9z"?u闚wu1ڞ% 1g+5#8߽>5Ꞅ{zP,逸67yiUӃ'~K;}=3O{dgr,C{F\X==/{k敏fuOm1d#N߅57NHC_͙_L\8|`iyI͡<=svpuUByQ7O~ U|ޓއ;餦~UڈF=O}]ywq yg=xUk~s͝Z]=z/}sַmouwE56ٓ]r#;]]fyBK^G+s[Ț~Λ g5zQ﫞[跕fa|?dM~_`=t#`>{W}SU];/µ3sǼM?`}W}]\W<7 {K%W9ǽ﫜ߞ֝{һG'Uym1?{-o.Tn܆4{ގ~/s#SǾcjUO`Xgw4y6N4}j1'g15;ō3f c_Ʈ'}4Nu7k}kB8pѻN øOE}O֣&-7|E'QWM|o^BX'S3=zk;v.ro}##;󡳿SDOqRSqW:WǻhƬW V?t(`os< 4ģڏ]_?4Yk^q=_jݣW-ŝk>/zQ:;3g'q̞3]WT-oD|>ΥCo\Ϻj\(w;P^0C[5i|j~izB<3G=|CKfϰ>Aڊ7 kJ3=S佧OhZ/^\x mqon!?{mCN߼ְo޹i=&޸7PAG:O{O{NKO햹{Gډڨ~Y=9cjoMb3kg&}Z9W=7w{u]O$zշ61yCY.W޾ӻ}5l]N}}j7#9o8w]QS?ѱ<YWmәGwޑkԓQiwwbwY,vlgZwHmCϣy>o׼jۣsTޱMsj/c._g퉬>퓚{9 y?}g`IW>|k~t1]xӵ~Кmyy~NF=%;"Oo&q(6ΚP{'\<ӫ5FqASGz{}ɝųYwROqw5z2k毳|mV9{7-w~ꅎNŨ3UiQ?|9;hzpM?ރAũM3[3y].Ԟx2o_ꑇ4s_zOk~#&.3oA"+EByWoֹr,ϒ&=Nq5g 0Ъ\2<:;m[RÓ'jq:X|wh䣙>F'xtpN9;zsfv;ZkD̈:SX<kWB=xfswݑ:(#g:U7}S1GoDnP"\ļ۩%ߚA~:SSzt~P?c%Z'N~YzU3Gc>sҺGiVOhwrG_py|#ybhVz{{?v}Wzv5zSy'W5U3t7/bCt>(kw8K }+.BO{@=Q\qN{Tyc` @GG. F~/MruGpE}]$xᛇ`<{g^1G@.wegՁ!>x?j-b&ꦵ;5;dp p?t/뾪=xAi9ɹ ^cұ˾_9&ITpj\y2~hVmf}I}Uw7N{'4Q">n87z}[\z}[y[x3kU+o)|j\{=[ɽϷgk?78]As8Zzwq, }P=$|Ş?q{ nX͵_A9ooZy/uSҿ43:b}{3< {]W7N5L-{U'k;}Kߡ)oWcЗZqƪrrAkb6\5+uk[n=9/<3?l_@ӿqD-1{3{=;60>UW޾91=N(rg~U"ASgV-{GEq@gpgCΕqd {f,]r'a{N x'Աkpvy{>~75}&O]C/GsLϙ_)ρwq4=)?{9w ?eǥvP\קeqxYPrKy?q繇zytݤ>ФgֻD}2?57j}٩ymށ)8j+Ys &saOrq= >{8?NG?b!ٓyɻIw=o5ųgcg~䈹;Tj{^{_㞁c83h~#ܧbv-sw+ z~} :{s1Kn~ܵ˼4Mpϩ}Kk 5^䤍7b}늣uoA]w?w*N|/?^fi? n/ӓ]&/Lw]I_XTW_>ZZcϪ# sƷQDNӌ wn"Ƭɻ]pj됶sy<os6l|#'zm~ok_ ڳ/㎾ 5/{z'iG~qD[zk@^~į{W}Zw~V1`mG /?sg;ğglЇ6{W1G~|fɧy9 !~eI8ɱp3zxX|BO/k|oc@C̦&z<>oXӯy]O>bhIZ8^xg6_s}P>Wϖ>N_5#9$:;yN}6zT&^{5$3pF3xf_bfkMgq쿽W='{۱y>ZrZQϸ.{dOy>r,U8O]#_^Ғ/o|åwvʾSiu 9Ƀ; L^ˋ'乻^^"W'6\yj֘y O!>4+,ħ/όyG;hQK~c^ȸ5<ًMЗ(N^|Į5+S&GϨ|e=@-҄k?bsWr/Գ'4׮>^Z\՟sLBߙgC}lF5>M瞽s3z+g_iϝʗHN9{F_=Wu!=>˷f#ߦ)g+6Am|rG5f/5Sg hOѯ{j֨{zS˃Ĩ7ryQϳC&ZC<K9̳|{\~q-8?rf%jC\4).X~~j} s/t> qgG>w ?<W0gJX;x{7o˝~|6wk | m3A[ğƳ_=}L;?[W^z]w<.|{m<:۳_;^?^+=~>.m/Mqy_#{E߇qwqW/u[,ĞU}o;{sCߪc _}㫹oܩKgf}}{ߧx_ S7į{wӜ|\0:Љ y,ً6U47M͕OsfJfC3y$/ԌT뾬 !q)4Syj9z[_u ]OIdRgB܉kDʚ`Zz(ZrYCp|Y"*gz+G3Nҵ&sGE3j*!11xixҤg kr5̼bgUc7UzB=c>{Sx7w߯jzjrttWjף]3 xzPgw}|;^?.gܿżt Џb"} ET9Î خ=,[5ӠVVONٗ]!8N}Սo=NWcjk#@b735K[A';n7{\yޱvC yp:g{#5ї׼/.zOq^]xh/]{p9wI/c6·|9g^o<˷:8|g}艹r&Ew#O]5WwՓu;C78j_}Ş'=v0XZ<"r,YQCLϸw>k4sx 9b|z9#j'5}^ g9_}899.}s~nU?3sJ#2q̗\s^k5;W|o'M~Yx}o mA`wx>kv{"L9 ]ꏿn4\קo1x-o~9ylf.^|6{ ks`߱۞{F$^m^C\D3xWz7I@K ?__%jZ3 A899}:sqc޹Wjw]y<J{8NG$ozzwS.5sF{zγ73w<;5 S[)>zS?سQ.Rޖw#5Ňq]Ƶ/{.+7O޽ QgyTm4=oRL.Du};gʣ]"FM}&:u8/wlm=wr}*֜+d~̼yᏽ1JwMj]y)_Ǽq4Q[}W-w1\Z}[ӻgP3>w螎yzӃ#+N fw|~ GmzJWW0fǜuל;w '';?r7''qԚ/H{m ^ 1fzNqg?|}t1 ^1y?q]Vr޹蝺C{w-k/Ny:ox7Zi.ߓK(>xc8 8g說{v4l䏙$:ip}X{񽢴kzyy`G S)꯸iWlwZi9/~u{ӽ{O{`^+3)5/NDhPؙ {C'.gyi7.^4{4/~5vq=W!9x~}ZxϮ7^&>k~kbzo=_;yt9>+~Zp^/[zyzp:gksz as7m>cz׽w]-vlwlN~Gnל8wxwql7M)5pl^_soTt8xPUS]oxrC,MեU}{y늋_NkA5- |ssyp &/?n~>8ϙ]W%wVMڵk[\ijgĸ؝6>;9Qu>{mMW|p/z;߰oM?_?~_j~{Kq*f+o>sȃym[]|ЉmrV ߙCkW|>Ǩ:#tgo[絥{ͼͿO^o#iq7Ń_t[н4~I6_n-~4C>wB=ºˣ0gsW|KkW/;x߮9Tۈ:wJ ||5Os.:}_Dx=~ηc[!ۼotHU ۽t[pb~=q7>7jsU{7|3愯[m;՝{qa_!\3r㫗tq*wq[ ,MyzlC#TMCQU{fw/jrr jFn:sbi^s{HS%'3N}CCj#<1׉FP34KgyS,E+nx ̽?yQM:+^<_ 9x/8ZB5ڀTgyT͵Wzd,ǡS,ۼ[7O\CCZ/zǩGTw̫v1NTG|UkWt4CG^W|hx^8Ӎ!\_YTkBk>u,ۧOOmkgr{{zx{ow6GSoW<&SXR=u]3VOs׺+}kw{?koغ־V']{fz8oz^t5 дS]n=Om̽Yzc?{ϳw_d<׺.4c{}Q:{9ũgi|;n;c9[;kɹ|[Z&|A.|>׫65^{xk;n=O~9^ۺ=]{eXڬg.νOmz|9p^G>!훦k~|}?߅<7p}\{8ϝnCUϯu}w g+wN׽ [>yZTb{s'_|3y?o݆9>>anIL/[vSOW3v;soW;w|zyo}7ֻ4S{N玟:n}|VSv}vps˝OoW};4\t§Um&x _hTۼ78IENDB`weston-3.0.0/data/icon_editor.png0000664000175000017500000000162313142404576013701 00000000000000PNG  IHDR}\sBIT|d pHYs *tEXtSoftwarewww.inkscape.org<IDATHki?3iIjiAQ?A[TRJ {Az(iݽeAZڋ+).6iZ15vL`X{xyy* MMMY=teYbxdd$-`vv뭚;o?]XaTZnb"[_#ݭo++_M{*f5"8=} E5,j3lyfKmoh?QʽYq P&lhRUQ>OkW%^1`Ag|EWŋ6g 8C,Aj/øh @Ao>pIe|[ɤ) K4zgUc  <ܾ5gY"wD(_g|̌@֠ zzzF cuKdy9] 1:` 4ty*u{{6pyRCӴ6`Wp XMw066囦9fq_3t ?22`5Q*"b۶Cy~N0hfIT67B <ֻ;:;O*H$e`\.\ YJNyztttemʼ)@e` oo/>Q)$IHRC~5D" X' `ccc1LZa`zK./D"v]lnEx<- _,*wy HRaؒȻڕݽ;Q#)73;wmў.Z+{J p7Hx4o=R>vI=I̜RyXL 0T$e#TnSϹTLzU>PiD1Ff"@%*3%`Z^+FLb siO&Ӄ$܈QغPji͛7ϧ c9tH ///|_HoeZ׮6hwڟU@޾}{Y=l6CUU 2 >|Ǐxfi>}d,@ۜ띌N^~“'?,KiѨ,K6bqvWWW?3@̆ 37L܈6+w j1Lel6a:Sf~ KZc{Ddf HoNNNRj Ƙ\PPONNR`sP 6 "+.Ztv,]oSIt||l(^v``b( r*_;FaN.cSZyu3) Y2/4X b3+Щ혙-Yq@٠{Rեϟ*3?J4N(e,\UZ@!@+gVcP@Z Nf0.˕cQ*EHz͍l1͈vs%ʌSnXҩN]cGrSU]naKADPL]a(kL1B+EzEcj T$С`-Z; kLmJW[IH\Zعm@S!}QF*qbhjV0c;T!jGy@P衂TK@8mVSj TM)P@Ն[@Uj[R Uj(!L/<Oض ;:PFfjqk>w-*.7GTD>okVTfW}&5Yi)PTl:Pke: rZ8XN{`ۙn8r~__OSRB TVy~v /sN_Kydq~W˿ME ڵ\}Q*ɣ\F\XNȑ)lA\l"0Bw\mnݟ&bi(u΄ -HnD"\5ŏ($NeN ."`CebhYkUՑ9Azٖm16.Lpm[$E"5 u:̮Pa^$L@bo%riC^Cn,Zj[z&%Afc:#XsJW'"ZbQ>ߝ0wW%.̷Z)JX]Jpn*2#ؾ yh- ݾnr78UTiTz!*ͩ8̛EUvSwv]OB{p*d=;ǝ IENDB`weston-3.0.0/data/sign_maximize.png0000664000175000017500000000031413142404576014242 00000000000000PNG  IHDRasRGBbKGD pHYs  tIME;k[tEXtCommentCreated with GIMPW'IDAT8c`LtrSQ` Q9p]17IENDB`weston-3.0.0/data/wayland.svg0000664000175000017500000002251013142404576013053 00000000000000 image/svg+xml weston-3.0.0/data/home.png0000664000175000017500000001102513142404576012330 00000000000000PNG  IHDR``mo pHYsodtIME%$tgIDATx]nu>_Uupfz")k%Xk#&y<@ DVlx! !əTɏLߧi(!hɞO>unߩZ{sac=|wWGwĺSARJO y}yo{*!ܟN}uF_?Q/.{|ܡ)Sܴ9fcef%44%Ԍ3EKJhlXjbBC6WOݦ/Jɽd=O@:%{כYF(2xBMcvAľ]8vߪfcw<1f"Xz1-3 l6;j#y Mo6/ f3}fN+4Datzr|}yYLH)3{{B-={OC˪/0\_^^]팥R<$p0@GgNI ! 0&GRD7Ar(BTn![:aOQ,MoTApqY2̣xsHԝzH)bd46ԇbx45^4m< mpYվFДG?4ݽկzIIxZ% ԍ֛I)'@i)Z@5mxڋB׿(zm;uRDZ`9:RpҲs ir2;.;?UmhM8rCEEh&.$n^ٸCRʊ2A5C[=uUָVm7p;A7ذĆRFyPA=Xt'w)T۠V0VvuKündϠ0[hW` 54lϼ=*]:+(QZh\n4`PMu=u_* !J[AcbQ{ I\ sdlX/.(J)Хc?z2,иʅN\g=~ro"Gά"M/Wh=xzhj~E b+\_]^]팕`/-_(Jש)F%4YONHWrfUl7XAqUT#W[|<?h2I)=%$BL6F+Aʛcxzۈ5ӆmlr5H;u58kTrTڎʡi%Z9A$O٣TVg[O8 32YV| ״Q;Jl>V^gza/%W̿{.ғ2R-(q_W*5躖k^+`V!V )$!T`}/6" I ,6eԯsn46w|? l}`1=ouΟޖ.{_] \]̓5~%}Rtep֯Sw%3U[>sgU7g=um/"\|q[a kڶyz<{/'6Z'ӛ;ԾBٝH]gᗷew])=Sqgg\^hG%7\nնdcMWܛƊ}{D۟WaD Cp~HyewV繦/tOhڲ쭅x{9gpAÔq*>C3R*oR?UܙPKѤHRKbۍϷJ:yʩL+))5#M{ #7^ֽ,~u:n.b1u?UKŞW=?KGƁ@F.m|2mq"¾"ez*[CdSL]^7eי{H]7[W _s? zGzNwD=!rR=ZQź{VQ::& Z^;}Zv,/ŽN++_OY>:r7soQ꼻YzܿXtݡ^^U0:~8"?~]Oʆs~mz;A\Fo; P]CB~-.#UGѓ_sL jeޗ|Eީ;%]iqߨuR=,7EPgϳkIQQF.-=oRO.o ?"ײHO, ZU~3 ~2B/"*1GiEhTa)>f4fWjwVܰ,@-YN~^iiS~ +֑LE^"oa{SQ|G}!Nx:-m)ӪZ(ՓmDa)} %wTD%Rx&eH_/)tL< "Fpp&=P;Dp[dvN; -'2<{jyȏ~LLqSw+fnqAP~2o5YXveN_6]rX늞|< z=-pM-R[އz?! 36}W@\a;1}DžwBzVlzi9G0e$hG->>3qߌF8tP^>D&P.uaz"8unޟ"0"E3FЩ acڗ:;Fj{{@+n+sr iYen=OZZ2 ?({Tq/gp[p?z[|]ngolH.u zHyߝ ?Gs?CL_*3Dv԰aq 4ߖ1G$rqnȌ|1v~?o?n-̅ak6Vi!KsDaP0!%7XvoԊ2 nܯ~JxLbK-]0x0ְqG @9`dMt|.СI潧 ×Mg3 f&SlԲ|}~p;v@DdxhDŽxO/3<4!k@$aYy)>qC0a Lj؏{(12ƌ\?n/ZDA WO2Ch~0t' ׸jg7|UD@lV2/tmOS!o"Rꅸb U{_r'J>^Gƚpe@ a̻"c`w?r~aֿgy8%%%O .S,9w+"7]*t@S8N+"/i=bҏ†В7'~ ,c5L-A8DPby Zÿd!;Y?K.=naɘb~#f^?[_N `cˆp'69dR~psw3<3Rnj{W!DP s $P$ʓ6Z k`0$d`D0X0Sπ^1|eo|ۘsGZ)B қ}_ZÊMQ݄`)޵l} d&J.a$"yZ"B΂ rX#jj{/|y{k8 `e֪VI! m?~IVAE>#s-7Zk tvUm 6龎;$r80T&?\ݓtc w)y{g2 կs5A'/d2={{N2NVp)yv7 *ZH܂!i?dhiJ>NB(=Un+{NsLx`)**cr.,|Aw/e|Oly\wsL u}2lk JBÄ"jЇҰNT#"  uq[!>wc'^mW6+oߖҋǖ[zݘ{)C{abktQ,'>uɪ]q=I? `Xկ(9 `AՌ5%A%[G bl8fa[Tuk-{5ݲ~sw^B\!G Ҳ-rAOc XRV].Y;ۻmċɏON|Շ䯯oH }H+;x!VeO|<:_]TmZo+^0f{eU!Ӫ-zIcYQׄo ".RH{"s|".2> PYC? į_Y@wںER[ ~5" 9߯RfdW<4dZ03K A@XyΔ$qAܓ{ X[̟ 8hJBKc#u@.Lezrz҈=E`EQ 2?Eg߼TK8Tr3~ݣц{'WqBp;w\[d|uy5&! ``f7d敩`a hrg烈HEzW]qUǘqrhƺXi YYF>_C'Z*j>+vYRd6$K"BxF-Lċ4{bZVa OEuMrc=xzTʭ_J}>{uCW aG<Ҳ{xa2ΫMŞ\da&:h?y4"_́({,)'0܀9`@FLĬKp ~ @Oqjnc{X9P~f1;$  bXj7žY2aEhS9g,Z)!SuoFgD(z t:3qS_W{)љJ IN}\!-[s0f_ r?l 4ΊPgN.w|te|>1(`; ܀уe|>%₅;@ zH` $:9P 5i= @-Q-nёouM.I` `yy^dKh>q}}(+u orygj~2K5$~7 #s".j tw}[g{Occ/X]sŽsepy1 bUvϥ/iz'u]>(糟VrC u܁{ ^vo6' 3lސ!<;kPp` > ߓ'꠸p<ś[n)󗳐09ډ$r7ps,D6OWJ/c@GrDo,To[fI>uw׭x?t%iЗ54ۼBo_W,YR뿸'<5iL<07y7|(k2OhAꢻ񬮺_vӲlУ"[qwqfk\B{v!_2RGj_OX!sߓ<ΖفwҏƪEdb7)}K .͑qPO,AH*|n=YL:TcM |2DYS{+d"$Vp}/ Ȗ0k*=Fr)2 ^9$29o_qs+ː, gJw!Q \lοoZz֞\CAn֩vE@5"P(v0qcF꾇R6sgq~|}>!p/&[nF % &k7֭P,;"A{B"6xtɆ>RBD/i5Eوjp @{4ҴȴT%dd|#0KXMk д)yoFEkP`Z F֘B2)C;]Sl34ii Sg@q,M9&-s> ]zRdPQNtOL 5-7m ʊ{4ִsĨ*$#K0ph2^ǤkGp\),$>}ٶ/ p{54VdܥJ2lquֿ7WjݒIuNbBumL|-@|b|Ĝ?z:]Y$=g|@q/%fҏ(P=۪\{(G߀HF1C>{2Ѵ!%snhiK[Zqe%,7?$X WegX `ӝ yv`~wiޝ_qO:K  GN |O'YYV7Rq\3Gsr[,W*?8`tҪTk,G2%X%8m13eC?cԻz 2'bBvHU*ܶA/e *2#(9ʼ;b ζݻڲ}@/}Aw6nz~{pӤ4~Xnզ1kaD X&-5ʏ'Ue Y$dxi)XKy*-" q,BMӛ56?JӶ'K?d~!zƴ?ˡk!*@?7$g c6VݴZtzߔstGUF,Q,K5ʔaU!GoPՒXIs~4Vzm 6~\|{^ogEeKwէUlj`#Dɢ1+-FwL*^^.xCAHƜX'{#ˋ0-6 v,k4f+fӍ]sCoN~8謈bA<LV%`.p2I6!zRq@K 4`ۊ5X?ұ1Gjg[\sD^I]4u A7t81&d1Lwɱ!D41zmѲz}~}?3Dyx `0V xZh *ǫlpK--x[q_/S˥$~*[ܶ]٭+nO!ݮ|L|\[PK !Ƚ[n/tٖ/Y./9ñV) V/z;Q:) ! HhYM:]@(\DWa.Eꃹ^ϰg*l3* Tsi=0Y(yЄB>6ݐ܄PY$e / 2 "ۄܿAw ߽ˆmEˤحS#޿]PPVrQkx̥PyBTcUa<pp Ĭr#XĒ%ϨB` vFn\!_h%"cѱf3 V?&kS߿E8GÐݒn1!2>H*HI;:L K GCN/ZlWCD+<|y+-|: ?Wooe4K͞""(ΐ3))| n&u;:鼰debYiKhkXap~fyP+W58dsjxgc=j]W}K(~z;aH;~ igzi=npZu\c*L>AA@T*\7u"VfuKN?A1}2V2Y "{7drXGkϸ^ 3~(ooI0~fZg=naycDN6C)p6d("~X<$YG?//{9-}]7~ *Nʽz ,jkg5+VR3"|}5u{q4pd:fT Ǜуb#`NԠuN/ Zj)Ȇ1PFlSD@ɽy"hX`D dK`fÈz2{&ƼDe4_'*Y?h"?~ cK#{cx2Xļ\W7>_cPtܶ"3ITa6UZziS7X(c0} U@Ft"0:}UX{Gd||ǚj#'d%ǿǺ|Twa#O,rI;ck%l%w; ۍ텞z3e쒰F=@L {2쳡@=(@@00=/CV˷-wE_v^b8\ED>p#wƇ{=ZXpIEE.#ƅL?%@GHи .6uz1XK}OkѡqO~>Aΰ5%S!H`ɼ\&V0?gis զw +nJgziq 8\Р0TF1:*eſWShX UZjT|rbڏ>1$~V%1&g|Z *Ӊ.x&P_[/}) 3sh1S7*,’{7J1C qRB2))b Iq"V?}ELA>̚nd{WbZ[%-AR#BNsjŞO`E&h1eVDh8(iSZ_DVH?Y^6fS:6e}-S* Qwge<;܌#3,)rE>peNɳ&\0)z ߬lm ࡉc&Y!&32P0Jp[<>9'gK:7srKF;/k3KnD-?|/9-`lc52ɛ4h|!*֦/1GZlz6`,Fyh>ܲ9S +̀aL^;?sKD˗[;(Hc=N Z FYXW "?OIj(p/=+[GnFxן+~V"0y`nriBaYBQ:ayFL1\233DC2"9)12ozg*Nc ő0pQՆ3d~@7  E'O`"K-sfNvݒ*~M~:1S_ .u ^B`"#; ֎!HLXRH&d8,3Fpg(-1w/831D@1,H񹶛 cΌ?a 3r+ȖU#6T2U0gDe,1lӠvӲ]c'n o-\^|N.EA2_v_,LD.} pqW9 z\`碎{ k oL Jw N"u|W^5,#v_qGEg|x0Tv 䃑Ry?z2o04na""c E+XCQ0zOZoeˀ{@Z}3_x߼w="YGXr O.u3F?GOf =&BCL~>2&23sķ~LIDnLFApcOe\IYLl :ޭ`_d(:loɽcF7:!!@'!smCjyLFz\CUjн~g3")&BdnٲzJ~:IFjcԠ^c4'Q|~E222 ka$CO. 2u.1%q%I^z '%fJx:S\6d˦+iϱ{`M -L] ##cpEdlɲ 7z <|6].dܡG1uѭ(=& ˉF~@3d"X|rfdd|>p|jIo@@fM_G22pi b+ t^ ːCLۦYGDd>+Fq6P Lji|!'#㨁@ߐYA=@ .OCR(pK\7ê~~aՒҠO"klM6YrY|E ſö"R-ň˥eU6)KˤSeŲa{;Vzx=->m=ޟ*Röb^¶>[_/|=@oE~p˒&_,KgPH $ky 0s,UV;X* AoIx"@i#di @FF)3 ; |uHU`b'O~&#ۋe5+o"!S2[]/8:XxæӰ9? BDk˶ s&} 7~N0@SpD .1uYs"]"`5@F;IA ,  ~<ӎW*,s3dd=,|`j unhFj@~WI] ##cp `=4X5eMPFU""X^53ddE= @h P[q^Dgdd 6۟ϯ@6p9ddU뺛>V]Dgdd 6pPz͚,kO#kxieU4"322Xt@>k]^.'O1[220E;Bql}{4yt@ذA0#(;[ "YcxF@8(@4TNqD NMe1c*PZ檫8X'A0DI7i㈙2200I` Aqdѓ:Nt}1 Gh^Aߥ22#BNcX~ޛ:}t䤠G@ ?`GV 7\ÇE c 8z[e74dt`-'Mc6`Fk, @4E mƛmc 9]5R\@ܳ)o-Aׁt(0' wKv222ߜsg-f!Ms։R\|saΝ}Pq/މϬ`#@؀ `U̱ΊA2dd=|+8^MLo|~Ĩ l0XqKS"uŷU72r gE~Ę`\?de12vt"gtJNm|wi]}Zsc֠ϴM @l P]vWj,uSo'@-=^h)u0#^d!'@",WZLu|)j'֢OB&)YS:As= #(=(e5ܜ@18 `bhO `FF=%ӚVMno"+p|eA~\Β {[<<EF,`߮` %T-/ѻG7dGQ͒{84epfwtn?k6 }u M4ݟJvxmXʢq#'o 699D@SK6?[1N>'U#$"Ņ!A⹇Upuݓe݊;e//UWMsu=Zc|h(v|sgl`~Oo>@ ̋9ʲ/[Ő uήΐS*{6ղ^Q5"9Gop$pꢻ^m|S@>uk0a5VGU{6w^ʏ>u]Pip3UwefidLe1L!fD~*eQB{^n+ ù};'.. GHU y`ܲXrTmm !6w,ۙҊ/CAa6+nJ f L+g=x{wK콪u^ $3^ FdDEf+K:;I׈c~ۊMOmþwV,o>۝a{osY,B&G-䪗Zb19cz!3gK=:n lrDUAUxlL"Ft#ux{_WM^]y|jɽ[\vM)8Qz<ϴ s{XIVsh5ǝs7:6\;u^H/EC|?.϶)rXgea#d#LGaSŠ'0:A} cATLY :{ni*B'YDGR)Y񢇉X%?ȴ;ʌ͂30 N?μF$kem/xdm;( Bz``1`Mޑ%|vٲd kxF3"qEyU@U[sԅ <: ӉV;~) [XOX`ܲ_0[a]nvU$@4 Xab@K~T72wn')\UJb% vz#8>?^(FRёVV9ޗWd-.Y3s[<D#hV?i[&2~a_Z؄;/nlmyJij_uC/3V0O#5tF3fZula7q0|O|rd2WF/{@L/.Z\&?VK:?Gl΋|t5)?\aCq~h,}E"y` }Fȷdi#aϏzOnb!n? zu"*@}e=iٓ-?t7L~og/Of,9٭w^ % k@ 㪙򤾣ߨ.}Gi9f=]&\q/z˖ͭf(ZRێߓ&9=ݖ:َ?鎂aӚU:q 98+^*0u ٌlѨM̵m@NlhX@~+򸑬s9%sʕ:\޻ H <(7%0;ghL.i yUeGӉf>1XSK& RfÚ,E9BSr!&Kbd0hXhj3{7lFH:c&a Oأ^~Xz0*ƥ1yXL0^|!5A.Pr'_F?@Qq;0 Ȓi( !ȡAQb(uHj1k~;$VFRקo"I@g-V%Ĭ~_^unl=??d(ٶU6C4ƺ6w {i btbf3?\<# mۦ {\\{2k5:༩_[p,G#MC:utv[]sD6!Ӝ'h % U Ŕ}g7X3b ߅ (At0݅y#2?_djsnJɶ{HVMN4\\jLG 9 M>"PK޿9?˃iJ n0ߢZݑwmwCKӇLt3{5&aT\1:!ؙ!B|o%ɭ~ރb&!gt_y֝X"f G[tCFH3(6?kF?s0QX*o=M67D?U[,`[_?)?w|$?3q0U2Q/qZf2\WkkaRsP^: D5ay\Eya:u[@g| Ơ<,ɹe $ ` &pLv 'O5ͅ0PdFE@?hZ:fu!#c#QEހ@g%5 $됀'mG5)iK_8=\ –qC2''h7`a,V&=~:Yy4_۫v>zOyfj*b`NƿQ|1JY3'0,n>kЙ.?jfZCj]])?' ,6nNX($>OQz:,|"(C' &y?)R0iH@J.\tX'\'M@C#FD V|'.j$< {A\гЁo=l Lq BI|6 z@JUeHa>W: 1JiɭaU҇2)=,Ċ 2*nf@(/OU&TqH)^ˆg* kҭ}6) 1B,]DQbI术K$|;=[x{5n:VԹMz^X`^c''B@љBi(~}r3f 4gw@򐐄!=o?utK;V.Fʷ!v7Fߋ(Co檟-\>A*+#8ktlRbR;@א)l=f@/=}tzϴ]e飫w\l3;:7}}CD7(`zAol4+Ɨ Ff*t ~jװ>^O;I1$8YfTdd|I`fKJkPTmI l R@ h`.5I~_vվ~9?B\}ۡ;9v3muⶭ?HcczmIѫLсd _Zd6{Xg[W@IPR1l:$qlmA!3JFƗsg9 / "T:= @x#HIV𓉘BL e\#-= Ae@QXeN;UICLB22T`L'B3S)PX~혽 m15?[* #K_Ld)$tiTDU)VXW~!)8L=sɯf Tj{m}I30f;S}{ ۝g7,{u`IY⍏hn"6  Hr3NRjX|[q .'? h|`|Ba14:$/ >9DLUDEIN> + _Nv'dLu6Ket e  `%/,eHL+yӕ˰dbV]wBt 3dY&e|y2,a@fv= }Y")7R'0]!{r_xT94.x'H)gT70e;Xԝc[GMH*^+G7ԅRȒ̚]Q)hk/G Y us:mg Fw,jC O(~ M@@bYᣫ or_ֿ6׎on@n؎udlLl??j$G DSlG[ EPnI")-۲F }fA5$%{%^1Y29/BU|j@9g eRe7 4DM){ hi?~pDZ: snP|/y/5e ȅ20M- GE[6 Z :KU\ҞA(KXkz@]0:Kw ,^;wBNG3cl7 =lCEB._a[tP l^nx߸XYwV¹_ P~Z~baH?HdHl`}mF?e6C,EHE6n|Q=tۯRH@{`ڌoZx";[ ,\[ӿzW#nm{4E# A@">w_HEAX[<}}vl%Y²}{ku0ƿ770E`Th+ ~p'oDˁez#ęV 6$2S|; ?XF1f?u]&HO~Rʸ5wFYNݮڦI!0 w9& eO͵Z"fIFil|Ty{ϲ"#jcU$@@ÄL,[:HCo0AZIgP;~|1dB?o bӁzIUi 0XZ^]smUfJ?%ѽ[q^7lipK @$KZjS-6PVؒlϑ|+# V>?-{> Ų񾍲jVe8x@BDί=|@9h 84t庯g;& ،GXjK+ckvZ~:^Y/,SqEH7,($c[d|ɝ{P5!,erK3z)CYT ձuN0|uU8u@.}wtftu+|+%N!O"[aXcFoܕLE$3@3p0?JLY\d<"$T!S{ iبB} h? mP^-Gq[[ui $K2w඄vUrk []{6 1v+o/x|倍`iC+d~mo𠍗a*U75De*1ZA=4VPAxwPdY=l@~ޯ_28+U~[CBk og_U^S~+/S`:n t][DJRq=2]ݯXJ<L#pUpuA "R1"rC2ɻ`a}*_P*`Z-TW-dړ:K%^TsurenzEs+>XrPbs֠~~Qrw^-ĺTWOd5V=+l/Azm 9677fRUP!C-eb,2wT kDG&Γ(kEnuBR.7P^Pܖ*oj_ W}by{ςm;ƹWU|s͔K`ǀEh"[_F 2 "5x<_*'"| k갣wq[^ܶ;RI݃H(P#KMtN:6_fU@4>ZukZ/-{Q}?]^0Gp!#\yyR>uA^9^D^@O#F|@?r#pNf$zpfqE~l]5UϞz_blaT,&ܭ Ok"O.@<_+؊=Jʓ{1:Zؔ5A6wXc.ʤuw!9@y+:1tyٰ/b@ԋ@N*$[թ~^q}u%|#Ars^U?6>,~i8G'b Zȳ 4ncY pU-- rLK˟l[aXxF/Z)>({G <*$OZr㣛_v1Ʌ/g=@RQחli|DGOWl;[b)㠮 㧵Дl;$&kl-XFVCM$ `XK#Xis" EY(%gID Yc$丯b҃λqwl q]۷C(x_q[ a\>7ښYq辬dZ^~J0+#')l}V>Woqߞs\xXD̅`u$z@rV~c}q[ 爑zH'$k(["(H\/wi}| n:콲)zu Z3W(q X?齓t,)@N,O>}Zku|{˦!>>ǿm1|Ar]w("lek*Z˟lIlbny"+ V S7]1uQ^rC,+d,ޞ*븀!c6wߪ0(׀jߵ;ll_1q٨]=ʭo+KybsC:|L}P|V:6\%"z~%':REOVuD>cg=>׵/E??j@V$|;lI4/=$hC4a@ӁuQ|?F}>9Kgh0 2=mZTX%4cC_.='"pP|ާGL=CA+$aa: Z:mv^@A0u][,Q^6,ց1MYt(~_&mŚƙ(>\wbg\Z(e5䓙de!q=йI˷m[uY{˒_&>Iqf%`G2IA ٙ:@áDH4_Z|#9Xl/.:Q&ND!l 0ǟLV3 A r.ꗑn?z<. ^,e?jV)F DwmbL0I a&:+ΕW##YmoʽD6X$@}2G}i#C2 C@!Y 2㐖V1JAswӓQ\5$*iWq,|g~,ŧŷ ,! ER GNRҫnDpp2Ѕa q޴lJw4AڳO-.XG fJn?[oWRD4<a XZ5*(APtn@RkǷQsW ҷuŧ~_&}B`kjUQ: [,YbA!R}?~E{6tn @V}бwY[^/>Q" 'q U5<%Z=`?H! ?ݒ.X`ZȪlW=?nCM$_>># YB/>Q6H-&X;x̯ج4xSf"X.GM!NeB~hFgڶ5 aB+<!Ռ߳ yLd#0Ce8?w On&d/.?Z%X:XGB@)[Ȃ||f,b_?f ay;},\WԤM ;&3?+e8?,\rP &y⠄Lrsqzo%,XB'yֹn?a5!W\o N}q'iOd!w&·1_&CQZg#X {'릵t$2TGsb<߸}&Vl2 ¼a[ ؉{`%_U|^L,z$`{jF0@^!|!0y( 2%LQ34;M4S{q1p5vf9\#O\cDcŮnaO *Zy3u2{e?  " %=)@a٪~>OV I_HS@e8b(kES?F^aG/@__&࿵s0EdIENDB`weston-3.0.0/data/icon_flower.png0000664000175000017500000000260013142404576013705 00000000000000PNG  IHDRw=sBIT|d pHYsAtEXtSoftwarewww.inkscape.org<IDATH[lSu?綞uإe:xF!bM|'J0A#ф!(1"0XKv=kמ\}69?~w9?p߈LA< [\`gpUU˗/bu+`m3=VWW,XdYx<_9xI?NJzFx<7uqdP.1Ay]ݾV>Rѩ p3y3zXLD r%â]ukr؇43W{TUlPTj_[4TQW8tALwC hMFk8Z+XݭD,ᅐ,v\c@h?C2ww_S8 ~tzYcsvT\EţG/|$RНƻl4mի$d#X,I>ov֖dd$H 2:q^| $:5iLZTMG׺<,y$PZQrq Jh'O0T*58`બia-F-YYR2IJ,$IBEDQ Na\f (6 ĂWc%jb( ` ^o斖_SjuIm322(Îj(Ȗe;+MPsn `z-9;{#i"$aY===D"mȦ}:osE>b1.\%H@`;{ME٢(fx<DQ"njUFɟ7jQ(x]7eRRPhv!hQ_?џ|>:\VV!5H_v4hn vӮġԙ>w޼oBeuB5]j=yW6X !~3^>x}wwG^>5Ljx7Sw #3jN-HӳˉOwB2ۛ;x<Aߔ S >V̛A~{sO3FD!H 7;0ޑ,!"0ZQ$#Z3 "" .MR5y>&OFYGZ: 5R#e,i=z4w2U\fXx?#1S,VWsZI]16sel1NYGT[PI23؆ߛh )]Erabfm3**Nƪ-z4وkϔ$=>ּyr:tgT]6aLͲ99fPP5YEfc5pUƒuƦ"JDDьvlX,Z}B֚  uG\-hI1k yܘ@T M2R)\É-v5sBH"bs>uA@u %e!l24s?Eӌ4"Q㳳Vsb^&cԕ鯫œKq۽L/r27-)\pc-#BFJ9 RΧӿ||U9]7~ӗg"\Zu +IͮA 6?Zg'(Rqb0v; \q!\xx8긭y<;nW_.bFnq".ax|yu5SVDal"pqD!›.Urtzr9Ð x)ߊ'Ny@H2XD$fQm0y-*BMDJ)9L7d(u5lU2DHH`)|i2i5*!#^!/P"䥆P Xhi$B$ z#&Rؖ) oxtRuYҍwb-S .6ߑ-^ PC+FLʹX^gCL$LUker(V"lkjh]Z$ Eز (3Zȅg4P;׷}eVoP5Qf Ln>+塵-(,}r5 9 MzڎZ+da@i{h-bS#.Fů;uJ'vr.L2ޢm7M@ 7 u5]. xsS7i=#XZTqeQ"?mY6ZWo"5wX "7Uy.HҔmVƤI![d֒T E1 "b\O3ζ(pT߈(T#JiIJ )4 )ux 2d( rrR*!Q` B8J9 Db . 0AHD1*iF- FW5`&}vr\xne}8< h8+ bڭl, }+1b]F~-!dn |{Q&S``0>06Yku/|_9l8#rEaumn>}u(]Qw]``]13l ASeon>{n泲b( zW?ӗn#nomlL˗?ѓ^}F !0Ap2\./eiGzkPkjN6uXHo !67\䂬;bEPO#^%7N|扷D0#%WmR*֑LWc\AG&`GdDt-x&S?@AD (5rN_.H34A@ hO] n^&͵*?sܟLw=g?G?dz(;-AB}\J4u:+7aGv#3Nǧ;nۇrvK6.9G"wvv߼M̬ѬW8X$px $Q!oFC`f|XzbZ@:O;݃uV$CMţ Dh2 ®(0<=Z>9l'~t|'7 lz%")GᴈP `WeHd(!Xb\&WroEiݞQ:R"Bb.rqsݬjqWv!P/J" y۸T^8p  8-(!Ik0mo}N5QT@*F~8:[HA=IT޺)'fcb°/e ?Ȋf9C^=? >"!(RY$YUOq\ /+똜^y+$8~9Gv\.h4/po%3PJGtҚ`Q8{Gi!}X̊<< ^5"!iu2KJPJVPkQ8 , l9ܐ5a0/ƳS8T*^wƔ&7FAR-r~@YZ-AL|C_=WZu]rX l\?>ᣬ/0cm>UN_^uPE#4<`.b~PQ4_,P X;af̑֡q =zHR30A@.)xp#ÈXng@"!p2 H 9 i ׼2&>~ 0Rsf ֤\1Rfq |-ʼnZ秠$Vs80:䮫]DX~&F[>hBcrY|0gLٹ^[_k&MҠ>݅\b6864-UMk"pMMW/VԤ"\w+srk4M ͂U՘ɇd8lrAYP f\dbX9m\#u5%0 0BIudRe25lxY^^Qj5ަjJ9B ֚ӫƃ}lZtY4+'\BAvzrSgy#[ِ:fO:!ȇ??|E0:3V$dꔥ~V~tum+w~n-ZcK;M d*jU "[]bV`\iglx2я0jmv<e/A*{_nk0W_Zͭk$/,ۜ_Ë'9mm?' ȁוQj@CgJIENDB`weston-3.0.0/data/sidebyside.png0000664000175000017500000000753113142404576013533 00000000000000PNG  IHDR``mo pHYsodtIME'7nDYIDATx]rɑ͓U HCY53Naምc?xE I 2ĐJivN@!""~I_Gvd4"伓{&j6wn (1Q#N(-`=a#`ow>yto+6ijd+}\ +T1ɟUmIGgXK1"y\F.KX""b0bçF;m{>{wwy;v,gdy %Ke*AApݕ˧~rL ! i۹RԫRK  GvpsY&"JR@)V,X]{`$3JSMD$1F* C߯RVS3~z&ӟވI.p B*DD(p=X5 2J^q, b%W EbI*t 1,GC0c,2+ReiZw;WM} w<Ll2$~%=gY]*A$<5(ۜ]J=Q)GwUi霧\V,@srV]\(rxUpY!"XEGPAEy?D*GtEEgm(33+f k$c`,t !#D`&k3xW>eӤASpƄK1:<cLBbVup=*y*韼h4ģy׆vs)1o]D0(]_tGao$ql-G`TYj4i?|kѓu 0_ }!?_B+p~%(:o\Zk2BhB q3t;gkQcM+#rqr=ynשּׂHePyw7AlETeM͆ƴ4I$K,j P)㣣o:j6FI뿿z4Cԭy2_Gƣ{4 6V M,Bj>{_\8_ۧRAƄGP13V ˵N90Q HA1h'8Xu+4, I[&4t34_|y3?):Tv@>{uvӰ h(= 8yO/^axzu5PJqef!Ga*Ae WE A&ϚD16QCr|t h8 'u4,A 2*ADdxck7'OqVCCf:8~u/L"cAD"bhѣ}8UQ)p$A] 9V 4ELgDI^`Oޑ8W'gf#52N1&Mze0bBHQ9+Xޢ#8 =51!_17TbA?FQQ_^OWV m 346 V ӫ|QWPBs@'L2 ( 2BN|11z37 !2%T/yeB=fqiH9V:c{Y62<$'4\J2Dsgp& 8A"1RJrxN2)SH'˺A9Ly c/ݔ*}ߎEMh*3rP*٪AZ4K7(-g,4^2" ѫn.}dbްqg5I ;HؙA.|)^>k}<_v/Vb_uULPYl](ߪ񃍆l2*T4Nbf;;hY:w n[  a+̑κȔ0mwd P ޥ e)+l;,u.W8"*<zY U]ٚ\ZʞWF/hW"7#^8>@B$m j>q ӰʲTA(CzJr͖cE`;@gJc6#p͒h)JdKi-Տ!OS 'T<!+tmRf!A?nMpw4oCGPk{?R[W^ЭzuְKj#Ly S\"N6F^ Ir7IW)+HMlB먦?2,dʫAC*,ˏ,2QjXb^! E=._)3!unp &<̫4Zu4< ]8DyAU',nmb8>YTs2hvZ'&;AUGdB+<, X}Vba)ذWTZQj3&_7Dk`F3YJk5O{U?s6ǿh,KV<;]õtdUW T XN`}t-~Pن~x]fNEjy)fi]ZAqV)< l7+qrQJdJkX]"r4oV&8#*$`fT C̊:ɑ72۷2{Y)V @J)XMhr*iSkJ18E$` 0 s}O|Y Th3ԅH:Pat[Uj t(3^mzl룣8MNϮǡA㌊Vɵ8ɍ`hL 8M:W#Yɣ"$%fphc1?Duo09Gu9f"f08;oooOOp;6쬽}P<3n4)Ƙ0{( #A*P]B0(/?.hXkoo_{gHPviEB" 80NzVjws+aQb뛛5:+qh.iR^4G_IIA$QkŃZ]eR^Z"NQ$I|Jqr[3(5ɯqޭpyAf+Ș)(m6&Z8Urs4N9 >O(/xYl ܑW~h9wu+B.X1[(;sCڋ˂Ot*G(rc,Gqhjp\([SU"Gj׻E#Bcf.ǁxcp $dD: u0̺wkKr!+$X%SL7*j_ pۓ(>:;f܊9 +^ܙY9)op'U=b(:n: 7t,,i͖4;݋? +P)a|IENDB`weston-3.0.0/data/sign_minimize.png0000664000175000017500000000027713142404576014250 00000000000000PNG  IHDRasRGBbKGD pHYs  tIME; ^*tEXtCommentCreated with GIMPWIDAT8c``XF,bI4 8HݚIENDB`weston-3.0.0/data/icon_window.png0000664000175000017500000000024113142404576013715 00000000000000PNG  IHDRasRGB pHYs  tIMER3IDAT8c`0200&J]00000O^002205 P(ՆsIENDB`weston-3.0.0/data/fullscreen.png0000664000175000017500000000651613142404576013553 00000000000000PNG  IHDR``mo pHYsodtIME);% IDATx\nSU=pZ)!1 ?$#|@!K^`2%rl]KWkFш Nwuխsso'gx9M!cxm퇔,vyt☩LlWQڊh)"FF%iJ IFqo𢡊6e#{H݈r2+ι" [Yq紱+Rha++>2 c a'jGÏ-{W]gu8т`e5M'/N^v_<<ݣ#I Q(lmW./;]!x-K}W&t2~$'Zhd4SRB>䁂K Mg8眃spKL2QFJ)b`B5.M{V>Ox+RRnRb1UI(?2N 2r@=o?ő Llv^AGU$Tzt2#$9CP>CoqJBF1`QQpr$i(i#ehW]8 4Ydx*b4A٠d)=ףG<%cFtT )#9P9s (`QD}^JL"GQ` /ˋ59m<}_"kUB )s8`<36M2A)Bsd$<;;4e!*Z_,H"jY#-gX\s$z?O?\d+i&q{O|eb|b#%qytggZkY} +(M!8r LᣇYb ڕUt8 ΅_O͍8KC)ըrHZ>`'Zl'GV;% Q*l4竍6ȔAŵq8IO˧71BAm23B)5l '7'ƺo[rYzlgd ?c򥉦^ ިK΀?) ,Vğ/eUCr43]{9>nYx Ec-dYf8h7̚0 1\BNTa+lb8B"sjGU4Eqҳ,G# ɾ( V>eN5= S^TŰTr/Tz1kS;APޏFel?ˆ{0%%?816Sc;z/po4,o3"A~y:o ]isbIIA`w79G$=̒ gf+¼+%xK=+[ʪAnY&#mZO椋T;yi٧?;>rw 8m o`/'D8Hak_X׋Z47tezj> Eu3.xl#[N6G˳7bCFzsPV9BNa'!dX h? 2%ukކK9\|%P8daA$}Gdݵ:w*;@>i*sRV|VMi\ RڒE֙*Y4H L)E%[{h6O_Ew0Zr#FZ|BndA**2a A*UGcBt:jer0o{} d%aޓ*8=$cblJ̠J`L%)fo?zlI0\]=51-TYeګ NQN@\ϏH?,wac8:G΃abij+vm _̂taFs#/n|?|ıuH- T}ݘ2k)%w'P'GݝG?Ov71y-zMWX!$  >B`w0ó'˫3:^xMnrjˇ !Z4k wĄW`, - ,?1&Hp1 Q [|m6u6RQ(,6Jo9wО ߏh ,Bă2ٟ ?}_l=|(8g_(Pו[=H H0ƇGv>/qV\xպ+1u0p,͋jbMd?W%Ayަt:'`gŋ{{{q'\ "RJ=KyܿwsF0̔"% kxrΐcp68s!$OWeT[ t6 추R{^hÎ7v$^u! Ybd98y J{d\b S+>0 PEo'Fɇ zq2hF2JgFu&RalR)C#3A|Pleƃ<|>?x?~::> d; :ywx16 7B ;}gy\#ZgNg@!T!e0+6& ?0 c׎TZ=ի$` nsKv/`.' /sJ ,6L; T.fc4,XԋvQh4ئR(1 ͢;9af!uP &M9=+; l#@<(ed73iQ )%I)IRaKhY"rՕdǜphcy7+DVZ`PA$Rjfp=aʹ J"i =ǏkDx2 NEDR÷kĭC`q]l` &%oL'߼vO~{s}ퟏGL׭r4Q/f6ۣA6Ž7l