2001-01-17 03:32:00 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2010-08-23 22:24:11 +00:00
|
|
|
.if ${MACHINE_CPUARCH} != "ia64"
|
2003-11-02 08:58:57 +00:00
|
|
|
_wizard= wizard.c
|
|
|
|
.endif
|
|
|
|
|
2006-08-07 23:35:49 +00:00
|
|
|
PROG= sade
|
|
|
|
MAN= sade.8
|
2011-11-24 08:56:24 +00:00
|
|
|
SRCS= command.c devices.c \
|
2011-11-24 10:08:22 +00:00
|
|
|
disks.c dmenu.c \
|
2006-08-09 11:25:10 +00:00
|
|
|
globals.c install.c \
|
2006-08-09 09:12:01 +00:00
|
|
|
label.c main.c menus.c misc.c \
|
2006-08-07 23:35:49 +00:00
|
|
|
msg.c system.c termcap.c \
|
2006-08-09 11:25:10 +00:00
|
|
|
variable.c ${_wizard}
|
2006-08-09 08:25:21 +00:00
|
|
|
WARNS?= 3
|
2006-08-07 23:35:49 +00:00
|
|
|
|
|
|
|
# command.c
|
1995-05-27 10:47:44 +00:00
|
|
|
|
2000-06-05 13:17:23 +00:00
|
|
|
.if ${MACHINE} == "pc98"
|
|
|
|
CFLAGS+= -DPC98
|
|
|
|
.endif
|
2011-11-24 18:37:16 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../contrib/dialog -I.
|
1995-05-01 21:56:32 +00:00
|
|
|
|
2011-11-24 18:37:16 +00:00
|
|
|
DPADD= ${LIBDIALOG} ${LIBNCURSESW} ${LIBM} ${LIBUTIL} ${LIBDISK}
|
|
|
|
LDADD= -ldialog -lncursesw -lm -lutil -ldisk
|
1995-04-27 12:50:35 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|