4c8945a06b
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
28 lines
515 B
Makefile
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>
|