1 2BINDIR= ${LIBEXECDIR}/bsdinstall 3PROG= partedit 4LINKS= ${BINDIR}/partedit ${BINDIR}/autopart \ 5 ${BINDIR}/partedit ${BINDIR}/scriptedpart 6SYMLINKS= ../libexec/bsdinstall/partedit /usr/sbin/sade 7CFLAGS+= -I${SRCTOP}/contrib/bsddialog/lib -I${.OBJDIR}/../distextract 8LIBADD+= geom util bsddialog 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= diskmenu.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