8aab7f146a8e8d6ce5ec836a21084b365147efb2
[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_CIFSMOUNT) += cifsmount
9 package-$(BR2_PACKAGE_CUPS) += cups
10 package-$(BR2_PACKAGE_DROPBEAR) += dropbear
11 package-$(BR2_PACKAGE_DNSMASQ) += dnsmasq
12 package-$(BR2_PACKAGE_EBTABLES) += ebtables
13 package-$(BR2_PACKAGE_EZIPUPDATE) += ez-ipupdate
14 package-$(BR2_PACKAGE_GMP) += gmp
15 package-$(BR2_PACKAGE_HASERL) += haserl
16 package-$(BR2_PACKAGE_IPTABLES) += iptables
17 package-$(BR2_PACKAGE_IPROUTE2) += iproute2
18 package-$(BR2_PACKAGE_LCD4LINUX) += lcd4linux
19 package-$(BR2_PACKAGE_LIBELF) += libelf
20 package-$(BR2_PACKAGE_LZO) += lzo
21 package-$(BR2_PACKAGE_MATRIXSSL) += matrixssl
22 package-$(BR2_PACKAGE_MICROPERL) += microperl
23 package-$(BR2_PACKAGE_NCURSES) += ncurses
24 package-$(BR2_PACKAGE_OPENSSL) += openssl
25 package-$(BR2_PACKAGE_OPENNTPD) += openntpd
26 package-$(BR2_PACKAGE_OPENVPN) += openvpn
27 package-$(BR2_PACKAGE_PCRE) += pcre
28 package-$(BR2_PACKAGE_POPT) += popt
29 package-$(BR2_PACKAGE_PPP) += ppp
30 package-$(BR2_PACKAGE_PPTP) += pptp
31 package-$(BR2_PACKAGE_PPTPD) += pptpd
32 package-$(BR2_PACKAGE_STRACE) += strace
33 package-$(BR2_PACKAGE_TCPDUMP) += tcpdump
34 package-$(BR2_PACKAGE_ZLIB) += zlib
35
36 all: compile install
37 clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m)) linux-clean
38 compile: $(patsubst %,%-compile,$(package-y) $(package-m))
39 install: $(patsubst %,%-install,$(package-y))
40
41 tcpdump-compile: libpcap-compile
42 dropbear-compile: zlib-compile
43 openssl-compile: zlib-compile
44 openvpn-compile: openssl-compile
45 $(patsubst %,%-prepare,$(package-y) $(package-m)): linux-install
46
47 %-prepare:
48 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
49 @touch $(STAMP_DIR)/.$@
50
51 %-compile: %-prepare
52 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-compile,%,$@) compile
53 @touch $(STAMP_DIR)/.$@
54
55 %-install: %-compile
56 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-install,%,$@) install
57 @touch $(STAMP_DIR)/.$@
58
59 %-clean:
60 @$(MAKE) -C $(patsubst %-clean,%,$@) clean
61 @rm -f $(STAMP_DIR)/.$(patsubst %-clean,%,$@)-*
62
This page took 0.039071 seconds and 3 git commands to generate.