1999-09-05 05:37:49 +00:00
|
|
|
# Makefile for libform
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
NCURSES=${.CURDIR}/../../contrib/ncurses
|
|
|
|
|
|
|
|
.PATH: ${NCURSES}/form
|
2000-10-11 08:19:56 +00:00
|
|
|
.PATH: ${NCURSES}/include
|
1999-09-05 05:37:49 +00:00
|
|
|
|
|
|
|
LIB= form
|
2000-10-11 08:19:56 +00:00
|
|
|
AWK?= awk
|
1999-09-05 05:37:49 +00:00
|
|
|
|
2000-10-11 08:19:56 +00:00
|
|
|
SRCS= ncurses_def.h \
|
|
|
|
fld_arg.c fld_attr.c fld_current.c fld_def.c fld_dup.c fld_ftchoice.c \
|
2000-05-24 09:01:23 +00:00
|
|
|
fld_ftlink.c fld_info.c fld_just.c fld_link.c fld_max.c fld_move.c \
|
|
|
|
fld_newftyp.c fld_opts.c fld_pad.c fld_page.c fld_stat.c fld_type.c \
|
|
|
|
fld_user.c frm_cursor.c frm_data.c frm_def.c frm_driver.c frm_hook.c \
|
|
|
|
frm_opts.c frm_page.c frm_post.c frm_req_name.c frm_scale.c frm_sub.c \
|
|
|
|
frm_user.c frm_win.c fty_alnum.c fty_alpha.c fty_enum.c fty_int.c \
|
|
|
|
fty_ipv4.c fty_num.c fty_regex.c
|
2000-01-14 07:57:47 +00:00
|
|
|
INCS= ${NCURSES}/form/form.h
|
1999-09-05 05:37:49 +00:00
|
|
|
|
2000-10-11 08:19:56 +00:00
|
|
|
CLEANFILES+= ncurses_def.h
|
|
|
|
CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/form -I${NCURSES}/menu \
|
1999-09-05 05:37:49 +00:00
|
|
|
-I${NCURSES}/include -Wall -DNDEBUG -DHAVE_CONFIG_H
|
|
|
|
|
2000-10-11 08:19:56 +00:00
|
|
|
ncurses_def.h: MKncurses_def.sh ncurses_defs
|
|
|
|
AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
|
|
|
|
${NCURSES}/include/ncurses_defs > ncurses_def.h
|
|
|
|
|
1999-09-05 05:37:49 +00:00
|
|
|
.include <bsd.lib.mk>
|