use /dev/urandom instead of /dev/random for openswan ipsec keygen
[openwrt.git] / package / Makefile
1 # Main makefile for the packages
2 include $(TOPDIR)/rules.mk
3
4 package-y:=openwrt
5 package-$(BR2_PACKAGE_AICCU) += aiccu
6 package-$(BR2_PACKAGE_ARPTABLES) += arptables
7 package-$(BR2_PACKAGE_ARPWATCH) += arpwatch
8 package-$(BR2_PACKAGE_BRIDGE) += bridge
9 package-$(BR2_PACKAGE_BUSYBOX) += busybox
10 package-$(BR2_PACKAGE_BWM) += bwm
11 package-$(BR2_PACKAGE_CHILLISPOT) += chillispot
12 package-$(BR2_PACKAGE_CIFSMOUNT) += cifsmount
13 package-$(BR2_PACKAGE_CUPS) += cups
14 package-$(BR2_PACKAGE_DROPBEAR) += dropbear
15 package-$(BR2_PACKAGE_DNSMASQ) += dnsmasq
16 package-$(BR2_PACKAGE_EBTABLES) += ebtables
17 package-$(BR2_PACKAGE_EZIPUPDATE) += ez-ipupdate
18 package-$(BR2_PACKAGE_FPING) += fping
19 package-$(BR2_PACKAGE_GLIB) += glib
20 package-$(BR2_PACKAGE_GMP) += gmp
21 package-$(BR2_PACKAGE_HASERL) += haserl
22 package-$(BR2_PACKAGE_IPTABLES) += iptables
23 package-$(BR2_PACKAGE_IPROUTE2) += iproute2
24 package-$(BR2_PACKAGE_LCD4LINUX) += lcd4linux
25 package-$(BR2_PACKAGE_LIBELF) += libelf
26 package-$(BR2_PACKAGE_LZO) += lzo
27 package-$(BR2_PACKAGE_MATRIXSSL) += matrixssl
28 package-$(BR2_PACKAGE_MICROPERL) += microperl
29 package-$(BR2_PACKAGE_NCURSES) += ncurses
30 package-$(BR2_PACKAGE_NFSD) += nfs-server
31 package-$(BR2_PACKAGE_NOCATSPLASH) += nocatsplash
32 package-$(BR2_PACKAGE_NTPCLIENT) += ntpclient
33 package-$(BR2_PACKAGE_OPENSSL) += openssl
34 package-$(BR2_PACKAGE_OPENSWAN) += openswan
35 package-$(BR2_PACKAGE_OPENNTPD) += openntpd
36 package-$(BR2_PACKAGE_OPENVPN) += openvpn
37 package-$(BR2_PACKAGE_PCRE) += pcre
38 package-$(BR2_PACKAGE_POPT) += popt
39 package-$(BR2_PACKAGE_PORTMAP) += portmap
40 package-$(BR2_PACKAGE_PPP) += ppp
41 package-$(BR2_PACKAGE_PPTP) += pptp
42 package-$(BR2_PACKAGE_PPTPD) += pptpd
43 package-$(BR2_PACKAGE_QUAGGA) += quagga
44 package-$(BR2_PACKAGE_RADVD) += radvd
45 package-$(BR2_PACKAGE_SER) += ser
46 package-$(BR2_PACKAGE_SETSERIAL) += setserial
47 package-$(BR2_PACKAGE_STRACE) += strace
48 package-$(BR2_PACKAGE_TCPDUMP) += tcpdump
49 package-$(BR2_PACKAGE_WIRELESS_TOOLS) += wireless-tools
50 package-$(BR2_PACKAGE_WOL) += wol
51 package-$(BR2_PACKAGE_ZLIB) += zlib
52 package-$(BR2_PACKAGE_DHCPFWD) += dhcp-forwarder
53 package-$(BR2_PACKAGE_LIBNET) += libnet
54 package-$(BR2_PACKAGE_LIBMYSQLCLIENT) += mysql
55 package-$(BR2_PACKAGE_LIBPQ) += postgresql
56
57 all: compile install
58 clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m)) linux-clean
59 compile: $(patsubst %,%-compile,$(package-y) $(package-m))
60 install: $(patsubst %,%-install,$(package-y))
61
62 ifeq ($(BR2_PACKAGE_OPENVPN_LZO),y)
63 openvpn-compile: lzo-compile
64 endif
65
66 openswan-compile: gmp-compile
67 nocatsplash-compile: glib-compile
68 arpwatch-compile: libpcap-compile
69 tcpdump-compile: libpcap-compile
70 dropbear-compile: zlib-compile
71 openssl-compile: zlib-compile
72 openvpn-compile: openssl-compile
73 nfs-server-compile: portmap-compile
74 portmap-compile: tcp_wrappers-compile
75 lcd4linux-compile: ncurses-compile
76 libnet-compile: libpcap-compile
77 mysql-compile: ncurses-compile zlib-compile
78 postgresql-compile: zlib-compile
79
80 $(patsubst %,%-prepare,$(package-y) $(package-m)): linux-install
81
82 %-prepare:
83 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
84 @touch $(STAMP_DIR)/.$@
85
86 %-compile: %-prepare
87 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-compile,%,$@) compile
88 @touch $(STAMP_DIR)/.$@
89
90 %-install: %-compile
91 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-install,%,$@) install
92 @touch $(STAMP_DIR)/.$@
93
94 %-clean:
95 @$(MAKE) -C $(patsubst %-clean,%,$@) clean
96 @rm -f $(STAMP_DIR)/.$(patsubst %-clean,%,$@)-*
97
This page took 0.037289 seconds and 5 git commands to generate.