freebsd-nq/lib/libform/Makefile

31 lines
999 B
Makefile
Raw Normal View History

# Makefile for libform
# $FreeBSD$
NCURSES=${.CURDIR}/../../contrib/ncurses
.PATH: ${NCURSES}/form
2000-10-11 08:19:56 +00:00
.PATH: ${NCURSES}/include
LIB= form
2000-10-11 08:19:56 +00:00
AWK?= awk
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 \
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
INCS= ${NCURSES}/form/form.h
2000-10-11 08:19:56 +00:00
CLEANFILES+= ncurses_def.h
CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/form -I${NCURSES}/menu \
-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
.include <bsd.lib.mk>