head	1.83;
access;
symbols
	RELENG_6_4_0_RELEASE:1.78.2.2
	RELENG_6_4:1.78.2.2.0.4
	RELENG_6_4_BP:1.78.2.2
	RELENG_6_3_0_RELEASE:1.78.2.2
	RELENG_6_3:1.78.2.2.0.2
	RELENG_6_3_BP:1.78.2.2
	RELENG_6_2_0_RELEASE:1.78.2.1
	RELENG_6_2:1.78.2.1.0.6
	RELENG_6_2_BP:1.78.2.1
	RELENG_5_5_0_RELEASE:1.73.4.1
	RELENG_5_5:1.73.4.1.0.4
	RELENG_5_5_BP:1.73.4.1
	RELENG_6_1_0_RELEASE:1.78.2.1
	RELENG_6_1:1.78.2.1.0.4
	RELENG_6_1_BP:1.78.2.1
	RELENG_6_0_0_RELEASE:1.78.2.1
	RELENG_6_0:1.78.2.1.0.2
	RELENG_6_0_BP:1.78.2.1
	RELENG_6:1.78.0.2
	RELENG_6_BP:1.78
	RELENG_5_4_0_RELEASE:1.73.4.1
	RELENG_5_4:1.73.4.1.0.2
	RELENG_5_4_BP:1.73.4.1
	RELENG_4_11_0_RELEASE:1.39.2.14
	RELENG_4_11:1.39.2.14.0.4
	RELENG_4_11_BP:1.39.2.14
	RELENG_5_3_0_RELEASE:1.73
	RELENG_5_3:1.73.0.6
	RELENG_5_3_BP:1.73
	RELENG_5:1.73.0.4
	RELENG_5_BP:1.73
	RELENG_4_10_0_RELEASE:1.39.2.14
	RELENG_4_10:1.39.2.14.0.2
	RELENG_4_10_BP:1.39.2.14
	RELENG_5_2_1_RELEASE:1.73
	RELENG_5_2_0_RELEASE:1.73
	RELENG_5_2:1.73.0.2
	RELENG_5_2_BP:1.73
	RELENG_4_9_0_RELEASE:1.39.2.13
	RELENG_4_9:1.39.2.13.0.6
	RELENG_4_9_BP:1.39.2.13
	RELENG_5_1_0_RELEASE:1.69
	RELENG_5_1:1.69.0.2
	RELENG_5_1_BP:1.69
	RELENG_4_8_0_RELEASE:1.39.2.13
	RELENG_4_8:1.39.2.13.0.4
	RELENG_4_8_BP:1.39.2.13
	RELENG_5_0_0_RELEASE:1.65
	RELENG_5_0:1.65.0.2
	RELENG_5_0_BP:1.65
	RELENG_4_7_0_RELEASE:1.39.2.13
	RELENG_4_7:1.39.2.13.0.2
	RELENG_4_7_BP:1.39.2.13
	RELENG_4_6_2_RELEASE:1.39.2.10
	RELENG_4_6_1_RELEASE:1.39.2.10
	RELENG_4_6_0_RELEASE:1.39.2.10
	RELENG_4_6:1.39.2.10.0.4
	RELENG_4_6_BP:1.39.2.10
	RELENG_4_5_0_RELEASE:1.39.2.10
	RELENG_4_5:1.39.2.10.0.2
	RELENG_4_5_BP:1.39.2.10
	RELENG_4_4_0_RELEASE:1.39.2.9
	RELENG_4_4:1.39.2.9.0.2
	RELENG_4_4_BP:1.39.2.9
	RELENG_4_3_0_RELEASE:1.39.2.4
	RELENG_4_3:1.39.2.4.0.2
	RELENG_4_3_BP:1.39.2.4
	RELENG_4_2_0_RELEASE:1.39.2.3
	RELENG_4_1_1_RELEASE:1.39.2.2
	PRE_SMPNG:1.42
	RELENG_4_1_0_RELEASE:1.39.2.1
	RELENG_3_5_0_RELEASE:1.25.2.1
	RELENG_4_0_0_RELEASE:1.39
	RELENG_4:1.39.0.2
	RELENG_4_BP:1.39
	RELENG_3_4_0_RELEASE:1.25.2.1
	RELENG_3_3_0_RELEASE:1.25.2.1
	RELENG_3_2_PAO:1.25.0.4
	RELENG_3_2_PAO_BP:1.25
	RELENG_3_2_0_RELEASE:1.25
	RELENG_3_1_0_RELEASE:1.25
	RELENG_3:1.25.0.2
	RELENG_3_BP:1.25
	RELENG_2_2_8_RELEASE:1.19.2.2
	RELENG_3_0_0_RELEASE:1.25
	RELENG_2_2_7_RELEASE:1.19.2.2
	RELENG_2_2_6_RELEASE:1.19.2.2
	RELENG_2_2_5_RELEASE:1.19.2.2
	RELENG_2_2_2_RELEASE:1.19
	RELENG_2_2_1_RELEASE:1.19
	RELENG_2_2_0_RELEASE:1.19
	RELENG_2_1_7_RELEASE:1.13.4.1
	RELENG_2_1_6_1_RELEASE:1.13.4.1
	RELENG_2_1_6_RELEASE:1.13.4.1
	RELENG_2_2:1.19.0.2
	RELENG_2_2_BP:1.19
	RELENG_2_1_5_RELEASE:1.13.4.1
	RELENG_2_1_0_RELEASE:1.13.4.1
	RELENG_2_1_0:1.13.0.4
	RELENG_2_1_0_BP:1.13
	RELENG_2_0_5_RELEASE:1.13
	RELENG_2_0_5:1.13.0.2
	RELENG_2_0_5_BP:1.13
	RELENG_2_0_5_ALPHA:1.13
	RELEASE_2_0:1.6
	BETA_2_0:1.6
	ALPHA_2_0:1.6.0.2
	ncurses_1_8_5:1.1.1.1
	zmbenhal:1.1.1;
locks; strict;
comment	@# @;


1.83
date	2007.01.20.07.49.43;	author rafan;	state dead;
branches;
next	1.82;

1.82
date	2006.03.18.21.37.04;	author ru;	state Exp;
branches;
next	1.81;

1.81
date	2006.03.18.11.01.06;	author ru;	state Exp;
branches;
next	1.80;

1.80
date	2006.03.17.18.54.27;	author ru;	state Exp;
branches;
next	1.79;

1.79
date	2005.07.22.17.19.02;	author kensmith;	state Exp;
branches;
next	1.78;

1.78
date	2004.12.21.12.05.10;	author ru;	state Exp;
branches
	1.78.2.1;
next	1.77;

1.77
date	2004.12.21.09.51.08;	author ru;	state Exp;
branches;
next	1.76;

1.76
date	2004.12.21.09.33.44;	author ru;	state Exp;
branches;
next	1.75;

1.75
date	2004.10.24.15.32.32;	author ru;	state Exp;
branches;
next	1.74;

1.74
date	2004.10.18.16.26.25;	author ru;	state Exp;
branches;
next	1.73;

1.73
date	2003.08.30.13.57.31;	author ru;	state Exp;
branches
	1.73.4.1;
next	1.72;

1.72
date	2003.08.18.15.25.39;	author obrien;	state Exp;
branches;
next	1.71;

1.71
date	2003.08.17.08.28.45;	author gordon;	state Exp;
branches;
next	1.70;

1.70
date	2003.06.06.13.46.55;	author kuriyama;	state Exp;
branches;
next	1.69;

1.69
date	2003.04.30.15.49.40;	author obrien;	state Exp;
branches;
next	1.68;

1.68
date	2003.04.18.13.01.07;	author ru;	state Exp;
branches;
next	1.67;

1.67
date	2003.04.05.20.30.30;	author imp;	state Exp;
branches;
next	1.66;

1.66
date	2003.02.25.15.41.49;	author ru;	state Exp;
branches;
next	1.65;

1.65
date	2002.11.13.13.47.48;	author ru;	state Exp;
branches;
next	1.64;

1.64
date	2002.11.13.11.50.40;	author ru;	state Exp;
branches;
next	1.63;

1.63
date	2002.09.28.00.25.30;	author peter;	state Exp;
branches;
next	1.62;

1.62
date	2002.09.25.14.19.51;	author markm;	state Exp;
branches;
next	1.61;

1.61
date	2002.09.24.19.55.37;	author ache;	state Exp;
branches;
next	1.60;

1.60
date	2002.09.18.21.16.17;	author mux;	state Exp;
branches;
next	1.59;

1.59
date	2002.09.17.01.48.51;	author peter;	state Exp;
branches;
next	1.58;

1.58
date	2002.08.21.16.19.57;	author mike;	state Exp;
branches;
next	1.57;

1.57
date	2002.07.29.09.40.11;	author ru;	state Exp;
branches;
next	1.56;

1.56
date	2002.07.18.12.07.47;	author ru;	state Exp;
branches;
next	1.55;

1.55
date	2002.06.02.16.11.57;	author ache;	state Exp;
branches;
next	1.54;

1.54
date	2002.05.21.05.40.28;	author peter;	state Exp;
branches;
next	1.53;

1.53
date	2002.05.12.16.00.54;	author ru;	state Exp;
branches;
next	1.52;

1.52
date	2001.09.14.15.27.51;	author ru;	state Exp;
branches;
next	1.51;

1.51
date	2001.06.12.01.14.02;	author peter;	state Exp;
branches;
next	1.50;

1.50
date	2001.06.07.17.27.44;	author sobomax;	state Exp;
branches;
next	1.49;

1.49
date	2001.05.18.00.41.27;	author obrien;	state Exp;
branches;
next	1.48;

1.48
date	2001.05.17.08.48.26;	author peter;	state Exp;
branches;
next	1.47;

1.47
date	2001.05.17.08.30.09;	author peter;	state Exp;
branches;
next	1.46;

1.46
date	2001.03.27.17.27.08;	author ru;	state Exp;
branches;
next	1.45;

1.45
date	2000.12.05.12.40.14;	author tg;	state Exp;
branches;
next	1.44;

1.44
date	2000.10.11.11.25.47;	author peter;	state Exp;
branches;
next	1.43;

1.43
date	2000.10.11.08.07.28;	author peter;	state Exp;
branches;
next	1.42;

1.42
date	2000.08.04.15.38.32;	author ru;	state Exp;
branches;
next	1.41;

1.41
date	2000.07.03.09.47.47;	author peter;	state Exp;
branches;
next	1.40;

1.40
date	2000.07.03.09.40.52;	author peter;	state Exp;
branches;
next	1.39;

1.39
date	2000.03.02.08.23.23;	author peter;	state Exp;
branches
	1.39.2.1;
next	1.38;

1.38
date	2000.01.26.16.51.36;	author peter;	state Exp;
branches;
next	1.37;

1.37
date	2000.01.11.12.51.55;	author green;	state Exp;
branches;
next	1.36;

1.36
date	2000.01.11.12.37.52;	author green;	state Exp;
branches;
next	1.35;

1.35
date	2000.01.10.12.12.51;	author phantom;	state Exp;
branches;
next	1.34;

1.34
date	99.12.20.10.37.55;	author marcel;	state Exp;
branches;
next	1.33;

1.33
date	99.12.13.21.25.08;	author marcel;	state Exp;
branches;
next	1.32;

1.32
date	99.12.11.13.38.04;	author marcel;	state Exp;
branches;
next	1.31;

1.31
date	99.11.30.05.56.12;	author peter;	state Exp;
branches;
next	1.30;

1.30
date	99.09.26.19.11.04;	author peter;	state Exp;
branches;
next	1.29;

1.29
date	99.09.01.05.14.57;	author peter;	state Exp;
branches;
next	1.28;

1.28
date	99.08.30.23.15.40;	author dt;	state Exp;
branches;
next	1.27;

1.27
date	99.08.30.07.56.55;	author peter;	state Exp;
branches;
next	1.26;

1.26
date	99.08.28.00.05.16;	author peter;	state Exp;
branches;
next	1.25;

1.25
date	98.03.20.16.50.04;	author bde;	state Exp;
branches
	1.25.2.1;
next	1.24;

1.24
date	97.10.20.17.53.54;	author ache;	state Exp;
branches;
next	1.23;

1.23
date	97.08.25.07.41.13;	author ache;	state Exp;
branches;
next	1.22;

1.22
date	97.08.24.19.09.32;	author ache;	state Exp;
branches;
next	1.21;

1.21
date	97.02.22.15.07.38;	author peter;	state Exp;
branches;
next	1.20;

1.20
date	97.01.14.06.09.51;	author jkh;	state Exp;
branches;
next	1.19;

1.19
date	96.09.05.17.14.22;	author bde;	state Exp;
branches
	1.19.2.1;
next	1.18;

1.18
date	96.08.30.01.58.36;	author peter;	state Exp;
branches;
next	1.17;

1.17
date	96.08.26.09.25.20;	author peter;	state Exp;
branches;
next	1.16;

1.16
date	96.05.27.22.58.29;	author wosch;	state Exp;
branches;
next	1.15;

1.15
date	96.02.09.00.45.32;	author mpp;	state Exp;
branches;
next	1.14;

1.14
date	95.08.06.12.37.32;	author bde;	state Exp;
branches;
next	1.13;

1.13
date	95.05.08.16.08.49;	author ache;	state Exp;
branches
	1.13.4.1;
next	1.12;

