initrd: Reorganize and crunch 70 more rescue tools
[dragonfly.git] / initrd / rescue.libcrypto / 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 # To include '../Makefine.inc' for use in <bsd.crunchgen.mk>
5 .include <bsd.init.mk>
6
7 PROG= rescue.libcrypto
8
9 # Programs from 'bin'
10 #
11 CRUNCH_SRCDIRS+= bin
12 CRUNCH_PATH_bin= ${.CURDIR}/../..
13 CRUNCH_PROGS_bin= ed
14
15 CRUNCH_ALIAS_ed= red
16
17 # Programs from 'usr.bin'
18 #
19 CRUNCH_SRCDIRS+= usr.bin
20 CRUNCH_PATH_usr.bin= ${.CURDIR}/../..
21 CRUNCH_PROGS_usr.bin=   \
22         cpio            \
23         fetch           \
24         nc              \
25         ssh             \
26         tar
27
28 CRUNCH_ALIAS_ssh= scp
29 CRUNCH_KEEP_ssh= roaming_write roaming_read add_recv_bytes
30
31 # Programs from 'sbin'
32 #
33 CRUNCH_SRCDIRS+= sbin
34 CRUNCH_PATH_sbin= ${.CURDIR}/../..
35 CRUNCH_PROGS_sbin=      \
36         md5             \
37         hammer          \
38         hammer2         \
39         ping6           \
40         tcplay
41
42 CRUNCH_ALIAS_md5= rmd160 sha1 sha256 sha512
43
44 # Programs from 'usr.sbin'
45 #
46 CRUNCH_SRCDIRS+= usr.sbin/802_11
47 CRUNCH_PATH_usr.sbin/802_11= ${.CURDIR}/../..
48 CRUNCH_PROGS_usr.sbin/802_11= wpa_supplicant
49
50 # Programs from 'gnu/sbin'
51 #
52 CRUNCH_SRCDIRS+= gnu/sbin
53 CRUNCH_PATH_gnu/sbin= ${.CURDIR}/../..
54 CRUNCH_PROGS_gnu/sbin= cryptsetup
55
56 CRUNCH_LIBS+= -ldm -lprop  # tcplay, cryptsetup
57 CRUNCH_LIBS+= -lpcap  # wpa_supplicant
58 CRUNCH_LIBS+= -lhammer  # hammer
59 CRUNCH_LIBS+= -ldmsg  # hammer2
60 CRUNCH_LIBS+= -lfetch  # fetch
61 CRUNCH_LIBS+= -larchive  # cpio, tar
62 CRUNCH_LIBS+= -llzma  # cpio, tar
63 CRUNCH_LIBS+= -lbz2  # cpio, tar
64 CRUNCH_LIBS+= -lmd  # cpio, md5, ping6, tar
65 CRUNCH_LIBS+= -lprivate_ssl  # fetch, wpa_supplicant
66 CRUNCH_LIBS+= -lprivate_ssh  # ssh
67 CRUNCH_LIBS+= -lprivate_crypto
68 CRUNCH_LIBS+= -lutil
69 CRUNCH_LIBS+= -lz  # cpio, ssh, tar
70 CRUNCH_LIBS+= -lm  # hammer, hammer2, ping6
71 CRUNCH_LIBS+= -lpthread
72 CRUNCH_LIBS+= ${PRIVATELIB_LDFLAGS}
73
74 .include <bsd.crunchgen.mk>
75 .include <bsd.prog.mk>