]> git.sesse.net Git - vlc/commitdiff
contrib/src/Makefile: fixed OS X breakage
authorEric Petit <titer@videolan.org>
Wed, 28 Jul 2004 14:53:16 +0000 (14:53 +0000)
committerEric Petit <titer@videolan.org>
Wed, 28 Jul 2004 14:53:16 +0000 (14:53 +0000)
extras/contrib/src/Makefile

index 9bdc619958d9e54626b2b3f17db9d33f81c1eea0..c194496541eb4d0ddf3a3e2d1efe0968bc9ab5d6 100644 (file)
@@ -59,8 +59,8 @@ endif
 ifeq ($(SYS),BEOS)
 all: .perl .autoconf .libtool .automake .iconv .intl .freetype .fribidi \
        .a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \
-       .FLAC .speex .faad .faac .lame .ffmpeg .dvdcss .dvdread .dvbpsi \
-       .dts
+       .FLAC .speex .faad .faac .lame .ffmpeg .dvdcss .dvdread .dvdnav \
+       .dvbpsi .dts
 endif
 
 FORCE:
@@ -711,9 +711,15 @@ libdvdnav-$(LIBDVDNAV_VERSION).tar.gz:
 libdvdnav: libdvdnav-$(LIBDVDNAV_VERSION).tar.gz
        $(EXTRACT_GZ)
        patch -p 0 < Patches/dvdnav.patch
+ifeq ($(SYS),DARWIN)
+       (cd $@; autoheader)
+endif
+ifeq ($(SYS),BEOS)
+       (cd $@; ./autogen.sh noconfig)
+endif
 
 .dvdnav: libdvdnav .dvdread
-       (cd $<; ./autogen.sh noconfig && ./configure --enable-static --prefix=$(PREFIX) --with-libdvdcss=$(PREFIX) CFLAGS="$(CFLAGS) -Dlseek64=lseek -Doff64_t=off_t" && make && make install)
+       (cd $<; ./configure --enable-static --prefix=$(PREFIX) --with-libdvdcss=$(PREFIX) CFLAGS="$(CFLAGS) -Dlseek64=lseek -Doff64_t=off_t" && make && make install)
        $(INSTALL_NAME)
        touch $@