kernel: Remove some old serial drivers.
[dragonfly.git] / initrd / rescue / Makefile
blob18deaee677f3de426387e733bff671261ad2f345
1 # $FreeBSD: head/rescue/rescue/Makefile 252356 2013-06-28 21:00:08Z davide $
2 # @(#)Makefile 8.1 (Berkeley) 6/2/93
4 # To include '../Makefine.inc' for use in <bsd.crunchgen.mk>
5 .include <bsd.init.mk>
7 PROG= rescue
9 SCRIPTS= dowpa ${.CURDIR}/../../sbin/dhclient/dhclient-script
11 # Programs from 'bin'
13 CRUNCH_SRCDIRS+= bin
14 CRUNCH_PATH_bin= ${.CURDIR}/../..
15 CRUNCH_PROGS_bin= \
16 cat \
17 chmod \
18 cp \
19 cpdup \
20 date \
21 dd \
22 df \
23 echo \
24 expr \
25 hostname \
26 kill \
27 ln \
28 ls \
29 mined \
30 mkdir \
31 mv \
32 pax \
33 ps \
34 pwd \
35 realpath \
36 rm \
37 rmdir \
38 sh \
39 sleep \
40 stty \
41 sync \
42 test \
43 varsym
45 # Additional options for specific programs
46 CRUNCH_ALIAS_test= [
47 CRUNCH_ALIAS_sh= -sh
48 # The -sh alias shouldn't appear as a link
49 CRUNCH_SUPPRESS_LINK_-sh= 1
50 CRUNCH_ALIAS_ln= link
51 CRUNCH_ALIAS_rm= unlink
53 # Programs from 'usr.bin'
55 CRUNCH_SRCDIRS+= usr.bin
56 CRUNCH_PATH_usr.bin= ${.CURDIR}/../..
57 CRUNCH_PROGS_usr.bin= \
58 awk \
59 basename \
60 bc \
61 bzip2 \
62 cap_mkdb \
63 chflags \
64 cmp \
65 cut \
66 dirname \
67 du \
68 env \
69 false \
70 find \
71 gzip \
72 head \
73 hexdump \
74 kcollect \
75 kdump \
76 kenv \
77 ktrace \
78 id \
79 join \
80 less \
81 lsvfs \
82 paste \
83 patch \
84 pkill \
85 printf \
86 relpath \
87 sed \
88 sort \
89 stat \
90 tail \
91 tee \
92 touch \
93 tput \
94 tr \
95 true \
96 truss \
97 uname \
98 undo \
99 uniq \
100 vi \
101 wc \
102 xz \
105 CRUNCH_ALIAS_bzip2= bunzip2 bzcat
106 CRUNCH_ALIAS_gzip= gunzip gzcat zcat
107 CRUNCH_ALIAS_hexdump= hd od
108 CRUNCH_ALIAS_id= groups whoami
109 CRUNCH_ALIAS_less= more
110 CRUNCH_ALIAS_pkill= pgrep
111 CRUNCH_ALIAS_stat= readlink
112 CRUNCH_ALIAS_vi= ex nex nvi nview view
113 CRUNCH_ALIAS_xz= lzcat lzma unlzma unxz xzcat
115 # Programs from 'sbin'
117 CRUNCH_SRCDIRS+= sbin
118 CRUNCH_PATH_sbin= ${.CURDIR}/../..
119 CRUNCH_PROGS_sbin= \
120 camcontrol \
121 ccdconfig \
122 dhclient \
123 diskinfo \
124 disklabel32 \
125 disklabel64 \
126 dmesg \
127 dump \
128 dumpfs \
129 dumpon \
130 fdisk \
131 ffsinfo \
132 fsck \
133 fsck_msdosfs \
134 gpt \
135 growfs \
136 ifconfig \
137 kldconfig \
138 kldload \
139 kldstat \
140 kldunload \
141 ldconfig \
142 mount \
143 mount_cd9660 \
144 mount_devfs \
145 mount_hammer \
146 mount_hammer2 \
147 mount_msdos \
148 mount_nfs \
149 mount_ntfs \
150 mount_null \
151 mount_tmpfs \
152 mount_ufs \
153 natacontrol \
154 newfs \
155 newfs_hammer \
156 newfs_hammer2 \
157 newfs_msdos \
158 ping \
159 rconfig \
160 rcorder \
161 reboot \
162 restore \
163 route \
164 savecore \
165 shutdown \
166 swapon \
167 sysctl \
168 tunefs \
169 udevd \
170 umount \
171 vinum
173 CRUNCH_ALIAS_disklabel64= disklabel
174 CRUNCH_ALIAS_dump= rdump
175 CRUNCH_ALIAS_newfs= mount_mfs
176 CRUNCH_ALIAS_reboot= halt
177 CRUNCH_ALIAS_restore= rrestore
178 CRUNCH_ALIAS_shutdown= poweroff
179 CRUNCH_ALIAS_swapon= swapoff swapctl
181 # Programs from 'usr.sbin'
183 CRUNCH_SRCDIRS+= usr.sbin
184 CRUNCH_PATH_usr.sbin= ${.CURDIR}/../..
185 CRUNCH_PROGS_usr.sbin= \
186 boot0cfg \
187 chown \
188 chroot \
189 fstyp \
190 pw \
191 pwd_mkdb \
192 rtsold \
193 traceroute \
194 traceroute6 \
195 vnconfig \
196 vipw
198 CRUNCH_ALIAS_chown= chgrp
199 CRUNCH_ALIAS_rtsold= rtsol
201 CRUNCH_SRCDIRS+= gnu/sbin
202 CRUNCH_PATH_gnu/sbin= ${.CURDIR}/../..
203 CRUNCH_PROGS_gnu/sbin= dmsetup lvm
205 CRUNCH_ALIAS_lvm= \
206 lvchange lvconvert lvcreate lvdisplay lvextend \
207 lvmchange lvmdiskscan lvmdump \
208 lvreduce lvremove lvrename lvresize lvs lvscan \
209 pvchange pvck pvcreate pvdisplay pvmove pvremove \
210 pvresize pvs pvscan \
211 vgcfgbackup vgcfgrestore vgchange vgck vgconvert \
212 vgcreate vgdisplay vgexport vgextend vgimport \
213 vgmerge vgmknodes vgreduce vgremove vgrename \
214 vgs vgscan vgsplit
216 CRUNCH_SRCDIRS+= grep
217 CRUNCH_PATH_grep= ${.CURDIR}/../../gnu/usr.bin
218 CRUNCH_PROGS_grep= grep
219 CRUNCH_INTLIB_grep= ${CRUNCH_PATH_grep}/grep/libgreputils/libgreputils.a
220 SCRIPTS+= \
221 ${CRUNCH_PATH_grep}/grep/egrep/egrep \
222 ${CRUNCH_PATH_grep}/grep/fgrep/fgrep
224 CRUNCH_SRCDIRS+= diff
225 CRUNCH_PATH_diff= ${.CURDIR}/../../gnu/usr.bin
226 CRUNCH_PROGS_diff= diff diff3 sdiff
227 CRUNCH_INTLIB_diff= \
228 ${CRUNCH_PATH_diff}/diff/libdiffutils/libdiffutils.a \
229 ${CRUNCH_PATH_diff}/diff/libver/libver.a
230 CRUNCH_INTLIB_diff3= ${CRUNCH_INTLIB_diff}
231 CRUNCH_INTLIB_sdiff= ${CRUNCH_INTLIB_diff}
233 CRUNCH_LIBS+= -llvm -ldevmapper -ldevattr -ldm -lprop # lvm
234 CRUNCH_LIBS+= -ldevstat # vinum
235 CRUNCH_LIBS+= -lbsdxml # ifconfig
236 CRUNCH_LIBS+= -lcam # camcontrol
237 CRUNCH_LIBS+= -lsbuf # camcontrol, ifconfig
238 CRUNCH_LIBS+= -lkiconv # mount_{cd9660,msdos,ntfs}
239 CRUNCH_LIBS+= -llzma # xz
240 CRUNCH_LIBS+= -lbz2 # bzip2
241 CRUNCH_LIBS+= -lkvm # ccdconfig, dmesg, pkill, ps
242 CRUNCH_LIBS+= -lcrypt # pw
243 CRUNCH_LIBS+= -lmd # cpdup
244 CRUNCH_LIBS+= -lprivate_edit # bc, sh, vinum
245 #CRUNCH_LIBS+= -lprivate_ncurses # bc, less, ls, tput, vinum (=> ncursesw)
246 CRUNCH_LIBS+= -lprivate_ncursesw # vi
247 CRUNCH_LIBS+= -lutil
248 CRUNCH_LIBS+= -lz # savecore
249 CRUNCH_LIBS+= -lm # awk, ps, ping
250 CRUNCH_LIBS+= -lpthread
251 CRUNCH_LINKOPTS+= ${PRIVATELIB_LDFLAGS}
253 .include <bsd.crunchgen.mk>
254 .include <bsd.prog.mk>