1 2BINDIR= ${LIBEXECDIR}/bsdinstall 3PROG= partedit 4LINKS= ${BINDIR}/partedit ${BINDIR}/autopart \ 5 ${BINDIR}/partedit ${BINDIR}/scriptedpart 6SYMLINKS= ../libexec/bsdinstall/partedit /usr/sbin/sade 7LIBADD+= geom util bsddialog 8 9PARTEDIT_ARCH= ${MACHINE} 10.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" 11PARTEDIT_ARCH= x86 12.elif ${MACHINE} == "arm64" || ${MACHINE} == "riscv" 13PARTEDIT_ARCH= efi 14.endif 15.if !exists(partedit_${PARTEDIT_ARCH}.c) 16PARTEDIT_ARCH= generic 17.endif 18 19SRCS= diskmenu.c partedit.c gpart_ops.c partedit_${PARTEDIT_ARCH}.c \ 20 part_wizard.c scripted.c 21 22WARNS?= 3 23MAN= sade.8 24 25.include <bsd.prog.mk> 26