Add libpthread dependency
[openwrt.git] / openwrt / 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_LIBGCC) += libgcc
29 package-$(BR2_PACKAGE_LIBPTHREAD) += libpthread
30 package-$(BR2_PACKAGE_LZO) += lzo
31 package-$(BR2_PACKAGE_MATRIXSSL) += matrixssl
32 package-$(BR2_PACKAGE_MICROPERL) += microperl
33 package-$(BR2_PACKAGE_NCURSES) += ncurses
34 package-$(BR2_PACKAGE_NFSD) += nfs-server
35 package-$(BR2_PACKAGE_NOCATSPLASH) += nocatsplash
36 package-$(BR2_PACKAGE_NTPCLIENT) += ntpclient
37 package-$(BR2_PACKAGE_OPENSSL) += openssl
38 package-$(BR2_PACKAGE_OPENSWAN) += openswan
39 package-$(BR2_PACKAGE_OPENNTPD) += openntpd
40 package-$(BR2_PACKAGE_OPENVPN) += openvpn
41 package-$(BR2_PACKAGE_PCRE) += pcre
42 package-$(BR2_PACKAGE_POPT) += popt
43 package-$(BR2_PACKAGE_PORTMAP) += portmap
44 package-$(BR2_PACKAGE_PPP) += ppp
45 package-$(BR2_PACKAGE_PPTP) += pptp
46 package-$(BR2_PACKAGE_PPTPD) += pptpd
47 package-$(BR2_PACKAGE_QUAGGA) += quagga
48 package-$(BR2_PACKAGE_RADVD) += radvd
49 package-$(BR2_PACKAGE_SER) += ser
50 package-$(BR2_PACKAGE_SETSERIAL) += setserial
51 package-$(BR2_PACKAGE_SHFS) += shfs
52 package-$(BR2_PACKAGE_STRACE) += strace
53 package-$(BR2_PACKAGE_TCPDUMP) += tcpdump
54 package-$(BR2_PACKAGE_WIRELESS_TOOLS) += wireless-tools
55 package-$(BR2_PACKAGE_WOL) += wol
56 package-$(BR2_PACKAGE_ZLIB) += zlib
57 package-$(BR2_PACKAGE_DHCPFWD) += dhcp-forwarder
58 package-$(BR2_PACKAGE_LIBNET) += libnet
59 package-$(BR2_PACKAGE_LIBMYSQLCLIENT) += mysql
60 package-$(BR2_PACKAGE_LIBPCAP) += libpcap
61 package-$(BR2_PACKAGE_LIBPQ) += postgresql
62
63 all: compile install
64 clean: $(patsubst %,%-clean,$(package-) $(package-y) $(package-m)) linux-clean
65 compile: $(patsubst %,%-compile,$(package-y) $(package-m))
66 install: $(patsubst %,%-install,$(package-y))
67
68 ifeq ($(BR2_PACKAGE_OPENVPN_LZO),y)
69 openvpn-compile: lzo-compile
70 endif
71
72 openswan-compile: gmp-compile
73 nocatsplash-compile: glib-compile
74 arpwatch-compile: libpcap-compile
75 tcpdump-compile: libpcap-compile
76 dropbear-compile: zlib-compile
77 openssl-compile: zlib-compile
78 openvpn-compile: openssl-compile
79 nfs-server-compile: portmap-compile
80 portmap-compile: tcp_wrappers-compile
81 lcd4linux-compile: ncurses-compile
82 libnet-compile: libpcap-compile
83 mysql-compile: ncurses-compile zlib-compile
84 postgresql-compile: zlib-compile
85
86 $(patsubst %,%-prepare,$(package-y) $(package-m) $(package-)): linux-install
87
88 %-prepare:
89 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-prepare,%,$@) prepare
90 @touch $(STAMP_DIR)/.$@
91
92 %-compile: %-prepare
93 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-compile,%,$@) compile
94 @touch $(STAMP_DIR)/.$@
95
96 %-install: %-compile
97 @[ -f $(STAMP_DIR)/.$@ ] || $(MAKE) -C $(patsubst %-install,%,$@) install
98 @touch $(STAMP_DIR)/.$@
99
100 %-clean:
101 @$(MAKE) -C $(patsubst %-clean,%,$@) clean
102 @rm -f $(STAMP_DIR)/.$(patsubst %-clean,%,$@)-*
103
This page took 0.05987 seconds and 5 git commands to generate.