Commit 764c24da authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contrib: prefix widl tool

parent 7783a4dc
...@@ -20,10 +20,10 @@ $(TARBALLS)/dxgidebug.idl: ...@@ -20,10 +20,10 @@ $(TARBALLS)/dxgidebug.idl:
(cd $(TARBALLS) && patch -fp1) < $(SRC)/d3d11/dxgidebug.patch (cd $(TARBALLS) && patch -fp1) < $(SRC)/d3d11/dxgidebug.patch
$(DST_D3D11_H): $(TARBALLS)/d3d11.idl $(DST_D3D11_H): $(TARBALLS)/d3d11.idl
widl -DBOOL=WINBOOL -I$(IDL_INC_PATH) -h -o $@ $< $(WIDL) -DBOOL=WINBOOL -I$(IDL_INC_PATH) -h -o $@ $<
$(DST_DXGIDEBUG_H): $(TARBALLS)/dxgidebug.idl $(DST_DXGIDEBUG_H): $(TARBALLS)/dxgidebug.idl
widl -DBOOL=WINBOOL -I$(IDL_INC_PATH) -h -o $@ $< $(WIDL) -DBOOL=WINBOOL -I$(IDL_INC_PATH) -h -o $@ $<
.d3d11: $(DST_D3D11_H) $(DST_DXGIDEBUG_H) .d3d11: $(DST_D3D11_H) $(DST_DXGIDEBUG_H)
touch $@ touch $@
...@@ -69,6 +69,9 @@ endif ...@@ -69,6 +69,9 @@ endif
ifneq ($(findstring $(origin STRIP),undefined default),) ifneq ($(findstring $(origin STRIP),undefined default),)
STRIP := strip STRIP := strip
endif endif
ifneq ($(findstring $(origin WIDL),undefined default),)
WIDL := widl
endif
else else
ifneq ($(findstring $(origin CC),undefined default),) ifneq ($(findstring $(origin CC),undefined default),)
CC := $(HOST)-gcc CC := $(HOST)-gcc
...@@ -88,6 +91,9 @@ endif ...@@ -88,6 +91,9 @@ endif
ifneq ($(findstring $(origin STRIP),undefined default),) ifneq ($(findstring $(origin STRIP),undefined default),)
STRIP := $(HOST)-strip STRIP := $(HOST)-strip
endif endif
ifneq ($(findstring $(origin WIDL),undefined default),)
WIDL := $(HOST)-widl
endif
endif endif
ifdef HAVE_ANDROID ifdef HAVE_ANDROID
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment