libedit: No need of the bundled fgetln, vis and wcsdup
[dragonfly.git] / initrd / sbin / 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.sbin
8
9 SCRIPTS= ${.CURDIR}/../../sbin/dhclient/dhclient-script
10
11 CRUNCH_SRCDIRS+= sbin
12 CRUNCH_PATH_sbin= ${.CURDIR}/../..
13 CRUNCH_PROGS_sbin=      \
14         camcontrol      \
15         ccdconfig       \
16         dhclient        \
17         diskinfo        \
18         disklabel32     \
19         disklabel64     \
20         dmesg           \
21         dumpfs          \
22         dumpon          \
23         fdisk           \
24         ffsinfo         \
25         fsck            \
26         fsck_msdosfs    \
27         gpt             \
28         growfs          \
29         ifconfig        \
30         kldconfig       \
31         kldload         \
32         kldstat         \
33         kldunload       \
34         mount           \
35         mount_cd9660    \
36         mount_hammer    \
37         mount_hammer2   \
38         mount_msdos     \
39         mount_nfs       \
40         mount_ntfs      \
41         mount_null      \
42         mount_tmpfs     \
43         mount_ufs       \
44         natacontrol     \
45         newfs           \
46         newfs_hammer    \
47         newfs_hammer2   \
48         newfs_msdos     \
49         rconfig         \
50         reboot          \
51         route           \
52         shutdown        \
53         swapon          \
54         sysctl          \
55         tunefs          \
56         udevd           \
57         umount          \
58         vinum
59
60 CRUNCH_ALIAS_disklabel64= disklabel
61 CRUNCH_ALIAS_newfs= mount_mfs
62 CRUNCH_ALIAS_reboot= halt
63 CRUNCH_ALIAS_shutdown= poweroff
64 CRUNCH_ALIAS_swapon= swapoff swapctl
65
66 CRUNCH_LIBS+= -lcam -lsbuf -lutil -lkvm -lm -lhammer -lkiconv
67 CRUNCH_LIBS+= -lprivate_edit -lprivate_ncurses -ldevstat -lprop -lpthread
68 CRUNCH_LIBS+= -lbsdxml
69 CRUNCH_LIBS+= ${PRIVATELIB_LDFLAGS}
70
71 CRUNCH_SRCDIRS+= usr.sbin
72 CRUNCH_PATH_usr.sbin= ${.CURDIR}/../..
73 CRUNCH_PROGS_usr.sbin= boot0cfg chroot
74
75 .include <bsd.crunchgen.mk>
76 .include <bsd.prog.mk>