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