Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bsdinstall/partedit/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
BINDIR= ${LIBEXECDIR}/bsdinstall | BINDIR= ${LIBEXECDIR}/bsdinstall | ||||
PROG= partedit | PROG= partedit | ||||
LINKS= ${BINDIR}/partedit ${BINDIR}/autopart \ | LINKS= ${BINDIR}/partedit ${BINDIR}/autopart \ | ||||
${BINDIR}/partedit ${BINDIR}/scriptedpart | ${BINDIR}/partedit ${BINDIR}/scriptedpart | ||||
SYMLINKS= ../libexec/bsdinstall/partedit /usr/sbin/sade | SYMLINKS= ../libexec/bsdinstall/partedit /usr/sbin/sade | ||||
LIBADD+= geom ncursesw util dialog m | LIBADD+= geom ncursesw util dialog m | ||||
PARTEDIT_ARCH= ${MACHINE} | PARTEDIT_ARCH= ${MACHINE} | ||||
.if ${MACHINE} == "i386" || ${MACHINE} == "amd64" | .if ${MACHINE} == "i386" || ${MACHINE} == "amd64" | ||||
PARTEDIT_ARCH= x86 | PARTEDIT_ARCH= x86 | ||||
.elif ${MACHINE} == "arm64" || ${MACHINE} == "riscv" | |||||
PARTEDIT_ARCH= efi | |||||
.endif | .endif | ||||
.if !exists(partedit_${PARTEDIT_ARCH}.c) | .if !exists(partedit_${PARTEDIT_ARCH}.c) | ||||
PARTEDIT_ARCH= generic | PARTEDIT_ARCH= generic | ||||
.endif | .endif | ||||
SRCS= diskeditor.c partedit.c gpart_ops.c partedit_${PARTEDIT_ARCH}.c \ | SRCS= diskeditor.c partedit.c gpart_ops.c partedit_${PARTEDIT_ARCH}.c \ | ||||
part_wizard.c scripted.c | part_wizard.c scripted.c | ||||
WARNS?= 3 | WARNS?= 3 | ||||
MAN= sade.8 | MAN= sade.8 | ||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> |