Bladeren bron

create package/Depends.mk dynamically; add PKG_BUILDDEP to all Makefiles

Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Thorsten Glaser 14 jaren geleden
bovenliggende
commit
1c8d49e1ee
100 gewijzigde bestanden met toevoegingen van 180 en 433 verwijderingen
  1. 4 1
      mk/build.mk
  2. 0 425
      package/Depends.mk
  3. 1 1
      package/aircrack-ng/Makefile
  4. 1 1
      package/alsa-utils/Makefile
  5. 1 0
      package/apr-util/Makefile
  6. 3 1
      package/apr/Makefile
  7. 1 1
      package/arpd/Makefile
  8. 1 0
      package/arpwatch/Makefile
  9. 7 0
      package/asterisk/Makefile
  10. 1 1
      package/atftp/Makefile
  11. 1 1
      package/atk/Makefile
  12. 1 1
      package/avahi/Makefile
  13. 1 0
      package/bind/Makefile
  14. 1 0
      package/bitlbee/Makefile
  15. 1 0
      package/bluez/Makefile
  16. 1 0
      package/bogofilter/Makefile
  17. 1 0
      package/cairo/Makefile
  18. 4 0
      package/cbtt/Makefile
  19. 1 0
      package/collectd/Makefile
  20. 1 0
      package/cryptinit/Makefile
  21. 1 0
      package/cryptsetup/Makefile
  22. 4 0
      package/ctorrent/Makefile
  23. 1 0
      package/cups/Makefile
  24. 1 0
      package/curl/Makefile
  25. 4 0
      package/cxxtools/Makefile
  26. 1 0
      package/cyrus-sasl/Makefile
  27. 4 0
      package/dansguardian/Makefile
  28. 4 0
      package/davfs2/Makefile
  29. 1 0
      package/dbus/Makefile
  30. 1 0
      package/deco/Makefile
  31. 20 0
      package/depmaker
  32. 1 0
      package/digitemp/Makefile
  33. 1 0
      package/dsniff/Makefile
  34. 1 0
      package/elinks/Makefile
  35. 1 0
      package/esound/Makefile
  36. 1 0
      package/exmap/Makefile
  37. 3 0
      package/fetchmail/Makefile
  38. 1 0
      package/fprobe/Makefile
  39. 1 0
      package/freeradius-client/Makefile
  40. 10 0
      package/freeradius-server/Makefile
  41. 1 0
      package/freetype/Makefile
  42. 1 0
      package/gatling/Makefile
  43. 1 0
      package/gcc/Makefile
  44. 1 0
      package/gdb/Makefile
  45. 1 0
      package/gettext/Makefile
  46. 1 0
      package/git/Makefile
  47. 1 0
      package/gkrellmd/Makefile
  48. 1 0
      package/glib/Makefile
  49. 1 0
      package/gmediaserver/Makefile
  50. 1 0
      package/gnutls/Makefile
  51. 4 0
      package/gpsd/Makefile
  52. 1 0
      package/gtk+/Makefile
  53. 7 0
      package/heimdal/Makefile
  54. 1 0
      package/hostapd/Makefile
  55. 1 0
      package/httping/Makefile
  56. 1 0
      package/icecast/Makefile
  57. 4 0
      package/id3lib/Makefile
  58. 1 0
      package/iftop/Makefile
  59. 1 0
      package/ipcad/Makefile
  60. 3 0
      package/iperf/Makefile
  61. 3 0
      package/iproute2/Makefile
  62. 1 0
      package/ipsec-tools/Makefile
  63. 1 0
      package/iptables-snmp/Makefile
  64. 1 0
      package/iptraf/Makefile
  65. 4 0
      package/irssi/Makefile
  66. 1 0
      package/iw/Makefile
  67. 1 0
      package/jamvm/Makefile
  68. 4 0
      package/kismet/Makefile
  69. 1 0
      package/knock/Makefile
  70. 1 0
      package/krb5/Makefile
  71. 1 0
      package/l2tpns/Makefile
  72. 1 0
      package/less/Makefile
  73. 1 0
      package/libICE/Makefile
  74. 1 0
      package/libSM/Makefile
  75. 1 0
      package/libX11/Makefile
  76. 1 0
      package/libXaw/Makefile
  77. 1 0
      package/libXext/Makefile
  78. 1 0
      package/libXfont/Makefile
  79. 1 0
      package/libXmu/Makefile
  80. 1 0
      package/libXt/Makefile
  81. 1 0
      package/libXv/Makefile
  82. 1 0
      package/libXxf86dga/Makefile
  83. 1 0
      package/libfontenc/Makefile
  84. 1 0
      package/libgcrypt/Makefile
  85. 1 0
      package/libgd/Makefile
  86. 1 0
      package/libid3tag/Makefile
  87. 1 0
      package/libnet/Makefile
  88. 1 0
      package/libnids/Makefile
  89. 1 0
      package/libp11/Makefile
  90. 1 0
      package/libpng/Makefile
  91. 1 0
      package/libshout/Makefile
  92. 1 0
      package/libtirpc/Makefile
  93. 1 0
      package/libtorrent/Makefile
  94. 1 0
      package/libusb-compat/Makefile
  95. 1 0
      package/libvirt/Makefile
  96. 1 0
      package/libvorbis/Makefile
  97. 1 0
      package/libxml2/Makefile
  98. 1 0
      package/libxslt/Makefile
  99. 4 0
      package/lighttpd/Makefile
  100. 1 0
      package/links/Makefile

+ 4 - 1
mk/build.mk

@@ -79,6 +79,9 @@ include ${TOPDIR}/mk/split-cfg.mk
 
 all: world
 
+${TOPDIR}/package/Depends.mk: ${TOPDIR}/.config
+	mksh ${TOPDIR}/package/depmaker
+
 .NOTPARALLEL:
 .PHONY: all world clean cleantarget cleandir distclean image_clean
 
@@ -120,7 +123,7 @@ ${STAGING_DIR}/etc/ipkg.conf: ${STAGING_DIR}/etc
 	echo "dest root /" >${STAGING_DIR}/etc/ipkg.conf
 	echo "option offline_root ${TARGET_DIR}" >>$(STAGING_DIR)/etc/ipkg.conf
 
-package/%: ${TOPDIR}/.cfg/ADK_HAVE_DOT_CONFIG ${STAGING_DIR}/etc/ipkg.conf
+package/%: ${TOPDIR}/.cfg/ADK_HAVE_DOT_CONFIG ${STAGING_DIR}/etc/ipkg.conf ${TOPDIR}/package/Depends.mk
 	$(MAKE) -C package $(patsubst package/%,%,$@)
 
 target/%: ${TOPDIR}/.cfg/ADK_HAVE_DOT_CONFIG

+ 0 - 425
package/Depends.mk

