head	1.11;
access;
symbols
	RELENG_6_4_0_RELEASE:1.9.10.1
	RELENG_6_4:1.9.10.1.0.4
	RELENG_6_4_BP:1.9.10.1
	RELENG_6_3_0_RELEASE:1.9.10.1
	RELENG_6_3:1.9.10.1.0.2
	RELENG_6_3_BP:1.9.10.1
	RELENG_6_2_0_RELEASE:1.9
	RELENG_6_2:1.9.0.18
	RELENG_6_2_BP:1.9
	RELENG_5_5_0_RELEASE:1.9
	RELENG_5_5:1.9.0.16
	RELENG_5_5_BP:1.9
	RELENG_6_1_0_RELEASE:1.9
	RELENG_6_1:1.9.0.14
	RELENG_6_1_BP:1.9
	RELENG_6_0_0_RELEASE:1.9
	RELENG_6_0:1.9.0.12
	RELENG_6_0_BP:1.9
	RELENG_6:1.9.0.10
	RELENG_6_BP:1.9
	RELENG_5_4_0_RELEASE:1.9
	RELENG_5_4:1.9.0.8
	RELENG_5_4_BP:1.9
	RELENG_4_11_0_RELEASE:1.2.2.5
	RELENG_4_11:1.2.2.5.0.10
	RELENG_4_11_BP:1.2.2.5
	RELENG_5_3_0_RELEASE:1.9
	RELENG_5_3:1.9.0.6
	RELENG_5_3_BP:1.9
	RELENG_5:1.9.0.4
	RELENG_5_BP:1.9
	RELENG_4_10_0_RELEASE:1.2.2.5
	RELENG_4_10:1.2.2.5.0.8
	RELENG_4_10_BP:1.2.2.5
	RELENG_5_2_1_RELEASE:1.9
	RELENG_5_2_0_RELEASE:1.9
	RELENG_5_2:1.9.0.2
	RELENG_5_2_BP:1.9
	RELENG_4_9_0_RELEASE:1.2.2.5
	RELENG_4_9:1.2.2.5.0.6
	RELENG_4_9_BP:1.2.2.5
	RELENG_5_1_0_RELEASE:1.8
	RELENG_5_1:1.8.0.4
	RELENG_5_1_BP:1.8
	RELENG_4_8_0_RELEASE:1.2.2.5
	RELENG_4_8:1.2.2.5.0.4
	RELENG_4_8_BP:1.2.2.5
	RELENG_5_0_0_RELEASE:1.8
	RELENG_5_0:1.8.0.2
	RELENG_5_0_BP:1.8
	RELENG_4_7_0_RELEASE:1.2.2.5
	RELENG_4_7:1.2.2.5.0.2
	RELENG_4_7_BP:1.2.2.5
	RELENG_4_6_2_RELEASE:1.2.2.4
	RELENG_4_6_1_RELEASE:1.2.2.4
	RELENG_4_6_0_RELEASE:1.2.2.4
	RELENG_4_6:1.2.2.4.0.6
	RELENG_4_6_BP:1.2.2.4
	RELENG_4_5_0_RELEASE:1.2.2.4
	RELENG_4_5:1.2.2.4.0.4
	RELENG_4_5_BP:1.2.2.4
	RELENG_4_4_0_RELEASE:1.2.2.4
	RELENG_4_4:1.2.2.4.0.2
	RELENG_4_4_BP:1.2.2.4
	RELENG_4_3_0_RELEASE:1.2.2.3
	RELENG_4_3:1.2.2.3.0.2
	RELENG_4_3_BP:1.2.2.3
	RELENG_4_2_0_RELEASE:1.2.2.2
	RELENG_4_1_1_RELEASE:1.2.2.1
	PRE_SMPNG:1.3
	RELENG_4_1_0_RELEASE:1.2.2.1
	RELENG_4_0_0_RELEASE:1.2
	RELENG_4:1.2.0.2
	RELENG_4_BP:1.2;
locks; strict;
comment	@# @;


1.11
date	2007.01.20.07.49.43;	author rafan;	state dead;
branches;
next	1.10;

1.10
date	2005.11.10.18.07.06;	author ru;	state Exp;
branches;
next	1.9;

1.9
date	2003.06.06.13.46.55;	author kuriyama;	state Exp;
branches
	1.9.10.1;
next	1.8;

1.8
date	2002.05.21.05.41.07;	author peter;	state Exp;
branches;
next	1.7;

