Commit 6034bfdd authored by Gildas Bazin's avatar Gildas Bazin

* extras/contrib/bootstrap, extras/contrib/src/Makefile: start of wince gcc cross-compiler support.

parent bbeaf00a
...@@ -113,6 +113,10 @@ case $HOST in ...@@ -113,6 +113,10 @@ case $HOST in
EXTRA_LDFLAGS=" -mno-cygwin" EXTRA_LDFLAGS=" -mno-cygwin"
echo "PKG_CONFIG_PATH = \$(PREFIX)/lib/pkgconfig" >> config.mak 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 esac
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
# Eric Petit <titer@m0k.org> # Eric Petit <titer@m0k.org>
# Felix Khne <fkuehne@users.sourceforge.net> # Felix Khne <fkuehne@users.sourceforge.net>
# Christophe Mutricy <xtophe@nxtelevision.com> # Christophe Mutricy <xtophe@nxtelevision.com>
# Gildas Bazin <gbazin at videolan dot org>
# #
# This program is free software; you can redistribute it and/or modify # 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 # it under the terms of the GNU General Public License as published by
...@@ -102,7 +103,7 @@ ifdef HAVE_DARWIN_OS ...@@ -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 # .mozilla will build an entire mozilla. it can be used if we need to create a new .gecko package
else else
ifeq ($(HOST),i586-pc-beos) ifdef HAVE_BEOS
ifeq ($(HOST),$(BUILD)) ifeq ($(HOST),$(BUILD))
# Native build: we need perl, autoconf, etc first # Native build: we need perl, autoconf, etc first
all: .perl .autoconf .automake .libtool .iconv .intl .freetype .fribidi \ all: .perl .autoconf .automake .libtool .iconv .intl .freetype .fribidi \
...@@ -118,6 +119,7 @@ else ...@@ -118,6 +119,7 @@ else
.dvdread .dvdnav .dvbpsi .aclocal .dvdread .dvdnav .dvbpsi .aclocal
endif endif
else else
ifdef HAVE_WIN32 ifdef HAVE_WIN32
all: .iconv .intl .freetype .fribidi .zlib \ all: .iconv .intl .freetype .fribidi .zlib \
...@@ -129,6 +131,12 @@ else ...@@ -129,6 +131,12 @@ else
.dx_headers .dshow_headers .aclocal .gecko-win32 .dx_headers .dshow_headers .aclocal .gecko-win32
# .SDL_image .daap .cddb .cdio .vcdimager .dts .portaudio # .SDL_image .daap .cddb .cdio .vcdimager .dts .portaudio
else else
ifdef HAVE_WINCE
all: .a52 .mpeg2 .ffmpeg .dvbpsi
else
# Standard Linux or other UNIX-like systems # Standard Linux or other UNIX-like systems
all: .iconv .intl .freetype .fribidi .zlib\ all: .iconv .intl .freetype .fribidi .zlib\
.a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \ .a52 .mpeg2 .id3tag .mad .ogg .vorbis .vorbisenc .theora \
...@@ -140,6 +148,7 @@ else ...@@ -140,6 +148,7 @@ else
# .SDL_image .daap .cddb .cdio .vcdimager # .SDL_image .daap .cddb .cdio .vcdimager
endif endif
endif endif
endif
endif endif
FORCE: FORCE:
...@@ -888,7 +897,6 @@ endif ...@@ -888,7 +897,6 @@ endif
$(INSTALL_NAME) $(INSTALL_NAME)
touch $@ touch $@
CLEAN_FILE += .dvdread CLEAN_FILE += .dvdread
CLEAN_PKG += libdvdread CLEAN_PKG += libdvdread
DISTCLEAN_PKG += libdvdread-$(LIBDVDREAD_VERSION).tar.bz2 DISTCLEAN_PKG += libdvdread-$(LIBDVDREAD_VERSION).tar.bz2
......
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