]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - usr.sbin/bsdinstall/partedit/Makefile
MFC r291348:
[FreeBSD/stable/10.git] / usr.sbin / bsdinstall / partedit / Makefile
1 # $FreeBSD$
2
3 BINDIR= ${LIBEXECDIR}/bsdinstall
4 PROG=   partedit
5 LINKS= ${BINDIR}/partedit ${BINDIR}/autopart \
6        ${BINDIR}/partedit ${BINDIR}/scriptedpart
7 SYMLINKS= ${BINDIR}/partedit /usr/sbin/sade
8 DPADD=  ${LIBGEOM} ${LIBUTIL} ${LIBDIALOG} ${LIBM}
9 LDADD=  -lgeom -lutil -ldialog -lm
10
11 PARTEDIT_ARCH= ${MACHINE}
12 .if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
13 PARTEDIT_ARCH= x86
14 .endif
15 .if !exists(partedit_${PARTEDIT_ARCH}.c)
16 PARTEDIT_ARCH= generic
17 .endif
18
19 SRCS=   diskeditor.c partedit.c gpart_ops.c partedit_${PARTEDIT_ARCH}.c \
20         part_wizard.c scripted.c
21
22 WARNS?= 3
23 MAN= sade.8
24
25 .include <bsd.own.mk>
26
27 .if ${MK_NCURSESW} == "no"
28 DPADD+= ${LIBNCURSES}
29 LDADD+= -lncurses
30 .else
31 DPADD+= ${LIBNCURSESW}
32 LDADD+= -lncursesw
33 .endif
34
35 .include <bsd.prog.mk>