Flip the order of the if statement to prevent unreachable code.
[dragonfly.git] / usr.sbin / Makefile
1 #       From: @(#)Makefile      5.20 (Berkeley) 6/12/93
2 # $FreeBSD: src/usr.sbin/Makefile,v 1.183.2.14 2003/04/16 11:01:51 ru Exp $
3 # $DragonFly: src/usr.sbin/Makefile,v 1.34 2007/05/14 19:28:39 dillon Exp $
4
5 .include "../sys/platform/${MACHINE_PLATFORM}/Makefile.inc"
6
7 # XXX MISSING:          mkproto
8 SUBDIR= 802_11 \
9         IPXrouted \
10         ac \
11         accton \
12         acpi \
13         acxcontrol \
14         adduser \
15         amd \
16         ancontrol \
17         arp \
18         asf \
19         atm \
20         authpf \
21         bootparamd \
22         burncd \
23         cdcontrol \
24         chkgrp \
25         chown \
26         chroot \
27         ckdist \
28         clog \
29         config \
30         cron \
31         crunch \
32         daemon \
33         dconschat \
34         dev_mkdb \
35         dntpd \
36         edquota \
37         faithd \
38         fdcontrol \
39         fdformat \
40         fdwrite \
41         fwcontrol \
42         gifconfig \
43         ifmcstat \
44         inetd \
45         iostat \
46         ipwcontrol \
47         iwicontrol \
48         jail \
49         jexec \
50         jls \
51         kbdcontrol \
52         kbdmap \
53         kernbb \
54         keyserv \
55         lastlogin \
56         mailwrapper \
57         makewhatis \
58         manctl \
59         memcontrol \
60         mergemaster \
61         mixer \
62         mld6query \
63         mlxcontrol \
64         moused \
65         mrouted \
66         mtest \
67         mtree \
68         ndiscvt \
69         ndp \
70         newsyslog \
71         ngctl \
72         nghook \
73         ntpd \
74         pciconf \
75         periodic \
76         pfctl \
77         pflogd \
78         pnpinfo \
79         portmap \
80         ppp \
81         pppctl \
82         pppd \
83         pppstats \
84         prefix \
85         procctl \
86         pstat \
87         pw \
88         pwd_mkdb \
89         quot \
90         quotaon \
91         rarpd \
92         raycontrol \
93         rdate \
94         repquota \
95         resident \
96         rip6query \
97         rmt \
98         route6d \
99         rpc.lockd \
100         rpc.statd \
101         rpc.umntall \
102         rpc.yppasswdd \
103         rpc.ypupdated \
104         rpc.ypxfrd \
105         rrenumd \
106         rtadvd \
107         rtprio \
108         rtsold \
109         rwhod \
110         sa \
111         setkey \
112         sliplogin \
113         slstat \
114         spray \
115         syslogd \
116         tcpdchk \
117         tcpdmatch \
118         tcpdump \
119         timed \
120         traceroute \
121         traceroute6 \
122         trpt \
123         tzsetup \
124         usbd \
125         usbdevs \
126         vidcontrol \
127         vipw \
128         vnconfig \
129         watch \
130         xten \
131         yp_mkdb \
132         ypbind \
133         yppoll \
134         yppush \
135         ypserv \
136         ypset \
137         zic
138
139 .if !defined(NO_IPFILTER)
140 SUBDIR+=ipftest \
141         ipresend \
142         ipsend \
143         iptest
144 .endif
145
146 .if !defined(NO_BIND)
147 SUBDIR+=named \
148         named.reload \
149         named.restart \
150         named-checkconf \
151         named-checkzone \
152         rndc \
153         rndc-confgen \
154         nslookup \
155         nsupdate
156 .endif
157
158 .if !defined(NO_DHCPD)
159 SUBDIR+=dhcp
160 .endif
161
162 .if !defined(NO_LPR)
163 SUBDIR+=lpr
164 .endif
165
166 .if !defined(NO_SENDMAIL)
167 SUBDIR+=editmap \
168         mailstats \
169         makemap \
170         praliases \
171         sendmail
172 .endif
173
174 .if ${MACHINE_ARCH} == "i386"
175 SUBDIR+=apm \
176         apmd \
177         battd \
178         btxld \
179         kgmon \
180         kgzip \
181         lptcontrol \
182         mptable \
183         rndcontrol \
184         sgsc \
185         sicontrol \
186         spkrtest \
187         stallion \
188         wicontrol \
189         wlconfig
190 .if !defined(NO_I4B)
191 SUBDIR+=i4b
192 .endif
193 .endif
194
195 .ifdef BOOT0CFG_SUPPORT
196 SUBDIR+=boot0cfg
197 .endif
198
199 .include <bsd.subdir.mk>