if LOADER
SUBDIRS += libs/loader
endif
-if HAVE_LIBGCRYPT
+if HAVE_GCRYPT
SUBDIRS += libs/srtp
endif
if HAVE_ZLIB
endif
endif
-xcodebuild_FLAGS = $(xcodebuildsilentflags_$(V))
-xcodebuildsilentflags_ = $(xcodebuildsilentflags__$(AM_DEFAULT_VERBOSITY))
-xcodebuildsilentflags_0 = 2>&1 >/dev/null
+silentstd = $(silentstd_$(V))
+silentstd_ = $(silentstd__$(AM_DEFAULT_VERBOSITY))
+silentstd_0 = 2>&1 >/dev/null
# '__' prefix trick for old automake version.
-xcodebuildsilentflags__0 = $(xcodebuildsilentflags_0)
+silentstd__0 = $(silentstd_0)
# VLC-release.app for packaging and giving it to your friends
# use package-macosx to get a nice dmg
VLC-release.app: vlc
- ( cd src && $(MAKE) $(AM_MAKEFLAGS) install )
+ ( cd src && $(MAKE) $(AM_MAKEFLAGS) install $(silentstd) )
rm -Rf "$(top_builddir)/tmp"
mkdir -p "$(top_builddir)/tmp/extras/package/macosx"
rm -Rf $(top_builddir)/VLC-release.app
$(top_builddir)/tmp/modules/gui/macosx; \
done
$(AM_V_GEN)cd $(top_builddir)/tmp/extras/package/macosx && \
- xcodebuild -target vlc $(xcodebuild_FLAGS) && \
+ xcodebuild -target vlc $(silentstd) && \
cd ../../../../ && \
cp -R $(top_builddir)/tmp/extras/package/macosx/build/Default/VLC.bundle $(top_builddir)/VLC-release.app; \
rm -Rf $(top_builddir)/tmp
# This is just for development purposes.
# The resulting VLC.app will only run in this tree.
VLC.app: vlc $(top_builddir)/src/.libs/libvlccore.dylib $(top_builddir)/src/.libs/libvlc.dylib
- (cd src && make install)
+ $(AM_V_GEN)(cd src && make install $(silentstd))
rm -Rf $(top_builddir)/tmp
mkdir -p "$(top_builddir)/tmp/extras/package/macosx"
rm -Rf $(top_builddir)/VLC.app
$(top_builddir)/tmp/modules/gui/macosx; \
done
$(AM_V_GEN)cd $(top_builddir)/tmp/extras/package/macosx && \
- xcodebuild -target vlc $(xcodebuild_FLAGS) && \
+ xcodebuild -target vlc $(silentstd) && \
cd ../../../../ && \
cp -R $(top_builddir)/tmp/extras/package/macosx/build/Default/VLC.bundle $(top_builddir)/VLC.app
$(INSTALL) -d $(top_builddir)/VLC.app/Contents/MacOS
# Contrib *.dll's
cp $(srcdir)/extras/contrib/lib/*.dll "vlc-$(VERSION)/" || true
+#Enable DEP and ASLR for all the binaries
+if USE_PEFLAGS
+ find $(win32_destdir) -type f -name '*.dll' -print -o -name '*.exe' -print | while read i; do \
+ $(PEFLAGS) --dynamicbase=true --nxcompat=true "$$i" ; \
+ done
+endif
+
# Copy the lua scripts (HTTP)
if BUILD_LUA
mkdir -p "$(win32_lua_destdir)/http/images"