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