add speex (required for asterisk)
[openwrt.git] / openwrt / package / Makefile
1 # Main makefile for the packages
2 include $(TOPDIR)/rules.mk
3
4 package-:=tcp_wrappers
5 package-y:=openwrt
6 package-$(BR2_PACKAGE_AICCU) += aiccu
7 package-$(BR2_PACKAGE_ARPTABLES) += arptables
8 package-$(BR2_PACKAGE_ARPWATCH) += arpwatch
9 package-$(BR2_PACKAGE_BRIDGE) += bridge
10 package-$(BR2_PACKAGE_BUSYBOX) += busybox
11 package-$(BR2_PACKAGE_BWM) += bwm
12 package-$(BR2_PACKAGE_CHILLISPOT) += chillispot
13 package-$(BR2_PACKAGE_CIFSMOUNT) += cifsmount
14 package-$(BR2_PACKAGE_CUPS) += cups
15 package-$(BR2_PACKAGE_DROPBEAR) += dropbear
16 package-$(BR2_PACKAGE_DNSMASQ) += dnsmasq
17 package-$(BR2_PACKAGE_EBTABLES) += ebtables
18 package-$(BR2_PACKAGE_EZIPUPDATE) += ez-ipupdate
19 package-$(BR2_PACKAGE_FPING) += fping
20 package-$(BR2_PACKAGE_FUSE) += fuse
21 package-$(BR2_PACKAGE_GLIB) += glib
22 package-$(BR2_PACKAGE_GMP) += gmp
23 package-$(BR2_PACKAGE_HASERL) += haserl
24 package-$(BR2_PACKAGE_IPTABLES) += iptables
25 package-$(BR2_PACKAGE_IPROUTE2) += iproute2
26 package-$(BR2_PACKAGE_LCD4LINUX) += lcd4linux
27 package-$(BR2_PACKAGE_LIBELF) += libelf
28 package-$(BR2_PACKAGE_LIBGCC) += libgcc
29 package-$(BR2_PACKAGE_LIBPTHREAD) += libpthread
30 package-$(BR2_PACKAGE_LZO) += lzo
31 package-$(BR2_PACKAGE_MATRIXSSL) += matrixssl
32 package-$(BR2_PACKAGE_MICROPERL) += microperl
33 package-$(BR2_PACKAGE_NCURSES) += ncurses
34 package-$(BR2_PACKAGE_NFSD) += nfs-server
35 package-$(BR2_PACKAGE_NOCATSPLASH) += nocatsplash
36 package-$(BR2_PACKAGE_NTPCLIENT) += ntpclient
37 package-$(BR2_PACKAGE_OPENSSL) += openssl
38 package-$(BR2_PACKAGE_OPENSWAN) += openswan
39 package-$(BR2_PACKAGE_OPENNTPD) += openntpd
40 package-$(BR2_PACKAGE_OPENVPN) += openvpn
41 package-$(BR2_PACKAGE_PCRE) += pcre
42 package-$(BR2_PACKAGE_POPT) += popt
43 package-$(BR2_PACKAGE_PORTMAP) += portmap
44 package-$(BR2_PACKAGE_PPP) += ppp
45 package-$(BR2_PACKAGE_PPTP) += pptp
46 package-$(BR2_PACKAGE_PPTPD) += pptpd
47 package-$(BR2_PACKAGE_QUAGGA) += quagga
48 package-$(BR2_PACKAGE_RADVD) += radvd
49 package-$(BR2_PACKAGE_SER) += ser
50 package-$(BR2_PACKAGE_SETSERIAL) += setserial
51 package-$(BR2_PACKAGE_SHFS) += shfs
52 package-$(BR2_PACKAGE_SPEEX) += speex
53 package-$(BR2_PACKAGE_STRACE) += strace
54 package-$(BR2_PACKAGE_TCPDUMP) += tcpdump
55 package-$(BR2_PACKAGE_WIRELESS_TOOLS) += wireless-tools
56 package-$(BR2_PACKAGE_WOL) += wol
57 package-$(BR2_PACKAGE_ZLIB) += zlib
58 package-$(BR2_PACKAGE_DHCPFWD) += dhcp-forwarder
59 package-$(BR2_PACKAGE_LIBNET) += libnet
60 package-$(BR2_PACKAGE_LIBMYSQLCLIENT) += mysql
61 package-$(BR2_PACKAGE_LIBPCAP) += libpcap
62 package-$(BR2_PACKAGE_LIBPQ) += postgresql
63
64 all: compile install
65 clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m)) linux-clean
66 compile: $(patsubst %,%-compile,$(package-y) $(package-m))
67 install: $(patsubst %,%-install,$(package-y))
68
69 ifeq ($(BR2_PACKAGE_OPENVPN_LZO),y)
70 openvpn-compile: lzo-compile
71 endif
72
73 openswan-compile: gmp-compile
74 nocatsplash-compile: glib-compile
75 arpwatch-compile: libpcap-compile
76 tcpdump-compile: libpcap-compile
77 dropbear-compile: zlib-compile
78 openssl-compile: zlib-compile
79 openvpn-compile: openssl-compile
80 nfs-server-compile: portmap-compile
81 portmap-compile: tcp_wrappers-compile
82 lcd4linux-compile: ncurses-compile
83 libnet-compile: libpcap-compile
84 mysql-compile: ncurses-compile zlib-compile
85 postgresql-compile: zlib-compile
86
87 $(patsubst %,%-prepare,$(package-y) $(package-m) $(package-)): linux-install
88
89 %-prepare:
90 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
91 @touch $(STAMP_DIR)/.$@
92
93 %-compile: %-prepare
94 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-compile,%,$@) compile
95 @touch $(STAMP_DIR)/.$@
96
97 %-install: %-compile
98 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-install,%,$@) install
99 @touch $(STAMP_DIR)/.$@
100
101 %-clean:
102 @$(MAKE) -C $(patsubst %-clean,%,$@) clean
103 @rm -f $(STAMP_DIR)/.$(patsubst %-clean,%,$@)-*
104
This page took 0.042898 seconds and 5 git commands to generate.