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>
9 SCRIPTS
= dowpa
${.CURDIR
}/..
/..
/sbin
/dhclient
/dhclient-script
14 CRUNCH_PATH_bin
= ${.CURDIR
}/..
/..
45 # Additional options for specific programs
48 # The -sh alias shouldn't appear as a link
49 CRUNCH_SUPPRESS_LINK_-sh
= 1
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
= \
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
}/..
/..
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
= \
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
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 \
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
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
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
>