@@ -1,425 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-aircrack-ng-compile: openssl-compile libpcap-compile
-alsa-utils-compile: alsa-lib-compile
-apr-util-compile: expat-compile apr-compile
-arpd-compile: libpcap-compile libdnet-compile libevent-compile
-arpwatch-compile: libpcap-compile
-atftp-compile: readline-compile ncurses-compile
-atk-compile: glib-compile
-avahi-compile: libdaemon-compile expat-compile gdbm-compile glib-compile
-
-bind-compile: openssl-compile
-bitlbee-compile: libiconv-compile openssl-compile glib-compile
-bluez-compile: libusb-compile dbus-compile glib-compile
-bogofilter-compile: libiconv-compile libdb-compile
-
-cairo-compile: libpng-compile pixman-compile freetype-compile fontconfig-compile libX11-compile
-ifeq (${ADK_COMPILE_CBTT_WITH_UCLIBCXX},y)
-cbtt-compile: uclibc++-compile
-endif
-cbtt-compile: mysql-compile zlib-compile
-collectd-compile: libpthread-compile
-cryptinit-compile: cryptsetup-compile
-cryptsetup-compile: libgcrypt-compile popt-compile e2fsprogs-compile lvm-compile
-ifeq (${ADK_COMPILE_CTORRENT_WITH_UCLIBCXX},y)
-ctorrent-compile: uclibc++-compile
-endif
-ctorrent-compile: openssl-compile
-cups-compile: zlib-compile
-curl-compile: openssl-compile zlib-compile
-ifeq (${ADK_COMPILE_CXXTOOLS_WITH_UCLIBCXX},y)
-cxxtools-compile: uclibc++-compile
-endif
-cxxtools-compile: libiconv-compile
-cyrus-sasl-compile: openssl-compile
-
-ifeq (${ADK_COMPILE_DANSGUARDIAN_WITH_UCLIBCXX},y)
-dansguardian-compile: uclibc++-compile
-endif
-dansguardian-compile: pcre-compile zlib-compile
-ifneq (${ADK_PACKAGE_DAVFS2_FUSE}${ADK_PACKAGE_DAVFS2_BOTH},)
-davfs2-compile: fuse-compile
-endif
-davfs2-compile: libiconv-compile neon-compile
-
-dbus-compile: expat-compile
-deco-compile: ncurses-compile
-dhcpv6-compile: libnl-compile ncurses-compile
-digitemp-compile: libusb-compile libusb-compat-compile
-dsniff-compile: libnids-compile openssl-compile gdbm-compile
-elinks-compile: openssl-compile
-esound-compile: libaudiofile-compile
-ettercap-compile: pcap-compile libnet-compile
-exmap-compile: glib-compile readline-compile
-fprobe-compile: libpcap-compile
-freetype-compile: zlib-compile
-gatling-compile: libowfat-compile libiconv-compile
-gcc-compile: gmp-compile mpfr-compile
-gdb-compile: ncurses-compile readline-compile
-gettext-compile: libiconv-compile libpthread-compile
-git-compile: openssl-compile curl-compile expat-compile
-gkrellmd-compile: glib-compile
-glib-compile: gettext-compile libiconv-compile
-gmediaserver-compile: id3lib-compile libupnp-compile
-gnutls-compile: libgcrypt-compile liblzo-compile libtasn1-compile opencdk-compile zlib-compile ncurses-compile
-
-ifeq (${ADK_COMPILE_GPSD_WITH_UCLIBCXX},y)
-gpsd-compile: uclibc++-compile
-endif
-gpsd-compile: ncurses-compile
-
-gtk+-compile: cairo-compile atk-compile pango-compile libXext-compile renderproto-compile libXrender-compile
-
-ifeq (${ADK_COMPILE_HEIMDAL_WITH_DB_BDB},y)
-heimdal-compile: libdb-compile
-endif
-ifeq (${ADK_COMPILE_HEIMDAL_WITH_DB_LDAP},y)
-heimdal-compile: openldap-compile
-endif
-heimdal-compile: openssl-compile ncurses-compile e2fsprogs-compile
-
-httping-compile: openssl-compile
-icecast-compile: curl-compile libvorbis-compile libxml2-compile libxslt-compile
-ifeq (${ADK_COMPILE_ID3LIB_WITH_UCLIBCXX},y)
-id3lib-compile: uclibc++-compile 
-endif
-id3lib-compile: zlib-compile libiconv-compile
-iftop-compile: libpcap-compile libpthread-compile ncurses-compile
-ipcad-compile: libpcap-compile
-ifeq (${ADK_COMPILE_IPERF_WITH_UCLIBCXX},y)
-iperf-compile: uclibc++-compile
-endif
-ifneq ($(strip ${ADK_PACKAGE_TC_ATM}),)
-iproute2-compile: linux-atm-compile
-endif
-ipsec-tools-compile: openssl-compile
-iptables-snmp-compile: net-snmp-compile
-iptraf-compile: ncurses-compile
-irssi-compile: glib-compile ncurses-compile
-iw-compile: libnl-compile
-jamvm-compile: libffi-compile zlib-compile
-ifeq (${ADK_COMPILE_KISMET_WITH_UCLIBCXX},y)
-kismet-compile: uclibc++-compile 
-endif
-kismet-compile: libpcap-compile ncurses-compile
-knock-compile: libpcap-compile
-krb5-compile: ncurses-compile e2fsprogs-compile
-l2tpns-compile: libcli-compile
-less-compile: ncurses-compile
-libgcrypt-compile: libgpg-error-compile
-libgd-compile: libpng-compile jpeg-compile
-libid3tag-compile: zlib-compile
-libnet-compile: libpcap-compile
-libnids-compile: libnet-compile libpcap-compile
-libp11-compile: openssl-compile libtool-compile
-libpng-compile: zlib-compile
-libshout-compile: libvorbis-compile
-libusb-compat-compile: libusb-compile
-libtirpc-compile: libgssglue-compile
-libtorrent-compile: openssl-compile libsigc++-compile
-libvorbis-compile: libogg-compile
-libvirt-compile: libxml2-compile gnutls-compile python-compile
-libfontenc-compile: xproto-compile zlib-compile
-libICE-compile: xtrans-compile
-libSM-compile: libICE-compile
-libXt-compile: libSM-compile
-libXv-compile: libX11-compile videoproto-compile
-libXmu-compile: libXt-compile
-libXext-compile: libX11-compile
-libXaw-compile: libXext-compile libXmu-compile libXpm-compile
-libX11-compile: xproto-compile xextproto-compile xtrans-compile libXdmcp-compile \
-	libXau-compile xcmiscproto-compile bigreqsproto-compile kbproto-compile \
-	inputproto-compile
-libXfont-compile: freetype-compile fontcacheproto-compile fontsproto-compile libfontenc-compile
-libxml2-compile: zlib-compile
-libxslt-compile: libxml2-compile
-ifeq (${ADK_COMPILE_LIGHTTPD_WITH_OPENSSL},y)
-lighttpd-compile: openssl-compile
-endif
-lighttpd-compile: pcre-compile libxml2-compile sqlite-compile
-links-compile: openssl-compile libpng-compile jpeg-compile gpm-compile
-logrotate-compile: popt-compile
-lynx-compile: ncurses-compile openssl-compile zlib-compile
-madplay-compile: libid3tag-compile libmad-compile
-maradns-compile: libpthread-compile
-mc-compile: glib-compile ncurses-compile
-miax-compile: bluez-compile
-ifeq (${ADK_COMPILE_MIREDO_WITH_UCLIBCXX},y)
-miredo-compile: uclibc++-compile
-endif
-moc-compile: libvorbis-compile curl-compile libmad-compile flac-compile ffmpeg-compile
-monit-compile: openssl-compile
-ifeq (${ADK_COMPILE_MRD6_WITH_UCLIBCXX},y)
-mrd6-compile: uclibc++-compile
-endif
-mt-daapd-compile: gdbm-compile libid3tag-compile
-mtr-compile: ncurses-compile
-mutt-compile: ncurses-compile openssl-compile
-mysql-compile: ncurses-compile zlib-compile readline-compile
-nano-compile: ncurses-compile
-neon-compile: libpthread-compile libxml2-compile openssl-compile zlib-compile
-net-snmp-compile: libelf-compile
-ifeq (${ADK_COMPILE_NFS_UTILS_WITH_KRB5},y)
-nfs-utils-compile: libnfsidmap-compile krb5-compile libevent-compile libgssglue-compile librpcsecgss-compile
-endif
-ifeq (${ADK_COMPILE_NFS_UTILS_WITH_HEIMDAL},y)
-nfs-utils-compile: libnfsidmap-compile heimdal-compile libevent-compile librpcsecgss-compile
-endif
-nfs-utils-compile: libtirpc-compile
-ifeq (${ADK_COMPILE_NMAP_WITH_UCLIBCXX},y)
-nmap-compile: uclibc++-compile
-endif
-nmap-compile: pcre-compile libpcap-compile
-obexftp-compile: openobex-compile libiconv-compile
-opencdk-compile: libgcrypt-compile libgpg-error-compile zlib-compile
-openct-compile: libtool-compile libusb-compile
-openldap-compile: cyrus-sasl-compile openssl-compile libdb-compile
-openobex-compile: bluez-compile
-opensips-compile: openssl-compile
-ifeq (${ADK_COMPILE_OPENSSH_WITH_KRB5},y)
-openssh-compile: krb5-compile
-endif
-ifeq (${ADK_COMPILE_OPENSSH_WITH_HEIMDAL},y)
-openssh-compile: heimdal-compile
-endif
-openssh-compile: zlib-compile openssl-compile
-openssl-compile: zlib-compile
-openssl-pkcs11-compile: libp11-compile
-openswan-compile: gmp-compile
-oprofile-compile: popt-compile
-osiris-compile: openssl-compile
-palantir-compile: jpeg-compile
-parted-compile: e2fsprogs-compile lvm-compile readline-compile
-pciutils-compile: zlib-compile
-popt-compile: libiconv-compile
-ifneq ($(strip ${ADK_PACKAGE_PORTMAP_LIBWRAP}),)
-portmap-compile: tcp_wrappers-compile
-endif
-postgresql-compile: zlib-compile
-privoxy-compile: pcre-compile
-procps-compile: ncurses-compile
-ptunnel-compile: libpcap-compile
-quagga-compile: readline-compile ncurses-compile
-raddump-compile: openssl-compile libpcap-compile
-radiusclient-ng-compile: openssl-compile
-rarpd-compile: libnet-compile
-readline-compile: ncurses-compile
-nss-compile: nspr-compile zlib-compile
-rpm-compile: nss-compile libdb-compile
-rrdcollect-compile: rrdtool-compile
-rrdtool-compile: libxml2-compile cgilib-compile freetype-compile libart-compile libpng-compile
-rsync-compile: popt-compile
-rtorrent-compile: ncurses-compile libtorrent-compile curl-compile
-sane-backends-compile: libpthread-compile libusb-compile
-scanlogd-compile: libpcap-compile libnids-compile libnet-compile
-screen-compile: ncurses-compile
-serdisplib-compile: libgd-compile libusb-compile
-siproxd-compile: libosip2-compile
-sipsak-compile: openssl-compile
-sispmctl-compile: libusb-compile
-snort-compile: libnet-compile libpcap-compile pcre-compile
-snort-wireless-compile: libnet-compile libpcap-compile pcre-compile
-socat-compile: openssl-compile
-sqlite-compile: ncurses-compile readline-compile
-squid-compile: openssl-compile
-ssltunnel-compile: openssl-compile ppp-compile
-subversion-compile: apr-util-compile expat-compile apr-compile zlib-compile libiconv-compile
-swconfig-compile: libnl-compile
-syslog-ng-compile: libol-compile tcp_wrappers-compile
-tcpdump-compile: libpcap-compile
-tinc-compile: zlib-compile openssl-compile liblzo-compile
-tntnet-compile: cxxtools-compile zlib-compile
-ifneq (${ADK_COMPILE_TNTNET_WITH_OPENSSL},)
-tntnet-compile: openssl-compile
-else ifneq (${ADK_COMPILE_TNTNET_WITH_GNUTLS},)
-tntnet-compile: gnutls-compile
-endif
-tor-compile: libevent-compile openssl-compile zlib-compile
-trafshow: ncurses-compile libpcap-compile
-usbutils-compile: libusb-compile
-ussp-push-compile: openobex-compile
-util-linux-ng-compile: e2fsprogs-compile ncurses-compile
-vilistextum-compile: libiconv-compile
-vim-compile: ncurses-compile
-vnc-reflector-compile: jpeg-compile zlib-compile
-vpnc-compile: libgcrypt-compile libgpg-error-compile
-vtun-compile: zlib-compile openssl-compile liblzo-compile
-wdfs-compile: openssl-compile fuse-compile neon-compile glib-compile
-weechat-compile: ncurses-compile gnutls-compile lua-compile libiconv-compile
-wknock-compile: libpcap-compile
-ifeq (${ADK_COMPILE_WPA_SUPPLICANT_WITH_OPENSSL},y)
-wpa_supplicant-compile: openssl-compile 
-endif
-wx200d-compile: postgresql-compile
-xfsprogs-compile: e2fsprogs-compile
-libXxf86dga-compile: xf86dgaproto-compile libXext-compile libXaw-compile
-xkeyboard-config-compile: xkbcomp-compile
-xf86-video-geode-compile: xorg-server-compile
-xf86-video-cirrus-compile: xorg-server-compile
-xf86dga-compile: libXxf86dga-compile 
-xorg-server-compile: libX11-compile randrproto-compile renderproto-compile fixesproto-compile \
-	damageproto-compile scrnsaverproto-compile resourceproto-compile \
-	fontsproto-compile videoproto-compile compositeproto-compile \
-	evieext-compile libxkbfile-compile libXfont-compile pixman-compile \
-	libpciaccess-compile openssl-compile 
-
-ifeq ($(ADK_PACKAGE_APR_THREADING),y)
-apr-compile: libpthread-compile
-endif
-
-asterisk-compile: ncurses-compile openssl-compile zlib-compile curl-compile popt-compile
-ifneq ($(ADK_PACKAGE_ASTERISK_CODEC_SPEEX),)
-asterisk-compile: speex-compile
-endif
-ifneq ($(ADK_PACKAGE_ASTERISK_PGSQL),)
-asterisk-compile: postgresql-compile
-endif
-
-freeradius-client-compile: openssl-compile
-freeradius-server-compile: libtool-compile openssl-compile
-ifneq ($(ADK_PACKAGE_FREERADIUS_MOD_LDAP),)
-freeradius-server-compile: openldap-compile
-endif
-ifneq ($(ADK_PACKAGE_FREERADIUS_MOD_SQL_MYSQL),)
-freeradius-server-compile: mysql-compile
-endif
-ifneq ($(ADK_PACKAGE_FREERADIUS_MOD_SQL_PGSQL),)
-freeradius-server-compile: postgresql-compile
-endif
-
-hostapd-compile: libnl-compile openssl-compile
-
-ifneq ($(ADK_PACKAGE_MINI_HTTPD_OPENSSL),)
-mini_httpd-compile: openssl-compile
-endif
-
-ifneq ($(ADK_PACKAGE_MOTION),)
-motion-compile: jpeg-compile
-endif
-
-mplayer-compile: alsa-lib-compile libmad-compile libvorbis-compile faad2-compile ncurses-compile zlib-compile
-
-mpd-compile: alsa-lib-compile glib-compile
-
-ifneq ($(ADK_COMPILE_MPD_WITH_MP3),)
-mpd-compile: libid3tag-compile libmad-compile
-endif
-ifneq ($(ADK_COMPILE_MPD_WITH_MP4),)
-mpd-compile: faad2-compile
-endif
-ifneq ($(ADK_COMPILE_MPD_WITH_OGG),)
-mpd-compile: libvorbis-compile
-endif
-ifneq ($(ADK_COMPILE_MPD_WITH_TREMOR),)
-mpd-compile: libvorbisidec-compile
-endif
-ifneq ($(ADK_COMPILE_MPD_WITH_FLAC),)
-mpd-compile: flac-compile
-endif
-ifneq ($(ADK_COMPILE_MPD_WITH_WAV),)
-mpd-compile: libaudiofile-compile
-endif
-ifneq ($(ADK_COMPILE_MPD_WITH_SHOUT),)
-mpd-compile: lame-compile
-endif
-ifneq ($(ADK_COMPILE_MPD_WITH_CURL),)
-mpd-compile: curl-compile
-endif
-ifneq ($(ADK_COMPILE_MPD_WITH_MMS),)
-mpd-compile: libmms-compile
-endif
-ifneq ($(ADK_COMPILE_MPD_WITH_FFMPEG),)
-mpd-compile: ffmpeg-compile
-endif
-
-ifneq (${ADK_PACKAGE_NUT_SSL},)
-nut-compile: openssl-compile
-endif
-ifneq (${ADK_PACKAGE_NUT_USB},)
-nut-compile: libusb-compile
-endif
-ifneq (${ADK_PACKAGE_NUT_SNMP},)
-nut-compile: net-snmp-compile
-endif
-
-ifeq ($(ADK_PACKAGE_LIBOPENSSL),y)
-openvpn-compile: openssl-compile
-endif
-ifeq ($(ADK_PACKAGE_OPENVPN_LZO),y)
-openvpn-compile: liblzo-compile
-endif
-
-php-compile: openssl-compile zlib-compile
-ifneq ($(ADK_PACKAGE_PHP_MOD_CURL),)
-php-compile: curl-compile
-endif
-ifneq ($(ADK_PACKAGE_PHP_MOD_GD),)
-php-compile: libgd-compile libpng-compile
-endif
-ifneq ($(ADK_PACKAGE_PHP_MOD_GMP),)
-php-compile: gmp-compile
-endif
-ifneq ($(ADK_PACKAGE_PHP_MOD_LDAP),)
-php-compile: openldap-compile
-endif
-ifneq ($(ADK_PACKAGE_PHP_MOD_MYSQL),)
-php-compile: mysql-compile
-endif
-ifneq ($(ADK_PACKAGE_PHP_MOD_PCRE),)
-php-compile: pcre-compile
-endif
-ifneq ($(ADK_PACKAGE_PHP_MOD_PGSQL),)
-php-compile: postgresql-compile
-endif
-ifneq ($(ADK_PACKAGE_PHP_MOD_SQLITE),)
-php-compile: sqlite-compile
-endif
-ifneq ($(ADK_PACKAGE_PHP_MOD_XML),)
-php-compile: expat-compile
-endif
-
-pmacct-compile: libpcap-compile
-ifneq ($(ADK_COMPILE_PMACCT_MYSQL),)
-pmacct-compile: mysql-compile
-endif
-ifneq ($(ADK_COMPILE_PMACCT_PGSQL),)
-pmacct-compile: postgresql-compile
-endif
-ifneq ($(ADK_COMPILE_PMACCT_SQLITE),)
-pmacct-compile: sqlite-compile
-endif
-
-ifeq (${ADK_COMPILE_RRS_WITH_UCLIBCXX},y)
-rrs-compile: uclibc++-compile 
-endif
-rrs-compile: zlib-compile
-ifneq ($(ADK_PACKAGE_RRS),)
-rrs-compile: openssl-compile
-endif
-
-ifneq ($(ADK_PACKAGE_SUBVERSION_NEON),)
-subversion-compile: neon-compile
-endif
-
-ulogd-compile: iptables-compile
-ifneq ($(ADK_PACKAGE_ULOGD_MOD_MYSQL),)
-ulogd-compile: mysql-compile
-endif
-ifneq ($(ADK_PACKAGE_ULOGD_MOD_PCAP),)
-ulogd-compile: libpcap-compile
-endif
-ifneq ($(ADK_PACKAGE_ULOGD_MOD_PGSQL),)
-ulogd-compile: postgresql-compile
-endif
-ifneq ($(ADK_PACKAGE_ULOGD_MOD_SQLITE),)
-ulogd-compile: sqlite-compile
-endif
-ifeq (${ADK_PACKAGE_FETCHMAIL_SSL},y)
-fetchmail-compile: openssl-compile
-endif
-ifeq (${ADK_PACKAGE_IRSSI_SSL},y)
-irssi-compile: openssl-compile
-endif
-

