diff options
| author | blymn <blymn@NetBSD.org> | 2007-05-28 15:01:53 +0000 |
|---|---|---|
| committer | blymn <blymn@NetBSD.org> | 2007-05-28 15:01:53 +0000 |
| commit | e124de36d8a3bb2fd90b77ec25eb7736f29ee44d (patch) | |
| tree | 0dac708fd51eee66b5194f8e69d6fe165e953031 /lib/libcurses/Makefile | |
| parent | 599840187d9b53fe3353daa7f2892b387a1c2f29 (diff) | |
Merge in wide curses code done as a Summer of Code project by
Ruibiao Qiu.
Diffstat (limited to 'lib/libcurses/Makefile')
| -rw-r--r-- | lib/libcurses/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/libcurses/Makefile b/lib/libcurses/Makefile index 80b5806b87d..3848f6553cc 100644 --- a/lib/libcurses/Makefile +++ b/lib/libcurses/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.52 2004/04/21 06:24:32 jdc Exp $ +# $NetBSD: Makefile,v 1.53 2007/05/28 15:01:53 blymn Exp $ # @(#)Makefile 8.2 (Berkeley) 1/2/94 .include <bsd.own.mk> @@ -7,6 +7,7 @@ CPPFLAGS+=#-DTFILE=\"/dev/ttyp0\" CPPFLAGS+=-I${.CURDIR} -I${NETBSDSRCDIR}/lib/libterm .if defined(DEBUG_CURSES) CFLAGS+=-g +CPPFLAGS+=-g .if defined(FULL_DEBUG) CPPFLAGS+=-DDEBUG .endif @@ -14,6 +15,7 @@ CPPFLAGS+=-DDEBUG .if defined(SMALL) CPPFLAGS+=-DSMALL .endif +COPTS+=-Wuninitialized -Wstrict-prototypes -Wmissing-prototypes LIB= curses SRCS= acs.c addbytes.c addch.c addchnstr.c addnstr.c attributes.c \ background.c bell.c border.c box.c clear.c clearok.c clrtobot.c \ @@ -43,6 +45,13 @@ CPPFLAGS+=-DCM_N -DCM_GT -DCM_B -DCM_D SRCS+= termcap.c tgoto.c tputs.c .PATH: ${NETBSDSRCDIR}/lib/libterm +.if !defined(DISABLE_WCHAR) +CPPFLAGS+=-DHAVE_WCHAR +SRCS+= cchar.c add_wch.c add_wchstr.c addwstr.c echo_wchar.c ins_wch.c \ + insstr.c ins_wstr.c get_wch.c get_wstr.c in_wch.c in_wchstr.c \ + inwstr.c +.endif + MLINKS+= curses_addch.3 addch.3 curses_addchstr.3 addchnstr.3 \ curses_addchstr.3 addchstr.3 curses_addstr.3 addnstr.3 \ curses_addstr.3 addstr.3 \ |