1.12
date	95.05.03.18.54.09;	author ache;	state Exp;
branches;
next	1.11;

1.11
date	95.04.20.21.35.51;	author ache;	state Exp;
branches;
next	1.10;

1.10
date	95.02.13.17.23.18;	author ache;	state Exp;
branches;
next	1.9;

1.9
date	94.12.04.02.43.41;	author ache;	state Exp;
branches;
next	1.8;

1.8
date	94.12.02.06.39.03;	author ache;	state Exp;
branches;
next	1.7;

1.7
date	94.11.29.02.48.17;	author ache;	state Exp;
branches;
next	1.6;

1.6
date	94.10.28.06.56.55;	author ache;	state Exp;
branches;
next	1.5;

1.5
date	94.10.12.01.59.06;	author ache;	state Exp;
branches;
next	1.4;

1.4
date	94.10.12.01.51.27;	author ache;	state Exp;
branches;
next	1.3;

1.3
date	94.10.10.00.34.44;	author ache;	state Exp;
branches;
next	1.2;

1.2
date	94.10.09.09.27.53;	author ache;	state Exp;
branches;
next	1.1;

1.1
date	94.10.07.08.58.51;	author ache;	state Exp;
branches
	1.1.1.1;
next	;

1.78.2.1
date	2005.07.22.17.29.06;	author kensmith;	state Exp;
branches;
next	1.78.2.2;

1.78.2.2
date	2007.04.06.17.52.04;	author rafan;	state dead;
branches;
next	;

1.73.4.1
date	2005.02.13.07.23.13;	author obrien;	state Exp;
branches;
next	;

1.39.2.1
date	2000.07.10.09.54.51;	author ps;	state Exp;
branches;
next	1.39.2.2;

1.39.2.2
date	2000.08.17.07.30.34;	author ru;	state Exp;
branches;
next	1.39.2.3;

1.39.2.3
date	2000.10.12.18.41.06;	author peter;	state Exp;
branches;
next	1.39.2.4;

1.39.2.4
date	2000.12.07.12.23.57;	author tg;	state Exp;
branches;
next	1.39.2.5;

1.39.2.5
date	2001.04.25.10.04.34;	author ru;	state Exp;
branches;
next	1.39.2.6;

1.39.2.6
date	2001.05.17.08.49.44;	author peter;	state Exp;
branches;
next	1.39.2.7;

1.39.2.7
date	2001.06.12.01.11.31;	author peter;	state Exp;
branches;
next	1.39.2.8;

1.39.2.8
date	2001.06.12.01.49.32;	author peter;	state Exp;
branches;
next	1.39.2.9;

1.39.2.9
date	2001.06.14.10.56.09;	author sobomax;	state Exp;
branches;
next	1.39.2.10;

1.39.2.10
date	2001.09.17.15.37.00;	author ru;	state Exp;
branches;
next	1.39.2.11;

1.39.2.11
date	2002.07.18.13.31.23;	author ru;	state Exp;
branches;
next	1.39.2.12;

1.39.2.12
date	2002.07.22.14.21.49;	author ru;	state Exp;
branches;
next	1.39.2.13;

1.39.2.13
date	2002.08.07.16.31.48;	author ru;	state Exp;
branches;
next	1.39.2.14;

1.39.2.14
date	2003.12.16.10.44.40;	author ru;	state Exp;
branches;
next	1.39.2.15;

1.39.2.15
date	2012.11.17.07.23.57;	author svnexp;	state Exp;
branches;
next	;

1.25.2.1
date	99.08.29.14.57.18;	author peter;	state Exp;
branches;
next	;

1.19.2.1
date	97.08.24.19.12.01;	author ache;	state Exp;
branches;
next	1.19.2.2;

1.19.2.2
date	97.08.25.07.42.08;	author ache;	state Exp;
branches;
next	1.19.2.3;

1.19.2.3
date	99.09.05.11.17.03;	author peter;	state Exp;
branches;
next	;

1.13.4.1
date	95.08.31.21.50.02;	author davidg;	state Exp;
branches;
next	1.13.4.2;

1.13.4.2
date	99.09.05.11.18.37;	author peter;	state Exp;
branches;
next	;

1.1.1.1
date	94.10.07.08.58.52;	author ache;	state Exp;
branches;
next	;


desc
@@


1.83
log
@Retire old ncurses build glue

Approved by:	delphij
@
text
@# $FreeBSD: src/lib/libncurses/Makefile,v 1.82 2006/03/18 21:37:04 ru Exp $

SHLIBDIR?= /lib

.include <bsd.own.mk>

NCURSES=${.CURDIR}/../../contrib/ncurses

LIB=	ncurses
SHLIB_MAJOR=6

# Should be elsewhere
AWK?=	awk
TERMINFODIR?=	${SHAREDIR}/misc

NCURSES_MAJOR!=egrep 'NCURSES_MAJOR[ 	]*=' ${NCURSES}/dist.mk | sed -e 's%^[^0-9]*%%'
NCURSES_MINOR!=egrep 'NCURSES_MINOR[ 	]*=' ${NCURSES}/dist.mk | sed -e 's%^[^0-9]*%%'
NCURSES_PATCH!=egrep 'NCURSES_PATCH[ 	]*=' ${NCURSES}/dist.mk | sed -e 's%^[^0-9]*%%'

# From autoconf (!)
NCURSES_CONST=		const
NCURSES_XNAMES=		1
NCURSES_OSPEED=		short
NCURSES_CH_T=		chtype
NCURSES_EXT_FUNCS=	1
NCURSES_LIBUTF8=	0
NCURSES_MBSTATE_T=	0
BROKEN_LINKER=		0
BUILTIN_BOOL=		1
BOOL_TYPE=		0
HAVE_VSSCANF=		1
HEADER_STDBOOL=		1
TYPE_OF_BOOL=		unsigned char
TYPEOF_CHTYPE=		long
WIDEC_SHIFT=		8
SHIFT_LIMIT=		32
ONEUL=			1UL

.PATH:  ${NCURSES}/ncurses
.PATH:  ${NCURSES}/ncurses/base
.PATH:  ${NCURSES}/ncurses/tinfo
.PATH:  ${NCURSES}/ncurses/tty
.PATH:  ${NCURSES}/ncurses/trace
.PATH:  ${NCURSES}/include
.PATH:  ${NCURSES}/man

CFLAGS+=-I. -I${.CURDIR} -I${NCURSES}/ncurses -I${NCURSES}/include
CFLAGS+=-Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS

GENSRC= \
	codes.c \
	expanded.c \
	fallback.c \
	lib_gen.c \
	lib_keyname.c \
	names.c \
	unctrl.c

GENHDR= \
	curses.h \
	hashsize.h \
	init_keytry.h \
	ncurses_def.h \
	nomacros.h \
	parametrized.h \
	term.h \
	termcap.h \
	unctrl.h

# Installed
HEADERS=curses.h term.h termcap.h unctrl.h
SRCHDRS=ncurses_dll.h
INCS=	${HEADERS} ${SRCHDRS}
INCSLINKS= curses.h ${INCLUDEDIR}/ncurses.h

# Components of names.c and codes.c
NAMESRC=boolnames boolfnames numnames numfnames strnames strfnames
CODESRC=boolcodes numcodes strcodes

SRCS=	${GENHDR} ${GENSRC} \
	access.c \
	add_tries.c \
	alloc_entry.c \
	alloc_ttype.c \
	captoinfo.c \
	comp_captab.c \
	comp_error.c \
	comp_expand.c \
	comp_hash.c \
	comp_parse.c \
	comp_scan.c \
	define_key.c \
	doalloc.c \
	free_ttype.c \
	getenv_num.c \
	hardscroll.c \
	hashmap.c \
	home_terminfo.c \
	init_keytry.c \
	keybound.c \
	keyok.c \
	lib_acs.c \
	lib_addch.c \
	lib_addstr.c \
	lib_baudrate.c \
	lib_beep.c \
	lib_bkgd.c \
	lib_box.c \
	lib_chgat.c \
	lib_clear.c \
	lib_clearok.c \
	lib_clrbot.c \
	lib_clreol.c \
	lib_color.c \
	lib_colorset.c \
	lib_cur_term.c \
	lib_data.c \
	lib_delch.c \
	lib_delwin.c \
	lib_dft_fgbg.c \
	lib_echo.c \
	lib_endwin.c \
	lib_erase.c \
	lib_flash.c \
	lib_freeall.c \
	lib_getch.c \
	lib_getstr.c \
	lib_has_cap.c \
	lib_hline.c \
	lib_immedok.c \
	lib_inchstr.c \
	lib_initscr.c \
	lib_insch.c \
	lib_insdel.c \
	lib_insstr.c \
	lib_instr.c \
	lib_isendwin.c \
	lib_kernel.c \
	lib_leaveok.c \
	lib_longname.c \
	lib_mouse.c \
	lib_move.c \
	lib_mvcur.c \
	lib_mvwin.c \
	lib_napms.c \
	lib_newterm.c \
	lib_newwin.c \
	lib_nl.c \
	lib_options.c \
	lib_overlay.c \
	lib_pad.c \
	lib_print.c \
	lib_printw.c \
	lib_raw.c \
	lib_redrawln.c \
	lib_refresh.c \
	lib_restart.c \
	lib_scanw.c \
	lib_screen.c \
	lib_scroll.c \
	lib_scrollok.c \
	lib_scrreg.c \
	lib_set_term.c \
	lib_setup.c \
	lib_slk.c \
	lib_slkatr_set.c \
	lib_slkatrof.c \
	lib_slkatron.c \
	lib_slkatrset.c \
	lib_slkattr.c \
	lib_slkclear.c \
	lib_slkcolor.c \
	lib_slkinit.c \
	lib_slklab.c \
	lib_slkrefr.c \
	lib_slkset.c \
	lib_slktouch.c \
	lib_termcap.c \
	lib_termname.c \
	lib_tgoto.c \
	lib_ti.c \
	lib_touch.c \
	lib_tparm.c \
	lib_tputs.c \
	lib_trace.c \
	lib_tstp.c \
	lib_ttyflags.c \
	lib_twait.c \
	lib_ungetch.c \
	lib_vidattr.c \
	lib_vline.c \
	lib_wattroff.c \
	lib_wattron.c \
	lib_winch.c \
	lib_window.c \
	memmove.c \
	name_match.c \
	nc_panel.c \
	parse_entry.c \
	read_entry.c \
	resizeterm.c \
	safe_sprintf.c \
	setbuf.c \
	sigaction.c \
	strings.c \
	tries.c \
	tty_update.c \
	varargs.c \
	version.c \
	visbuf.c \
	vsscanf.c \
	wresize.c \
	write_entry.c

# Currently unused, for debugging libncurses itself.
DBGSRCS=lib_traceatr.c \
	lib_tracebits.c \
	lib_tracechr.c \
	lib_tracedmp.c \
	lib_tracemse.c \
	trace_buf.c \
	trace_tries.c \
	trace_xnames.c

# From our old libtermcap.
# Used instead of the hideous read_termcap.c abomination.
SRCS+=	termcap.c

CLEANFILES+=	${GENSRC} ${GENHDR} keys.list make_hash term.h.new \
	make_keys MKterm.h.awk comp_captab.c curses.head \
	namehdr nameftr codeftr ${NAMESRC} ${CODESRC}

.if !defined(NO_INSTALLLIB)
SYMLINKS+=libncurses.a ${LIBDIR}/libcurses.a
SYMLINKS+=libncurses.a ${LIBDIR}/libtermcap.a
SYMLINKS+=libncurses.a ${LIBDIR}/libtermlib.a
SYMLINKS+=libncurses.a ${LIBDIR}/libmytinfo.a
SYMLINKS+=libncurses.a ${LIBDIR}/libtinfo.a
.endif
.if !defined(NO_PIC)
# no need for major at all, it's an ld-time redirection only
SYMLINKS+=libncurses.so ${LIBDIR}/libcurses.so
SYMLINKS+=libncurses.so ${LIBDIR}/libtermcap.so
SYMLINKS+=libncurses.so ${LIBDIR}/libtermlib.so
SYMLINKS+=libncurses.so ${LIBDIR}/libmytinfo.so
SYMLINKS+=libncurses.so ${LIBDIR}/libtinfo.so
.endif
.if ${MK_PROFILE} != "no"
SYMLINKS+=libncurses_p.a ${LIBDIR}/libcurses_p.a
SYMLINKS+=libncurses_p.a ${LIBDIR}/libtermcap_p.a
SYMLINKS+=libncurses_p.a ${LIBDIR}/libtermlib_p.a
SYMLINKS+=libncurses_p.a ${LIBDIR}/libmytinfo_p.a
SYMLINKS+=libncurses_p.a ${LIBDIR}/libtinfo_p.a
.endif

DOCSDIR= /usr/share/doc/ncurses
DOCS=	ncurses-intro.html hackguide.html

.if ${MK_HTML} != "no"
.PATH: ${NCURSES}/doc/html
FILESGROUPS=	DOCS
.endif

# Generated source
namehdr nameftr codeftr ${NAMESRC} ${CODESRC}: MKnames.awk Caps
	${AWK} -f ${NCURSES}/ncurses/tinfo/MKnames.awk ${NCURSES}/include/Caps

.ORDER: namehdr ${NAMESRC} ${CODESRC} nameftr codeftr names.c codes.c

