dev_dopen() can be called multiple times with only one dev_dclose() when
[dragonfly/vkernel-mp.git] / lib / libncurses / libmenu / Makefile
blobffa15289f7ed6780184c27a24f63831d4f8c075e
1 # $DragonFly: src/lib/libncurses/libmenu/Makefile,v 1.5 2005/12/06 03:22:23 corecode Exp $
3 LIB= menu
5 .include "../Makefile.inc"
7 NCURSESMENUDIR= ${NCURSESDIR}/menu ${.OBJDIR}
9 .PATH: ${NCURSESMENUDIR}
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 m_attribs.c \
31 m_cursor.c \
32 m_driver.c \
33 m_format.c \
34 m_global.c \
35 m_hook.c \
36 m_item_cur.c \
37 m_item_nam.c \
38 m_item_new.c \
39 m_item_opt.c \
40 m_item_top.c \
41 m_item_use.c \
42 m_item_val.c \
43 m_item_vis.c \
44 m_items.c \
45 m_new.c \
46 m_opts.c \
47 m_pad.c \
48 m_pattern.c \
49 m_post.c \
50 m_req_name.c \
51 m_scale.c \
52 m_spacing.c \
53 m_sub.c \
54 m_userptr.c \
55 m_win.c
57 INCS= menu.h eti.h
59 .include <bsd.lib.mk>