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