Makefile revision 172832
1167612Ssimon# $FreeBSD: head/lib/ncurses/ncurses/Makefile 172832 2007-10-20 19:01:50Z ru $ 2167612Ssimon 3167612SsimonSHLIBDIR?= /lib 4167612Ssimon 5167612Ssimon.include <bsd.own.mk> 6167612Ssimon 7167612Ssimon.include "${.CURDIR}/../config.mk" 8167612Ssimon 9167612SsimonLIB= ncurses${LIB_SUFFIX} 10167612SsimonSHLIB_MAJOR= 7 11167612Ssimon 12167612SsimonNO_LINT= 13280304Sjkim 14167612SsimonNCURSES_MAJOR!= egrep 'NCURSES_MAJOR[ ]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%' 15167612SsimonNCURSES_MINOR!= egrep 'NCURSES_MINOR[ ]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%' 16167612SsimonNCURSES_PATCH!= egrep 'NCURSES_PATCH[ ]*=' ${NCURSES_DIR}/dist.mk | sed -e 's%^[^0-9]*%%' 17167612Ssimon 18167612Ssimon# From autoconf (!) 19167612Ssimon.if defined(ENABLE_WIDEC) 20167612SsimonNCURSES_CH_T= cchar_t 21167612SsimonNEED_WCHAR_H= 1 22167612Ssimon.else 23167612SsimonNCURSES_CH_T= chtype 24167612SsimonNEED_WCHAR_H= 0 25167612Ssimon.endif 26167612SsimonNCURSES_CONST= const 27167612SsimonNCURSES_EXT_COLORS= 0 28167612SsimonNCURSES_EXT_FUNCS= 1 29167612SsimonNCURSES_INLINE= inline 30167612SsimonNCURSES_LIBUTF8= 0 31167612SsimonNCURSES_MBSTATE_T= 0 32167612SsimonNCURSES_MOUSE_VERSION= 1 33167612SsimonNCURSES_OSPEED= short 34167612SsimonNCURSES_SBOOL= char 35167612SsimonNCURSES_TPARM_VARARGS= 1 36167612SsimonNCURSES_WCHAR_T= 0 37167612SsimonNCURSES_WINT_T= 0 38167612SsimonNCURSES_XNAMES= 1 39167612SsimonBROKEN_LINKER= 0 40167612SsimonBUILTIN_BOOL= 1 41167612SsimonENABLE_LP64= 0 42167612SsimonHAVE_TCGETATTR= 1 43167612SsimonHAVE_TERMIOS_H= 1 44167612SsimonHAVE_TERMIO_H= 0 45167612SsimonHAVE_VSSCANF= 1 46167612SsimonHEADER_STDBOOL= 1 47167612Ssimon# XXX amd64, ia64 1L and int 48167612SsimonONEUL= 1UL 49167612SsimonTYPEOF_CHTYPE= long 50167612SsimonTYPEOF_MMASK_T= long 51167612SsimonTYPE_OF_BOOL= unsigned char 52167612SsimonUSE_CXX_BOOL= defined(__cplusplus) 53167612Ssimon 54167612SsimonGENSRCS= \ 55167612Ssimon codes.c \ 56167612Ssimon expanded.c \ 57167612Ssimon fallback.c \ 58167612Ssimon lib_gen.c \ 59167612Ssimon lib_keyname.c \ 60167612Ssimon names.c \ 61167612Ssimon unctrl.c 62167612Ssimon 63167612SsimonGENHDRS= \ 64167612Ssimon curses.h \ 65167612Ssimon hashsize.h \ 66167612Ssimon init_keytry.h \ 67167612Ssimon ncurses_def.h \ 68167612Ssimon nomacros.h \ 69167612Ssimon parametrized.h \ 70167612Ssimon term.h \ 71167612Ssimon termcap.h \ 72167612Ssimon unctrl.h 73167612Ssimon 74167612SsimonSRCS= ${GENHDRS} ${GENSRCS} 75167612Ssimon 76167612Ssimon.PATH: ${NCURSES_DIR}/ncurses/base 77167612SsimonSRCS+= \ 78167612Ssimon define_key.c \ 79167612Ssimon key_defined.c \ 80167612Ssimon keybound.c \ 81167612Ssimon keyok.c \ 82167612Ssimon legacy_coding.c \ 83167612Ssimon lib_addch.c \ 84167612Ssimon lib_addstr.c \ 85167612Ssimon lib_beep.c \ 86167612Ssimon lib_bkgd.c \ 87167612Ssimon lib_box.c \ 88167612Ssimon lib_chgat.c \ 89167612Ssimon lib_clear.c \ 90167612Ssimon lib_clearok.c \ 91167612Ssimon lib_clrbot.c \ 92167612Ssimon lib_clreol.c \ 93167612Ssimon lib_color.c \ 94167612Ssimon lib_colorset.c \ 95167612Ssimon lib_delch.c \ 96167612Ssimon lib_delwin.c \ 97167612Ssimon lib_dft_fgbg.c \ 98167612Ssimon lib_echo.c \ 99167612Ssimon lib_endwin.c \ 100167612Ssimon lib_erase.c \ 101167612Ssimon lib_flash.c \ 102167612Ssimon lib_freeall.c \ 103167612Ssimon lib_getch.c \ 104167612Ssimon lib_getstr.c \ 105167612Ssimon lib_hline.c \ 106167612Ssimon lib_immedok.c \ 107280304Sjkim lib_inchstr.c \ 108280304Sjkim lib_initscr.c \ 109167612Ssimon lib_insch.c \ 110280304Sjkim lib_insdel.c \ 111280304Sjkim lib_insnstr.c \ 112280304Sjkim lib_instr.c \ 113280304Sjkim lib_isendwin.c \ 114280304Sjkim lib_leaveok.c \ 115280304Sjkim lib_mouse.c \ 116280304Sjkim lib_move.c \ 117280304Sjkim lib_mvwin.c \ 118280304Sjkim lib_newterm.c \ 119280304Sjkim lib_newwin.c \ 120280304Sjkim lib_nl.c \ 121280304Sjkim lib_overlay.c \ 122280304Sjkim lib_pad.c \ 123280304Sjkim lib_printw.c \ 124280304Sjkim lib_redrawln.c \ 125280304Sjkim lib_refresh.c \ 126280304Sjkim lib_restart.c \ 127280304Sjkim lib_scanw.c \ 128280304Sjkim lib_screen.c \ 129280304Sjkim lib_scroll.c \ 130280304Sjkim lib_scrollok.c \ 131280304Sjkim lib_scrreg.c \ 132280304Sjkim lib_set_term.c \ 133280304Sjkim lib_slk.c \ 134280304Sjkim lib_slkatr_set.c \ 135280304Sjkim lib_slkatrof.c \ 136280304Sjkim lib_slkatron.c \ 137280304Sjkim lib_slkatrset.c \ 138280304Sjkim lib_slkattr.c \ 139280304Sjkim lib_slkclear.c \ 140280304Sjkim lib_slkcolor.c \ 141280304Sjkim lib_slkinit.c \ 142280304Sjkim lib_slklab.c \ 143280304Sjkim lib_slkrefr.c \ 144280304Sjkim lib_slkset.c \ 145280304Sjkim lib_slktouch.c \ 146280304Sjkim lib_touch.c \ 147280304Sjkim lib_ungetch.c \ 148167612Ssimon lib_vline.c \ 149167612Ssimon lib_wattroff.c \ 150167612Ssimon lib_wattron.c \ 151167612Ssimon lib_winch.c \ 152167612Ssimon lib_window.c \ 153167612Ssimon memmove.c \ 154238405Sjkim nc_panel.c \ 155280304Sjkim resizeterm.c \ 156167612Ssimon safe_sprintf.c \ 157280304Sjkim tries.c \ 158280304Sjkim version.c \ 159280304Sjkim vsscanf.c \ 160280304Sjkim wresize.c 161280304Sjkim 162167612Ssimon.PATH: ${NCURSES_DIR}/ncurses/tinfo 163167612SsimonSRCS+= \ 164167612Ssimon access.c \ 165167612Ssimon add_tries.c \ 166167612Ssimon alloc_entry.c \ 167280304Sjkim alloc_ttype.c \ 168280304Sjkim captoinfo.c \ 169167612Ssimon comp_captab.c \ 170280304Sjkim comp_error.c \ 171167612Ssimon comp_expand.c \ 172280304Sjkim comp_hash.c \ 173280304Sjkim comp_parse.c \ 174280304Sjkim comp_scan.c \ 175167612Ssimon db_iterator.c \ 176280304Sjkim doalloc.c \ 177280304Sjkim free_ttype.c \ 178280304Sjkim getenv_num.c \ 179167612Ssimon hashed_db.c \ 180280304Sjkim home_terminfo.c \ 181280304Sjkim init_keytry.c \ 182167612Ssimon lib_acs.c \ 183280304Sjkim lib_baudrate.c \ 184280304Sjkim lib_cur_term.c \ 185280304Sjkim lib_data.c \ 186280304Sjkim lib_has_cap.c \ 187280304Sjkim lib_kernel.c \ 188167612Ssimon lib_longname.c \ 189280304Sjkim lib_napms.c \ 190280304Sjkim lib_options.c \ 191280304Sjkim lib_print.c \ 192280304Sjkim lib_raw.c \ 193167612Ssimon lib_setup.c \ 194167612Ssimon lib_termcap.c \ 195167612Ssimon lib_termname.c \ 196167612Ssimon lib_tgoto.c \ 197167612Ssimon lib_ti.c \ 198167612Ssimon lib_tparm.c \ 199167612Ssimon lib_tputs.c \ 200280304Sjkim lib_ttyflags.c \ 201280304Sjkim name_match.c \ 202280304Sjkim parse_entry.c \ 203280304Sjkim read_entry.c \ 204280304Sjkim setbuf.c \ 205280304Sjkim strings.c \ 206280304Sjkim trim_sgr0.c \ 207280304Sjkim write_entry.c 208280304Sjkim 209280304Sjkim.PATH: ${NCURSES_DIR}/ncurses/tty 210280304SjkimSRCS+= \ 211280304Sjkim hardscroll.c \ 212280304Sjkim hashmap.c \ 213280304Sjkim lib_mvcur.c \ 214280304Sjkim lib_tstp.c \ 215280304Sjkim lib_twait.c \ 216280304Sjkim lib_vidattr.c \ 217280304Sjkim tty_update.c 218280304Sjkim 219280304Sjkim.if defined(ENABLE_WIDEC) 220280304Sjkim.PATH: ${NCURSES_DIR}/ncurses/widechar 221280304SjkimSRCS+= \ 222167612Ssimon charable.c \ 223167612Ssimon lib_add_wch.c \ 224167612Ssimon lib_box_set.c \ 225167612Ssimon lib_cchar.c \ 226167612Ssimon lib_erasewchar.c \ 227167612Ssimon lib_get_wch.c \ 228280304Sjkim lib_get_wstr.c \ 229167612Ssimon lib_hline_set.c \ 230280304Sjkim lib_in_wch.c \ 231280304Sjkim lib_in_wchnstr.c \ 232280304Sjkim lib_ins_wch.c \ 233280304Sjkim lib_inwstr.c \ 234280304Sjkim lib_pecho_wchar.c \ 235280304Sjkim lib_slk_wset.c \ 236280304Sjkim lib_unget_wch.c \ 237280304Sjkim lib_vid_attr.c \ 238280304Sjkim lib_vline_set.c \ 239280304Sjkim lib_wacs.c \ 240280304Sjkim lib_wunctrl.c 241280304Sjkim.endif 242280304Sjkim 243280304Sjkim.PATH: ${NCURSES_DIR}/ncurses/trace 244280304SjkimSRCS+= \ 245280304Sjkim lib_trace.c \ 246280304Sjkim visbuf.c 247280304Sjkim 248280304Sjkim# Currently unused, for debugging libncurses itself. 249280304SjkimDBGSRCS= \ 250280304Sjkim lib_traceatr.c \ 251280304Sjkim lib_tracebits.c \ 252280304Sjkim lib_tracechr.c \ 253280304Sjkim lib_tracedmp.c \ 254280304Sjkim lib_tracemse.c \ 255280304Sjkim trace_buf.c \ 256280304Sjkim trace_tries.c \ 257280304Sjkim trace_xnames.c \ 258280304Sjkim varargs.c 259280304Sjkim 260280304Sjkim# From our old libtermcap. 261280304Sjkim# Used instead of the hideous read_termcap.c abomination. 262280304SjkimSRCS+= termcap.c 263280304Sjkim 264280304Sjkim# Components of names.c and codes.c 265280304SjkimNAMESRCS= boolnames boolfnames numnames numfnames strnames strfnames 266280304SjkimCODESRCS= boolcodes numcodes strcodes 267280304Sjkim 268280304SjkimCLEANFILES= ${GENSRCS} ${GENHDRS} keys.list make_hash term.h.new \ 269280304Sjkim make_keys MKterm.h.awk comp_captab.c curses.head \ 270280304Sjkim namehdr nameftr codeftr ${NAMESRCS} ${CODESRCS} 271280304Sjkim 272167612SsimonCFLAGS+= -DFREEBSD_NATIVE -DTERMIOS 273167612Ssimon 274280304Sjkim# Installed 275280304SjkimHEADERS= curses.h term.h termcap.h unctrl.h 276167612SsimonSRCHDRS= ncurses_dll.h 277167612Ssimon 278167612Ssimon.if defined(ENABLE_WIDEC) 279167612SsimonINCS= ${HEADERS} ${SRCHDRS} 280167612SsimonINCSLINKS= curses.h ${INCLUDEDIR}/ncurses.h 281167612Ssimon.endif 282280304Sjkim 283167612Ssimon.if ${MK_INSTALLLIB} != "no" 284280304SjkimSYMLINKS+= libncurses${LIB_SUFFIX}.a ${LIBDIR}/libcurses${LIB_SUFFIX}.a 285280304SjkimSYMLINKS+= libncurses${LIB_SUFFIX}.a ${LIBDIR}/libtermcap${LIB_SUFFIX}.a 286280304SjkimSYMLINKS+= libncurses${LIB_SUFFIX}.a ${LIBDIR}/libtermlib${LIB_SUFFIX}.a 287280304SjkimSYMLINKS+= libncurses${LIB_SUFFIX}.a ${LIBDIR}/libtinfo${LIB_SUFFIX}.a 288280304Sjkim.endif 289280304Sjkim.if !defined(NO_PIC) 290280304Sjkim# no need for major at all, it's an ld-time redirection only 291280304SjkimSYMLINKS+= libncurses${LIB_SUFFIX}.so ${LIBDIR}/libcurses${LIB_SUFFIX}.so 292280304SjkimSYMLINKS+= libncurses${LIB_SUFFIX}.so ${LIBDIR}/libtermcap${LIB_SUFFIX}.so 293280304SjkimSYMLINKS+= libncurses${LIB_SUFFIX}.so ${LIBDIR}/libtermlib${LIB_SUFFIX}.so 294280304SjkimSYMLINKS+= libncurses${LIB_SUFFIX}.so ${LIBDIR}/libtinfo${LIB_SUFFIX}.so 295167612Ssimon.endif 296167612Ssimon.if ${MK_PROFILE} != "no" 297167612SsimonSYMLINKS+= libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libcurses${LIB_SUFFIX}_p.a 298167612SsimonSYMLINKS+= libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libtermcap${LIB_SUFFIX}_p.a 299167612SsimonSYMLINKS+= libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libtermlib${LIB_SUFFIX}_p.a 300167612SsimonSYMLINKS+= libncurses${LIB_SUFFIX}_p.a ${LIBDIR}/libtinfo${LIB_SUFFIX}_p.a 301167612Ssimon.endif 302280304Sjkim 303280304SjkimDOCSDIR= ${SHAREDIR}/doc/ncurses 304280304SjkimDOCS= ncurses-intro.html hackguide.html 305167612Ssimon 306280304Sjkim.if ${MK_HTML} != "no" 307280304Sjkim.PATH: ${NCURSES_DIR}/doc/html 308280304SjkimFILESGROUPS= DOCS 309280304Sjkim.endif 310280304Sjkim 311167612Ssimon# Generated source 312167612Ssimonnamehdr nameftr codeftr ${NAMESRCS} ${CODESRCS}: MKnames.awk Caps 313280304Sjkim ${AWK} -f ${NCURSES_DIR}/ncurses/tinfo/MKnames.awk ${NCURSES_DIR}/include/Caps 314167612Ssimon 315280304Sjkim.ORDER: namehdr ${NAMESRCS} ${CODESRCS} nameftr codeftr names.c codes.c 316280304Sjkim 317280304Sjkimnames.c: namehdr ${NAMESRCS} nameftr 318167612Ssimon cat namehdr ${NAMESRCS} nameftr > $@ 319167612Ssimon 320280304Sjkimcodes.c: namehdr ${CODESRCS} codeftr 321167612Ssimon cat namehdr ${CODESRCS} codeftr > $@ 322280304Sjkim 323280304Sjkimlib_gen.c: MKlib_gen.sh curses.h 324280304Sjkim LC_ALL=C sh ${NCURSES_DIR}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \ 325280304Sjkim "${AWK}" generated < curses.h >$@ 326280304Sjkim 327280304Sjkimlib_keyname.c: keys.list MKkeyname.awk 328280304Sjkim ${AWK} -f ${NCURSES_DIR}/ncurses/base/MKkeyname.awk keys.list > lib_keyname.c 329280304Sjkim 330280304Sjkimunctrl.c: MKunctrl.awk 331280304Sjkim echo | ${AWK} -f ${NCURSES_DIR}/ncurses/base/MKunctrl.awk > unctrl.c 332280304Sjkim 333280304Sjkimcomp_captab.c: MKcaptab.awk Caps make_hash 334280304Sjkim sh ${NCURSES_DIR}/ncurses/tinfo/MKcaptab.awk "${AWK}" \ 335280304Sjkim ${NCURSES_DIR}/include/Caps > comp_captab.c 336280304Sjkim 337280304Sjkimexpanded.c: MKexpanded.sh 338280304Sjkim sh ${NCURSES_DIR}/ncurses/tty/MKexpanded.sh "${CC} -E" ${CFLAGS} >expanded.c 339280304Sjkim 340280304Sjkimfallback.c: MKfallback.sh 341280304Sjkim sh ${NCURSES_DIR}/ncurses/tinfo/MKfallback.sh > fallback.c 342280304Sjkim 343280304Sjkim# Generated headers 344280304Sjkimnomacros.h: MKlib_gen.sh curses.h 345280304Sjkim LC_ALL=C sh ${NCURSES_DIR}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \ 346280304Sjkim "${AWK}" generated < curses.h | fgrep undef > $@ 347280304Sjkim 348280304Sjkiminit_keytry.h: keys.list make_keys 349280304Sjkim ./make_keys keys.list > init_keytry.h 350280304Sjkim 351280304Sjkimhashsize.h: MKhashsize.sh Caps 352280304Sjkim sh ${NCURSES_DIR}/include/MKhashsize.sh ${NCURSES_DIR}/include/Caps > $@ 353280304Sjkim 354280304Sjkimparametrized.h: MKparametrized.sh Caps 355280304Sjkim AWK=${AWK} sh ${NCURSES_DIR}/include/MKparametrized.sh \ 356167612Ssimon ${NCURSES_DIR}/include/Caps > $@ 357280304Sjkim 358167612Ssimonterm.h: MKterm.h.awk edit_cfg.sh Caps 359280304Sjkim ${AWK} -f MKterm.h.awk ${NCURSES_DIR}/include/Caps > $@.new 360167612Ssimon sh ${NCURSES_DIR}/include/edit_cfg.sh ${NCURSES_CFG_H} $@.new 361280304Sjkim mv -f $@.new $@ 362280304Sjkim 363280304Sjkimcurses.h: curses.head MKkey_defs.sh Caps 364280304Sjkim cat curses.head > $@.new 365280304Sjkim AWK=${AWK} _POSIX2_VERSION=199209 sh ${NCURSES_DIR}/include/MKkey_defs.sh \ 366280304Sjkim ${NCURSES_DIR}/include/Caps >> $@.new 367280304Sjkim.if defined(ENABLE_WIDEC) 368280304Sjkim cat ${NCURSES_DIR}/include/curses.wide >> $@.new 369280304Sjkim.endif 370237657Sjkim cat ${NCURSES_DIR}/include/curses.tail >> $@.new 371237657Sjkim mv -f $@.new $@ 372280304Sjkim 373167612Ssimon# Generated intermediate files 374167612Ssimonkeys.list: MKkeys_list.sh Caps 375280304Sjkim AWK=${AWK} sh ${NCURSES_DIR}/ncurses/tinfo/MKkeys_list.sh \ 376280304Sjkim ${NCURSES_DIR}/include/Caps | LC_ALL=C sort > keys.list 377280304Sjkim 378167612Ssimon# Build tools 379167612Ssimonbuild-tools: make_hash make_keys 380167612Ssimon 381167612Ssimonmake_keys: make_keys.c names.c ncurses_def.h ${HEADERS} 382167612Ssimon ${CC} -o $@ ${CFLAGS} ${NCURSES_DIR}/ncurses/tinfo/make_keys.c 383167612Ssimon 384167612Ssimonmake_hash: comp_hash.c hashsize.h ncurses_def.h ${HEADERS} 385280304Sjkim ${CC} -o $@ ${CFLAGS} -DMAIN_PROGRAM \ 386280304Sjkim ${NCURSES_DIR}/ncurses/tinfo/comp_hash.c 387280304Sjkim 388167612Ssimon# ./configure generated 389167612SsimonMKterm.h.awk: MKterm.h.awk.in 390167612Ssimon sed <${NCURSES_DIR}/include/MKterm.h.awk.in >$@ \ 391167612Ssimon -e "/@NCURSES_MAJOR@/s%%${NCURSES_MAJOR}%" \ 392167612Ssimon -e "/@NCURSES_MINOR@/s%%${NCURSES_MINOR}%" \ 393167612Ssimon -e "/@NCURSES_CONST@/s%%${NCURSES_CONST}%" \ 394167612Ssimon -e "/@NCURSES_TPARM_VARARGS@/s%%${NCURSES_TPARM_VARARGS}%" \ 395280304Sjkim -e "/@NCURSES_SBOOL@/s%%${NCURSES_SBOOL}%" \ 396280304Sjkim -e "/@NCURSES_XNAMES@/s%%${NCURSES_XNAMES}%" \ 397280304Sjkim -e "/@HAVE_TERMIOS_H@/s%%${HAVE_TERMIOS_H}%" \ 398167612Ssimon -e "/@HAVE_TERMIO_H@/s%%${HAVE_TERMIO_H}%" \ 399167612Ssimon -e "/@HAVE_TCGETATTR@/s%%${HAVE_TCGETATTR}%" 400280304Sjkim 401167612Ssimontermcap.h: termcap.h.in 402280304Sjkim sed <${NCURSES_DIR}/include/termcap.h.in >$@ \ 403280304Sjkim -e "/@NCURSES_MAJOR@/s%%${NCURSES_MAJOR}%" \ 404167612Ssimon -e "/@NCURSES_MINOR@/s%%${NCURSES_MINOR}%" \ 405167612Ssimon -e "/@NCURSES_CONST@/s%%${NCURSES_CONST}%" \ 406280304Sjkim -e "/@NCURSES_OSPEED@/s%%${NCURSES_OSPEED}%" 407237657Sjkim 408280304Sjkimcurses.head: curses.h.in 409280304Sjkim sed <${NCURSES_DIR}/include/curses.h.in >$@ \ 410280304Sjkim -e "/@BROKEN_LINKER@/s%%${BROKEN_LINKER}%" \ 411280304Sjkim -e "/@HAVE_VSSCANF@/s%%${HAVE_VSSCANF}%" \ 412280304Sjkim -e "/@NCURSES_CH_T@/s%%${NCURSES_CH_T}%" \ 413280304Sjkim -e "/@NCURSES_CONST@/s%%${NCURSES_CONST}%" \ 414237657Sjkim -e "/@NCURSES_EXT_COLORS@/s%%${NCURSES_EXT_COLORS}%" \ 415237657Sjkim -e "/@NCURSES_EXT_FUNCS@/s%%${NCURSES_EXT_FUNCS}%" \ 416280304Sjkim -e "/@NCURSES_INLINE@/s%%${NCURSES_INLINE}%" \ 417167612Ssimon -e "/@NCURSES_LIBUTF8@/s%%${NCURSES_LIBUTF8}%" \ 418280304Sjkim -e "/@NCURSES_MAJOR@/s%%${NCURSES_MAJOR}%" \ 419167612Ssimon -e "/@NCURSES_MBSTATE_T@/s%%${NCURSES_MBSTATE_T}%" \ 420167612Ssimon -e "/@NCURSES_MINOR@/s%%${NCURSES_MINOR}%" \ 421280304Sjkim -e "/@NCURSES_MOUSE_VERSION@/s%%${NCURSES_MOUSE_VERSION}%" \ 422280304Sjkim -e "/@NCURSES_PATCH@/s%%${NCURSES_PATCH}%" \ 423167612Ssimon -e "/@NCURSES_TPARM_VARARGS@/s%%${NCURSES_TPARM_VARARGS}%" \ 424280304Sjkim -e "/@NCURSES_WCHAR_T@/s%%${NCURSES_WCHAR_T}%" \ 425280304Sjkim -e "/@NCURSES_WCHAR_T@/s%%${NCURSES_WCHAR_T}%" \ 426280304Sjkim -e "/@NCURSES_WINT_T@/s%%${NCURSES_WINT_T}%" \ 427280304Sjkim -e "/@NEED_WCHAR_H@/s%%${NEED_WCHAR_H}%" \ 428280304Sjkim -e "/@USE_CXX_BOOL@/s%%${USE_CXX_BOOL}%" \ 429280304Sjkim -e "s%@cf_cv_1UL@%${ONEUL}%g" \ 430280304Sjkim -e "s%@cf_cv_builtin_bool@%${BUILTIN_BOOL}%g" \ 431280304Sjkim -e "s%@cf_cv_enable_lp64@%${ENABLE_LP64}%g" \ 432280304Sjkim -e "s%@cf_cv_header_stdbool_h@%${HEADER_STDBOOL}%g" \ 433280304Sjkim -e "s%@cf_cv_type_of_bool@%${TYPE_OF_BOOL}%g" \ 434280304Sjkim -e "s%@cf_cv_typeof_chtype@%${TYPEOF_CHTYPE}%g" \ 435280304Sjkim -e "s%@cf_cv_typeof_mmask_t@%${TYPEOF_MMASK_T}%g" \ 436280304Sjkim -e "s/ _WCHAR_T/ __wchar_t/g" \ 437280304Sjkim -e "s/ _WINT_T/ __wint_t/g" 438280304Sjkim 439280304Sjkimunctrl.h: unctrl.h.in 440280304Sjkim sed <${NCURSES_DIR}/include/$@.in >$@ \ 441280304Sjkim -e "/@NCURSES_MAJOR@/s%%${NCURSES_MAJOR}%" \ 442280304Sjkim -e "/@NCURSES_MINOR@/s%%${NCURSES_MINOR}%" 443280304Sjkim 444280304Sjkim# MAN page gunk 445280304Sjkimterminfo.5: MKterminfo.sh terminfo.head Caps 446280304Sjkim sh ${NCURSES_DIR}/man/MKterminfo.sh ${NCURSES_DIR}/man/terminfo.head \ 447280304Sjkim ${NCURSES_DIR}/include/Caps ${NCURSES_DIR}/man/terminfo.tail >$@ 448280304Sjkim 449280304SjkimCLEANFILES+= terminfo.5 450280304Sjkim 451280304Sjkim.PATH: ${NCURSES_DIR}/man 452280304SjkimMAN= \ 453280304Sjkim curs_addch.3 \ 454280304Sjkim curs_addchstr.3 \ 455280304Sjkim curs_addstr.3 \ 456280304Sjkim curs_attr.3 \ 457280304Sjkim curs_beep.3 \ 458280304Sjkim curs_bkgd.3 \ 459280304Sjkim curs_bkgrnd.3 \ 460280304Sjkim curs_border.3 \ 461280304Sjkim curs_border_set.3 \ 462280304Sjkim curs_clear.3 \ 463280304Sjkim curs_color.3 \ 464280304Sjkim curs_delch.3 \ 465280304Sjkim curs_deleteln.3 \ 466280304Sjkim curs_extend.3 \ 467280304Sjkim curs_getcchar.3 \ 468280304Sjkim curs_getch.3 \ 469280304Sjkim curs_getstr.3 \ 470280304Sjkim curs_getyx.3 \ 471280304Sjkim curs_inch.3 \ 472280304Sjkim curs_inchstr.3 \ 473280304Sjkim curs_initscr.3 \ 474280304Sjkim curs_inopts.3 \ 475280304Sjkim curs_insch.3 \ 476280304Sjkim curs_insstr.3 \ 477280304Sjkim curs_instr.3 \ 478280304Sjkim curs_inwstr.3 \ 479280304Sjkim curs_kernel.3 \ 480280304Sjkim curs_mouse.3 \ 481280304Sjkim curs_move.3 \ 482280304Sjkim curs_outopts.3 \ 483280304Sjkim curs_overlay.3 \ 484280304Sjkim curs_pad.3 \ 485280304Sjkim curs_print.3 \ 486280304Sjkim curs_refresh.3 \ 487280304Sjkim curs_scr_dump.3 \ 488280304Sjkim curs_scroll.3 \ 489280304Sjkim curs_slk.3 \ 490280304Sjkim curs_termattrs.3 \ 491280304Sjkim curs_termcap.3 \ 492280304Sjkim curs_terminfo.3 \ 493280304Sjkim curs_touch.3 \ 494280304Sjkim curs_trace.3 \ 495280304Sjkim curs_util.3 \ 496280304Sjkim curs_window.3 \ 497280304Sjkim default_colors.3 \ 498280304Sjkim define_key.3 \ 499280304Sjkim key_defined.3 \ 500280304Sjkim keybound.3 \ 501167612Ssimon keyok.3 \ 502280304Sjkim legacy_coding.3 \ 503167612Ssimon ncurses.3 \ 504280304Sjkim resizeterm.3 \ 505167612Ssimon wresize.3 506280304Sjkim 507280304Sjkim.if defined(ENABLE_WIDEC) 508280304SjkimMAN+= \ 509280304Sjkim curs_add_wch.3 \ 510280304Sjkim curs_add_wchstr.3 \ 511280304Sjkim curs_addwstr.3 \ 512280304Sjkim curs_get_wch.3 \ 513280304Sjkim curs_get_wstr.3 \ 514280304Sjkim curs_in_wch.3 \ 515167612Ssimon curs_in_wchstr.3 \ 516167612Ssimon curs_ins_wch.3 \ 517280304Sjkim curs_ins_wstr.3 \ 518167612Ssimon curs_printw.3 \ 519280304Sjkim curs_scanw.3 520237657Sjkim.endif 521167612Ssimon 522280304SjkimCLEANFILES+= ${MAN:M*.3} 523280304Sjkim 524280304SjkimMAN+= term.5 terminfo.5 525167612SsimonMAN+= term.7 526167612Ssimon 527167612SsimonMLINKS= ncurses.3 curses.3 \ 528167612Ssimon curs_addch.3 addch.3 \ 529167612Ssimon curs_addch.3 echochar.3 \ 530167612Ssimon curs_addch.3 mvaddch.3 \ 531167612Ssimon curs_addch.3 mvwaddch.3 \ 532280304Sjkim curs_addch.3 waddch.3 \ 533280304Sjkim curs_addch.3 wechochar.3 \ 534280304Sjkim curs_addchstr.3 addchnstr.3 \ 535167612Ssimon curs_addchstr.3 addchstr.3 \ 536167612Ssimon curs_addchstr.3 mvaddchnstr.3 \ 537167612Ssimon curs_addchstr.3 mvaddchstr.3 \ 538167612Ssimon curs_addchstr.3 mvwaddchnstr.3 \ 539167612Ssimon curs_addchstr.3 mvwaddchstr.3 \ 540238405Sjkim curs_addchstr.3 waddchnstr.3 \ 541280304Sjkim curs_addchstr.3 waddchstr.3 \ 542280304Sjkim curs_addstr.3 addnstr.3 \ 543167612Ssimon curs_addstr.3 addstr.3 \ 544280304Sjkim curs_addstr.3 mvaddnstr.3 \ 545280304Sjkim curs_addstr.3 mvaddstr.3 \ 546280304Sjkim curs_addstr.3 mvwaddnstr.3 \ 547167612Ssimon curs_addstr.3 mvwaddstr.3 \ 548280304Sjkim curs_addstr.3 waddnstr.3 \ 549280304Sjkim curs_addstr.3 waddstr.3 \ 550280304Sjkim curs_attr.3 PAIR_NUMBER.3 \ 551280304Sjkim curs_attr.3 attr_get.3 \ 552167612Ssimon curs_attr.3 attr_off.3 \ 553280304Sjkim curs_attr.3 attr_on.3 \ 554280304Sjkim curs_attr.3 attr_set.3 \ 555280304Sjkim curs_attr.3 attroff.3 \ 556167612Ssimon curs_attr.3 attron.3 \ 557280304Sjkim curs_attr.3 attrset.3 \ 558280304Sjkim curs_attr.3 chgat.3 \ 559280304Sjkim curs_attr.3 color_set.3 \ 560280304Sjkim curs_attr.3 mvchgat.3 \ 561280304Sjkim curs_attr.3 mvwchgat.3 \ 562280304Sjkim curs_attr.3 standend.3 \ 563280304Sjkim curs_attr.3 standout.3 \ 564280304Sjkim curs_attr.3 wattr_get.3 \ 565280304Sjkim curs_attr.3 wattr_off.3 \ 566280304Sjkim curs_attr.3 wattr_on.3 \ 567280304Sjkim curs_attr.3 wattr_set.3 \ 568280304Sjkim curs_attr.3 wattroff.3 \ 569280304Sjkim curs_attr.3 wattron.3 \ 570167612Ssimon curs_attr.3 wattrset.3 \ 571280304Sjkim curs_attr.3 wchgat.3 \ 572280304Sjkim curs_attr.3 wcolor_set.3 \ 573280304Sjkim curs_attr.3 wstandend.3 \ 574280304Sjkim curs_attr.3 wstandout.3 \ 575280304Sjkim curs_beep.3 beep.3 \ 576280304Sjkim curs_beep.3 flash.3 \ 577280304Sjkim curs_bkgd.3 bkgd.3 \ 578280304Sjkim curs_bkgd.3 bkgdset.3 \ 579280304Sjkim curs_bkgd.3 getbkgd.3 \ 580280304Sjkim curs_bkgd.3 wbkgd.3 \ 581280304Sjkim curs_bkgd.3 wbkgdset.3 \ 582167612Ssimon curs_bkgrnd.3 bkgrnd.3 \ 583280304Sjkim curs_bkgrnd.3 bkgrndset.3 \ 584280304Sjkim curs_bkgrnd.3 getbkgrnd.3 \ 585280304Sjkim curs_bkgrnd.3 wbkgrnd.3 \ 586280304Sjkim curs_bkgrnd.3 wbkgrndset.3 \ 587280304Sjkim curs_bkgrnd.3 wgetbkgrnd.3 \ 588280304Sjkim curs_border.3 border.3 \ 589280304Sjkim curs_border.3 box.3 \ 590280304Sjkim curs_border.3 hline.3 \ 591280304Sjkim curs_border.3 mvhline.3 \ 592280304Sjkim curs_border.3 mvvline.3 \ 593280304Sjkim curs_border.3 mvwhline.3 \ 594280304Sjkim curs_border.3 mvwvline.3 \ 595280304Sjkim curs_border.3 vline.3 \ 596280304Sjkim curs_border.3 wborder.3 \ 597280304Sjkim curs_border.3 whline.3 \ 598280304Sjkim curs_border.3 wvline.3 \ 599280304Sjkim curs_border_set.3 border_set.3 \ 600280304Sjkim curs_border_set.3 box_set.3 \ 601280304Sjkim curs_border_set.3 hline_set.3 \ 602280304Sjkim curs_border_set.3 mvhline_set.3 \ 603280304Sjkim curs_border_set.3 mvvline_set.3 \ 604280304Sjkim curs_border_set.3 mvwhline_set.3 \ 605280304Sjkim curs_border_set.3 mvwvline_set.3 \ 606280304Sjkim curs_border_set.3 vline_set.3 \ 607280304Sjkim curs_border_set.3 wborder_set.3 \ 608280304Sjkim curs_border_set.3 whline_set.3 \ 609280304Sjkim curs_border_set.3 wvline_set.3 \ 610280304Sjkim curs_clear.3 clear.3 \ 611280304Sjkim curs_clear.3 clrtobot.3 \ 612280304Sjkim curs_clear.3 clrtoeol.3 \ 613280304Sjkim curs_clear.3 erase.3 \ 614280304Sjkim curs_clear.3 wclear.3 \ 615280304Sjkim curs_clear.3 wclrtobot.3 \ 616280304Sjkim curs_clear.3 wclrtoeol.3 \ 617280304Sjkim curs_clear.3 werase.3 \ 618280304Sjkim curs_color.3 COLOR_PAIR.3 \ 619280304Sjkim curs_color.3 can_change_color.3 \ 620280304Sjkim curs_color.3 color_content.3 \ 621280304Sjkim curs_color.3 has_colors.3 \ 622280304Sjkim curs_color.3 init_color.3 \ 623280304Sjkim curs_color.3 init_pair.3 \ 624280304Sjkim curs_color.3 pair_content.3 \ 625280304Sjkim curs_color.3 start_color.3 \ 626280304Sjkim curs_delch.3 delch.3 \ 627280304Sjkim curs_delch.3 mvdelch.3 \ 628280304Sjkim curs_delch.3 mvwdelch.3 \ 629280304Sjkim curs_delch.3 wdelch.3 \ 630280304Sjkim curs_deleteln.3 deleteln.3 \ 631280304Sjkim curs_deleteln.3 insdelln.3 \ 632280304Sjkim curs_deleteln.3 insertln.3 \ 633280304Sjkim curs_deleteln.3 wdeleteln.3 \ 634280304Sjkim curs_deleteln.3 winsdelln.3 \ 635280304Sjkim curs_deleteln.3 winsertln.3 \ 636280304Sjkim curs_extend.3 curses_version.3 \ 637280304Sjkim curs_extend.3 use_extended_names.3 \ 638280304Sjkim curs_getcchar.3 getcchar.3 \ 639280304Sjkim curs_getcchar.3 setcchar.3 \ 640280304Sjkim curs_getch.3 getch.3 \ 641280304Sjkim curs_getch.3 has_key.3 \ 642167612Ssimon curs_getch.3 mvgetch.3 \ 643167612Ssimon curs_getch.3 mvwgetch.3 \ 644167612Ssimon curs_getch.3 ungetch.3 \ 645280304Sjkim curs_getch.3 wgetch.3 \ 646167612Ssimon curs_getstr.3 getnstr.3 \ 647280304Sjkim curs_getstr.3 getstr.3 \ 648280304Sjkim curs_getstr.3 mvgetnstr.3 \ 649280304Sjkim curs_getstr.3 mvgetstr.3 \ 650167612Ssimon curs_getstr.3 mvwgetnstr.3 \ 651167612Ssimon curs_getstr.3 mvwgetstr.3 \ 652280304Sjkim curs_getstr.3 wgetnstr.3 \ 653280304Sjkim curs_getstr.3 wgetstr.3 \ 654280304Sjkim curs_getyx.3 getbegyx.3 \ 655280304Sjkim curs_getyx.3 getmaxyx.3 \ 656167612Ssimon curs_getyx.3 getparyx.3 \ 657167612Ssimon curs_getyx.3 getyx.3 \ 658167612Ssimon curs_inch.3 inch.3 \ 659167612Ssimon curs_inch.3 mvinch.3 \ 660167612Ssimon curs_inch.3 mvwinch.3 \ 661167612Ssimon curs_inch.3 winch.3 \ 662280304Sjkim curs_inchstr.3 inchnstr.3 \ 663280304Sjkim curs_inchstr.3 inchstr.3 \ 664280304Sjkim curs_inchstr.3 mvinchnstr.3 \ 665280304Sjkim curs_inchstr.3 mvinchstr.3 \ 666280304Sjkim curs_inchstr.3 mvwinchnstr.3 \ 667280304Sjkim curs_inchstr.3 mvwinchstr.3 \ 668280304Sjkim curs_inchstr.3 winchnstr.3 \ 669280304Sjkim curs_inchstr.3 winchstr.3 \ 670280304Sjkim curs_initscr.3 delscreen.3 \ 671280304Sjkim curs_initscr.3 endwin.3 \ 672280304Sjkim curs_initscr.3 initscr.3 \ 673167612Ssimon curs_initscr.3 isendwin.3 \ 674167612Ssimon curs_initscr.3 newterm.3 \ 675167612Ssimon curs_initscr.3 set_term.3 \ 676167612Ssimon curs_inopts.3 cbreak.3 \ 677167612Ssimon curs_inopts.3 echo.3 \ 678167612Ssimon curs_inopts.3 halfdelay.3 \ 679167612Ssimon curs_inopts.3 intrflush.3 \ 680280304Sjkim curs_inopts.3 keypad.3 \ 681280304Sjkim curs_inopts.3 meta.3 \ 682280304Sjkim curs_inopts.3 nocbreak.3 \ 683280304Sjkim curs_inopts.3 nodelay.3 \ 684280304Sjkim curs_inopts.3 noecho.3 \ 685167612Ssimon curs_inopts.3 noqiflush.3 \ 686167612Ssimon curs_inopts.3 noraw.3 \ 687167612Ssimon curs_inopts.3 notimeout.3 \ 688167612Ssimon curs_inopts.3 qiflush.3 \ 689167612Ssimon curs_inopts.3 raw.3 \ 690167612Ssimon curs_inopts.3 timeout.3 \ 691167612Ssimon curs_inopts.3 typeahead.3 \ 692280304Sjkim curs_inopts.3 wtimeout.3 \ 693280304Sjkim curs_insch.3 insch.3 \ 694167612Ssimon curs_insch.3 mvinsch.3 \ 695280304Sjkim curs_insch.3 mvwinsch.3 \ 696280304Sjkim curs_insch.3 winsch.3 \ 697280304Sjkim curs_insstr.3 insnstr.3 \ 698280304Sjkim curs_insstr.3 insstr.3 \ 699167612Ssimon curs_insstr.3 mvinsnstr.3 \ 700280304Sjkim curs_insstr.3 mvinsstr.3 \ 701280304Sjkim curs_insstr.3 mvwinsnstr.3 \ 702280304Sjkim curs_insstr.3 mvwinsstr.3 \ 703280304Sjkim curs_insstr.3 winsnstr.3 \ 704280304Sjkim curs_insstr.3 winsstr.3 \ 705280304Sjkim curs_instr.3 innstr.3 \ 706280304Sjkim curs_instr.3 instr.3 \ 707280304Sjkim curs_instr.3 mvinnstr.3 \ 708280304Sjkim curs_instr.3 mvinstr.3 \ 709280304Sjkim curs_instr.3 mvwinnstr.3 \ 710280304Sjkim curs_instr.3 mvwinstr.3 \ 711280304Sjkim curs_instr.3 winnstr.3 \ 712280304Sjkim curs_instr.3 winstr.3 \ 713167612Ssimon curs_kernel.3 curs_set.3 \ 714167612Ssimon curs_kernel.3 def_prog_mode.3 \ 715280304Sjkim curs_kernel.3 def_shell_mode.3 \ 716167612Ssimon curs_kernel.3 getsyx.3 \ 717167612Ssimon curs_kernel.3 napms.3 \ 718167612Ssimon curs_kernel.3 reset_prog_mode.3 \ 719167612Ssimon curs_kernel.3 reset_shell_mode.3 \ 720167612Ssimon curs_kernel.3 resetty.3 \ 721167612Ssimon curs_kernel.3 ripoffline.3 \ 722167612Ssimon curs_kernel.3 savetty.3 \ 723280304Sjkim curs_kernel.3 setsyx.3 \ 724280304Sjkim curs_mouse.3 getmouse.3 \ 725280304Sjkim curs_mouse.3 mouse_trafo.3 \ 726280304Sjkim curs_mouse.3 mouseinterval.3 \ 727280304Sjkim curs_mouse.3 mousemask.3 \ 728280304Sjkim curs_mouse.3 ungetmouse.3 \ 729280304Sjkim curs_mouse.3 wenclose.3 \ 730280304Sjkim curs_mouse.3 wmouse_trafo.3 \ 731280304Sjkim curs_move.3 move.3 \ 732167612Ssimon curs_move.3 wmove.3 \ 733167612Ssimon curs_outopts.3 clearok.3 \ 734167612Ssimon curs_outopts.3 idcok.3 \ 735167612Ssimon curs_outopts.3 idlok.3 \ 736167612Ssimon curs_outopts.3 immedok.3 \ 737280304Sjkim curs_outopts.3 leaveok.3 \ 738280304Sjkim curs_outopts.3 nl.3 \ 739280304Sjkim curs_outopts.3 nonl.3 \ 740280304Sjkim curs_outopts.3 scrollok.3 \ 741280304Sjkim curs_outopts.3 setscrreg.3 \ 742280304Sjkim curs_outopts.3 wsetscrreg.3 \ 743280304Sjkim curs_overlay.3 copywin.3 \ 744280304Sjkim curs_overlay.3 overlay.3 \ 745280304Sjkim curs_overlay.3 overwrite.3 \ 746280304Sjkim curs_pad.3 newpad.3 \ 747280304Sjkim curs_pad.3 pecho_wchar.3 \ 748280304Sjkim curs_pad.3 pechochar.3 \ 749167612Ssimon curs_pad.3 pnoutrefresh.3 \ 750167612Ssimon curs_pad.3 prefresh.3 \ 751167612Ssimon curs_pad.3 subpad.3 \ 752167612Ssimon curs_print.3 mcprint.3 \ 753167612Ssimon curs_refresh.3 doupdate.3 \ 754167612Ssimon curs_refresh.3 redrawwin.3 \ 755280304Sjkim curs_refresh.3 refresh.3 \ 756280304Sjkim curs_refresh.3 wnoutrefresh.3 \ 757167612Ssimon curs_refresh.3 wredrawln.3 \ 758280304Sjkim curs_refresh.3 wrefresh.3 \ 759280304Sjkim curs_scr_dump.3 scr_dump.3 \ 760280304Sjkim curs_scr_dump.3 scr_init.3 \ 761167612Ssimon curs_scr_dump.3 scr_restore.3 \ 762280304Sjkim curs_scr_dump.3 scr_set.3 \ 763280304Sjkim curs_scroll.3 scrl.3 \ 764280304Sjkim curs_scroll.3 scroll.3 \ 765167612Ssimon curs_scroll.3 wscrl.3 \ 766280304Sjkim curs_slk.3 slk_attr.3 \ 767280304Sjkim curs_slk.3 slk_attr_off.3 \ 768280304Sjkim curs_slk.3 slk_attr_on.3 \ 769280304Sjkim curs_slk.3 slk_attr_set.3 \ 770280304Sjkim curs_slk.3 slk_attroff.3 \ 771280304Sjkim curs_slk.3 slk_attron.3 \ 772280304Sjkim curs_slk.3 slk_attrset.3 \ 773280304Sjkim curs_slk.3 slk_clear.3 \ 774280304Sjkim curs_slk.3 slk_color.3 \ 775280304Sjkim curs_slk.3 slk_init.3 \ 776280304Sjkim curs_slk.3 slk_label.3 \ 777280304Sjkim curs_slk.3 slk_noutrefresh.3 \ 778280304Sjkim curs_slk.3 slk_refresh.3 \ 779280304Sjkim curs_slk.3 slk_restore.3 \ 780167612Ssimon curs_slk.3 slk_set.3 \ 781280304Sjkim curs_slk.3 slk_touch.3 \ 782280304Sjkim curs_termattrs.3 baudrate.3 \ 783280304Sjkim curs_termattrs.3 erasechar.3 \ 784280304Sjkim curs_termattrs.3 erasewchar.3 \ 785280304Sjkim curs_termattrs.3 has_ic.3 \ 786280304Sjkim curs_termattrs.3 has_il.3 \ 787280304Sjkim curs_termattrs.3 killchar.3 \ 788280304Sjkim curs_termattrs.3 killwchar.3 \ 789280304Sjkim curs_termattrs.3 longname.3 \ 790280304Sjkim curs_termattrs.3 term_attrs.3 \ 791280304Sjkim curs_termattrs.3 termattrs.3 \ 792167612Ssimon curs_termattrs.3 termname.3 \ 793280304Sjkim curs_termcap.3 termcap.3 \ 794280304Sjkim curs_termcap.3 tgetent.3 \ 795280304Sjkim curs_termcap.3 tgetflag.3 \ 796280304Sjkim curs_termcap.3 tgetnum.3 \ 797280304Sjkim curs_termcap.3 tgetstr.3 \ 798280304Sjkim curs_termcap.3 tgoto.3 \ 799280304Sjkim curs_termcap.3 tputs.3 \ 800280304Sjkim curs_terminfo.3 del_curterm.3 \ 801280304Sjkim curs_terminfo.3 mvcur.3 \ 802280304Sjkim curs_terminfo.3 putp.3 \ 803167612Ssimon curs_terminfo.3 restartterm.3 \ 804280304Sjkim curs_terminfo.3 set_curterm.3 \ 805280304Sjkim curs_terminfo.3 setterm.3 \ 806280304Sjkim curs_terminfo.3 setupterm.3 \ 807280304Sjkim curs_terminfo.3 tigetflag.3 \ 808280304Sjkim curs_terminfo.3 tigetnum.3 \ 809280304Sjkim curs_terminfo.3 tigetstr.3 \ 810280304Sjkim curs_terminfo.3 tparm.3 \ 811280304Sjkim curs_terminfo.3 tputs.3 \ 812280304Sjkim curs_terminfo.3 vid_attr.3 \ 813280304Sjkim curs_terminfo.3 vid_puts.3 \ 814280304Sjkim curs_terminfo.3 vidattr.3 \ 815280304Sjkim curs_terminfo.3 vidputs.3 \ 816280304Sjkim curs_touch.3 is_linetouched.3 \ 817280304Sjkim curs_touch.3 is_wintouched.3 \ 818280304Sjkim curs_touch.3 touchline.3 \ 819280304Sjkim curs_touch.3 touchwin.3 \ 820280304Sjkim curs_touch.3 untouchwin.3 \ 821280304Sjkim curs_touch.3 wtouchln.3 \ 822280304Sjkim curs_trace.3 _nc_tracebits.3 \ 823280304Sjkim curs_trace.3 _traceattr.3 \ 824280304Sjkim curs_trace.3 _traceattr2.3 \ 825280304Sjkim curs_trace.3 _tracechar.3 \ 826280304Sjkim curs_trace.3 _tracechtype.3 \ 827280304Sjkim curs_trace.3 _tracechtype2.3 \ 828280304Sjkim curs_trace.3 _tracedump.3 \ 829280304Sjkim curs_trace.3 _tracef.3 \ 830280304Sjkim curs_trace.3 _tracemouse.3 \ 831280304Sjkim curs_trace.3 trace.3 \ 832280304Sjkim curs_util.3 delay_output.3 \ 833280304Sjkim curs_util.3 filter.3 \ 834280304Sjkim curs_util.3 flushinp.3 \ 835280304Sjkim curs_util.3 getwin.3 \ 836280304Sjkim curs_util.3 key_name.3 \ 837280304Sjkim curs_util.3 keyname.3 \ 838280304Sjkim curs_util.3 nofilter.3 \ 839280304Sjkim curs_util.3 putwin.3 \ 840280304Sjkim curs_util.3 unctrl.3 \ 841280304Sjkim curs_util.3 use_env.3 \ 842280304Sjkim curs_util.3 wunctrl.3 \ 843280304Sjkim curs_window.3 delwin.3 \ 844280304Sjkim curs_window.3 derwin.3 \ 845280304Sjkim curs_window.3 dupwin.3 \ 846280304Sjkim curs_window.3 mvderwin.3 \ 847280304Sjkim curs_window.3 mvwin.3 \ 848280304Sjkim curs_window.3 newwin.3 \ 849280304Sjkim curs_window.3 subwin.3 \ 850280304Sjkim curs_window.3 syncok.3 \ 851280304Sjkim curs_window.3 wcursyncup.3 \ 852280304Sjkim curs_window.3 wsyncdown.3 \ 853280304Sjkim curs_window.3 wsyncup.3 \ 854280304Sjkim default_colors.3 assume_default_colors.3 \ 855280304Sjkim default_colors.3 use_default_colors.3 \ 856237657Sjkim legacy_coding.3 use_legacy_coding.3 \ 857280304Sjkim resizeterm.3 is_term_resized.3 \ 858280304Sjkim resizeterm.3 resize_term.3 859280304Sjkim 860280304Sjkim.if defined(ENABLE_WIDEC) 861280304SjkimMLINKS+=curs_add_wch.3 add_wch.3 \ 862280304Sjkim curs_add_wch.3 echo_wchar.3 \ 863280304Sjkim curs_add_wch.3 mvadd_wch.3 \ 864167612Ssimon curs_add_wch.3 mvwadd_wch.3 \ 865167612Ssimon curs_add_wch.3 wadd_wch.3 \ 866167612Ssimon curs_add_wch.3 wecho_wchar.3 \ 867280304Sjkim curs_add_wchstr.3 add_wchnstr.3 \ 868167612Ssimon curs_add_wchstr.3 add_wchstr.3 \ 869167612Ssimon curs_add_wchstr.3 mvadd_wchnstr.3 \ 870280304Sjkim curs_add_wchstr.3 mvadd_wchstr.3 \ 871167612Ssimon curs_add_wchstr.3 mvwadd_wchnstr.3 \ 872167612Ssimon curs_add_wchstr.3 mvwadd_wchstr.3 \ 873167612Ssimon curs_add_wchstr.3 wadd_wchnstr.3 \ 874167612Ssimon curs_add_wchstr.3 wadd_wchstr.3 \ 875167612Ssimon curs_addwstr.3 addnwstr.3 \ 876167612Ssimon curs_addwstr.3 addwstr.3 \ 877280304Sjkim curs_addwstr.3 mvaddnwstr.3 \ 878167612Ssimon curs_addwstr.3 mvaddwstr.3 \ 879167612Ssimon curs_addwstr.3 mvwaddnwstr.3 \ 880167612Ssimon curs_addwstr.3 mvwaddwstr.3 \ 881167612Ssimon curs_addwstr.3 waddnwstr.3 \ 882167612Ssimon curs_addwstr.3 waddwstr.3 \ 883167612Ssimon curs_get_wch.3 get_wch.3 \ 884167612Ssimon curs_get_wch.3 mvget_wch.3 \ 885280304Sjkim curs_get_wch.3 mvwget_wch.3 \ 886167612Ssimon curs_get_wch.3 unget_wch.3 \ 887280304Sjkim curs_get_wch.3 wget_wch.3 \ 888280304Sjkim curs_get_wstr.3 get_wstr.3 \ 889280304Sjkim curs_get_wstr.3 getn_wstr.3 \ 890280304Sjkim curs_get_wstr.3 mvget_wstr.3 \ 891280304Sjkim curs_get_wstr.3 mvgetn_wstr.3 \ 892280304Sjkim curs_get_wstr.3 mvwget_wstr.3 \ 893280304Sjkim curs_get_wstr.3 mvwgetn_wstr.3 \ 894167612Ssimon curs_get_wstr.3 wget_wstr.3 \ 895167612Ssimon curs_get_wstr.3 wgetn_wstr.3 \ 896280304Sjkim curs_in_wch.3 in_wch.3 \ 897 curs_in_wch.3 mvin_wch.3 \ 898 curs_in_wch.3 mvwin_wch.3 \ 899 curs_in_wch.3 win_wch.3 \ 900 curs_in_wchstr.3 in_wchnstr.3 \ 901 curs_in_wchstr.3 in_wchstr.3 \ 902 curs_in_wchstr.3 mvin_wchnstr.3 \ 903 curs_in_wchstr.3 mvin_wchstr.3 \ 904 curs_in_wchstr.3 mvwin_wchnstr.3 \ 905 curs_in_wchstr.3 mvwin_wchstr.3 \ 906 curs_in_wchstr.3 win_wchnstr.3 \ 907 curs_in_wchstr.3 win_wchstr.3 \ 908 curs_ins_wch.3 ins_wch.3 \ 909 curs_ins_wch.3 mvins_wch.3 \ 910 curs_ins_wch.3 mvwins_wch.3 \ 911 curs_ins_wch.3 wins_wch.3 \ 912 curs_ins_wstr.3 ins_nwstr.3 \ 913 curs_ins_wstr.3 ins_wstr.3 \ 914 curs_ins_wstr.3 mvins_nwstr.3 \ 915 curs_ins_wstr.3 mvins_wstr.3 \ 916 curs_ins_wstr.3 mvwins_nwstr.3 \ 917 curs_ins_wstr.3 mvwins_wstr.3 \ 918 curs_ins_wstr.3 wins_nwstr.3 \ 919 curs_ins_wstr.3 wins_wstr.3 \ 920 curs_inwstr.3 innwstr.3 \ 921 curs_inwstr.3 inwstr.3 \ 922 curs_inwstr.3 mvinnwstr.3 \ 923 curs_inwstr.3 mvinwstr.3 \ 924 curs_inwstr.3 mvwinnwstr.3 \ 925 curs_inwstr.3 mvwinwstr.3 \ 926 curs_inwstr.3 winnwstr.3 \ 927 curs_inwstr.3 winwstr.3 \ 928 curs_printw.3 mvprintw.3 \ 929 curs_printw.3 mvwprintw.3 \ 930 curs_printw.3 printw.3 \ 931 curs_printw.3 vw_printw.3 \ 932 curs_printw.3 vwprintw.3 \ 933 curs_printw.3 wprintw.3 \ 934 curs_scanw.3 mvscanw.3 \ 935 curs_scanw.3 mvwscanw.3 \ 936 curs_scanw.3 scanw.3 \ 937 curs_scanw.3 vw_scanw.3 \ 938 curs_scanw.3 vwscanw.3 \ 939 curs_scanw.3 wscanw.3 940.endif 941 942 943.include <bsd.lib.mk> 944 945# Keep the .SUFFIXES line after the include of bsd.lib.mk 946.SUFFIXES: .3 .3x 947.3x.3: 948 cat ${.IMPSRC} > ${.TARGET} 949