Add rp-pppoe package
[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_ASTERISK) += asterisk
10 package-$(BR2_PACKAGE_ASTERISK) += atftp
11 package-$(BR2_PACKAGE_BIND) += bind
12 package-$(BR2_PACKAGE_BRIDGE) += bridge
13 package-$(BR2_PACKAGE_BUSYBOX) += busybox
14 package-$(BR2_PACKAGE_BWM) += bwm
15 package-$(BR2_PACKAGE_CHILLISPOT) += chillispot
16 package-$(BR2_PACKAGE_CIFSMOUNT) += cifsmount
17 package-$(BR2_PACKAGE_CUPS) += cups
18 package-$(BR2_PACKAGE_CYRUS_SASL) += cyrus-sasl
19 package-$(BR2_PACKAGE_DHCP) += dhcp
20 package-$(BR2_PACKAGE_DHCP_FORWARDER) += dhcp-forwarder
21 package-$(BR2_PACKAGE_DNSMASQ) += dnsmasq
22 package-$(BR2_PACKAGE_DROPBEAR) += dropbear
23 package-$(BR2_PACKAGE_DSNIFF) += dsniff
24 package-$(BR2_PACKAGE_EBTABLES) += ebtables
25 package-$(BR2_PACKAGE_EZIPUPDATE) += ez-ipupdate
26 package-$(BR2_PACKAGE_FPING) += fping
27 package-$(BR2_PACKAGE_FPROBE) += fprobe
28 package-$(BR2_PACKAGE_FPROBE_ULOG) += fprobe-ulog
29 package-$(BR2_PACKAGE_FREERADIUS) += freeradius
30 package-$(BR2_PACKAGE_FRICKIN) += frickin
31 package-$(BR2_PACKAGE_FUSE) += fuse
32 package-$(BR2_PACKAGE_GDBSERVER) += gdbserver
33 package-$(BR2_PACKAGE_GLIB) += glib
34 package-$(BR2_PACKAGE_GMP) += gmp
35 package-$(BR2_PACKAGE_GNUTLS) += gnutls
36 package-$(BR2_PACKAGE_HASERL) += haserl
37 package-$(BR2_PACKAGE_HOWL) += howl
38 package-$(BR2_PACKAGE_HTPDATE) += htpdate
39 package-$(BR2_PACKAGE_IPKG) += ipkg
40 package-$(BR2_PACKAGE_IPROUTE2) += iproute2
41 package-$(BR2_PACKAGE_IPTABLES) += iptables
42 package-$(BR2_PACKAGE_IRSSI) += irssi
43 package-$(BR2_PACKAGE_KISMET) += kismet
44 package-$(BR2_PACKAGE_L2TPD) += l2tpd
45 package-$(BR2_PACKAGE_LCD4LINUX) += lcd4linux
46 package-$(BR2_PACKAGE_LESS) += less
47 package-$(BR2_PACKAGE_LIBDB) += libdb
48 package-$(BR2_PACKAGE_LIBELF) += libelf
49 package-$(BR2_PACKAGE_LIBEVENT) += libevent
50 package-$(BR2_PACKAGE_LIBFFI_SABLE) += libffi-sable
51 package-$(BR2_PACKAGE_LIBGCRYPT) += libgcrypt
52 package-$(BR2_PACKAGE_LIBGD) += libgd
53 package-$(BR2_PACKAGE_LIBGDBM) += libgdbm
54 package-$(BR2_PACKAGE_LIBGPG_ERROR) += libgpg-error
55 package-$(BR2_PACKAGE_LIBNET) += libnet
56 package-$(BR2_PACKAGE_LIBNIDS) += libnids
57 package-$(BR2_PACKAGE_LIBOSIP2) += libosip2
58 package-$(BR2_PACKAGE_LIBPCAP) += libpcap
59 package-$(BR2_PACKAGE_LIBPNG) += libpng
60 package-$(BR2_PACKAGE_LIBPTHREAD) += libpthread
61 package-$(BR2_PACKAGE_LIBTASN1) += libtasn1
62 package-$(BR2_PACKAGE_LIBTOOL) += libtool
63 package-$(BR2_PACKAGE_LIBUSB) += libusb
64 package-$(BR2_PACKAGE_LIGHTTPD) += lighttpd
65 package-$(BR2_PACKAGE_LUA) += lua
66 package-$(BR2_PACKAGE_LZO) += lzo
67 package-$(BR2_PACKAGE_MARADNS) += maradns
68 package-$(BR2_PACKAGE_MATRIXSSL) += matrixssl
69 package-$(BR2_PACKAGE_MICROCOM) += microcom
70 package-$(BR2_PACKAGE_MICROPERL) += microperl
71 package-$(BR2_PACKAGE_MINI_HTTPD) += mini_httpd
72 package-$(BR2_PACKAGE_MINI_SENDMAIL) += mini_sendmail
73 package-$(BR2_PACKAGE_MONIT) += monit
74 package-$(BR2_PACKAGE_MYSQL) += mysql
75 package-$(BR2_PACKAGE_NCURSES) += ncurses
76 package-$(BR2_PACKAGE_NDISC) += ndisc
77 package-$(BR2_PACKAGE_NET_SNMP) += net-snmp
78 package-$(BR2_PACKAGE_NFS_SERVER) += nfs-server
79 package-$(BR2_PACKAGE_NMAP) += nmap
80 package-$(BR2_PACKAGE_NOCATSPLASH) += nocatsplash
81 package-$(BR2_PACKAGE_NTPCLIENT) += ntpclient
82 package-$(BR2_PACKAGE_OLSRD) += olsrd
83 package-$(BR2_PACKAGE_OPENCDK) += opencdk
84 package-$(BR2_PACKAGE_OPENLDAP) += openldap
85 package-$(BR2_PACKAGE_OPENNTPD) += openntpd
86 package-$(BR2_PACKAGE_OPENSSH) += openssh
87 package-$(BR2_PACKAGE_OPENSSL) += openssl
88 package-$(BR2_PACKAGE_OPENSWAN) += openswan
89 package-$(BR2_PACKAGE_OPENVPN) += openvpn
90 package-$(BR2_PACKAGE_OSIRIS) += osiris
91 package-$(BR2_PACKAGE_PCRE) += pcre
92 package-$(BR2_PACKAGE_PHP4) += php4
93 package-$(BR2_PACKAGE_PICOCOM) += picocom
94 package-$(BR2_PACKAGE_PMACCT) += pmacct
95 package-$(BR2_PACKAGE_POPT) += popt
96 package-$(BR2_PACKAGE_PORTMAP) += portmap
97 package-$(BR2_PACKAGE_POSTGRESQL) += postgresql
98 package-$(BR2_PACKAGE_PPP) += ppp
99 package-$(BR2_PACKAGE_PPTP) += pptp
100 package-$(BR2_PACKAGE_PPTPD) += pptpd
101 package-$(BR2_PACKAGE_QUAGGA) += quagga
102 package-$(BR2_PACKAGE_RADVD) += radvd
103 package-$(BR2_PACKAGE_READLINE) += readline
104 package-$(BR2_PACKAGE_ROBOCFG) += robocfg
105 package-$(BR2_PACKAGE_RP_PPPOE) += rp-pppoe
106 package-$(BR2_PACKAGE_RSYNC) += rsync
107 package-$(BR2_PACKAGE_SABLEVM) += sablevm
108 package-$(BR2_PACKAGE_SABLEVM_CLASSPATH) += sablevm-classpath
109 package-$(BR2_PACKAGE_SCREEN) += screen
110 package-$(BR2_PACKAGE_SDK) += sdk
111 package-$(BR2_PACKAGE_SER) += ser
112 package-$(BR2_PACKAGE_SETSERIAL) += setserial
113 package-$(BR2_PACKAGE_SHAT) += shat
114 package-$(BR2_PACKAGE_SHFS) += shfs
115 package-$(BR2_PACKAGE_SIPROXD) += siproxd
116 package-$(BR2_PACKAGE_SIPSAK) += sipsak
117 package-$(BR2_PACKAGE_SNORT) += snort
118 package-$(BR2_PACKAGE_SPEEX) += speex
119 package-$(BR2_PACKAGE_SQLITE) += sqlite
120 package-$(BR2_PACKAGE_SQLITE2) += sqlite2
121 package-$(BR2_PACKAGE_SSMTP) += ssmtp
122 package-$(BR2_PACKAGE_STRACE) += strace
123 package-$(BR2_PACKAGE_TCPDUMP) += tcpdump
124 package-$(BR2_PACKAGE_TINC) += tinc
125 package-$(BR2_PACKAGE_TOR) += tor
126 package-$(BR2_PACKAGE_TTCP) += ttcp
127 package-$(BR2_PACKAGE_UCLIBCXX) += uclibc++
128 package-$(BR2_PACKAGE_ULOGD) += ulogd
129 package-$(BR2_PACKAGE_USBUTILS) += usbutils
130 package-$(BR2_PACKAGE_VTUN) += vtun
131 package-$(BR2_PACKAGE_VSFTPD) += vsftpd
132 package-$(BR2_PACKAGE_WIFICONF) += wificonf
133 package-$(BR2_PACKAGE_WIRELESS_TOOLS) += wireless-tools
134 package-$(BR2_PACKAGE_WOL) += wol
135 package-$(BR2_PACKAGE_WPA_SUPPLICANT) += wpa_supplicant
136 package-$(BR2_PACKAGE_WPUT) += wput
137 package-$(BR2_PACKAGE_XINETD) += xinetd
138 package-$(BR2_PACKAGE_ZLIB) += zlib
139
140 DEV_LIBS:=tcp_wrappers glib ncurses openssl pcre popt zlib libnet libpcap mysql postgresql iptables matrixssl lzo gmp fuse portmap libelf uclibc++ speex libpng libgd wireless-tools
141 DEV_LIBS_COMPILE:=$(patsubst %,%-compile,$(DEV_LIBS))
142 SDK_DEFAULT_PACKAGES:=busybox dnsmasq iptables wireless-tools dropbear bridge ipkg ppp
143 SDK_DEFAULT_COMPILE:=$(patsubst %,%-compile,$(SDK_DEFAULT_PACKAGES))
144
145 all: compile install
146 clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))
147 compile: $(patsubst %,%-compile,$(package-y) $(package-m))
148 install: $(patsubst %,%-install,$(package-y))
149
150 arpwatch-compile: libpcap-compile
151 bind-compile: openssl-compile
152 cyrus-sasl-compile: openssl-compile
153 dropbear-compile: zlib-compile
154 dsniff-compile: libnids-compile openssl-compile libgdbm-compile
155 fprobe-compile: libpcap-compile
156 gdbserver-compile: ncurses-compile
157 gnutls-compile: libgcrypt-compile opencdk-compile libtasn1-compile
158 kismet-compile: uclibc++-compile libpcap-compile ncurses-compile
159 less-compile: ncurses-compile
160 lcd4linux-compile: ncurses-compile
161 libgcrypt-compile: libgpg-error-compile
162 libgd-compile: libpng-compile
163 libnet-compile: libpcap-compile
164 libnids-compile: libnet-compile
165 lighttpd-compile: openssl-compile pcre-compile
166 mini_httpd-compile: matrixssl-compile
167 mysql-compile: ncurses-compile zlib-compile
168 net-snmp-compile: libelf-compile
169 nfs-server-compile: portmap-compile
170 nmap-compile: uclibc++-compile pcre-compile libpcap-compile
171 nocatsplash-compile: glib-compile
172 opencdk-compile: libgcrypt-compile
173 openldap-compile: cyrus-sasl-compile openssl-compile
174 openssh-compile: zlib-compile openssl-compile
175 openssl-compile: zlib-compile
176 openswan-compile: gmp-compile
177 osiris-compile: openssl-compile
178 portmap-compile: tcp_wrappers-compile
179 postgresql-compile: zlib-compile
180 rsync-compile: popt-compile
181 screen-compile: ncurses-compile
182 siproxd-compile: libosip2-compile
183 sipsak-compile: openssl-compile
184 sqlite-compile: ncurses-compile readline-compile
185 sqlite2-compile: ncurses-compile readline-compile
186 tcpdump-compile: libpcap-compile
187 tinc-compile: zlib-compile openssl-compile lzo-compile
188 tor-compile: libevent-compile openssl-compile zlib-compile
189 usbutils-compile: libusb-compile
190 vtun-compile: zlib-compile openssl-compile lzo-compile
191 wificonf-compile: openwrt-compile wireless-tools-compile
192 wpa_supplicant-compile: openssl-compile
193
194 asterisk-compile: ncurses-compile openssl-compile
195 ifneq ($(BR2_PACKAGE_ASTERISK_CODEC_SPEEX),)
196 asterisk-compile: speex-compile
197 endif
198 ifneq ($(BR2_PACKAGE_ASTERISK_PGSQL),)
199 asterisk-compile: postgresql-compile
200 endif
201 ifneq ($(BR2_PACKAGE_ASTERISK_MYSQL),)
202 asterisk-compile: mysql-compile
203 endif
204
205 freeradius-compile: libtool-compile openssl-compile
206 ifneq ($(BR2_PACKAGE_FREERADIUS_MOD_LDAP),)
207 freeradius-compile: openldap-compile
208 endif
209 ifneq ($(BR2_PACKAGE_FREERADIUS_MOD_SQL_MYSQL),)
210 freeradius-compile: mysql-compile
211 endif
212 ifneq ($(BR2_PACKAGE_FREERADIUS_MOD_SQL_PGSQL),)
213 freeradius-compile: postgresql-compile
214 endif
215
216 openvpn-compile: openssl-compile
217 ifeq ($(BR2_PACKAGE_OPENVPN_LZO),y)
218 openvpn-compile: lzo-compile
219 endif
220
221 ifneq ($(BR2_PACKAGE_PHP4_MOD_GD),)
222 php4-compile: libgd-compile libpng-compile
223 endif
224 ifneq ($(BR2_PACKAGE_PHP4_MOD_LDAP),)
225 php4-compile: openldap-compile
226 endif
227 ifneq ($(BR2_PACKAGE_PHP4_MOD_MYSQL),)
228 php4-compile: mysql-compile
229 endif
230 ifneq ($(BR2_PACKAGE_PHP4_MOD_OPENSSL),)
231 php4-compile: openssl-compile
232 endif
233 ifneq ($(BR2_PACKAGE_PHP4_MOD_PCRE),)
234 php4-compile: pcre-compile
235 endif
236 ifneq ($(BR2_PACKAGE_PHP4_MOD_PGSQL),)
237 php4-compile: postgresql-compile
238 endif
239 ifneq ($(BR2_PACKAGE_PHP4_MOD_SQLITE),)
240 php4-compile: sqlite2-compile
241 endif
242
243 pmacct-compile: libpcap-compile
244 ifneq ($(BR2_PACKAGE_PMACCT_MYSQL),)
245 pmacct-compile: mysql-compile
246 endif
247 ifneq ($(BR2_PACKAGE_PMACCT_PGSQL),)
248 pmacct-compile: postgresql-compile
249 endif
250
251 snort-compile: libnet-compile libpcap-compile pcre-compile
252 ifeq ($(BR2_PACKAGE_SNORT_MYSQL),y)
253 snort-compile: mysql-compile
254 endif
255 ifeq ($(BR2_PACKAGE_SNORT_PGSQL),y)
256 snort-compile: postgresql-compile
257 endif
258 ifeq ($(BR2_PACKAGE_SNORT_ENABLE_INLINE),y)
259 snort-compile: iptables-compile
260 endif
261
262 ulogd-compile: iptables-compile
263 ifneq ($(BR2_PACKAGE_ULOGD_MYSQL),)
264 ulogd-compile: mysql-compile
265 endif
266 ifneq ($(BR2_PACKAGE_ULOGD_PGSQL),)
267 ulogd-compile: postgresql-compile
268 endif
269
270 sdk-compile: $(DEV_LIBS_COMPILE) $(SDK_DEFAULT_COMPILE) openwrt-install
271
272 %-prepare:
273 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
274 @touch $(STAMP_DIR)/.$@
275
276 %-compile: %-prepare
277 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-compile,%,$@) compile
278 @touch $(STAMP_DIR)/.$@
279
280 %-install: %-compile
281 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-install,%,$@) install
282 @touch $(STAMP_DIR)/.$@
283
284 %-rebuild:
285 @rm -f $(STAMP_DIR)/.$(patsubst %-rebuild,%,$@)-*
286 $(MAKE) -C $(patsubst %-rebuild,%,$@) rebuild
287
288 %-clean:
289 @$(MAKE) -C $(patsubst %-clean,%,$@) clean
290 @rm -f $(STAMP_DIR)/.$(patsubst %-clean,%,$@)-*
291
This page took 0.05143 seconds and 5 git commands to generate.