+libnet-compile: libpcap-compile
+mysql-compile: ncurses-compile zlib-compile
+postgresql-compile: zlib-compile
+nmap-compile: uclibc++-compile pcre-compile libpcap-compile
+kismet-compile: uclibc++-compile libpcap-compile ncurses-compile
+tinc-compile: zlib-compile openssl-compile lzo-compile
+fprobe-compile: libpcap-compile
+cyrus-sasl-compile: openssl-compile
+openldap-compile: cyrus-sasl-compile openssl-compile
+siproxd-compile: libosip2-compile
+sipsak-compile: openssl-compile
+lighttpd-compile: openssl-compile pcre-compile
+osiris-compile: openssl-compile
+freeradius-compile: libtool-compile mysql-compile openldap-compile openssl-compile postgresql-compile
+
+pmacct-compile: libpcap-compile
+ifneq ($(BR2_PACKAGE_PMACCT_MYSQL),)
+pmacct-compile: mysql-compile
+endif
+ifneq ($(BR2_PACKAGE_PMACCT_PGSQL),)
+pmacct-compile: postgresql-compile
+endif
+
+snort-compile: libnet-compile libpcap-compile pcre-compile
+ifeq ($(BR2_PACKAGE_SNORT_MYSQL),y)
+snort-compile: mysql-compile
+endif
+ifeq ($(BR2_PACKAGE_SNORT_PGSQL),y)
+snort-compile: postgresql-compile
+endif
+ifeq ($(BR2_PACKAGE_SNORT_ENABLE_INLINE),y)
+snort-compile: iptables-compile
+endif
+
+ulogd-compile: iptables-compile
+ifneq ($(BR2_PACKAGE_ULOGD_MYSQL),)
+ulogd-compile: mysql-compile
+endif
+ifneq ($(BR2_PACKAGE_ULOGD_PGSQL),)
+ulogd-compile: postgresql-compile
+endif
+
+sdk-compile: $(DEV_LIBS_COMPILE) $(SDK_DEFAULT_COMPILE) openwrt-install
+$(patsubst %,%-prepare,$(package-y) $(package-m) $(package-)): linux-install