[vlc-devel] commit: Add GNU Make 3.81 for Darwin 8 ( Felix Paul Kühne )

git version control git at videolan.org
Sat May 24 15:53:52 CEST 2008


vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Sat May 24 15:55:24 2008 +0200| [876df3a7f4b60549f6006414f218976a122923c9]

Add GNU Make 3.81 for Darwin 8

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=876df3a7f4b60549f6006414f218976a122923c9
---

 extras/contrib/src/Distributions/darwin.mak |    4 ++--
 extras/contrib/src/Makefile                 |   22 ++++++++++++++++++++++
 extras/contrib/src/packages.mak             |    2 ++
 3 files changed, 26 insertions(+), 2 deletions(-)

diff --git a/extras/contrib/src/Distributions/darwin.mak b/extras/contrib/src/Distributions/darwin.mak
index 9814585..6082a5e 100644
--- a/extras/contrib/src/Distributions/darwin.mak
+++ b/extras/contrib/src/Distributions/darwin.mak
@@ -1,12 +1,12 @@
 # Darwin rules
-download-all: autoconf automake libtool gettext pkgconfig freetype2 \
+download-all: autoconf gnumake automake libtool gettext pkgconfig freetype2 \
     fribidi a52dec mpeg2dec libid3tag libmad libogg libvorbis libtheora flac \
     speex libshout faad2 faac lame twolame libebml libmatroska ffmpeg libdca \
     libdvdcss libdvdnav libdvbpsi live libcaca libmodplug xml asa jpeg tiff \
     SDL zlib libpng libgpg-error libgcrypt opencdk gnutls libopendaap libcddb \
     libcdio vcdimager SDL_image glib gecko-sdk mpcdec dirac expat taglib \
     x264 yasm goom lua zvbi fontconfig ncurses all
-all: .autoconf .automake .libtool .intl .pkgcfg .freetype \
+all: .autoconf .gnumake .automake .libtool .intl .pkgcfg .freetype \
     .fribidi .a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \
     .flac .speex .shout .faad .faac .lame .twolame .ebml .matroska .ffmpeg \
     .dvdcss .dvdnav .dvdread .dvbpsi .live .caca .mod .asa \
diff --git a/extras/contrib/src/Makefile b/extras/contrib/src/Makefile
index 1e278c0..289da9c 100644
--- a/extras/contrib/src/Makefile
+++ b/extras/contrib/src/Makefile
@@ -260,6 +260,28 @@ CLEAN_PKG += autoconf
 DISTCLEAN_PKG += autoconf-$(AUTOCONF_VERSION).tar.bz2
 
 # ***************************************************************************
+# gnumake
+# ***************************************************************************
+
+make-$(GNUMAKE_VERSION).tar.bz2:
+	$(WGET) $(GNUMAKE_URL)
+
+gnumake: make-$(GNUMAKE_VERSION).tar.bz2
+	$(EXTRACT_BZ2)
+
+.gnumake: gnumake
+ifdef HAVE_DARWIN_OS
+ifndef HAVE_DARWIN_9
+	(cd $<; ./configure --prefix=$(PREFIX) && make && make install)
+endif
+endif
+	touch $@
+
+CLEAN_FILE += .gnumake
+CLEAN_PKG += gnumake
+DISTCLEAN_PKG += make-$(GNUMAKE_VERSION).tar.bz2
+
+# ***************************************************************************
 # CMake
 # ***************************************************************************
 cmake-$(CMAKE_VERSION).tar.gz:
diff --git a/extras/contrib/src/packages.mak b/extras/contrib/src/packages.mak
index 02e40d5..bb55815 100644
--- a/extras/contrib/src/packages.mak
+++ b/extras/contrib/src/packages.mak
@@ -38,6 +38,8 @@ LIBAMR_WB=$(PENGUIN)/amrwb-$(LIBAMR_WB_VERSION).tar.bz2
 # we have to use a newer though, because bootstrap won't work otherwise
 AUTOCONF_VERSION=2.61
 AUTOCONF_URL=$(GNU)/autoconf/autoconf-$(AUTOCONF_VERSION).tar.bz2
+GNUMAKE_VERSION=3.81
+GNUMAKE_URL=$(GNU)/make/make-$(GNUMAKE_VERSION).tar.bz2
 CMAKE_VERSION=2.6.0
 CMAKE_URL=http://www.cmake.org/files/v2.6/cmake-$(CMAKE_VERSION).tar.gz
 LIBTOOL_VERSION=1.5.24




More information about the vlc-devel mailing list