Fix mdoc(7)/man(7) mix up.
[netbsd-mini2440.git] / lib / libcurses / Makefile
blob44c13df42635ceafcab7860e988c59a613d90efa
1 # $NetBSD: Makefile,v 1.62 2009/04/06 00:48:19 christos Exp $
2 # @(#)Makefile 8.2 (Berkeley) 1/2/94
4 .include <bsd.own.mk>
6 WARNS= 2
8 CPPFLAGS+=-I${.CURDIR} -I${NETBSDSRCDIR}/lib/libterm
9 .if defined(DEBUG_CURSES)
10 CPPFLAGS+=-g -DDEBUG
11 .endif
12 .if defined(SMALL)
13 CPPFLAGS+=-DSMALL
14 .endif
15 LIB= curses
16 SRCS= acs.c addbytes.c addch.c addchnstr.c addnstr.c attributes.c \
17 background.c bell.c border.c box.c chgat.c clear.c clearok.c \
18 clrtobot.c clrtoeol.c color.c copywin.c cr_put.c \
19 ctrace.c cur_hash.c curs_set.c \
20 curses.c delch.c deleteln.c delwin.c echochar.c erase.c fileio.c \
21 flushok.c fullname.c getch.c getstr.c getyx.c id_subwins.c idlok.c \
22 idcok.c inch.c inchstr.c initscr.c insch.c insdelln.c insertln.c \
23 instr.c keypad.c keyname.c leaveok.c line.c longname.c meta.c move.c \
24 mvwin.c newwin.c nodelay.c notimeout.c overlay.c overwrite.c pause.c \
25 printw.c putchar.c refresh.c resize.c scanw.c screen.c scroll.c \
26 scrollok.c setterm.c standout.c timeout.c toucholap.c touchwin.c \
27 tscroll.c tstp.c tty.c unctrl.c underscore.c
29 MAN= curses.3 curses_addch.3 curses_addchstr.3 curses_addstr.3 \
30 curses_attributes.3 curses_background.3 curses_border.3 \
31 curses_chgat.3 curses_clear.3 curses_color.3 \
32 curses_cursor.3 curses_default_colors.3 \
33 curses_delch.3 curses_deleteln.3 curses_echochar.3 curses_fileio.3 \
34 curses_inch.3 curses_input.3 curses_insertch.3 curses_insertln.3 \
35 curses_insdelln.3 curses_keyname.3 curses_line.3 curses_pad.3 \
36 curses_print.3 curses_refresh.3 curses_scanw.3 curses_screen.3 \
37 curses_scroll.3 curses_standout.3 curses_termcap.3 curses_touch.3 \
38 curses_tty.3 curses_underscore.3 curses_window.3
39 INCS= curses.h unctrl.h
40 INCSDIR=/usr/include
42 CPPFLAGS+=-DCM_N -DCM_GT -DCM_B -DCM_D
43 SRCS+= termcap.c tgoto.c tputs.c
44 .PATH: ${NETBSDSRCDIR}/lib/libterm
46 .if !defined(DISABLE_WCHAR)
47 CPPFLAGS+=-DHAVE_WCHAR
48 SRCS+= cchar.c add_wch.c add_wchstr.c addwstr.c echo_wchar.c ins_wch.c \
49 insstr.c ins_wstr.c get_wch.c get_wstr.c in_wch.c in_wchstr.c \
50 inwstr.c
51 .else
52 CPPFLAGS+=-DDISABLE_WCHAR
53 .endif
55 MLINKS+= curses_addch.3 addch.3 curses_addchstr.3 addchnstr.3 \
56 curses_addchstr.3 addchstr.3 curses_addstr.3 addnstr.3 \
57 curses_addstr.3 addstr.3 \
58 curses_default_colors.3 assume_default_colors.3 \
59 curses_attributes.3 attr_get.3 curses_attributes.3 attr_off.3 \
60 curses_attributes.3 attr_on.3 curses_attributes.3 attr_set.3 \
61 curses_attributes.3 attron.3 curses_attributes.3 attroff.3 \
62 curses_attributes.3 attrset.3 curses_tty.3 beep.3 \
63 curses_background.3 bkgd.3 curses_background.3 bkgdset.3 \
64 curses_border.3 border.3 curses_border.3 box.3 \
65 curses_chgat.3 chgat.3 curses_chgat.3 mvchgat.3 \
66 curses_chgat.3 mvwchgat.3 curses_chgat.3 wchgat.3 \
67 curses_color.3 can_change_color.3 curses_tty.3 cbreak.3 \
68 curses_clear.3 clear.3 curses_clear.3 clearok.3 \
69 curses_clear.3 clrtobot.3 curses_clear.3 clrtoeol.3 \
70 curses_color.3 color_content.3 curses_attributes.3 color_set.3 \
71 curses_window.3 copywin.3 curses_tty.3 curs_set.3 \
72 curses_tty.3 delay_output.3 curses_tty.3 def_prog_mode.3 \
73 curses_tty.3 def_shell_mode.3 curses_delch.3 delch.3 \
74 curses_deleteln.3 deleteln.3 curses_screen.3 delscreen.3 \
75 curses_window.3 delwin.3 curses_window.3 derwin.3 \
76 curses_refresh.3 doupdate.3 curses_window.3 dupwin.3 \
77 curses_tty.3 echo.3 curses_echochar.3 echochar.3 \
78 curses_screen.3 endwin.3 curses_clear.3 erase.3 \
79 curses_tty.3 erasechar.3 \
80 curses_tty.3 flash.3 curses_tty.3 flushinp.3 \
81 curses_refresh.3 flushok.3 \
82 curses_termcap.3 fullname.3 curses_attributes.3 getattrs.3 \
83 curses_background.3 getbkgd.3 curses_termcap.3 getcap.3 \
84 curses_input.3 getch.3 curses_cursor.3 getcury.3 \
85 curses_cursor.3 getcurx.3 curses_cursor.3 getbegy.3 \
86 curses_cursor.3 getbegx.3 curses_cursor.3 getmaxx.3 \
87 curses_cursor.3 getmaxy.3 curses_cursor.3 getmaxyx.3 \
88 curses_input.3 getnstr.3 \
89 curses_cursor.3 getpary.3 curses_cursor.3 getparx.3 \
90 curses_cursor.3 getparyx.3 curses_fileio.3 getwin.3 \
91 curses_input.3 getstr.3 \
92 curses_tty.3 gettmode.3 curses_cursor.3 getyx.3 \
93 curses_color.3 has_colors.3 curses_tty.3 has_ic.3 \
94 curses_tty.3 halfdelay.3 curses_tty.3 has_il.3 \
95 curses_line.3 hline.3 curses_tty.3 idcok.3 \
96 curses_tty.3 idlok.3 curses_inch.3 inch.3 \
97 curses_inch.3 inchnstr.3 curses_inch.3 inchstr.3 \
98 curses_inch.3 innstr.3 curses_color.3 init_color.3 \
99 curses_color.3 init_pair.3 curses_screen.3 initscr.3 \
100 curses_insertch.3 insch.3 curses_insdelln.3 insdelln.3 \
101 curses_insertln.3 insertln.3 curses_inch.3 instr.3 \
102 curses_tty.3 intrflush.3 curses_touch.3 is_linetouched.3 \
103 curses_touch.3 is_wintouched.3 curses_screen.3 isendwin.3 \
104 curses_keyname.3 keyname.3 \
105 curses_input.3 keypad.3 curses_tty.3 killchar.3 \
106 curses_refresh.3 leaveok.3 curses_termcap.3 longname.3 \
107 curses_tty.3 meta.3 curses_cursor.3 move.3 \
108 curses_addch.3 mvaddch.3 curses_addchstr.3 mvaddchnstr.3 \
109 curses_addchstr.3 mvaddchstr.3 curses_addstr.3 mvaddnstr.3 \
110 curses_addstr.3 mvaddstr.3 \
111 curses_cursor.3 mvcur.3 curses_window.3 mvderwin.3 \
112 curses_input.3 mvgetch.3 \
113 curses_input.3 mvgetnstr.3 curses_input.3 mvgetstr.3 \
114 curses_line.3 mvhline.3 curses_print.3 mvprintw.3 \
115 curses_line.3 mvvline.3 curses_addch.3 mvwaddch.3 \
116 curses_addchstr.3 mvwaddchnstr.3 curses_addchstr.3 mvwaddchstr.3 \
117 curses_addstr.3 mvwaddnstr.3 curses_addstr.3 mvwaddstr.3 \
118 curses_input.3 mvwgetch.3 \
119 curses_input.3 mvwgetnstr.3 curses_input.3 mvwgetstr.3 \
120 curses_line.3 mvwhline.3 curses_window.3 mvwin.3 \
121 curses_inch.3 mvinchnstr.3 \
122 curses_inch.3 mvinchstr.3 curses_inch.3 mvinnstr.3 \
123 curses_inch.3 mvinstr.3 curses_inch.3 mvwinchnstr.3 \
124 curses_inch.3 mvwinchstr.3 curses_inch.3 mvwinnstr.3 \
125 curses_inch.3 mvwinstr.3 curses_print.3 mvwprintw.3 \
126 curses_line.3 mvwvline.3 curses_tty.3 napms.3 \
127 curses_pad.3 newpad.3 curses_screen.3 newterm.3 \
128 curses_window.3 newwin.3 curses_tty.3 nl.3 \
129 curses_tty.3 nocbreak.3 curses_input.3 nodelay.3 \
130 curses_tty.3 noecho.3 curses_tty.3 nonl.3 \
131 curses_tty.3 noqiflush.3 \
132 curses_tty.3 noraw.3 curses_input.3 notimeout.3 \
133 curses_window.3 overlay.3 curses_window.3 overwrite.3 \
134 curses_color.3 pair_content.3 curses_echochar.3 pechochar.3 \
135 curses_pad.3 pnoutrefresh.3 \
136 curses_pad.3 prefresh.3 curses_print.3 printw.3 \
137 curses_fileio.3 putwin.3 curses_tty.3 qiflush.3 \
138 curses_tty.3 raw.3 curses_refresh.3 refresh.3 \
139 curses_tty.3 reset_prog_mode.3 curses_tty.3 reset_shell_mode.3 \
140 curses_tty.3 resetty.3 curses_screen.3 resizeterm.3 \
141 curses_tty.3 savetty.3 curses_scanw.3 scanw.3 \
142 curses_scroll.3 scrl.3 curses_scroll.3 scroll.3 \
143 curses_scroll.3 scrollok.3 curses_scroll.3 setscrreg.3 \
144 curses_screen.3 set_term.3 curses_screen.3 setterm.3 \
145 curses_standout.3 standend.3 curses_standout.3 standout.3 \
146 curses_color.3 start_color.3 curses_pad.3 subpad.3 \
147 curses_window.3 subwin.3 curses_input.3 timeout.3 \
148 curses_touch.3 touchline.3 curses_touch.3 touchoverlap.3 \
149 curses_touch.3 touchwin.3 curses_print.3 unctrl.3 \
150 curses_underscore.3 underend.3 curses_underscore.3 underscore.3 \
151 curses_input.3 ungetch.3 curses_touch.3 untouchwin.3 \
152 curses_default_colors.3 use_default_colors.3 curses_line.3 vline.3 \
153 curses_addch.3 waddch.3 curses_addchstr.3 waddchnstr.3 \
154 curses_addchstr.3 waddchstr.3 curses_addstr.3 waddnstr.3 \
155 curses_addstr.3 waddstr.3 \
156 curses_attributes.3 wattr_get.3 curses_attributes.3 wattr_off.3 \
157 curses_attributes.3 wattr_on.3 curses_attributes.3 wattr_set.3 \
158 curses_attributes.3 wattron.3 curses_attributes.3 wattroff.3 \
159 curses_attributes.3 wattrset.3 curses_background.3 wbkgd.3 \
160 curses_background.3 wbkgdset.3 curses_border.3 wborder.3 \
161 curses_clear.3 wclear.3 curses_clear.3 wclrtobot.3 \
162 curses_clear.3 wclrtoeol.3 curses_attributes.3 wcolor_set.3 \
163 curses_delch.3 wdelch.3 curses_deleteln.3 wdeleteln.3 \
164 curses_echochar.3 wechochar.3 \
165 curses_clear.3 werase.3 curses_input.3 wgetch.3 \
166 curses_input.3 wgetnstr.3 curses_input.3 wgetstr.3 \
167 curses_line.3 whline.3 curses_inch.3 winch.3 \
168 curses_inch.3 winchnstr.3 curses_inch.3 winchstr.3 \
169 curses_inch.3 winnstr.3 curses_insertch.3 winsch.3 \
170 curses_insdelln.3 winsdelln.3 curses_insertln.3 winsertln.3 \
171 curses_inch.3 winstr.3 curses_cursor.3 wmove.3 \
172 curses_refresh.3 wnoutrefresh.3 curses_print.3 wprintw.3 \
173 curses_refresh.3 wrefresh.3 curses_window.3 wresize.3 \
174 curses_scanw.3 wscanw.3 curses_scroll.3 wscrl.3 \
175 curses_scroll.3 wsetscrreg.3 curses_standout.3 wstandend.3 \
176 curses_standout.3 wstandout.3 curses_input.3 wtimeout.3 \
177 curses_touch.3 wtouchln.3 curses_underscore.3 wunderend.3 \
178 curses_underscore.3 wunderscore.3 curses_line.3 wvline.3
180 .if make(install)
181 SUBDIR+= PSD.doc
182 .endif
184 fileio.h: shlib_version genfileioh.awk
185 ${TOOL_AWK} -f ${.CURDIR}/genfileioh.awk < ${.CURDIR}/shlib_version > ${.CURDIR}/fileio.h
187 .include <bsd.lib.mk>
188 .include <bsd.subdir.mk>