Switch base to use private LibreSSL libaries
[dragonfly.git] / share / initrd / bin / Makefile
1 #$FreeBSD: head/rescue/rescue/Makefile 252356 2013-06-28 21:00:08Z davide $
2 #       @(#)Makefile    8.1 (Berkeley) 6/2/93
3
4 NO_MAN= YES
5
6 .include <bsd.own.mk>
7
8 PROG=   rescue
9 BINDIR= /usr/share/initrd/bin
10 SCRIPTS=dowpa
11
12 ###################################################################
13 # Programs from stock /bin
14 #
15 # WARNING: Changing this list may require adjusting
16 # /usr/include/paths.h as well!  You were warned!
17 #
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
41
42 CRUNCH_LIBS+= -lcrypt -lprivate_edit -lkvm -ll -lmd -lprivate_ncurses -lutil
43 CRUNCH_BUILDTOOLS+= bin/sh
44
45 # Additional options for specific programs
46 CRUNCH_ALIAS_test= [
47
48 CRUNCH_ALIAS_sh= -sh
49 # The -sh alias shouldn't appear in /rescue as a hard link
50 CRUNCH_SUPPRESS_LINK_-sh= 1
51
52 CRUNCH_ALIAS_ln= link
53 CRUNCH_ALIAS_rm= unlink
54
55
56 CRUNCH_SRCDIRS+= usr.bin
57 CRUNCH_PROGS_usr.bin= du less undo
58 CRUNCH_ALIAS_less= more
59
60 CRUNCH_SRCDIRS+= secure/usr.bin
61 CRUNCH_PROGS_secure/usr.bin= ssh
62 CRUNCH_ALIAS_ssh= scp
63
64 CRUNCH_KEEP_ssh= roaming_write roaming_read add_recv_bytes
65
66 CRUNCH_LIBS+=   -lprivate_ssh -lprivate_crypto -lz -lpthread \
67                 -rpath /lib/priv:/usr/lib/priv -L ${_SHLIBDIRPREFIX}/usr/lib/priv
68
69 .include <bsd.crunchgen.mk>
70 .include <bsd.prog.mk>