names.c:	 namehdr ${NAMESRC} nameftr
	cat namehdr ${NAMESRC} nameftr > $@@

codes.c:	 namehdr ${CODESRC} codeftr
	cat namehdr ${CODESRC} codeftr > $@@

lib_gen.c:	MKlib_gen.sh curses.h
	LC_ALL=C sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
	    "${AWK}" generated < curses.h >$@@

lib_keyname.c:	keys.list MKkeyname.awk
	${AWK} -f ${NCURSES}/ncurses/base/MKkeyname.awk keys.list > lib_keyname.c

unctrl.c:	MKunctrl.awk
	echo | ${AWK} -f ${NCURSES}/ncurses/base/MKunctrl.awk > unctrl.c

comp_captab.c:	MKcaptab.awk Caps make_hash
	sh ${NCURSES}/ncurses/tinfo/MKcaptab.awk "${AWK}" \
	    ${NCURSES}/include/Caps > comp_captab.c

expanded.c:	MKexpanded.sh
	sh ${NCURSES}/ncurses/tty/MKexpanded.sh "${CC} -E" ${CFLAGS} >expanded.c

fallback.c:	MKfallback.sh
	sh ${NCURSES}/ncurses/tinfo/MKfallback.sh > fallback.c

# Generated headers
ncurses_def.h:	MKncurses_def.sh ncurses_defs
	AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
	    ${NCURSES}/include/ncurses_defs > ncurses_def.h

nomacros.h:	MKlib_gen.sh curses.h
	LC_ALL=C sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
	    "${AWK}" generated < curses.h | fgrep undef > $@@

init_keytry.h:	keys.list make_keys
	./make_keys keys.list > init_keytry.h

hashsize.h:	MKhashsize.sh Caps
	sh ${NCURSES}/include/MKhashsize.sh ${NCURSES}/include/Caps > $@@

parametrized.h:	MKparametrized.sh Caps
	AWK=${AWK} sh ${NCURSES}/include/MKparametrized.sh \
	    ${NCURSES}/include/Caps > $@@

term.h:		MKterm.h.awk edit_cfg.sh Caps
	${AWK} -f MKterm.h.awk ${NCURSES}/include/Caps > $@@.new
	sh ${NCURSES}/include/edit_cfg.sh ${.CURDIR}/ncurses_cfg.h $@@.new
	mv -f $@@.new $@@

curses.h:	curses.head MKkey_defs.sh Caps
	cat curses.head > $@@.new
	AWK=${AWK} _POSIX2_VERSION=199209 sh ${NCURSES}/include/MKkey_defs.sh \
	    ${NCURSES}/include/Caps >> $@@.new
	cat ${NCURSES}/include/curses.tail >> $@@.new
	mv -f $@@.new $@@

# Generated intermediate files
keys.list:	MKkeys_list.sh Caps
	AWK=${AWK} sh ${NCURSES}/ncurses/tinfo/MKkeys_list.sh \
	    ${NCURSES}/include/Caps | LC_ALL=C sort > keys.list

# Build tools
build-tools: make_hash make_keys

make_keys:	make_keys.c names.c ncurses_def.h ${HEADERS}
	${CC} -o $@@ ${CFLAGS} ${NCURSES}/ncurses/tinfo/make_keys.c

make_hash:	comp_hash.c hashsize.h ncurses_def.h ${HEADERS}
	${CC} -o $@@ ${CFLAGS} -DMAIN_PROGRAM \
		${NCURSES}/ncurses/tinfo/comp_hash.c

# ./configure generated
MKterm.h.awk:	MKterm.h.awk.in
	sed <${NCURSES}/include/MKterm.h.awk.in >$@@ \
	    -e "/@@NCURSES_MAJOR@@/s%%${NCURSES_MAJOR}%" \
	    -e "/@@NCURSES_MINOR@@/s%%${NCURSES_MINOR}%" \
	    -e "/@@NCURSES_CONST@@/s%%${NCURSES_CONST}%" \
	    -e "/@@NCURSES_XNAMES@@/s%%${NCURSES_XNAMES}%"

termcap.h:	termcap.h.in
	sed <${NCURSES}/include/termcap.h.in >$@@ \
	    -e "/@@NCURSES_MAJOR@@/s%%${NCURSES_MAJOR}%" \
	    -e "/@@NCURSES_MINOR@@/s%%${NCURSES_MINOR}%" \
	    -e "/@@NCURSES_CONST@@/s%%${NCURSES_CONST}%" \
	    -e "/@@NCURSES_OSPEED@@/s%%${NCURSES_OSPEED}%"

curses.head:	curses.h.in
	sed <${NCURSES}/include/curses.h.in >$@@ \
	    -e "/@@BROKEN_LINKER@@/s%%${BROKEN_LINKER}%" \
	    -e "/@@HAVE_VSSCANF@@/s%%${HAVE_VSSCANF}%" \
	    -e "/@@NCURSES_CONST@@/s%%${NCURSES_CONST}%" \
	    -e "/@@NCURSES_MAJOR@@/s%%${NCURSES_MAJOR}%" \
	    -e "/@@NCURSES_MINOR@@/s%%${NCURSES_MINOR}%" \
	    -e "/@@NCURSES_PATCH@@/s%%${NCURSES_PATCH}%" \
	    -e "/@@NCURSES_CH_T@@/s%%${NCURSES_CH_T}%" \
	    -e "/@@NCURSES_EXT_FUNCS@@/s%%${NCURSES_EXT_FUNCS}%" \
	    -e "/@@NCURSES_LIBUTF8@@/s%%${NCURSES_LIBUTF8}%" \
	    -e "/@@NCURSES_MBSTATE_T@@/s%%${NCURSES_MBSTATE_T}%" \
	    -e "s%@@cf_cv_1UL@@%${ONEUL}%g" \
	    -e "s%@@cf_cv_builtin_bool@@%${BUILTIN_BOOL}%g" \
	    -e "s%@@cf_cv_cc_bool_type@@%${BOOL_TYPE}%g" \
	    -e "s%@@cf_cv_shift_limit@@%${SHIFT_LIMIT}%g" \
	    -e "s%@@cf_cv_header_stdbool_h@@%${HEADER_STDBOOL}%g" \
	    -e "s%@@cf_cv_type_of_bool@@%${TYPE_OF_BOOL}%g" \
	    -e "s%@@cf_cv_typeof_chtype@@%${TYPEOF_CHTYPE}%g" \
	    -e "s%@@cf_cv_widec_shift@@%${WIDEC_SHIFT}%g" \
	    -e "s/ _WCHAR_T/ __wchar_t/g" \
	    -e "s/ _WINT_T/ __wint_t/g" \

unctrl.h:	unctrl.h.in
	sed <${NCURSES}/include/$@@.in >$@@ \
	    -e "/@@NCURSES_MAJOR@@/s%%${NCURSES_MAJOR}%" \
	    -e "/@@NCURSES_MINOR@@/s%%${NCURSES_MINOR}%"

# MAN page gunk
terminfo.5:	MKterminfo.sh terminfo.head Caps
	sh ${NCURSES}/man/MKterminfo.sh ${NCURSES}/man/terminfo.head \
	    ${NCURSES}/include/Caps ${NCURSES}/man/terminfo.tail >$@@

CLEANFILES+=	terminfo.5
MANFILTER=      sed -e 's%@@TERMINFO@@%${TERMINFODIR}/terminfo%g' \
		    -e 's%@@NCURSES_OSPEED@@%${NCURSES_OSPEED}%g'

MANx=	curs_addch.3x curs_addchstr.3x curs_addstr.3x curs_attr.3x \
	curs_beep.3x curs_bkgd.3x curs_border.3x curs_clear.3x curs_color.3x \
	curs_delch.3x curs_deleteln.3x curs_extend.3x curs_getch.3x \
	curs_getstr.3x \
	curs_getyx.3x curs_inch.3x curs_inchstr.3x curs_initscr.3x \
	curs_inopts.3x curs_insch.3x curs_insstr.3x curs_instr.3x \
	curs_kernel.3x curs_mouse.3x curs_move.3x curs_outopts.3x \
	curs_overlay.3x curs_pad.3x curs_print.3x curs_printw.3x \
	curs_refresh.3x curs_scanw.3x curs_scr_dump.3x curs_scroll.3x \
	curs_slk.3x curs_termattrs.3x curs_termcap.3x curs_terminfo.3x \
	curs_touch.3x curs_trace.3x curs_util.3x curs_window.3x \
	default_colors.3x define_key.3x \
	keybound.3x keyok.3x ncurses.3x resizeterm.3x wresize.3x
MAN=	term.5 terminfo.5
MAN+=	term.7

