lzma loader patch from oleg, great thanks good work, saves another 300 kb flashmemory
[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_CHILLISPOT) += chillispot
9 package-$(BR2_PACKAGE_CIFSMOUNT) += cifsmount
10 package-$(BR2_PACKAGE_CUPS) += cups
11 package-$(BR2_PACKAGE_DROPBEAR) += dropbear
12 package-$(BR2_PACKAGE_DNSMASQ) += dnsmasq
13 package-$(BR2_PACKAGE_EBTABLES) += ebtables
14 package-$(BR2_PACKAGE_EZIPUPDATE) += ez-ipupdate
15 package-$(BR2_PACKAGE_FPING) += fping
16 package-$(BR2_PACKAGE_GMP) += gmp
17 package-$(BR2_PACKAGE_HASERL) += haserl
18 package-$(BR2_PACKAGE_IPTABLES) += iptables
19 package-$(BR2_PACKAGE_IPROUTE2) += iproute2
20 package-$(BR2_PACKAGE_LCD4LINUX) += lcd4linux
21 package-$(BR2_PACKAGE_LIBELF) += libelf
22 package-$(BR2_PACKAGE_LOADER) += loader
23 package-$(BR2_PACKAGE_LZO) += lzo
24 package-$(BR2_PACKAGE_MATRIXSSL) += matrixssl
25 package-$(BR2_PACKAGE_MICROPERL) += microperl
26 package-$(BR2_PACKAGE_NCURSES) += ncurses
27 package-$(BR2_PACKAGE_NFSD) += nfs-server
28 package-$(BR2_PACKAGE_OPENSSL) += openssl
29 package-$(BR2_PACKAGE_OPENNTPD) += openntpd
30 package-$(BR2_PACKAGE_OPENVPN) += openvpn
31 package-$(BR2_PACKAGE_PCRE) += pcre
32 package-$(BR2_PACKAGE_POPT) += popt
33 package-$(BR2_PACKAGE_PORTMAP) += portmap
34 package-$(BR2_PACKAGE_PPP) += ppp
35 package-$(BR2_PACKAGE_PPTP) += pptp
36 package-$(BR2_PACKAGE_PPTPD) += pptpd
37 package-$(BR2_PACKAGE_QUAGGA) += quagga
38 package-$(BR2_PACKAGE_SER) += ser
39 package-$(BR2_PACKAGE_SETSERIAL) += setserial
40 package-$(BR2_PACKAGE_STRACE) += strace
41 package-$(BR2_PACKAGE_TCPDUMP) += tcpdump
42 package-$(BR2_PACKAGE_WOL) += wol
43 package-$(BR2_PACKAGE_ZLIB) += zlib
44 package-$(BR2_PACKAGE_DHCPFWD) += dhcp-forwarder
45 package-$(BR2_PACKAGE_LIBNET) += libnet
46 package-$(BR2_PACKAGE_LIBMYSQLCLIENT) += mysql
47 package-$(BR2_PACKAGE_LIBPQ) += postgresql
48
49 all: compile install
50 clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m)) linux-clean
51 compile: $(patsubst %,%-compile,$(package-y) $(package-m))
52 install: $(patsubst %,%-install,$(package-y))
53
54 tcpdump-compile: libpcap-compile
55 dropbear-compile: zlib-compile
56 openssl-compile: zlib-compile
57 openvpn-compile: openssl-compile
58 nfs-server-compile: portmap-compile
59 portmap-compile: tcp_wrappers-compile
60 lcd4linux-compile: ncurses-compile
61 libnet-compile: libpcap-compile
62 mysql-compile: ncurses-compile zlib-compile
63 postgresql-compile: zlib-compile
64
65 $(patsubst %,%-prepare,$(package-y) $(package-m)): linux-install
66
67 %-prepare:
68 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
69 @touch $(STAMP_DIR)/.$@
70
71 %-compile: %-prepare
72 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-compile,%,$@) compile
73 @touch $(STAMP_DIR)/.$@
74
75 %-install: %-compile
76 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-install,%,$@) install
77 @touch $(STAMP_DIR)/.$@
78
79 %-clean:
80 @$(MAKE) -C $(patsubst %-clean,%,$@) clean
81 @rm -f $(STAMP_DIR)/.$(patsubst %-clean,%,$@)-*
82
This page took 0.043731 seconds and 5 git commands to generate.