1NCURSESDIR= ${.CURDIR}/../../../contrib/ncurses 2 3SHLIB_MAJOR= 60 4VERSION_DEF= ${.CURDIR}/../Versions.def 5SYMBOL_MAPS= ${.CURDIR}/../Symbol.base.map 6TERMINFO_CAPS= ${NCURSESDIR}/include/Caps 7 8.if defined(ENABLE_WIDEC) 9CFLAGS+= -D_XOPEN_SOURCE_EXTENDED 10CFLAGS+= -DENABLE_WIDEC 11SW_WIDEC= 1 12SW_TYPE= cchar_t 13SYMBOL_MAPS+= ${.CURDIR}/../Symbol.wide.map 14.else 15SW_WIDEC= 0 16SW_TYPE= chtype 17.endif 18 19CFLAGS+= -I. 20CFLAGS+= -I${NCURSESDIR}/include 21CFLAGS+= -I${NCURSESDIR}/ncurses 22CFLAGS+= -I${.CURDIR}/../include 23CFLAGS+= -I${.CURDIR} 24CFLAGS+= -I${.OBJDIR} 25 26WARNS?= 5 27 28NCURSESBASEDIR= ${NCURSESDIR}/ncurses/base 29NCURSESSERIALDIR= ${NCURSESDIR}/ncurses/tty 30NCURSESTINFODIR= ${NCURSESDIR}/ncurses/tinfo 31NCURSESTRACEDIR= ${NCURSESDIR}/ncurses/trace 32NCURSESWIDEDIR= ${NCURSESDIR}/ncurses/widechar 33 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 47 48.include "../Makefile.inc" 49