+ 1 - 1
package/aircrack-ng/Makefile

@@ -6,11 +6,11 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		aircrack-ng
 PKG_VERSION:=		1.0
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		openssl libpcap
 PKG_MD5SUM:=		dafbfaf944ca9d523fde4bae86f0c067
 PKG_DESCR:=		set of tools for auditing wireless networks
 PKG_SECTION:=		net
 PKG_DEPENDS:=		libpthread libopenssl libpcap
-PKG_BUILDDEP:=		openssl libpcap
 PKG_URL:=		http://www.aircrack-ng.org
 PKG_SITES:=		http://download.aircrack-ng.org/
 

+ 1 - 1
package/alsa-utils/Makefile

@@ -6,10 +6,10 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		alsa-utils
 PKG_VERSION:=		1.0.21
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		alsa-lib
 PKG_MD5SUM:=		3672287c2608040d111ce45495ba7602
 PKG_DESCR:=		ALSA mixer utility
 PKG_DEPENDS:=		alsa-lib
-PKG_BUILDDEP:=		alsa-lib
 PKG_SECTION:=		utils
 PKG_URL:=		http://www.alsa-project.org
 PKG_SITES:=		ftp://ftp.task.gda.pl/pub/linux/misc/alsa/utils/ \

+ 1 - 0
package/apr-util/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=              apr-util
 PKG_VERSION:=           0.9.15
 PKG_RELEASE:=           1
