Merge branch 'vendor/OPENRESOLV'
[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         scp             \
26         ssh             \
27         tar             \
28         telnet
29
30 CRUNCH_ALIAS_ssh= slogin
31
32 # telnet requires the 'libtelnet.a' internal library
33 CRUNCH_INTLIB_telnet= ${.CURDIR}/../../lib/libtelnet/libtelnet.a
34
35 # Programs from 'sbin'
36 #
37 CRUNCH_SRCDIRS+= sbin
38 CRUNCH_PATH_sbin= ${.CURDIR}/../..
39 CRUNCH_PROGS_sbin=      \
40         md5             \
41         hammer          \
42         hammer2         \
43         ping6           \
44         tcplay
45
46 CRUNCH_ALIAS_md5= rmd160 sha1 sha256 sha512
47
48 # Programs from 'usr.sbin'
49 #
50 CRUNCH_SRCDIRS+= usr.sbin/802_11
51 CRUNCH_PATH_usr.sbin/802_11= ${.CURDIR}/../..
52 CRUNCH_PROGS_usr.sbin/802_11= wpa_supplicant
53
54 # Programs from 'gnu/sbin'
55 #
56 CRUNCH_SRCDIRS+= gnu/sbin
57 CRUNCH_PATH_gnu/sbin= ${.CURDIR}/../..
58 CRUNCH_PROGS_gnu/sbin= cryptsetup
59
60 CRUNCH_LIBS+= -ldm -lprop  # tcplay, cryptsetup
61 CRUNCH_LIBS+= -lpcap  # wpa_supplicant
62 CRUNCH_LIBS+= -lhammer  # hammer
63 CRUNCH_LIBS+= -ldmsg  # hammer2
64 CRUNCH_LIBS+= -lfetch  # fetch
65 CRUNCH_LIBS+= -larchive  # cpio, tar
66 CRUNCH_LIBS+= -llzma  # cpio, tar
67 CRUNCH_LIBS+= -lbz2  # cpio, tar
68 CRUNCH_LIBS+= -lprivate_ncurses -lcrypt  # telnet
69 CRUNCH_LIBS+= -lprivate_ssl  # fetch, wpa_supplicant
70 CRUNCH_LIBS+= -lprivate_ssh  # ssh
71 CRUNCH_LIBS+= -lprivate_crypto
72 CRUNCH_LIBS+= -lmd  # cpio, md5, ping6, tar
73 CRUNCH_LIBS+= -lutil
74 CRUNCH_LIBS+= -lz  # cpio, ssh, tar
75 CRUNCH_LIBS+= -lm  # hammer, hammer2, ping6
76 CRUNCH_LIBS+= -lpthread
77 CRUNCH_LINKOPTS+= ${PRIVATELIB_LDFLAGS}
78
79 .include <bsd.crunchgen.mk>
80 .include <bsd.prog.mk>