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