add tcpdump depend on libpcap
[openwrt.git] / package / Makefile
1 # Main makefile for the packages
2 include $(TOPDIR)/rules.mk
3
4 package-y:=openwrt
5 package-$(BR2_PACKAGE_ARPTABLES) += arptables
6 package-$(BR2_PACKAGE_BRIDGE) += bridge
7 package-$(BR2_PACKAGE_BUSYBOX) += busybox
8 package-$(BR2_PACKAGE_CHILLISPOT) += chillispot
9 package-$(BR2_PACKAGE_CIFSMOUNT) += cifsmount
10 package-$(BR2_PACKAGE_CUPS) += cups
11 package-$(BR2_PACKAGE_DROPBEAR) += dropbear
12 package-$(BR2_PACKAGE_DNSMASQ) += dnsmasq
13 package-$(BR2_PACKAGE_EBTABLES) += ebtables
14 package-$(BR2_PACKAGE_EZIPUPDATE) += ez-ipupdate
15 package-$(BR2_PACKAGE_GMP) += gmp
16 package-$(BR2_PACKAGE_HASERL) += haserl
17 package-$(BR2_PACKAGE_IPTABLES) += iptables
18 package-$(BR2_PACKAGE_IPROUTE2) += iproute2
19 package-$(BR2_PACKAGE_LCD4LINUX) += lcd4linux
20 package-$(BR2_PACKAGE_LIBELF) += libelf
21 package-$(BR2_PACKAGE_LZO) += lzo
22 package-$(BR2_PACKAGE_MATRIXSSL) += matrixssl
23 package-$(BR2_PACKAGE_MICROPERL) += microperl
24 package-$(BR2_PACKAGE_NCURSES) += ncurses
25 package-$(BR2_PACKAGE_NFSD) += nfs-server
26 package-$(BR2_PACKAGE_OPENSSL) += openssl
27 package-$(BR2_PACKAGE_OPENNTPD) += openntpd
28 package-$(BR2_PACKAGE_OPENVPN) += openvpn
29 package-$(BR2_PACKAGE_PCRE) += pcre
30 package-$(BR2_PACKAGE_POPT) += popt
31 package-$(BR2_PACKAGE_PORTMAP) += portmap
32 package-$(BR2_PACKAGE_PPP) += ppp
33 package-$(BR2_PACKAGE_PPTP) += pptp
34 package-$(BR2_PACKAGE_PPTPD) += pptpd
35 package-$(BR2_PACKAGE_QUAGGA) += quagga
36 package-$(BR2_PACKAGE_SER) += ser
37 package-$(BR2_PACKAGE_SETSERIAL) += setserial
38 package-$(BR2_PACKAGE_STRACE) += strace
39 package-$(BR2_PACKAGE_TCPDUMP) += tcpdump
40 package-$(BR2_PACKAGE_WOL) += wol
41 package-$(BR2_PACKAGE_ZLIB) += zlib
42 package-$(BR2_PACKAGE_DHCPFWD) += dhcp-forwarder
43 package-$(BR2_PACKAGE_LIBNET) += libnet
44 package-$(BR2_PACKAGE_LIBMYSQLCLIENT) += mysql
45 package-$(BR2_PACKAGE_LIBPQ) += postgresql
46
47 all: compile install
48 clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m)) linux-clean
49 compile: $(patsubst %,%-compile,$(package-y) $(package-m))
50 install: $(patsubst %,%-install,$(package-y))
51
52 tcpdump-compile: libpcap-compile
53 dropbear-compile: zlib-compile
54 openssl-compile: zlib-compile
55 openvpn-compile: openssl-compile
56 nfs-server-compile: portmap-compile
57 portmap-compile: tcp_wrappers-compile
58 lcd4linux-compile: ncurses-compile
59 libnet-compile: libpcap-compile
60 mysql-compile: ncurses-compile zlib-compile
61 postgresql-compile: zlib-compile
62
63 $(patsubst %,%-prepare,$(package-y) $(package-m)): linux-install
64
65 %-prepare:
66 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
67 @touch $(STAMP_DIR)/.$@
68
69 %-compile: %-prepare
70 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-compile,%,$@) compile
71 @touch $(STAMP_DIR)/.$@
72
73 %-install: %-compile
74 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-install,%,$@) install
75 @touch $(STAMP_DIR)/.$@
76
77 %-clean:
78 @$(MAKE) -C $(patsubst %-clean,%,$@) clean
79 @rm -f $(STAMP_DIR)/.$(patsubst %-clean,%,$@)-*
80
This page took 0.048737 seconds and 5 git commands to generate.