1.7
date	2002.05.15.12.59.54;	author ru;	state Exp;
branches;
next	1.6;

1.6
date	2001.03.27.17.27.13;	author ru;	state Exp;
branches;
next	1.5;

1.5
date	2000.12.05.12.38.23;	author tg;	state Exp;
branches;
next	1.4;

1.4
date	2000.10.11.08.17.19;	author peter;	state Exp;
branches;
next	1.3;

1.3
date	2000.05.24.09.01.23;	author tg;	state Exp;
branches;
next	1.2;

1.2
date	2000.01.14.07.57.39;	author rgrimes;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	99.09.05.05.36.12;	author peter;	state Exp;
branches;
next	;

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

1.2.2.1
date	2000.05.25.09.54.28;	author tg;	state Exp;
branches;
next	1.2.2.2;

1.2.2.2
date	2000.10.12.18.41.05;	author peter;	state Exp;
branches;
next	1.2.2.3;

1.2.2.3
date	2000.12.07.12.23.57;	author tg;	state Exp;
branches;
next	1.2.2.4;

1.2.2.4
date	2001.04.25.10.04.37;	author ru;	state Exp;
branches;
next	1.2.2.5;

1.2.2.5
date	2002.07.24.12.38.44;	author ru;	state Exp;
branches;
next	1.2.2.6;

1.2.2.6
date	2012.11.17.07.23.59;	author svnexp;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Retire old ncurses build glue

Approved by:	delphij
@
text
@# Makefile for libpanel
# $FreeBSD: src/lib/libpanel/Makefile,v 1.10 2005/11/10 18:07:06 ru Exp $

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

.PATH:	${NCURSES}/panel ${NCURSES}/include
.PATH:  ${NCURSES}/man

LIB=    panel
DPADD=	${LIBNCURSES}
LDADD=	-lncurses
AWK?=	awk

SRCS=	ncurses_def.h \
	p_above.c p_below.c p_bottom.c p_delete.c p_hidden.c \
	p_hide.c p_move.c p_new.c p_replace.c p_show.c p_top.c \
	p_update.c p_user.c p_win.c panel.c
INCS=	${NCURSES}/panel/panel.h

CLEANFILES+=	ncurses_def.h
CFLAGS+= -I.
.if exists(${.OBJDIR}/../libncurses)
CFLAGS+= -I${.OBJDIR}/../libncurses
.endif
CFLAGS+= -I${.CURDIR}/../libncurses
CFLAGS+= -I${NCURSES}/panel -I${NCURSES}/include -I${NCURSES}/ncurses \
	    -Wall -DNDEBUG -DHAVE_CONFIG_H

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

# generate MAN
CLEANFILES+=	panel.3
MAN=		panel.3
panel.3: panel.3x
	cat ${.ALLSRC} > ${.TARGET}

MLINKS+=panel.3 bottom_panel.3 panel.3 del_panel.3 panel.3 hide_panel.3 \
	panel.3 move_panel.3 panel.3 new_panel.3 panel.3 panel_above.3 \
	panel.3 panel_below.3 panel.3 panel_hidden.3 \
	panel.3 panel_userptr.3 panel.3 panel_window.3 \
	panel.3 replace_panel.3 panel.3 set_panel_userptr.3 \
	panel.3 show_panel.3 panel.3 top_panel.3 panel.3 update_panels.3

.include <bsd.lib.mk>

.SUFFIXES: .3x .3
@


1.10
log
@Add missing shared library interdependencies.
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.9
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
@d10 2
@


1.9.10.1
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
@d2 1
a2 1
# $FreeBSD: src/lib/libpanel/Makefile,v 1.9 2003/06/06 13:46:55 kuriyama Exp $
@


1.8
log
@Initial update of bmake glue for ncurses-5.2-20020518
@
text
@d35 1
a35 1
	ln -s ${.ALLSRC} ${.TARGET}
@


