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