Changeset View
Changeset View
Standalone View
Standalone View
rescue/rescue/Makefile
Show First 20 Lines • Show All 131 Lines • ▼ Show 20 Lines | |||||
CRUNCH_PROGS_usr.sbin+= zdb | CRUNCH_PROGS_usr.sbin+= zdb | ||||
.endif | .endif | ||||
# crunchgen does not like C++ programs; this should be fixed someday | # crunchgen does not like C++ programs; this should be fixed someday | ||||
# CRUNCH_PROGS+= devd | # CRUNCH_PROGS+= devd | ||||
CRUNCH_LIBS+= -l80211 -lalias -lcam -lncursesw -ldevstat -lipsec -llzma | CRUNCH_LIBS+= -l80211 -lalias -lcam -lncursesw -ldevstat -lipsec -llzma | ||||
.if ${MK_ZFS} != "no" | .if ${MK_ZFS} != "no" | ||||
CRUNCH_LIBS+= -lavl -lzpool -lzfs_core -lzfs -lnvpair -lpthread -luutil -lumem | CRUNCH_LIBS+= -lavl -lpthread -luutil -lumem -ltpool -lspl | ||||
CRUNCH_LIBS+= -lbe -lzfsbootenv -lzutil -ltpool -lspl -licp_rescue | CRUNCH_LIBS_zfs+= ${LIBBE} \ | ||||
${LIBZPOOL} \ | |||||
${LIBZUTIL} \ | |||||
${LIBZFS} \ | |||||
${LIBZFS_CORE} \ | |||||
${LIBZFSBOOTENV} \ | |||||
${LIBICP_RESCUE} \ | |||||
${LIBNVPAIR} | |||||
CRUNCH_LIBS_bectl+= ${CRUNCH_LIBS_zfs} | |||||
CRUNCH_LIBS_zpool+= ${CRUNCH_LIBS_zfs} | |||||
CRUNCH_LIBS_zdb+= ${CRUNCH_LIBS_zfs} | |||||
.else | .else | ||||
# liblzma needs pthread | # liblzma needs pthread | ||||
CRUNCH_LIBS+= -lpthread | CRUNCH_LIBS+= -lpthread | ||||
.endif | .endif | ||||
CRUNCH_LIBS+= -lgeom -lbsdxml -lkiconv | CRUNCH_LIBS+= -lgeom -lbsdxml -lkiconv | ||||
.if ${MK_OPENSSL} == "no" | .if ${MK_OPENSSL} == "no" | ||||
CRUNCH_LIBS+= -lmd | CRUNCH_LIBS+= -lmd | ||||
.endif | .endif | ||||
▲ Show 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | |||||
CRUNCH_PROGS_usr.sbin+= chroot | CRUNCH_PROGS_usr.sbin+= chroot | ||||
CRUNCH_PROGS_usr.sbin+= chown | CRUNCH_PROGS_usr.sbin+= chown | ||||
CRUNCH_ALIAS_chown= chgrp | CRUNCH_ALIAS_chown= chgrp | ||||
################################################################## | ################################################################## | ||||
CRUNCH_LIBS+= ${OBJTOP}/lib/libifconfig/libifconfig.a | CRUNCH_LIBS+= ${OBJTOP}/lib/libifconfig/libifconfig.a | ||||
CRUNCH_BUILDOPTS+= CRUNCH_CFLAGS+=-I${OBJTOP}/lib/libifconfig | CRUNCH_BUILDOPTS+= CRUNCH_CFLAGS+=-I${OBJTOP}/lib/libifconfig | ||||
CRUNCH_LIBS_ifconfig+= ${LIBNV} | |||||
CRUNCH_LIBS+= -lm | CRUNCH_LIBS+= -lm | ||||
.if ${MK_ISCSI} != "no" | .if ${MK_ISCSI} != "no" | ||||
CRUNCH_PROGS_usr.bin+= iscsictl | CRUNCH_PROGS_usr.bin+= iscsictl | ||||
CRUNCH_PROGS_usr.sbin+= iscsid | CRUNCH_PROGS_usr.sbin+= iscsid | ||||
CRUNCH_LIBS+= ${OBJTOP}/lib/libiscsiutil/libiscsiutil.a | CRUNCH_LIBS+= ${OBJTOP}/lib/libiscsiutil/libiscsiutil.a | ||||
CRUNCH_BUILDOPTS+= CRUNCH_CFLAGS+=-I${OBJTOP}/lib/libiscsiutil | CRUNCH_BUILDOPTS+= CRUNCH_CFLAGS+=-I${OBJTOP}/lib/libiscsiutil | ||||
.endif | .endif | ||||
.include <bsd.crunchgen.mk> | .include <bsd.crunchgen.mk> | ||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> |