# Makefile.in generated by automake 1.8.3 from Makefile.am.
# Makefile.  Generated from Makefile.in by configure.

# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004  Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.


srcdir = .
top_srcdir = .

pkgdatadir = $(datadir)/tuxbox-cdk
pkglibdir = $(libdir)/tuxbox-cdk
pkgincludedir = $(includedir)/tuxbox-cdk
top_builddir = .
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = /usr/bin/install -c
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_triplet = i686-redhat-linux-gnu
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
	$(srcdir)/Makefile.in $(top_srcdir)/configure AUTHORS COPYING \
	ChangeLog INSTALL NEWS config.guess config.sub install-sh \
	ltmain.sh missing
subdir = .
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/acinclude.m4 \
	$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
	$(ACLOCAL_M4)
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
 configure.lineno configure.status.lineno
mkinstalldirs = $(mkdir_p)
CONFIG_CLEAN_FILES =
SOURCES =
DIST_SOURCES =
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
am__remove_distdir = \
  { test ! -d $(distdir) \
    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
         && rm -fr $(distdir); }; }
DIST_ARCHIVES = $(distdir).tar.gz
GZIP_ENV = --best
distuninstallcheck_listfiles = find . -type f -print
distcleancheck_listfiles = find . -type f -print
ACLOCAL = ${SHELL} /home/marcel/tuxbox-rel/cdk/missing --run aclocal-1.8
AMDEP_FALSE = #
AMDEP_TRUE = 
AMTAR = ${SHELL} /home/marcel/tuxbox-rel/cdk/missing --run tar
AUTOCONF = ${SHELL} /home/marcel/tuxbox-rel/cdk/missing --run autoconf
AUTOHEADER = ${SHELL} /home/marcel/tuxbox-rel/cdk/missing --run autoheader
AUTOMAKE = ${SHELL} /home/marcel/tuxbox-rel/cdk/missing --run automake-1.8
AWK = gawk
CC = gcc
CCDEPMODE = depmode=none
CFLAGS = -g -O2
CLEANUP = rm -rf linux-2.4.20 binutils-2.13.90.0.16 gcc-3.2.3 glibc-2.2.5 gcc-3.2.3 uClibc-0.9.11 busybox-1.00-pre8 vsftpd-1.0.1 modutils-2.4.21 portmap-5 procps-010114 watchdog-5.2.orig boost_1_29_0 commoncpp2-0.99.7 openssl-0.9.7a curl-7.10.1 db-2.7.7 libdvbpsi-0.1.2 libffi-1.20 freetype-2.0.9 fribidi-0.10.4 gmp-4.1.2 libmad-0.15.0b libid3tag-0.15.0b ncurses-5.3 Libnet-1.0.2a libnids-1.16 jpeg-6b libpcap-0.7.1 libpng-1.2.5 popt-1.6.4 readline-4.3 SDL-1.2.4 libsigc++-1.2.5 libungif-4.1.0 libxml2-2.4.22 xmlparse-0.9.3 xmlwrapp-0.2.1 zlib-1.1.4 console-data-1999.08.29 console-tools-0.2.3 dsniff-2.4 fbset-2.1 lirc-0.6.6 lsof_4.64_src pump-0.8.11 openssh-3.5p1 tcpdump-3.7.1 xrc-0.6.3 thttpd-2.23beta1 gdb-6.0 insight-6.0 ltrace-0.3.26 strace-4.4 nano-1.0.7 kaffe-1.0.6 kaffe-1.0.6 gnuboy-1.0.3 scummvm sdldoom-1.10 dvbdate dvbstream dvbtext-0.1 dvbtune vls-0.4.0
CLEANUP_binutils = rm -rf binutils-2.13.90.0.16 build
CLEANUP_bootstrap_gcc = rm -rf gcc-3.2.3 build
CLEANUP_busybox = rm -rf busybox-1.00-pre8
CLEANUP_console_data = rm -rf console-data-1999.08.29
CLEANUP_console_tools = rm -rf console-tools-0.2.3
CLEANUP_dsniff = rm -rf dsniff-2.4
CLEANUP_dvbdate = rm -rf dvbdate
CLEANUP_dvbstream = rm -rf dvbstream
CLEANUP_dvbtext = rm -rf dvbtext-0.1
CLEANUP_dvbtune = rm -rf dvbtune
CLEANUP_fbset = rm -rf fbset-2.1
CLEANUP_ftpd = rm -rf vsftpd-1.0.1
CLEANUP_gcc = rm -rf gcc-3.2.3 build
CLEANUP_gdb = rm -rf gdb-6.0
CLEANUP_glibc = rm -rf glibc-2.2.5 build
CLEANUP_gnuboy = rm -rf gnuboy-1.0.3
CLEANUP_insight = rm -rf insight-6.0
CLEANUP_kaffe = rm -rf kaffe-1.0.6
CLEANUP_kaffeh = rm -rf kaffe-1.0.6
CLEANUP_libboost = rm -rf boost_1_29_0
CLEANUP_libcommoncplusplus = rm -rf commoncpp2-0.99.7
CLEANUP_libcrypto = rm -rf openssl-0.9.7a
CLEANUP_libcurl = rm -rf curl-7.10.1
CLEANUP_libdb2 = rm -rf db-2.7.7
CLEANUP_libdvbpsi = rm -rf libdvbpsi-0.1.2
CLEANUP_libffi = rm -rf libffi-1.20
CLEANUP_libfreetype = rm -rf freetype-2.0.9
CLEANUP_libfribidi = rm -rf fribidi-0.10.4
CLEANUP_libgmp = rm -rf gmp-4.1.2
CLEANUP_libid3tag = rm -rf libid3tag-0.15.0b
CLEANUP_libjpeg = rm -rf jpeg-6b
CLEANUP_libmad = rm -rf libmad-0.15.0b
CLEANUP_libncurses = rm -rf ncurses-5.3
CLEANUP_libnet = rm -rf Libnet-1.0.2a
CLEANUP_libnids = rm -rf libnids-1.16
CLEANUP_libpcap = rm -rf libpcap-0.7.1
CLEANUP_libpng = rm -rf libpng-1.2.5
CLEANUP_libpopt = rm -rf popt-1.6.4
CLEANUP_libreadline = rm -rf readline-4.3
CLEANUP_libsdl = rm -rf SDL-1.2.4
CLEANUP_libsigc = rm -rf libsigc++-1.2.5
CLEANUP_libungif = rm -rf libungif-4.1.0
CLEANUP_libxml2 = rm -rf libxml2-2.4.22
CLEANUP_libxmlparse = rm -rf xmlparse-0.9.3
CLEANUP_libxmlwrapp = rm -rf xmlwrapp-0.2.1
CLEANUP_libz = rm -rf zlib-1.1.4
CLEANUP_linux = rm -rf linux-2.4.20
CLEANUP_lirc = rm -rf lirc-0.6.6
CLEANUP_lsof = rm -rf lsof_4.64_src
CLEANUP_ltrace = rm -rf ltrace-0.3.26
CLEANUP_modutils = rm -rf modutils-2.4.21
CLEANUP_nano = rm -rf nano-1.0.7
CLEANUP_portmap = rm -rf portmap-5
CLEANUP_procps = rm -rf procps-010114
CLEANUP_pump = rm -rf pump-0.8.11
CLEANUP_scummvm = rm -rf scummvm
CLEANUP_sdldoom = rm -rf sdldoom-1.10
CLEANUP_ssh = rm -rf openssh-3.5p1
CLEANUP_strace = rm -rf strace-4.4
CLEANUP_tcpdump = rm -rf tcpdump-3.7.1
CLEANUP_thttpd = rm -rf thttpd-2.23beta1
CLEANUP_uclibc = rm -rf uClibc-0.9.11
CLEANUP_vls = rm -rf vls-0.4.0
CLEANUP_watchdog = rm -rf watchdog-5.2.orig
CLEANUP_xrc = rm -rf xrc-0.6.3
CONFIGURE_binutils = ../binutils-2.13.90.0.16/configure
CONFIGURE_bootstrap_gcc = ../gcc-3.2.3/configure
CONFIGURE_gcc = ../gcc-3.2.3/configure
CONFIGURE_glibc = ../glibc-2.2.5/configure
CPPFLAGS = 
CPU_MODEL = 405
CPU_MODEL_405_FALSE = #
CPU_MODEL_405_TRUE = 
CPU_MODEL_823_FALSE = 
CPU_MODEL_823_TRUE = #
CYGPATH_W = echo
DEFS = -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"tuxbox-cdk\" -DVERSION=\"0.0.1\" 
DEPDIR = .deps
DEPENDS_binutils = Archive/binutils-2.13.90.0.16.tar.bz2 
DEPENDS_bootstrap_gcc = Archive/gcc-core-3.2.3.tar.gz Patches/gcc-core.diff 
DEPENDS_busybox = Archive/busybox-1.00-pre8.tar.bz2 
DEPENDS_console_data = Archive/console-data_1999.08.29.orig.tar.gz 
DEPENDS_console_tools = Archive/console-tools-0.2.3.tar.gz Patches/console-tools.diff 
DEPENDS_dsniff = Archive/dsniff-2.4b1.tar.gz Patches/dsniff.diff 
DEPENDS_dvbdate = Archive/dvbdate-20020918.tar.bz2 
DEPENDS_dvbstream = Archive/dvbstream-20020918.tar.bz2 
DEPENDS_dvbtext = Archive/dvbtext-0.1.tar.gz 
DEPENDS_dvbtune = Archive/dvbtune-20020918.tar.bz2 
DEPENDS_fbset = Archive/fbset-2.1.tar.gz Patches/fbset.diff 
DEPENDS_ftpd = Archive/vsftpd-1.0.1.tar.gz Patches/ftpd.diff 
DEPENDS_gcc = Archive/gcc-core-3.2.3.tar.gz Archive/gcc-g++-3.2.3.tar.gz 
DEPENDS_gdb = Archive/gdb-6.0.tar.bz2 Patches/gdb.diff 
DEPENDS_glibc = Archive/glibc-2.2.5.tar.bz2 Archive/glibc-linuxthreads-2.2.5.tar.bz2 Patches/glibc.diff 
DEPENDS_gnuboy = Archive/gnuboy-1.0.3.tar.gz Patches/gnuboy.diff 
DEPENDS_insight = Archive/insight-6.0.tar.bz2 
DEPENDS_kaffe = Archive/kaffe-1.0.6.tar.gz Patches/kaffe.diff 
DEPENDS_kaffeh = Archive/kaffe-1.0.6.tar.gz Patches/kaffeh.diff 
DEPENDS_libboost = Archive/boost_1_29_0.tar.gz 
DEPENDS_libcommoncplusplus = Archive/commoncpp2-0.99.7.tar.gz 
DEPENDS_libcrypto = Archive/openssl-0.9.7a.tar.gz Patches/libcrypto.diff 
DEPENDS_libcurl = Archive/curl-7.10.1.tar.bz2 Patches/libcurl.diff 
DEPENDS_libdb2 = Archive/db-2.7.7.tar.gz Patches/libdb2.diff 
DEPENDS_libdvbpsi = Archive/libdvbpsi-0.1.2.tar.gz 
DEPENDS_libffi = Archive/libffi-1.20.tar.gz Patches/libffi.diff 
DEPENDS_libfreetype = Archive/freetype-2.0.9.tar.bz2 
DEPENDS_libfribidi = Archive/fribidi-0.10.4.tar.bz2 
DEPENDS_libgmp = Archive/gmp-4.1.2.tar.gz 
DEPENDS_libid3tag = Archive/libid3tag-0.15.0b.tar.gz Patches/libid3tag.diff 
DEPENDS_libjpeg = Archive/jpegsrc.v6b.tar.gz Patches/jpeg.diff 
DEPENDS_libmad = Archive/libmad-0.15.0b.tar.gz Patches/libmad.diff 
DEPENDS_libncurses = Archive/ncurses-5.3.tar.gz 
DEPENDS_libnet = Archive/libnet-1.0.2a.tar.gz Patches/libnet.diff 
DEPENDS_libnids = Archive/libnids-1.16.tar.gz 
DEPENDS_libpcap = Archive/libpcap-0.7.1.tar.gz 
DEPENDS_libpng = Archive/libpng-1.2.5.tar.bz2 Patches/libpng.diff 
DEPENDS_libpopt = Archive/popt-1.6.4.tar.gz 
DEPENDS_libreadline = Archive/readline-4.3.tar.gz Patches/readline.diff 
DEPENDS_libsdl = Archive/SDL-1.2.4.tar.gz Patches/sdl.diff 
DEPENDS_libsigc = Archive/libsigc++-1.2.5.tar.gz 
DEPENDS_libungif = Archive/libungif-4.1.0.tar.gz Patches/libungif.diff 
DEPENDS_libxml2 = Archive/libxml2-2.4.22.tar.bz2 
DEPENDS_libxmlparse = Archive/xmlparse_0.9.3.tar.bz2 Patches/xmlparse.diff 
DEPENDS_libxmlwrapp = Archive/xmlwrapp-0.2.1.tar.gz 
DEPENDS_libz = Archive/zlib-1.1.4.tar.bz2 Patches/zlib.diff 
DEPENDS_linux = Archive/linux-2.4.20.tar.bz2 Archive/linux-dbox2-2.4.20-2.diff.bz2 
DEPENDS_lirc = Archive/lirc-0.6.6.tar.bz2 
DEPENDS_lsof = Archive/lsof_4.64_src.tar.bz2 Patches/lsof.diff 
DEPENDS_ltrace = Archive/ltrace_0.3.26.tar.gz 
DEPENDS_modutils = Archive/modutils-2.4.21.tar.bz2 
DEPENDS_nano = Archive/nano-1.0.7.tar.gz Patches/nano.diff 
DEPENDS_portmap = Archive/portmap-5.tar.bz2 Patches/portmap-5.diff 
DEPENDS_procps = Archive/procps-010114.tar.gz Patches/procps.diff 
DEPENDS_pump = Archive/pump-0.8.11.tar.bz2 Patches/pump.diff 
DEPENDS_scummvm = Archive/scummvm-20020717.tar.bz2 Patches/scummvm.diff 
DEPENDS_sdldoom = Archive/sdldoom-1.10.tar.gz 
DEPENDS_ssh = Archive/openssh-3.5p1.tar.gz Patches/ssh.diff 
DEPENDS_strace = Archive/strace_4.4-1.tar.gz Patches/strace.diff 
DEPENDS_tcpdump = Archive/tcpdump-3.7.1.tar.gz 
DEPENDS_thttpd = Archive/thttpd-2.23beta1.tar.gz 
DEPENDS_uclibc = Archive/uClibc-0.9.11.tar.bz2 Patches/uclibc-0.9.11.diff 
DEPENDS_vls = Archive/vls-0.4.0.tar.bz2 
DEPENDS_watchdog = Archive/watchdog_5.2.orig.tar.gz Patches/watchdog.diff 
DEPENDS_xrc = Archive/xrc-0.6.3.tar.gz Patches/xrc.diff 
DIR_binutils = build
DIR_bootstrap_gcc = build
DIR_busybox = busybox-1.00-pre8
DIR_console_data = console-data-1999.08.29
DIR_console_tools = console-tools-0.2.3
DIR_dsniff = dsniff-2.4
DIR_dvbdate = dvbdate
DIR_dvbstream = dvbstream
DIR_dvbtext = dvbtext-0.1
DIR_dvbtune = dvbtune
DIR_fbset = fbset-2.1
DIR_ftpd = vsftpd-1.0.1
DIR_gcc = build
DIR_gdb = gdb-6.0
DIR_glibc = build
DIR_gnuboy = gnuboy-1.0.3
DIR_insight = insight-6.0
DIR_kaffe = kaffe-1.0.6
DIR_kaffeh = kaffe-1.0.6
DIR_libboost = boost_1_29_0
DIR_libcommoncplusplus = commoncpp2-0.99.7
DIR_libcrypto = openssl-0.9.7a
DIR_libcurl = curl-7.10.1
DIR_libdb2 = db-2.7.7
DIR_libdvbpsi = libdvbpsi-0.1.2
DIR_libffi = libffi-1.20
DIR_libfreetype = freetype-2.0.9
DIR_libfribidi = fribidi-0.10.4
DIR_libgmp = gmp-4.1.2
DIR_libid3tag = libid3tag-0.15.0b
DIR_libjpeg = jpeg-6b
DIR_libmad = libmad-0.15.0b
DIR_libncurses = ncurses-5.3
DIR_libnet = Libnet-1.0.2a
DIR_libnids = libnids-1.16
DIR_libpcap = libpcap-0.7.1
DIR_libpng = libpng-1.2.5
DIR_libpopt = popt-1.6.4
DIR_libreadline = readline-4.3
DIR_libsdl = SDL-1.2.4
DIR_libsigc = libsigc++-1.2.5
DIR_libungif = libungif-4.1.0
DIR_libxml2 = libxml2-2.4.22
DIR_libxmlparse = xmlparse-0.9.3
DIR_libxmlwrapp = xmlwrapp-0.2.1
DIR_libz = zlib-1.1.4
DIR_linux = linux-2.4.20
DIR_lirc = lirc-0.6.6
DIR_lsof = lsof_4.64_src
DIR_ltrace = ltrace-0.3.26
DIR_modutils = modutils-2.4.21
DIR_nano = nano-1.0.7
DIR_portmap = portmap-5
DIR_procps = procps-010114
DIR_pump = pump-0.8.11
DIR_scummvm = scummvm
DIR_sdldoom = sdldoom-1.10
DIR_ssh = openssh-3.5p1
DIR_strace = strace-4.4
DIR_tcpdump = tcpdump-3.7.1
DIR_thttpd = thttpd-2.23beta1
DIR_uclibc = uClibc-0.9.11
DIR_vls = vls-0.4.0
DIR_watchdog = watchdog-5.2.orig
DIR_xrc = xrc-0.6.3
ECHO_C = 
ECHO_N = -n
ECHO_T = 
EXEEXT = 
FAKEROOT = 
FONTDIR = /share/fonts
HOSTRULESET = standard
HOSTRULESET_CYGWIN_FALSE = 
HOSTRULESET_CYGWIN_TRUE = #
HOSTRULESET_STANDARD_FALSE = #
HOSTRULESET_STANDARD_TRUE = 
INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL}
INSTALL_SCRIPT = ${INSTALL}
INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
INSTALL_binutils = $(MAKE) install
INSTALL_bootstrap_gcc = $(MAKE) install
INSTALL_busybox = $(MAKE) install PREFIX=$(targetprefix)
INSTALL_console_data = $(MAKE) install
INSTALL_console_tools = $(MAKE) install
INSTALL_dsniff = $(MAKE) install install_prefix=$(targetprefix)
INSTALL_dvbdate = $(INSTALL) -m755 dvbdate $(targetprefix)/bin
INSTALL_dvbstream = $(INSTALL) -m755 dvbstream rtpfeed $(targetprefix)/bin
INSTALL_dvbtext = $(INSTALL) -m755 dvbtext $(targetprefix)/bin
INSTALL_dvbtune = $(INSTALL) -m755 dvbtune $(targetprefix)/bin
INSTALL_fbset = $(INSTALL) -m755 fbset $(targetprefix)/bin
INSTALL_ftpd = $(INSTALL) -m755 vsftpd $(targetprefix)/sbin/in.ftpd && $(INSTALL) -m644 vsftpd-dbox2.conf $(targetprefix)/etc/vsftpd.conf && $(INSTALL) -d $(targetprefix)/share/empty
INSTALL_gcc = $(MAKE) install && $(INSTALL) -m644 $(target)/libstdc++-v3/src/linker.map $(targetprefix)/lib/libstdc++_pic.map && $(target)-ar cru $(targetprefix)/lib/libstdc++_pic.a $(target)/libstdc++-v3/src/.libs/*.o $(target)/libstdc++-v3/libsupc++/*.o
INSTALL_gdb = $(MAKE) install-gdb prefix=$(targetprefix)
INSTALL_glibc = $(MAKE) install install_root=$(targetprefix) && $(INSTALL) -m644 libc_pic.a math/libm_pic.a resolv/libresolv_pic.a dlfcn/libdl_pic.a $(targetprefix)/lib && $(INSTALL) -d $(targetprefix)/lib/libc_pic && $(INSTALL) -m644 elf/soinit.os $(targetprefix)/lib/libc_pic/soinit.o && $(INSTALL) -m644 elf/sofini.os $(targetprefix)/lib/libc_pic/sofini.o && $(INSTALL) -m644 libc.map $(targetprefix)/lib/libc_pic.map && $(INSTALL) -m644 libm.map $(targetprefix)/lib/libm_pic.map && $(INSTALL) -m644 libdl.map $(targetprefix)/lib/libdl_pic.map
INSTALL_gnuboy = $(MAKE) install
INSTALL_insight = $(MAKE) install-gdb prefix=$(targetprefix)
INSTALL_kaffe = $(MAKE) install
INSTALL_kaffeh = $(MAKE) install
INSTALL_libboost = rm -rf $(targetprefix)/include/boost && mv boost $(targetprefix)/include/boost
INSTALL_libcommoncplusplus = $(MAKE) install && ln -sf $(targetprefix)/bin/ccgnu2-config $(hostprefix)/bin/ccgnu2-config
INSTALL_libcrypto = $(INSTALL) libcrypto.so.0.9.7 $(targetprefix)/lib && ln -sf libcrypto.so.0.9.7 $(targetprefix)/lib/libcrypto.so.0 && ln -sf libcrypto.so.0 $(targetprefix)/lib/libcrypto.so && $(INSTALL) libssl.so.0.9.7 $(targetprefix)/lib && ln -sf libssl.so.0.9.7 $(targetprefix)/lib/libssl.so.0 && ln -sf libssl.so.0 $(targetprefix)/lib/libssl.so && $(INSTALL) libcrypto.a $(targetprefix)/lib/libcrypto_pic.a && $(INSTALL) libssl.a $(targetprefix)/lib/libssl_pic.a && $(INSTALL) -d $(targetprefix)/include/openssl && $(MAKE) install_cdk INSTALL_PREFIX=$(targetprefix) INSTALLTOP=
INSTALL_libcurl = $(MAKE) install DESTDIR=$(targetprefix) && $(target)-ar cru $(targetprefix)/lib/libcurl_pic.a lib/*.lo
INSTALL_libdb2 = $(MAKE) install DESTDIR=$(targetprefix)
INSTALL_libdvbpsi = $(MAKE) install DESTDIR=$(targetprefix)
INSTALL_libffi = $(MAKE) install
INSTALL_libfreetype = $(MAKE) install libdir=$(targetprefix)/lib includedir=$(targetprefix)/include bindir=$(targetprefix)/bin prefix=$(targetprefix) && $(target)-ar cru $(targetprefix)/lib/libfreetype_pic.a objs/*.lo
INSTALL_libfribidi = perl -pi -e "s,^prefix=.*$$,prefix=$(targetprefix)," fribidi.pc && $(MAKE) install DESTDIR=$(targetprefix)
INSTALL_libgmp = $(MAKE) install
INSTALL_libid3tag = perl -pi -e "s,^prefix=.*$$,prefix=$(targetprefix)," id3tag.pc && $(MAKE) install DESTDIR=$(targetprefix) && $(INSTALL) -m644 id3tag.pc $(targetprefix)/lib/pkgconfig
INSTALL_libjpeg = $(MAKE) install-lib prefix=$(targetprefix)
INSTALL_libmad = perl -pi -e "s,^prefix=.*$$,prefix=$(targetprefix)," mad.pc && $(MAKE) install DESTDIR=$(targetprefix) && $(INSTALL) -m644 mad.pc $(targetprefix)/lib/pkgconfig
INSTALL_libncurses = $(MAKE) install.libs install.includes DESTDIR=$(targetprefix) && $(target)-ar cru $(targetprefix)/lib/libncurses_pic.a obj_s/*.o
INSTALL_libnet = $(MAKE) install && $(INSTALL) -m755 libnet-config $(targetprefix)/bin/libnet-config && ln -sf $(targetprefix)/bin/libnet-config $(hostprefix)/bin/libnet-config
INSTALL_libnids = $(MAKE) install
INSTALL_libpcap = $(MAKE) install
INSTALL_libpng = $(MAKE) install prefix=$(targetprefix) && $(target)-ar cru $(targetprefix)/lib/libpng12_pic.a *.o
INSTALL_libpopt = $(MAKE) install
INSTALL_libreadline = $(MAKE) install DESTDIR=$(targetprefix)
INSTALL_libsdl = $(MAKE) install DESTDIR=$(targetprefix)
INSTALL_libsigc = perl -pi -e "s,^prefix=.*$$,prefix=$(targetprefix)," sigc++-1.2.pc && $(MAKE) install DESTDIR=$(targetprefix)
INSTALL_libungif = $(MAKE) install DESTDIR=$(targetprefix)
INSTALL_libxml2 = perl -pi -e "s,^prefix=.*$$,prefix=$(targetprefix)," libxml-2.0.pc && $(MAKE) install DESTDIR=$(targetprefix)
INSTALL_libxmlparse = $(MAKE) install
INSTALL_libxmlwrapp = $(MAKE) install && ln -sf $(targetprefix)/bin/xmlwrapp-config $(hostprefix)/bin/xmlwrapp-config
INSTALL_libz = $(MAKE) install prefix=$(targetprefix) && $(target)-ar cru $(targetprefix)/lib/libz_pic.a *.o
INSTALL_linux = 
INSTALL_lirc = $(MAKE) install
INSTALL_lsof = $(INSTALL) -m755 lsof $(targetprefix)/sbin
INSTALL_ltrace = $(MAKE) install DESTDIR=$(targetprefix)
INSTALL_modutils = $(MAKE) install-bin sbindir=$(targetprefix)/sbin
INSTALL_nano = $(MAKE) install
INSTALL_portmap = $(MAKE) install BASEDIR=$(targetprefix)
INSTALL_procps = rm -rf $(targetprefix)/bin/ps && $(INSTALL) -m755 top ps/ps $(targetprefix)/bin
INSTALL_pump = $(MAKE) install DEST=$(targetprefix)
INSTALL_scummvm = $(INSTALL) -m755 scummvm $(targetprefix)/bin
INSTALL_sdldoom = $(MAKE) install DESTDIR=$(targetprefix)
INSTALL_ssh = $(MAKE) install DESTDIR=$(targetprefix)
INSTALL_strace = $(MAKE) install
INSTALL_tcpdump = $(MAKE) install
INSTALL_thttpd = $(MAKE) install
INSTALL_uclibc = $(MAKE) install DEVEL_PREFIX=$(targetprefix) && $(INSTALL) -m644 lib/libc.a $(targetprefix)/lib/libc_pic.a && $(INSTALL) -m644 lib/libcrypt.a $(targetprefix)/lib/libcrypt_pic.a && $(INSTALL) -m644 lib/libm.a $(targetprefix)/lib/libm_pic.a
INSTALL_vls = $(MAKE) install DESTDIR=$(targetprefix)
INSTALL_watchdog = $(MAKE) install DESTDIR=$(targetprefix)
INSTALL_xrc = $(MAKE) install
KERNELVERSION = 2.4.20-dbox2
LDFLAGS = 
LIBOBJS = 
LIBS = 
LTLIBOBJS = 
MAINT = 
MAINTAINER_MODE_FALSE = #
MAINTAINER_MODE_TRUE = 
MAKEINFO = ${SHELL} /home/marcel/tuxbox-rel/cdk/missing --run makeinfo
MKCRAMFS = /usr/bin/mkcramfs
MKFSJFFS2 = no
MKJFFS2 = /bin/false
OBJEXT = o
PACKAGE = tuxbox-cdk
PACKAGE_BUGREPORT = 
PACKAGE_NAME = 
PACKAGE_STRING = 
PACKAGE_TARNAME = 
PACKAGE_VERSION = 
PATH_SEPARATOR = :
PREPARE_binutils = ( rm -rf binutils-2.13.90.0.16 || /bin/true ) && bunzip2 -cd Archive/binutils-2.13.90.0.16.tar.bz2 | tar -x && ( rm -rf build || /bin/true ) && mkdir build
PREPARE_bootstrap_gcc = ( rm -rf gcc-3.2.3 || /bin/true ) && gunzip -cd Archive/gcc-core-3.2.3.tar.gz | tar -x && ( cd gcc-3.2.3; patch -p1 < ../Patches/gcc-core.diff ) && ( rm -rf build || /bin/true ) && mkdir build
PREPARE_busybox = ( rm -rf busybox-1.00-pre8 || /bin/true ) && bunzip2 -cd Archive/busybox-1.00-pre8.tar.bz2 | tar -x && ( cd busybox-1.00-pre8; patch -p1 < ../Patches/busybox.diff )
PREPARE_console_data = ( rm -rf console-data-1999.08.29 || /bin/true ) && gunzip -cd Archive/console-data_1999.08.29.orig.tar.gz | tar -x
PREPARE_console_tools = ( rm -rf console-tools-0.2.3 || /bin/true ) && gunzip -cd Archive/console-tools-0.2.3.tar.gz | tar -x && ( cd console-tools-0.2.3; patch -p1 < ../Patches/console-tools.diff )
PREPARE_dsniff = ( rm -rf dsniff-2.4 || /bin/true ) && gunzip -cd Archive/dsniff-2.4b1.tar.gz | tar -x && ( cd dsniff-2.4; patch -p1 < ../Patches/dsniff.diff )
PREPARE_dvbdate = ( rm -rf dvbdate || /bin/true ) && bunzip2 -cd Archive/dvbdate-20020918.tar.bz2 | tar -x
PREPARE_dvbstream = ( rm -rf dvbstream || /bin/true ) && bunzip2 -cd Archive/dvbstream-20020918.tar.bz2 | tar -x
PREPARE_dvbtext = ( rm -rf dvbtext-0.1 || /bin/true ) && gunzip -cd Archive/dvbtext-0.1.tar.gz | tar -x
PREPARE_dvbtune = ( rm -rf dvbtune || /bin/true ) && bunzip2 -cd Archive/dvbtune-20020918.tar.bz2 | tar -x
PREPARE_fbset = ( rm -rf fbset-2.1 || /bin/true ) && gunzip -cd Archive/fbset-2.1.tar.gz | tar -x && ( cd fbset-2.1; patch -p1 < ../Patches/fbset.diff )
PREPARE_ftpd = ( rm -rf vsftpd-1.0.1 || /bin/true ) && gunzip -cd Archive/vsftpd-1.0.1.tar.gz | tar -x && ( cd vsftpd-1.0.1; patch -p1 < ../Patches/ftpd.diff )
PREPARE_gcc = ( rm -rf gcc-3.2.3 || /bin/true ) && gunzip -cd Archive/gcc-core-3.2.3.tar.gz | tar -x && gunzip -cd Archive/gcc-g++-3.2.3.tar.gz | tar -x && ( rm -rf build || /bin/true ) && mkdir build
PREPARE_gdb = ( rm -rf gdb-6.0 || /bin/true ) && bunzip2 -cd Archive/gdb-6.0.tar.bz2 | tar -x && ( cd gdb-6.0; patch -p1 < ../Patches/gdb.diff )
PREPARE_glibc = ( rm -rf glibc-2.2.5 || /bin/true ) && bunzip2 -cd Archive/glibc-2.2.5.tar.bz2 | tar -x && ( cd glibc-2.2.5; bunzip2 -cd ../Archive/glibc-linuxthreads-2.2.5.tar.bz2 | tar -x ) && ( cd glibc-2.2.5; patch -p1 < ../Patches/glibc.diff ) && ( rm -rf build || /bin/true ) && mkdir build
PREPARE_gnuboy = ( rm -rf gnuboy-1.0.3 || /bin/true ) && gunzip -cd Archive/gnuboy-1.0.3.tar.gz | tar -x && ( cd gnuboy-1.0.3; patch -p1 < ../Patches/gnuboy.diff )
PREPARE_insight = ( rm -rf insight-6.0 || /bin/true ) && bunzip2 -cd Archive/insight-6.0.tar.bz2 | tar -x
PREPARE_kaffe = ( rm -rf kaffe-1.0.6 || /bin/true ) && gunzip -cd Archive/kaffe-1.0.6.tar.gz | tar -x && ( cd kaffe-1.0.6; patch -p1 < ../Patches/kaffe.diff )
PREPARE_kaffeh = ( rm -rf kaffe-1.0.6 || /bin/true ) && gunzip -cd Archive/kaffe-1.0.6.tar.gz | tar -x && ( cd kaffe-1.0.6; patch -p1 < ../Patches/kaffeh.diff )
PREPARE_libboost = ( rm -rf boost_1_29_0 || /bin/true ) && gunzip -cd Archive/boost_1_29_0.tar.gz | tar -x
PREPARE_libcommoncplusplus = ( rm -rf commoncpp2-0.99.7 || /bin/true ) && gunzip -cd Archive/commoncpp2-0.99.7.tar.gz | tar -x
PREPARE_libcrypto = ( rm -rf openssl-0.9.7a || /bin/true ) && gunzip -cd Archive/openssl-0.9.7a.tar.gz | tar -x && ( cd openssl-0.9.7a; patch -p1 < ../Patches/libcrypto.diff )
PREPARE_libcurl = ( rm -rf curl-7.10.1 || /bin/true ) && bunzip2 -cd Archive/curl-7.10.1.tar.bz2 | tar -x && ( cd curl-7.10.1; patch -p1 < ../Patches/libcurl.diff )
PREPARE_libdb2 = ( rm -rf db-2.7.7 || /bin/true ) && gunzip -cd Archive/db-2.7.7.tar.gz | tar -x && ( cd db-2.7.7; patch -p1 < ../Patches/libdb2.diff )
PREPARE_libdvbpsi = ( rm -rf libdvbpsi-0.1.2 || /bin/true ) && gunzip -cd Archive/libdvbpsi-0.1.2.tar.gz | tar -x
PREPARE_libffi = ( rm -rf libffi-1.20 || /bin/true ) && gunzip -cd Archive/libffi-1.20.tar.gz | tar -x && ( cd libffi-1.20; patch -p1 < ../Patches/libffi.diff )
PREPARE_libfreetype = ( rm -rf freetype-2.0.9 || /bin/true ) && bunzip2 -cd Archive/freetype-2.0.9.tar.bz2 | tar -x && ( cd freetype-2.0.9; patch -p1 < ../Patches/libfreetype.diff )
PREPARE_libfribidi = ( rm -rf fribidi-0.10.4 || /bin/true ) && bunzip2 -cd Archive/fribidi-0.10.4.tar.bz2 | tar -x
PREPARE_libgmp = ( rm -rf gmp-4.1.2 || /bin/true ) && gunzip -cd Archive/gmp-4.1.2.tar.gz | tar -x
PREPARE_libid3tag = ( rm -rf libid3tag-0.15.0b || /bin/true ) && gunzip -cd Archive/libid3tag-0.15.0b.tar.gz | tar -x && ( cd libid3tag-0.15.0b; patch -p1 < ../Patches/libid3tag.diff )
PREPARE_libjpeg = ( rm -rf jpeg-6b || /bin/true ) && gunzip -cd Archive/jpegsrc.v6b.tar.gz | tar -x && ( cd jpeg-6b; patch -p1 < ../Patches/jpeg.diff )
PREPARE_libmad = ( rm -rf libmad-0.15.0b || /bin/true ) && gunzip -cd Archive/libmad-0.15.0b.tar.gz | tar -x && ( cd libmad-0.15.0b; patch -p1 < ../Patches/libmad.diff )
PREPARE_libncurses = ( rm -rf ncurses-5.3 || /bin/true ) && gunzip -cd Archive/ncurses-5.3.tar.gz | tar -x
PREPARE_libnet = ( rm -rf Libnet-1.0.2a || /bin/true ) && gunzip -cd Archive/libnet-1.0.2a.tar.gz | tar -x && ( cd Libnet-1.0.2a; patch -p1 < ../Patches/libnet.diff )
PREPARE_libnids = ( rm -rf libnids-1.16 || /bin/true ) && gunzip -cd Archive/libnids-1.16.tar.gz | tar -x
PREPARE_libpcap = ( rm -rf libpcap-0.7.1 || /bin/true ) && gunzip -cd Archive/libpcap-0.7.1.tar.gz | tar -x && ( cd libpcap-0.7.1; patch -p1 < ../Patches/libpcap.diff )
PREPARE_libpng = ( rm -rf libpng-1.2.5 || /bin/true ) && bunzip2 -cd Archive/libpng-1.2.5.tar.bz2 | tar -x && ( cd libpng-1.2.5; patch -p1 < ../Patches/libpng.diff )
PREPARE_libpopt = ( rm -rf popt-1.6.4 || /bin/true ) && gunzip -cd Archive/popt-1.6.4.tar.gz | tar -x
PREPARE_libreadline = ( rm -rf readline-4.3 || /bin/true ) && gunzip -cd Archive/readline-4.3.tar.gz | tar -x && ( cd readline-4.3; patch -p1 < ../Patches/readline.diff )
PREPARE_libsdl = ( rm -rf SDL-1.2.4 || /bin/true ) && gunzip -cd Archive/SDL-1.2.4.tar.gz | tar -x && ( cd SDL-1.2.4; patch -p1 < ../Patches/sdl.diff )
PREPARE_libsigc = ( rm -rf libsigc++-1.2.5 || /bin/true ) && gunzip -cd Archive/libsigc++-1.2.5.tar.gz | tar -x
PREPARE_libungif = ( rm -rf libungif-4.1.0 || /bin/true ) && gunzip -cd Archive/libungif-4.1.0.tar.gz | tar -x && ( cd libungif-4.1.0; patch -p1 < ../Patches/libungif.diff )
PREPARE_libxml2 = ( rm -rf libxml2-2.4.22 || /bin/true ) && bunzip2 -cd Archive/libxml2-2.4.22.tar.bz2 | tar -x
PREPARE_libxmlparse = ( rm -rf xmlparse-0.9.3 || /bin/true ) && bunzip2 -cd Archive/xmlparse_0.9.3.tar.bz2 | tar -x && ( cd xmlparse-0.9.3; patch -p1 < ../Patches/xmlparse.diff )
PREPARE_libxmlwrapp = ( rm -rf xmlwrapp-0.2.1 || /bin/true ) && gunzip -cd Archive/xmlwrapp-0.2.1.tar.gz | tar -x
PREPARE_libz = ( rm -rf zlib-1.1.4 || /bin/true ) && bunzip2 -cd Archive/zlib-1.1.4.tar.bz2 | tar -x && ( cd zlib-1.1.4; patch -p1 < ../Patches/zlib.diff )
PREPARE_linux = ( rm -rf linux-2.4.20 || /bin/true ) && ( rm -rf linux || /bin/true ) && bunzip2 -cd Archive/linux-2.4.20.tar.bz2 | tar -x && ( cd linux-2.4.20; bunzip2 -cd ../Archive/linux-dbox2-2.4.20-2.diff.bz2 | patch -p1 ) && ( ln -s linux-2.4.20 linux || /bin/true )
PREPARE_lirc = ( rm -rf lirc-0.6.6 || /bin/true ) && bunzip2 -cd Archive/lirc-0.6.6.tar.bz2 | tar -x && ( cd lirc-0.6.6; patch -p1 < ../Patches/lirc.diff )
PREPARE_lsof = ( rm -rf lsof_4.64_src || /bin/true ) && bunzip2 -cd Archive/lsof_4.64_src.tar.bz2 | tar -x && ( cd lsof_4.64_src; patch -p1 < ../Patches/lsof.diff )
PREPARE_ltrace = ( rm -rf ltrace-0.3.26 || /bin/true ) && gunzip -cd Archive/ltrace_0.3.26.tar.gz | tar -x && ( cd ltrace-0.3.26; patch -p1 < ../Patches/ltrace.diff )
PREPARE_modutils = ( rm -rf modutils-2.4.21 || /bin/true ) && bunzip2 -cd Archive/modutils-2.4.21.tar.bz2 | tar -x
PREPARE_nano = ( rm -rf nano-1.0.7 || /bin/true ) && gunzip -cd Archive/nano-1.0.7.tar.gz | tar -x && ( cd nano-1.0.7; patch -p1 < ../Patches/nano.diff )
PREPARE_portmap = ( rm -rf portmap-5 || /bin/true ) && bunzip2 -cd Archive/portmap-5.tar.bz2 | tar -x && ( cd portmap-5; patch -p1 < ../Patches/portmap-5.diff )
PREPARE_procps = ( rm -rf procps-010114 || /bin/true ) && gunzip -cd Archive/procps-010114.tar.gz | tar -x && ( cd procps-010114; patch -p1 < ../Patches/procps.diff )
PREPARE_pump = ( rm -rf pump-0.8.11 || /bin/true ) && bunzip2 -cd Archive/pump-0.8.11.tar.bz2 | tar -x && ( cd pump-0.8.11; patch -p1 < ../Patches/pump.diff )
PREPARE_scummvm = ( rm -rf scummvm || /bin/true ) && bunzip2 -cd Archive/scummvm-20020717.tar.bz2 | tar -x && ( cd scummvm; patch -p1 < ../Patches/scummvm.diff )
PREPARE_sdldoom = ( rm -rf sdldoom-1.10 || /bin/true ) && gunzip -cd Archive/sdldoom-1.10.tar.gz | tar -x && ( cd sdldoom-1.10; patch -p1 < ../Patches/sdldoom.diff )
PREPARE_ssh = ( rm -rf openssh-3.5p1 || /bin/true ) && gunzip -cd Archive/openssh-3.5p1.tar.gz | tar -x && ( cd openssh-3.5p1; patch -p1 < ../Patches/ssh.diff )
PREPARE_strace = ( rm -rf strace-4.4 || /bin/true ) && gunzip -cd Archive/strace_4.4-1.tar.gz | tar -x && ( cd strace-4.4; patch -p1 < ../Patches/strace.diff )
PREPARE_tcpdump = ( rm -rf tcpdump-3.7.1 || /bin/true ) && gunzip -cd Archive/tcpdump-3.7.1.tar.gz | tar -x && ( cd tcpdump-3.7.1; patch -p1 < ../Patches/tcpdump.diff )
PREPARE_thttpd = ( rm -rf thttpd-2.23beta1 || /bin/true ) && gunzip -cd Archive/thttpd-2.23beta1.tar.gz | tar -x && ( cd thttpd-2.23beta1; patch -p1 < ../Patches/thttpd.diff )
PREPARE_uclibc = ( rm -rf uClibc-0.9.11 || /bin/true ) && bunzip2 -cd Archive/uClibc-0.9.11.tar.bz2 | tar -x && ( cd uClibc-0.9.11; patch -p1 < ../Patches/uclibc-0.9.11.diff )
PREPARE_vls = ( rm -rf vls-0.4.0 || /bin/true ) && bunzip2 -cd Archive/vls-0.4.0.tar.bz2 | tar -x
PREPARE_watchdog = ( rm -rf watchdog-5.2.orig || /bin/true ) && gunzip -cd Archive/watchdog_5.2.orig.tar.gz | tar -x && ( cd watchdog-5.2.orig; patch -p1 < ../Patches/watchdog.diff )
PREPARE_xrc = ( rm -rf xrc-0.6.3 || /bin/true ) && gunzip -cd Archive/xrc-0.6.3.tar.gz | tar -x && ( cd xrc-0.6.3; patch -p1 < ../Patches/xrc.diff )
PYTHON = /usr/bin/python
SET_MAKE = 
SHELL = /bin/sh
SOURCEDIR_binutils = binutils-2.13.90.0.16
SOURCEDIR_bootstrap_gcc = gcc-3.2.3
SOURCEDIR_gcc = gcc-3.2.3
SOURCEDIR_glibc = glibc-2.2.5
STRIP = 
TARGETRULESET = flash
TARGETRULESET_FLASH_FALSE = #
TARGETRULESET_FLASH_TRUE = 
TARGETRULESET_STANDARD_FALSE = 
TARGETRULESET_STANDARD_TRUE = #
TARGET_CFLAGS = -mcpu=405 -mmultiple -mstring -meabi -pipe -Os
TARGET_CXXFLAGS = -mcpu=405 -mmultiple -mstring -meabi -pipe -Os
TARGET_LDFLAGS = -s
UCODEDIR = /var/tuxbox/ucodes
VERSION = 0.0.1
VERSION_binutils = 2.13.90.0.16
VERSION_bootstrap_gcc = 3.2.3
VERSION_busybox = 1.00-pre8
VERSION_console_data = 1999.08.29
VERSION_console_tools = 0.2.3
VERSION_dsniff = 2.4b1
VERSION_dvbdate = 20020918
VERSION_dvbstream = 20020918
VERSION_dvbtext = 0.1
VERSION_dvbtune = 20020918
VERSION_fbset = 2.1
VERSION_ftpd = 1.0.1
VERSION_gcc = 3.2.3
VERSION_gdb = 6.0
VERSION_glibc = 2.2.5
VERSION_gnuboy = 1.0.3
VERSION_insight = 6.0
VERSION_kaffe = 1.0.6
VERSION_kaffeh = 1.0.6
VERSION_libboost = 1.29.0
VERSION_libcommoncplusplus = 0.99.7
VERSION_libcrypto = 0.9.7a
VERSION_libcurl = 7.10.1
VERSION_libdb2 = 2.7.7
VERSION_libdvbpsi = 0.1.2
VERSION_libffi = 1.20
VERSION_libfreetype = 2.0.9
VERSION_libfribidi = 0.10.4
VERSION_libgmp = 4.1.2
VERSION_libid3tag = 0.15.0b
VERSION_libjpeg = 6b
VERSION_libmad = 0.15.0b
VERSION_libncurses = 5.3
VERSION_libnet = 1.0.2a
VERSION_libnids = 1.16
VERSION_libpcap = 0.7.1
VERSION_libpng = 1.2.5
VERSION_libpopt = 1.6.4
VERSION_libreadline = 4.3
VERSION_libsdl = 1.2.4
VERSION_libsigc = 1.2.5
VERSION_libungif = 4.1.0
VERSION_libxml2 = 2.4.22
VERSION_libxmlparse = 0.9.3
VERSION_libxmlwrapp = 0.2.1
VERSION_libz = 1.1.4
VERSION_linux = 2.4.20-dbox2
VERSION_lirc = 0.6.6
VERSION_lsof = 4.64
VERSION_ltrace = 0.3.26
VERSION_modutils = 2.4.21
VERSION_nano = 1.0.7
VERSION_portmap = 5
VERSION_procps = 010114
VERSION_pump = 0.8.11
VERSION_scummvm = 20020717
VERSION_sdldoom = 1.10
VERSION_ssh = 3.5p1
VERSION_strace = 4.4
VERSION_tcpdump = 3.7.1
VERSION_thttpd = 2.23beta1
VERSION_uclibc = 0.9.11
VERSION_vls = 0.4.0
VERSION_watchdog = 5.2
VERSION_xrc = 0.6.3
WITH_FLASHMODUTILS_FALSE = 
WITH_FLASHMODUTILS_TRUE = #
WITH_LIBCRYPTO_FALSE = 
WITH_LIBCRYPTO_TRUE = #
ac_ct_CC = gcc
ac_ct_STRIP = 
am__fastdepCC_FALSE = 
am__fastdepCC_TRUE = #
am__include = include
am__leading_dot = .
am__quote = 
appsdir = /home/marcel/tuxbox-rel/apps
bindir = ${exec_prefix}/bin
bootdir = /home/marcel/tuxbox-rel/boot
bootprefix = /home/marcel/dream/tftpboot
build = i686-redhat-linux-gnu
build_alias = 
build_cpu = i686
build_os = linux-gnu
build_vendor = redhat
buildprefix = /home/marcel/tuxbox-rel/cdk
datadir = ${prefix}/share
driverdir = /home/marcel/tuxbox-rel/driver
exec_prefix = ${prefix}
flashprefix = /home/marcel/dream/cdkflash
flashprefix_ro = /home/marcel/dream/cdkflash/ro
flashprefix_rw = /home/marcel/dream/cdkflash/rw
gnuserver = ftp.gwdg.de/pub/misc/gnu
host = i686-redhat-linux-gnu
host_alias = 
host_cpu = i686
host_os = linux-gnu
host_vendor = redhat
hostappsdir = /home/marcel/tuxbox-rel/hostapps
hostprefix = /home/marcel/dream/cdk
includedir = ${prefix}/include
infodir = ${prefix}/info
install_sh = /home/marcel/tuxbox-rel/cdk/install-sh
libdir = ${exec_prefix}/lib
libexecdir = ${exec_prefix}/libexec
localstatedir = ${prefix}/var
mandir = ${prefix}/man
mkdir_p = mkdir -p -- .
oldincludedir = /usr/include
prefix = /home/marcel/dream
program_transform_name = s,x,x,
sbindir = ${exec_prefix}/sbin
sharedstatedir = ${prefix}/com
sysconfdir = ${prefix}/etc
target = powerpc-tuxbox-linux-gnu
target_alias = powerpc-tuxbox-linux-gnu
target_cpu = powerpc
target_os = linux-gnu
target_vendor = tuxbox
targetprefix = /home/marcel/dream/cdkroot
PATH := $(hostprefix)/bin:$(PATH)
BUILDENV := \
	AR=$(target)-ar \
	AS=$(target)-as \
	CC=$(target)-gcc \
	CXX=$(target)-g++ \
	NM=$(target)-nm \
	RANLIB=$(target)-ranlib \
	CFLAGS="$(TARGET_CFLAGS)" \
	CXXFLAGS="$(TARGET_CFLAGS)" \
	LDFLAGS="$(TARGET_LDFLAGS)" \
	PKG_CONFIG_PATH=$(targetprefix)/lib/pkgconfig


#######################
#
#   contrib libs
#
#OPTIONAL_LIBCRYPTO = .libcrypto
CONFIGURE_OPTS = \
	--build=$(build) \
	--host=$(target) \
	--prefix=$(targetprefix) \
	--with-driver=$(driverdir) \
	--with-dvbincludes=$(driverdir)/include \
	--with-target=cdk

CONFIGURE_OPTS_MAINTAINER = \
	--enable-maintainer-mode

CONFIGURE_OPTS_DEBUG = \
	--without-debug

CONFIGURE = \
	./autogen.sh && \
	CC=$(target)-gcc \
	CXX=$(target)-g++ \
	CFLAGS="-Wall $(TARGET_CFLAGS)" \
	CXXFLAGS="-Wall $(TARGET_CXXFLAGS)" \
	./configure $(CONFIGURE_OPTS) $(CONFIGURE_OPTS_MAINTAINER) $(CONFIGURE_OPTS_DEBUG)

EXTRA_DIST = \
	rules.pl rules-archive.pl \
	rules-archive \
	rules-install rules-install-flash \
	rules-make rules-make-cygwin

ACLOCAL_AMFLAGS = -I .
CONFIG_STATUS_DEPENDENCIES = \
	$(top_srcdir)/rules.pl \
	$(top_srcdir)/rules-install $(top_srcdir)/rules-install-flash \
	$(top_srcdir)/rules-make $(top_srcdir)/rules-make-cygwin \
	Makefile-archive

all: all-am

.SUFFIXES:
am--refresh:
	@:
$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
	@for dep in $?; do \
	  case '$(am__configure_deps)' in \
	    *$$dep*) \
	      echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
	      cd $(srcdir) && $(AUTOMAKE) --gnu  \
		&& exit 0; \
	      exit 1;; \
	  esac; \
	done; \
	echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  Makefile'; \
	cd $(top_srcdir) && \
	  $(AUTOMAKE) --gnu  Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
	@case '$?' in \
	  *config.status*) \
	    echo ' $(SHELL) ./config.status'; \
	    $(SHELL) ./config.status;; \
	  *) \
	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
	    cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
	esac;

$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
	$(SHELL) ./config.status --recheck

$(top_srcdir)/configure:  $(am__configure_deps)
	cd $(srcdir) && $(AUTOCONF)
$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
	cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
uninstall-info-am:
tags: TAGS
TAGS:

ctags: CTAGS
CTAGS:


distdir: $(DISTFILES)
	$(am__remove_distdir)
	mkdir $(distdir)
	$(mkdir_p) $(distdir)/etc $(distdir)/etc/init.d
	@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
	list='$(DISTFILES)'; for file in $$list; do \
	  case $$file in \
	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
	  esac; \
	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
	    dir="/$$dir"; \
	    $(mkdir_p) "$(distdir)$$dir"; \
	  else \
	    dir=''; \
	  fi; \
	  if test -d $$d/$$file; then \
	    if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
	      cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
	    fi; \
	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
	  else \
	    test -f $(distdir)/$$file \
	    || cp -p $$d/$$file $(distdir)/$$file \
	    || exit 1; \
	  fi; \
	done
	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
	|| chmod -R a+r $(distdir)
dist-gzip: distdir
	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
	$(am__remove_distdir)

dist-bzip2: distdir
	$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
	$(am__remove_distdir)

dist-tarZ: distdir
	$(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z
	$(am__remove_distdir)

dist-shar: distdir
	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
	$(am__remove_distdir)

dist-zip: distdir
	-rm -f $(distdir).zip
	zip -rq $(distdir).zip $(distdir)
	$(am__remove_distdir)

dist dist-all: distdir
	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
	$(am__remove_distdir)

# This target untars the dist file and tries a VPATH configuration.  Then
# it guarantees that the distribution is self-contained by making another
# tarfile.
distcheck: dist
	case '$(DIST_ARCHIVES)' in \
	*.tar.gz*) \
	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf - ;;\
	*.tar.bz2*) \
	  bunzip2 -c $(distdir).tar.bz2 | $(AMTAR) xf - ;;\
	*.tar.Z*) \
	  uncompress -c $(distdir).tar.Z | $(AMTAR) xf - ;;\
	*.shar.gz*) \
	  GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | unshar ;;\
	*.zip*) \
	  unzip $(distdir).zip ;;\
	esac
	chmod -R a-w $(distdir); chmod a+w $(distdir)
	mkdir $(distdir)/_build
	mkdir $(distdir)/_inst
	chmod a-w $(distdir)
	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
	  && cd $(distdir)/_build \
	  && ../configure --srcdir=.. --prefix="$$dc_install_base" \
	    $(DISTCHECK_CONFIGURE_FLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) \
	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
	  && $(MAKE) $(AM_MAKEFLAGS) check \
	  && $(MAKE) $(AM_MAKEFLAGS) install \
	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
	  && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
	        distuninstallcheck \
	  && chmod -R a-w "$$dc_install_base" \
	  && ({ \
	       (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
	       && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
	            distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
	      } || { rm -rf "$$dc_destdir"; exit 1; }) \
	  && rm -rf "$$dc_destdir" \
	  && $(MAKE) $(AM_MAKEFLAGS) dist \
	  && rm -rf $(DIST_ARCHIVES) \
	  && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
	$(am__remove_distdir)
	@(echo "$(distdir) archives ready for distribution: "; \
	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
	  sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
distuninstallcheck:
	@cd $(distuninstallcheck_dir) \
	&& test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
	   || { echo "ERROR: files left after uninstall:" ; \
	        if test -n "$(DESTDIR)"; then \
	          echo "  (check DESTDIR support)"; \
	        fi ; \
	        $(distuninstallcheck_listfiles) ; \
	        exit 1; } >&2
distcleancheck: distclean
	@if test '$(srcdir)' = . ; then \
	  echo "ERROR: distcleancheck can only run from a VPATH build" ; \
	  exit 1 ; \
	fi
	@test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
	  || { echo "ERROR: files left in build directory after distclean:" ; \
	       $(distcleancheck_listfiles) ; \
	       exit 1; } >&2
check-am: all-am
check: check-am
all-am: Makefile
installdirs:
install: install-am
install-exec: install-exec-am
install-data: install-data-am
uninstall: uninstall-am

install-am: all-am
	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am

installcheck: installcheck-am
install-strip:
	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
	  install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
	  `test -z '$(STRIP)' || \
	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
mostlyclean-generic:

clean-generic:

distclean-generic:
	-rm -f $(CONFIG_CLEAN_FILES)

maintainer-clean-generic:
	@echo "This command is intended for maintainers to use"
	@echo "it deletes files that may require special tools to rebuild."
clean: clean-am

clean-am: clean-generic clean-local mostlyclean-am

distclean: distclean-am
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
	-rm -f Makefile
distclean-am: clean-am distclean-generic distclean-local

dvi: dvi-am

dvi-am:

html: html-am

info: info-am

info-am:

install-data-am:

install-exec-am:

install-info: install-info-am

install-man:

installcheck-am:

maintainer-clean: maintainer-clean-am
	-rm -f $(am__CONFIG_DISTCLEAN_FILES)
	-rm -rf $(top_srcdir)/autom4te.cache
	-rm -f Makefile
maintainer-clean-am: distclean-am maintainer-clean-generic

mostlyclean: mostlyclean-am

mostlyclean-am: mostlyclean-generic

pdf: pdf-am

pdf-am:

ps: ps-am

ps-am:

uninstall-am: uninstall-info-am

.PHONY: all all-am am--refresh check check-am clean clean-generic \
	clean-local dist dist-all dist-bzip2 dist-gzip dist-shar \
	dist-tarZ dist-zip distcheck distclean distclean-generic \
	distclean-local distcleancheck distdir distuninstallcheck dvi \
	dvi-am html html-am info info-am install install-am \
	install-data install-data-am install-exec install-exec-am \
	install-info install-info-am install-man install-strip \
	installcheck installcheck-am installdirs maintainer-clean \
	maintainer-clean-generic mostlyclean mostlyclean-generic pdf \
	pdf-am ps ps-am uninstall uninstall-am uninstall-info-am


all: core libs root boot apps devel
extra: java contrib_apps fun dvb_apps

#######################
#
#   core
#

core: .directories .binutils .linuxdir .glibc .gcc

.bootstrap:
	@if [ ! -f .glibc ]; then \
		$(MAKE) .glibc .gcc; \
	elif [ ! -f $(hostprefix)/bin/$(target)-gcc ]; then \
		$(MAKE) .gcc; \
	fi
	touch $@

.directories:
	$(INSTALL) -d $(targetprefix)/bin
	$(INSTALL) -d $(targetprefix)/boot
	$(INSTALL) -d $(targetprefix)/dev
	$(INSTALL) -d $(targetprefix)/etc
	$(INSTALL) -d $(targetprefix)/include
	$(INSTALL) -d $(targetprefix)/mnt
	$(INSTALL) -d $(targetprefix)/lib
	$(INSTALL) -d $(targetprefix)/lib/pkgconfig
	$(INSTALL) -d $(targetprefix)/proc
	$(INSTALL) -d $(targetprefix)/root
	$(INSTALL) -d $(targetprefix)/sbin
	$(INSTALL) -d $(targetprefix)/tmp
	$(INSTALL) -d $(targetprefix)/var/run
	$(INSTALL) -d $(targetprefix)$(UCODEDIR)
	$(INSTALL) -d $(hostprefix)/$(target)
	$(INSTALL) -d $(bootprefix)
	-rm $(hostprefix)/$(target)/include
	-rm $(hostprefix)/$(target)/lib
	-ln -s $(targetprefix)/include $(hostprefix)/$(target)/include
	-ln -s $(targetprefix)/lib $(hostprefix)/$(target)/lib
	-ln -s $(buildprefix)/linux/include/asm $(hostprefix)/$(target)/include
	-ln -s $(buildprefix)/linux/include/linux $(hostprefix)/$(target)/include
	$(INSTALL) -d $(flashprefix)
	touch $@

.linuxdir: Archive/linux-2.4.20.tar.bz2 Archive/linux-dbox2-2.4.20-2.diff.bz2 
	@if [ ! -d $(targetprefix)/bin ]; then \
		$(MAKE) .directories; \
	fi
	( rm -rf linux-2.4.20 || /bin/true ) && ( rm -rf linux || /bin/true ) && bunzip2 -cd Archive/linux-2.4.20.tar.bz2 | tar -x && ( cd linux-2.4.20; bunzip2 -cd ../Archive/linux-dbox2-2.4.20-2.diff.bz2 | patch -p1 ) && ( ln -s linux-2.4.20 linux || /bin/true )
	cat Patches/linux-dbox2.config > linux-2.4.20/.config
	$(MAKE) -C linux-2.4.20 oldconfig \
		ARCH=ppc
	$(MAKE) -C linux-2.4.20 include/linux/version.h \
		ARCH=ppc
	touch $@

.binutils: Archive/binutils-2.13.90.0.16.tar.bz2 
	@if [ ! -h linux ]; then \
		$(MAKE) .linuxdir; \
	fi
	( rm -rf binutils-2.13.90.0.16 || /bin/true ) && bunzip2 -cd Archive/binutils-2.13.90.0.16.tar.bz2 | tar -x && ( rm -rf build || /bin/true ) && mkdir build
	cd build && \
		CC=$(CC) \
		CFLAGS="$(CFLAGS)" \
		../binutils-2.13.90.0.16/configure \
			--target=$(target) \
			--prefix=$(hostprefix) \
			--disable-nls \
			--nfp && \
		$(MAKE) all all-gprof && \
		$(MAKE) install
	rm -rf binutils-2.13.90.0.16 build
	touch $@

#
# gcc first stage without glibc
#
bootstrap_gcc: Archive/gcc-core-3.2.3.tar.gz Patches/gcc-core.diff 
	@if [ ! -d $(hostprefix)/$(target)/bin/as ]; then \
		$(MAKE) .binutils; \
	fi
	( rm -rf gcc-3.2.3 || /bin/true ) && gunzip -cd Archive/gcc-core-3.2.3.tar.gz | tar -x && ( cd gcc-3.2.3; patch -p1 < ../Patches/gcc-core.diff ) && ( rm -rf build || /bin/true ) && mkdir build
	$(INSTALL) -d $(hostprefix)/$(target)/sys-include
	ln -sf $(buildprefix)/linux/include/asm $(hostprefix)/$(target)/sys-include/
	cd build && \
		CC=$(CC) CFLAGS="$(CFLAGS)" \
		../gcc-3.2.3/configure \
			--build=$(build) \
			--host=$(build) \
			--target=$(target) \
			--prefix=$(hostprefix) \
			--with-cpu=$(CPU_MODEL) \
			--enable-target-optspace \
			--enable-languages="c" \
			--disable-shared \
			--disable-nls \
			--disable-threads \
			--nfp && \
		$(MAKE) all && \
		$(MAKE) install
	rm -rf $(hostprefix)/$(target)/sys-include
	rm -rf gcc-3.2.3 build

.glibc: Archive/glibc-2.2.5.tar.bz2 Archive/glibc-linuxthreads-2.2.5.tar.bz2 Patches/glibc.diff 
	@if [ ! -f $(hostprefix)/$(target)/lib/libc.so -a ! -f $(hostprefix)/bin/$(target)-gcc ]; then \
		$(MAKE) bootstrap_gcc; \
	elif [ ! -f $(hostprefix)/bin/$(target)-gcc ]; then \
		$(MAKE) .gcc; \
	fi
	( rm -rf glibc-2.2.5 || /bin/true ) && bunzip2 -cd Archive/glibc-2.2.5.tar.bz2 | tar -x && ( cd glibc-2.2.5; bunzip2 -cd ../Archive/glibc-linuxthreads-2.2.5.tar.bz2 | tar -x ) && ( cd glibc-2.2.5; patch -p1 < ../Patches/glibc.diff ) && ( rm -rf build || /bin/true ) && mkdir build
	cd build && \
		CC=$(target)-gcc \
		AR=$(target)-ar \
		RANLIB=$(target)-ranlib \
		CFLAGS="$(TARGET_CFLAGS)" \
		LDFLAGS="$(TARGET_LDFLAGS)" \
		../glibc-2.2.5/configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= \
			--with-headers=$(buildprefix)/linux/include \
			--enable-kernel=$(KERNELVERSION) \
			--disable-profile \
			--enable-shared \
			--enable-add-ons=linuxthreads \
			--without-fp && \
		$(MAKE) all && \
		$(MAKE) install install_root=$(targetprefix) && $(INSTALL) -m644 libc_pic.a math/libm_pic.a resolv/libresolv_pic.a dlfcn/libdl_pic.a $(targetprefix)/lib && $(INSTALL) -d $(targetprefix)/lib/libc_pic && $(INSTALL) -m644 elf/soinit.os $(targetprefix)/lib/libc_pic/soinit.o && $(INSTALL) -m644 elf/sofini.os $(targetprefix)/lib/libc_pic/sofini.o && $(INSTALL) -m644 libc.map $(targetprefix)/lib/libc_pic.map && $(INSTALL) -m644 libm.map $(targetprefix)/lib/libm_pic.map && $(INSTALL) -m644 libdl.map $(targetprefix)/lib/libdl_pic.map
	rm -rf glibc-2.2.5 build
	touch $@

#
# uClibc
# a minimalistic libc, won't currently work with libstdc++
#
.uclibc: Archive/uClibc-0.9.11.tar.bz2 Patches/uclibc-0.9.11.diff 
	( rm -rf uClibc-0.9.11 || /bin/true ) && bunzip2 -cd Archive/uClibc-0.9.11.tar.bz2 | tar -x && ( cd uClibc-0.9.11; patch -p1 < ../Patches/uclibc-0.9.11.diff )
	cd uClibc-0.9.11 && \
		$(MAKE) all CROSS=$(target)- && \
		$(MAKE) install DEVEL_PREFIX=$(targetprefix) && $(INSTALL) -m644 lib/libc.a $(targetprefix)/lib/libc_pic.a && $(INSTALL) -m644 lib/libcrypt.a $(targetprefix)/lib/libcrypt_pic.a && $(INSTALL) -m644 lib/libm.a $(targetprefix)/lib/libm_pic.a
	rm -rf uClibc-0.9.11
	touch $@

#
# gcc second stage with glibc
#
.gcc: Archive/gcc-core-3.2.3.tar.gz Archive/gcc-g++-3.2.3.tar.gz 
	@if [ ! -f $(hostprefix)/$(target)/lib/libc.so ]; then \
		$(MAKE) .glibc; \
	fi
	( rm -rf gcc-3.2.3 || /bin/true ) && gunzip -cd Archive/gcc-core-3.2.3.tar.gz | tar -x && gunzip -cd Archive/gcc-g++-3.2.3.tar.gz | tar -x && ( rm -rf build || /bin/true ) && mkdir build
	$(INSTALL) -d $(hostprefix)/$(target)/sys-include
	cp -p $(hostprefix)/$(target)/include/limits.h $(hostprefix)/$(target)/sys-include/
	cd build && \
		CC=$(CC) CFLAGS="$(CFLAGS)" \
		../gcc-3.2.3/configure \
			--build=$(build) \
			--host=$(build) \
			--target=$(target) \
			--prefix=$(hostprefix) \
			--with-cpu=$(CPU_MODEL) \
			--enable-target-optspace \
			--enable-languages="c,c++" \
			--enable-shared \
			--enable-threads \
			--disable-nls \
			--nfp && \
		$(MAKE) all && \
		$(MAKE) install && $(INSTALL) -m644 $(target)/libstdc++-v3/src/linker.map $(targetprefix)/lib/libstdc++_pic.map && $(target)-ar cru $(targetprefix)/lib/libstdc++_pic.a $(target)/libstdc++-v3/src/.libs/*.o $(target)/libstdc++-v3/libsupc++/*.o
	rm -rf $(hostprefix)/$(target)/sys-include
	rm -rf gcc-3.2.3 build
	touch $@

#######################
#
#   root
#

root: \
	.etc .busybox .ftpd .modutils \
	.procps .watchdog

root_optional: \
	.portmap

.busybox: .bootstrap .etc Archive/busybox-1.00-pre8.tar.bz2 
	( rm -rf busybox-1.00-pre8 || /bin/true ) && bunzip2 -cd Archive/busybox-1.00-pre8.tar.bz2 | tar -x && ( cd busybox-1.00-pre8; patch -p1 < ../Patches/busybox.diff )
	cat Patches/busybox-flash.config > busybox-1.00-pre8/.config
#	cat Patches/busybox.config > busybox-1.00-pre8/.config
	cd busybox-1.00-pre8 && \
		$(MAKE) dep all \
			CROSS=$(target)- \
			CFLAGS_EXTRA="$(TARGET_CFLAGS)" && \
		$(MAKE) install PREFIX=$(targetprefix)
	rm -rf busybox-1.00-pre8
	touch $@

.etc:
	$(MAKE) -C etc install
	touch $@

.ftpd: .bootstrap Archive/vsftpd-1.0.1.tar.gz Patches/ftpd.diff 
	( rm -rf vsftpd-1.0.1 || /bin/true ) && gunzip -cd Archive/vsftpd-1.0.1.tar.gz | tar -x && ( cd vsftpd-1.0.1; patch -p1 < ../Patches/ftpd.diff )
	cd vsftpd-1.0.1 && \
		CC=$(target)-gcc \
		CFLAGS="$(TARGET_CFLAGS)" \
		LDFLAGS="$(TARGET_LDFLAGS)" \
		$(MAKE) && \
		$(INSTALL) -m755 vsftpd $(targetprefix)/sbin/in.ftpd && $(INSTALL) -m644 vsftpd-dbox2.conf $(targetprefix)/etc/vsftpd.conf && $(INSTALL) -d $(targetprefix)/share/empty
	rm -rf vsftpd-1.0.1
	touch $@

.modutils: .bootstrap Archive/modutils-2.4.21.tar.bz2 
	( rm -rf modutils-2.4.21 || /bin/true ) && bunzip2 -cd Archive/modutils-2.4.21.tar.bz2 | tar -x
	cd modutils-2.4.21 && \
		$(BUILDENV) \
		BUILDCC=$(CC) BUILDCFLAGS="-O2" \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix=$(targetprefix) \
			--disable-root-check \
			--disable-strip && \
		$(MAKE) && \
		$(MAKE) install-bin sbindir=$(targetprefix)/sbin
	rm -rf modutils-2.4.21
	touch $@

.portmap: .bootstrap Archive/portmap-5.tar.bz2 Patches/portmap-5.diff 
	( rm -rf portmap-5 || /bin/true ) && bunzip2 -cd Archive/portmap-5.tar.bz2 | tar -x && ( cd portmap-5; patch -p1 < ../Patches/portmap-5.diff )
	cd portmap-5 && \
		$(BUILDENV) \
		$(MAKE) && \
		$(MAKE) install BASEDIR=$(targetprefix)
	rm -rf portmap-5
	touch $@

.procps: .bootstrap .libncurses Archive/procps-010114.tar.gz Patches/procps.diff 
	( rm -rf procps-010114 || /bin/true ) && gunzip -cd Archive/procps-010114.tar.gz | tar -x && ( cd procps-010114; patch -p1 < ../Patches/procps.diff )
	cd procps-010114 && \
		$(BUILDENV) \
		$(MAKE) top ps && \
		rm -rf $(targetprefix)/bin/ps && $(INSTALL) -m755 top ps/ps $(targetprefix)/bin
	rm -rf procps-010114
	touch $@

.watchdog: .bootstrap Archive/watchdog_5.2.orig.tar.gz Patches/watchdog.diff 
	( rm -rf watchdog-5.2.orig || /bin/true ) && gunzip -cd Archive/watchdog_5.2.orig.tar.gz | tar -x && ( cd watchdog-5.2.orig; patch -p1 < ../Patches/watchdog.diff )
	cd watchdog-5.2.orig && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= \
			--cache-file=/dev/null && \
		$(MAKE) all && \
		$(MAKE) install DESTDIR=$(targetprefix)
	rm -rf watchdog-5.2.orig
	touch $@

libs: \
	$(OPTIONAL_LIBCRYPTO) .libcurl .libdvbpsi .libffi .libfreetype .libjpeg \
	.libmad .libid3tag .libncurses .libpng .libreadline .libsdl .libsigc .libz

libs_optional: \
	.libcommoncplusplus .libdb2 .libnet .libnids .libpcap .libpopt .libungif \
	.libxml2 .libxmlparse .libxmlwrapp

.libboost: .bootstrap Archive/boost_1_29_0.tar.gz 
	( rm -rf boost_1_29_0 || /bin/true ) && gunzip -cd Archive/boost_1_29_0.tar.gz | tar -x
	cd boost_1_29_0 && \
		rm -rf $(targetprefix)/include/boost && mv boost $(targetprefix)/include/boost
	rm -rf boost_1_29_0
	touch $@

.libcommoncplusplus: .bootstrap .libxml2 Archive/commoncpp2-0.99.7.tar.gz 
	( rm -rf commoncpp2-0.99.7 || /bin/true ) && gunzip -cd Archive/commoncpp2-0.99.7.tar.gz | tar -x
	cd commoncpp2-0.99.7 &&\
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix=$(targetprefix) && \
		$(MAKE) all && \
		$(MAKE) install && ln -sf $(targetprefix)/bin/ccgnu2-config $(hostprefix)/bin/ccgnu2-config
	rm -rf commoncpp2-0.99.7
	touch $@

.libcrypto: .bootstrap Archive/openssl-0.9.7a.tar.gz Patches/libcrypto.diff 
	( rm -rf openssl-0.9.7a || /bin/true ) && gunzip -cd Archive/openssl-0.9.7a.tar.gz | tar -x && ( cd openssl-0.9.7a; patch -p1 < ../Patches/libcrypto.diff )
	cd openssl-0.9.7a && \
		./Configure shared no-idea no-md2 no-md4 no-mdc2 no-rc2 no-rc5 tuxbox --prefix=/ --openssldir=/ && \
		$(MAKE) all && \
		$(INSTALL) libcrypto.so.0.9.7 $(targetprefix)/lib && ln -sf libcrypto.so.0.9.7 $(targetprefix)/lib/libcrypto.so.0 && ln -sf libcrypto.so.0 $(targetprefix)/lib/libcrypto.so && $(INSTALL) libssl.so.0.9.7 $(targetprefix)/lib && ln -sf libssl.so.0.9.7 $(targetprefix)/lib/libssl.so.0 && ln -sf libssl.so.0 $(targetprefix)/lib/libssl.so && $(INSTALL) libcrypto.a $(targetprefix)/lib/libcrypto_pic.a && $(INSTALL) libssl.a $(targetprefix)/lib/libssl_pic.a && $(INSTALL) -d $(targetprefix)/include/openssl && $(MAKE) install_cdk INSTALL_PREFIX=$(targetprefix) INSTALLTOP=
	rm -rf openssl-0.9.7a
	touch $@

.libcurl: .bootstrap Archive/curl-7.10.1.tar.bz2 Patches/libcurl.diff 
	( rm -rf curl-7.10.1 || /bin/true ) && bunzip2 -cd Archive/curl-7.10.1.tar.bz2 | tar -x && ( cd curl-7.10.1; patch -p1 < ../Patches/libcurl.diff )
	cd curl-7.10.1 && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= \
			--with-random && \
		$(MAKE) all && \
		rm -f $(hostprefix)/bin/curl-config && \
		sed -e "s,^prefix=,prefix=$(targetprefix)," < curl-config > $(hostprefix)/bin/curl-config && \
		chmod 755 $(hostprefix)/bin/curl-config && \
		$(MAKE) install DESTDIR=$(targetprefix) && $(target)-ar cru $(targetprefix)/lib/libcurl_pic.a lib/*.lo
	rm -rf curl-7.10.1
	touch $@

.libdb2: .bootstrap Archive/db-2.7.7.tar.gz Patches/libdb2.diff 
	( rm -rf db-2.7.7 || /bin/true ) && gunzip -cd Archive/db-2.7.7.tar.gz | tar -x && ( cd db-2.7.7; patch -p1 < ../Patches/libdb2.diff )
	cd db-2.7.7/dist && \
		chmod 755 configure && \
		autoconf && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= \
			--enable-compat185 \
			--enable-cxx && \
		$(MAKE) all && \
		$(MAKE) install DESTDIR=$(targetprefix)
	rm -rf db-2.7.7
	touch $@

.libdvbpsi: .bootstrap Archive/libdvbpsi-0.1.2.tar.gz 
	( rm -rf libdvbpsi-0.1.2 || /bin/true ) && gunzip -cd Archive/libdvbpsi-0.1.2.tar.gz | tar -x
	cd libdvbpsi-0.1.2 && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= && \
		$(MAKE) all && \
		$(MAKE) install DESTDIR=$(targetprefix)
	rm -rf libdvbpsi-0.1.2
	touch $@

.libffi: .bootstrap Archive/libffi-1.20.tar.gz Patches/libffi.diff 
	( rm -rf libffi-1.20 || /bin/true ) && gunzip -cd Archive/libffi-1.20.tar.gz | tar -x && ( cd libffi-1.20; patch -p1 < ../Patches/libffi.diff )
	cd libffi-1.20 && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix=$(targetprefix) && \
		$(MAKE) all && \
		$(MAKE) install
	rm -rf libffi-1.20
	touch $@

.libfreetype: .bootstrap Archive/freetype-2.0.9.tar.bz2 
	( rm -rf freetype-2.0.9 || /bin/true ) && bunzip2 -cd Archive/freetype-2.0.9.tar.bz2 | tar -x && ( cd freetype-2.0.9; patch -p1 < ../Patches/libfreetype.diff )
	cd freetype-2.0.9 && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= && \
		$(MAKE) all && \
		rm -f $(hostprefix)/bin/freetype-config && \
		sed -e "s,^prefix=,prefix=$(targetprefix)," < builds/unix/freetype-config > $(hostprefix)/bin/freetype-config && \
		chmod 755 $(hostprefix)/bin/freetype-config && \
		$(MAKE) install libdir=$(targetprefix)/lib includedir=$(targetprefix)/include bindir=$(targetprefix)/bin prefix=$(targetprefix) && $(target)-ar cru $(targetprefix)/lib/libfreetype_pic.a objs/*.lo
	rm -rf freetype-2.0.9
	touch $@

.libfribidi: .bootstrap Archive/fribidi-0.10.4.tar.bz2 
	( rm -rf fribidi-0.10.4 || /bin/true ) && bunzip2 -cd Archive/fribidi-0.10.4.tar.bz2 | tar -x
	cd fribidi-0.10.4 && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= \
			--enable-memopt && \
		$(MAKE) all && \
		perl -pi -e "s,^prefix=.*$$,prefix=$(targetprefix)," fribidi.pc && $(MAKE) install DESTDIR=$(targetprefix)
	rm -rf fribidi-0.10.4
	touch $@

.libgmp: .bootstrap Archive/gmp-4.1.2.tar.gz 
	( rm -rf gmp-4.1.2 || /bin/true ) && gunzip -cd Archive/gmp-4.1.2.tar.gz | tar -x
	cd gmp-4.1.2 && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix=$(targetprefix) && \
		$(MAKE) all && \
		$(MAKE) install
	rm -rf gmp-4.1.2
	touch $@

.libjpeg: .bootstrap Archive/jpegsrc.v6b.tar.gz Patches/jpeg.diff 
	( rm -rf jpeg-6b || /bin/true ) && gunzip -cd Archive/jpegsrc.v6b.tar.gz | tar -x && ( cd jpeg-6b; patch -p1 < ../Patches/jpeg.diff )
	cd jpeg-6b && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= \
			--enable-static \
			--enable-shared && \
		$(MAKE) libjpeg.la && \
		$(MAKE) install-lib prefix=$(targetprefix)
	rm -rf jpeg-6b
	touch $@

.libmad: .bootstrap .libz Archive/libmad-0.15.0b.tar.gz Patches/libmad.diff 
	( rm -rf libmad-0.15.0b || /bin/true ) && gunzip -cd Archive/libmad-0.15.0b.tar.gz | tar -x && ( cd libmad-0.15.0b; patch -p1 < ../Patches/libmad.diff )
	cd libmad-0.15.0b && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= \
			--enable-shared=yes \
			--disable-nls \
			--without-esd \
			--enable-fpm=ppc \
			--enable-sso \
			--enable-accuracy && \
		$(MAKE) all && \
		perl -pi -e "s,^prefix=.*$$,prefix=$(targetprefix)," mad.pc && $(MAKE) install DESTDIR=$(targetprefix) && $(INSTALL) -m644 mad.pc $(targetprefix)/lib/pkgconfig
	rm -rf libmad-0.15.0b
	touch $@
#.libmad: .bootstrap .libz Archive/libmad-0.15.0b.tar.gz Patches/libmad.diff 
#	( rm -rf libmad-0.15.0b || /bin/true ) && gunzip -cd Archive/libmad-0.15.0b.tar.gz | tar -x && ( cd libmad-0.15.0b; patch -p1 < ../Patches/libmad.diff )
#	cd libmad-0.15.0b && \
#		$(BUILDENV) \
#		./configure \
#			--build=$(build) \
#			--host=$(target) \
#			--prefix= \
#			--enable-shared=yes \
#			--disable-nls \
#			--without-esd \
#			--enable-fpm=ppc \
#			--enable-sso \
#			--enable-speed && \
#		$(MAKE) all && \
#		perl -pi -e "s,^prefix=.*$$,prefix=$(targetprefix)," mad.pc && $(MAKE) install DESTDIR=$(targetprefix) && $(INSTALL) -m644 mad.pc $(targetprefix)/lib/pkgconfig
#	rm -rf libmad-0.15.0b
#	touch $@

.libid3tag: .bootstrap .libz Archive/libid3tag-0.15.0b.tar.gz Patches/libid3tag.diff 
	( rm -rf libid3tag-0.15.0b || /bin/true ) && gunzip -cd Archive/libid3tag-0.15.0b.tar.gz | tar -x && ( cd libid3tag-0.15.0b; patch -p1 < ../Patches/libid3tag.diff )
	cd libid3tag-0.15.0b && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= \
			--enable-shared=yes && \
		$(MAKE) all && \
		perl -pi -e "s,^prefix=.*$$,prefix=$(targetprefix)," id3tag.pc && $(MAKE) install DESTDIR=$(targetprefix) && $(INSTALL) -m644 id3tag.pc $(targetprefix)/lib/pkgconfig
	rm -rf libid3tag-0.15.0b
	touch $@

.libncurses: .bootstrap Archive/ncurses-5.3.tar.gz 
	( rm -rf ncurses-5.3 || /bin/true ) && gunzip -cd Archive/ncurses-5.3.tar.gz | tar -x
	cd ncurses-5.3 && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= \
			--with-terminfo-dirs=/share/terminfo \
			--disable-big-core \
			--without-debug \
			--without-progs \
			--without-ada \
			--with-shared \
			--without-profile \
			--disable-rpath \
			--without-cxx-binding \
			--with-fallbacks='linux vt100 xterm' && \
		$(MAKE) libs \
			HOSTCC=$(CC) \
			HOSTCCFLAGS="$(CFLAGS) -DHAVE_CONFIG_H -I../ncurses -DNDEBUG -D_GNU_SOURCE -I../include" \
			HOSTLDFLAGS="$(LDFLAGS)" && \
		$(MAKE) install.libs install.includes DESTDIR=$(targetprefix) && $(target)-ar cru $(targetprefix)/lib/libncurses_pic.a obj_s/*.o
	rm -rf ncurses-5.3
	touch $@

.libnet: .bootstrap Archive/libnet-1.0.2a.tar.gz Patches/libnet.diff 
	( rm -rf Libnet-1.0.2a || /bin/true ) && gunzip -cd Archive/libnet-1.0.2a.tar.gz | tar -x && ( cd Libnet-1.0.2a; patch -p1 < ../Patches/libnet.diff )
	cd Libnet-1.0.2a && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix=$(targetprefix) \
			--with-pf_packet=yes \
			--with-fast_x86_check=no && \
		$(MAKE) all && \
		$(MAKE) install && $(INSTALL) -m755 libnet-config $(targetprefix)/bin/libnet-config && ln -sf $(targetprefix)/bin/libnet-config $(hostprefix)/bin/libnet-config
	rm -rf Libnet-1.0.2a
	touch $@

.libnids: .bootstrap .libnet Archive/libnids-1.16.tar.gz 
	( rm -rf libnids-1.16 || /bin/true ) && gunzip -cd Archive/libnids-1.16.tar.gz | tar -x
	cd libnids-1.16 && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix=$(targetprefix) && \
		$(MAKE) all && \
		$(MAKE) install
	rm -rf libnids-1.16
	touch $@

.libpcap: .bootstrap Archive/libpcap-0.7.1.tar.gz 
	( rm -rf libpcap-0.7.1 || /bin/true ) && gunzip -cd Archive/libpcap-0.7.1.tar.gz | tar -x && ( cd libpcap-0.7.1; patch -p1 < ../Patches/libpcap.diff )
	cd libpcap-0.7.1 && \
		$(BUILDENV) \
		./configure \
			--host=$(target) \
			--prefix=$(targetprefix) \
			--with-pcap=linux \
			--build=$(build) && \
		$(MAKE) all && \
		$(MAKE) install
	rm -rf libpcap-0.7.1
	touch $@

.libpng: .bootstrap .libz Archive/libpng-1.2.5.tar.bz2 Patches/libpng.diff 
	( rm -rf libpng-1.2.5 || /bin/true ) && bunzip2 -cd Archive/libpng-1.2.5.tar.bz2 | tar -x && ( cd libpng-1.2.5; patch -p1 < ../Patches/libpng.diff )
	cd libpng-1.2.5 && \
		$(MAKE) libpng.a libpng12.so libpng.pc libpng-config \
			$(BUILDENV) \
			CPPFLAGS="-DPNG_DEBUG=0" \
			prefix=$(targetprefix) && \
		$(MAKE) install prefix=$(targetprefix) && $(target)-ar cru $(targetprefix)/lib/libpng12_pic.a *.o
	rm -rf libpng-1.2.5
	touch $@

.libpopt: .bootstrap Archive/popt-1.6.4.tar.gz 
	( rm -rf popt-1.6.4 || /bin/true ) && gunzip -cd Archive/popt-1.6.4.tar.gz | tar -x
	cd popt-1.6.4 && \
		$(BUILDENV) \
		./configure \
			--host=$(target) \
			--prefix=$(targetprefix)\
			--with-pic \
			--disable-nls && \
		$(MAKE) all && \
		$(MAKE) install
	rm -rf popt-1.6.4
	touch $@

.libreadline: .bootstrap Archive/readline-4.3.tar.gz Patches/readline.diff 
	( rm -rf readline-4.3 || /bin/true ) && gunzip -cd Archive/readline-4.3.tar.gz | tar -x && ( cd readline-4.3; patch -p1 < ../Patches/readline.diff )
	cd readline-4.3 && \
		autoconf && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= && \
		$(MAKE) all && \
		$(MAKE) install DESTDIR=$(targetprefix)
	rm -rf readline-4.3
	touch $@

.libsdl: .bootstrap Archive/SDL-1.2.4.tar.gz Patches/sdl.diff 
	( rm -rf SDL-1.2.4 || /bin/true ) && gunzip -cd Archive/SDL-1.2.4.tar.gz | tar -x && ( cd SDL-1.2.4; patch -p1 < ../Patches/sdl.diff )
	cd SDL-1.2.4 && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= \
			--disable-alsa \
			--disable-openbsdaudio \
			--disable-esd \
			--disable-arts \
			--disable-nas \
			--disable-diskaudio \
			--disable-nasm \
			--disable-nanox \
			--disable-video-x11 \
			--without-x \
			--enable-video-fbcon \
			--disable-video-photon \
			--disable-video-directfb \
			--disable-video-ps2gs \
			--disable-video-ggi \
			--disable-video-svga \
			--disable-video-vgl \
			--disable-video-aalib \
			--disable-video-dummy \
			--disable-video-opengl \
			--disable-stdio-redirect \
			--disable-directx && \
		$(MAKE) all && \
		rm -f $(hostprefix)/bin/sdl-config && \
		sed -e "s,^prefix=,prefix=$(targetprefix)," < sdl-config > $(hostprefix)/bin/sdl-config && \
		chmod 755 $(hostprefix)/bin/sdl-config && \
		$(MAKE) install DESTDIR=$(targetprefix)
	rm -rf SDL-1.2.4
	touch $@

.libsigc: .bootstrap Archive/libsigc++-1.2.5.tar.gz 
	( rm -rf libsigc++-1.2.5 || /bin/true ) && gunzip -cd Archive/libsigc++-1.2.5.tar.gz | tar -x
	cd libsigc++-1.2.5 && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= \
			--disable-checks && \
		$(MAKE) all && \
		perl -pi -e "s,^prefix=.*$$,prefix=$(targetprefix)," sigc++-1.2.pc && $(MAKE) install DESTDIR=$(targetprefix)
	rm -rf libsigc++-1.2.5
	touch $@

.libungif: .bootstrap Archive/libungif-4.1.0.tar.gz Patches/libungif.diff 
	( rm -rf libungif-4.1.0 || /bin/true ) && gunzip -cd Archive/libungif-4.1.0.tar.gz | tar -x && ( cd libungif-4.1.0; patch -p1 < ../Patches/libungif.diff )
	cd libungif-4.1.0 && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= \
			--without-x && \
		$(MAKE) && \
		$(MAKE) install DESTDIR=$(targetprefix)
	rm -rf libungif-4.1.0
	touch $@

.libxml2: .bootstrap Archive/libxml2-2.4.22.tar.bz2 
	( rm -rf libxml2-2.4.22 || /bin/true ) && bunzip2 -cd Archive/libxml2-2.4.22.tar.bz2 | tar -x
	cd libxml2-2.4.22 && \
		$(BUILDENV) \
		./configure \
			--host=$(target) \
			--prefix=$(targetprefix) \
			--without-html-dir \
			--with-threads \
			--without-ftp \
			--without-http \
			--without-html \
			--without-catalog \
			--without-docbook \
			--with-xpath \
			--without-xptr \
			--without-xinclude \
			--without-iconv \
			--without-debug \
			--without-mem-debug \
			--without-python && \
		$(MAKE) all && \
		perl -pi -e "s,^prefix=.*$$,prefix=$(targetprefix)," libxml-2.0.pc && $(MAKE) install DESTDIR=$(targetprefix)
	rm -rf libxml2-2.4.22
	touch $@

.libxmlparse: .bootstrap Archive/xmlparse_0.9.3.tar.bz2 Patches/xmlparse.diff 
	( rm -rf xmlparse-0.9.3 || /bin/true ) && bunzip2 -cd Archive/xmlparse_0.9.3.tar.bz2 | tar -x && ( cd xmlparse-0.9.3; patch -p1 < ../Patches/xmlparse.diff )
	cd xmlparse-0.9.3 && \
		aclocal -I . && \
		libtoolize --automake --force && \
		autoconf && \
		automake --add-missing --force-missing && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix=$(targetprefix) \
			--enable-ambiguous \
			--enable-libstdcpp3 && \
		$(MAKE) all && \
		$(MAKE) install
	rm -rf xmlparse-0.9.3
	touch $@

.libxmlwrapp: .bootstrap .libxml2 Archive/xmlwrapp-0.2.1.tar.gz 
	( rm -rf xmlwrapp-0.2.1 || /bin/true ) && gunzip -cd Archive/xmlwrapp-0.2.1.tar.gz | tar -x
	cd xmlwrapp-0.2.1 && \
		$(BUILDENV) \
		./configure.pl \
			--disable-examples \
			--prefix $(targetprefix) && \
		$(MAKE) all && \
		$(MAKE) install && ln -sf $(targetprefix)/bin/xmlwrapp-config $(hostprefix)/bin/xmlwrapp-config
	rm -rf xmlwrapp-0.2.1
	touch $@

.libz: .bootstrap Archive/zlib-1.1.4.tar.bz2 Patches/zlib.diff 
	( rm -rf zlib-1.1.4 || /bin/true ) && bunzip2 -cd Archive/zlib-1.1.4.tar.bz2 | tar -x && ( cd zlib-1.1.4; patch -p1 < ../Patches/zlib.diff )
	cd zlib-1.1.4 && \
		$(BUILDENV) \
		./configure \
			--prefix= \
			--shared && \
		$(MAKE) all && \
		$(MAKE) install prefix=$(targetprefix) && $(target)-ar cru $(targetprefix)/lib/libz_pic.a *.o
	rm -rf zlib-1.1.4
	touch $@

#######################
#
#   contrib apps
#

contrib_apps: .console_data .console_tools .fbset .lirc .lsof .ssh .tcpdump .xrc
contrib_apps_optional: .dsniff .pump .thttpd

.console_data: .bootstrap Archive/console-data_1999.08.29.orig.tar.gz 
	( rm -rf console-data-1999.08.29 || /bin/true ) && gunzip -cd Archive/console-data_1999.08.29.orig.tar.gz | tar -x
	cd console-data-1999.08.29 && \
		CC=$(target)-gcc \
		CFLAGS="$(TARGET_CFLAGS)" \
		LDFLAGS="$(TARGET_LDFLAGS)" \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix=$(targetprefix) \
			--with-main_compressor=gzip && \
		$(MAKE) install
	rm -rf console-data-1999.08.29
	touch $@

.console_tools: .bootstrap .console_data Archive/console-tools-0.2.3.tar.gz Patches/console-tools.diff 
	( rm -rf console-tools-0.2.3 || /bin/true ) && gunzip -cd Archive/console-tools-0.2.3.tar.gz | tar -x && ( cd console-tools-0.2.3; patch -p1 < ../Patches/console-tools.diff )
	cd console-tools-0.2.3 && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix=$(targetprefix) \
			--disable-nls && \
		$(MAKE) install
	rm -rf console-tools-0.2.3
	touch $@

.dsniff: .bootstrap .libnet .libnids .libdb2 .rpcgen Archive/dsniff-2.4b1.tar.gz Patches/dsniff.diff 
	( rm -rf dsniff-2.4 || /bin/true ) && gunzip -cd Archive/dsniff-2.4b1.tar.gz | tar -x && ( cd dsniff-2.4; patch -p1 < ../Patches/dsniff.diff )
	cd dsniff-2.4 && \
		CC=$(target)-gcc \
		RANLIB=$(target)-ranlib \
		CFLAGS="$(TARGET_CFLAGS)" \
		LDFLAGS="$(TARGET_LDFLAGS)" \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= \
			--without-x && \
		$(MAKE) all && \
		$(MAKE) install install_prefix=$(targetprefix)
	rm -rf dsniff-2.4
	touch $@

.fbset: .bootstrap Archive/fbset-2.1.tar.gz Patches/fbset.diff 
	( rm -rf fbset-2.1 || /bin/true ) && gunzip -cd Archive/fbset-2.1.tar.gz | tar -x && ( cd fbset-2.1; patch -p1 < ../Patches/fbset.diff )
	cd fbset-2.1 && \
		$(MAKE) \
			$(BUILDENV) && \
		$(INSTALL) -m755 fbset $(targetprefix)/bin
	rm -rf fbset-2.1
	touch $@

.lirc: .bootstrap Archive/lirc-0.6.6.tar.bz2 
	( rm -rf lirc-0.6.6 || /bin/true ) && bunzip2 -cd Archive/lirc-0.6.6.tar.bz2 | tar -x && ( cd lirc-0.6.6; patch -p1 < ../Patches/lirc.diff )
	cd lirc-0.6.6 && \
		CC=$(target)-gcc \
		CFLAGS="$(TARGET_CFLAGS)" \
		LDFLAGS="$(TARGET_LDFLAGS)" \
		mknod=/bin/true \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix=$(targetprefix) \
			--with-devdir=/dev \
			--with-driver=serial \
			--with-kerneldir=$(buildprefix)/linux-$(KERNELVERSION) \
			--with-moduledir=$(targetprefix)/lib/modules/$(KERNELVERSION)/misc \
			--without-x && \
		$(MAKE) install
	rm -rf lirc-0.6.6
	touch $@

.lsof: .bootstrap Archive/lsof_4.64_src.tar.bz2 Patches/lsof.diff 
	( rm -rf lsof_4.64_src || /bin/true ) && bunzip2 -cd Archive/lsof_4.64_src.tar.bz2 | tar -x && ( cd lsof_4.64_src; patch -p1 < ../Patches/lsof.diff )
	cd lsof_4.64_src && \
		CROSS_COMPILE=$(target)- \
		CFLAGS="$(TARGET_CFLAGS)" \
		LDFLAGS="$(TARGET_LDFLAGS)" \
		LSOF_VSTR=$(KERNELVERSION) \
		LINUX_CLIB="-DGLIBCV=202" \
		./Configure -n linux && \
		$(MAKE) all && \
		$(INSTALL) -m755 lsof $(targetprefix)/sbin
	rm -rf lsof_4.64_src
	touch $@

.pump: .bootstrap .libpopt Archive/pump-0.8.11.tar.bz2 Patches/pump.diff 
	( rm -rf pump-0.8.11 || /bin/true ) && bunzip2 -cd Archive/pump-0.8.11.tar.bz2 | tar -x && ( cd pump-0.8.11; patch -p1 < ../Patches/pump.diff )
	cd pump-0.8.11 && \
		CC=$(target)-gcc \
		CFLAGS="$(TARGET_CFLAGS)" \
		LDFLAGS="$(TARGET_LDFLAGS)" \
		$(MAKE) all && \
		$(MAKE) install DEST=$(targetprefix)
	rm -rf pump-0.8.11
	touch $@

.ssh: .bootstrap .libcrypto .libz Archive/openssh-3.5p1.tar.gz Patches/ssh.diff 
	( rm -rf openssh-3.5p1 || /bin/true ) && gunzip -cd Archive/openssh-3.5p1.tar.gz | tar -x && ( cd openssh-3.5p1; patch -p1 < ../Patches/ssh.diff )
	cd openssh-3.5p1 && \
		CC=$(target)-gcc \
		CFLAGS="$(TARGET_CFLAGS)" \
		LDFLAGS="$(TARGET_LDFLAGS)" \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= \
			--sysconfdir=/etc/ssh \
			--without-shadow \
			--with-4in6 \
			--disable-suid-ssh \
			--with-path="/bin:/sbin" \
			--with-privsep-user=sshd \
			--with-privsep-path=/share/empty && \
		$(MAKE) all && \
		$(MAKE) install DESTDIR=$(targetprefix)
	rm -rf openssh-3.5p1
	touch $@

.tcpdump: .bootstrap .libpcap Archive/tcpdump-3.7.1.tar.gz 
	( rm -rf tcpdump-3.7.1 || /bin/true ) && gunzip -cd Archive/tcpdump-3.7.1.tar.gz | tar -x && ( cd tcpdump-3.7.1; patch -p1 < ../Patches/tcpdump.diff )
	cd tcpdump-3.7.1 && \
		$(BUILDENV) \
		./configure \
			--host=$(target) \
			--prefix=$(targetprefix) \
			--libdir=$(targetprefix)/lib \
			--build=$(build) \
			--without-crypto && \
		$(MAKE) && \
		$(MAKE) install
	rm -rf tcpdump-3.7.1
	touch $@

.thttpd: Archive/thttpd-2.23beta1.tar.gz 
	( rm -rf thttpd-2.23beta1 || /bin/true ) && gunzip -cd Archive/thttpd-2.23beta1.tar.gz | tar -x && ( cd thttpd-2.23beta1; patch -p1 < ../Patches/thttpd.diff )
	cd thttpd-2.23beta1 && \
		CC=$(target)-gcc \
		CFLAGS="$(TARGET_CFLAGS)" \
		LDFLAGS="$(TARGET_LDFLAGS)" \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix=$(targetprefix) && \
		$(MAKE) all && \
		$(MAKE) install
	rm -rf thttpd-2.23beta1
	touch $@

.xrc: .bootstrap .lirc Archive/xrc-0.6.3.tar.gz Patches/xrc.diff 
	( rm -rf xrc-0.6.3 || /bin/true ) && gunzip -cd Archive/xrc-0.6.3.tar.gz | tar -x && ( cd xrc-0.6.3; patch -p1 < ../Patches/xrc.diff )
	cd xrc-0.6.3 && \
		CC=$(target)-gcc \
		CFLAGS="$(TARGET_CFLAGS)" \
		LDFLAGS="$(TARGET_LDFLAGS)" \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix=$(targetprefix) \
			--disable-qpe \
			--disable-qt-embedded \
			--without-x && \
		$(MAKE) install
	rm -rf xrc-0.6.3
	touch $@

#######################
#
#   development tools
#

devel: .gdb .ltrace .strace .nano
devel_optional: .gdb-remote .insight .ksymoops

.gdb: .bootstrap .libncurses Archive/gdb-6.0.tar.bz2 Patches/gdb.diff 
	( rm -rf gdb-6.0 || /bin/true ) && bunzip2 -cd Archive/gdb-6.0.tar.bz2 | tar -x && ( cd gdb-6.0; patch -p1 < ../Patches/gdb.diff )
	cd gdb-6.0 && \
		$(BUILDENV) \
		LD_LIBRARY_PATH=$(libdir) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--nfp \
			--disable-sim \
			--without-sim \
			--without-expect \
			--disable-expect \
			--prefix= && \
		$(MAKE) all-gdb && \
		$(MAKE) install-gdb prefix=$(targetprefix)
	rm -rf gdb-6.0
	touch $@

.gdb-remote: Archive/gdb-6.0.tar.bz2 Patches/gdb.diff 
	( rm -rf gdb-6.0 || /bin/true ) && bunzip2 -cd Archive/gdb-6.0.tar.bz2 | tar -x && ( cd gdb-6.0; patch -p1 < ../Patches/gdb.diff )
	cd gdb-6.0 && \
		./configure \
			--build=$(build) \
			--host=$(build) \
			--target=$(target) \
			--prefix=$(hostprefix) && \
		$(MAKE) all-gdb && \
		$(MAKE) install-gdb
	rm -rf gdb-6.0
	touch $@

.ksymoops: .bootstrap @DEPENDS_ksymoops@
	@PREPARE_ksymoops@
	cd @DIR_ksymoops@ && \
	$(MAKE) CC=$(target)-gcc DEF_MAP="\\\"/boot/System.map-*r\\\"" DEF_VMLINUX="\\\"/boot/vmlinux-*r\\\"" &&\
	@INSTALL_ksymoops@
	@CLEANUP_ksymoops@
	touch $@

.insight: Archive/insight-6.0.tar.bz2 
	( rm -rf insight-6.0 || /bin/true ) && bunzip2 -cd Archive/insight-6.0.tar.bz2 | tar -x
	cd insight-6.0 && \
		./configure \
			--build=$(build) \
			--host=$(build) \
			--target=$(target) \
			--prefix=$(hostprefix) && \
		$(MAKE) all-gdb && \
		$(MAKE) install-gdb
	rm -rf insight-6.0
	touch $@

.ltrace: .bootstrap Archive/ltrace_0.3.26.tar.gz 
	( rm -rf ltrace-0.3.26 || /bin/true ) && gunzip -cd Archive/ltrace_0.3.26.tar.gz | tar -x && ( cd ltrace-0.3.26; patch -p1 < ../Patches/ltrace.diff )
	cd ltrace-0.3.26 && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--target=$(target) \
			--prefix= && \
		$(MAKE) clean all LD=$(target)-ld && \
		$(MAKE) install DESTDIR=$(targetprefix)
	rm -rf ltrace-0.3.26
	touch $@

.strace: .bootstrap Archive/strace_4.4-1.tar.gz Patches/strace.diff 
	( rm -rf strace-4.4 || /bin/true ) && gunzip -cd Archive/strace_4.4-1.tar.gz | tar -x && ( cd strace-4.4; patch -p1 < ../Patches/strace.diff )
	cd strace-4.4 && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--target=$(target) \
			--prefix=$(targetprefix) && \
		$(MAKE) all && \
		$(MAKE) install
	rm -rf strace-4.4
	touch $@

.nano: .bootstrap .libncurses Archive/nano-1.0.7.tar.gz Patches/nano.diff 
	( rm -rf nano-1.0.7 || /bin/true ) && gunzip -cd Archive/nano-1.0.7.tar.gz | tar -x && ( cd nano-1.0.7; patch -p1 < ../Patches/nano.diff )
	cd nano-1.0.7 && \
		$(BUILDENV) \
		./configure \
			--prefix=$(targetprefix) && \
		$(MAKE) all && \
		$(MAKE) install
	rm -rf nano-1.0.7
	touch $@

#######################
#
# java stuff
#

java: .kaffeh .kaffe

# for x86
.kaffeh: .bootstrap Archive/kaffe-1.0.6.tar.gz Patches/kaffeh.diff 
	( rm -rf kaffe-1.0.6 || /bin/true ) && gunzip -cd Archive/kaffe-1.0.6.tar.gz | tar -x && ( cd kaffe-1.0.6; patch -p1 < ../Patches/kaffeh.diff )
	cd kaffe-1.0.6 && \
		./configure \
			--prefix=$(hostprefix) \
			--disable-dependency-tracking \
			--without-x \
			--without-suncompat \
			--disable-gcj && \
		cat kaffe/kaffevm/jit3/machine.h | sed -e 's/\#\#/ /g' > machine.h && mv machine.h kaffe/kaffevm/jit3/machine.h  && \
		cat config/i386/linux/md.h | sed -e 's/##//g' > md.h && mv md.h config/i386/linux/md.h && \
		cp ../trampolines.c config/i386 && \
		$(MAKE) all && \
		$(MAKE) install
	rm -rf kaffe-1.0.6
	touch $@

# for ppc
.kaffe: .bootstrap .kaffeh .libffi Archive/kaffe-1.0.6.tar.gz Patches/kaffe.diff 
	( rm -rf kaffe-1.0.6 || /bin/true ) && gunzip -cd Archive/kaffe-1.0.6.tar.gz | tar -x && ( cd kaffe-1.0.6; patch -p1 < ../Patches/kaffe.diff )
	cd kaffe-1.0.6 && \
		CC=$(target)-gcc CXX=$(target)-g++ \
		CFLAGS="$(TARGET_CFLAGS)" LDFLAGS="$(TARGET_LDFLAGS)" \
		./configure \
			--host=$(target) \
			--prefix=$(targetprefix) \
			--libexecdir=$(targetprefix)/bin \
			--enable-feedback \
			--with-stats \
			--disable-dependency-tracking \
			--without-x \
			--without-suncompat \
			--disable-gcj && \
		cat kaffe/kaffevm/jit3/machine.h | sed -e 's/\#\#/ /g' > machine.h && mv machine.h kaffe/kaffevm/jit3/machine.h  && \
		cat config/i386/linux/md.h | sed -e 's/##//g' > md.h && mv md.h config/i386/linux/md.h && \
		cp ../trampolines.c config/i386 && \
		$(MAKE) all && \
		$(MAKE) install
	rm -rf kaffe-1.0.6
	touch $@

#######################
#
#   fun stuff
#

fun: .gnuboy .scummvm .sdldoom

.gnuboy: .bootstrap Archive/gnuboy-1.0.3.tar.gz Patches/gnuboy.diff 
	( rm -rf gnuboy-1.0.3 || /bin/true ) && gunzip -cd Archive/gnuboy-1.0.3.tar.gz | tar -x && ( cd gnuboy-1.0.3; patch -p1 < ../Patches/gnuboy.diff )
	cd gnuboy-1.0.3 && \
		autoconf && \
		CC=$(target)-gcc \
		CFLAGS="-fno-inline $(TARGET_CFLAGS) -I$(driverdir)/include" \
		LDFLAGS="$(TARGET_LDFLAGS)" \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix=$(targetprefix) && \
		cat Makefile | sed -e 's/\-O3//' > Makefile_ && mv Makefile_ Makefile && \
		cat Makefile | sed -e 's/\-Os//' > Makefile_ && mv Makefile_ Makefile && \
		$(MAKE) all && \
		$(MAKE) install
	rm -rf gnuboy-1.0.3
	touch $@

.scummvm: .bootstrap .libreadline .libsdl Archive/scummvm-20020717.tar.bz2 Patches/scummvm.diff 
	( rm -rf scummvm || /bin/true ) && bunzip2 -cd Archive/scummvm-20020717.tar.bz2 | tar -x && ( cd scummvm; patch -p1 < ../Patches/scummvm.diff )
	cd scummvm && \
		$(MAKE) \
			CC=$(target)-g++ \
			CFLAGS="$(TARGET_CFLAGS)" \
			LDFLAGS="$(TAGET_LDFLAGS)" \
			DEFINES="-DUNIX" && \
		$(INSTALL) -m755 scummvm $(targetprefix)/bin
	rm -rf scummvm
	touch $@

.sdldoom: .bootstrap .libsdl Archive/sdldoom-1.10.tar.gz 
	( rm -rf sdldoom-1.10 || /bin/true ) && gunzip -cd Archive/sdldoom-1.10.tar.gz | tar -x && ( cd sdldoom-1.10; patch -p1 < ../Patches/sdldoom.diff )
	cd sdldoom-1.10 && \
		$(BUILDENV) \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= && \
		$(MAKE) all && \
		$(MAKE) install DESTDIR=$(targetprefix)
	rm -rf sdldoom-1.10
	touch $@

#######################
#
#  DVB apps
#

dvb_apps: .dvbdate .dvbstream .dvbtext .dvbtune .vls

.dvbdate: .bootstrap Archive/dvbdate-20020918.tar.bz2 
	( rm -rf dvbdate || /bin/true ) && bunzip2 -cd Archive/dvbdate-20020918.tar.bz2 | tar -x
	cd dvbdate && \
		$(MAKE) dvbdate \
			CC=$(target)-gcc \
			CFLAGS="$(TARGET_CFLAGS) -I$(driverdir)/include" \
			LDFLAGS="$(TARGET_LDFLAGS)" && \
		$(INSTALL) -m755 dvbdate $(targetprefix)/bin
	rm -rf dvbdate
	touch $@

.dvbstream: .bootstrap Archive/dvbstream-20020918.tar.bz2 
	( rm -rf dvbstream || /bin/true ) && bunzip2 -cd Archive/dvbstream-20020918.tar.bz2 | tar -x
	cd dvbstream && \
		$(MAKE) dvbstream rtpfeed\
			INCS="-I$(driverdir)/include" \
			CC=$(target)-gcc \
			CFLAGS="$(TARGET_CFLAGS) -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE" && \
		$(INSTALL) -m755 dvbstream rtpfeed $(targetprefix)/bin
	rm -rf dvbstream
	touch $@

.dvbtext: .bootstrap Archive/dvbtext-0.1.tar.gz 
	( rm -rf dvbtext-0.1 || /bin/true ) && gunzip -cd Archive/dvbtext-0.1.tar.gz | tar -x
	cd dvbtext-0.1 && \
		$(target)-gcc $(TARGET_CFLAGS) -I$(driverdir)/include -o dvbtext dvbtext.c && \
		$(INSTALL) -m755 dvbtext $(targetprefix)/bin
	rm -rf dvbtext-0.1
	touch $@

.dvbtune: .bootstrap Archive/dvbtune-20020918.tar.bz2 
	( rm -rf dvbtune || /bin/true ) && bunzip2 -cd Archive/dvbtune-20020918.tar.bz2 | tar -x
	cd dvbtune && \
		$(MAKE) \
			CC=$(target)-gcc \
			CFLAGS="$(TARGET_CFLAGS) -I$(driverdir)/include" \
			LDFLAGS="$(TARGET_LDFLAGS)" && \
		$(INSTALL) -m755 dvbtune $(targetprefix)/bin
	rm -rf dvbtune
	touch $@

.vls: .bootstrap .libdvbpsi Archive/vls-0.4.0.tar.bz2 
	( rm -rf vls-0.4.0 || /bin/true ) && bunzip2 -cd Archive/vls-0.4.0.tar.bz2 | tar -x
	cd vls-0.4.0 && \
		CC=$(target)-gcc \
		CXX=$(target)-g++ \
		CFLAGS="$(TARGET_CFLAGS)" \
		CXXFLAGS="$(TARGET_CFLAGS)" \
		LDFLAGS="$(TARGET_LDFLAGS)" \
		./configure \
			--build=$(build) \
			--host=$(target) \
			--prefix= \
			--disable-dvd \
			--with-dvb=$(driverdir)/include && \
		$(MAKE) all && \
		$(MAKE) install DESTDIR=$(targetprefix)
	rm -rf vls-0.4.0
	touch $@

#######################
#
#   own kernel and driver
#

boot: .ppcboot .linuxkernel .driver

.ppcboot: .bootstrap $(bootdir)/ppcboot/Makefile
#	$(MAKE) -C $(bootdir)/ppcboot dbox2_config CYGWIN=1
#	$(MAKE) -C $(bootdir)/ppcboot CROSS_COMPILE=$(target)- CYGWIN=1
#	$(INSTALL) Patches/cygwin/mkimage.exe $(hostprefix)/bin
	$(MAKE) -C $(bootdir)/ppcboot dbox2_config
	$(MAKE) -C $(bootdir)/ppcboot CROSS_COMPILE=$(target)-
	$(INSTALL) $(bootdir)/ppcboot/tools/mkimage $(hostprefix)/bin
	$(INSTALL) -m644 $(bootdir)/ppcboot/ppcboot $(bootprefix)
#	$(MAKE) -C $(bootdir)/ppcboot distclean
	touch $@

.linuxkernel: .bootstrap .linuxdir .ppcboot
	$(MAKE) -C linux-2.4.20 zImage modules \
		ARCH=ppc \
		CROSS_COMPILE=$(target)-
	$(MAKE) -C linux-2.4.20 modules_install \
		ARCH=ppc \
		CROSS_COMPILE=$(target)- \
		DEPMOD=/bin/true \
		INSTALL_MOD_PATH=$(targetprefix)
	$(hostprefix)/bin/mkimage \
		-n 'dbox2' -A ppc -O linux -T kernel -C gzip \
		-a 00000000 -e 00000000 \
		-d linux-2.4.20/arch/ppc/boot/images/vmlinux.gz \
		$(bootprefix)/kernel-cdk;

	$(INSTALL) -m644 linux-2.4.20/vmlinux $(targetprefix)/boot/vmlinux-$(KERNELVERSION)
	$(INSTALL) -m644 linux-2.4.20/System.map $(targetprefix)/boot/System.map-$(KERNELVERSION)

#	$(MAKE) -C linux-2.4.20 clean
	touch $@

.driver: .bootstrap .linuxkernel
	$(MAKE) -C $(driverdir) \
		KERNEL_LOCATION=$(buildprefix)/linux \
		CROSS_COMPILE=$(target)- \
		HARDWARE=$(HARDWARERULESET)
	$(MAKE) -C $(driverdir) \
		KERNEL_LOCATION=$(buildprefix)/linux \
		BIN_DEST=$(targetprefix)/bin \
		INSTALL_MOD_PATH=$(targetprefix) \
		HARDWARE=$(HARDWARERULESET) \
		install

#	$(MAKE) -C $(driverdir) distclean \
#		KERNEL_LOCATION=$(buildprefix)/linux
	touch $@

driver-clean:
	$(MAKE) -C $(driverdir) \
		KERNEL_LOCATION=$(buildprefix)/linux \
		distclean
	-rm .driver

#######################
#
#   own applications
#

apps: .dvbsnoop .enigma .lcars .lcdmenu .neutrino .plugins .stream

# dvb/svbsnoop

$(appsdir)/dvb/dvbsnoop/Makefile: .bootstrap
	cd $(appsdir)/dvb/dvbsnoop && $(CONFIGURE) CPPFLAGS="$(CPPFLAGS) -I$(driverdir)/include"

.dvbsnoop: $(appsdir)/dvb/dvbsnoop/Makefile
	$(MAKE) -C $(appsdir)/dvb/dvbsnoop all install
	touch $@

$(appsdir)/dvb/zapit/Makefile: .bootstrap .misc_libs
	cd $(appsdir)/dvb/zapit && $(CONFIGURE) --with-neutrino-source=$(appsdir)/tuxbox/neutrino

.zapit: $(appsdir)/dvb/zapit/Makefile
	$(MAKE) -C $(appsdir)/dvb/zapit all install
	touch $@

# dvb/tools

$(appsdir)/dvb/tools/Makefile: .bootstrap .misc_libs
	cd $(appsdir)/dvb/tools && $(CONFIGURE)

.stream: $(appsdir)/dvb/tools/Makefile .busybox
	$(MAKE) -C $(appsdir)/dvb/tools/stream all install
	touch $@

# misc/libs

$(appsdir)/misc/libs/Makefile: .bootstrap .libz
	cd $(appsdir)/misc/libs && $(CONFIGURE)

.misc_libs: $(appsdir)/misc/libs/Makefile
	$(MAKE) -C $(appsdir)/misc/libs all install
	touch $@

# tuxbox/enigma

$(appsdir)/tuxbox/enigma/Makefile: .bootstrap .libfreetype .libfribidi .libmad .libid3tag .libpng .libsigc .libtuxbox .misc_libs .plugins
	cd $(appsdir)/tuxbox/enigma && $(CONFIGURE)

.enigma: $(appsdir)/tuxbox/enigma/Makefile .tuxbox_tools
	$(MAKE) -C $(appsdir)/tuxbox/enigma all install
	touch $@

# tuxbox/lcars

$(appsdir)/tuxbox/lcars/Makefile: .bootstrap .libcurl .libfreetype .plugins core
	cd $(appsdir)/tuxbox/lcars && $(CONFIGURE)

.lcars: $(appsdir)/tuxbox/lcars/Makefile
	$(MAKE) -C $(appsdir)/tuxbox/lcars all install
	touch $@

# tuxbox/lcd

$(appsdir)/tuxbox/lcd/Makefile: .bootstrap .libfreetype .misc_libs .tuxbox_libs
	cd $(appsdir)/tuxbox/lcd && $(CONFIGURE)

.lcdmenu: $(appsdir)/tuxbox/lcd/Makefile
	$(MAKE) -C $(appsdir)/tuxbox/lcd/lcdmenu all install
	touch $@

# tuxbox/libs

$(appsdir)/tuxbox/libs/Makefile: .bootstrap .libfreetype
	cd $(appsdir)/tuxbox/libs && $(CONFIGURE)

.tuxbox_libs: $(appsdir)/tuxbox/libs/Makefile
	$(MAKE) -C $(appsdir)/tuxbox/libs all install
	touch $@

# tuxbox/libtuxbox

$(appsdir)/tuxbox/libtuxbox/config.status: .bootstrap
	cd $(appsdir)/tuxbox/libtuxbox && $(CONFIGURE)

.libtuxbox: $(appsdir)/tuxbox/libtuxbox/config.status
	$(MAKE) -C $(appsdir)/tuxbox/libtuxbox all install
	touch $@

# tuxbox/neutrino

$(appsdir)/tuxbox/neutrino/Makefile: .bootstrap .libboost .libcurl .libfreetype .libtuxbox .misc_libs .plugins .tuxbox_libs .zapit
	cd $(appsdir)/tuxbox/neutrino && $(CONFIGURE)

.neutrino: $(appsdir)/tuxbox/neutrino/Makefile
	$(MAKE) -C $(appsdir)/tuxbox/neutrino all install
	touch $@

# tuxbox/plugins

$(appsdir)/tuxbox/plugins/Makefile: .bootstrap .libcurl .libpng
	cd $(appsdir)/tuxbox/plugins && $(CONFIGURE)

.plugins: $(appsdir)/tuxbox/plugins/Makefile
	$(MAKE) -C $(appsdir)/tuxbox/plugins all install
	touch $@

# tuxbox/tools

$(appsdir)/tuxbox/tools/Makefile: .bootstrap .libtuxbox
	cd $(appsdir)/tuxbox/tools && $(CONFIGURE)

.tuxbox_tools: $(appsdir)/tuxbox/tools/Makefile
	$(MAKE) -C $(appsdir)/tuxbox/tools/misc all install
	touch $@

#######################
#
#   flash
#

rebuild-flash:
	-rm -rf $(flashprefix)/root
	-rm -f $(flashprefix)/.flash
	$(MAKE) flash-lib

$(flashprefix)/.flash: .busybox .driver .modutils
	-rm -rf $(flashprefix)/root
	$(INSTALL) -d $(flashprefix)/root/bin
	$(INSTALL) -d $(flashprefix)/root/dev
	$(INSTALL) -d $(flashprefix)/root/lib/tuxbox
	$(INSTALL) -d $(flashprefix)/root/proc
	$(INSTALL) -d $(flashprefix)/root/sbin
	$(INSTALL) -d $(flashprefix)/root/var/tuxbox/config
#	$(INSTALL) -d $(flashprefix)/root/mnt
#	$(INSTALL) -d $(flashprefix)/root/share/tuxbox/image
#	$(INSTALL) -d $(flashprefix)/root/var/tuxbox/ucodes
	$(INSTALL) -d $(flashprefix)/root/tmp
	$(MAKE) -C etc install targetprefix=$(flashprefix)/root

	$(INSTALL) $(targetprefix)/bin/busybox $(flashprefix)/root/bin
	for i in `find $(targetprefix)/bin/ -lname "*busybox"` ; do cp -a $$i $(flashprefix)/root/bin/ ; done
	for i in `find $(targetprefix)/sbin/ -lname "*busybox"` ; do cp -a $$i $(flashprefix)/root/sbin/ ; done
	for i in insmod lsmod rmmod ; do ln -sf ../bin/busybox $(flashprefix)/root/sbin/$$i ; done
	ln -sf telnetd $(flashprefix)/root/sbin/in.telnetd
	ln -sf busybox $(flashprefix)/root/bin/ps

#	$(INSTALL) $(targetprefix)/sbin/insmod $(flashprefix)/root/sbin
#	$(INSTALL) $(targetprefix)/sbin/depmod $(flashprefix)/root/sbin
#	for i in `find $(targetprefix)/sbin/ -lname "*insmod"` ; do cp -pa $$i $(flashprefix)/root/sbin/ ; done

	$(INSTALL) -d $(flashprefix)/root/lib/modules/$(KERNELVERSION)
	cp -a $(targetprefix)/lib/modules/$(KERNELVERSION)/kernel $(targetprefix)/lib/modules/$(KERNELVERSION)/misc \
		$(flashprefix)/root/lib/modules/$(KERNELVERSION)
	cp -a $(bootprefix)/kernel-cdk $(flashprefix)/root/vmlinuz
	@touch $@

flash-ftpd: $(flashprefix)/.part_ftpd

$(flashprefix)/.part_ftpd: $(flashprefix)/.flash .ftpd
	$(INSTALL) -m644 $(targetprefix)/etc/vsftpd.conf $(flashprefix)/root/etc
	$(INSTALL) $(targetprefix)/sbin/in.ftpd $(flashprefix)/root/sbin
	$(INSTALL) -d $(flashprefix)/root/share/empty
	@touch $@

flash-ssh: $(flashprefix)/.part_ssh

$(flashprefix)/.part_ssh: $(flashprefix)/.flash .ssh
	$(INSTALL) -d $(flashprefix)/root/etc/ssh
	cp -ap $(targetprefix)/etc/ssh/ssh_config $(flashprefix)/root/etc/ssh
	$(INSTALL) $(targetprefix)/bin/ssh $(targetprefix)/bin/scp \
		$(targetprefix)/bin/sftp $(flashprefix)/root/bin
	@touch $@

flash-sshd: $(flashprefix)/.part_sshd

$(flashprefix)/.part_sshd: $(flashprefix)/.flash .ssh
	$(INSTALL) -d $(flashprefix)/root/etc/ssh
	$(INSTALL) -d $(flashprefix)/root/libexec
	$(INSTALL) -d $(flashprefix)/root/share/empty
	$(INSTALL) $(targetprefix)/bin/ssh-keygen $(targetprefix)/bin/scp \
		$(flashprefix)/root/bin
	cp -ap $(targetprefix)/etc/ssh/* $(flashprefix)/root/etc/ssh
	$(INSTALL) $(targetprefix)/libexec/sftp-server $(flashprefix)/root/libexec
	$(INSTALL) $(targetprefix)/sbin/sshd $(flashprefix)/root/sbin
	@touch $@

flash-dvb-tools: $(flashprefix)/.part_dvb_tools

$(flashprefix)/.part_dvb_tools: $(flashprefix)/.flash .stream
	$(INSTALL) $(targetprefix)/sbin/streampes $(flashprefix)/root/sbin
	$(INSTALL) $(targetprefix)/sbin/streamsec $(flashprefix)/root/sbin
	$(INSTALL) $(targetprefix)/sbin/streamts $(flashprefix)/root/sbin
	@touch $@

flash-neutrino: $(flashprefix)/.part_neutrino

$(flashprefix)/.part_neutrino: $(flashprefix)/.flash .neutrino
	$(INSTALL) $(targetprefix)/bin/controld $(targetprefix)/bin/lcdd $(targetprefix)/bin/neutrino \
		$(targetprefix)/bin/nhttpd $(targetprefix)/bin/timerd \
		$(flashprefix)/root/bin
	cp -a $(targetprefix)/share/tuxbox/neutrino $(targetprefix)/share/tuxbox/lcdd \
		$(flashprefix)/root/share/tuxbox

	$(INSTALL) $(targetprefix)/bin/sectionsd $(flashprefix)/root/bin

	$(INSTALL) $(targetprefix)/bin/zapit $(flashprefix)/root/bin
	cp -a $(targetprefix)/var/tuxbox/config/zapit $(flashprefix)/root/var/tuxbox/config

	$(INSTALL) -d $(flashprefix)/root/share/fonts
	cp -a $(targetprefix)/share/fonts/micron*.ttf $(flashprefix)/root/share/fonts

	@touch $@

flash-enigma: $(flashprefix)/.part_enigma

$(flashprefix)/.part_enigma: $(flashprefix)/.flash .enigma
	$(INSTALL) $(targetprefix)/bin/enigma $(flashprefix)/root/bin

	$(INSTALL) -d $(flashprefix)/root/share/fonts
	for i in blue*.ttf md_khmurabi_10.ttf pakenham.ttf unmrs.pfa ; do \
		$(INSTALL) -m644 $(targetprefix)/share/fonts/$$i $(flashprefix)/root/share/fonts ; done

	$(INSTALL) -d $(flashprefix)/root/share/locale
	for i in `find $(targetprefix)/share/locale -name "tuxbox-enigma.mo"` ; \
		do cp -pa $${i%%/LC_MESSAGES/*} $(flashprefix)/root/share/locale ; done
	rm -rf $(flashprefix)/root/share/locale/LC_MESSAGES
	find $(flashprefix)/root/share/locale -name libc.mo -o -name nano.mo | xargs rm -f

	$(INSTALL) -d $(flashprefix)/root/share/tuxbox/enigma
	cp -pa $(targetprefix)/share/tuxbox/enigma/* $(flashprefix)/root/share/tuxbox/enigma
	for i in cables.xml satellites.xml ; do \
		ln -sf /etc/$$i $(flashprefix)/root/share/tuxbox ; done

	$(INSTALL) -d $(flashprefix)/root/share/zoneinfo
	$(INSTALL) -m644 $(targetprefix)/share/zoneinfo/* $(flashprefix)/root/share/zoneinfo
	rm -f $(flashprefix)/root/share/zoneinfo/*tab

	$(INSTALL) -d $(flashprefix)/root/var/tuxbox/config/enigma
	for i in fonts resources pictures skins ; \
		do $(INSTALL) -d $(flashprefix)/root/var/tuxbox/config/enigma/$$i ; done

	$(INSTALL) -m644 $(targetprefix)/etc/timezone.xml $(flashprefix)/root/etc
	ln -sf /var/etc/localtime $(flashprefix)/root/etc

#	$(INSTALL) $(targetprefix)/var/tuxbox/config/*.lirc $(flashprefix)/root/var/tuxbox/config
	$(INSTALL) $(targetprefix)/sbin/hotplug $(flashprefix)/root/sbin
	for i in hdd root/platform/kernel var/bin var/etc/ppp var/log var/mnt/nfs var/mnt/usb var/run ; do \
		$(INSTALL) -d $(flashprefix)/root/$$i ; done
	mv $(flashprefix)/root/etc/cables.xml $(flashprefix)/root/share/tuxbox
	mv $(flashprefix)/root/etc/satellites.xml $(flashprefix)/root/share/tuxbox
	ln -sf /var/mnt $(flashprefix)/root
	ln -sf /tmp $(flashprefix)/root/var
	for i in group hosts passwd ; do \
		mv $(flashprefix)/root/etc/$$i $(flashprefix)/root/var/etc ; \
		ln -sf ../var/etc/$$i $(flashprefix)/root/etc ; done
	ln -sf /var/etc/smb.conf $(flashprefix)/root/etc
	ln -sf /var/etc/ppp/resolv.conf $(flashprefix)/root/etc
	@echo "none		/proc/bus/usb	usbdevfs	defaults	0 0" >> $(flashprefix)/root/etc/fstab
	@touch $@

flash-lcars: $(flashprefix)/.part_lcars

$(flashprefix)/.part_lcars: $(flashprefix)/.flash .lcars
	$(INSTALL) -d $(flashprefix)/root/share/fonts
	$(INSTALL) $(targetprefix)/bin/lcars $(flashprefix)/root/bin
	cp -pa $(targetprefix)/share/fonts/ds9.ttf $(flashprefix)/root/share/fonts
	cp -pa $(targetprefix)/share/tuxbox/lcars $(flashprefix)/root/share/tuxbox
	cp -pa $(targetprefix)/var/tuxbox/config/lcars $(flashprefix)/root/var/tuxbox/config
	@touch $@

flash-plugins: $(flashprefix)/.part_plugins

$(flashprefix)/.part_plugins: $(flashprefix)/.flash .plugins
	$(INSTALL) -d $(flashprefix)/root/lib/tuxbox/plugins
	$(INSTALL) $(targetprefix)/lib/tuxbox/plugins/* $(flashprefix)/root/lib/tuxbox/plugins/
	$(INSTALL) -d $(flashprefix)/root/share/fonts
	$(INSTALL) -m644 $(targetprefix)/share/fonts/tuxtxt?.fon $(flashprefix)/root/share/fonts/
	$(INSTALL) -d $(flashprefix)/root/var/tuxbox/config/tuxtxt
	$(INSTALL) $(targetprefix)/var/tuxbox/config/tuxtxt/tuxtxt.conf $(flashprefix)/root/var/tuxbox/config/tuxtxt/
	$(INSTALL) $(targetprefix)/var/tuxbox/config/games.cfg $(flashprefix)/root/var/tuxbox/config/
	@touch $@

flash-lcdmenu: $(flashprefix)/.part_lcdmenu

$(flashprefix)/.part_lcdmenu: $(flashprefix)/.flash .lcdmenu
	$(INSTALL) -d $(flashprefix)/root/share/fonts
	$(INSTALL) $(targetprefix)/bin/lcdmenu $(flashprefix)/root/bin
	cp -pa $(targetprefix)/var/tuxbox/config/lcdmenu.conf $(flashprefix)/root/var/tuxbox/config
	cp -pa $(targetprefix)/share/fonts/micron.ttf $(flashprefix)/root/share/fonts
	@touch $@

flash-lib: $(flashprefix)/.lib

$(flashprefix)/.lib: $(flashprefix)/.flash $(shell ls -1 $(flashprefix)/.part_*)
	@find $(flashprefix)/root/lib -maxdepth 1 -type f -o -type l | xargs rm -f
	@cp -a $(targetprefix)/lib/libnss_dns-?.*.so $(flashprefix)/root/lib
	@cp -a $(targetprefix)/lib/libnss_files-?.*.so $(flashprefix)/root/lib
	@$(PYTHON) mklibs.py --target $(target) --ldlib ld.so.1 --libc-extras-dir $(targetprefix)/lib/libc_pic \
		-d $(flashprefix)/root/lib \
		-D -L $(targetprefix)/lib \
		--root $(flashprefix)/root \
		`find $(flashprefix)/root/bin/ -path "*bin/?*"` \
		`find $(flashprefix)/root/lib/ -name "libnss_*"` \
		`find $(flashprefix)/root/lib/tuxbox/ -name "*.so" -type f` \
		`find $(flashprefix)/root/sbin/ -path "*sbin/?*"`
	$(target)-strip --remove-section=.comment --remove-section=.note \
		`find $(flashprefix)/root/bin/ -path "*bin/?*"` 2>/dev/null || /bin/true
	$(target)-strip --remove-section=.comment --remove-section=.note --strip-unneeded \
		`find $(flashprefix)/root/lib/tuxbox -name "*.so"` 2>/dev/null || /bin/true
	@chmod u+rwX,go+rX-w -R $(flashprefix)/root/
	@touch $@

flash-compress: $(flashprefix)/root-cramfs.img $(flashprefix)/var-jffs2.img

flash-compress-complete-jffs2: $(flashprefix)/root-jffs2.img

$(flashprefix)/root-cramfs.img: $(flashprefix)/.lib
	@cp -a $(flashprefix)/root $(flashprefix)/temp

	@$(INSTALL) -d $(flashprefix)/temp/var/etc/init.d
	@echo "/dev/mtdblock/3	/var	jffs2	defaults	0 0" >> $(flashprefix)/temp/etc/fstab

	@mv $(flashprefix)/temp/etc/init.d/start $(flashprefix)/temp/var/etc/init.d
	@ln -sf /var/etc/init.d/start $(flashprefix)/temp/etc/init.d/start

	@if [ -d $(flashprefix)/temp/etc/network ] ; then \
		ln -sf /tmp/ifstate $(flashprefix)/temp/etc/network/ifstate ; \
		mv $(flashprefix)/temp/etc/network $(flashprefix)/temp/var/etc/network ; \
		ln -sf /var/etc/network $(flashprefix)/temp/etc/network ; \
	fi

	@if [ -d $(flashprefix)/temp/etc/ssh ] ; then \
		mv $(flashprefix)/temp/etc/ssh $(flashprefix)/temp/var/etc/ssh ; \
		ln -sf /var/etc/ssh $(flashprefix)/temp/etc/ssh ; \
	fi

	@mv $(flashprefix)/temp/var $(flashprefix)/temp/share/tuxbox/image
	@$(INSTALL) -d $(flashprefix)/temp/var

	@$(FAKEROOT) $(MKCRAMFS) -n "TuxBox-`date +%Y%m%d`" $(flashprefix)/temp/ $(flashprefix)/root-cramfs.img
	@rm -rf $(flashprefix)/temp/

$(flashprefix)/var-jffs2.img: $(flashprefix)/.lib
	@cp -a $(flashprefix)/root/var $(flashprefix)/temp
	@$(FAKEROOT) $(MKJFFS2) -b -e 131072 -p -o $(flashprefix)/var-jffs2.img -r $(flashprefix)/temp/
	@rm -rf $(flashprefix)/temp/

$(flashprefix)/mix-cramfs-jffs2.img: $(flashprefix)/ppcboot-flfs.img $(flashprefix)/root-cramfs.img $(flashprefix)/var-jffs2.img
	@rm -f  $(flashprefix)/mix.img
	$(hostappsdir)/flash/flashmanage.pl -i $(flashprefix)/mix-cramfs-jffs2.img -o build \
		--part ppcboot=$(flashprefix)/ppcboot-flfs.img \
		--part root=$(flashprefix)/root-cramfs.img \
		--part var=$(flashprefix)/var-jffs2.img

$(flashprefix)/root-jffs2.img: $(flashprefix)/.lib
	@$(FAKEROOT) $(MKJFFS2) -b -e 131072 -o $(flashprefix)/root-jffs2.img -r $(flashprefix)/root/

#######################
#
#   internal
#

clean-local:
	-$(MAKE) -C etc clean
	-$(MAKE) -C $(appsdir) clean
	-$(MAKE) -C $(bootdir)/ppcboot distclean
	-$(MAKE) -C $(driverdir) clean \
		KERNEL_LOCATION=$(buildprefix)/linux
	-rm -f linux
	-rm -rf build
	-rm -rf linux-2.4.20 binutils-2.13.90.0.16 gcc-3.2.3 glibc-2.2.5 gcc-3.2.3 uClibc-0.9.11 busybox-1.00-pre8 vsftpd-1.0.1 modutils-2.4.21 portmap-5 procps-010114 watchdog-5.2.orig boost_1_29_0 commoncpp2-0.99.7 openssl-0.9.7a curl-7.10.1 db-2.7.7 libdvbpsi-0.1.2 libffi-1.20 freetype-2.0.9 fribidi-0.10.4 gmp-4.1.2 libmad-0.15.0b libid3tag-0.15.0b ncurses-5.3 Libnet-1.0.2a libnids-1.16 jpeg-6b libpcap-0.7.1 libpng-1.2.5 popt-1.6.4 readline-4.3 SDL-1.2.4 libsigc++-1.2.5 libungif-4.1.0 libxml2-2.4.22 xmlparse-0.9.3 xmlwrapp-0.2.1 zlib-1.1.4 console-data-1999.08.29 console-tools-0.2.3 dsniff-2.4 fbset-2.1 lirc-0.6.6 lsof_4.64_src pump-0.8.11 openssh-3.5p1 tcpdump-3.7.1 xrc-0.6.3 thttpd-2.23beta1 gdb-6.0 insight-6.0 ltrace-0.3.26 strace-4.4 nano-1.0.7 kaffe-1.0.6 kaffe-1.0.6 gnuboy-1.0.3 scummvm sdldoom-1.10 dvbdate dvbstream dvbtext-0.1 dvbtune vls-0.4.0

distclean-local:
	-$(MAKE) -C etc distclean
	-$(MAKE) -C $(appsdir) distclean
	-rm Makefile-archive
	-rm .bootstrap
	-rm .directories .linuxdir .binutils .glibc .gcc .rpcgen
	-rm .etc .busybox .ftpd .modutils .procps .watchdog
	-rm .libboost .libcommoncplusplus .libcrypto .libcurl .libdb2 .libdvbpsi .libffi .libfreetype
	-rm .libncurses .libfribidi .libjpeg .libmad .libid3tag .libnet .libnids .libpcap .libpng .libpopt
	-rm .libreadline .libsdl .libsigc .libungif .libxml2 .libxmlwrapp .libz
	-rm .cabextract
	-rm .gdb .gdb-remote .insight .ksymoops .ltrace .strace .nano
	-rm .kaffeh .kaffe
	-rm .gnuboy .scummvm .sdldoom
	-rm .ppcboot .linuxkernel .driver
	-rm .dvbsnoop .enigma .lcars .lcdmenu .neutrino .stream .zapit
	-rm .console_data .console_tools .dsniff .fbset .lirc .pump .ssh .tcpdump .xrc .thttpd
	-rm .dvbdate .dvbstream .dvbtext .dvbtune .vls
	-rm .misc_libs .misc_tools .plugins .libtuxbox .tuxbox_libs .tuxbox_tools
	-rm -rf $(targetprefix)
	-rm -rf $(hostprefix)
	-rm -rf $(flashprefix)


download: Archive/linux-2.4.20.tar.bz2 Archive/linux-dbox2-2.4.20-2.diff.bz2 Archive/binutils-2.13.90.0.16.tar.bz2 Archive/gcc-core-3.2.3.tar.gz Archive/gcc-g++-3.2.3.tar.gz Archive/glibc-2.2.5.tar.bz2 Archive/glibc-linuxthreads-2.2.5.tar.bz2 Archive/uClibc-0.9.11.tar.bz2 Archive/watchdog_5.2.orig.tar.gz Archive/busybox-1.00-pre8.tar.bz2 Archive/modutils-2.4.21.tar.bz2 Archive/netkit-base-0.17.tar.gz Archive/netkit-rsh-0.17.tar.gz Archive/netkit-telnet-0.17.tar.gz Archive/portmap-5.tar.bz2 Archive/procps-010114.tar.gz Archive/vsftpd-1.0.1.tar.gz Archive/openssl-0.9.7a.tar.gz Archive/curl-7.10.1.tar.bz2 Archive/freetype-2.0.9.tar.bz2 Archive/ncurses-5.3.tar.gz Archive/jpegsrc.v6b.tar.gz Archive/libpng-1.2.5.tar.bz2 Archive/popt-1.6.4.tar.gz Archive/libxml2-2.4.22.tar.bz2 Archive/zlib-1.1.4.tar.bz2 Archive/libffi-1.20.tar.gz Archive/SDL-1.2.4.tar.gz Archive/readline-4.3.tar.gz Archive/libsigc++-1.2.5.tar.gz Archive/libpcap-0.7.1.tar.gz Archive/xmlwrapp-0.2.1.tar.gz Archive/commoncpp2-0.99.7.tar.gz Archive/libdvbpsi-0.1.2.tar.gz Archive/xmlparse_0.9.3.tar.bz2 Archive/libnet-1.0.2a.tar.gz Archive/libnids-1.16.tar.gz Archive/db-2.7.7.tar.gz Archive/boost_1_29_0.tar.gz Archive/fribidi-0.10.4.tar.bz2 Archive/gmp-4.1.2.tar.gz Archive/libungif-4.1.0.tar.gz Archive/console-data_1999.08.29.orig.tar.gz Archive/console-tools-0.2.3.tar.gz Archive/dsniff-2.4b1.tar.gz Archive/fbset-2.1.tar.gz Archive/lirc-0.6.6.tar.bz2 Archive/pump-0.8.11.tar.bz2 Archive/openssh-3.5p1.tar.gz Archive/tcpdump-3.7.1.tar.gz Archive/xrc-0.6.3.tar.gz Archive/thttpd-2.23beta1.tar.gz Archive/lsof_4.64_src.tar.bz2 Archive/gdb-6.0.tar.bz2 Archive/insight-6.0.tar.bz2 Archive/ltrace_0.3.26.tar.gz Archive/strace_4.4-1.tar.gz Archive/nano-1.0.7.tar.gz Archive/kaffe-1.0.6.tar.gz Archive/gnuboy-1.0.3.tar.gz Archive/libmad-0.15.0b.tar.gz Archive/libid3tag-0.15.0b.tar.gz Archive/scummvm-20020717.tar.bz2 Archive/sdldoom-1.10.tar.gz Archive/dvbdate-20020918.tar.bz2 Archive/dvbstream-20020918.tar.bz2 Archive/dvbtext-0.1.tar.gz Archive/dvbtune-20020918.tar.bz2 Archive/vls-0.4.0.tar.bz2

Archive/linux-2.4.20.tar.bz2:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.de.kernel.org/pub/linux/kernel/v2.4/linux-2.4.20.tar.bz2 || \
	wget -c --passive-ftp -P Archive ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-2.4.20.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/linux-2.4.20.tar.bz2

Archive/linux-dbox2-2.4.20-2.diff.bz2:
	false || \
	wget -c -P Archive http://download.berlios.de/tuxbox/linux-dbox2-2.4.20-2.diff.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/linux-dbox2-2.4.20-2.diff.bz2

Archive/binutils-2.13.90.0.16.tar.bz2:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.de.kernel.org/pub/linux/devel/binutils/binutils-2.13.90.0.16.tar.bz2 || \
	wget -c --passive-ftp -P Archive ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-2.13.90.0.16.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/binutils-2.13.90.0.16.tar.bz2

Archive/gcc-core-3.2.3.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://$(gnuserver)/gcc/gcc-3.2.3/gcc-core-3.2.3.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/gcc-core-3.2.3.tar.gz

Archive/gcc-g++-3.2.3.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://$(gnuserver)/gcc/gcc-3.2.3/gcc-g++-3.2.3.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/gcc-g++-3.2.3.tar.gz

Archive/glibc-2.2.5.tar.bz2:
	false || \
	wget -c --passive-ftp -P Archive ftp://$(gnuserver)/glibc/glibc-2.2.5.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/glibc-2.2.5.tar.bz2

Archive/glibc-linuxthreads-2.2.5.tar.bz2:
	false || \
	wget -c --passive-ftp -P Archive ftp://$(gnuserver)/glibc/glibc-linuxthreads-2.2.5.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/glibc-linuxthreads-2.2.5.tar.bz2

Archive/uClibc-0.9.11.tar.bz2:
	false || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/uClibc-0.9.11.tar.bz2

Archive/watchdog_5.2.orig.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.debian.org/debian/pool/main/w/watchdog/watchdog_5.2.orig.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/watchdog_5.2.orig.tar.gz

Archive/busybox-1.00-pre8.tar.bz2:
	false || \
	wget -c -P Archive http://www.busybox.net/downloads/busybox-1.00-pre8.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/busybox-1.00-pre8.tar.bz2

Archive/modutils-2.4.21.tar.bz2:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.de.kernel.org/pub/linux/utils/kernel/modutils/v2.4/modutils-2.4.21.tar.bz2 || \
	wget -c --passive-ftp -P Archive ftp://ftp.kernel.org/pub/linux/kernel/v2.4/modutils-2.4.21.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/modutils-2.4.21.tar.bz2

Archive/netkit-base-0.17.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.uk.linux.org/pub/linux/Networking/base/netkit-base-0.17.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/netkit-base-0.17.tar.gz

Archive/netkit-rsh-0.17.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-rsh-0.17.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/netkit-rsh-0.17.tar.gz

Archive/netkit-telnet-0.17.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-telnet-0.17.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/netkit-telnet-0.17.tar.gz

Archive/portmap-5.tar.bz2:
	false || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/portmap-5.tar.bz2

Archive/procps-010114.tar.gz:
	false || \
	wget -c -P Archive http://www.cs.uml.edu/~acahalan/procps//procps-010114.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/procps-010114.tar.gz

Archive/vsftpd-1.0.1.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://vsftpd.beasts.org/users/cevans//vsftpd-1.0.1.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/vsftpd-1.0.1.tar.gz

Archive/openssl-0.9.7a.tar.gz:
	false || \
	wget -c -P Archive http://www.openssl.org/source/openssl-0.9.7a.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/openssl-0.9.7a.tar.gz

Archive/curl-7.10.1.tar.bz2:
	false || \
	wget -c -P Archive http://curl.haxx.se/download/curl-7.10.1.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/curl-7.10.1.tar.bz2

Archive/freetype-2.0.9.tar.bz2:
	false || \
	wget -c -P Archive http://telia.dl.sourceforge.net/sourceforge/freetype/freetype-2.0.9.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/freetype-2.0.9.tar.bz2

Archive/ncurses-5.3.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.gnu.org/gnu/ncurses/ncurses-5.3.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/ncurses-5.3.tar.gz

Archive/jpegsrc.v6b.tar.gz:
	false || \
	wget -c -P Archive http://www.xfig.org/jpeg/jpegsrc.v6b.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/jpegsrc.v6b.tar.gz

Archive/libpng-1.2.5.tar.bz2:
	false || \
	wget -c --passive-ftp -P Archive ftp://swrinde.nde.swri.edu/pub/png/src/libpng-1.2.5.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/libpng-1.2.5.tar.bz2

Archive/popt-1.6.4.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.rpm.org/pub/rpm/dist/rpm-4.0.x/popt-1.6.4.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/popt-1.6.4.tar.gz

Archive/libxml2-2.4.22.tar.bz2:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.gnome.org/pub/GNOME/sources/libxml2/2.4/libxml2-2.4.22.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/libxml2-2.4.22.tar.bz2

Archive/zlib-1.1.4.tar.bz2:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.info-zip.org/pub/infozip/zlib/zlib-1.1.4.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/zlib-1.1.4.tar.bz2

Archive/libffi-1.20.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://sourceware.cygnus.com/pub/libffi/libffi-1.20.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/libffi-1.20.tar.gz

Archive/SDL-1.2.4.tar.gz:
	false || \
	wget -c -P Archive http://www.libsdl.org/release/SDL-1.2.4.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/SDL-1.2.4.tar.gz

Archive/readline-4.3.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.gnu.org/gnu/readline/readline-4.3.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/readline-4.3.tar.gz

Archive/libsigc++-1.2.5.tar.gz:
	false || \
	wget -c -P Archive http://switch.dl.sourceforge.net/sourceforge/libsigc/libsigc++-1.2.5.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/libsigc++-1.2.5.tar.gz

Archive/libpcap-0.7.1.tar.gz:
	false || \
	wget -c -P Archive http://www.tcpdump.org/release/libpcap-0.7.1.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/libpcap-0.7.1.tar.gz

Archive/xmlwrapp-0.2.1.tar.gz:
	false || \
	wget -c -P Archive http://pmade.org/pjones/software/xmlwrapp/download/xmlwrapp-0.2.1.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/xmlwrapp-0.2.1.tar.gz

Archive/commoncpp2-0.99.7.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.gnu.org/gnu/commonc++/commoncpp2-0.99.7.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/commoncpp2-0.99.7.tar.gz

Archive/libdvbpsi-0.1.2.tar.gz:
	false || \
	wget -c -P Archive http://www.videolan.org/pub/videolan/libdvbpsi/0.1.2/libdvbpsi-0.1.2.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/libdvbpsi-0.1.2.tar.gz

Archive/xmlparse_0.9.3.tar.bz2:
	false || \
	wget -c -P Archive http://private.addcom.de/morus_walter/xmlparse/xmlparse_0.9.3.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/xmlparse_0.9.3.tar.bz2

Archive/libnet-1.0.2a.tar.gz:
	false || \
	wget -c -P Archive http://www.packetfactory.net/libnet/dist/deprecated/libnet-1.0.2a.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/libnet-1.0.2a.tar.gz

Archive/libnids-1.16.tar.gz:
	false || \
	wget -c -P Archive http://www.packetfactory.net/Projects/Libnids/dist/libnids-1.16.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/libnids-1.16.tar.gz

Archive/db-2.7.7.tar.gz:
	false || \
	wget -c -P Archive http://www.sleepycat.com/update/snapshot/db-2.7.7.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/db-2.7.7.tar.gz

Archive/boost_1_29_0.tar.gz:
	false || \
	wget -c -P Archive http://belnet.dl.sourceforge.net/sourceforge/boost/boost_1_29_0.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/boost_1_29_0.tar.gz

Archive/fribidi-0.10.4.tar.bz2:
	false || \
	wget -c -P Archive http://belnet.dl.sourceforge.net/sourceforge/fribidi/fribidi-0.10.4.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/fribidi-0.10.4.tar.bz2

Archive/gmp-4.1.2.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://mirrors.kernel.org/gnu/gmp//gmp-4.1.2.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/gmp-4.1.2.tar.gz

Archive/libungif-4.1.0.tar.gz:
	false || \
	wget -c -P Archive http://www.ibiblio.org/pub/Linux/libs/graphics/libungif-4.1.0.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/libungif-4.1.0.tar.gz

Archive/console-data_1999.08.29.orig.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.debian.org/debian/pool/main/c/console-data/console-data_1999.08.29.orig.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/console-data_1999.08.29.orig.tar.gz

Archive/console-tools-0.2.3.tar.gz:
	false || \
	wget -c -P Archive http://switch.dl.sourceforge.net/sourceforge/lct/console-tools-0.2.3.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/console-tools-0.2.3.tar.gz

Archive/dsniff-2.4b1.tar.gz:
	false || \
	wget -c -P Archive http://monkey.org/~dugsong/dsniff/beta/dsniff-2.4b1.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/dsniff-2.4b1.tar.gz

Archive/fbset-2.1.tar.gz:
	false || \
	wget -c -P Archive http://home.tvd.be/cr26864/Linux/fbdev/fbset-2.1.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/fbset-2.1.tar.gz

Archive/lirc-0.6.6.tar.bz2:
	false || \
	wget -c -P Archive http://mars.wiwi.uni-halle.de/lirc/software//lirc-0.6.6.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/lirc-0.6.6.tar.bz2

Archive/pump-0.8.11.tar.bz2:
	false || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/pump-0.8.11.tar.bz2

Archive/openssh-3.5p1.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.de.openbsd.org/pub/unix/OpenBSD/OpenSSH/portable/openssh-3.5p1.tar.gz || \
	wget -c --passive-ftp -P Archive ftp://ftp.freenet.de/pub/ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-3.5p1.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/openssh-3.5p1.tar.gz

Archive/tcpdump-3.7.1.tar.gz:
	false || \
	wget -c -P Archive http://www.tcpdump.org/release/tcpdump-3.7.1.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/tcpdump-3.7.1.tar.gz

Archive/xrc-0.6.3.tar.gz:
	false || \
	wget -c -P Archive http://switch.dl.sourceforge.net/sourceforge/lirc/xrc-0.6.3.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/xrc-0.6.3.tar.gz

Archive/thttpd-2.23beta1.tar.gz:
	false || \
	wget -c -P Archive http://www.acme.com/software/thttpd/thttpd-2.23beta1.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/thttpd-2.23beta1.tar.gz

Archive/lsof_4.64_src.tar.bz2:
	false || \
	wget -c -P Archive http://www.dreambook.unas.cz/upload/lsof_4.64_src.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/lsof_4.64_src.tar.bz2

Archive/gdb-6.0.tar.bz2:
	false || \
	wget -c --passive-ftp -P Archive ftp://sources.redhat.com/pub/gdb/releases/gdb-6.0.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/gdb-6.0.tar.bz2

Archive/insight-6.0.tar.bz2:
	false || \
	wget -c --passive-ftp -P Archive ftp://sources.redhat.com/pub/gdb/releases/insight-6.0.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/insight-6.0.tar.bz2

Archive/ltrace_0.3.26.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.debian.org/debian/pool/main/l/ltrace/ltrace_0.3.26.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/ltrace_0.3.26.tar.gz

Archive/strace_4.4-1.tar.gz:
	false || \
	wget -c -P Archive http://switch.dl.sourceforge.net/sourceforge/strace/strace_4.4-1.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/strace_4.4-1.tar.gz

Archive/nano-1.0.7.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://$(gnuserver)/nano/nano-1.0.7.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/nano-1.0.7.tar.gz

Archive/kaffe-1.0.6.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp.kaffe.org/pub/kaffe/v1.0.x-production/kaffe-1.0.6.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/kaffe-1.0.6.tar.gz

Archive/gnuboy-1.0.3.tar.gz:
	false || \
	wget -c -P Archive http://gnuboy.unix-fu.org/src/gnuboy-1.0.3.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/gnuboy-1.0.3.tar.gz

Archive/libmad-0.15.0b.tar.gz:
	false || \
	wget -c -P Archive http://telia.dl.sourceforge.net/sourceforge/mad/libmad-0.15.0b.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/libmad-0.15.0b.tar.gz

Archive/libid3tag-0.15.0b.tar.gz:
	false || \
	wget -c -P Archive http://telia.dl.sourceforge.net/sourceforge/mad/libid3tag-0.15.0b.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/libid3tag-0.15.0b.tar.gz

Archive/scummvm-20020717.tar.bz2:
	false || \
	wget -c -P Archive http://www.dreambook.unas.cz/upload/scummvm-20020717.tar.bz2 || \
	wget -c -P Archive http://scummvm.sourceforge.net/daily/scummvm-20020717.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/scummvm-20020717.tar.bz2

Archive/sdldoom-1.10.tar.gz:
	false || \
	wget -c --passive-ftp -P Archive ftp://ftp2.3ddownloads.com/89958/doomworld/ports/sdldoom-1.10.tar.gz/sdldoom-1.10.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/sdldoom-1.10.tar.gz

Archive/dvbdate-20020918.tar.bz2:
	false || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/dvbdate-20020918.tar.bz2

Archive/dvbstream-20020918.tar.bz2:
	false || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/dvbstream-20020918.tar.bz2

Archive/dvbtext-0.1.tar.gz:
	false || \
	wget -c -P Archive http://www.linuxstb.org/dvbtext/dvbtext-0.1.tar.gz || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/dvbtext-0.1.tar.gz

Archive/dvbtune-20020918.tar.bz2:
	false || \
	wget -c -P Archive http://www.dreambook.unas.cz/upload/dvbtune-20020918.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/dvbtune-20020918.tar.bz2

Archive/vls-0.4.0.tar.bz2:
	false || \
	wget -c -P Archive http://www.videolan.org/pub/videolan/vls/0.4.0/vls-0.4.0.tar.bz2 || \
	wget -c -P Archive http://tuxbox.berlios.de/pub/tuxbox/cdk/src/vls-0.4.0.tar.bz2



Makefile-archive: $(top_srcdir)/rules-archive
	$(top_srcdir)/rules-archive.pl $(top_srcdir)/rules-archive > Makefile-archive

.PHONY: core libs root apps boot devel java copy lib compress
#.PHONY: core libs root apps boot devel java
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
