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