Commit 6034bfdd authored by gbazin's avatar gbazin
Browse files

* 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 \
...@@ -128,7 +130,13 @@ else ...@@ -128,7 +130,13 @@ else
.gnutls .dvdread .dvdnav .dvbpsi .wxwidgets .dirac \ .gnutls .dvdread .dvdnav .dvbpsi .wxwidgets .dirac \
.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
ifdef HAVE_WINCE
all: .a52 .mpeg2 .ffmpeg .dvbpsi
else 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 \
...@@ -138,8 +146,9 @@ else ...@@ -138,8 +146,9 @@ else
.gnutls .dvdread .dvdnav .dvbpsi .wxwidgets .dirac \ .gnutls .dvdread .dvdnav .dvbpsi .wxwidgets .dirac \
.aclocal .aclocal
# .SDL_image .daap .cddb .cdio .vcdimager # .SDL_image .daap .cddb .cdio .vcdimager
endif
endif endif
endif endif
endif endif
FORCE: FORCE:
...@@ -887,7 +896,6 @@ endif ...@@ -887,7 +896,6 @@ endif
(cd libdvdread; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --with-libdvdcss=$(PREFIX) && make && make install) (cd libdvdread; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --with-libdvdcss=$(PREFIX) && make && make install)
$(INSTALL_NAME) $(INSTALL_NAME)
touch $@ touch $@
CLEAN_FILE += .dvdread CLEAN_FILE += .dvdread
CLEAN_PKG += libdvdread CLEAN_PKG += libdvdread
......
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