removed old dnsmasq files
[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_BRIDGE) += bridge
6 package-$(BR2_PACKAGE_BUSYBOX) += busybox
7 package-$(BR2_PACKAGE_DROPBEAR) += dropbear
8 package-$(BR2_PACKAGE_DNSMASQ) += dnsmasq
9 package-$(BR2_PACKAGE_EBTABLES) += ebtables
10 package-$(BR2_PACKAGE_ARPTABLES) += arptables
11 package-$(BR2_PACKAGE_IPTABLES) += iptables
12 package-$(BR2_PACKAGE_PPP) += ppp
13 package-$(BR2_PACKAGE_LZO) += lzo
14 package-$(BR2_PACKAGE_ZLIB) += zlib
15 package-$(BR2_PACKAGE_MATRIXSSL) += matrixssl
16 package-$(BR2_PACKAGE_OPENSSL) += openssl
17 package-$(BR2_PACKAGE_OPENVPN) += openvpn
18 package-$(BR2_PACKAGE_POPT) += popt
19 package-$(BR2_PACKAGE_PPTPD) += pptpd
20 package-$(BR2_PACKAGE_IPROUTE2) += iproute2
21
22 all: compile install
23 clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m)) linux-clean
24 compile: $(patsubst %,%-compile,$(package-y) $(package-m))
25 install: $(patsubst %,%-install,$(package-y))
26
27 dropbear-compile: zlib-compile
28 openssl-compile: zlib-compile
29 openvpn-compile: openssl-compile
30 $(patsubst %,%-prepare,$(package-y) $(package-m)): linux-install
31
32 %-prepare:
33 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
34 @touch $(STAMP_DIR)/.$@
35
36 %-compile: %-prepare
37 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-compile,%,$@) compile
38 @touch $(STAMP_DIR)/.$@
39
40 %-install: %-compile
41 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-install,%,$@) install
42 @touch $(STAMP_DIR)/.$@
43
44 %-clean:
45 @$(MAKE) -C $(patsubst %-clean,%,$@) clean
46 @rm -f $(STAMP_DIR)/.$(patsubst %-clean,%,$@)-*
47
This page took 0.061066 seconds and 5 git commands to generate.