]> git.sesse.net Git - vlc/commitdiff
* extras/contrib/bootstrap, extras/contrib/src/Makefile: start of wince gcc cross...
authorGildas Bazin <gbazin@videolan.org>
Sun, 20 Nov 2005 20:49:25 +0000 (20:49 +0000)
committerGildas Bazin <gbazin@videolan.org>
Sun, 20 Nov 2005 20:49:25 +0000 (20:49 +0000)
extras/contrib/bootstrap
extras/contrib/src/Makefile

index defd8f5fd26dbfe19ecbc40a78d437fe6b7103d6..f9a644352087fe4afcd6447aac6a265b38b8ede1 100755 (executable)
@@ -113,6 +113,10 @@ case $HOST in
             EXTRA_LDFLAGS=" -mno-cygwin"
             echo "PKG_CONFIG_PATH = \$(PREFIX)/lib/pkgconfig" >> config.mak
         ;;
+    arm-wince-pe)
+            echo "HAVE_WINCE = 1" >> config.mak
+            echo "PKG_CONFIG_PATH = \$(PREFIX)/lib/pkgconfig" >> config.mak
+        ;;
     *)
         ;;
 esac
index c8b53953a334b00cf847aec5444fef544e27abdf..b06da408cafcf3336aad7440c5ef0e8ce305f139 100644 (file)
@@ -9,6 +9,7 @@
 #          Eric Petit <titer@m0k.org>
 #          Felix Kühne <fkuehne@users.sourceforge.net>
 #          Christophe Mutricy <xtophe@nxtelevision.com>
+#          Gildas Bazin <gbazin at videolan dot org>
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -102,7 +103,7 @@ ifdef HAVE_DARWIN_OS
 # .mozilla will build an entire mozilla. it can be used if we need to create a new .gecko package
 else
 
- ifeq ($(HOST),i586-pc-beos)
+ ifdef HAVE_BEOS
   ifeq ($(HOST),$(BUILD))
 # Native build: we need perl, autoconf, etc first
    all: .perl .autoconf .automake .libtool .iconv .intl .freetype .fribidi \
@@ -118,6 +119,7 @@ else
        .dvdread .dvdnav .dvbpsi .aclocal
   endif
  else
+
   ifdef HAVE_WIN32
 
    all: .iconv .intl .freetype .fribidi .zlib \
@@ -128,7 +130,13 @@ else
        .gnutls .dvdread .dvdnav .dvbpsi .wxwidgets .dirac \
        .dx_headers .dshow_headers .aclocal .gecko-win32
 #      .SDL_image  .daap .cddb .cdio .vcdimager .dts .portaudio
+  else
+
+   ifdef HAVE_WINCE
+
+   all: .a52 .mpeg2 .ffmpeg .dvbpsi
    else
+
 # Standard Linux or other UNIX-like systems
    all: .iconv .intl .freetype .fribidi .zlib\
        .a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \
@@ -138,8 +146,9 @@ else
        .gnutls .dvdread .dvdnav .dvbpsi .wxwidgets .dirac \
        .aclocal 
 #      .SDL_image  .daap .cddb .cdio .vcdimager 
+   endif
   endif
 endif
+ endif
 endif
 
 FORCE:
@@ -887,7 +896,6 @@ endif
        (cd libdvdread; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --with-libdvdcss=$(PREFIX) && make && make install)
        $(INSTALL_NAME)
        touch $@
-       
 
 CLEAN_FILE += .dvdread
 CLEAN_PKG += libdvdread