dev_dopen() can be called multiple times with only one dev_dclose() when
[dragonfly/vkernel-mp.git] / lib / libncurses / libform / Makefile
blob37a8c53cb79da876a3d637c1130563a2b4715b10
1 # $DragonFly: src/lib/libncurses/libform/Makefile,v 1.5 2005/12/06 03:22:23 corecode Exp $
3 LIB= form
5 .include "../Makefile.inc"
7 NCURSESFORMDIR= ${NCURSESDIR}/form ${.OBJDIR}
9 .PATH: ${NCURSESFORMDIR}
11 CFLAGS+= -I${NCURSESDIR}/menu
13 TERMINFO_CAPS= ${NCURSESDIR}/include/Caps
15 ncurses_def.h:
16 sh ${NCURSESDIR}/include/MKncurses_def.sh ${NCURSESDIR}/include/ncurses_defs > ${.TARGET}
17 curses.h:
18 cat ${.CURDIR}/../include/curses.head >$@
19 sh ${NCURSESDIR}/include/MKkey_defs.sh $(TERMINFO_CAPS) >>$@
20 cat ${NCURSESDIR}/include/curses.wide >>$@
21 cat ${NCURSESDIR}/include/curses.tail >>$@
23 CLEANFILES= curses.h ncurses_def.h
25 SRCS= \
26 ncurses_def.h \
27 curses.h
29 SRCS+= \
30 fld_arg.c \
31 fld_attr.c \
32 fld_current.c \
33 fld_def.c \
34 fld_dup.c \
35 fld_ftchoice.c \
36 fld_ftlink.c \
37 fld_info.c \
38 fld_just.c \
39 fld_link.c \
40 fld_max.c \
41 fld_move.c \
42 fld_newftyp.c \
43 fld_opts.c \
44 fld_pad.c \
45 fld_page.c \
46 fld_stat.c \
47 fld_type.c \
48 fld_user.c \
49 frm_cursor.c \
50 frm_data.c \
51 frm_def.c \
52 frm_driver.c \
53 frm_hook.c \
54 frm_opts.c \
55 frm_page.c \
56 frm_post.c \
57 frm_req_name.c \
58 frm_scale.c \
59 frm_sub.c \
60 frm_user.c \
61 frm_win.c \
62 fty_alnum.c \
63 fty_alpha.c \
64 fty_enum.c \
65 fty_int.c \
66 fty_ipv4.c \
67 fty_num.c \
68 fty_regex.c
70 INCS= form.h
72 .include <bsd.lib.mk>