2011-02-18 14:54:34 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2015-11-26 01:14:40 +00:00
|
|
|
BINDIR= ${LIBEXECDIR}/bsdinstall
|
2011-02-18 14:54:34 +00:00
|
|
|
PROG= partedit
|
2013-01-20 22:25:58 +00:00
|
|
|
LINKS= ${BINDIR}/partedit ${BINDIR}/autopart \
|
|
|
|
${BINDIR}/partedit ${BINDIR}/scriptedpart
|
2013-01-02 13:25:11 +00:00
|
|
|
SYMLINKS= ${BINDIR}/partedit /usr/sbin/sade
|
2014-11-25 16:57:27 +00:00
|
|
|
LIBADD+= geom ncursesw util dialog m
|
2011-02-18 14:54:34 +00:00
|
|
|
|
|
|
|
PARTEDIT_ARCH= ${MACHINE}
|
|
|
|
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
|
|
|
|
PARTEDIT_ARCH= x86
|
|
|
|
.endif
|
|
|
|
.if !exists(partedit_${PARTEDIT_ARCH}.c)
|
|
|
|
PARTEDIT_ARCH= generic
|
|
|
|
.endif
|
|
|
|
|
|
|
|
SRCS= diskeditor.c partedit.c gpart_ops.c partedit_${PARTEDIT_ARCH}.c \
|
2013-01-20 22:25:58 +00:00
|
|
|
part_wizard.c scripted.c
|
2011-02-18 14:54:34 +00:00
|
|
|
|
|
|
|
WARNS?= 3
|
2012-12-30 14:44:14 +00:00
|
|
|
MAN= sade.8
|
2011-02-18 14:54:34 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|