| @@ -1,28 +1,28 @@ | | | @@ -1,28 +1,28 @@ |
1 | # $NetBSD: curses.builtin.mk,v 1.17 2017/03/20 10:03:57 roy Exp $ | | 1 | # $NetBSD: curses.builtin.mk,v 1.17.2.1 2017/04/25 18:03:16 bsiegert Exp $ |
2 | | | 2 | |
3 | BUILTIN_PKG:= curses | | 3 | BUILTIN_PKG:= curses |
4 | | | 4 | |
5 | BUILTIN_FIND_LIBS:= curses | | 5 | BUILTIN_FIND_LIBS:= curses |
6 | BUILTIN_FIND_HEADERS_VAR:= H_CURSES | | 6 | BUILTIN_FIND_HEADERS_VAR:= H_CURSES |
7 | BUILTIN_FIND_HEADERS.H_CURSES= curses.h | | 7 | BUILTIN_FIND_HEADERS.H_CURSES= curses.h |
8 | | | 8 | |
9 | # Functions and defines to search for. | | 9 | # Functions and defines to search for. |
10 | # These are valid USE_CURSES options and will determine whether the | | 10 | # These are valid USE_CURSES options and will determine whether the |
11 | # package can use the builtin curses or not. | | 11 | # package can use the builtin curses or not. |
12 | # | | 12 | # |
13 | BUILTIN_TEST_CURSES_FUNCS= chgat getsyx halfdelay putwin | | 13 | BUILTIN_TEST_CURSES_FUNCS= chgat getsyx halfdelay putwin |
14 | BUILTIN_TEST_CURSES_FUNCS+= resize_term resizeterm set_escdelay syncok | | 14 | BUILTIN_TEST_CURSES_FUNCS+= resize_term resizeterm set_escdelay syncok |
15 | BUILTIN_TEST_CURSES_FUNCS+= wgetnstr wsyncup mvwchgat | | 15 | BUILTIN_TEST_CURSES_FUNCS+= wgetnstr wsyncup mvwchgat vw_printw |
16 | BUILTIN_TEST_CURSES_DEFINES= WA_NORMAL | | 16 | BUILTIN_TEST_CURSES_DEFINES= WA_NORMAL |
17 | | | 17 | |
18 | .for func in ${BUILTIN_TEST_CURSES_FUNCS} | | 18 | .for func in ${BUILTIN_TEST_CURSES_FUNCS} |
19 | BUILTIN_FIND_FILES_VAR+= H_CURSES_${func:tu} | | 19 | BUILTIN_FIND_FILES_VAR+= H_CURSES_${func:tu} |
20 | BUILTIN_FIND_FILES.H_CURSES_${func:tu}= ${H_CURSES} | | 20 | BUILTIN_FIND_FILES.H_CURSES_${func:tu}= ${H_CURSES} |
21 | BUILTIN_FIND_GREP.H_CURSES_${func:tu}= ${func} | | 21 | BUILTIN_FIND_GREP.H_CURSES_${func:tu}= ${func} |
22 | .endfor | | 22 | .endfor |
23 | | | 23 | |
24 | .for defn in ${BUILTIN_TEST_CURSES_DEFINES} | | 24 | .for defn in ${BUILTIN_TEST_CURSES_DEFINES} |
25 | BUILTIN_FIND_FILES_VAR+= H_CURSES_${defn} | | 25 | BUILTIN_FIND_FILES_VAR+= H_CURSES_${defn} |
26 | BUILTIN_FIND_FILES.H_CURSES_${defn}= ${H_CURSES} | | 26 | BUILTIN_FIND_FILES.H_CURSES_${defn}= ${H_CURSES} |
27 | BUILTIN_FIND_GREP.H_CURSES_${defn}= ${defn} | | 27 | BUILTIN_FIND_GREP.H_CURSES_${defn}= ${defn} |
28 | .endfor | | 28 | .endfor |