+PKG_BUILDDEP+=		expat apr
 PKG_MD5SUM:=            dc772ae295f49ddb8ee8e69a9716c53b
 PKG_DESCR:=		Apache Portable Runtime utility library
 PKG_SECTION:=		libs

+ 3 - 1
package/apr/Makefile

@@ -6,9 +6,11 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		apr
 PKG_VERSION:=		0.9.17
 PKG_RELEASE:=		1
+ifeq ($(ADK_PACKAGE_APR_THREADING),y)
+PKG_BUILDDEP+=		libpthread
+endif
 PKG_MD5SUM:=		ca1e22d98081a03a33c2a0b8684eb192
 PKG_DESCR:=		Apache Portable Runtime library
-PKG_BUILDDEP:=		expat apr
 PKG_SECTION:=		libs
 PKG_URL:=		http://apr.apache.org
 PKG_SITES:=		http://gd.tuwien.ac.at/infosys/servers/http/apache/dist/${PKG_NAME}/

+ 1 - 1
package/arpd/Makefile

@@ -6,11 +6,11 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		arpd
 PKG_VERSION:=		0.2
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libpcap libdnet libevent
 PKG_MD5SUM:=		e2911fa9de1b92ef50deda1489ae944d
 PKG_DESCR:=		Generates ARP responses for IP address ranges
 PKG_SECTION:=		net
 PKG_DEPENDS:=		libpcap libdnet libevent
-PKG_BUILDDEP:=		libpcap libdnet libevent
 PKG_URL:=		http://niels.xtdnet.nl/honeyd/
 PKG_SITES:=		http://niels.xtdnet.nl/honeyd/
 

+ 1 - 0
package/arpwatch/Makefile

@@ -6,6 +6,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		arpwatch
 PKG_VERSION:=		2.1a15
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libpcap
 PKG_MD5SUM:=		cebfeb99c4a7c2a6cee2564770415fe7
 PKG_DESCR:=		Ethernet monitor program for keeping track of ethernet/ip address pairings
 PKG_SECTION:=		net

+ 7 - 0
package/asterisk/Makefile

@@ -6,6 +6,13 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		asterisk
 PKG_VERSION:=		1.4.27.1
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		ncurses openssl zlib curl popt
+ifneq ($(ADK_PACKAGE_ASTERISK_CODEC_SPEEX),)
+PKG_BUILDDEP+=		speex
+endif
+ifneq ($(ADK_PACKAGE_ASTERISK_PGSQL),)
+PKG_BUILDDEP+=		postgresql
+endif
 PKG_MD5SUM:=		e09ca163a6e90018c92c65a50b9ec398
 PKG_DESCR:=		Open Source PBX
 PKG_SECTION:=		net

+ 1 - 1
package/atftp/Makefile

@@ -6,11 +6,11 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		atftp
 PKG_VERSION:=		0.7
 PKG_RELEASE:=		2
+PKG_BUILDDEP+=		readline ncurses
 PKG_MD5SUM:=		3b27365772d918050b2251d98a9c7c82
 PKG_DESCR:=		TFTP client
 PKG_SECTION:=		net
 PKG_DEPENDS:=		libreadline libncurses
-PKG_BUILDDEP:=		readline ncurses
 PKG_URL:=		http://freshmeat.net/projects/atftp
 PKG_SITES:=		ftp://ftp.mamalinux.com/pub/atftp/
 PKG_DESCR_1:=		TFTP server

+ 1 - 1
package/atk/Makefile

@@ -6,9 +6,9 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		atk
 PKG_VERSION:=		1.29.3
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		glib
 PKG_MD5SUM:=		f587d9285b2d0ac35ea95acef673517c
 PKG_DESCR:=		atk library
-PKG_BUILDDEP:=		glib
 PKG_SECTION:=		libs
 PKG_URL:=		http://www.gnome.org
 PKG_SITES:=		${MASTER_SITE_GNOME:=/atk/1.29/}

+ 1 - 1
package/avahi/Makefile

@@ -6,11 +6,11 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		avahi
 PKG_VERSION:=		0.6.25
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libdaemon expat gdbm glib
 PKG_MD5SUM:=		a83155a6e29e3988f07e5eea3287b21e
 PKG_DESCR:=		mDNS/DNS-SD (aka RendezVous/Bonjour/ZeroConf) daemon
 PKG_SECTION:=		net
 PKG_DEPENDS:=		libavahi libdaemon libexpat
