1# $FreeBSD$ 2 3BINDIR= /usr/libexec/bsdinstall 4PROG= partedit 5LINKS= ${BINDIR}/partedit ${BINDIR}/autopart \ 6 ${BINDIR}/partedit ${BINDIR}/scriptedpart 7SYMLINKS= ${BINDIR}/partedit /usr/sbin/sade 8DPADD= ${LIBGEOM} ${LIBNCURSESW} ${LIBUTIL} ${LIBDIALOG} ${LIBM} 9LDADD= -lgeom -lncursesw -lutil -ldialog -lm 10 11PARTEDIT_ARCH= ${MACHINE} 12.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" 13PARTEDIT_ARCH= x86 14.endif 15.if !exists(partedit_${PARTEDIT_ARCH}.c) 16PARTEDIT_ARCH= generic 17.endif 18 19SRCS= diskeditor.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