ncurses solidation: Remove all references to libtermcap
[dragonfly.git] / share / initrd / bin / Makefile
blob181293dbee9ce22cb56c9418d9a0b769666b3664
1 #$FreeBSD: head/rescue/rescue/Makefile 252356 2013-06-28 21:00:08Z davide $
2 # @(#)Makefile 8.1 (Berkeley) 6/2/93
4 NO_MAN= YES
6 .include <bsd.own.mk>
8 PROG= rescue
9 BINDIR= /usr/share/initrd/bin
10 SCRIPTS=dowpa
12 ###################################################################
13 # Programs from stock /bin
15 # WARNING: Changing this list may require adjusting
16 # /usr/include/paths.h as well! You were warned!
18 CRUNCH_SRCDIRS+= bin
19 CRUNCH_PROGS_bin= \
20 cat \
21 chmod \
22 cp \
23 cpdup \
24 dd \
25 df \
26 echo \
27 kill \
28 ln \
29 ls \
30 mined \
31 mkdir \
32 mv \
33 ps \
34 pwd \
35 rm \
36 rmdir \
37 sh \
38 sleep \
39 sync \
40 test
42 CRUNCH_LIBS+= -lcrypt -lprivate_edit -lkvm -ll -lmd -lprivate_ncurses -lutil
43 CRUNCH_BUILDTOOLS+= bin/sh
45 # Additional options for specific programs
46 CRUNCH_ALIAS_test= [
48 CRUNCH_ALIAS_sh= -sh
49 # The -sh alias shouldn't appear in /rescue as a hard link
50 CRUNCH_SUPPRESS_LINK_-sh= 1
52 CRUNCH_ALIAS_ln= link
53 CRUNCH_ALIAS_rm= unlink
56 CRUNCH_SRCDIRS+= usr.bin
57 CRUNCH_PROGS_usr.bin= du less
58 CRUNCH_ALIAS_less= more
60 CRUNCH_SRCDIRS+= secure/usr.bin
61 CRUNCH_PROGS_secure/usr.bin= ssh
62 CRUNCH_ALIAS_ssh= scp
64 CRUNCH_KEEP_ssh= roaming_write roaming_read add_recv_bytes
66 CRUNCH_LIBS+= -lprivate_ssh -lcrypto -lz -lpthread \
67 -rpath /lib/priv:/usr/lib/priv -L ${_SHLIBDIRPREFIX}/usr/lib/priv
69 .include <bsd.crunchgen.mk>
70 .include <bsd.prog.mk>