1# $FreeBSD$ 2 3BINDIR= /usr/libexec/bsdinstall 4PROG= partedit 5LINKS= ${BINDIR}/partedit ${BINDIR}/autopart 6SYMLINKS= ${BINDIR}/partedit /usr/sbin/sade 7LDADD= -lgeom -lncursesw -lutil -ldialog -lm 8 9PARTEDIT_ARCH= ${MACHINE} 10.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" 11PARTEDIT_ARCH= x86 12.endif 13.if !exists(partedit_${PARTEDIT_ARCH}.c) 14PARTEDIT_ARCH= generic 15.endif 16 17SRCS= diskeditor.c partedit.c gpart_ops.c partedit_${PARTEDIT_ARCH}.c \ 18 part_wizard.c 19 20WARNS?= 3 21MAN= sade.8 22 23.include <bsd.prog.mk> 24