1.7
log
@`all-man' now creates manpages in the -DNOMANCOMPRESS case too.
@
text
@d19 7
a25 2
CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/panel -I${NCURSES}/include \
	-Wall -DNDEBUG -DHAVE_CONFIG_H
@


1.6
log
@MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libpanel/Makefile,v 1.5 2000/12/05 12:38:23 tg Exp $
a28 1
all-man: panel.3
@


1.5
log
@Install manpages, including appropriate MLINKS.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libpanel/Makefile,v 1.4 2000/10/11 08:17:19 peter Exp $
d26 1
a26 1
# generate MAN3
d28 1
a28 1
MAN3=		panel.3
@


1.4
log
@Update for ncurses 20001009 import
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libpanel/Makefile,v 1.3 2000/05/24 09:01:23 tg Exp $
d7 1
d26 14
d41 2
@


1.3
log
@Add missing source files. Sort SRCS.

PR:		18631
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libpanel/Makefile,v 1.2 2000/01/14 07:57:39 rgrimes Exp $
d6 1
a6 1
.PATH:	${NCURSES}/panel
d9 1
d11 2
a12 1
SRCS=	p_above.c p_below.c p_bottom.c p_delete.c p_hidden.c \
d17 2
a18 1
CFLAGS+= -I${.CURDIR}/../libncurses -I${NCURSES}/panel -I${NCURSES}/include \
d20 4
@


1.2
log
@Replace beforeinstall target with new variables used by .mk system.

Reviewed by:	marcel, and make world
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libpanel/Makefile,v 1.1 1999/09/05 05:36:12 peter Exp $
d10 3
a12 1
SRCS=	panel.c
@


1.2.2.1
log
@MFC: Add missing source files.

PR:		18631
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libpanel/Makefile,v 1.2 2000/01/14 07:57:39 rgrimes Exp $
d10 1
a10 3
SRCS=	p_above.c p_below.c p_bottom.c p_delete.c p_hidden.c \
	p_hide.c p_move.c p_new.c p_replace.c p_show.c p_top.c \
	p_update.c p_user.c p_win.c panel.c
@


1.2.2.2
log
@MFC: ncurses 5.1-20001009
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libpanel/Makefile,v 1.2.2.1 2000/05/25 09:54:28 tg Exp $
d6 1
a6 1
.PATH:	${NCURSES}/panel ${NCURSES}/include
a8 1
AWK?=	awk
d10 1
a10 2
SRCS=	ncurses_def.h \
	p_above.c p_below.c p_bottom.c p_delete.c p_hidden.c \
d15 1
a15 2
CLEANFILES+=	ncurses_def.h
CFLAGS+= -I. -I${.CURDIR}/../libncurses -I${NCURSES}/panel -I${NCURSES}/include \
a16 4

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


1.2.2.3
log
@MFC: Install missing manpages, add missing functions to MLINKS.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libpanel/Makefile,v 1.2.2.2 2000/10/12 18:41:05 peter Exp $
a6 1
.PATH:  ${NCURSES}/man
a24 14
# generate MAN3
CLEANFILES+=	panel.3
MAN3=		panel.3
all-man: panel.3
panel.3: panel.3x
	ln -s ${.ALLSRC} ${.TARGET}

MLINKS+=panel.3 bottom_panel.3 panel.3 del_panel.3 panel.3 hide_panel.3 \
	panel.3 move_panel.3 panel.3 new_panel.3 panel.3 panel_above.3 \
	panel.3 panel_below.3 panel.3 panel_hidden.3 \
	panel.3 panel_userptr.3 panel.3 panel_window.3 \
	panel.3 replace_panel.3 panel.3 set_panel_userptr.3 \
	panel.3 show_panel.3 panel.3 top_panel.3 panel.3 update_panels.3

a25 2

.SUFFIXES: .3x .3
@


1.2.2.4
log
@MFC: MAN[1-9] -> MAN.
@
text
@d2 1
a2 1
# $FreeBSD: src/lib/libpanel/Makefile,v 1.2.2.3 2000/12/07 12:23:57 tg Exp $
d26 1
a26 1
# generate MAN
d28 1
a28 1
MAN=		panel.3
@


1.2.2.5
log
@MFC: 1.7: `all-man' has been fixed for the -DNOMANCOMPRESS case,
so this is no longer necessary.
@
text
@d2 1
a2 1
# $FreeBSD$
d29 1
@


1.2.2.6
log
@Switch importer
@
text
@d2 1
a2 1
# $FreeBSD: stable/4/lib/libpanel/Makefile 100600 2002-07-24 12:38:44Z ru $
@


1.1
log
@Add bmake glue for libpanel (the SVSV-style ETI curses panel (overlapping
layers) driver from ncurses)
@
text
@d2 1
a2 1
# $FreeBSD$
d11 1
a14 4

beforeinstall:
	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
		${NCURSES}/panel/panel.h ${DESTDIR}/usr/include
@

