mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-22 11:17:19 +00:00
25faff346c
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
28 lines
512 B
Makefile
28 lines
512 B
Makefile
# $FreeBSD$
|
|
|
|
.if ${MACHINE_CPUARCH} != "ia64"
|
|
_wizard= wizard.c
|
|
.endif
|
|
|
|
PROG= sade
|
|
MAN= sade.8
|
|
SRCS= command.c config.c devices.c \
|
|
disks.c dispatch.c dmenu.c \
|
|
globals.c install.c \
|
|
label.c main.c menus.c misc.c \
|
|
msg.c system.c termcap.c \
|
|
variable.c ${_wizard}
|
|
WARNS?= 3
|
|
|
|
# command.c
|
|
|
|
.if ${MACHINE} == "pc98"
|
|
CFLAGS+= -DPC98
|
|
.endif
|
|
CFLAGS+= -I${.CURDIR}/../../gnu/lib/libdialog -I.
|
|
|
|
DPADD= ${LIBDIALOG} ${LIBNCURSES} ${LIBUTIL} ${LIBDISK}
|
|
LDADD= -ldialog -lncurses -lutil -ldisk
|
|
|
|
.include <bsd.prog.mk>
|