Commit 28cb395d authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Baptiste Kempf

win64: build and ship activex plugin

(cherry picked from commit fbbc06244c23e5af97409390115c5a42d1dbfb5d)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2e90c949
...@@ -17,18 +17,11 @@ stamp-npapi-autogen: stamp-npapi-fetch ...@@ -17,18 +17,11 @@ stamp-npapi-autogen: stamp-npapi-fetch
$(SHELL) ./autogen.sh $(SHELL) ./autogen.sh
touch $@ touch $@
if HAVE_WIN64
CONF_ACTIVEX = --disable-activex
else
CONF_ACTIVEX =
endif
stamp-npapi-configure: stamp-npapi-autogen stamp-gecko-fetch stamp-npapi-configure: stamp-npapi-autogen stamp-gecko-fetch
cd npapi-vlc && \ cd npapi-vlc && \
$(SHELL) ./configure \ $(SHELL) ./configure \
--prefix=/ \ --prefix=/ \
--host=$(host_alias) --build=$(build_alias) \ --host=$(host_alias) --build=$(build_alias) \
$(CONF_ACTIVEX) \
CPP="$(CPP)" CPPFLAGS="$(CPPFLAGS)" \ CPP="$(CPP)" CPPFLAGS="$(CPPFLAGS)" \
CC="$(CC)" CFLAGS="$(CFLAGS)" \ CC="$(CC)" CFLAGS="$(CFLAGS)" \
CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" \ CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" \
......
...@@ -68,10 +68,8 @@ if BUILD_OSDMENU ...@@ -68,10 +68,8 @@ if BUILD_OSDMENU
endif endif
if !HAVE_WINCE if !HAVE_WINCE
if !HAVE_WIN64
cp "$(top_builddir)/npapi-vlc/activex/axvlc.dll.manifest" "$(win32_destdir)/" cp "$(top_builddir)/npapi-vlc/activex/axvlc.dll.manifest" "$(win32_destdir)/"
cp "$(top_builddir)/npapi-vlc/installed/lib/axvlc.dll" "$(win32_destdir)/" cp "$(top_builddir)/npapi-vlc/installed/lib/axvlc.dll" "$(win32_destdir)/"
endif
cp "$(top_builddir)/npapi-vlc/npapi/npvlc.dll.manifest" "$(win32_destdir)/" cp "$(top_builddir)/npapi-vlc/npapi/npvlc.dll.manifest" "$(win32_destdir)/"
cp "$(top_builddir)/npapi-vlc/installed/lib/npvlc.dll" "$(win32_destdir)/" cp "$(top_builddir)/npapi-vlc/installed/lib/npvlc.dll" "$(win32_destdir)/"
endif endif
...@@ -90,11 +88,9 @@ if !HAVE_WINCE ...@@ -90,11 +88,9 @@ if !HAVE_WINCE
$(DLLTOOL) -D libvlc.dll -l "$(win32_destdir)/sdk/lib/libvlc.lib" -d "$(top_builddir)/lib/.libs/libvlc.dll.def" "$(prefix)/bin/libvlc.dll" $(DLLTOOL) -D libvlc.dll -l "$(win32_destdir)/sdk/lib/libvlc.lib" -d "$(top_builddir)/lib/.libs/libvlc.dll.def" "$(prefix)/bin/libvlc.dll"
$(DLLTOOL) -D libvlccore.dll -l "$(win32_destdir)/sdk/lib/libvlccore.lib" -d "$(top_builddir)/src/.libs/libvlccore.dll.def" "$(prefix)/bin/libvlccore.dll" $(DLLTOOL) -D libvlccore.dll -l "$(win32_destdir)/sdk/lib/libvlccore.lib" -d "$(top_builddir)/src/.libs/libvlccore.dll.def" "$(prefix)/bin/libvlccore.dll"
if !HAVE_WIN64
mkdir -p "$(win32_destdir)/sdk/activex/" mkdir -p "$(win32_destdir)/sdk/activex/"
cd $(top_builddir)/npapi-vlc && cp activex/README.TXT share/test.html $(win32_destdir)/sdk/activex/ cd $(top_builddir)/npapi-vlc && cp activex/README.TXT share/test.html $(win32_destdir)/sdk/activex/
endif endif
endif
# Convert to DOS line endings # Convert to DOS line endings
find $(win32_destdir) -type f \( -name "*xml" -or -name "*html" -or -name '*js' -or -name '*css' -or -name '*hosts' -or -iname '*txt' -or -name '*.cfg' -or -name '*.lua' \) -exec $(U2D) {} \; find $(win32_destdir) -type f \( -name "*xml" -or -name "*html" -or -name '*js' -or -name '*css' -or -name '*hosts' -or -iname '*txt' -or -name '*.cfg' -or -name '*.lua' \) -exec $(U2D) {} \;
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
!define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_DIR_REGKEY}" !define MUI_LANGDLL_REGISTRY_KEY "${PRODUCT_DIR_REGKEY}"
!define MUI_LANGDLL_REGISTRY_VALUENAME "Language" !define MUI_LANGDLL_REGISTRY_VALUENAME "Language"
@HAVE_WIN64_FALSE@ !define INSTALL_ACTIVEX !define INSTALL_ACTIVEX
!define INSTALL_MOZILLA !define INSTALL_MOZILLA
;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;
......
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