summaryrefslogtreecommitdiff
path: root/lib/libcurses/Makefile
blob: d554e0d133ed86c3f99d88cecd25531b7cbbc5e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#	$NetBSD: Makefile,v 1.35 2001/12/11 11:18:17 blymn Exp $
#	@(#)Makefile	8.2 (Berkeley) 1/2/94

CPPFLAGS+=#-DTFILE=\"/dev/ttyp0\"
CPPFLAGS+=-I${.CURDIR} -I${.CURDIR}/../libterm
.if defined(DEBUG_CURSES)
CFLAGS+=-g
.if defined(FULL_DEBUG)
CPPFLAGS+=-DDEBUG
.endif
.endif
LIB=	curses
SRCS=	acs.c addbytes.c addch.c addnstr.c attributes.c background.c bell.c \
	border.c box.c clear.c clearok.c clrtobot.c clrtoeol.c color.c \
	copywin.c cr_put.c ctrace.c cur_hash.c curs_set.c curses.c delch.c \
	deleteln.c delwin.c erase.c flushok.c fullname.c getch.c getstr.c \
	getyx.c id_subwins.c idlok.c inch.c inchstr.c initscr.c insch.c \
	insdelln.c insertln.c instr.c keypad.c leaveok.c line.c longname.c \
	meta.c move.c mvwin.c newwin.c nodelay.c notimeout.c overlay.c \
	overwrite.c pause.c printw.c putchar.c refresh.c resize.c scanw.c \
	screen.c scroll.c scrollok.c setterm.c standout.c timeout.c \
	toucholap.c touchwin.c tscroll.c tstp.c tty.c unctrl.c underscore.c

MAN=	curses.3
INCS=	curses.h unctrl.h
INCSDIR=/usr/include

CPPFLAGS+=-DCM_N -DCM_GT -DCM_B -DCM_D
SRCS+=	termcap.c tgoto.c tputs.c
.PATH: ${.CURDIR}/../libterm

.if make(install)
SUBDIR+= PSD.doc
.endif

.include <bsd.lib.mk>
.include <bsd.subdir.mk>