diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2000-10-12 18:41:06 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2000-10-12 18:41:06 +0000 |
| commit | 91f6c53faa97688b47911e7b57ebc7f7a83c8a1b (patch) | |
| tree | 20d6d7c83c030a8728ff210f66e6ef4860fbc10f /lib/libform | |
| parent | b14ebf52fbb5ab36a7aeeb7bcb19d6b2abab0800 (diff) | |
Notes
Diffstat (limited to 'lib/libform')
| -rw-r--r-- | lib/libform/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/libform/Makefile b/lib/libform/Makefile index 5f8a52af66e1..a3d81798469c 100644 --- a/lib/libform/Makefile +++ b/lib/libform/Makefile @@ -4,11 +4,13 @@ NCURSES=${.CURDIR}/../../contrib/ncurses .PATH: ${NCURSES}/form -.PATH: ${NCURSES}/menu +.PATH: ${NCURSES}/include LIB= form +AWK?= awk -SRCS= fld_arg.c fld_attr.c fld_current.c fld_def.c fld_dup.c fld_ftchoice.c \ +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 \ @@ -17,7 +19,12 @@ SRCS= fld_arg.c fld_attr.c fld_current.c fld_def.c fld_dup.c fld_ftchoice.c \ fty_ipv4.c fty_num.c fty_regex.c INCS= ${NCURSES}/form/form.h -CFLAGS+=-I${.CURDIR}/../libncurses -I${NCURSES}/form -I${NCURSES}/menu \ +CLEANFILES+= ncurses_def.h +CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/form -I${NCURSES}/menu \ -I${NCURSES}/include -Wall -DNDEBUG -DHAVE_CONFIG_H +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> |
