build: Remove rpc.h and rpcndr.h includes from generated headers.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia
2018-04-13 12:37:44 +02:00
committed by Alexandre Julliard
parent ab15973e6b
commit ce9ec9a44a
4 changed files with 2 additions and 57 deletions

View File

@@ -14,8 +14,6 @@ widl_headers = \
include/vkd3d_dxgitype.h
vkd3d_public_headers = \
include/dummy/rpc.h \
include/dummy/rpcndr.h \
include/vkd3d.h \
include/vkd3d_d3d12.h \
include/vkd3d_d3dcommon.h \
@@ -149,6 +147,7 @@ EXTRA_DIST += $(widl_headers) $(widl_headers:.h=.idl)
$(widl_headers): %.h: %.idl
if HAVE_WIDL
$(VKD3D_V_WIDL)$(WIDL) -o $@ $<
sed -e '/#include <\(rpc.h\|rpcndr.h\)>/d' -i $@
else
echo "widl is required to generate $<"
endif