usr.sbin/autofs: Best effort to maintain mounttab and mountdtab
[dragonfly.git] / lib / libncurses / Makefile.inc
1 NCURSESDIR=     ${.CURDIR}/../../../contrib/ncurses
2
3 SHLIB_MAJOR=    60
4 VERSION_DEF=    ${.CURDIR}/../Versions.def
5 SYMBOL_MAPS=    ${.CURDIR}/../Symbol.base.map
6 TERMINFO_CAPS=  ${NCURSESDIR}/include/Caps
7
8 .if defined(ENABLE_WIDEC)
9 CFLAGS+=        -DENABLE_WIDEC
10 SW_WIDEC=       1
11 SW_TYPE=        cchar_t
12 SYMBOL_MAPS+=   ${.CURDIR}/../Symbol.wide.map
13 .else
14 SW_WIDEC=       0
15 SW_TYPE=        chtype
16 .endif
17
18 CFLAGS+=        -I.
19 CFLAGS+=        -I${NCURSESDIR}/include
20 CFLAGS+=        -I${NCURSESDIR}/ncurses
21 CFLAGS+=        -I${.CURDIR}/../include
22 CFLAGS+=        -I${.CURDIR}
23 CFLAGS+=        -I${.OBJDIR}
24
25 WARNS?= 5
26
27 NCURSESBASEDIR=         ${NCURSESDIR}/ncurses/base
28 NCURSESSERIALDIR=       ${NCURSESDIR}/ncurses/tty
29 NCURSESTINFODIR=        ${NCURSESDIR}/ncurses/tinfo
30 NCURSESTRACEDIR=        ${NCURSESDIR}/ncurses/trace
31 NCURSESWIDEDIR=         ${NCURSESDIR}/ncurses/widechar
32
33 .PATH:  ${NCURSESDIR}/include ${.CURDIR}/../include
34 .if defined(ZPANEL)
35 .PATH:  ${NCURSESDIR}/panel
36 .endif
37 .if defined(ZNCURSES) || defined(ZTIC)
38 .PATH:  ${NCURSESBASEDIR}
39 .PATH:  ${NCURSESSERIALDIR}
40 .PATH:  ${NCURSESTINFODIR}
41 .PATH:  ${NCURSESTRACEDIR}
42 . if defined (ENABLE_WIDEC)
43 .PATH:  ${NCURSESWIDEDIR}
44 . endif
45 .endif
46
47 .include "../Makefile.inc"