clean up quagga ipkg dirs
[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_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_NFSD) += nfs-server
25 package-$(BR2_PACKAGE_OPENSSL) += openssl
26 package-$(BR2_PACKAGE_OPENNTPD) += openntpd
27 package-$(BR2_PACKAGE_OPENVPN) += openvpn
28 package-$(BR2_PACKAGE_PCRE) += pcre
29 package-$(BR2_PACKAGE_POPT) += popt
30 package-$(BR2_PACKAGE_PORTMAP) += portmap
31 package-$(BR2_PACKAGE_PPP) += ppp
32 package-$(BR2_PACKAGE_PPTP) += pptp
33 package-$(BR2_PACKAGE_PPTPD) += pptpd
34 package-$(BR2_PACKAGE_QUAGGA) += quagga
35 package-$(BR2_PACKAGE_SER) += ser
36 package-$(BR2_PACKAGE_SETSERIAL) += setserial
37 package-$(BR2_PACKAGE_STRACE) += strace
38 package-$(BR2_PACKAGE_TCPDUMP) += tcpdump
39 package-$(BR2_PACKAGE_WOL) += wol
40 package-$(BR2_PACKAGE_ZLIB) += zlib
41 package-$(BR2_PACKAGE_DHCPFWD) += dhcp-forwarder
42 package-$(BR2_PACKAGE_LIBNET) += libnet
43 package-$(BR2_PACKAGE_LIBMYSQLCLIENT) += mysql
44 package-$(BR2_PACKAGE_LIBPQ) += postgresql
45
46 all: compile install
47 clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m)) linux-clean
48 compile: $(patsubst %,%-compile,$(package-y) $(package-m))
49 install: $(patsubst %,%-install,$(package-y))
50
51 tcpdump-compile: libpcap-compile
52 dropbear-compile: zlib-compile
53 openssl-compile: zlib-compile
54 openvpn-compile: openssl-compile
55 nfs-server-compile: portmap-compile
56 portmap-compile: tcp_wrappers-compile
57 lcd4linux-compile: ncurses-compile
58 libnet-compile: libpcap-compile
59 mysql-compile: ncurses-compile zlib-compile
60 postgresql-compile: zlib-compile
61
62 $(patsubst %,%-prepare,$(package-y) $(package-m)): linux-install
63
64 %-prepare:
65 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
66 @touch $(STAMP_DIR)/.$@
67
68 %-compile: %-prepare
69 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-compile,%,$@) compile
70 @touch $(STAMP_DIR)/.$@
71
72 %-install: %-compile
73 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-install,%,$@) install
74 @touch $(STAMP_DIR)/.$@
75
76 %-clean:
77 @$(MAKE) -C $(patsubst %-clean,%,$@) clean
78 @rm -f $(STAMP_DIR)/.$(patsubst %-clean,%,$@)-*
79
This page took 0.050753 seconds and 5 git commands to generate.