-PKG_BUILDDEP:=		libdaemon expat gdbm glib
 PKG_URL:=		http://avahi.org
 PKG_SITES:=		http://avahi.org/download/
 

+ 1 - 0
package/bind/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		bind
 PKG_VERSION:=		9.4.1
 PKG_RELEASE:=		4
+PKG_BUILDDEP+=		openssl
 PKG_MD5SUM:=		09b54d35036cb0423b2e618f21766285
 PKG_DESCR:=		popular DNS server
 PKG_SECTION:=		net

+ 1 - 0
package/bitlbee/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		bitlbee
 PKG_VERSION:=		1.2.3
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libiconv openssl glib
 PKG_MD5SUM:=		2b1674d98804970809de3da3edf0bed2
 PKG_DESCR:=		IRC gateway to IM chat networks
 PKG_SECTION:=		net

+ 1 - 0
package/bluez/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		bluez
 PKG_VERSION:=		4.57
 PKG_RELEASE:=		2
+PKG_BUILDDEP+=		libusb dbus glib
 PKG_MD5SUM:=		dc29e54f1204ac4215caeeee062b26f6
 PKG_DESCR:=		bluetooth libraries and applications
 PKG_SECTION:=		bluetooth

+ 1 - 0
package/bogofilter/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		bogofilter
 PKG_VERSION:=		1.2.0
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libiconv libdb
 PKG_MD5SUM:=		4bbc9adc30d4f8e3a547f9be18a1cb74
 PKG_DESCR:=		mail filter
 PKG_SECTION:=		mail

+ 1 - 0
package/cairo/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		cairo
 PKG_VERSION:=		1.8.8
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libpng pixman freetype fontconfig libX11
 PKG_MD5SUM:=		d3e1a1035ae563812d4dd44a74fb0dd0
 PKG_DESCR:=		cairo graphics library
 PKG_SECTION:=		libs

+ 4 - 0
package/cbtt/Makefile

@@ -6,6 +6,10 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		cbtt
 PKG_VERSION:=		20060211
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		mysql zlib
+ifeq (${ADK_COMPILE_CBTT_WITH_UCLIBCXX},y)
+PKG_BUILDDEP+=		uclibc++
+endif
 PKG_MD5SUM:=		19abea2817c49ccc9438e9671c402984
 PKG_DESCR:=		Bittorrent tracker
 PKG_SECTION:=		net

+ 1 - 0
package/collectd/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		collectd
 PKG_VERSION:=		4.7.0
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libpthread
 PKG_MD5SUM:=		b077e3398bd6fac0e53e9df4794db264
 PKG_DESCR:=		System statistics collection daemon
 PKG_SECTION:=		console

+ 1 - 0
package/cryptinit/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		cryptinit
 PKG_VERSION:=		1.0.2
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		cryptsetup
 PKG_DESCR:=		init for encrypted rootfilesystem
 PKG_SECTION:=		base
 

+ 1 - 0
package/cryptsetup/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		cryptsetup
 PKG_VERSION:=		1.0.7
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libgcrypt popt e2fsprogs lvm
 PKG_MD5SUM:=		5eea2a77391a8a1a651b31cbaef59e22
 PKG_DESCR:=		LUKS cryptsetup tools
 PKG_SECTION:=		crypto

+ 4 - 0
package/ctorrent/Makefile

@@ -6,6 +6,10 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		ctorrent
 PKG_VERSION:=		dnh3.3.2
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		openssl
+ifeq (${ADK_COMPILE_CTORRENT_WITH_UCLIBCXX},y)
+PKG_BUILDDEP+=		uclibc++
+endif
 PKG_MD5SUM:=		59b23dd05ff70791cd6449effa7fc3b6
 PKG_DESCR:=		console-based BitTorrent client
 PKG_SECTION:=		net

+ 1 - 0
package/cups/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		cups
 PKG_VERSION:=		1.4.2
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		zlib
 PKG_MD5SUM:=		d95e2d588e3d36e563027a963b117b1b
 PKG_DESCR:=		Common Unix Printing System
 PKG_SECTION:=		net

+ 1 - 0
package/curl/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		curl
 PKG_VERSION:=		7.19.7
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		openssl zlib
 PKG_MD5SUM:=		ecb2e37e45c9933e2a963cabe03670ab
 PKG_DESCR:=		a client-side URL transfer tool
 PKG_SECTION:=		net

+ 4 - 0
package/cxxtools/Makefile

@@ -6,6 +6,10 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		cxxtools
 PKG_VERSION:=		1.4.8
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libiconv
+ifeq (${ADK_COMPILE_CXXTOOLS_WITH_UCLIBCXX},y)
+PKG_BUILDDEP+=		uclibc++
+endif
 PKG_MD5SUM:=		16ce92a83beb925fa5138fc9a52d55af
 PKG_DESCR:=		a collection of general-purpose C++ classes
 PKG_SECTION:=		net

+ 1 - 0
package/cyrus-sasl/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		cyrus-sasl
 PKG_VERSION:=		2.1.22
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		openssl
 PKG_MD5SUM:=		45dde9d19193ae9dd388eb68b2027bc9
 PKG_DESCR:=		a general purpose authentication library
 PKG_SECTION:=		libs

+ 4 - 0
package/dansguardian/Makefile

@@ -6,6 +6,10 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		dansguardian
 PKG_VERSION:=		2.10.1.1
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		pcre zlib
+ifeq (${ADK_COMPILE_DANSGUARDIAN_WITH_UCLIBCXX},y)
+PKG_BUILDDEP+=		uclibc++
+endif
 PKG_MD5SUM:=		0987a1c9bfbdf398118386f10279611a
 PKG_DESCR:=		web content filter proxy
 PKG_SECTION:=		net

+ 4 - 0
package/davfs2/Makefile

@@ -6,6 +6,10 @@ include ${TOPDIR}/rules.mk
 PKG_NAME=		davfs2
 PKG_VERSION=		1.3.3
 PKG_RELEASE=		1
+PKG_BUILDDEP+=		libiconv neon
+ifneq (${ADK_PACKAGE_DAVFS2_FUSE}${ADK_PACKAGE_DAVFS2_BOTH},)
+PKG_BUILDDEP+=		fuse
+endif
 PKG_MD5SUM=		57def26e4d6d63527e01612d10fd0515
 PKG_DESCR:=		WebDAV filesystem
 PKG_SECTION:=		admin

+ 1 - 0
package/dbus/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		dbus
 PKG_VERSION:=		1.2.16
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		expat
 PKG_MD5SUM:=		c7a47b851ebe02f6726b65b78d1b730b
 PKG_DESCR:=		DBUS library
 PKG_SECTION:=		net

+ 1 - 0
package/deco/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		deco
 PKG_VERSION:=		39
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		ncurses
 PKG_MD5SUM:=		f77f60e8be0cae1f814cba1ef61bf4d0
 PKG_DESCR:=		Text-based, full featured file manager
 PKG_SECTION:=		misc

+ 20 - 0
package/depmaker

