浏览代码

wayland: Stop trying to use make rules from aclocal, just copy and paste

Defeated by autotool, copy and paste to the rescue.

https://bugs.freedesktop.org/show_bug.cgi?id=51997
https://bugs.freedesktop.org/show_bug.cgi?id=51531

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
tags/rgb10_a2ui-v3
Kristian Høgsberg 13 年前
父节点
当前提交
426a23af14
共有 3 个文件被更改,包括 11 次插入3 次删除
  1. 3
    2
      configure.ac
  2. 8
    1
      src/egl/wayland/wayland-drm/Makefile.am
  3. 0
    0
      src/egl/wayland/wayland-drm/wayland-drm.xml

+ 3
- 2
configure.ac 查看文件

@@ -1728,8 +1728,9 @@ for plat in $egl_platforms; do
[AC_MSG_ERROR([cannot find libwayland-client])])
GALLIUM_WINSYS_DIRS="$GALLIUM_WINSYS_DIRS sw/wayland"

m4_ifdef([WAYLAND_SCANNER_RULES],
[WAYLAND_SCANNER_RULES(['$(top_srcdir)/src/egl/wayland/wayland-drm/protocol'])])
WAYLAND_PREFIX=`$PKG_CONFIG --variable=prefix wayland-client`
AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner],,
[${WAYLAND_PREFIX}/bin$PATH_SEPARATOR$PATH])
;;

x11)

+ 8
- 1
src/egl/wayland/wayland-drm/Makefile.am 查看文件

@@ -12,4 +12,11 @@ BUILT_SOURCES = wayland-drm-protocol.c \
wayland-drm-server-protocol.h
CLEANFILES = $(BUILT_SOURCES)

@wayland_scanner_rules@
%-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 < $< > $@

src/egl/wayland/wayland-drm/protocol/wayland-drm.xml → src/egl/wayland/wayland-drm/wayland-drm.xml 查看文件


正在加载...
取消
保存