# Generate the MAN list from MANx
.for page in ${MANx}
CLEANFILES+=${page:T:S/x$//g}
MAN+=${page:T:S/x$//g}
${page:T:S/x$//g}: ${page}
	cat ${.ALLSRC} > ${.TARGET}
.endfor

MLINKS+=ncurses.3 curses.3
MLINKS+=curs_addch.3 addch.3 curs_addch.3 echochar.3 curs_addch.3 mvaddch.3 \
	curs_addch.3 mvwaddch.3 curs_addch.3 waddch.3 curs_addch.3 wechochar.3
MLINKS+=curs_addchstr.3 addchnstr.3 curs_addchstr.3 addchstr.3 \
	curs_addchstr.3 mvaddchnstr.3 curs_addchstr.3 mvaddchstr.3 \
	curs_addchstr.3 mvwaddchnstr.3 curs_addchstr.3 mvwaddchstr.3 \
	curs_addchstr.3 waddchnstr.3 curs_addchstr.3 waddchstr.3
MLINKS+=curs_addstr.3 addnstr.3 curs_addstr.3 addstr.3 \
	curs_addstr.3 mvaddnstr.3 curs_addstr.3 mvaddstr.3 \
	curs_addstr.3 mvwaddnstr.3 curs_addstr.3 mvwaddstr.3 \
	curs_addstr.3 waddnstr.3 curs_addstr.3 waddstr.3
MLINKS+=curs_attr.3 PAIR_NUMBER.3 \
	curs_attr.3 attr_get.3 curs_attr.3 attr_off.3 curs_attr.3 attr_on.3 \
	curs_attr.3 attr_set.3 curs_attr.3 attroff.3 curs_attr.3 attron.3 \
	curs_attr.3 attrset.3 curs_attr.3 chgat.3 curs_attr.3 color_set.3 \
	curs_attr.3 mvchgat.3 curs_attr.3 mvwchgat.3 curs_attr.3 standend.3 \
	curs_attr.3 standout.3 curs_attr.3 wattr_get.3 curs_attr.3 wattr_off.3 \
	curs_attr.3 wattr_on.3 curs_attr.3 wattr_set.3 curs_attr.3 wattroff.3 \
	curs_attr.3 wattron.3 curs_attr.3 wattrset.3 curs_attr.3 wchgat.3 \
	curs_attr.3 wcolor_set.3 curs_attr.3 wstandend.3 \
	curs_attr.3 wstandout.3
MLINKS+=curs_beep.3 beep.3 curs_beep.3 flash.3
MLINKS+=curs_bkgd.3 bkgd.3 curs_bkgd.3 bkgdset.3 curs_bkgd.3 getbkgd.3 \
	curs_bkgd.3 wbkgd.3 curs_bkgd.3 wbkgdset.3
MLINKS+=curs_border.3 border.3 curs_border.3 box.3 curs_border.3 hline.3 \
	curs_border.3 mvhline.3 curs_border.3 mvvline.3 \
	curs_border.3 mvwhline.3 \
	curs_border.3 mvwvline.3 curs_border.3 vline.3 curs_border.3 wborder.3 \
	curs_border.3 whline.3 curs_border.3 wvline.3
MLINKS+=curs_clear.3 clear.3 curs_clear.3 clrtobot.3 curs_clear.3 clrtoeol.3 \
	curs_clear.3 erase.3 curs_clear.3 wclear.3 curs_clear.3 wclrtobot.3 \
	curs_clear.3 wclrtoeol.3 curs_clear.3 werase.3
MLINKS+=curs_color.3 COLOR_PAIR.3 \
	curs_color.3 can_change_color.3 curs_color.3 color_content.3 \
	curs_color.3 has_colors.3 curs_color.3 init_color.3 \
	curs_color.3 init_pair.3 curs_color.3 pair_content.3 \
	curs_color.3 start_color.3
MLINKS+=curs_delch.3 delch.3 curs_delch.3 mvdelch.3 curs_delch.3 mvwdelch.3 \
	curs_delch.3 wdelch.3
MLINKS+=curs_deleteln.3 deleteln.3 curs_deleteln.3 insdelln.3 \
	curs_deleteln.3 insertln.3 curs_deleteln.3 wdeleteln.3 \
	curs_deleteln.3 winsdelln.3 curs_deleteln.3 winsertln.3
MLINKS+=curs_extend.3 curses_version.3 curs_extend.3 use_extended_names.3
MLINKS+=curs_getch.3 getch.3 curs_getch.3 has_key.3 curs_getch.3 mvgetch.3 \
	curs_getch.3 mvwgetch.3 curs_getch.3 ungetch.3 curs_getch.3 wgetch.3
MLINKS+=curs_getstr.3 getnstr.3 curs_getstr.3 getstr.3 \
	curs_getstr.3 mvgetnstr.3 curs_getstr.3 mvgetstr.3 \
	curs_getstr.3 mvwgetnstr.3 curs_getstr.3 mvwgetstr.3 \
	curs_getstr.3 wgetnstr.3 curs_getstr.3 wgetstr.3
MLINKS+=curs_getyx.3 getbegyx.3 curs_getyx.3 getmaxyx.3 \
	curs_getyx.3 getparyx.3 curs_getyx.3 getyx.3
MLINKS+=curs_inch.3 inch.3 curs_inch.3 mvinch.3 curs_inch.3 mvwinch.3 \
	curs_inch.3 winch.3
MLINKS+=curs_inchstr.3 inchnstr.3 curs_inchstr.3 inchstr.3 \
	curs_inchstr.3 mvinchnstr.3 curs_inchstr.3 mvinchstr.3 \
	curs_inchstr.3 mvwinchnstr.3 curs_inchstr.3 mvwinchstr.3 \
	curs_inchstr.3 winchnstr.3 curs_inchstr.3 winchstr.3
MLINKS+=curs_initscr.3 delscreen.3 curs_initscr.3 endwin.3 \
	curs_initscr.3 initscr.3 curs_initscr.3 isendwin.3 \
	curs_initscr.3 newterm.3 curs_initscr.3 set_term.3
MLINKS+=curs_inopts.3 cbreak.3 curs_inopts.3 echo.3 curs_inopts.3 halfdelay.3 \
	curs_inopts.3 intrflush.3 curs_inopts.3 keypad.3 curs_inopts.3 meta.3 \
	curs_inopts.3 nocbreak.3 curs_inopts.3 nodelay.3 \
	curs_inopts.3 noecho.3 curs_inopts.3 noqiflush.3 curs_inopts.3 noraw.3 \
	curs_inopts.3 notimeout.3 curs_inopts.3 qiflush.3 curs_inopts.3 raw.3 \
	curs_inopts.3 timeout.3 curs_inopts.3 typeahead.3 \
	curs_inopts.3 wtimeout.3
MLINKS+=curs_insch.3 insch.3 curs_insch.3 mvinsch.3 curs_insch.3 mvwinsch.3 \
	curs_insch.3 winsch.3
MLINKS+=curs_insstr.3 insnstr.3 curs_insstr.3 insstr.3 \
	curs_insstr.3 mvinsnstr.3 curs_insstr.3 mvinsstr.3 \
	curs_insstr.3 mvwinsnstr.3 curs_insstr.3 mvwinsstr.3 \
	curs_insstr.3 winsnstr.3 curs_insstr.3 winsstr.3
MLINKS+=curs_instr.3 innstr.3 curs_instr.3 instr.3 curs_instr.3 mvinnstr.3 \
	curs_instr.3 mvinstr.3 curs_instr.3 mvwinnstr.3 \
	curs_instr.3 mvwinstr.3 curs_instr.3 winnstr.3 curs_instr.3 winstr.3
MLINKS+=curs_kernel.3 curs_set.3 curs_kernel.3 def_prog_mode.3 \
	curs_kernel.3 def_shell_mode.3 curs_kernel.3 getsyx.3 \
	curs_kernel.3 napms.3 curs_kernel.3 reset_prog_mode.3 \
	curs_kernel.3 reset_shell_mode.3 curs_kernel.3 resetty.3 \
	curs_kernel.3 ripoffline.3 curs_kernel.3 savetty.3 \
	curs_kernel.3 setsyx.3
MLINKS+=curs_mouse.3 getmouse.3 curs_mouse.3 mouse_trafo.3 \
	curs_mouse.3 mouseinterval.3 \
	curs_mouse.3 mousemask.3 curs_mouse.3 ungetmouse.3 \
	curs_mouse.3 wenclose.3 curs_mouse.3 wmouse_trafo.3
MLINKS+=curs_move.3 move.3 curs_move.3 wmove.3
MLINKS+=curs_outopts.3 clearok.3 curs_outopts.3 idcok.3 curs_outopts.3 idlok.3 \
	curs_outopts.3 immedok.3 curs_outopts.3 leaveok.3 curs_outopts.3 nl.3 \
	curs_outopts.3 nonl.3 curs_outopts.3 scrollok.3 \
	curs_outopts.3 setscrreg.3 curs_outopts.3 wsetscrreg.3
MLINKS+=curs_overlay.3 copywin.3 curs_overlay.3 overlay.3 \
	curs_overlay.3 overwrite.3
MLINKS+=curs_pad.3 newpad.3 curs_pad.3 pechochar.3 curs_pad.3 pnoutrefresh.3 \
	curs_pad.3 prefresh.3 curs_pad.3 subpad.3
MLINKS+=curs_print.3 mcprint.3
MLINKS+=curs_printw.3 mvprintw.3 curs_printw.3 mvwprintw.3 \
	curs_printw.3 printw.3 curs_printw.3 vw_printw.3 \
	curs_printw.3 vwprintw.3 curs_printw.3 wprintw.3
MLINKS+=curs_refresh.3 doupdate.3 curs_refresh.3 redrawwin.3 \
	curs_refresh.3 refresh.3 curs_refresh.3 wnoutrefresh.3 \
	curs_refresh.3 wredrawln.3 curs_refresh.3 wrefresh.3
MLINKS+=curs_scanw.3 mvscanw.3 curs_scanw.3 mvwscanw.3 curs_scanw.3 scanw.3 \
	curs_scanw.3 vw_scanw.3 curs_scanw.3 vwscanw.3 curs_scanw.3 wscanw.3
MLINKS+=curs_scr_dump.3 scr_dump.3 curs_scr_dump.3 scr_init.3 \
	curs_scr_dump.3 scr_restore.3 curs_scr_dump.3 scr_set.3
MLINKS+=curs_scroll.3 scrl.3 curs_scroll.3 scroll.3 curs_scroll.3 wscrl.3
MLINKS+=curs_slk.3 slk_attr.3 curs_slk.3 slk_attr_off.3 \
	curs_slk.3 slk_attr_on.3 curs_slk.3 slk_attr_set.3 \
	curs_slk.3 slk_attroff.3 curs_slk.3 slk_attron.3 \
	curs_slk.3 slk_attrset.3 curs_slk.3 slk_clear.3 \
	curs_slk.3 slk_color.3 curs_slk.3 slk_init.3 curs_slk.3 slk_label.3 \
	curs_slk.3 slk_noutrefresh.3 curs_slk.3 slk_refresh.3 \
	curs_slk.3 slk_restore.3 curs_slk.3 slk_set.3 curs_slk.3 slk_touch.3
MLINKS+=curs_termattrs.3 baudrate.3 curs_termattrs.3 erasechar.3 \
	curs_termattrs.3 has_ic.3 curs_termattrs.3 has_il.3 \
	curs_termattrs.3 killchar.3 curs_termattrs.3 longname.3 \
	curs_termattrs.3 termattrs.3 curs_termattrs.3 termname.3
MLINKS+=curs_termcap.3 termcap.3 curs_termcap.3 tgetent.3 \
	curs_termcap.3 tgetflag.3 curs_termcap.3 tgetnum.3 \
	curs_termcap.3 tgetstr.3 curs_termcap.3 tgoto.3 \
	curs_termcap.3 tputs.3
MLINKS+=curs_terminfo.3 del_curterm.3 curs_terminfo.3 mvcur.3 \
	curs_terminfo.3 putp.3 curs_terminfo.3 restartterm.3 \
	curs_terminfo.3 set_curterm.3 curs_terminfo.3 setterm.3 \
	curs_terminfo.3 setupterm.3 curs_terminfo.3 tigetflag.3 \
	curs_terminfo.3 tigetnum.3 curs_terminfo.3 tigetstr.3 \
	curs_terminfo.3 tparm.3 curs_terminfo.3 tputs.3 \
	curs_terminfo.3 vidattr.3 curs_terminfo.3 vidputs.3
MLINKS+=curs_touch.3 is_linetouched.3 curs_touch.3 is_wintouched.3 \
	curs_touch.3 touchline.3 curs_touch.3 touchwin.3 \
	curs_touch.3 untouchwin.3 curs_touch.3 wtouchln.3
MLINKS+=curs_util.3 delay_output.3 curs_util.3 filter.3 \
	curs_util.3 flushinp.3 curs_util.3 getwin.3 \
	curs_util.3 keyname.3 curs_util.3 putwin.3 \
	curs_util.3 unctrl.3 curs_util.3 use_env.3
MLINKS+=curs_window.3 delwin.3 curs_window.3 derwin.3 curs_window.3 dupwin.3 \
	curs_window.3 mvderwin.3 curs_window.3 mvwin.3 curs_window.3 newwin.3 \
	curs_window.3 subwin.3 curs_window.3 syncok.3 \
	curs_window.3 wcursyncup.3 curs_window.3 wsyncdown.3 \
	curs_window.3 wsyncup.3
MLINKS+=default_colors.3 assume_default_colors.3 \
	default_colors.3 use_default_colors.3

NO_LINT=

.include <bsd.lib.mk>
@


1.82
log
@Convert NO_PROFILE and NO_LIB32 to new style.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.81
log
@Provide alternate default for SHLIBDIR before bsd.own.mk does this.

Reported by:	phk
@
text
@d248 1
a248 1
.if !defined(NO_PROFILE)
@


1.80
log
@Reimplementation of world/kernel build options.  For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by:	imp, jhb, kris, phk, ru (all bugs are mine)
@
text
@d3 2
a9 1
SHLIBDIR?= /lib
@


1.79
log
@Bump the shared library version number of all libraries that have not
been bumped since RELENG_5.

Reviewed by:	ru
Approved by:	re (not needed for commit check but in principle...)
@
text
@d3 2
d258 1
a258 1
.if !defined(NO_HTML)
@


1.78
log
@NOHTML -> NO_HTML
@
text
@d7 1
a7 1
SHLIB_MAJOR=5
@


1.78.2.1
log
@Insta-MFC of the shared library version bump.  All shared libraries
whose version has not already been bumped since RELENG_5 are being
bumped.

Revisions of files being MFC-ed:

> Path						Revision
> src/gnu/lib/libdialog/Makefile		1.43
> src/gnu/lib/libg2c/Makefile			1.16
> src/gnu/lib/libobjc/Makefile			1.27
> src/gnu/lib/libreadline/Makefile.inc		1.12
> src/gnu/lib/libregex/Makefile			1.32
> src/gnu/lib/libstdc++/Makefile		1.56
> src/kerberos5/lib/Makefile.inc		1.7
> src/lib/Makefile.inc				1.3
> src/lib/libalias/Makefile			1.31
> src/lib/libarchive/Makefile			1.37
> src/lib/libbegemot/Makefile			1.3
> src/lib/libbluetooth/Makefile			1.2
> src/lib/libbsnmp/Makefile.inc			1.6
> src/lib/libbz2/Makefile			1.6
> src/lib/libc_r/Makefile			1.42
> src/lib/libcrypt/Makefile			1.36
> src/lib/libdevstat/Makefile			1.15
> src/lib/libdevstat/devstat.h			1.11
> src/lib/libedit/Makefile			1.29
> src/lib/libexpat/Makefile			1.5
> src/lib/libfetch/Makefile			1.45
> src/lib/libftpio/Makefile			1.14
> src/lib/libgpib/Makefile			1.2
> src/lib/libipsec/Makefile			1.17
> src/lib/libkiconv/Makefile			1.3
> src/lib/libmagic/Makefile			1.7
> src/lib/libmp/Makefile			1.10
> src/lib/libncp/Makefile			1.6
> src/lib/libncurses/Makefile			1.79
> src/lib/libnetgraph/Makefile			1.11
> src/lib/libngatm/Makefile			1.6
> src/lib/libopie/Makefile			1.21
> src/lib/libpam/Makefile.inc			1.17
> src/lib/libpthread/Makefile			1.54
> src/lib/libradius/Makefile			1.12
> src/lib/libsdp/Makefile			1.4
> src/lib/libsmb/Makefile			1.8
> src/lib/libtacplus/Makefile			1.7
> src/lib/libthr/Makefile			1.14
> src/lib/libthread_db/Makefile			1.6
> src/lib/libugidfw/Makefile			1.7
> src/lib/libusbhid/Makefile			1.10
> src/lib/libutil/Makefile			1.57
> src/lib/libvgl/Makefile			1.11
> src/lib/libwrap/Makefile			1.17
> src/lib/libypclnt/Makefile			1.13
> src/lib/msun/Makefile				1.72
> src/secure/lib/libcrypto/Makefile		1.74
> src/secure/lib/libssh/Makefile		1.35
> src/secure/lib/libssl/Makefile		1.22
> src/usr.sbin/bsnmpd/modules/Makefile.inc	1.10

Reviewed by:	ru
Approved by:	re (scottl)
@
text
@d7 1
a7 1
SHLIB_MAJOR=6
@


1.78.2.2
log
@MFC: ncurses + wide character support from HEAD which include:
  - new ncurses build framework
  - enable ncurses wide character support

Approved by:	delphij (mentor)
Tested by:	several people on stable@@
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.78.2.1 2005/07/22 17:29:06 kensmith Exp $
@


1.77
log
@NOINSTALLLIB -> NO_INSTALLLIB
@
text
@d256 1
a256 1
.if !defined(NOHTML)
@


1.76
log
@NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE
@
text
@d230 1
a230 1
.if !defined(NOINSTALLLIB)
@


1.75
log
@For variables that are only checked with defined(), don't provide
any fake value.
@
text
@d237 1
a237 1
.if !defined(NOPIC)
d245 1
a245 1
.if !defined(NOPROFILE)
d559 1
a559 1
NOLINT=
@


1.74
log
@Replaced afterinstall: with FILES.
@
text
@d559 1
a559 1
NOLINT=	true
@


1.73
log
@Unbreak the NOINSTALLLIB install.

PR:		50945
Submitted by:	Rene de Vries <rene@@tunix.nl>
Reminded by:	jmallett
@
text
@d257 2
a258 6
afterinstall:
.for file in ${DOCS}
	cd ${.CURDIR}/../../contrib/ncurses/doc/html ; \
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
		${DESTDIR}${DOCSDIR}
.endfor
@


1.73.4.1
log
@MFC: For variables that are only checked with defined(), don't provide
     any fake value.
@
text
@d563 1
a563 1
NOLINT=
@


1.72
log
@style.Makefile(5)
@
text
@d230 1
d236 1
@


1.71
log
@Stage 3 of dynamic root support. Make all the libraries needed to run
binaries in /bin and /sbin installed in /lib. Only the versioned files
reside in /lib, the .so symlink continues to live /usr/lib so the
toolchain doesn't need to be modified.
@
text
@d6 1
a6 1
SHLIBDIR?=	/lib
@


1.70
log
@Use
	cat ${.ALLSRC} > ${.TARGET}
rather than
	ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.

Commented by:  marcel, obrien, bde
@
text
@d6 1
d237 5
a241 5
SYMLINKS+=libncurses.so ${SHLIBDIR}/libcurses.so
SYMLINKS+=libncurses.so ${SHLIBDIR}/libtermcap.so
SYMLINKS+=libncurses.so ${SHLIBDIR}/libtermlib.so
SYMLINKS+=libncurses.so ${SHLIBDIR}/libmytinfo.so
SYMLINKS+=libncurses.so ${SHLIBDIR}/libtinfo.so
@


1.69
log
@Symlink with -f.
@
text
@d413 1
a413 1
	ln -sf ${.ALLSRC} ${.TARGET}
@


1.68
log
@Make this compile under cs_CZ.ISO8859-2 locale.

Reported by:	Pav Lucistnik <pav@@oook.cz>

We hit this problem earlier, in PR misc/45460.
@
text
@d413 1
a413 1
	ln -s ${.ALLSRC} ${.TARGET}
@


1.67
log
@Migrate to a new way of dealing with building from old revisions of
FreeBSD.  This method attempts to centralize all the necessary hacks
or work arounds in one of two places in the tree (src/Makefile.inc1
and src/tools/build).  We build a small compatibility library
(libbuild.a) as well as selectively installing necessary include
files.  We then include this directory when building host binaries.

This removes all the past release compatibilty hacks from various
places in the tree.  We still build on tip of stable and current.  I
will work with those that want to support more, although I anticipate
it will just work.

Many thanks to ru@@, obrien@@ and jhb@@ for providing valuable input at
various stage of implementation, as well as for working together to
positively effect a change for the better.
@
text
@d275 1
a275 1
	sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
d300 1
a300 1
	sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
d328 1
a328 1
	    ${NCURSES}/include/Caps | sort > keys.list
@


1.66
log
@Fixed CLEANFILES.

Submitted by:	cron
@
text
@a27 3
.if defined(BOOTSTRAPPING) && !exists(/usr/include/stdbool.h)
HEADER_STDBOOL=		0
.else
a28 1
.endif
@


1.65
log
@Actually check if stdbool.h exists when BOOTSTRAPPING.
@
text
@d229 1
a229 1
CLEANFILES+=	${GENSRC} ${GENHDR} keys.tries make_hash term.h.new \
@


1.64
log
@Bootstrapping aid for 4.0-RELEASE.
@
text
@d28 1
a28 1
.if defined(BOOTSTRAPPING)
@


1.63
log
@Zap now-unused SHLIB_MINOR
@
text
@d28 3
d32 1
@


1.62
log
@Try not to lint(1) contrib'ed sources. This Is Very Messy.
@
text
@a6 1
SHLIB_MINOR=0
@


1.61
log
@Set _POSIX2_VERSION=199209 before calling MKkey_defs.sh as workaround of
obsolete +POS sort syntax.
@
text
@d561 2
@


1.60
log
@Add a missing file into the CLEANFILES variable.

Approved by:	peter
@
text
@d321 1
a321 1
	AWK=${AWK} sh ${NCURSES}/include/MKkey_defs.sh \
@


1.59
log
@Initiate deorbit burn for the i386-only a.out related support.  Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
@
text
@d227 1
a227 1
	make_keys MKterm.h.awk comp_captab.c \
@


1.58
log
@o Merge <machine/ansi.h> and <machine/types.h> into a new header
  called <machine/_types.h>.
o <machine/ansi.h> will continue to live so it can define MD clock
  macros, which are only MD because of gratuitous differences between
  architectures.
o Change all headers to make use of this.  This mainly involves
  changing:
    #ifdef _BSD_FOO_T_
    typedef	_BSD_FOO_T_	foo_t;
    #undef _BSD_FOO_T_
    #endif
  to:
    #ifndef _FOO_T_DECLARED
    typedef	__foo_t	foo_t;
    #define	_FOO_T_DECLARED
    #endif

Concept by:	bde
Reviewed by:	jake, obrien
@
text
@a235 12
.if ${OBJFORMAT} == aout
SYMLINKS+=libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  libcurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
SYMLINKS+=libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  libtermcap.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
SYMLINKS+=libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  libtermlib.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
SYMLINKS+=libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  libmytinfo.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
SYMLINKS+=libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  libtinfo.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
.else
a241 1
.endif
@


1.57
log
@Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by:	bde
@
text
@d389 2
a390 2
	    -e "s/ _WCHAR_T/ _BSD_WCHAR_T_/g" \
	    -e "s/ _WINT_T/ _BSD_WINT_T_/g" \
@


1.56
log
@s/${INSTALL} -c/${INSTALL} ${COPY}/
@
text
@d271 1
a271 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
@


1.55
log
@Add NCURSES_OSPEED replace command to MANFILTER
@
text
@d271 1
a271 1
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
@


1.54
log
@Initial update of bmake glue for ncurses-5.2-20020518.  More to come.
@
text
@d403 2
a404 1
MANFILTER=	sed -e 's%@@TERMINFO@@%${TERMINFODIR}/terminfo%g'
@


1.53
log
@Added new bsd.incs.mk which handles installing of header files
via INCS.  Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files.  Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1.  Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

	kerberos5/lib/libtelnet/Makefile
	lib/libbz2/Makefile
	lib/libdevinfo/Makefile
	lib/libform/Makefile
	lib/libisc/Makefile
	lib/libmenu/Makefile
	lib/libmilter/Makefile
	lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD.  Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".
@
text
@d18 17
a34 10
NCURSES_CONST=	const
NCURSES_XNAMES=	1
NCURSES_OSPEED=	short
BUILTIN_BOOL=	1
BOOL_TYPE=	0
TYPE_OF_BOOL=	char
TYPEOF_CHTYPE=	long
WIDEC_SHIFT=	8
SHIFT_LIMIT=	32
ONEUL=		1UL
a182 5
	lib_traceatr.c \
	lib_tracebits.c \
	lib_tracechr.c \
	lib_tracedmp.c \
	lib_tracemse.c \
a202 3
	trace_buf.c \
	trace_tries.c \
	trace_xnames.c \
d205 1
d207 1
d210 11
a220 1
	write_entry.c \
d290 1
a290 1
	    "${AWK}" < curses.h >$@@
d293 1
a293 2
	${AWK} -f ${NCURSES}/ncurses/base/MKkeyname.awk \
	    ${NCURSES}/ncurses/tinfo/keys.list > lib_keyname.c
d315 1
a315 1
	    "${AWK}" < curses.h | fgrep undef > $@@
d318 1
a318 1
	./make_keys ${NCURSES}/ncurses/tinfo/keys.list > init_keytry.h
d332 12
d356 1
a356 1
	sed <${NCURSES}/include/$@@.in >$@@ \
d363 1
a363 1
	sed <${NCURSES}/include/$@@.in >$@@ \
d369 5
a373 2
curses.h:	curses.h.in
	sed <${NCURSES}/include/$@@.in >$@@ \
d377 5
a381 1
	    -e "/@@NCURSES_CONST@@/s%%${NCURSES_CONST}%" \
d384 2
a388 2
	    -e "s%@@cf_cv_shift_limit@@%${SHIFT_LIMIT}%g" \
	    -e "s%@@cf_cv_1UL@@%${ONEUL}%g" \
d390 1
a390 1
	    -e "s/ _WINT_T/ _BSD_WINT_T_/g"
@


1.52
log
@Unbreak build-tools -- build and use up-to-date ${HEADERS}.
These might not be present in /usr/include, or they may be
incompatible with the version we are building (for library
upgrades/downgrades).

This stopped the RELENG_4 buildworld on a -CURRENT box.
Well, this only fixes the issue if MFC'ed.  :-)
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.51 2001/06/12 01:14:02 peter Exp $
d37 2
a38 2
INCS=	-I. -I${.CURDIR} -I${NCURSES}/ncurses -I${NCURSES}/include
CFLAGS+=${INCS} -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS
d63 2
a255 9
beforeinstall:	${HEADERS}
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${HEADERS} \
	    ${DESTDIR}/usr/include
	cd ${NCURSES}/include ; \
	    ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${SRCHDRS} \
	    ${DESTDIR}/usr/include
	rm -f ${DESTDIR}/usr/include/ncurses.h
	ln -s curses.h ${DESTDIR}/usr/include/ncurses.h

d278 1
a278 1
	sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${INCS}" \
d304 1
a304 1
	sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${INCS}" \
@


1.51
log
@Turn on the extra 'const' settings for various curses functions.  While
this is not strictly compliant with XSI curses, it enables us to pass
const strings to many more functions that are actually const safe than
before.  This should be harmless.

Requested by:  lots of folks
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.50 2001/06/07 17:27:44 sobomax Exp $
d332 1
a332 1
make_keys:	make_keys.c names.c curses.h ncurses_def.h
d335 1
a335 1
make_hash:	comp_hash.c hashsize.h curses.h ncurses_def.h
@


1.50
log
@Create curs_termcap.3 --> termcap.3 MLINK, so many manpages in our tree that
reference to termcap.3 will not be pointing to nowhere.

MFC after:	1 week
@
text
@d1 1
a1 1
# $FreeBSD$
d18 1
a18 1
NCURSES_CONST=	/* nothing */
@


1.49
log
@Use the correct FreeBSD definitions for wint_t and wchar_t.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.48 2001/05/17 08:48:26 peter Exp $
d525 4
a528 3
MLINKS+=curs_termcap.3 tgetent.3 curs_termcap.3 tgetflag.3 \
	curs_termcap.3 tgetnum.3 curs_termcap.3 tgetstr.3 \
	curs_termcap.3 tgoto.3 curs_termcap.3 tputs.3
@


1.48
log
@Argh. Fix a long-standing man page filter botch.  See terminfo(5) for
the effect.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.47 2001/05/17 08:30:09 peter Exp $
d366 3
a368 1
	    -e "s%@@cf_cv_1UL@@%${ONEUL}%g"
@


1.47
log
@Update for ncurses 5.2-20010512 import
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.46 2001/03/27 17:27:08 ru Exp $
d379 1
a379 1
MANFILTER=	sed -e 's%@@DATADIR@@%${TERMINFODIR}/terminfo%g'
@


1.46
log
@MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.45 2000/12/05 12:40:14 tg Exp $
d13 3
a15 3
NCURSES_MAJOR!=egrep 'NCURSES_MAJOR[ 	]*=' ${NCURSES}/dist.mk | sed -e 's/^[^0-9]*//'
NCURSES_MINOR!=egrep 'NCURSES_MINOR[ 	]*=' ${NCURSES}/dist.mk | sed -e 's/^[^0-9]*//'
NCURSES_PATCH!=egrep 'NCURSES_PATCH[ 	]*=' ${NCURSES}/dist.mk | sed -e 's/^[^0-9]*//'
d18 1
a18 1
NCURSES_CONST=
d20 1
a20 2
OSPEED_INCLUDES=\#include <termios.h>
OSPEED_TYPE=	speed_t
d62 1
d257 3
d266 1
a266 1
	cd ${.CURDIR}/../../contrib/ncurses/misc ; \
d342 4
a345 4
	    -e "/@@NCURSES_MAJOR@@/s//${NCURSES_MAJOR}/" \
	    -e "/@@NCURSES_MINOR@@/s//${NCURSES_MINOR}/" \
	    -e "/@@NCURSES_CONST@@/s//${NCURSES_CONST}/" \
	    -e "/@@NCURSES_XNAMES@@/s//${NCURSES_XNAMES}/"
d349 4
a352 5
	    -e "/@@NCURSES_MAJOR@@/s//${NCURSES_MAJOR}/" \
	    -e "/@@NCURSES_MINOR@@/s//${NCURSES_MINOR}/" \
	    -e "/@@NCURSES_CONST@@/s//${NCURSES_CONST}/" \
	    -e "/@@OSPEED_INCLUDES@@/s//${OSPEED_INCLUDES}/" \
	    -e "/@@OSPEED_TYPE@@/s//${OSPEED_TYPE}/"
d356 11
a366 11
	    -e "/@@NCURSES_MAJOR@@/s//${NCURSES_MAJOR}/" \
	    -e "/@@NCURSES_MINOR@@/s//${NCURSES_MINOR}/" \
	    -e "/@@NCURSES_PATCH@@/s//${NCURSES_PATCH}/" \
	    -e "/@@NCURSES_CONST@@/s//${NCURSES_CONST}/" \
	    -e "s/@@cf_cv_builtin_bool@@/${BUILTIN_BOOL}/g" \
	    -e "s/@@cf_cv_cc_bool_type@@/${BOOL_TYPE}/g" \
	    -e "s/@@cf_cv_type_of_bool@@/${TYPE_OF_BOOL}/g" \
	    -e "s/@@cf_cv_typeof_chtype@@/${TYPEOF_CHTYPE}/g" \
	    -e "s/@@cf_cv_widec_shift@@/${WIDEC_SHIFT}/g" \
	    -e "s/@@cf_cv_shift_limit@@/${SHIFT_LIMIT}/g" \
	    -e "s/@@cf_cv_1UL@@/${ONEUL}/g"
d370 2
a371 2
	    -e "/@@NCURSES_MAJOR@@/s//${NCURSES_MAJOR}/" \
	    -e "/@@NCURSES_MINOR@@/s//${NCURSES_MINOR}/"
d379 1
a379 1
MANFILTER=	sed -e 's\#@@DATADIR@@\#${TERMINFODIR}/terminfo\#g'
d393 1
a393 1
	dft_fgbg.3x keybound.3x keyok.3x ncurses.3x resizeterm.3x wresize.3x
@


1.45
log
@Add some missing functions in MLINKS. Link assume_default_colors.3
and use_default_colors.3 to default_colors.3 instead of dft_fgbg.3.
The former seems to be newer and/or better maintained.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.44 2000/10/11 11:25:47 peter Exp $
d379 1
a379 1
MAN3x=	curs_addch.3x curs_addchstr.3x curs_addstr.3x curs_attr.3x \
d392 2
a393 2
MAN5=	term.5 terminfo.5
MAN7=	term.7
d395 5
a399 6
# Generate the MAN3 list from MAN3x
.for page in ${MAN3x}
CLEANFILES+=${page:T:S/3x$/3/g}
MAN3+=${page:T:S/3x$/3/g}
all-man: ${page:T:S/3x$/3/g}
${page:T:S/3x$/3/g}: ${page}
a546 2

.SUFFIXES: .3x .3
@


1.44
log
@Fix a buildworld hiccup with build-tools that wasn't present in standalone
library builds.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.43 2000/10/11 08:07:28 peter Exp $
d415 2
a416 1
MLINKS+=curs_attr.3 attr_get.3 curs_attr.3 attr_off.3 curs_attr.3 attr_on.3 \
d429 2
a430 1
	curs_border.3 mvhline.3 curs_border.3 mvwhline.3 \
d436 2
a437 1
MLINKS+=curs_color.3 can_change_color.3 curs_color.3 color_content.3 \
d486 2
a487 1
MLINKS+=curs_mouse.3 getmouse.3 curs_mouse.3 mouseinterval.3 \
d544 2
a545 1
MLINKS+=dft_fgbg.3 use_default_colors.3
@


1.43
log
@Update bmake glue after ncurses 5.1-20001009 import.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.42 2000/08/04 15:38:32 ru Exp $
d332 1
a332 1
make_hash:	comp_hash.c hashsize.h curses.h
@


1.42
log
@src/Makefile.inc1 sets DESTDIR=${WORLDTMP} for `buildworld' stage
causing pre-processed manual pages, like terminfo(5), to point to
the temporary build tree.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.41 2000/07/03 09:47:47 peter Exp $
d54 1
d168 1
d198 1
d303 4
d329 1
a329 1
make_keys:	make_keys.c names.c curses.h
d389 2
a390 1
	curs_touch.3x curs_util.3x curs_window.3x define_key.3x \
@


1.41
log
@Add new man pages
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.40 2000/07/03 09:40:52 peter Exp $
d11 1
a11 1
TERMINFODIR?=	${DESTDIR}/usr/share/misc
@


1.40
log
@Get this to compile in the 5.1-20000701-prerelease environment.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39 2000/03/02 08:23:23 peter Exp $
d374 2
a375 1
	curs_delch.3x curs_deleteln.3x curs_getch.3x curs_getstr.3x \
d435 1
@


1.39
log
@Make a link from curses.3 -> ncurses.3 so that 'man 3 curses' does
something remotely useful.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.38 2000/01/26 16:51:36 peter Exp $
d19 1
a19 1
NCURSES_XNAMES=	0
@


1.39.2.1
log
@MFC: ncurses 5.1 prerelease (20000701)
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.41 2000/07/03 09:47:47 peter Exp $
d19 1
a19 1
NCURSES_XNAMES=	1
d374 1
a374 2
	curs_delch.3x curs_deleteln.3x curs_extend.3x curs_getch.3x \
	curs_getstr.3x \
a433 1
MLINKS+=curs_extend.3 curses_version.3 curs_extend.3 use_extended_names.3
@


1.39.2.2
log
@MFC: (rev 1.42) fix the DESTDIR abuse.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.1 2000/07/10 09:54:51 ps Exp $
d11 1
a11 1
TERMINFODIR?=	${SHAREDIR}/misc
@


1.39.2.3
log
@MFC: ncurses 5.1-20001009
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.2 2000/08/17 07:30:34 ru Exp $
a53 1
	ncurses_def.h \
a166 1
	lib_tgoto.c \
a195 1
	strings.c \
a299 4
ncurses_def.h:	MKncurses_def.sh ncurses_defs
	AWK=${AWK} sh ${NCURSES}/include/MKncurses_def.sh \
	    ${NCURSES}/include/ncurses_defs > ncurses_def.h

d322 1
a322 1
make_keys:	make_keys.c names.c curses.h ncurses_def.h
d325 1
a325 1
make_hash:	comp_hash.c hashsize.h curses.h ncurses_def.h
d382 1
a382 2
	curs_touch.3x curs_trace.3x curs_util.3x curs_window.3x \
	default_colors.3x define_key.3x \
@


1.39.2.4
log
@MFC: Install missing manpages, add missing functions to MLINKS.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.3 2000/10/12 18:41:06 peter Exp $
d415 1
a415 2
MLINKS+=curs_attr.3 PAIR_NUMBER.3 \
	curs_attr.3 attr_get.3 curs_attr.3 attr_off.3 curs_attr.3 attr_on.3 \
d428 1
a428 2
	curs_border.3 mvhline.3 curs_border.3 mvvline.3 \
	curs_border.3 mvwhline.3 \
d434 1
a434 2
MLINKS+=curs_color.3 COLOR_PAIR.3 \
	curs_color.3 can_change_color.3 curs_color.3 color_content.3 \
d483 1
a483 2
MLINKS+=curs_mouse.3 getmouse.3 curs_mouse.3 mouse_trafo.3 \
	curs_mouse.3 mouseinterval.3 \
d540 1
a540 2
MLINKS+=default_colors.3 assume_default_colors.3 \
	default_colors.3 use_default_colors.3
@


1.39.2.5
log
@MFC: MAN[1-9] -> MAN.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.4 2000/12/07 12:23:57 tg Exp $
d379 1
a379 1
MANx=	curs_addch.3x curs_addchstr.3x curs_addstr.3x curs_attr.3x \
d392 2
a393 2
MAN=	term.5 terminfo.5
MAN+=	term.7
d395 6
a400 5
# Generate the MAN list from MANx
.for page in ${MANx}
CLEANFILES+=${page:T:S/x$//g}
MAN+=${page:T:S/x$//g}
${page:T:S/x$//g}: ${page}
d548 2
@


1.39.2.6
log
@MFC: 1.48: fix termcap(5) filter
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.5 2001/04/25 10:04:34 ru Exp $
d377 1
a377 1
MANFILTER=	sed -e 's\#@@TERMINFO@@\#${TERMINFODIR}/terminfo\#g'
@


1.39.2.7
log
@*** empty log message ***
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.6 2001/05/17 08:49:44 peter Exp $
d18 1
a18 1
NCURSES_CONST=	const
@


1.39.2.8
log
@Revert accidental commit.  (wrong branch)
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.7 2001/06/12 01:11:31 peter Exp $
d18 1
a18 1
NCURSES_CONST=	
@


1.39.2.9
log
@MFC: create curs_termcap.3 --> termcap.3 MLINK.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.8 2001/06/12 01:49:32 peter Exp $
d521 3
a523 4
MLINKS+=curs_termcap.3 termcap.3 curs_termcap.3 tgetent.3 \
	curs_termcap.3 tgetflag.3 curs_termcap.3 tgetnum.3 \
	curs_termcap.3 tgetstr.3 curs_termcap.3 tgoto.3 \
	curs_termcap.3 tputs.3
@


1.39.2.10
log
@Make downgrading from 5.0-CURRENT to 4.4-RELEASE work.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.39.2.9 2001/06/14 10:56:09 sobomax Exp $
d329 1
a329 1
make_keys:	make_keys.c names.c ncurses_def.h ${HEADERS}
d332 1
a332 1
make_hash:	comp_hash.c hashsize.h ncurses_def.h ${HEADERS}
@


1.39.2.11
log
@MFC: s/${INSTALL} -c/${INSTALL} ${COPY}/
@
text
@d1 1
a1 1
# $FreeBSD$
d255 1
a255 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${HEADERS} \
d264 1
a264 1
	${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
@


1.39.2.12
log
@MFC: bsd.incs.mk support and assorted header fixes:

Install sys/<arch>/include/pc/*.h to /usr/include/machine/pc/.

Install sys/netatm/*/*.h to /usr/include/netatm/*/.

Don't install compatibility symlinks for <machine/soundcard.h>
and <machine/joystick.h>.

Don't install IPFILTER headers.  Userland utilities fetch them
directly, and they were not visible in the SHARED=symlinks case.

Resurrect SHARED=symlinks in Makefile.inc1.

PR:		docs/29534, bin/28002
@
text
@d38 2
a39 2
CFLAGS+=-I. -I${.CURDIR} -I${NCURSES}/ncurses -I${NCURSES}/include
CFLAGS+=-Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS
a62 2
INCS=	${HEADERS}
INCSLINKS= curses.h ${INCLUDEDIR}/ncurses.h
d254 6
d282 1
a282 1
	sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
d308 1
a308 1
	sh ${NCURSES}/ncurses/base/MKlib_gen.sh "${CC} -E ${CFLAGS}" \
@


1.39.2.13
log
@MFC: Drop support for COPY.
@
text
@d260 1
a260 1
	${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 ${file} \
@


1.39.2.14
log
@MFC: 1.73: Unbreak the NOINSTALLLIB install.
@
text
@a218 1
.if !defined(NOINSTALLLIB)
a223 1
.endif
@


1.39.2.15
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/lib/libncurses/Makefile 123563 2003-12-16 10:44:40Z ru $
@


1.38
log
@Add the new version.c file for curses_version(3)
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.37 2000/01/11 12:51:55 green Exp $
d395 1
@


1.37
log
@This is the second half of unbreaking the world build.  Add a -DNOHTML
corollary for -DNOINFO and -DNOMAN.  I'll fix this properly (add
specific HTML doc magic) in the .mk files later; right now, just
unbreak the world.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.36 2000/01/11 12:37:52 green Exp $
d201 1
@


1.36
log
@*draws his sword*
I smite thee, vile buildworld breakage!

The story is that these were added to beforeinstall improperly.  In our
beforeinstall, a full mtree has not been populated.  Since the tree is
not populated, we explode from missing directories on doc install.  It
should not be done in beforeinstall (includes) anyway.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.35 2000/01/10 12:12:51 phantom Exp $
d256 1
d263 1
@


1.35
log
@Install html files to /usr/share/doc/ncurses/
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.34 1999/12/20 10:37:55 marcel Exp $
d256 1
@


1.34
log
@Make sure curses.h is generated when making build-tools make_keys
and make_hash depend on it.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.33 1999/12/13 21:25:08 marcel Exp $
d247 3
d255 6
@


1.33
log
@Add a `build-tools' target for make_hash and make_keys.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.32 1999/12/11 13:38:04 marcel Exp $
d309 1
a309 1
make_keys:	make_keys.c names.c
d312 1
a312 1
make_hash:	comp_hash.c hashsize.h
@


1.32
log
@Install include files with mode 444.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.31 1999/11/30 05:56:12 peter Exp $
d307 2
@


1.31
log
@EEK!  termios mode wasn't activated..

Noticed by:	Christian Weisgerber <naddy@@mips.rhein-neckar.de>
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.30 1999/09/26 19:11:04 peter Exp $
d248 1
a248 1
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 ${HEADERS} \
@


1.30
log
@Try and catch a make -j problem in 'make depend'.

Tested by:	Dirk-Willem van Gulik <dirkx@@va-179.skylink.it>
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.29 1999/09/01 05:14:57 peter Exp $
d39 1
a39 1
CFLAGS+=${INCS} -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H
@


1.29
log
@Add a missing dependency for make_hash which could make various forms of
make -jN fail.  This fixes the present problem only, not the larger one
of when those internal tools are built and the cross-compiling etc.

Submitted by:	luoqi
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.28 1999/08/30 23:15:40 dt Exp $
d256 2
@


1.28
log
@Make SYMLINKS relative. SYMLINKS are supposed to be relative, and for this
reason ${DESTDIR} isn't added to the symlink source.
@
text
@d1 1
a1 1
# $FreeBSD: src/lib/libncurses/Makefile,v 1.27 1999/08/30 07:56:55 peter Exp $
d308 1
a308 1
make_hash:	comp_hash.c
@


1.27
log
@Use src/contrib/ncurses, v5.0.990821 prerelease.

This isn't quite finished yet, there are still some unresolved problems
with ospeed and the sgtty.h (non-posix) terminal interface.  Mostly
this only causes problems with src/games.

The other tools and libraries (libform,libpanel,libmenu) will come
shortly but are seperate.

Beware, there be dragons here!  (The build will be broken for a short
while)
@
text
@d1 1
a1 1
# $FreeBSD$
d213 5
a217 5
SYMLINKS+=${LIBDIR}/libncurses.a ${LIBDIR}/libcurses.a
SYMLINKS+=${LIBDIR}/libncurses.a ${LIBDIR}/libtermcap.a
SYMLINKS+=${LIBDIR}/libncurses.a ${LIBDIR}/libtermlib.a
SYMLINKS+=${LIBDIR}/libncurses.a ${LIBDIR}/libmytinfo.a
SYMLINKS+=${LIBDIR}/libncurses.a ${LIBDIR}/libtinfo.a
d220 10
a229 10
SYMLINKS+=${SHLIBDIR}/libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  ${SHLIBDIR}/libcurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
SYMLINKS+=${SHLIBDIR}/libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  ${SHLIBDIR}/libtermcap.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
SYMLINKS+=${SHLIBDIR}/libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  ${SHLIBDIR}/libtermlib.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
SYMLINKS+=${SHLIBDIR}/libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  ${SHLIBDIR}/libmytinfo.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
SYMLINKS+=${SHLIBDIR}/libncurses.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
	  ${SHLIBDIR}/libtinfo.so.${SHLIB_MAJOR}.${SHLIB_MINOR}
d232 5
a236 5
SYMLINKS+=${SHLIBDIR}/libncurses.so ${SHLIBDIR}/libcurses.so
SYMLINKS+=${SHLIBDIR}/libncurses.so ${SHLIBDIR}/libtermcap.so
SYMLINKS+=${SHLIBDIR}/libncurses.so ${SHLIBDIR}/libtermlib.so
SYMLINKS+=${SHLIBDIR}/libncurses.so ${SHLIBDIR}/libmytinfo.so
SYMLINKS+=${SHLIBDIR}/libncurses.so ${SHLIBDIR}/libtinfo.so
d240 5
a244 5
SYMLINKS+=${LIBDIR}/libncurses_p.a ${LIBDIR}/libcurses_p.a
SYMLINKS+=${LIBDIR}/libncurses_p.a ${LIBDIR}/libtermcap_p.a
SYMLINKS+=${LIBDIR}/libncurses_p.a ${LIBDIR}/libtermlib_p.a
SYMLINKS+=${LIBDIR}/libncurses_p.a ${LIBDIR}/libmytinfo_p.a
SYMLINKS+=${LIBDIR}/libncurses_p.a ${LIBDIR}/libtinfo_p.a
@


1.26
log
@$Id$ -> $FreeBSD$
@
text
@a0 1
# Makefile for ncurses
d3 394
a396 90
LIB=    ncurses
SHLIB_MAJOR= 3
SHLIB_MINOR= 1
SRCS=   lib_kernel.c lib_pad.c lib_bkgd.c \
	lib_unctrl.c lib_raw.c lib_vidattr.c lib_trace.c lib_beep.c \
	lib_doupdate.c lib_refresh.c lib_initscr.c lib_newwin.c lib_addch.c \
	lib_addstr.c lib_scroll.c lib_clreol.c lib_touch.c lib_mvcur.c \
	lib_keyname.c keys.tries.h \
	lib_delwin.c lib_endwin.c lib_clrbot.c lib_move.c lib_printw.c \
	lib_scanw.c lib_erase.c lib_getch.c lib_options.c lib_acs.c lib_slk.c\
	lib_box.c lib_clear.c lib_delch.c lib_insch.c lib_instr.c \
	lib_getstr.c lib_mvwin.c lib_longname.c lib_tstp.c \
	lib_newterm.c lib_set_term.c lib_overlay.c lib_scrreg.c lib_color.c \
	lib_insstr.c lib_insdel.c lib_twait.c lib_window.c copyright.c

CFLAGS+= -I. -I${.CURDIR} -Wall -DMYTINFO #-DTRACE
DPADD=	${LIBMYTINFO}
LDADD=	-lmytinfo

CLEANFILES+= lib_keyname.c keys.tries.h

beforeinstall:
	${INSTALL} -C -m 444 -o $(BINOWN) -g $(BINGRP) ${.CURDIR}/unctrl.h \
		${DESTDIR}/usr/include
	${INSTALL} -C -m 444 -o $(BINOWN) -g $(BINGRP) ${.CURDIR}/curses.h \
		${DESTDIR}/usr/include/ncurses.h

keys.tries.h: ${.CURDIR}/keys.list ${.CURDIR}/MKkeys.awk
	awk -f ${.CURDIR}/MKkeys.awk ${.CURDIR}/keys.list > keys.tries.h

lib_keyname.c: ${.CURDIR}/keys.list ${.CURDIR}/MKkeyname.awk
	awk -f ${.CURDIR}/MKkeyname.awk ${.CURDIR}/keys.list > lib_keyname.c

MAN3 =  curs_addch.3 \
	curs_addchst.3 \
	curs_addstr.3 \
	curs_attr.3 \
	curs_beep.3 \
	curs_bkgd.3 \
	curs_border.3 \
	curs_clear.3 \
	curs_color.3 \
	curs_delch.3 \
	curs_delln.3 \
	curs_getch.3 \
	curs_getstr.3 \
	curs_getyx.3 \
	curs_inch.3  \
	curs_inchstr.3 \
	curs_initscr.3 \
	curs_inopts.3 \
	curs_insch.3 \
	curs_insstr.3 \
	curs_instr.3 \
	curs_kernel.3 \
	curs_move.3 \
	curs_outopts.3 \
	curs_overlay.3 \
	curs_pad.3 \
	curs_printw.3 \
	curs_refresh.3 \
	curs_scanw.3 \
	curs_scr_dmp.3 \
	curs_scroll.3 \
	curs_slk.3 \
	curs_termatt.3 \
	curs_termin.3 \
	curs_touch.3 \
	curs_util.3 \
	curs_window.3 \
	ncurses.3

MAN5 =  term.5

MLINKS+=curs_addch.3 addch.3 curs_addch.3 waddch.3 curs_addch.3 echochar.3 \
	curs_addch.3 wechochar.3 curs_addch.3 mvaddch.3 \
	curs_addch.3 mvwaddch.3 
MLINKS+=curs_addchst.3 addchstr.3 curs_addchst.3 addchnstr.3 \
	curs_addchst.3 waddchstr.3 curs_addchst.3 waddchnstr.3 \
	curs_addchst.3 mvaddchstr.3 curs_addchst.3 mvaddchnstr.3 \
	curs_addchst.3 mvwaddchstr.3 curs_addchst.3 mvwaddchnstr.3
MLINKS+=curs_addstr.3 addstr.3 curs_addstr.3 addnstr.3 \
	curs_addstr.3 waddstr.3 curs_addstr.3 waddnstr.3 \
	curs_addstr.3 mvaddstr.3 curs_addstr.3 mvaddnstr.3 \
	curs_addstr.3 mvwaddstr.3 curs_addstr.3 mvwaddnstr.3
MLINKS+=curs_attr.3 attroff.3 curs_attr.3 wattroff.3 \
	curs_attr.3 attron.3 curs_attr.3 wattron.3 \
	curs_attr.3 attrset.3 curs_attr.3 wattrset.3 \
	curs_attr.3 standend.3 curs_attr.3 wstandend.3 \
	curs_attr.3 standout.3 curs_attr.3 wstandout.3
d398 36
a433 36
MLINKS+=curs_bkgd.3 bkgdset.3 curs_bkgd.3 wbkgdset.3 \
	curs_bkgd.3 bkgd.3 curs_bkgd.3 wbkgd.3
MLINKS+=curs_border.3 border.3 curs_border.3 wborder.3 curs_border.3 box.3 \
	curs_border.3 hline.3 curs_border.3 whline.3 \
	curs_border.3 vline.3 curs_border.3 wvline.3
MLINKS+=curs_clear.3 erase.3 curs_clear.3 werase.3 curs_clear.3 clear.3 \
	curs_clear.3 wclear.3 curs_clear.3 clrtobot.3 \
	curs_clear.3 wclrtobot.3 curs_clear.3 clrtoeol.3 \
	curs_clear.3 wclrtoeol.3
MLINKS+=curs_color.3 start_color.3 curs_color.3 init_pair.3 \
	curs_color.3 init_color.3 curs_color.3 has_colors.3 \
	curs_color.3 can_change_color.3 curs_color.3 color_content.3 \
	curs_color.3 pair_content.3
MLINKS+=curs_delch.3 delch.3 curs_delch.3 wdelch.3 curs_delch.3 mvdelch.3 \
	curs_delch.3 mvwdelch.3
MLINKS+=curs_delln.3 deleteln.3 curs_delln.3 wdeleteln.3 \
	curs_delln.3 insdelln.3 curs_delln.3 winsdelln.3 \
	curs_delln.3 insertln.3 curs_delln.3 winsertln.3
MLINKS+=curs_getch.3 getch.3 curs_getch.3 wgetch.3 curs_getch.3 mvgetch.3 \
	curs_getch.3 mvwgetch.3 curs_getch.3 ungetch.3
MLINKS+=curs_getstr.3 getstr.3 curs_getstr.3 wgetstr.3 \
	curs_getstr.3 mvgetstr.3 curs_getstr.3 mvwgetstr.3 \
	curs_getstr.3 wgetnstr.3
MLINKS+=curs_getyx.3 getyx.3 curs_getyx.3 pgetparyx.3 curs_getyx.3 getbegyx.3 \
	curs_getyx.3 getmaxyx.3
MLINKS+=curs_inch.3 inch.3 curs_inch.3 winch.3 curs_inch.3 mvinch.3 \
	curs_inch.3 mvwinch.3
MLINKS+=curs_inchstr.3 inchstr.3 curs_inchstr.3 inchnstr.3 \
	curs_inchstr.3 winchstr.3 curs_inchstr.3 winchnstr.3 \
	curs_inchstr.3 mvinchstr.3 curs_inchstr.3 mvinchnstr.3 \
	curs_inchstr.3 mvwinchstr.3 curs_inchstr.3 mvwinchnstr.3
MLINKS+=curs_initscr.3 initscr.3 curs_initscr.3 newterm.3 \
	curs_initscr.3 endwin.3 curs_initscr.3 isendwin.3 \
	curs_initscr.3 set_term.3 curs_initscr.3 delscreen.3
MLINKS+=curs_inopts.3 cbreak.3 curs_inopts.3 nocbreak.3 curs_inopts.3 echo.3 \
	curs_inopts.3 noecho.3 curs_inopts.3 halfdelay.3 \
d435 23
a457 19
	curs_inopts.3 nodelay.3 curs_inopts.3 notimeout.3 curs_inopts.3 raw.3 \
	curs_inopts.3 noraw.3 curs_inopts.3 noqiflush.3 \
	curs_inopts.3 qiflush.3 curs_inopts.3 timeout.3 \
	curs_inopts.3 wtimeout.3 curs_inopts.3 typeahead.3
MLINKS+=curs_insch.3 insch.3 curs_insch.3 winsch.3 curs_insch.3 mvinsch.3 \
	curs_insch.3 mvwinsch.3
MLINKS+=curs_insstr.3 insstr.3 curs_insstr.3 insnstr.3 \
	curs_insstr.3 winsstr.3 curs_insstr.3 winsnstr.3 \
	curs_insstr.3 mvinsstr.3 curs_insstr.3 mvinsnstr.3 \
	curs_insstr.3 mvwinsstr.3 curs_insstr.3 mvwinsnstr.3
MLINKS+=curs_instr.3 instr.3 curs_instr.3 innstr.3 curs_instr.3 winstr.3 \
	curs_instr.3 winnstr.3 curs_instr.3 mvinstr.3 curs_instr.3 mvinnstr.3 \
	curs_instr.3 mvwinstr.3 curs_instr.3 mvwinnstr.3
MLINKS+=curs_kernel.3 def_prog_mode.3 curs_kernel.3 def_shell_mode.3 \
	curs_kernel.3 reset_prog_mode.3 curs_kernel.3 reset_shell_mode.3 \
	curs_kernel.3 resetty.3 curs_kernel.3 savetty.3 \
	curs_kernel.3 getsyx.3 curs_kernel.3 setsyx.3 \
	curs_kernel.3 ripoffline.3 curs_kernel.3 curs_set.3 \
	curs_kernel.3 napms.3
d459 54
a512 52
MLINKS+=curs_outopts.3 clearok.3 curs_outopts.3 idlok.3 \
	curs_outopts.3 idcok.3 curs_outopts.3 immedok.3 \
	curs_outopts.3 leaveok.3 curs_outopts.3 setscrreg.3 \
	curs_outopts.3 wsetscrreg.3 curs_outopts.3 scrollok.3 \
	curs_outopts.3 nl.3 curs_outopts.3 nonl.3
MLINKS+=curs_overlay.3 overlay.3 curs_overlay.3 overwrite.3 \
	curs_overlay.3 copywin.3
MLINKS+=curs_pad.3 newpad.3 curs_pad.3 subpad.3 curs_pad.3 prefresh.3 \
	curs_pad.3 pnoutrefresh.3 curs_pad.3 pechochar.3
MLINKS+=curs_printw.3 printw.3 curs_printw.3 wprintw.3 \
	curs_printw.3 mvprintw.3 curs_printw.3 mvwprintw.3 \
	curs_printw.3 vwprintw.3
MLINKS+=curs_refresh.3 refresh.3 curs_refresh.3 wrefresh.3 \
	curs_refresh.3 wnoutrefresh.3 curs_refresh.3 doupdate.3 \
	curs_refresh.3 redrawwin.3 curs_refresh.3 wredrawln.3
MLINKS+=curs_scanw.3 scanw.3 curs_scanw.3 wscanw.3 curs_scanw.3 mvscanw.3 \
	curs_scanw.3 mvwscanw.3 curs_scanw.3 vwscanw.3
MLINKS+=curs_scr_dmp.3 scr_dump.3 curs_scr_dmp.3 scr_restore.3 \
	curs_scr_dmp.3 scr_init.3 curs_scr_dmp.3 scr_set.3
MLINKS+=curs_scroll.3 scroll.3 curs_scroll.3 scrl.3 curs_scroll.3 wscrl.3
MLINKS+=curs_slk.3 slk_init.3 curs_slk.3 slk_set.3 curs_slk.3 slk_refresh.3 \
	curs_slk.3 slk_noutrefresh.3 curs_slk.3 slk_label.3 \
	curs_slk.3 slk_clear.3 curs_slk.3 slk_restore.3 \
	curs_slk.3 slk_touch.3 curs_slk.3 slk_attron.3 \
	curs_slk.3 slk_attrset.3 curs_slk.3 slk_attroff.3
MLINKS+=curs_termatt.3 baudrate.3 curs_termatt.3 erasechar.3 \
	curs_termatt.3 has_ic.3 curs_termatt.3 has_il.3 \
	curs_termatt.3 killchar.3 curs_termatt.3 longname.3 \
	curs_termatt.3 termattrs.3 curs_termatt.3 termname.3

# XXX name clash with termcap(3)
# MLINKS+= curs_termin.3 tparm.3 
MLINKS+=curs_termin.3 setupterm.3 curs_termin.3 setterm.3 \
	curs_termin.3 set_curterm.3 curs_termin.3 del_curterm.3 \
	curs_termin.3 restartterm.3 \
	curs_termin.3 putp.3 curs_termin.3 vidputs.3 \
	curs_termin.3 vidattr.3 curs_termin.3 mvcur.3 \
	curs_termin.3 tigetflag.3 curs_termin.3 tigetnum.3 \
	curs_termin.3 tigetstr.3
MLINKS+=curs_touch.3 touchwin.3 curs_touch.3 touchline.3 \
	curs_touch.3 untouchwin.3 curs_touch.3 wtouchln.3 \
	curs_touch.3 is_linetouched.3 curs_touch.3 is_wintouched.3
MLINKS+=curs_util.3 unctrl.3 curs_util.3 keyname.3 \
	curs_util.3 filter.3 curs_util.3 use_env.3 \
	curs_util.3 putwin.3 curs_util.3 getwin.3 \
	curs_util.3 delay_output.3 curs_util.3 flushinp.3
MLINKS+=curs_window.3 newwin.3 curs_window.3 delwin.3 \
	curs_window.3 mvwin.3 curs_window.3 subwin.3 \
	curs_window.3 derwin.3 curs_window.3 mvderwin.3 \
	curs_window.3 dupwin.3 curs_window.3 wsyncup.3 \
	curs_window.3 syncok.3 curs_window.3 wcursyncup.3 \
	curs_window.3 wsyncdown.3
d515 2
@


1.25
log
@Renamed the generated include file keys.tries to keys.tries.h so
that it can be put in SRCS for dependency generation to work
properly.  Don't use beforedepend, as usual.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.24 1997/10/20 17:53:54 ache Exp $
@


1.25.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.24
log
@Remove terminfo manpage we don't have it
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.23 1997/08/25 07:41:13 ache Exp $
d10 2
a11 1
	lib_addstr.c lib_scroll.c lib_clreol.c lib_touch.c lib_mvcur.c lib_keyname.c\
d23 1
a23 3
CLEANFILES+= lib_keyname.c keys.tries

beforedepend: keys.tries
d31 2
a32 5
keys.tries: ${.CURDIR}/keys.list ${.CURDIR}/MKkeys.awk
	awk -f ${.CURDIR}/MKkeys.awk ${.CURDIR}/keys.list > keys.tries

# in case you don't run make depend
lib_options.o lib_options.so lib_options.po: keys.tries
@


1.23
log
@Fix saving/restoring tty modes, allow initscr be called twice,
from ncurses 4.1
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.22 1997/08/24 19:09:32 ache Exp $
d80 1
a80 1
MAN5 =  term.5 terminfo.5
@


1.22
log
@Add winnstr family and fake resizeterm from ncurses 4.1 for compatibility
with recent applications.
Bump minor number.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.21 1997/02/22 15:07:38 peter Exp $
d18 1
a18 1
CFLAGS+= -I. -I${.CURDIR} -Wall -DMYTINFO
@


1.21
log
@Revert $FreeBSD$ to $Id$
@
text
@d2 1
a2 1
# $Id$
d6 1
a6 1
SHLIB_MINOR= 0
d13 1
a13 1
	lib_box.c lib_clear.c lib_delch.c lib_insch.c \
@


1.20
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.19
log
@Fixed DPADD.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.18 1996/08/30 01:58:36 peter Exp $
@


1.19.2.1
log
@MFC: winnstr and resizeterm
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.19 1996/09/05 17:14:22 bde Exp $
d6 1
a6 1
SHLIB_MINOR= 1
d13 1
a13 1
	lib_box.c lib_clear.c lib_delch.c lib_insch.c lib_instr.c \
@


1.19.2.2
log
@MFC: saving/restoring tty modes, initscr twice
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.19.2.1 1997/08/24 19:12:01 ache Exp $
d18 1
a18 1
CFLAGS+= -I. -I${.CURDIR} -Wall -DMYTINFO #-DTRACE
@


1.19.2.3
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.18
log
@cmp -s || install -c ==> install -C
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.17 1996/08/26 09:25:20 peter Exp $
d19 2
a20 1
LDADD+=  -lmytinfo
@


1.17
log
@Delete -DGOOD_SELECT from CFLAGS, we don't have it.  This is used to
indicate that select() returns the leftover time remaining in the timeval
arg of select, we don't do that (yet :-).
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.16 1996/05/27 22:58:29 wosch Exp $
d26 4
a29 7
	@@cd ${.CURDIR}; for i in unctrl.h; do \
	  cmp -s $$i ${DESTDIR}/usr/include/$$i || \
	  $(INSTALL) -c -m 444 -o $(BINOWN) -g $(BINGRP) $$i \
	  ${DESTDIR}/usr/include; done
	@@cd ${.CURDIR}; cmp -s curses.h ${DESTDIR}/usr/include/ncurses.h || \
	  $(INSTALL) -c -m 444 -o $(BINOWN) -g $(BINGRP) curses.h \
	  ${DESTDIR}/usr/include/ncurses.h
@


1.16
log
@remove MLINKS tparm.3 due name clash with libtermcap
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.15 1996/02/09 00:45:32 mpp Exp $
d18 1
a18 1
CFLAGS+= -I. -I${.CURDIR} -Wall -DMYTINFO -DGOOD_SELECT
@


1.15
log
@Added some missing MLINKS for section 3 man pages.
Also corrected a few minor formatting errors, file location and cross
references in some of the section 3 man pages.

This shuts up a lot of the output from "manck" for section 3.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.14 1995/08/06 12:37:32 bde Exp $
d187 3
d192 1
a192 1
	curs_termin.3 restartterm.3 curs_termin.3 tparm.3 \
@


1.14
log
@Install source files with the -c flag, not with the optional flag ${COPY}.
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.13 1995/05/08 16:08:49 ache Exp $
d83 124
@


1.13
log
@Bump major number instead of minor
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.12 1995/05/03 18:54:09 ache Exp $
d28 1
a28 1
	  $(INSTALL) $(COPY) -m 444 -o $(BINOWN) -g $(BINGRP) $$i \
d31 1
a31 1
	  $(INSTALL) $(COPY) -m 444 -o $(BINOWN) -g $(BINGRP) curses.h \
@


1.13.4.1
log
@Brought in changes from main branch: fix -c/COPY, install->${INSTALL}
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.13 1995/05/08 16:08:49 ache Exp $
d28 1
a28 1
	  $(INSTALL) -c -m 444 -o $(BINOWN) -g $(BINGRP) $$i \
d31 1
a31 1
	  $(INSTALL) -c -m 444 -o $(BINOWN) -g $(BINGRP) curses.h \
@


1.13.4.2
log
@$Id$ -> $FreeBSD$
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.12
log
@Bump minor number
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.11 1995/04/20 21:35:51 ache Exp $
d5 2
a6 2
SHLIB_MAJOR= 2
SHLIB_MINOR= 1
@


1.11
log
@Add a bit more docs
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.10 1995/02/13 17:23:18 ache Exp $
d5 2
@


1.10
log
@Add missing lib_window.c to SRCS
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.9 1994/12/04 02:43:41 ache Exp $
d74 1
@


1.9
log
@termcap.h now belongs to system
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.8 1994/12/02 06:39:03 ache Exp $
d14 1
a14 1
	lib_insstr.c lib_insdel.c lib_twait.c copyright.c
@


1.8
log
@Upgrade to version 1.8.6
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.7 1994/11/29 02:48:17 ache Exp $
d24 1
a24 1
	@@cd ${.CURDIR}; for i in unctrl.h termcap.h; do \
@


1.7
log
@wscrl: implement partial scrolling via al/dl
winsdel: implemented via wscrl
winsertln/deleteln: implemented as macros via winsdel
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.6 1994/10/28 06:56:55 ache Exp $
d5 1
a5 1
SRCS=   lib_kernel.c lib_pad.c\
d16 1
a16 1
CFLAGS+= -I. -I${.CURDIR} -Wall -DMYTINFO -DTERMIOS -DGOOD_SELECT -DBSDTABS
d24 1
a24 1
	@@cd ${.CURDIR}; for i in ncurses.h unctrl.h termcap.h; do \
d28 3
@


1.6
log
@Add -I${.CURDIR}
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.5 1994/10/12 01:59:06 ache Exp $
d11 2
a12 2
	lib_box.c lib_clear.c lib_delch.c lib_deleteln.c lib_insch.c \
	lib_insertln.c lib_getstr.c lib_mvwin.c lib_longname.c lib_tstp.c \
@


1.5
log
@LDADD: = -> +=
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.4 1994/10/12 01:51:27 ache Exp $
d16 1
a16 1
CFLAGS+= -I. -Wall -DMYTINFO -DTERMIOS -DGOOD_SELECT -DBSDTABS
@


1.4
log
@Fix two problems pointed by Bruce:
keys.tries generated in ${.CURDIR} which may be readonly
lib_options.{po,so} not properly rebuilded if keys.tries deleted
and no .depend
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.3 1994/10/10 00:34:44 ache Exp $
d17 1
a17 1
LDADD=   -lmytinfo
@


1.3
log
@Merge term.h & nterm.h
@
text
@d2 1
a2 1
# $Id: Makefile,v 1.2 1994/10/09 09:27:53 ache Exp $
a4 3
INCDIR= /usr/include
CFLAGS+= -Wall -DMYTINFO -DTERMIOS -DGOOD_SELECT -DBSDTABS
SHARED_LDADD+= -lmytinfo
a14 1
CLEANFILES+= lib_keyname.c ${.CURDIR}/keys.tries
d16 6
a21 1
beforedepend: ${.CURDIR}/keys.tries
d25 3
a27 2
	  cmp -s $$i ${DESTDIR}${INCDIR}/$$i || \
	  $(INSTALL) $(COPY) -m 444 -o $(BINOWN) -g $(BINGRP) $$i ${DESTDIR}$(INCDIR); done
d29 2
a30 2
${.CURDIR}/keys.tries: keys.list MKkeys.awk
	awk -f ${.CURDIR}/MKkeys.awk ${.CURDIR}/keys.list > ${.CURDIR}/keys.tries
d33 1
a33 1
lib_options.o: ${.CURDIR}/keys.tries
d35 1
a35 1
lib_keyname.c: keys.list MKkeyname.awk
@


1.2
log
@Add copyright.c to be always linked in
@
text
@d2 1
a2 1
# $Id$
d23 1
a23 1
	@@cd ${.CURDIR}; for i in ncurses.h nterm.h unctrl.h termcap.h; do \
@


1.1
log
@Initial revision
@
text
@d1 3
d17 1
a17 1
	lib_insstr.c lib_insdel.c lib_twait.c
@


1.1.1.1
log
@Moved from ports with several enhancements
@
text
@@