@@ -0,0 +1,20 @@
+cd "$(dirname "$0")"
+export TOPDIR=$(realpath ..)
+if gmake --help >/dev/null 2>&1; then
+	export GMAKE=gmake
+else
+	export GMAKE=make
+fi
+
+for subdir in */Makefile; do
+	subdir=${subdir%/*}
+	cd $subdir
+	deps=$($GMAKE show=PKG_BUILDDEP)
+	cd ..
+	[[ -n $deps ]] || continue
+	x="${subdir}-compile:"
+	for dep in $deps; do
+		x="$x ${dep}-compile"
+	done
+	print -r -- $x
+done >Depends.mk

+ 1 - 0
package/digitemp/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		digitemp
 PKG_VERSION:=		3.6.0
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libusb libusb-compat
 PKG_MD5SUM:=		9be2e48db37920f21925ae6e88f83b84
 PKG_DESCR:=		simple to use program for reading values from 1-wire devices
 PKG_SECTION:=		misc

+ 1 - 0
package/dsniff/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		dsniff
 PKG_VERSION:=		2.4b1
 PKG_RELEASE:=		2
+PKG_BUILDDEP+=		libnids openssl gdbm
 PKG_MD5SUM:=		2f761fa3475682a7512b0b43568ee7d6
 PKG_DESCR:=		tools for network auditing and penetration testing
 PKG_SECTION:=		net

+ 1 - 0
package/elinks/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		elinks
 PKG_VERSION:=		0.11.7
 PKG_RELEASE:=		2
+PKG_BUILDDEP+=		openssl
 PKG_MD5SUM:=		145c510cae41c204d0f23dce4bdd23ab
 PKG_DESCR:=		advanced text web browser
 PKG_SECTION:=		text

+ 1 - 0
package/esound/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		esound
 PKG_VERSION:=		0.2.41
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libaudiofile
 PKG_MD5SUM:=		3d8973ed87053d7acc1f4d44af2c4688
 PKG_DESCR:=		Enlightened Sound Daemon
 PKG_SECTION:=		net

+ 1 - 0
package/exmap/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		exmap
 PKG_VERSION:=		0.4.1
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		glib readline
 PKG_MD5SUM:=		55aec784e214037e61400287a55b5426
 PKG_DESCR:=		memory analysing tool
 PKG_SECTION:=		utils

+ 3 - 0
package/fetchmail/Makefile

@@ -6,6 +6,9 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		fetchmail
 PKG_VERSION:=		6.3.9
 PKG_RELEASE:=		1
+ifeq (${ADK_PACKAGE_FETCHMAIL_SSL},y)
+PKG_BUILDDEP+=		openssl
+endif
 PKG_MD5SUM:=		72c20ad2b9629f1a109668b05a84d823
 PKG_DESCR:=		fetch mail from a POP, IMAP, ETRN, or ODMR-capable server
 PKG_SECTION:=		text

+ 1 - 0
package/fprobe/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		fprobe
 PKG_VERSION:=		1.1
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libpcap
 PKG_MD5SUM:=		65850d0470078269b33eee58cba77ac2
 PKG_DESCR:=		NetFlow probe
 PKG_SECTION:=		net

+ 1 - 0
package/freeradius-client/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		freeradius-client
 PKG_VERSION:=		1.1.6
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		openssl
 PKG_MD5SUM:=		edd4d904e802ff66d35532be1475cfa7
 PKG_DESCR:=		RADIUS client
 PKG_SECTION:=		net

+ 10 - 0
package/freeradius-server/Makefile

@@ -6,6 +6,16 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		freeradius-server
 PKG_VERSION:=		2.1.7
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libtool openssl
+ifneq ($(ADK_PACKAGE_FREERADIUS_MOD_LDAP),)
+PKG_BUILDDEP+=		openldap
+endif
+ifneq ($(ADK_PACKAGE_FREERADIUS_MOD_SQL_MYSQL),)
+PKG_BUILDDEP+=		mysql
+endif
+ifneq ($(ADK_PACKAGE_FREERADIUS_MOD_SQL_PGSQL),)
+PKG_BUILDDEP+=		postgresql
+endif
 PKG_MD5SUM:=		b1f77c5e3116bcb0ac0aa9080a06ebf1
 PKG_DESCR:=		a flexible RADIUS server
 PKG_SECTION:=		net

+ 1 - 0
package/freetype/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		libfreetype
 PKG_VERSION:=		2.3.11
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		zlib
 PKG_MD5SUM:=		519c7cbf5cbd72ffa822c66844d3114c
 PKG_DESCR:=		A free, high-quality and portable font engine
 PKG_SECTION:=		libs

+ 1 - 0
package/gatling/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME=		gatling
 PKG_VERSION=		0.10
 PKG_RELEASE=		1
+PKG_BUILDDEP+=		libowfat libiconv
 PKG_MD5SUM=		04e8434156d91657c77a8a038c5b27cf
 PKG_DESCR:=		small non-forking webserver
 PKG_SECTION:=		net

+ 1 - 0
package/gcc/Makefile

@@ -8,6 +8,7 @@ PKG_DESCR:=		GNU compiler collection
 PKG_SECTION:=		comp
 PKG_DEPENDS:=		mpfr
 PKG_OPTS:=		noremove
+PKG_BUILDDEP+=		gmp mpfr
 
 include ${TOPDIR}/mk/package.mk
 

+ 1 - 0
package/gdb/Makefile

@@ -7,6 +7,7 @@ include ${TOPDIR}/toolchain/gdb/Makefile.inc
 PKG_DESCR:=		GNU debugger
 PKG_SECTION:=		comp
 PKG_DEPENDS:=		libthread_db libncurses
+PKG_BUILDDEP+=		ncurses readline
 
 include ${TOPDIR}/mk/package.mk
 

+ 1 - 0
package/gettext/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME=		gettext
 PKG_VERSION=		0.16.1
 PKG_RELEASE=		1
+PKG_BUILDDEP+=		libiconv libpthread
 PKG_MD5SUM=		3d9ad24301c6d6b17ec30704a13fe127
 PKG_DESCR:=		internationalisation library
 PKG_SECTION:=		libs

+ 1 - 0
package/git/Makefile

@@ -6,6 +6,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		git
 PKG_VERSION:=		1.6.5.5
 PKG_RELEASE:=		2
+PKG_BUILDDEP+=		openssl curl expat
 PKG_MD5SUM:=		50fb736021ef89916af622cb4772bbea
 PKG_DESCR:=		fast version control system
 PKG_SECTION:=		misc

+ 1 - 0
package/gkrellmd/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		gkrellmd
 PKG_VERSION:=		2.3.2
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		glib
 PKG_MD5SUM:=		db8a983a60577a6b4886db96d6def011
 PKG_DESCR:=		The GNU Krell Monitors Server
 PKG_SECTION:=		net

+ 1 - 0
package/glib/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		glib
 PKG_VERSION:=		2.22.2
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		gettext libiconv
 PKG_MD5SUM:=		00eb873975e2ef9361b8177131c7c943
 PKG_DESCR:=		low-level core library that forms the basis of GTK+
 PKG_SECTION:=		libs

+ 1 - 0
package/gmediaserver/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		gmediaserver
 PKG_VERSION:=		0.13.0
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		id3lib libupnp
 PKG_MD5SUM:=		c422de386331e2a1a859d45f6fa270a3
 PKG_DESCR:=		An UPnP music media server
 PKG_SECTION:=		net

+ 1 - 0
package/gnutls/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		gnutls
 PKG_VERSION:=		2.8.5
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libgcrypt liblzo libtasn1 opencdk zlib ncurses
 PKG_MD5SUM:=		e3b2788b79bfc82acbe717e3c54d4e92
 PKG_DESCR:=		GNU TLS library
 PKG_SECTION:=		libs

+ 4 - 0
package/gpsd/Makefile

@@ -6,6 +6,10 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		gpsd
 PKG_VERSION:=		2.39
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		ncurses
+ifeq (${ADK_COMPILE_GPSD_WITH_UCLIBCXX},y)
+PKG_BUILDDEP+=		uclibc++
+endif
 PKG_MD5SUM:=		3db437196a6840c252fca99b6c19d4d0
 PKG_DESCR:=		An interface daemon for GPS receivers
 PKG_SECTION:=		net

+ 1 - 0
package/gtk+/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		gtk+
 PKG_VERSION:=		2.18.3
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		cairo atk pango libXext renderproto libXrender
 PKG_MD5SUM:=		8b34f75642ff6cc783dfa7e3af0ba443
 PKG_DESCR:=		GTK+ library
 PKG_SECTION:=		libs

+ 7 - 0
package/heimdal/Makefile

@@ -6,6 +6,13 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		heimdal
 PKG_VERSION:=		1.2.1
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		openssl ncurses e2fsprogs
+ifeq (${ADK_COMPILE_HEIMDAL_WITH_DB_BDB},y)
+PKG_BUILDDEP+=		libdb
+endif
+ifeq (${ADK_COMPILE_HEIMDAL_WITH_DB_LDAP},y)
+PKG_BUILDDEP+=		openldap
+endif
 PKG_MD5SUM:=		6e5028077e2a6b101a4a72801ba71b9e
 PKG_DESCR:=		Kerberos 5 server
 PKG_SECTION:=		net

+ 1 - 0
package/hostapd/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		hostapd
 PKG_VERSION:=		0.6.9
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libnl openssl
 PKG_MD5SUM:=		83630d11fa66ade9091f1b304fccd74c
 PKG_DESCR:=		an IEEE 802.11 AP, IEEE 802.1x/WPA/WPA2/EAP/RADIUS Authenticator
 PKG_SECTION:=		net

+ 1 - 0
package/httping/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		httping
 PKG_VERSION:=		1.3.0
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		openssl
 PKG_MD5SUM:=		41c912a9ecc904e51d7260053fc2195c
 PKG_DESCR:=		Httping is like 'ping' but for http-requests
 PKG_SECTION:=		net

+ 1 - 0
package/icecast/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		icecast
 PKG_VERSION:=		2.3.2
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		curl libvorbis libxml2 libxslt
 PKG_MD5SUM:=		ff516b3ccd2bcc31e68f460cd316093f
 PKG_DESCR:=		A streaming media server
 PKG_SECTION:=		net

+ 4 - 0
package/id3lib/Makefile

@@ -6,6 +6,10 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		id3lib
 PKG_VERSION:=		3.8.3
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		zlib libiconv
+ifeq (${ADK_COMPILE_ID3LIB_WITH_UCLIBCXX},y)
+PKG_BUILDDEP+=		uclibc++
+endif
 PKG_MD5SUM:=		19f27ddd2dda4b2d26a559a4f0f402a7
 PKG_DESCR:=		An ID3v1/ID3v2 tagging library
 PKG_SECTION:=		libs

+ 1 - 0
package/iftop/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		iftop
 PKG_VERSION:=		0.17
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libpcap libpthread ncurses
 PKG_MD5SUM:=		062bc8fb3856580319857326e0b8752d
 PKG_DESCR:=		display bandwith usage on an interface
 PKG_SECTION:=		net

+ 1 - 0
package/ipcad/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		ipcad
 PKG_VERSION:=		3.7.3
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libpcap
 PKG_MD5SUM:=		125605249958894148ec26d3c88189f5
 PKG_DESCR:=		IP Cisco Accounting Daemon
 PKG_SECTION:=		net

+ 3 - 0
package/iperf/Makefile

@@ -6,6 +6,9 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		iperf
 PKG_VERSION:=		2.0.4
 PKG_RELEASE:=		1
+ifeq (${ADK_COMPILE_IPERF_WITH_UCLIBCXX},y)
+PKG_BUILDDEP+=		uclibc++
+endif
 PKG_MD5SUM:=		8c5bc14cc2ea55f18f22afe3c23e3dcb
 PKG_DESCR:=		Internet Protocol bandwidth measuring tool
 PKG_SECTION:=		net

+ 3 - 0
package/iproute2/Makefile

@@ -6,6 +6,9 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		iproute2
 PKG_VERSION:=		2.6.29-1
 PKG_RELEASE:=		2
+ifneq ($(strip ${ADK_PACKAGE_TC_ATM}),)
+PKG_BUILDDEP+=		linux-atm
+endif
 PKG_MD5SUM:=		c1bc258a6c345905e79935ac7a3cc582
 PKG_DESCR:=		iproute2 routing control utility
 PKG_SECTION:=		net

+ 1 - 0
package/ipsec-tools/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		ipsec-tools
 PKG_VERSION:=		0.7.2
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		openssl
 PKG_MD5SUM:=		72861f005746ee27984b2ee715ecc629
 PKG_DESCR:=		IPsec management tools
 PKG_SECTION:=		net

+ 1 - 0
package/iptables-snmp/Makefile

@@ -6,6 +6,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		iptables-snmp
 PKG_VERSION:=		0.1
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		net-snmp
 PKG_MD5SUM:=		8370d2f0c899461a053da491400119d1
 PKG_DESCR:=		iptables support for net-snmp
 PKG_SECTION:=		net

+ 1 - 0
package/iptraf/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		iptraf
 PKG_VERSION:=		3.0.0
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		ncurses
 PKG_MD5SUM:=		377371c28ee3c21a76f7024920649ea8
 PKG_DESCR:=		A console-based network monitoring program.
 PKG_SECTION:=		net

+ 4 - 0
package/irssi/Makefile

@@ -6,6 +6,10 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		irssi
 PKG_VERSION:=		0.8.13
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		glib ncurses
+ifeq (${ADK_PACKAGE_IRSSI_SSL},y)
+PKG_BUILDDEP+=		openssl
+endif
 PKG_MD5SUM:=		0d6fc2203832b514eff014fffd574664
 PKG_DESCR:=		IRC text client
 PKG_SECTION:=		text

+ 1 - 0
package/iw/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		iw
 PKG_VERSION:=		0.9.17
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libnl
 PKG_MD5SUM:=		427841093ac11c5cbc025a3e13aac139
 PKG_DESCR:=		Tools for setting up WiFi cards via netlink (nl80211)
 PKG_SECTION:=		net

+ 1 - 0
package/jamvm/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		jamvm
 PKG_VERSION:=		1.5.3
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libffi zlib
 PKG_MD5SUM:=		ce886163658d748113b0570dfae12aea
 PKG_DESCR:=		A Java Virtual Machine (JVM) implementation
 PKG_SECTION:=		misc

+ 4 - 0
package/kismet/Makefile

@@ -6,6 +6,10 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		kismet
 PKG_VERSION:=		2008-05-R1
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libpcap ncurses
+ifeq (${ADK_COMPILE_KISMET_WITH_UCLIBCXX},y)
+PKG_BUILDDEP+=		uclibc++
+endif
 PKG_MD5SUM:=		6ee365d36354b4dee4945e67f8149294
 PKG_SITES:=		http://www.kismetwireless.net/code/
 

+ 1 - 0
package/knock/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		knock
 PKG_VERSION:=		0.5
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libpcap
 PKG_MD5SUM:=		ca09d61458974cff90a700aba6120891
 PKG_DESCR:=		A port-knocking client
 PKG_SECTION:=		net

+ 1 - 0
package/krb5/Makefile

@@ -6,6 +6,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		krb5
 PKG_VERSION:=		1.7
 PKG_RELEASE:=		2
+PKG_BUILDDEP+=		ncurses e2fsprogs
 PKG_MD5SUM:=		9f7b3402b4731a7fa543db193bf1b564
 PKG_DESCR:=		MIT kerberos server
 PKG_SECTION:=		net

+ 1 - 0
package/l2tpns/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		l2tpns
 PKG_VERSION:=		2.1.21
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libcli
 PKG_MD5SUM:=		385c58055723ebc6c38062acd2db9c2c
 PKG_DESCR:=		A layer 2 tunneling protocol network server (LNS)
 PKG_SECTION:=		net

+ 1 - 0
package/less/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		less
 PKG_VERSION:=		429
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		ncurses
 PKG_MD5SUM:=		206f2f13b9b0a35e45df660fcb6af31d
 PKG_DESCR:=		A text mode pager
 PKG_SECTION:=		text

+ 1 - 0
package/libICE/Makefile

@@ -6,6 +6,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		libICE
 PKG_VERSION:=		1.0.6
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		xtrans
 PKG_MD5SUM:=		4a8f09f15fc92196b91d61e2dc9afcea
 PKG_DESCR:=		Inter-Client Exchange library
 PKG_SECTION:=		x11

+ 1 - 0
package/libSM/Makefile

@@ -6,6 +6,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		libSM
 PKG_VERSION:=		1.1.1
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libICE
 PKG_MD5SUM:=		1ee90d479298e48df7bb86a7ccbe00c9
 PKG_DESCR:=		X11 Session Management library
 PKG_SECTION:=		x11

+ 1 - 0
package/libX11/Makefile

@@ -6,6 +6,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		libX11
 PKG_VERSION:=		1.3.2
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		xproto xextproto xtrans libXdmcp libXau xcmiscproto bigreqsproto kbproto inputproto
 PKG_MD5SUM:=		b68aebbfcac1174c4c95d260e9369766
 PKG_DESCR:=		X11 client-side library
 PKG_SECTION:=		x11

+ 1 - 0
package/libXaw/Makefile

@@ -6,6 +6,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		libXaw
 PKG_VERSION:=		1.0.7
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libXext libXmu libXpm
 PKG_MD5SUM:=		67662e6b2dceb2907159215c83364c5a
 PKG_DESCR:=		X11 Athena Widget library
 PKG_SECTION:=		x11

+ 1 - 0
package/libXext/Makefile

@@ -6,6 +6,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		libXext
 PKG_VERSION:=		1.1.1
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libX11
 PKG_MD5SUM:=		6b61b3f657befded8ae66e04085c413e
 PKG_DESCR:=		X client interface to extensions of the X protocol
 PKG_SECTION:=		x11

+ 1 - 0
package/libXfont/Makefile

@@ -6,6 +6,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		libXfont
 PKG_VERSION:=		1.4.1
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		freetype fontcacheproto fontsproto libfontenc
 PKG_MD5SUM:=		bf134b9f79a7fc6507577bf5b6d4f412
 PKG_DESCR:=		X font Library
 PKG_SECTION:=		x11

+ 1 - 0
package/libXmu/Makefile

@@ -6,6 +6,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		libXmu
 PKG_VERSION:=		1.0.5
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libXt
 PKG_MD5SUM:=		f49e3587cdc299707da0786a681f9c05
 PKG_DESCR:=		miscellaneous utility functions for X libraries
 PKG_SECTION:=		x11

+ 1 - 0
package/libXt/Makefile

@@ -6,6 +6,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		libXt
 PKG_VERSION:=		1.0.7
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libSM
 PKG_MD5SUM:=		28f627c7a5ca08c2413ce91d21c177d8
 PKG_DESCR:=		X Toolkit Intrinsics
 PKG_SECTION:=		x11

+ 1 - 0
package/libXv/Makefile

@@ -6,6 +6,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		libXv
 PKG_VERSION:=		1.0.5
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libX11 videoproto
 PKG_MD5SUM:=		6ee98790de6b3cd470074e60057d5c5c
 PKG_DESCR:=		X11 Xvideo extensions
 PKG_SECTION:=		x11

+ 1 - 0
package/libXxf86dga/Makefile

@@ -6,6 +6,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		libXxf86dga
 PKG_VERSION:=		1.1.1
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		xf86dgaproto libXext libXaw
 PKG_MD5SUM:=		ecb81708157e1a1eeaba0e124f0ade08
 PKG_DESCR:=		client library for the XFree86-DGA extension
 PKG_SECTION:=		x11

+ 1 - 0
package/libfontenc/Makefile

@@ -6,6 +6,7 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		libfontenc
 PKG_VERSION:=		1.0.5
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		xproto zlib
 PKG_MD5SUM:=		0fa1988d08021225d18ced519a30d2b1
 PKG_DESCR:=		helps to deal with different encodings of fonts
 PKG_SECTION:=		x11

+ 1 - 0
package/libgcrypt/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		libgcrypt
 PKG_VERSION:=		1.4.4
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libgpg-error
 PKG_MD5SUM:=		9e6dcf7fef1ae96b57207a1de91fdaa4
 PKG_DESCR:=		GNU crypto library
 PKG_SECTION:=		libs

+ 1 - 0
package/libgd/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		gd
 PKG_VERSION:=		2.0.35
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libpng jpeg
 PKG_MD5SUM:=		982963448dc36f20cb79b6e9ba6fdede
 PKG_DESCR:=		A library for the dynamic creation of images
 PKG_SECTION:=		libs

+ 1 - 0
package/libid3tag/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		libid3tag
 PKG_VERSION:=		0.15.1b
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		zlib
 PKG_MD5SUM:=		e5808ad997ba32c498803822078748c3
 PKG_DESCR:=		an ID3 tag manipulation library
 PKG_SECTION:=		libs

+ 1 - 0
package/libnet/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		libnet
 PKG_VERSION:=		1.1.4
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libpcap
 PKG_MD5SUM:=		c5e06418a89cc4209f677a776a798fd9
 PKG_DESCR:=		a low-level packet creation library
 PKG_SECTION:=		libs

+ 1 - 0
package/libnids/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		libnids
 PKG_VERSION:=		1.23
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libnet libpcap
 PKG_MD5SUM:=		af35e8ef403a0ca95df2da94db856428
 PKG_DESCR:=		Network Intrusion Detection System library
 PKG_SECTION:=		libs

+ 1 - 0
package/libp11/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		libp11
 PKG_VERSION:=		0.2.4
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		openssl libtool
 PKG_MD5SUM:=		9e2c5cbececde245e2d2f535bd49ce35
 PKG_DESCR:=		library implementing a small layer on top of PKCS11 API
 PKG_SECTION:=		libs

+ 1 - 0
package/libpng/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		libpng
 PKG_VERSION:=		1.2.36
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		zlib
 PKG_MD5SUM:=		4779cd011409ea9b591e11638781f0bf
 PKG_DESCR:=		A library for reading/writing PNG images
 PKG_SECTION:=		libs

+ 1 - 0
package/libshout/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		libshout
 PKG_VERSION:=		2.2.2
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libvorbis
 PKG_MD5SUM:=		4f75fc9901c724b712c371c9a1e782d3
 PKG_DESCR:=		Library which can be used to write a source client for streaming
 PKG_SECTION:=		libs

+ 1 - 0
package/libtirpc/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		libtirpc
 PKG_VERSION:=		0.2.0
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libgssglue
 PKG_MD5SUM:=		b3b513a8825aa227deac63ea38c64f41
 PKG_DESCR:=		a transport independent RPC library
 PKG_SECTION:=		libs

+ 1 - 0
package/libtorrent/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		libtorrent
 PKG_VERSION:=		0.12.5
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		openssl libsigc++
 PKG_MD5SUM:=		fe8155d364b220713074423100d4bf29
 PKG_DESCR:=		A bittorrent library
 PKG_SECTION:=		libs

+ 1 - 0
package/libusb-compat/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		libusb-compat
 PKG_VERSION:=		0.1.1
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libusb
 PKG_MD5SUM:=		32c775b97da7a11c6be7c487a0c9fc00
 PKG_DESCR:=		a Library for accessing Linux USB devices
 PKG_SECTION:=		libs

+ 1 - 0
package/libvirt/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		libvirt
 PKG_VERSION:=		0.7.4
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libxml2 gnutls python
 PKG_MD5SUM:=		1645975662a326969d2f42d5c04574aa
 PKG_DESCR:=		virtualization API
 PKG_SECTION:=		utils

+ 1 - 0
package/libvorbis/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		libvorbis
 PKG_VERSION:=		1.2.0
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libogg
 PKG_MD5SUM:=		478646358c49f34aedcce58948793619
 PKG_DESCR:=		The Vorbis General Audio Compression Codec library
 PKG_SECTION:=		libs

+ 1 - 0
package/libxml2/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		libxml2
 PKG_VERSION:=		2.7.3
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		zlib
 PKG_MD5SUM:=		8f4fda3969237c2a33bdb1583b5d06b2
 PKG_DESCR:=		XML C parser and toolkit
 PKG_SECTION:=		libs

+ 1 - 0
package/libxslt/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		libxslt
 PKG_VERSION:=		1.1.24
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		libxml2
 PKG_MD5SUM:=		e83ec5d27fc4c10c6f612879bea9a153
 PKG_DESCR:=		XSLT Library
 PKG_SECTION:=		libs

+ 4 - 0
package/lighttpd/Makefile

@@ -6,6 +6,10 @@ include $(TOPDIR)/rules.mk
 PKG_NAME:=		lighttpd
 PKG_VERSION:=		1.4.25
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		pcre libxml2 sqlite
+ifeq (${ADK_COMPILE_LIGHTTPD_WITH_OPENSSL},y)
+PKG_BUILDDEP+=		openssl
+endif
 PKG_MD5SUM:=		87e936ec272ddaba8a2fdfecd8c6b704
 PKG_DESCR:=		a flexible and lightweight web server
 PKG_SECTION:=		net

+ 1 - 0
package/links/Makefile

@@ -6,6 +6,7 @@ include ${TOPDIR}/rules.mk
 PKG_NAME:=		links
 PKG_VERSION:=		2.2
 PKG_RELEASE:=		1
+PKG_BUILDDEP+=		openssl libpng jpeg gpm
 PKG_MD5SUM:=		c9937f9ed0061f264973182f871fb667
 PKG_DESCR:=		web browser with console graphic support
 PKG_SECTION:=		net

Some files were not shown because too many files changed in this diff