[vlc-commits] widl: generate stdole2.tlb

Rafaël Carré git at videolan.org
Thu Jun 6 22:51:40 CEST 2013


npapi-vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Jun  6 22:50:31 2013 +0200| [2d7399346dd99af42bc4bae7ff4d7fff30deb295] | committer: Rafaël Carré

widl: generate stdole2.tlb

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=2d7399346dd99af42bc4bae7ff4d7fff30deb295
---

 activex/Makefile.am |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/activex/Makefile.am b/activex/Makefile.am
index 069bab2..e5722ea 100644
--- a/activex/Makefile.am
+++ b/activex/Makefile.am
@@ -105,11 +105,14 @@ if HAS_WIDL_COMPILER
 
 WINE_SDK_PATH ?= /usr/include/wine/windows
 
-axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl
-	$(WIDL) -I$(WINE_SDK_PATH) -tuh -T axvlc.tlb -U axvlc_idl.c -H axvlc_idl.h axvlc.idl
+stdole2.tlb stdole2_idl.c stdole2_idl.h: $(WINE_SDK_PATH)/stdole2.idl
+	$(WIDL) -I$(WINE_SDK_PATH) -tuh -T stdole2.tlb -U stdole2_idl.c -H stdole2_idl.h $<
+
+axvlc.tlb axvlc_idl.c axvlc_idl.h: axvlc.idl stdole2.tlb
+	$(WIDL) -I$(WINE_SDK_PATH) -I. -tuh -T axvlc.tlb -U axvlc_idl.c -H axvlc_idl.h axvlc.idl
 
 clean-tlb:
-	rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h
+	rm -f axvlc.tlb axvlc_idl.c axvlc_idl.h stdole2.tlb stdole2_idl.c stdole2_idl.h
 
 else
 



More information about the vlc-commits mailing list