drm: Sync drm_buffer.c with Linux 3.10
[dragonfly.git] / lib / libncurses / Makefile.inc
blob33cbec3b027d724eba271b90a9aeb7727985172a
1 NCURSESDIR=     ${.CURDIR}/../../../contrib/ncurses
3 .if defined (ENABLE_WIDEC)
4 CFLAGS+=        -D_XOPEN_SOURCE_EXTENDED
5 CFLAGS+=        -DENABLE_WIDEC
6 CFLAGS+=        -DSET_NCURSES_CH_T=cchar_t
7 CFLAGS+=        -DSET_NEED_WCHAR_H=1
8 LIB_SUFFIX=     w
9 .else
10 CFLAGS+=        -DSET_NCURSES_CH_T=chtype
11 CFLAGS+=        -DSET_NEED_WCHAR_H=0
12 LIB_SUFFIX=
13 .endif
15 CFLAGS+=        -I.
16 CFLAGS+=        -I${NCURSESDIR}/include
17 CFLAGS+=        -I${NCURSESDIR}/ncurses
18 CFLAGS+=        -I${.CURDIR}/../include
19 CFLAGS+=        -I${.CURDIR}
20 CFLAGS+=        -I${.OBJDIR}
22 SHLIB_MAJOR=    6
24 VERSION_DEF=    ${.CURDIR}/../Versions.def
25 SYMBOL_MAPS=    ${.CURDIR}/../lib${LIB:S|w||}/Symbol.map
26 .if defined(ENABLE_WIDEC)
27 SYMBOL_MAPS+=   ${.CURDIR}/Symbol.map
28 .endif
30 TERMINFO_CAPS=  ${NCURSESDIR}/include/Caps