/contrib/sdk/sources/Mesa/mesa-10.6.0/src/egl/wayland/wayland-drm/Makefile.am |
---|
0,0 → 1,28 |
AM_CFLAGS = -I$(top_srcdir)/src/egl/main \ |
-I$(top_srcdir)/include \ |
$(DEFINES) \ |
$(VISIBILITY_CFLAGS) \ |
$(WAYLAND_CFLAGS) |
noinst_LTLIBRARIES = libwayland-drm.la |
libwayland_drm_la_SOURCES = \ |
wayland-drm.c \ |
wayland-drm.h \ |
wayland-drm-protocol.c |
noinst_HEADERS = wayland-drm.h |
EXTRA_DIST = wayland-drm.xml |
BUILT_SOURCES = wayland-drm-protocol.c \ |
wayland-drm-client-protocol.h \ |
wayland-drm-server-protocol.h |
CLEANFILES = $(BUILT_SOURCES) |
%-protocol.c : %.xml |
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@ |
%-server-protocol.h : %.xml |
$(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@ |
%-client-protocol.h : %.xml |
$(AM_V_GEN)$(WAYLAND_SCANNER) client-header < $< > $@ |
/contrib/sdk/sources/Mesa/mesa-10.6.0/src/egl/wayland/wayland-drm/Makefile.in |
---|
0,0 → 1,790 |
# 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@ |
target_triplet = @target@ |
subdir = src/egl/wayland/wayland-drm |
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gnu_make.m4 \ |
$(top_srcdir)/m4/ax_check_python_mako_module.m4 \ |
$(top_srcdir)/m4/ax_gcc_builtin.m4 \ |
$(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ |
$(top_srcdir)/m4/ax_prog_bison.m4 \ |
$(top_srcdir)/m4/ax_prog_flex.m4 \ |
$(top_srcdir)/m4/ax_pthread.m4 $(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)/VERSION $(top_srcdir)/configure.ac |
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
$(ACLOCAL_M4) |
DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \ |
$(am__DIST_COMMON) |
mkinstalldirs = $(install_sh) -d |
CONFIG_CLEAN_FILES = |
CONFIG_CLEAN_VPATH_FILES = |
LTLIBRARIES = $(noinst_LTLIBRARIES) |
libwayland_drm_la_LIBADD = |
am_libwayland_drm_la_OBJECTS = wayland-drm.lo wayland-drm-protocol.lo |
libwayland_drm_la_OBJECTS = $(am_libwayland_drm_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 = |
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)/bin/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 = $(libwayland_drm_la_SOURCES) |
DIST_SOURCES = $(libwayland_drm_la_SOURCES) |
am__can_run_installinfo = \ |
case $$AM_UPDATE_INFO_DIR in \ |
n|no|NO) false;; \ |
*) (install-info --version) >/dev/null 2>&1;; \ |
esac |
HEADERS = $(noinst_HEADERS) |
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) |
# 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 |
am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/bin/depcomp |
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
ACLOCAL = @ACLOCAL@ |
AMTAR = @AMTAR@ |
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
AR = @AR@ |
AUTOCONF = @AUTOCONF@ |
AUTOHEADER = @AUTOHEADER@ |
AUTOMAKE = @AUTOMAKE@ |
AWK = @AWK@ |
BSYMBOLIC = @BSYMBOLIC@ |
CC = @CC@ |
CCAS = @CCAS@ |
CCASDEPMODE = @CCASDEPMODE@ |
CCASFLAGS = @CCASFLAGS@ |
CCDEPMODE = @CCDEPMODE@ |
CFLAGS = @CFLAGS@ |
CLANG_RESOURCE_DIR = @CLANG_RESOURCE_DIR@ |
CLOCK_LIB = @CLOCK_LIB@ |
CPP = @CPP@ |
CPPFLAGS = @CPPFLAGS@ |
CXX = @CXX@ |
CXXCPP = @CXXCPP@ |
CXXDEPMODE = @CXXDEPMODE@ |
CXXFLAGS = @CXXFLAGS@ |
CYGPATH_W = @CYGPATH_W@ |
D3D_DRIVER_INSTALL_DIR = @D3D_DRIVER_INSTALL_DIR@ |
DEFINES = @DEFINES@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DLOPEN_LIBS = @DLOPEN_LIBS@ |
DRI2PROTO_CFLAGS = @DRI2PROTO_CFLAGS@ |
DRI2PROTO_LIBS = @DRI2PROTO_LIBS@ |
DRI3PROTO_CFLAGS = @DRI3PROTO_CFLAGS@ |
DRI3PROTO_LIBS = @DRI3PROTO_LIBS@ |
DRIGL_CFLAGS = @DRIGL_CFLAGS@ |
DRIGL_LIBS = @DRIGL_LIBS@ |
DRI_DRIVER_INSTALL_DIR = @DRI_DRIVER_INSTALL_DIR@ |
DRI_DRIVER_SEARCH_DIR = @DRI_DRIVER_SEARCH_DIR@ |
DRI_LIB_DEPS = @DRI_LIB_DEPS@ |
DRI_PC_REQ_PRIV = @DRI_PC_REQ_PRIV@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
ECHO_N = @ECHO_N@ |
ECHO_T = @ECHO_T@ |
EGL_CFLAGS = @EGL_CFLAGS@ |
EGL_CLIENT_APIS = @EGL_CLIENT_APIS@ |
EGL_LIB_DEPS = @EGL_LIB_DEPS@ |
EGL_NATIVE_PLATFORM = @EGL_NATIVE_PLATFORM@ |
EGREP = @EGREP@ |
ELF_LIB = @ELF_LIB@ |
EXEEXT = @EXEEXT@ |
EXPAT_CFLAGS = @EXPAT_CFLAGS@ |
EXPAT_LIBS = @EXPAT_LIBS@ |
FGREP = @FGREP@ |
FREEDRENO_CFLAGS = @FREEDRENO_CFLAGS@ |
FREEDRENO_LIBS = @FREEDRENO_LIBS@ |
GALLIUM_PIPE_LOADER_CLIENT_DEFINES = @GALLIUM_PIPE_LOADER_CLIENT_DEFINES@ |
GALLIUM_PIPE_LOADER_CLIENT_LIBS = @GALLIUM_PIPE_LOADER_CLIENT_LIBS@ |
GALLIUM_PIPE_LOADER_DEFINES = @GALLIUM_PIPE_LOADER_DEFINES@ |
GALLIUM_PIPE_LOADER_LIBS = @GALLIUM_PIPE_LOADER_LIBS@ |
GALLIUM_PIPE_LOADER_XCB_CFLAGS = @GALLIUM_PIPE_LOADER_XCB_CFLAGS@ |
GALLIUM_PIPE_LOADER_XCB_LIBS = @GALLIUM_PIPE_LOADER_XCB_LIBS@ |
GBM_PC_LIB_PRIV = @GBM_PC_LIB_PRIV@ |
GBM_PC_REQ_PRIV = @GBM_PC_REQ_PRIV@ |
GC_SECTIONS = @GC_SECTIONS@ |
GLESv1_CM_LIB_DEPS = @GLESv1_CM_LIB_DEPS@ |
GLESv1_CM_PC_LIB_PRIV = @GLESv1_CM_PC_LIB_PRIV@ |
GLESv2_LIB_DEPS = @GLESv2_LIB_DEPS@ |
GLESv2_PC_LIB_PRIV = @GLESv2_PC_LIB_PRIV@ |
GLPROTO_CFLAGS = @GLPROTO_CFLAGS@ |
GLPROTO_LIBS = @GLPROTO_LIBS@ |
GLX_TLS = @GLX_TLS@ |
GL_LIB = @GL_LIB@ |
GL_LIB_DEPS = @GL_LIB_DEPS@ |
GL_PC_CFLAGS = @GL_PC_CFLAGS@ |
GL_PC_LIB_PRIV = @GL_PC_LIB_PRIV@ |
GL_PC_REQ_PRIV = @GL_PC_REQ_PRIV@ |
GREP = @GREP@ |
HAVE_XF86VIDMODE = @HAVE_XF86VIDMODE@ |
INDENT = @INDENT@ |
INDENT_FLAGS = @INDENT_FLAGS@ |
INSTALL = @INSTALL@ |
INSTALL_DATA = @INSTALL_DATA@ |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
INTEL_CFLAGS = @INTEL_CFLAGS@ |
INTEL_LIBS = @INTEL_LIBS@ |
LD = @LD@ |
LDFLAGS = @LDFLAGS@ |
LD_NO_UNDEFINED = @LD_NO_UNDEFINED@ |
LEX = @LEX@ |
LEXLIB = @LEXLIB@ |
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ |
LIBCLC_INCLUDEDIR = @LIBCLC_INCLUDEDIR@ |
LIBCLC_LIBEXECDIR = @LIBCLC_LIBEXECDIR@ |
LIBDRM_CFLAGS = @LIBDRM_CFLAGS@ |
LIBDRM_LIBS = @LIBDRM_LIBS@ |
LIBOBJS = @LIBOBJS@ |
LIBS = @LIBS@ |
LIBSHA1_CFLAGS = @LIBSHA1_CFLAGS@ |
LIBSHA1_LIBS = @LIBSHA1_LIBS@ |
LIBTOOL = @LIBTOOL@ |
LIBUDEV_CFLAGS = @LIBUDEV_CFLAGS@ |
LIBUDEV_LIBS = @LIBUDEV_LIBS@ |
LIB_DIR = @LIB_DIR@ |
LIB_EXT = @LIB_EXT@ |
LIPO = @LIPO@ |
LLVM_BINDIR = @LLVM_BINDIR@ |
LLVM_CFLAGS = @LLVM_CFLAGS@ |
LLVM_CONFIG = @LLVM_CONFIG@ |
LLVM_CPPFLAGS = @LLVM_CPPFLAGS@ |
LLVM_CXXFLAGS = @LLVM_CXXFLAGS@ |
LLVM_INCLUDEDIR = @LLVM_INCLUDEDIR@ |
LLVM_LDFLAGS = @LLVM_LDFLAGS@ |
LLVM_LIBDIR = @LLVM_LIBDIR@ |
LLVM_LIBS = @LLVM_LIBS@ |
LLVM_VERSION = @LLVM_VERSION@ |
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MESA_LLVM = @MESA_LLVM@ |
MKDIR_P = @MKDIR_P@ |
MSVC2008_COMPAT_CFLAGS = @MSVC2008_COMPAT_CFLAGS@ |
MSVC2008_COMPAT_CXXFLAGS = @MSVC2008_COMPAT_CXXFLAGS@ |
MSVC2013_COMPAT_CFLAGS = @MSVC2013_COMPAT_CFLAGS@ |
MSVC2013_COMPAT_CXXFLAGS = @MSVC2013_COMPAT_CXXFLAGS@ |
NINE_MAJOR = @NINE_MAJOR@ |
NINE_MINOR = @NINE_MINOR@ |
NINE_TINY = @NINE_TINY@ |
NINE_VERSION = @NINE_VERSION@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
NOUVEAU_CFLAGS = @NOUVEAU_CFLAGS@ |
NOUVEAU_LIBS = @NOUVEAU_LIBS@ |
OBJDUMP = @OBJDUMP@ |
OBJEXT = @OBJEXT@ |
OMX_CFLAGS = @OMX_CFLAGS@ |
OMX_LIBS = @OMX_LIBS@ |
OMX_LIB_INSTALL_DIR = @OMX_LIB_INSTALL_DIR@ |
OPENCL_LIBNAME = @OPENCL_LIBNAME@ |
OPENSSL_CFLAGS = @OPENSSL_CFLAGS@ |
OPENSSL_LIBS = @OPENSSL_LIBS@ |
OSMESA_LIB = @OSMESA_LIB@ |
OSMESA_LIB_DEPS = @OSMESA_LIB_DEPS@ |
OSMESA_PC_LIB_PRIV = @OSMESA_PC_LIB_PRIV@ |
OSMESA_PC_REQ = @OSMESA_PC_REQ@ |
OSMESA_VERSION = @OSMESA_VERSION@ |
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@ |
PATH_SEPARATOR = @PATH_SEPARATOR@ |
PKG_CONFIG = @PKG_CONFIG@ |
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
POSIX_SHELL = @POSIX_SHELL@ |
PRESENTPROTO_CFLAGS = @PRESENTPROTO_CFLAGS@ |
PRESENTPROTO_LIBS = @PRESENTPROTO_LIBS@ |
PTHREAD_CC = @PTHREAD_CC@ |
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ |
PTHREAD_LIBS = @PTHREAD_LIBS@ |
PYTHON2 = @PYTHON2@ |
RADEON_CFLAGS = @RADEON_CFLAGS@ |
RADEON_LIBS = @RADEON_LIBS@ |
RANLIB = @RANLIB@ |
SED = @SED@ |
SELINUX_CFLAGS = @SELINUX_CFLAGS@ |
SELINUX_LIBS = @SELINUX_LIBS@ |
SET_MAKE = @SET_MAKE@ |
SHA1_CFLAGS = @SHA1_CFLAGS@ |
SHA1_LIBS = @SHA1_LIBS@ |
SHELL = @SHELL@ |
SSE41_CFLAGS = @SSE41_CFLAGS@ |
STRIP = @STRIP@ |
VA_CFLAGS = @VA_CFLAGS@ |
VA_LIBS = @VA_LIBS@ |
VA_LIB_INSTALL_DIR = @VA_LIB_INSTALL_DIR@ |
VA_MAJOR = @VA_MAJOR@ |
VA_MINOR = @VA_MINOR@ |
VDPAU_CFLAGS = @VDPAU_CFLAGS@ |
VDPAU_LIBS = @VDPAU_LIBS@ |
VDPAU_LIB_INSTALL_DIR = @VDPAU_LIB_INSTALL_DIR@ |
VDPAU_MAJOR = @VDPAU_MAJOR@ |
VDPAU_MINOR = @VDPAU_MINOR@ |
VERSION = @VERSION@ |
VG_LIB_DEPS = @VG_LIB_DEPS@ |
VISIBILITY_CFLAGS = @VISIBILITY_CFLAGS@ |
VISIBILITY_CXXFLAGS = @VISIBILITY_CXXFLAGS@ |
VL_CFLAGS = @VL_CFLAGS@ |
VL_LIBS = @VL_LIBS@ |
WAYLAND_CFLAGS = @WAYLAND_CFLAGS@ |
WAYLAND_LIBS = @WAYLAND_LIBS@ |
WAYLAND_SCANNER = @WAYLAND_SCANNER@ |
WAYLAND_SCANNER_CFLAGS = @WAYLAND_SCANNER_CFLAGS@ |
WAYLAND_SCANNER_LIBS = @WAYLAND_SCANNER_LIBS@ |
X11_INCLUDES = @X11_INCLUDES@ |
XA_MAJOR = @XA_MAJOR@ |
XA_MINOR = @XA_MINOR@ |
XA_TINY = @XA_TINY@ |
XA_VERSION = @XA_VERSION@ |
XCB_DRI2_CFLAGS = @XCB_DRI2_CFLAGS@ |
XCB_DRI2_LIBS = @XCB_DRI2_LIBS@ |
XF86VIDMODE_CFLAGS = @XF86VIDMODE_CFLAGS@ |
XF86VIDMODE_LIBS = @XF86VIDMODE_LIBS@ |
XLIBGL_CFLAGS = @XLIBGL_CFLAGS@ |
XLIBGL_LIBS = @XLIBGL_LIBS@ |
XVMC_CFLAGS = @XVMC_CFLAGS@ |
XVMC_LIBS = @XVMC_LIBS@ |
XVMC_LIB_INSTALL_DIR = @XVMC_LIB_INSTALL_DIR@ |
XVMC_MAJOR = @XVMC_MAJOR@ |
XVMC_MINOR = @XVMC_MINOR@ |
YACC = @YACC@ |
YFLAGS = @YFLAGS@ |
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_CXX = @ac_ct_CXX@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
acv_mako_found = @acv_mako_found@ |
am__include = @am__include@ |
am__leading_dot = @am__leading_dot@ |
am__quote = @am__quote@ |
am__tar = @am__tar@ |
am__untar = @am__untar@ |
ax_pthread_config = @ax_pthread_config@ |
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@ |
ifGNUmake = @ifGNUmake@ |
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@ |
sbindir = @sbindir@ |
sharedstatedir = @sharedstatedir@ |
srcdir = @srcdir@ |
sysconfdir = @sysconfdir@ |
target = @target@ |
target_alias = @target_alias@ |
target_cpu = @target_cpu@ |
target_os = @target_os@ |
target_vendor = @target_vendor@ |
top_build_prefix = @top_build_prefix@ |
top_builddir = @top_builddir@ |
top_srcdir = @top_srcdir@ |
AM_CFLAGS = -I$(top_srcdir)/src/egl/main \ |
-I$(top_srcdir)/include \ |
$(DEFINES) \ |
$(VISIBILITY_CFLAGS) \ |
$(WAYLAND_CFLAGS) |
noinst_LTLIBRARIES = libwayland-drm.la |
libwayland_drm_la_SOURCES = \ |
wayland-drm.c \ |
wayland-drm.h \ |
wayland-drm-protocol.c |
noinst_HEADERS = wayland-drm.h |
EXTRA_DIST = wayland-drm.xml |
BUILT_SOURCES = wayland-drm-protocol.c \ |
wayland-drm-client-protocol.h \ |
wayland-drm-server-protocol.h |
CLEANFILES = $(BUILT_SOURCES) |
all: $(BUILT_SOURCES) |
$(MAKE) $(AM_MAKEFLAGS) all-am |
.SUFFIXES: |
.SUFFIXES: .c .lo .o .obj |
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) |
@for dep in $?; do \ |
case '$(am__configure_deps)' in \ |
*$$dep*) \ |
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ |
&& { if test -f $@; then exit 0; else break; fi; }; \ |
exit 1;; \ |
esac; \ |
done; \ |
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/egl/wayland/wayland-drm/Makefile'; \ |
$(am__cd) $(top_srcdir) && \ |
$(AUTOMAKE) --foreign src/egl/wayland/wayland-drm/Makefile |
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
@case '$?' in \ |
*config.status*) \ |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
*) \ |
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ |
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ |
esac; |
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
$(top_srcdir)/configure: $(am__configure_deps) |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
$(am__aclocal_m4_deps): |
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}; \ |
} |
libwayland-drm.la: $(libwayland_drm_la_OBJECTS) $(libwayland_drm_la_DEPENDENCIES) $(EXTRA_libwayland_drm_la_DEPENDENCIES) |
$(AM_V_CCLD)$(LINK) $(libwayland_drm_la_OBJECTS) $(libwayland_drm_la_LIBADD) $(LIBS) |
mostlyclean-compile: |
-rm -f *.$(OBJEXT) |
distclean-compile: |
-rm -f *.tab.c |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wayland-drm-protocol.Plo@am__quote@ |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wayland-drm.Plo@am__quote@ |
.c.o: |
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 $@ $< |
mostlyclean-libtool: |
-rm -f *.lo |
clean-libtool: |
-rm -rf .libs _libs |
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" |
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 |
distdir: $(DISTFILES) |
@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 |
check-am: all-am |
check: $(BUILT_SOURCES) |
$(MAKE) $(AM_MAKEFLAGS) check-am |
all-am: Makefile $(LTLIBRARIES) $(HEADERS) |
installdirs: |
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: |
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) |
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) |
clean: clean-am |
clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \ |
mostlyclean-am |
distclean: distclean-am |
-rm -rf ./$(DEPDIR) |
-rm -f Makefile |
distclean-am: clean-am distclean-compile distclean-generic \ |
distclean-tags |
dvi: dvi-am |
dvi-am: |
html: html-am |
html-am: |
info: info-am |
info-am: |
install-data-am: |
install-dvi: install-dvi-am |
install-dvi-am: |
install-exec-am: |
install-html: install-html-am |
install-html-am: |
install-info: install-info-am |
install-info-am: |
install-man: |
install-pdf: install-pdf-am |
install-pdf-am: |
install-ps: install-ps-am |
install-ps-am: |
installcheck-am: |
maintainer-clean: maintainer-clean-am |
-rm -rf ./$(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: |
.MAKE: all check install install-am install-strip |
.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ |
clean-libtool clean-noinstLTLIBRARIES cscopelist-am ctags \ |
ctags-am distclean distclean-compile distclean-generic \ |
distclean-libtool distclean-tags distdir dvi dvi-am html \ |
html-am info info-am install install-am install-data \ |
install-data-am install-dvi install-dvi-am install-exec \ |
install-exec-am install-html install-html-am install-info \ |
install-info-am install-man install-pdf install-pdf-am \ |
install-ps install-ps-am install-strip installcheck \ |
installcheck-am installdirs maintainer-clean \ |
maintainer-clean-generic mostlyclean mostlyclean-compile \ |
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ |
tags tags-am uninstall uninstall-am |
.PRECIOUS: Makefile |
%-protocol.c : %.xml |
$(AM_V_GEN)$(WAYLAND_SCANNER) code < $< > $@ |
%-server-protocol.h : %.xml |
$(AM_V_GEN)$(WAYLAND_SCANNER) server-header < $< > $@ |
%-client-protocol.h : %.xml |
$(AM_V_GEN)$(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: |
/contrib/sdk/sources/Mesa/mesa-10.6.0/src/egl/wayland/wayland-drm/wayland-drm-protocol.c |
---|
0,0 → 1,84 |
/* |
* Copyright © 2008-2011 Kristian Høgsberg |
* Copyright © 2010-2011 Intel Corporation |
* |
* Permission to use, copy, modify, distribute, and sell this |
* software and its documentation for any purpose is hereby granted |
* without fee, provided that\n the above copyright notice appear in |
* all copies and that both that copyright notice and this permission |
* notice appear in supporting documentation, and that the name of |
* the copyright holders not be used in advertising or publicity |
* pertaining to distribution of the software without specific, |
* written prior permission. The copyright holders make no |
* representations about the suitability of this software for any |
* purpose. It is provided "as is" without express or implied |
* warranty. |
* |
* THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS |
* SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND |
* FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY |
* SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN |
* AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, |
* ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF |
* THIS SOFTWARE. |
*/ |
#include <stdlib.h> |
#include <stdint.h> |
#include "wayland-util.h" |
extern const struct wl_interface wl_buffer_interface; |
static const struct wl_interface *types[] = { |
NULL, |
&wl_buffer_interface, |
NULL, |
NULL, |
NULL, |
NULL, |
NULL, |
&wl_buffer_interface, |
NULL, |
NULL, |
NULL, |
NULL, |
NULL, |
NULL, |
NULL, |
NULL, |
NULL, |
NULL, |
&wl_buffer_interface, |
NULL, |
NULL, |
NULL, |
NULL, |
NULL, |
NULL, |
NULL, |
NULL, |
NULL, |
NULL, |
}; |
static const struct wl_message wl_drm_requests[] = { |
{ "authenticate", "u", types + 0 }, |
{ "create_buffer", "nuiiuu", types + 1 }, |
{ "create_planar_buffer", "nuiiuiiiiii", types + 7 }, |
{ "create_prime_buffer", "2nhiiuiiiiii", types + 18 }, |
}; |
static const struct wl_message wl_drm_events[] = { |
{ "device", "s", types + 0 }, |
{ "format", "u", types + 0 }, |
{ "authenticated", "", types + 0 }, |
{ "capabilities", "u", types + 0 }, |
}; |
WL_EXPORT const struct wl_interface wl_drm_interface = { |
"wl_drm", 2, |
4, wl_drm_requests, |
4, wl_drm_events, |
}; |
/contrib/sdk/sources/Mesa/mesa-10.6.0/src/egl/wayland/wayland-drm/wayland-drm.c |
---|
0,0 → 1,304 |
/* |
* Copyright © 2011 Kristian Høgsberg |
* Copyright © 2011 Benjamin Franzke |
* |
* 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. |
* |
* Authors: |
* Kristian Høgsberg <krh@bitplanet.net> |
* Benjamin Franzke <benjaminfranzke@googlemail.com> |
*/ |
#include <stdio.h> |
#include <stdlib.h> |
#include <string.h> |
#include <stddef.h> |
#include <unistd.h> |
#include <wayland-server.h> |
#include "wayland-drm.h" |
#include "wayland-drm-server-protocol.h" |
#define MIN(x,y) (((x)<(y))?(x):(y)) |
struct wl_drm { |
struct wl_display *display; |
struct wl_global *wl_drm_global; |
void *user_data; |
char *device_name; |
uint32_t flags; |
struct wayland_drm_callbacks *callbacks; |
struct wl_buffer_interface buffer_interface; |
}; |
static void |
destroy_buffer(struct wl_resource *resource) |
{ |
struct wl_drm_buffer *buffer = resource->data; |
struct wl_drm *drm = buffer->drm; |
drm->callbacks->release_buffer(drm->user_data, buffer); |
free(buffer); |
} |
static void |
buffer_destroy(struct wl_client *client, struct wl_resource *resource) |
{ |
wl_resource_destroy(resource); |
} |
static void |
create_buffer(struct wl_client *client, struct wl_resource *resource, |
uint32_t id, uint32_t name, int fd, |
int32_t width, int32_t height, |
uint32_t format, |
int32_t offset0, int32_t stride0, |
int32_t offset1, int32_t stride1, |
int32_t offset2, int32_t stride2) |
{ |
struct wl_drm *drm = resource->data; |
struct wl_drm_buffer *buffer; |
buffer = calloc(1, sizeof *buffer); |
if (buffer == NULL) { |
wl_resource_post_no_memory(resource); |
return; |
} |
buffer->drm = drm; |
buffer->width = width; |
buffer->height = height; |
buffer->format = format; |
buffer->offset[0] = offset0; |
buffer->stride[0] = stride0; |
buffer->offset[1] = offset1; |
buffer->stride[1] = stride1; |
buffer->offset[2] = offset2; |
buffer->stride[2] = stride2; |
drm->callbacks->reference_buffer(drm->user_data, name, fd, buffer); |
if (buffer->driver_buffer == NULL) { |
wl_resource_post_error(resource, |
WL_DRM_ERROR_INVALID_NAME, |
"invalid name"); |
return; |
} |
buffer->resource = |
wl_resource_create(client, &wl_buffer_interface, 1, id); |
if (!buffer->resource) { |
wl_resource_post_no_memory(resource); |
free(buffer); |
return; |
} |
wl_resource_set_implementation(buffer->resource, |
(void (**)(void)) &drm->buffer_interface, |
buffer, destroy_buffer); |
} |
static void |
drm_create_buffer(struct wl_client *client, struct wl_resource *resource, |
uint32_t id, uint32_t name, int32_t width, int32_t height, |
uint32_t stride, uint32_t format) |
{ |
switch (format) { |
case WL_DRM_FORMAT_ARGB8888: |
case WL_DRM_FORMAT_XRGB8888: |
case WL_DRM_FORMAT_YUYV: |
case WL_DRM_FORMAT_RGB565: |
break; |
default: |
wl_resource_post_error(resource, |
WL_DRM_ERROR_INVALID_FORMAT, |
"invalid format"); |
return; |
} |
create_buffer(client, resource, id, |
name, -1, width, height, format, 0, stride, 0, 0, 0, 0); |
} |
static void |
drm_create_planar_buffer(struct wl_client *client, |
struct wl_resource *resource, |
uint32_t id, uint32_t name, |
int32_t width, int32_t height, uint32_t format, |
int32_t offset0, int32_t stride0, |
int32_t offset1, int32_t stride1, |
int32_t offset2, int32_t stride2) |
{ |
switch (format) { |
case WL_DRM_FORMAT_YUV410: |
case WL_DRM_FORMAT_YUV411: |
case WL_DRM_FORMAT_YUV420: |
case WL_DRM_FORMAT_YUV422: |
case WL_DRM_FORMAT_YUV444: |
case WL_DRM_FORMAT_NV12: |
case WL_DRM_FORMAT_NV16: |
break; |
default: |
wl_resource_post_error(resource, |
WL_DRM_ERROR_INVALID_FORMAT, |
"invalid format"); |
return; |
} |
create_buffer(client, resource, id, name, -1, width, height, format, |
offset0, stride0, offset1, stride1, offset2, stride2); |
} |
static void |
drm_create_prime_buffer(struct wl_client *client, |
struct wl_resource *resource, |
uint32_t id, int fd, |
int32_t width, int32_t height, uint32_t format, |
int32_t offset0, int32_t stride0, |
int32_t offset1, int32_t stride1, |
int32_t offset2, int32_t stride2) |
{ |
create_buffer(client, resource, id, 0, fd, width, height, format, |
offset0, stride0, offset1, stride1, offset2, stride2); |
close(fd); |
} |
static void |
drm_authenticate(struct wl_client *client, |
struct wl_resource *resource, uint32_t id) |
{ |
struct wl_drm *drm = resource->data; |
if (drm->callbacks->authenticate(drm->user_data, id) < 0) |
wl_resource_post_error(resource, |
WL_DRM_ERROR_AUTHENTICATE_FAIL, |
"authenicate failed"); |
else |
wl_resource_post_event(resource, WL_DRM_AUTHENTICATED); |
} |
const static struct wl_drm_interface drm_interface = { |
drm_authenticate, |
drm_create_buffer, |
drm_create_planar_buffer, |
drm_create_prime_buffer |
}; |
static void |
bind_drm(struct wl_client *client, void *data, uint32_t version, uint32_t id) |
{ |
struct wl_drm *drm = data; |
struct wl_resource *resource; |
uint32_t capabilities; |
resource = wl_resource_create(client, &wl_drm_interface, |
MIN(version, 2), id); |
if (!resource) { |
wl_client_post_no_memory(client); |
return; |
} |
wl_resource_set_implementation(resource, &drm_interface, data, NULL); |
wl_resource_post_event(resource, WL_DRM_DEVICE, drm->device_name); |
wl_resource_post_event(resource, WL_DRM_FORMAT, |
WL_DRM_FORMAT_ARGB8888); |
wl_resource_post_event(resource, WL_DRM_FORMAT, |
WL_DRM_FORMAT_XRGB8888); |
wl_resource_post_event(resource, WL_DRM_FORMAT, |
WL_DRM_FORMAT_RGB565); |
wl_resource_post_event(resource, WL_DRM_FORMAT, WL_DRM_FORMAT_YUV410); |
wl_resource_post_event(resource, WL_DRM_FORMAT, WL_DRM_FORMAT_YUV411); |
wl_resource_post_event(resource, WL_DRM_FORMAT, WL_DRM_FORMAT_YUV420); |
wl_resource_post_event(resource, WL_DRM_FORMAT, WL_DRM_FORMAT_YUV422); |
wl_resource_post_event(resource, WL_DRM_FORMAT, WL_DRM_FORMAT_YUV444); |
wl_resource_post_event(resource, WL_DRM_FORMAT, WL_DRM_FORMAT_NV12); |
wl_resource_post_event(resource, WL_DRM_FORMAT, WL_DRM_FORMAT_NV16); |
wl_resource_post_event(resource, WL_DRM_FORMAT, WL_DRM_FORMAT_YUYV); |
capabilities = 0; |
if (drm->flags & WAYLAND_DRM_PRIME) |
capabilities |= WL_DRM_CAPABILITY_PRIME; |
if (version >= 2) |
wl_resource_post_event(resource, WL_DRM_CAPABILITIES, capabilities); |
} |
struct wl_drm_buffer * |
wayland_drm_buffer_get(struct wl_drm *drm, struct wl_resource *resource) |
{ |
if (resource == NULL) |
return NULL; |
if (wl_resource_instance_of(resource, &wl_buffer_interface, |
&drm->buffer_interface)) |
return wl_resource_get_user_data(resource); |
else |
return NULL; |
} |
struct wl_drm * |
wayland_drm_init(struct wl_display *display, char *device_name, |
struct wayland_drm_callbacks *callbacks, void *user_data, |
uint32_t flags) |
{ |
struct wl_drm *drm; |
drm = malloc(sizeof *drm); |
drm->display = display; |
drm->device_name = strdup(device_name); |
drm->callbacks = callbacks; |
drm->user_data = user_data; |
drm->flags = flags; |
drm->buffer_interface.destroy = buffer_destroy; |
drm->wl_drm_global = |
wl_global_create(display, &wl_drm_interface, 2, |
drm, bind_drm); |
return drm; |
} |
void |
wayland_drm_uninit(struct wl_drm *drm) |
{ |
free(drm->device_name); |
wl_global_destroy(drm->wl_drm_global); |
free(drm); |
} |
uint32_t |
wayland_drm_buffer_get_format(struct wl_drm_buffer *buffer) |
{ |
return buffer->format; |
} |
void * |
wayland_drm_buffer_get_buffer(struct wl_drm_buffer *buffer) |
{ |
return buffer->driver_buffer; |
} |
/contrib/sdk/sources/Mesa/mesa-10.6.0/src/egl/wayland/wayland-drm/wayland-drm.h |
---|
0,0 → 1,111 |
#ifndef WAYLAND_DRM_H |
#define WAYLAND_DRM_H |
#include <wayland-server.h> |
#ifndef WL_DRM_FORMAT_ENUM |
#define WL_DRM_FORMAT_ENUM |
enum wl_drm_format { |
WL_DRM_FORMAT_C8 = 0x20203843, |
WL_DRM_FORMAT_RGB332 = 0x38424752, |
WL_DRM_FORMAT_BGR233 = 0x38524742, |
WL_DRM_FORMAT_XRGB4444 = 0x32315258, |
WL_DRM_FORMAT_XBGR4444 = 0x32314258, |
WL_DRM_FORMAT_RGBX4444 = 0x32315852, |
WL_DRM_FORMAT_BGRX4444 = 0x32315842, |
WL_DRM_FORMAT_ARGB4444 = 0x32315241, |
WL_DRM_FORMAT_ABGR4444 = 0x32314241, |
WL_DRM_FORMAT_RGBA4444 = 0x32314152, |
WL_DRM_FORMAT_BGRA4444 = 0x32314142, |
WL_DRM_FORMAT_XRGB1555 = 0x35315258, |
WL_DRM_FORMAT_XBGR1555 = 0x35314258, |
WL_DRM_FORMAT_RGBX5551 = 0x35315852, |
WL_DRM_FORMAT_BGRX5551 = 0x35315842, |
WL_DRM_FORMAT_ARGB1555 = 0x35315241, |
WL_DRM_FORMAT_ABGR1555 = 0x35314241, |
WL_DRM_FORMAT_RGBA5551 = 0x35314152, |
WL_DRM_FORMAT_BGRA5551 = 0x35314142, |
WL_DRM_FORMAT_RGB565 = 0x36314752, |
WL_DRM_FORMAT_BGR565 = 0x36314742, |
WL_DRM_FORMAT_RGB888 = 0x34324752, |
WL_DRM_FORMAT_BGR888 = 0x34324742, |
WL_DRM_FORMAT_XRGB8888 = 0x34325258, |
WL_DRM_FORMAT_XBGR8888 = 0x34324258, |
WL_DRM_FORMAT_RGBX8888 = 0x34325852, |
WL_DRM_FORMAT_BGRX8888 = 0x34325842, |
WL_DRM_FORMAT_ARGB8888 = 0x34325241, |
WL_DRM_FORMAT_ABGR8888 = 0x34324241, |
WL_DRM_FORMAT_RGBA8888 = 0x34324152, |
WL_DRM_FORMAT_BGRA8888 = 0x34324142, |
WL_DRM_FORMAT_XRGB2101010 = 0x30335258, |
WL_DRM_FORMAT_XBGR2101010 = 0x30334258, |
WL_DRM_FORMAT_RGBX1010102 = 0x30335852, |
WL_DRM_FORMAT_BGRX1010102 = 0x30335842, |
WL_DRM_FORMAT_ARGB2101010 = 0x30335241, |
WL_DRM_FORMAT_ABGR2101010 = 0x30334241, |
WL_DRM_FORMAT_RGBA1010102 = 0x30334152, |
WL_DRM_FORMAT_BGRA1010102 = 0x30334142, |
WL_DRM_FORMAT_YUYV = 0x56595559, |
WL_DRM_FORMAT_YVYU = 0x55595659, |
WL_DRM_FORMAT_UYVY = 0x59565955, |
WL_DRM_FORMAT_VYUY = 0x59555956, |
WL_DRM_FORMAT_AYUV = 0x56555941, |
WL_DRM_FORMAT_NV12 = 0x3231564e, |
WL_DRM_FORMAT_NV21 = 0x3132564e, |
WL_DRM_FORMAT_NV16 = 0x3631564e, |
WL_DRM_FORMAT_NV61 = 0x3136564e, |
WL_DRM_FORMAT_YUV410 = 0x39565559, |
WL_DRM_FORMAT_YVU410 = 0x39555659, |
WL_DRM_FORMAT_YUV411 = 0x31315559, |
WL_DRM_FORMAT_YVU411 = 0x31315659, |
WL_DRM_FORMAT_YUV420 = 0x32315559, |
WL_DRM_FORMAT_YVU420 = 0x32315659, |
WL_DRM_FORMAT_YUV422 = 0x36315559, |
WL_DRM_FORMAT_YVU422 = 0x36315659, |
WL_DRM_FORMAT_YUV444 = 0x34325559, |
WL_DRM_FORMAT_YVU444 = 0x34325659, |
}; |
#endif /* WL_DRM_FORMAT_ENUM */ |
struct wl_drm; |
struct wl_drm_buffer { |
struct wl_resource *resource; |
struct wl_drm *drm; |
int32_t width, height; |
uint32_t format; |
const void *driver_format; |
int32_t offset[3]; |
int32_t stride[3]; |
void *driver_buffer; |
}; |
struct wayland_drm_callbacks { |
int (*authenticate)(void *user_data, uint32_t id); |
void (*reference_buffer)(void *user_data, uint32_t name, int fd, |
struct wl_drm_buffer *buffer); |
void (*release_buffer)(void *user_data, struct wl_drm_buffer *buffer); |
}; |
enum { WAYLAND_DRM_PRIME = 0x01 }; |
struct wl_drm_buffer * |
wayland_drm_buffer_get(struct wl_drm *drm, struct wl_resource *resource); |
struct wl_drm * |
wayland_drm_init(struct wl_display *display, char *device_name, |
struct wayland_drm_callbacks *callbacks, void *user_data, |
uint32_t flags); |
void |
wayland_drm_uninit(struct wl_drm *drm); |
uint32_t |
wayland_drm_buffer_get_format(struct wl_drm_buffer *buffer); |
void * |
wayland_drm_buffer_get_buffer(struct wl_drm_buffer *buffer); |
#endif |
/contrib/sdk/sources/Mesa/mesa-10.6.0/src/egl/wayland/wayland-drm/wayland-drm.xml |
---|
0,0 → 1,185 |
<?xml version="1.0" encoding="UTF-8"?> |
<protocol name="drm"> |
<copyright> |
Copyright © 2008-2011 Kristian Høgsberg |
Copyright © 2010-2011 Intel Corporation |
Permission to use, copy, modify, distribute, and sell this |
software and its documentation for any purpose is hereby granted |
without fee, provided that\n the above copyright notice appear in |
all copies and that both that copyright notice and this permission |
notice appear in supporting documentation, and that the name of |
the copyright holders not be used in advertising or publicity |
pertaining to distribution of the software without specific, |
written prior permission. The copyright holders make no |
representations about the suitability of this software for any |
purpose. It is provided "as is" without express or implied |
warranty. |
THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS |
SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND |
FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY |
SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN |
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, |
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF |
THIS SOFTWARE. |
</copyright> |
<!-- drm support. This object is created by the server and published |
using the display's global event. --> |
<interface name="wl_drm" version="2"> |
<enum name="error"> |
<entry name="authenticate_fail" value="0"/> |
<entry name="invalid_format" value="1"/> |
<entry name="invalid_name" value="2"/> |
</enum> |
<enum name="format"> |
<!-- The drm format codes match the #defines in drm_fourcc.h. |
The formats actually supported by the compositor will be |
reported by the format event. --> |
<entry name="c8" value="0x20203843"/> |
<entry name="rgb332" value="0x38424752"/> |
<entry name="bgr233" value="0x38524742"/> |
<entry name="xrgb4444" value="0x32315258"/> |
<entry name="xbgr4444" value="0x32314258"/> |
<entry name="rgbx4444" value="0x32315852"/> |
<entry name="bgrx4444" value="0x32315842"/> |
<entry name="argb4444" value="0x32315241"/> |
<entry name="abgr4444" value="0x32314241"/> |
<entry name="rgba4444" value="0x32314152"/> |
<entry name="bgra4444" value="0x32314142"/> |
<entry name="xrgb1555" value="0x35315258"/> |
<entry name="xbgr1555" value="0x35314258"/> |
<entry name="rgbx5551" value="0x35315852"/> |
<entry name="bgrx5551" value="0x35315842"/> |
<entry name="argb1555" value="0x35315241"/> |
<entry name="abgr1555" value="0x35314241"/> |
<entry name="rgba5551" value="0x35314152"/> |
<entry name="bgra5551" value="0x35314142"/> |
<entry name="rgb565" value="0x36314752"/> |
<entry name="bgr565" value="0x36314742"/> |
<entry name="rgb888" value="0x34324752"/> |
<entry name="bgr888" value="0x34324742"/> |
<entry name="xrgb8888" value="0x34325258"/> |
<entry name="xbgr8888" value="0x34324258"/> |
<entry name="rgbx8888" value="0x34325852"/> |
<entry name="bgrx8888" value="0x34325842"/> |
<entry name="argb8888" value="0x34325241"/> |
<entry name="abgr8888" value="0x34324241"/> |
<entry name="rgba8888" value="0x34324152"/> |
<entry name="bgra8888" value="0x34324142"/> |
<entry name="xrgb2101010" value="0x30335258"/> |
<entry name="xbgr2101010" value="0x30334258"/> |
<entry name="rgbx1010102" value="0x30335852"/> |
<entry name="bgrx1010102" value="0x30335842"/> |
<entry name="argb2101010" value="0x30335241"/> |
<entry name="abgr2101010" value="0x30334241"/> |
<entry name="rgba1010102" value="0x30334152"/> |
<entry name="bgra1010102" value="0x30334142"/> |
<entry name="yuyv" value="0x56595559"/> |
<entry name="yvyu" value="0x55595659"/> |
<entry name="uyvy" value="0x59565955"/> |
<entry name="vyuy" value="0x59555956"/> |
<entry name="ayuv" value="0x56555941"/> |
<entry name="nv12" value="0x3231564e"/> |
<entry name="nv21" value="0x3132564e"/> |
<entry name="nv16" value="0x3631564e"/> |
<entry name="nv61" value="0x3136564e"/> |
<entry name="yuv410" value="0x39565559"/> |
<entry name="yvu410" value="0x39555659"/> |
<entry name="yuv411" value="0x31315559"/> |
<entry name="yvu411" value="0x31315659"/> |
<entry name="yuv420" value="0x32315559"/> |
<entry name="yvu420" value="0x32315659"/> |
<entry name="yuv422" value="0x36315559"/> |
<entry name="yvu422" value="0x36315659"/> |
<entry name="yuv444" value="0x34325559"/> |
<entry name="yvu444" value="0x34325659"/> |
</enum> |
<!-- Call this request with the magic received from drmGetMagic(). |
It will be passed on to the drmAuthMagic() or |
DRIAuthConnection() call. This authentication must be |
completed before create_buffer could be used. --> |
<request name="authenticate"> |
<arg name="id" type="uint"/> |
</request> |
<!-- Create a wayland buffer for the named DRM buffer. The DRM |
surface must have a name using the flink ioctl --> |
<request name="create_buffer"> |
<arg name="id" type="new_id" interface="wl_buffer"/> |
<arg name="name" type="uint"/> |
<arg name="width" type="int"/> |
<arg name="height" type="int"/> |
<arg name="stride" type="uint"/> |
<arg name="format" type="uint"/> |
</request> |
<!-- Create a wayland buffer for the named DRM buffer. The DRM |
surface must have a name using the flink ioctl --> |
<request name="create_planar_buffer"> |
<arg name="id" type="new_id" interface="wl_buffer"/> |
<arg name="name" type="uint"/> |
<arg name="width" type="int"/> |
<arg name="height" type="int"/> |
<arg name="format" type="uint"/> |
<arg name="offset0" type="int"/> |
<arg name="stride0" type="int"/> |
<arg name="offset1" type="int"/> |
<arg name="stride1" type="int"/> |
<arg name="offset2" type="int"/> |
<arg name="stride2" type="int"/> |
</request> |
<!-- Notification of the path of the drm device which is used by |
the server. The client should use this device for creating |
local buffers. Only buffers created from this device should |
be be passed to the server using this drm object's |
create_buffer request. --> |
<event name="device"> |
<arg name="name" type="string"/> |
</event> |
<event name="format"> |
<arg name="format" type="uint"/> |
</event> |
<!-- Raised if the authenticate request succeeded --> |
<event name="authenticated"/> |
<enum name="capability" since="2"> |
<description summary="wl_drm capability bitmask"> |
Bitmask of capabilities. |
</description> |
<entry name="prime" value="1" summary="wl_drm prime available"/> |
</enum> |
<event name="capabilities"> |
<arg name="value" type="uint"/> |
</event> |
<!-- Version 2 additions --> |
<!-- Create a wayland buffer for the prime fd. Use for regular and planar |
buffers. Pass 0 for offset and stride for unused planes. --> |
<request name="create_prime_buffer" since="2"> |
<arg name="id" type="new_id" interface="wl_buffer"/> |
<arg name="name" type="fd"/> |
<arg name="width" type="int"/> |
<arg name="height" type="int"/> |
<arg name="format" type="uint"/> |
<arg name="offset0" type="int"/> |
<arg name="stride0" type="int"/> |
<arg name="offset1" type="int"/> |
<arg name="stride1" type="int"/> |
<arg name="offset2" type="int"/> |
<arg name="stride2" type="int"/> |
</request> |
</interface> |
</protocol> |
/contrib/sdk/sources/Mesa/mesa-10.6.0/src/egl/wayland/wayland-egl/Makefile.am |
---|
0,0 → 1,20 |
pkgconfigdir = $(libdir)/pkgconfig |
pkgconfig_DATA = wayland-egl.pc |
AM_CFLAGS = $(DEFINES) \ |
$(VISIBILITY_CFLAGS) \ |
$(WAYLAND_CFLAGS) |
lib_LTLIBRARIES = libwayland-egl.la |
noinst_HEADERS = wayland-egl-priv.h |
libwayland_egl_la_SOURCES = wayland-egl.c |
libwayland_egl_la_LDFLAGS = \ |
-no-undefined \ |
-version-info 1 \ |
$(GC_SECTIONS) \ |
$(LD_NO_UNDEFINED) |
TESTS = wayland-egl-symbols-check |
EXTRA_DIST = wayland-egl-symbols-check |
include $(top_srcdir)/install-lib-links.mk |
/contrib/sdk/sources/Mesa/mesa-10.6.0/src/egl/wayland/wayland-egl/Makefile.in |
---|
0,0 → 1,1231 |
# 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@ |
# Provide compatibility with scripts for the old Mesa build system for |
# a while by putting a link to the driver into /lib of the build tree. |
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@ |
target_triplet = @target@ |
subdir = src/egl/wayland/wayland-egl |
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 |
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_gnu_make.m4 \ |
$(top_srcdir)/m4/ax_check_python_mako_module.m4 \ |
$(top_srcdir)/m4/ax_gcc_builtin.m4 \ |
$(top_srcdir)/m4/ax_gcc_func_attribute.m4 \ |
$(top_srcdir)/m4/ax_prog_bison.m4 \ |
$(top_srcdir)/m4/ax_prog_flex.m4 \ |
$(top_srcdir)/m4/ax_pthread.m4 $(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)/VERSION $(top_srcdir)/configure.ac |
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ |
$(ACLOCAL_M4) |
DIST_COMMON = $(srcdir)/Makefile.am $(noinst_HEADERS) \ |
$(am__DIST_COMMON) |
mkinstalldirs = $(install_sh) -d |
CONFIG_CLEAN_FILES = wayland-egl.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)$(pkgconfigdir)" |
LTLIBRARIES = $(lib_LTLIBRARIES) |
libwayland_egl_la_LIBADD = |
am_libwayland_egl_la_OBJECTS = wayland-egl.lo |
libwayland_egl_la_OBJECTS = $(am_libwayland_egl_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 = |
libwayland_egl_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ |
$(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ |
$(AM_CFLAGS) $(CFLAGS) $(libwayland_egl_la_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)/bin/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 = $(libwayland_egl_la_SOURCES) |
DIST_SOURCES = $(libwayland_egl_la_SOURCES) |
am__can_run_installinfo = \ |
case $$AM_UPDATE_INFO_DIR in \ |
n|no|NO) false;; \ |
*) (install-info --version) >/dev/null 2>&1;; \ |
esac |
DATA = $(pkgconfig_DATA) |
HEADERS = $(noinst_HEADERS) |
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) |
# 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 |
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='[0;31m'; \ |
grn='[0;32m'; \ |
lgn='[1;32m'; \ |
blu='[1;34m'; \ |
mgn='[0;35m'; \ |
brg='[1m'; \ |
std='[m'; \ |
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) |
AM_RECURSIVE_TARGETS = check recheck |
TEST_SUITE_LOG = test-suite.log |
TEST_EXTENSIONS = @EXEEXT@ .test |
LOG_DRIVER = $(SHELL) $(top_srcdir)/bin/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) |
TEST_LOGS = $(am__test_logs2:.test.log=.log) |
TEST_LOG_DRIVER = $(SHELL) $(top_srcdir)/bin/test-driver |
TEST_LOG_COMPILE = $(TEST_LOG_COMPILER) $(AM_TEST_LOG_FLAGS) \ |
$(TEST_LOG_FLAGS) |
am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/wayland-egl.pc.in \ |
$(top_srcdir)/bin/depcomp $(top_srcdir)/bin/test-driver \ |
$(top_srcdir)/install-lib-links.mk |
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) |
ACLOCAL = @ACLOCAL@ |
AMTAR = @AMTAR@ |
AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@ |
AR = @AR@ |
AUTOCONF = @AUTOCONF@ |
AUTOHEADER = @AUTOHEADER@ |
AUTOMAKE = @AUTOMAKE@ |
AWK = @AWK@ |
BSYMBOLIC = @BSYMBOLIC@ |
CC = @CC@ |
CCAS = @CCAS@ |
CCASDEPMODE = @CCASDEPMODE@ |
CCASFLAGS = @CCASFLAGS@ |
CCDEPMODE = @CCDEPMODE@ |
CFLAGS = @CFLAGS@ |
CLANG_RESOURCE_DIR = @CLANG_RESOURCE_DIR@ |
CLOCK_LIB = @CLOCK_LIB@ |
CPP = @CPP@ |
CPPFLAGS = @CPPFLAGS@ |
CXX = @CXX@ |
CXXCPP = @CXXCPP@ |
CXXDEPMODE = @CXXDEPMODE@ |
CXXFLAGS = @CXXFLAGS@ |
CYGPATH_W = @CYGPATH_W@ |
D3D_DRIVER_INSTALL_DIR = @D3D_DRIVER_INSTALL_DIR@ |
DEFINES = @DEFINES@ |
DEFS = @DEFS@ |
DEPDIR = @DEPDIR@ |
DLLTOOL = @DLLTOOL@ |
DLOPEN_LIBS = @DLOPEN_LIBS@ |
DRI2PROTO_CFLAGS = @DRI2PROTO_CFLAGS@ |
DRI2PROTO_LIBS = @DRI2PROTO_LIBS@ |
DRI3PROTO_CFLAGS = @DRI3PROTO_CFLAGS@ |
DRI3PROTO_LIBS = @DRI3PROTO_LIBS@ |
DRIGL_CFLAGS = @DRIGL_CFLAGS@ |
DRIGL_LIBS = @DRIGL_LIBS@ |
DRI_DRIVER_INSTALL_DIR = @DRI_DRIVER_INSTALL_DIR@ |
DRI_DRIVER_SEARCH_DIR = @DRI_DRIVER_SEARCH_DIR@ |
DRI_LIB_DEPS = @DRI_LIB_DEPS@ |
DRI_PC_REQ_PRIV = @DRI_PC_REQ_PRIV@ |
DSYMUTIL = @DSYMUTIL@ |
DUMPBIN = @DUMPBIN@ |
ECHO_C = @ECHO_C@ |
ECHO_N = @ECHO_N@ |
ECHO_T = @ECHO_T@ |
EGL_CFLAGS = @EGL_CFLAGS@ |
EGL_CLIENT_APIS = @EGL_CLIENT_APIS@ |
EGL_LIB_DEPS = @EGL_LIB_DEPS@ |
EGL_NATIVE_PLATFORM = @EGL_NATIVE_PLATFORM@ |
EGREP = @EGREP@ |
ELF_LIB = @ELF_LIB@ |
EXEEXT = @EXEEXT@ |
EXPAT_CFLAGS = @EXPAT_CFLAGS@ |
EXPAT_LIBS = @EXPAT_LIBS@ |
FGREP = @FGREP@ |
FREEDRENO_CFLAGS = @FREEDRENO_CFLAGS@ |
FREEDRENO_LIBS = @FREEDRENO_LIBS@ |
GALLIUM_PIPE_LOADER_CLIENT_DEFINES = @GALLIUM_PIPE_LOADER_CLIENT_DEFINES@ |
GALLIUM_PIPE_LOADER_CLIENT_LIBS = @GALLIUM_PIPE_LOADER_CLIENT_LIBS@ |
GALLIUM_PIPE_LOADER_DEFINES = @GALLIUM_PIPE_LOADER_DEFINES@ |
GALLIUM_PIPE_LOADER_LIBS = @GALLIUM_PIPE_LOADER_LIBS@ |
GALLIUM_PIPE_LOADER_XCB_CFLAGS = @GALLIUM_PIPE_LOADER_XCB_CFLAGS@ |
GALLIUM_PIPE_LOADER_XCB_LIBS = @GALLIUM_PIPE_LOADER_XCB_LIBS@ |
GBM_PC_LIB_PRIV = @GBM_PC_LIB_PRIV@ |
GBM_PC_REQ_PRIV = @GBM_PC_REQ_PRIV@ |
GC_SECTIONS = @GC_SECTIONS@ |
GLESv1_CM_LIB_DEPS = @GLESv1_CM_LIB_DEPS@ |
GLESv1_CM_PC_LIB_PRIV = @GLESv1_CM_PC_LIB_PRIV@ |
GLESv2_LIB_DEPS = @GLESv2_LIB_DEPS@ |
GLESv2_PC_LIB_PRIV = @GLESv2_PC_LIB_PRIV@ |
GLPROTO_CFLAGS = @GLPROTO_CFLAGS@ |
GLPROTO_LIBS = @GLPROTO_LIBS@ |
GLX_TLS = @GLX_TLS@ |
GL_LIB = @GL_LIB@ |
GL_LIB_DEPS = @GL_LIB_DEPS@ |
GL_PC_CFLAGS = @GL_PC_CFLAGS@ |
GL_PC_LIB_PRIV = @GL_PC_LIB_PRIV@ |
GL_PC_REQ_PRIV = @GL_PC_REQ_PRIV@ |
GREP = @GREP@ |
HAVE_XF86VIDMODE = @HAVE_XF86VIDMODE@ |
INDENT = @INDENT@ |
INDENT_FLAGS = @INDENT_FLAGS@ |
INSTALL = @INSTALL@ |
INSTALL_DATA = @INSTALL_DATA@ |
INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
INSTALL_SCRIPT = @INSTALL_SCRIPT@ |
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ |
INTEL_CFLAGS = @INTEL_CFLAGS@ |
INTEL_LIBS = @INTEL_LIBS@ |
LD = @LD@ |
LDFLAGS = @LDFLAGS@ |
LD_NO_UNDEFINED = @LD_NO_UNDEFINED@ |
LEX = @LEX@ |
LEXLIB = @LEXLIB@ |
LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ |
LIBCLC_INCLUDEDIR = @LIBCLC_INCLUDEDIR@ |
LIBCLC_LIBEXECDIR = @LIBCLC_LIBEXECDIR@ |
LIBDRM_CFLAGS = @LIBDRM_CFLAGS@ |
LIBDRM_LIBS = @LIBDRM_LIBS@ |
LIBOBJS = @LIBOBJS@ |
LIBS = @LIBS@ |
LIBSHA1_CFLAGS = @LIBSHA1_CFLAGS@ |
LIBSHA1_LIBS = @LIBSHA1_LIBS@ |
LIBTOOL = @LIBTOOL@ |
LIBUDEV_CFLAGS = @LIBUDEV_CFLAGS@ |
LIBUDEV_LIBS = @LIBUDEV_LIBS@ |
LIB_DIR = @LIB_DIR@ |
LIB_EXT = @LIB_EXT@ |
LIPO = @LIPO@ |
LLVM_BINDIR = @LLVM_BINDIR@ |
LLVM_CFLAGS = @LLVM_CFLAGS@ |
LLVM_CONFIG = @LLVM_CONFIG@ |
LLVM_CPPFLAGS = @LLVM_CPPFLAGS@ |
LLVM_CXXFLAGS = @LLVM_CXXFLAGS@ |
LLVM_INCLUDEDIR = @LLVM_INCLUDEDIR@ |
LLVM_LDFLAGS = @LLVM_LDFLAGS@ |
LLVM_LIBDIR = @LLVM_LIBDIR@ |
LLVM_LIBS = @LLVM_LIBS@ |
LLVM_VERSION = @LLVM_VERSION@ |
LN_S = @LN_S@ |
LTLIBOBJS = @LTLIBOBJS@ |
LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@ |
MAKEINFO = @MAKEINFO@ |
MANIFEST_TOOL = @MANIFEST_TOOL@ |
MESA_LLVM = @MESA_LLVM@ |
MKDIR_P = @MKDIR_P@ |
MSVC2008_COMPAT_CFLAGS = @MSVC2008_COMPAT_CFLAGS@ |
MSVC2008_COMPAT_CXXFLAGS = @MSVC2008_COMPAT_CXXFLAGS@ |
MSVC2013_COMPAT_CFLAGS = @MSVC2013_COMPAT_CFLAGS@ |
MSVC2013_COMPAT_CXXFLAGS = @MSVC2013_COMPAT_CXXFLAGS@ |
NINE_MAJOR = @NINE_MAJOR@ |
NINE_MINOR = @NINE_MINOR@ |
NINE_TINY = @NINE_TINY@ |
NINE_VERSION = @NINE_VERSION@ |
NM = @NM@ |
NMEDIT = @NMEDIT@ |
NOUVEAU_CFLAGS = @NOUVEAU_CFLAGS@ |
NOUVEAU_LIBS = @NOUVEAU_LIBS@ |
OBJDUMP = @OBJDUMP@ |
OBJEXT = @OBJEXT@ |
OMX_CFLAGS = @OMX_CFLAGS@ |
OMX_LIBS = @OMX_LIBS@ |
OMX_LIB_INSTALL_DIR = @OMX_LIB_INSTALL_DIR@ |
OPENCL_LIBNAME = @OPENCL_LIBNAME@ |
OPENSSL_CFLAGS = @OPENSSL_CFLAGS@ |
OPENSSL_LIBS = @OPENSSL_LIBS@ |
OSMESA_LIB = @OSMESA_LIB@ |
OSMESA_LIB_DEPS = @OSMESA_LIB_DEPS@ |
OSMESA_PC_LIB_PRIV = @OSMESA_PC_LIB_PRIV@ |
OSMESA_PC_REQ = @OSMESA_PC_REQ@ |
OSMESA_VERSION = @OSMESA_VERSION@ |
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@ |
PATH_SEPARATOR = @PATH_SEPARATOR@ |
PKG_CONFIG = @PKG_CONFIG@ |
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ |
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ |
POSIX_SHELL = @POSIX_SHELL@ |
PRESENTPROTO_CFLAGS = @PRESENTPROTO_CFLAGS@ |
PRESENTPROTO_LIBS = @PRESENTPROTO_LIBS@ |
PTHREAD_CC = @PTHREAD_CC@ |
PTHREAD_CFLAGS = @PTHREAD_CFLAGS@ |
PTHREAD_LIBS = @PTHREAD_LIBS@ |
PYTHON2 = @PYTHON2@ |
RADEON_CFLAGS = @RADEON_CFLAGS@ |
RADEON_LIBS = @RADEON_LIBS@ |
RANLIB = @RANLIB@ |
SED = @SED@ |
SELINUX_CFLAGS = @SELINUX_CFLAGS@ |
SELINUX_LIBS = @SELINUX_LIBS@ |
SET_MAKE = @SET_MAKE@ |
SHA1_CFLAGS = @SHA1_CFLAGS@ |
SHA1_LIBS = @SHA1_LIBS@ |
SHELL = @SHELL@ |
SSE41_CFLAGS = @SSE41_CFLAGS@ |
STRIP = @STRIP@ |
VA_CFLAGS = @VA_CFLAGS@ |
VA_LIBS = @VA_LIBS@ |
VA_LIB_INSTALL_DIR = @VA_LIB_INSTALL_DIR@ |
VA_MAJOR = @VA_MAJOR@ |
VA_MINOR = @VA_MINOR@ |
VDPAU_CFLAGS = @VDPAU_CFLAGS@ |
VDPAU_LIBS = @VDPAU_LIBS@ |
VDPAU_LIB_INSTALL_DIR = @VDPAU_LIB_INSTALL_DIR@ |
VDPAU_MAJOR = @VDPAU_MAJOR@ |
VDPAU_MINOR = @VDPAU_MINOR@ |
VERSION = @VERSION@ |
VG_LIB_DEPS = @VG_LIB_DEPS@ |
VISIBILITY_CFLAGS = @VISIBILITY_CFLAGS@ |
VISIBILITY_CXXFLAGS = @VISIBILITY_CXXFLAGS@ |
VL_CFLAGS = @VL_CFLAGS@ |
VL_LIBS = @VL_LIBS@ |
WAYLAND_CFLAGS = @WAYLAND_CFLAGS@ |
WAYLAND_LIBS = @WAYLAND_LIBS@ |
WAYLAND_SCANNER = @WAYLAND_SCANNER@ |
WAYLAND_SCANNER_CFLAGS = @WAYLAND_SCANNER_CFLAGS@ |
WAYLAND_SCANNER_LIBS = @WAYLAND_SCANNER_LIBS@ |
X11_INCLUDES = @X11_INCLUDES@ |
XA_MAJOR = @XA_MAJOR@ |
XA_MINOR = @XA_MINOR@ |
XA_TINY = @XA_TINY@ |
XA_VERSION = @XA_VERSION@ |
XCB_DRI2_CFLAGS = @XCB_DRI2_CFLAGS@ |
XCB_DRI2_LIBS = @XCB_DRI2_LIBS@ |
XF86VIDMODE_CFLAGS = @XF86VIDMODE_CFLAGS@ |
XF86VIDMODE_LIBS = @XF86VIDMODE_LIBS@ |
XLIBGL_CFLAGS = @XLIBGL_CFLAGS@ |
XLIBGL_LIBS = @XLIBGL_LIBS@ |
XVMC_CFLAGS = @XVMC_CFLAGS@ |
XVMC_LIBS = @XVMC_LIBS@ |
XVMC_LIB_INSTALL_DIR = @XVMC_LIB_INSTALL_DIR@ |
XVMC_MAJOR = @XVMC_MAJOR@ |
XVMC_MINOR = @XVMC_MINOR@ |
YACC = @YACC@ |
YFLAGS = @YFLAGS@ |
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_CXX = @ac_ct_CXX@ |
ac_ct_DUMPBIN = @ac_ct_DUMPBIN@ |
acv_mako_found = @acv_mako_found@ |
am__include = @am__include@ |
am__leading_dot = @am__leading_dot@ |
am__quote = @am__quote@ |
am__tar = @am__tar@ |
am__untar = @am__untar@ |
ax_pthread_config = @ax_pthread_config@ |
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@ |
ifGNUmake = @ifGNUmake@ |
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@ |
sbindir = @sbindir@ |
sharedstatedir = @sharedstatedir@ |
srcdir = @srcdir@ |
sysconfdir = @sysconfdir@ |
target = @target@ |
target_alias = @target_alias@ |
target_cpu = @target_cpu@ |
target_os = @target_os@ |
target_vendor = @target_vendor@ |
top_build_prefix = @top_build_prefix@ |
top_builddir = @top_builddir@ |
top_srcdir = @top_srcdir@ |
pkgconfigdir = $(libdir)/pkgconfig |
pkgconfig_DATA = wayland-egl.pc |
AM_CFLAGS = $(DEFINES) \ |
$(VISIBILITY_CFLAGS) \ |
$(WAYLAND_CFLAGS) |
lib_LTLIBRARIES = libwayland-egl.la |
noinst_HEADERS = wayland-egl-priv.h |
libwayland_egl_la_SOURCES = wayland-egl.c |
libwayland_egl_la_LDFLAGS = \ |
-no-undefined \ |
-version-info 1 \ |
$(GC_SECTIONS) \ |
$(LD_NO_UNDEFINED) |
TESTS = wayland-egl-symbols-check |
EXTRA_DIST = wayland-egl-symbols-check |
all: all-am |
.SUFFIXES: |
.SUFFIXES: .c .lo .log .o .obj .test .test$(EXEEXT) .trs |
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(top_srcdir)/install-lib-links.mk $(am__configure_deps) |
@for dep in $?; do \ |
case '$(am__configure_deps)' in \ |
*$$dep*) \ |
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \ |
&& { if test -f $@; then exit 0; else break; fi; }; \ |
exit 1;; \ |
esac; \ |
done; \ |
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/egl/wayland/wayland-egl/Makefile'; \ |
$(am__cd) $(top_srcdir) && \ |
$(AUTOMAKE) --foreign src/egl/wayland/wayland-egl/Makefile |
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status |
@case '$?' in \ |
*config.status*) \ |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \ |
*) \ |
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \ |
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \ |
esac; |
$(top_srcdir)/install-lib-links.mk $(am__empty): |
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
$(top_srcdir)/configure: $(am__configure_deps) |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
$(ACLOCAL_M4): $(am__aclocal_m4_deps) |
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh |
$(am__aclocal_m4_deps): |
wayland-egl.pc: $(top_builddir)/config.status $(srcdir)/wayland-egl.pc.in |
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ |
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}; \ |
} |
libwayland-egl.la: $(libwayland_egl_la_OBJECTS) $(libwayland_egl_la_DEPENDENCIES) $(EXTRA_libwayland_egl_la_DEPENDENCIES) |
$(AM_V_CCLD)$(libwayland_egl_la_LINK) -rpath $(libdir) $(libwayland_egl_la_OBJECTS) $(libwayland_egl_la_LIBADD) $(LIBS) |
mostlyclean-compile: |
-rm -f *.$(OBJEXT) |
distclean-compile: |
-rm -f *.tab.c |
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/wayland-egl.Plo@am__quote@ |
.c.o: |
@am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` |
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.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 $@ $< |
mostlyclean-libtool: |
-rm -f *.lo |
clean-libtool: |
-rm -rf .libs _libs |
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) |
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" |
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 |
# 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 $$? |
wayland-egl-symbols-check.log: wayland-egl-symbols-check |
@p='wayland-egl-symbols-check'; \ |
b='wayland-egl-symbols-check'; \ |
$(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) |
.test.log: |
@p='$<'; \ |
$(am__set_b); \ |
$(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ |
--log-file $$b.log --trs-file $$b.trs \ |
$(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ |
"$$tst" $(AM_TESTS_FD_REDIRECT) |
@am__EXEEXT_TRUE@.test$(EXEEXT).log: |
@am__EXEEXT_TRUE@ @p='$<'; \ |
@am__EXEEXT_TRUE@ $(am__set_b); \ |
@am__EXEEXT_TRUE@ $(am__check_pre) $(TEST_LOG_DRIVER) --test-name "$$f" \ |
@am__EXEEXT_TRUE@ --log-file $$b.log --trs-file $$b.trs \ |
@am__EXEEXT_TRUE@ $(am__common_driver_flags) $(AM_TEST_LOG_DRIVER_FLAGS) $(TEST_LOG_DRIVER_FLAGS) -- $(TEST_LOG_COMPILE) \ |
@am__EXEEXT_TRUE@ "$$tst" $(AM_TESTS_FD_REDIRECT) |
distdir: $(DISTFILES) |
@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 |
check-am: all-am |
$(MAKE) $(AM_MAKEFLAGS) check-TESTS |
check: check-am |
@BUILD_SHARED_FALSE@all-local: |
@HAVE_COMPAT_SYMLINKS_FALSE@all-local: |
all-am: Makefile $(LTLIBRARIES) $(DATA) $(HEADERS) all-local |
installdirs: |
for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(pkgconfigdir)"; do \ |
test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
done |
install: install-am |
install-exec: install-exec-am |
install-data: install-data-am |
uninstall: uninstall-am |
install-am: all-am |
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am |
installcheck: installcheck-am |
install-strip: |
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: |
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) |
maintainer-clean-generic: |
@echo "This command is intended for maintainers to use" |
@echo "it deletes files that may require special tools to rebuild." |
@BUILD_SHARED_FALSE@clean-local: |
@HAVE_COMPAT_SYMLINKS_FALSE@clean-local: |
clean: clean-am |
clean-am: clean-generic clean-libLTLIBRARIES clean-libtool clean-local \ |
mostlyclean-am |
distclean: distclean-am |
-rm -rf ./$(DEPDIR) |
-rm -f Makefile |
distclean-am: clean-am distclean-compile distclean-generic \ |
distclean-tags |
dvi: dvi-am |
dvi-am: |
html: html-am |
html-am: |
info: info-am |
info-am: |
install-data-am: install-pkgconfigDATA |
install-dvi: install-dvi-am |
install-dvi-am: |
install-exec-am: install-libLTLIBRARIES |
install-html: install-html-am |
install-html-am: |
install-info: install-info-am |
install-info-am: |
install-man: |
install-pdf: install-pdf-am |
install-pdf-am: |
install-ps: install-ps-am |
install-ps-am: |
installcheck-am: |
maintainer-clean: maintainer-clean-am |
-rm -rf ./$(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-libLTLIBRARIES uninstall-pkgconfigDATA |
.MAKE: check-am install-am install-strip |
.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-TESTS \ |
check-am clean clean-generic clean-libLTLIBRARIES \ |
clean-libtool clean-local cscopelist-am ctags ctags-am \ |
distclean distclean-compile distclean-generic \ |
distclean-libtool distclean-tags distdir dvi dvi-am html \ |
html-am info info-am install install-am install-data \ |
install-data-am install-dvi install-dvi-am install-exec \ |
install-exec-am install-html install-html-am install-info \ |
install-info-am install-libLTLIBRARIES install-man install-pdf \ |
install-pdf-am install-pkgconfigDATA install-ps install-ps-am \ |
install-strip 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-libLTLIBRARIES uninstall-pkgconfigDATA |
.PRECIOUS: Makefile |
@BUILD_SHARED_TRUE@@HAVE_COMPAT_SYMLINKS_TRUE@all-local : .install-mesa-links |
@BUILD_SHARED_TRUE@@HAVE_COMPAT_SYMLINKS_TRUE@.install-mesa-links : $(lib_LTLIBRARIES) |
@BUILD_SHARED_TRUE@@HAVE_COMPAT_SYMLINKS_TRUE@ $(AM_V_GEN)$(MKDIR_P) $(top_builddir)/$(LIB_DIR); \ |
@BUILD_SHARED_TRUE@@HAVE_COMPAT_SYMLINKS_TRUE@ for f in $(join $(addsuffix .libs/,$(dir $(lib_LTLIBRARIES))),$(notdir $(lib_LTLIBRARIES:%.la=%.$(LIB_EXT)*))); do \ |
@BUILD_SHARED_TRUE@@HAVE_COMPAT_SYMLINKS_TRUE@ if test -h .libs/$$f; then \ |
@BUILD_SHARED_TRUE@@HAVE_COMPAT_SYMLINKS_TRUE@ cp -d $$f $(top_builddir)/$(LIB_DIR); \ |
@BUILD_SHARED_TRUE@@HAVE_COMPAT_SYMLINKS_TRUE@ else \ |
@BUILD_SHARED_TRUE@@HAVE_COMPAT_SYMLINKS_TRUE@ ln -f $$f $(top_builddir)/$(LIB_DIR); \ |
@BUILD_SHARED_TRUE@@HAVE_COMPAT_SYMLINKS_TRUE@ fi; \ |
@BUILD_SHARED_TRUE@@HAVE_COMPAT_SYMLINKS_TRUE@ done && touch $@ |
@BUILD_SHARED_TRUE@@HAVE_COMPAT_SYMLINKS_TRUE@clean-local: |
@BUILD_SHARED_TRUE@@HAVE_COMPAT_SYMLINKS_TRUE@ for f in $(notdir $(lib_LTLIBRARIES:%.la=.libs/%.$(LIB_EXT)*)); do \ |
@BUILD_SHARED_TRUE@@HAVE_COMPAT_SYMLINKS_TRUE@ $(RM) $(top_builddir)/$(LIB_DIR)/$$f; \ |
@BUILD_SHARED_TRUE@@HAVE_COMPAT_SYMLINKS_TRUE@ done; |
@BUILD_SHARED_TRUE@@HAVE_COMPAT_SYMLINKS_TRUE@ $(RM) .install-mesa-links |
# 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: |
/contrib/sdk/sources/Mesa/mesa-10.6.0/src/egl/wayland/wayland-egl/wayland-egl-priv.h |
---|
0,0 → 1,36 |
#ifndef _WAYLAND_EGL_PRIV_H |
#define _WAYLAND_EGL_PRIV_H |
#ifdef __cplusplus |
extern "C" { |
#endif |
/* GCC visibility */ |
#if defined(__GNUC__) |
#define WL_EGL_EXPORT __attribute__ ((visibility("default"))) |
#else |
#define WL_EGL_EXPORT |
#endif |
#include <wayland-client.h> |
struct wl_egl_window { |
struct wl_surface *surface; |
int width; |
int height; |
int dx; |
int dy; |
int attached_width; |
int attached_height; |
void *private; |
void (*resize_callback)(struct wl_egl_window *, void *); |
}; |
#ifdef __cplusplus |
} |
#endif |
#endif |
/contrib/sdk/sources/Mesa/mesa-10.6.0/src/egl/wayland/wayland-egl/wayland-egl-symbols-check |
---|
0,0 → 1,16 |
#!/bin/bash |
FUNCS=$(nm -D --defined-only ${1-.libs/libwayland-egl.so} | grep -o "T .*" | cut -c 3- | while read func; do |
( grep -q "^$func$" || echo $func ) <<EOF |
wl_egl_window_resize |
wl_egl_window_create |
wl_egl_window_destroy |
wl_egl_window_get_attached_size |
_fini |
_init |
EOF |
done) |
test ! -n "$FUNCS" || echo $FUNCS |
test ! -n "$FUNCS" |
/contrib/sdk/sources/Mesa/mesa-10.6.0/src/egl/wayland/wayland-egl/wayland-egl.c |
---|
0,0 → 1,61 |
#include <stdlib.h> |
#include <wayland-client.h> |
#include "wayland-egl.h" |
#include "wayland-egl-priv.h" |
WL_EGL_EXPORT void |
wl_egl_window_resize(struct wl_egl_window *egl_window, |
int width, int height, |
int dx, int dy) |
{ |
if (width <= 0 || height <= 0) |
return; |
egl_window->width = width; |
egl_window->height = height; |
egl_window->dx = dx; |
egl_window->dy = dy; |
if (egl_window->resize_callback) |
egl_window->resize_callback(egl_window, egl_window->private); |
} |
WL_EGL_EXPORT struct wl_egl_window * |
wl_egl_window_create(struct wl_surface *surface, |
int width, int height) |
{ |
struct wl_egl_window *egl_window; |
if (width <= 0 || height <= 0) |
return NULL; |
egl_window = malloc(sizeof *egl_window); |
if (!egl_window) |
return NULL; |
egl_window->surface = surface; |
egl_window->private = NULL; |
egl_window->resize_callback = NULL; |
wl_egl_window_resize(egl_window, width, height, 0, 0); |
egl_window->attached_width = 0; |
egl_window->attached_height = 0; |
return egl_window; |
} |
WL_EGL_EXPORT void |
wl_egl_window_destroy(struct wl_egl_window *egl_window) |
{ |
free(egl_window); |
} |
WL_EGL_EXPORT void |
wl_egl_window_get_attached_size(struct wl_egl_window *egl_window, |
int *width, int *height) |
{ |
if (width) |
*width = egl_window->attached_width; |
if (height) |
*height = egl_window->attached_height; |
} |
/contrib/sdk/sources/Mesa/mesa-10.6.0/src/egl/wayland/wayland-egl/wayland-egl.pc.in |
---|
0,0 → 1,11 |
prefix=@prefix@ |
exec_prefix=@exec_prefix@ |
libdir=@libdir@ |
includedir=@includedir@ |
Name: wayland-egl |
Description: Mesa wayland-egl library |
Version: @VERSION@ |
Requires: wayland-client |
Libs: -L${libdir} -lwayland-egl |
Cflags: -I${includedir} |