tweak ebtables package:
[openwrt.git] / openwrt / package / Makefile
1 # Main makefile for the packages
2 include $(TOPDIR)/rules.mk
3 include $(TOPDIR)/package/depend.mk
4
5 package-$(BR2_PACKAGE_6TUNNEL) += 6tunnel
6 package-$(BR2_PACKAGE_AICCU) += aiccu
7 package-$(BR2_PACKAGE_AIRCRACK) += aircrack
8 package-$(BR2_PACKAGE_AMWALL) += amwall
9 package-$(BR2_PACKAGE_ARPD) += arpd
10 package-$(BR2_PACKAGE_ARPTABLES) += arptables
11 package-$(BR2_PACKAGE_ARPWATCH) += arpwatch
12 package-$(BR2_PACKAGE_ASTERISK) += asterisk
13 package-$(BR2_COMPILE_ATFTP) += atftp
14 package-$(BR2_PACKAGE_AUTOSSH) += autossh
15 package-$(BR2_COMPILE_AVAHI) += avahi
16 package-$(BR2_COMPILE_AXTLS) += axtls
17 package-$(BR2_COMPILE_BC) += bc
18 package-$(BR2_COMPILE_BIND) += bind
19 package-$(BR2_PACKAGE_BITCHX) += bitchx
20 package-$(BR2_PACKAGE_BITLBEE) += bitlbee
21 package-$(BR2_PACKAGE_BLUEZ_LIBS) += bluez-libs
22 package-$(BR2_PACKAGE_BLUEZ_UTILS) += bluez-utils
23 package-$(BR2_PACKAGE_BRIDGE) += bridge
24 package-$(BR2_PACKAGE_BUSYBOX) += busybox
25 package-$(BR2_PACKAGE_BWM) += bwm
26 package-$(BR2_PACKAGE_CBTT) += cbtt
27 package-$(BR2_PACKAGE_CGILIB) += cgilib
28 package-$(BR2_PACKAGE_CHILLISPOT) += chillispot
29 package-$(BR2_PACKAGE_CIFSMOUNT) += cifsmount
30 package-$(BR2_PACKAGE_CLICK) += click
31 package-$(BR2_PACKAGE_CLINKC) += clinkc
32 package-$(BR2_PACKAGE_COLLECTD) += collectd
33 package-$(BR2_PACKAGE_CTORRENT) += ctorrent
34 package-$(BR2_PACKAGE_CUPS) += cups
35 package-$(BR2_COMPILE_CURL) += curl
36 package-$(BR2_PACKAGE_CUTTER) += cutter
37 package-$(BR2_COMPILE_CYRUS_SASL) += cyrus-sasl
38 package-$(BR2_COMPILE_DB) += libdb
39 package-$(BR2_PACKAGE_DECO) += deco
40 package-$(BR2_COMPILE_DHCP) += dhcp
41 package-$(BR2_PACKAGE_DHCP6) += dhcp6
42 package-$(BR2_PACKAGE_DHCP_FORWARDER) += dhcp-forwarder
43 package-$(BR2_PACKAGE_DNSMASQ) += dnsmasq
44 package-$(BR2_PACKAGE_DOSFSTOOLS) += dosfstools
45 package-$(BR2_PACKAGE_DROPBEAR) += dropbear
46 package-$(BR2_PACKAGE_DSNIFF) += dsniff
47 package-$(BR2_PACKAGE_E2FSPROGS) += e2fsprogs
48 package-$(BR2_PACKAGE_EBTABLES) += ebtables
49 package-$(BR2_PACKAGE_ELINKS) += elinks
50 package-$(BR2_PACKAGE_ETHER_WAKE) += ether-wake
51 package-$(BR2_COMPILE_EXPAT) += expat
52 package-$(BR2_PACKAGE_EZIPUPDATE) += ez-ipupdate
53 package-$(BR2_PACKAGE_FAKEIDENTD) += fakeidentd
54 package-$(BR2_PACKAGE_FETCHMAIL) += fetchmail
55 package-$(BR2_COMPILE_FLAC) += flac
56 package-$(BR2_PACKAGE_FPING) += fping
57 package-$(BR2_PACKAGE_FPROBE) += fprobe
58 package-$(BR2_PACKAGE_FPROBE_ULOG) += fprobe-ulog
59 package-$(BR2_PACKAGE_FREERADIUS) += freeradius
60 package-$(BR2_COMPILE_FREETYPE) += freetype
61 package-$(BR2_PACKAGE_FRICKIN) += frickin
62 package-$(BR2_COMPILE_FUSE) += fuse
63 package-$(BR2_PACKAGE_GCOM) += gcom
64 package-$(BR2_PACKAGE_GDBSERVER) += gdbserver
65 package-$(BR2_COMPILE_GLIB) += glib
66 package-$(BR2_PACKAGE_GMEDIASERVER) += gmediaserver
67 package-$(BR2_COMPILE_GMP) += gmp
68 package-$(BR2_COMPILE_GNUTLS) += gnutls
69 package-$(BR2_PACKAGE_GPSD) += gpsd
70 package-$(BR2_PACKAGE_GPG) += gpg
71 package-$(BR2_COMPILE_GSM) += gsm
72 package-$(BR2_PACKAGE_HASERL) += haserl
73 package-$(BR2_PACKAGE_HDPARM) += hdparm
74 package-$(BR2_PACKAGE_HEYU) += heyu
75 package-$(BR2_PACKAGE_HOSTAP_UTILS) += hostap-utils
76 package-$(BR2_COMPILE_HOSTAPD) += hostapd
77 package-$(BR2_COMPILE_HOWL) += howl
78 package-$(BR2_PACKAGE_HTPDATE) += htpdate
79 package-$(BR2_PACKAGE_HTTPING) += httping
80 package-$(BR2_PACKAGE_ICECAST) += icecast
81 package-$(BR2_PACKAGE_ID3LIB) += id3lib
82 package-$(BR2_PACKAGE_IFTOP) += iftop
83 package-$(BR2_PACKAGE_IGMPPROXY) += igmpproxy
84 package-$(BR2_PACKAGE_IPCAD) += ipcad
85 package-$(BR2_PACKAGE_IPERF) += iperf
86 package-$(BR2_PACKAGE_IPKG) += ipkg
87 package-$(BR2_COMPILE_IPROUTE2) += iproute2
88 package-$(BR2_PACKAGE_IPSEC_TOOLS) += ipsec-tools
89 package-$(BR2_PACKAGE_IPSET) += ipset
90 package-$(BR2_COMPILE_IPTABLES) += iptables
91 package-$(BR2_PACKAGE_IPTABLES_SNMP) += iptables-snmp
92 package-$(BR2_PACKAGE_IPTRAF) += iptraf
93 package-$(BR2_PACKAGE_IRSSI) += irssi
94 package-$(BR2_PACKAGE_JAMVM) += jamvm
95 package-$(BR2_COMPILE_JPEG) += jpeg
96 package-$(BR2_COMPILE_KISMET) += kismet
97 package-$(BR2_COMPILE_KNOCK) += knock
98 package-$(BR2_PACKAGE_L2TPD) += l2tpd
99 package-$(BR2_PACKAGE_L2TPNS) += l2tpns
100 package-$(BR2_PACKAGE_LCD4LINUX) += lcd4linux
101 package-$(BR2_PACKAGE_LESS) += less
102 package-$(BR2_PACKAGE_LIBAMSEL) += libamsel
103 package-$(BR2_PACKAGE_LIBAO) += libao
104 package-$(BR2_PACKAGE_LIBART) += libart
105 package-$(BR2_PACKAGE_LIBCLI) += libcli
106 package-$(BR2_PACKAGE_LIBDAEMON) += libdaemon
107 package-$(BR2_PACKAGE_LIBDNET) += libdnet
108 package-$(BR2_PACKAGE_LIBELF) += libelf
109 package-$(BR2_PACKAGE_LIBEVENT) += libevent
110 package-$(BR2_PACKAGE_LIBFFI_SABLE) += libffi-sable
111 package-$(BR2_PACKAGE_LIBGCRYPT) += libgcrypt
112 package-$(BR2_PACKAGE_LIBGD) += libgd
113 package-$(BR2_PACKAGE_LIBGDBM) += libgdbm
114 package-$(BR2_PACKAGE_LIBGPG_ERROR) += libgpg-error
115 package-$(BR2_PACKAGE_LIBICONV) += libiconv
116 package-$(BR2_PACKAGE_LIBID3TAG) += libid3tag
117 package-$(BR2_PACKAGE_LIBLZO) += liblzo
118 package-$(BR2_PACKAGE_LIBMAD) += libmad
119 package-$(BR2_PACKAGE_LIBNET) += libnet
120 package-$(BR2_PACKAGE_LIBNIDS) += libnids
121 package-$(BR2_PACKAGE_LIBOGG) += libogg
122 package-$(BR2_PACAKGE_LIBOL) += libol
123 package-$(BR2_PACKAGE_LIBOSIP2) += libosip2
124 package-$(BR2_PACKAGE_LIBPCAP) += libpcap
125 package-$(BR2_PACKAGE_LIBPNG) += libpng
126 package-$(BR2_PACKAGE_LIBPTHREAD) += libpthread
127 package-$(BR2_PACKAGE_LIBTASN1) += libtasn1
128 package-$(BR2_COMPILE_LIBTOOL) += libtool
129 package-$(BR2_PACKAGE_LIBUPNP) += libupnp
130 package-$(BR2_PACKAGE_LIBUSB) += libusb
131 package-$(BR2_PACKAGE_LIBVORBIS) += libvorbis
132 package-$(BR2_PACKAGE_LIBVORBISIDEC) += libvorbisidec
133 package-$(BR2_PACKAGE_LIBWRAP) += tcp_wrappers
134 package-$(BR2_PACKAGE_LIBXML2) += libxml2
135 package-$(BR2_PACKAGE_LIBXSLT) += libxslt
136 package-$(BR2_PACKAGE_LIGHTTPD) += lighttpd
137 package-$(BR2_PACKAGE_LINUX_ATM) += linux-atm
138 package-$(BR2_PACKAGE_LOGROTATE) += logrotate
139 package-$(BR2_PACKAGE_LRZSZ) += lrzsz
140 package-$(BR2_COMPILE_LUA) += lua
141 package-$(BR2_PACKAGE_MACCHANGER) += macchanger
142 package-$(BR2_PACKAGE_MADPLAY) += madplay
143 package-$(BR2_PACKAGE_MARADNS) += maradns
144 package-$(BR2_COMPILE_MATRIXSSL) += matrixssl
145 package-$(BR2_PACKAGE_MATRIXTUNNEL) += matrixtunnel
146 package-$(BR2_PACKAGE_MGETTY) += mgetty
147 package-$(BR2_PACKAGE_MIAU) += miau
148 package-$(BR2_PACKAGE_MIAX) += miax
149 package-$(BR2_PACKAGE_MICROCOM) += microcom
150 package-$(BR2_PACKAGE_MICROPERL) += microperl
151 package-$(BR2_COMPILE_MINI_HTTPD) += mini_httpd
152 package-$(BR2_PACKAGE_MINI_SENDMAIL) += mini_sendmail
153 package-$(BR2_COMPILE_MIREDO) += miredo
154 package-$(BR2_COMPILE_MONIT) += monit
155 package-$(BR2_PACKAGE_MOTION) += motion
156 package-$(BR2_PACKAGE_MPD) += mpd
157 package-$(BR2_PACKAGE_MRD6) += mrd6
158 package-$(BR2_PACKAGE_MT_DAAPD) += mt-daapd
159 package-$(BR2_PACKAGE_MTD) += mtd
160 package-$(BR2_PACKAGE_MTR) += mtr
161 package-$(BR2_PACKAGE_MUTT) += mutt
162 package-$(BR2_COMPILE_MYSQL) += mysql
163 package-$(BR2_PACKAGE_NANO) += nano
164 package-$(BR2_COMPILE_NCURSES) += ncurses
165 package-$(BR2_COMPILE_NDISC6) += ndisc
166 package-$(BR2_COMPILE_NET_SNMP) += net-snmp
167 package-$(BR2_PACKAGE_NETPERF) += netperf
168 package-$(BR2_PACKAGE_NETSTAT_NAT) += netstat-nat
169 package-$(BR2_PACKAGE_NFS_SERVER) += nfs-server
170 package-$(BR2_PACKAGE_NMAP) += nmap
171 package-$(BR2_PACKAGE_NOCATSPLASH) += nocatsplash
172 package-$(BR2_PACKAGE_NTPCLIENT) += ntpclient
173 package-$(BR2_PACKAGE_NVRAM) += nvram
174 package-$(BR2_PACKAGE_OLSRD) += olsrd
175 package-$(BR2_COMPILE_OPENCDK) += opencdk
176 package-$(BR2_COMPILE_OPENH323) += openh323
177 package-$(BR2_COMPILE_OPENLDAP) += openldap
178 package-$(BR2_PACKAGE_OPENNTPD) += openntpd
179 package-$(BR2_PACKAGE_OPENSER) += openser
180 package-$(BR2_COMPILE_OPENSSH) += openssh
181 package-$(BR2_COMPILE_OPENSSL) += openssl
182 package-$(BR2_PACKAGE_OPENSWAN) += openswan
183 package-$(BR2_PACKAGE_OPENVPN) += openvpn
184 package-$(BR2_COMPILE_OSIRIS) += osiris
185 package-$(BR2_PACKAGE_PALANTIR) += palantir
186 package-$(BR2_PACKAGE_P910ND) += p910nd
187 package-$(BR2_PACKAGE_PARPROUTED) += parprouted
188 package-$(BR2_PACKAGE_PCIUTILS) += pciutils
189 package-$(BR2_COMPILE_PCMCIA_CS) += pcmcia-cs
190 package-$(BR2_COMPILE_PCRE) += pcre
191 package-$(BR2_PACKAGE_PEERCAST) += peercast
192 package-$(BR2_PACKAGE_PEERGUARDIAN) += peerguardian
193 package-$(BR2_COMPILE_PHP4) += php4
194 package-$(BR2_COMPILE_PHP5) += php5
195 package-$(BR2_PACKAGE_PICOCOM) += picocom
196 package-$(BR2_PACKAGE_PIPACS) += pipacs
197 package-$(BR2_COMPILE_PMACCT) += pmacct
198 package-$(BR2_COMPILE_POPT) += popt
199 package-$(BR2_PACKAGE_PORTMAP) += portmap
200 package-$(BR2_PACKAGE_PORTSENTRY) += portsentry
201 package-$(BR2_COMPILE_POSTGRESQL) += postgresql
202 package-$(BR2_PACKAGE_PPP) += ppp
203 package-$(BR2_PACKAGE_PPTP) += pptp
204 package-$(BR2_PACKAGE_PPTPD) += pptpd
205 package-$(BR2_PACKAGE_PRIVOXY) += privoxy
206 package-$(BR2_PACKAGE_PROCMAIL) += procmail
207 package-$(BR2_PACKAGE_PSYBNC) += psybnc
208 package-$(BR2_PACKAGE_PTUNNEL) += ptunnel
209 package-$(BR2_COMPILE_PWLIB) += pwlib
210 package-$(BR2_PACKAGE_QUAGGA) += quagga
211 package-$(BR2_COMPILE_RADIUSCLIENT_NG) += radiusclient-ng
212 package-$(BR2_PACKAGE_RADVD) += radvd
213 package-$(BR2_PACKAGE_RARPD) += rarpd
214 package-$(BR2_COMPILE_READLINE) += readline
215 package-$(BR2_PACKAGE_REAIM) += reaim
216 package-$(BR2_PACKAGE_ROBOCFG) += robocfg
217 package-$(BR2_COMPILE_RP_PPPOE) += rp-pppoe
218 package-$(BR2_PACKAGE_RRDCOLLECT) += rrdcollect
219 package-$(BR2_COMPILE_RRDTOOL) += rrdtool
220 package-$(BR2_COMPILE_RRDTOOL1) += rrdtool1
221 package-$(BR2_COMPILE_RRS) += rrs
222 package-$(BR2_PACKAGE_RSYNC) += rsync
223 package-$(BR2_PACKAGE_SABLEVM) += sablevm
224 package-$(BR2_COMPILE_SABLEVM_CLASSPATH) += sablevm-classpath
225 package-$(BR2_COMPILE_SAMBA) += samba
226 package-$(BR2_PACKAGE_SANE_BACKENDS) += sane-backends
227 package-$(BR2_PACKAGE_SCANLOGD) += scanlogd
228 package-$(BR2_PACKAGE_SCDP) += scdp
229 package-$(BR2_PACKAGE_SCREEN) += screen
230 package-$(BR2_PACKAGE_SDK) += sdk
231 package-$(BR2_PACKAGE_SER2NET) += ser2net
232 package-$(BR2_PACKAGE_SERDISPLIB) += serdisplib
233 package-$(BR2_PACKAGE_SETPWC) += setpwc
234 package-$(BR2_PACKAGE_SETSERIAL) += setserial
235 package-$(BR2_PACKAGE_SHAT) += shat
236 package-$(BR2_COMPILE_SHFS) += shfs
237 package-$(BR2_PACKAGE_SIPP) += sipp
238 package-$(BR2_PACKAGE_SIPROXD) += siproxd
239 package-$(BR2_PACKAGE_SIPSAK) += sipsak
240 package-$(BR2_PACKAGE_SLURM) += slurm
241 package-$(BR2_COMPILE_SNORT) += snort
242 package-$(BR2_COMPILE_SNORT_WIRELESS) += snort-wireless
243 package-$(BR2_PACKAGE_SOCAT) += socat
244 package-$(BR2_COMPILE_SPEEX) += speex
245 package-$(BR2_COMPILE_SQLITE) += sqlite
246 package-$(BR2_COMPILE_SQLITE2) += sqlite2
247 package-$(BR2_PACKAGE_SQUID) += squid
248 package-$(BR2_PACKAGE_SSMTP) += ssmtp
249 package-$(BR2_PACKAGE_SSLTUNNEL) += ssltunnel
250 package-$(BR2_PACKAGE_SRELAY) += srelay
251 package-$(BR2_PACKAGE_STRACE) += strace
252 package-$(BR2_PACKAGE_SYSLOG_NG) += syslog-ng
253 package-$(BR2_PACKAGE_TCPDUMP) += tcpdump
254 package-$(BR2_PACKAGE_TINC) += tinc
255 package-$(BR2_PACKAGE_TINYPROXY) += tinyproxy
256 package-$(BR2_PACKAGE_TOR) += tor
257 package-$(BR2_PACKAGE_TTCP) += ttcp
258 package-$(BR2_PACKAGE_UCLIBCXX) += uclibc++
259 package-$(BR2_PACKAGE_UDP_BROADCAST_RELAY) += udp-broadcast-relay
260 package-$(BR2_PACKAGE_ULOGD) += ulogd
261 package-$(BR2_PACKAGE_UPDATEDD) += updatedd
262 package-$(BR2_COMPILE_USBUTILS) += usbutils
263 package-$(BR2_PACKAGE_USTL) += ustl
264 package-$(BR2_COMPILE_UTIL_LINUX) += util-linux
265 package-$(BR2_PACKAGE_UDEV) += udev
266 package-$(BR2_PACKAGE_VIM) += vim
267 package-$(BR2_PACKAGE_VGP) += vgp
268 package-$(BR2_PACKAGE_VNCREPEATER) += vncrepeater
269 package-$(BR2_PACKAGE_VNC_REFLECTOR) += vnc-reflector
270 package-$(BR2_PACKAGE_VNSTAT) += vnstat
271 package-$(BR2_PACKAGE_VPNC) += vpnc
272 package-$(BR2_PACKAGE_VRRPD) += vrrpd
273 package-$(BR2_PACKAGE_VTUN) += vtun
274 package-$(BR2_PACKAGE_VSFTPD) += vsftpd
275 package-$(BR2_PACKAGE_WATCHDOG) += watchdog
276 package-$(BR2_PACKAGE_WCCPD) += wccpd
277 package-$(BR2_PACKAGE_WEECHAT) += weechat
278 package-$(BR2_PACKAGE_WIFICONF) += wificonf
279 package-$(BR2_PACKAGE_WIFIDOG) += wifidog
280 package-$(BR2_PACKAGE_WIVIZ) += wiviz
281 package-$(BR2_PACKAGE_WIRELESS_TOOLS) += wireless-tools
282 package-$(BR2_PACKAGE_WKNOCK) += wknock
283 package-$(BR2_PACKAGE_WOL) += wol
284 package-$(BR2_PACKAGE_WONDERSHAPER) += wondershaper
285 package-$(BR2_PACKAGE_WPA_SUPPLICANT) += wpa_supplicant
286 package-$(BR2_PACKAGE_WPUT) += wput
287 package-$(BR2_PACKAGE_WRT_RADAUTH) += wrt-radauth
288 package-$(BR2_PACKAGE_WX200D) += wx200d
289 package-$(BR2_PACKAGE_XINETD) += xinetd
290 package-$(BR2_PACKAGE_XSUPPLICANT) += xsupplicant
291 package-$(BR2_PACKAGE_ZLIB) += zlib
292
293 DEV_LIBS:=tcp_wrappers glib ncurses openssl pcre popt zlib libnet libpcap mysql postgresql iptables matrixssl liblzo gmp fuse portmap libelf uclibc++ speex libpng libgd wireless-tools nvram linux-atm libamsel libao libart libdaemon libdb libdnet libevent libffi-sable libgcrypt libgdbm libgpg-error libid3tag libmad libnet libnids libogg libol libosip2 libpcap radiusclient-ng libtasn1 libupnp libusb libvorbis libvorbisidec libxml2 libxslt id3lib net-snmp
294 DEV_LIBS_COMPILE:=$(patsubst %,%-compile,$(DEV_LIBS))
295 SDK_DEFAULT_PACKAGES:=busybox dnsmasq iptables wireless-tools dropbear bridge ipkg ppp
296 SDK_DEFAULT_COMPILE:=$(patsubst %,%-compile,$(SDK_DEFAULT_PACKAGES))
297 COMPILE_PACKAGES:=$(patsubst %,%-compile,$(package-y) $(package-m))
298 INSTALL_PACKAGES:=$(patsubst %,%-install,$(package-y))
299
300 all: compile
301 clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m))
302 compile: $(COMPILE_PACKAGES)
303 install: base-files-install $(INSTALL_PACKAGES)
304
305 $(COMPILE_PACKAGES): base-files-compile
306 $(INSTALL_PACKAGES): base-files-install
307
308 sdk-compile: $(DEV_LIBS_COMPILE) $(SDK_DEFAULT_COMPILE)
309
310 $(STAMP_DIR):
311 mkdir -p $@
312
313 $(TARGET_DIR):
314 mkdir -p $(TARGET_DIR)
315
316 %-prepare: $(STAMP_DIR) $(TARGET_DIR)
317 @[ -f $(STAMP_DIR)/.$@ ] || { \
318 $(START_TRACE) "package/$(patsubst %-prepare,%,$@)-prepare: "; \
319 $(MAKE) -C $(patsubst %-prepare,%,$@) prepare && { \
320 touch $(STAMP_DIR)/.$@; \
321 $(CMD_TRACE) " done"; \
322 $(END_TRACE); \
323 } \
324 }
325
326 %-compile:
327 @[ -f $(STAMP_DIR)/.$@ ] || { \
328 $(START_TRACE) "package/$(patsubst %-compile,%,$@)-compile: "; \
329 $(MAKE) -C $(patsubst %-compile,%,$@) compile && { \
330 touch $(STAMP_DIR)/.$(patsubst %-compile,%,$@)-prepare; \
331 touch $(STAMP_DIR)/.$@; \
332 $(CMD_TRACE) " done"; \
333 $(END_TRACE); \
334 } \
335 }
336
337 %-install: %-compile
338 @$(START_TRACE) "package/$(patsubst %-install,%,$@)-install: "
339 @$(MAKE) -C $(patsubst %-install,%,$@) install
340 @$(CMD_TRACE) " done"
341 @$(END_TRACE)
342
343 %-rebuild:
344 @$(START_TRACE) "package/$(patsubst %-rebuild,%,$@)-rebuild: "
345 @rm -f $(STAMP_DIR)/.$(patsubst %-rebuild,%,$@)-*
346 $(MAKE) -C $(patsubst %-rebuild,%,$@) rebuild
347 @$(CMD_TRACE) " done"
348 @$(END_TRACE)
349
350 %-clean:
351 @$(START_TRACE) "package/$(patsubst %-clean,%,$@)-clean: "
352 @$(MAKE) -C $(patsubst %-clean,%,$@) clean
353 @rm -f $(STAMP_DIR)/.$(patsubst %-clean,%,$@)-*
354 @$(CMD_TRACE) " done"
355 @$(END_TRACE)
356
This page took 0.063394 seconds and 5 git commands to generate.