freebsd-nq/usr.sbin/sade/Makefile
Nathan Whitehorn 4c8945a06b Update dialog to version 20100428. This changes the license under which
dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new
features and a new and better libdialog API. The existing libdialog will
be kept temporarily as libodialog for compatibility purposes until sade,
sysinstall and tzsetup have been either updated or replaced.

__FreeBSD_version is now 900030.

Discussed on:	-current
Approved by:	core
Obtained from:	http://invisible-island.net/dialog
2011-01-12 14:55:02 +00:00

28 lines
515 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/libodialog -I.
DPADD= ${LIBODIALOG} ${LIBNCURSES} ${LIBUTIL} ${LIBDISK}
LDADD= -lodialog -lncurses -lutil -ldisk
.include <bsd.prog.mk>