head	1.10;
access;
symbols
	perseant-exfatfs-base-20250801:1.10
	perseant-exfatfs-base-20240630:1.10
	perseant-exfatfs:1.10.0.44
	perseant-exfatfs-base:1.10
	cjep_sun2x:1.10.0.42
	cjep_sun2x-base:1.10
	cjep_staticlib_x-base1:1.10
	cjep_staticlib_x:1.10.0.40
	cjep_staticlib_x-base:1.10
	phil-wifi-20200421:1.10
	phil-wifi-20200411:1.10
	phil-wifi-20200406:1.10
	pgoyette-compat-merge-20190127:1.10
	pgoyette-compat-20190127:1.10
	pgoyette-compat-20190118:1.10
	pgoyette-compat-1226:1.10
	pgoyette-compat-1126:1.10
	pgoyette-compat-1020:1.10
	pgoyette-compat-0930:1.10
	pgoyette-compat-0906:1.10
	pgoyette-compat-0728:1.10
	pgoyette-compat-0625:1.10
	pgoyette-compat-0521:1.10
	pgoyette-compat-0502:1.10
	pgoyette-compat-0422:1.10
	pgoyette-compat-0415:1.10
	pgoyette-compat-0407:1.10
	pgoyette-compat-0330:1.10
	pgoyette-compat-0322:1.10
	pgoyette-compat-0315:1.10
	pgoyette-compat:1.10.0.38
	pgoyette-compat-base:1.10
	prg-localcount2-base3:1.10
	prg-localcount2-base2:1.10
	prg-localcount2-base1:1.10
	prg-localcount2:1.10.0.36
	prg-localcount2-base:1.10
	pgoyette-localcount-20170426:1.10
	bouyer-socketcan-base1:1.10
	pgoyette-localcount-20170320:1.10
	bouyer-socketcan:1.10.0.34
	bouyer-socketcan-base:1.10
	pgoyette-localcount-20170107:1.10
	pgoyette-localcount-20161104:1.10
	localcount-20160914:1.10
	pgoyette-localcount-20160806:1.10
	pgoyette-localcount-20160726:1.10
	pgoyette-localcount:1.10.0.32
	pgoyette-localcount-base:1.10
	netbsd-5-2-3-RELEASE:1.10
	netbsd-5-1-5-RELEASE:1.10
	yamt-pagecache-base9:1.10
	yamt-pagecache-tag8:1.10
	tls-earlyentropy:1.10.0.28
	tls-earlyentropy-base:1.10
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.10
	riastradh-drm2-base3:1.10
	netbsd-5-2-2-RELEASE:1.10
	netbsd-5-1-4-RELEASE:1.10
	netbsd-5-2-1-RELEASE:1.10
	netbsd-5-1-3-RELEASE:1.10
	agc-symver:1.10.0.30
	agc-symver-base:1.10
	tls-maxphys-base:1.10
	yamt-pagecache-base8:1.10
	netbsd-5-2:1.10.0.26
	yamt-pagecache-base7:1.10
	netbsd-5-2-RELEASE:1.10
	netbsd-5-2-RC1:1.10
	yamt-pagecache-base6:1.10
	yamt-pagecache-base5:1.10
	yamt-pagecache-base4:1.10
	netbsd-5-1-2-RELEASE:1.10
	netbsd-5-1-1-RELEASE:1.10
	yamt-pagecache-base3:1.10
	yamt-pagecache-base2:1.10
	yamt-pagecache:1.10.0.24
	yamt-pagecache-base:1.10
	bouyer-quota2-nbase:1.10
	bouyer-quota2:1.10.0.22
	bouyer-quota2-base:1.10
	matt-nb5-pq3:1.10.0.20
	matt-nb5-pq3-base:1.10
	netbsd-5-1:1.10.0.18
	netbsd-5-1-RELEASE:1.10
	netbsd-5-1-RC4:1.10
	netbsd-5-1-RC3:1.10
	netbsd-5-1-RC2:1.10
	netbsd-5-1-RC1:1.10
	netbsd-5-0-2-RELEASE:1.10
	netbsd-5-0-1-RELEASE:1.10
	jym-xensuspend-nbase:1.10
	netbsd-5-0:1.10.0.16
	netbsd-5-0-RELEASE:1.10
	netbsd-5-0-RC4:1.10
	netbsd-5-0-RC3:1.10
	netbsd-5-0-RC2:1.10
	jym-xensuspend:1.10.0.14
	jym-xensuspend-base:1.10
	netbsd-5-0-RC1:1.10
	netbsd-5:1.10.0.12
	netbsd-5-base:1.10
	mjf-devfs2:1.10.0.10
	mjf-devfs2-base:1.10
	yamt-pf42-base4:1.10
	yamt-pf42-base3:1.10
	hpcarm-cleanup-nbase:1.10
	yamt-pf42-base2:1.10
	yamt-pf42:1.10.0.8
	yamt-pf42-base:1.10
	keiichi-mipv6:1.10.0.6
	keiichi-mipv6-base:1.10
	cube-autoconf:1.10.0.4
	cube-autoconf-base:1.10
	hpcarm-cleanup:1.10.0.2
	hpcarm-cleanup-base:1.10
	netbsd-3-1-1-RELEASE:1.9
	netbsd-3-0-3-RELEASE:1.9
	netbsd-3-1:1.9.0.6
	netbsd-3-1-RELEASE:1.9
	netbsd-3-0-2-RELEASE:1.9
	netbsd-3-1-RC4:1.9
	netbsd-3-1-RC3:1.9
	netbsd-3-1-RC2:1.9
	netbsd-3-1-RC1:1.9
	netbsd-3-0-1-RELEASE:1.9
	netbsd-3-0:1.9.0.4
	netbsd-3-0-RELEASE:1.9
	netbsd-3-0-RC6:1.9
	netbsd-3-0-RC5:1.9
	netbsd-3-0-RC4:1.9
	netbsd-3-0-RC3:1.9
	netbsd-3-0-RC2:1.9
	netbsd-3-0-RC1:1.9
	netbsd-2-0-3-RELEASE:1.5
	netbsd-2-1:1.5.0.6
	netbsd-2-1-RELEASE:1.5
	netbsd-2-1-RC6:1.5
	netbsd-2-1-RC5:1.5
	netbsd-2-1-RC4:1.5
	netbsd-2-1-RC3:1.5
	netbsd-2-1-RC2:1.5
	netbsd-2-1-RC1:1.5
	netbsd-2-0-2-RELEASE:1.5
	netbsd-3:1.9.0.2
	netbsd-3-base:1.9
	netbsd-2-0-1-RELEASE:1.5
	netbsd-2:1.5.0.4
	netbsd-2-base:1.5
	netbsd-2-0-RELEASE:1.5
	netbsd-2-0-RC5:1.5
	netbsd-2-0-RC4:1.5
	netbsd-2-0-RC3:1.5
	netbsd-2-0-RC2:1.5
	netbsd-2-0-RC1:1.5
	netbsd-2-0:1.5.0.2
	netbsd-2-0-base:1.5
	netbsd-1-6-PATCH002-RELEASE:1.4
	netbsd-1-6-PATCH002:1.4
	netbsd-1-6-PATCH002-RC4:1.4
	netbsd-1-6-PATCH002-RC3:1.4
	netbsd-1-6-PATCH002-RC2:1.4
	netbsd-1-6-PATCH002-RC1:1.4
	netbsd-1-6-PATCH001:1.4
	netbsd-1-6-PATCH001-RELEASE:1.4
	netbsd-1-6-PATCH001-RC3:1.4
	netbsd-1-6-PATCH001-RC2:1.4
	netbsd-1-6-PATCH001-RC1:1.4
	fvdl_fs64_base:1.5
	netbsd-1-6-RELEASE:1.4
	netbsd-1-6-RC3:1.4
	netbsd-1-6-RC2:1.4
	netbsd-1-6-RC1:1.4
	netbsd-1-6:1.4.0.2
	netbsd-1-6-base:1.4;
locks; strict;
comment	@# @;


1.10
date	2006.03.30.00.00.23;	author rtr;	state dead;
branches;
next	1.9;

1.9
date	2004.08.05.01.24.02;	author lukem;	state Exp;
branches;
next	1.8;

1.8
date	2004.08.04.08.04.25;	author lukem;	state Exp;
branches;
next	1.7;

1.7
date	2004.07.30.07.02.53;	author lukem;	state Exp;
branches;
next	1.6;

1.6
date	2004.07.30.04.44.54;	author lukem;	state Exp;
branches;
next	1.5;

1.5
date	2002.08.19.09.41.28;	author lukem;	state Exp;
branches;
next	1.4;

1.4
date	2001.12.12.00.51.01;	author tv;	state Exp;
branches;
next	1.3;

1.3
date	2001.11.05.15.24.48;	author lukem;	state Exp;
branches;
next	1.2;

1.2
date	2001.01.04.21.50.13;	author garbled;	state Exp;
branches;
next	1.1;

1.1
date	2001.01.04.20.21.18;	author garbled;	state Exp;
branches;
next	;


desc
@@


1.10
log
@do not build or install libcdk as a part of base anymore
cdk source still lives in dist however

approved by core@@
@
text
@# $NetBSD: Makefile,v 1.9 2004/08/05 01:24:02 lukem Exp $

NOLINT=		# defined

.include <bsd.own.mk>

DIST=		${NETBSDSRCDIR}/dist
.PATH:		${DIST}/cdk ${DIST}/cdk/include ${DIST}/cdk/man

LIB=		cdk

LIBDPLIBS=	curses ${.CURDIR}/../libcurses

CPPFLAGS+=	-I. -I${DIST}/cdk/include -DHAVE_CONFIG_H

SRCS=	alphalist.c binding.c buttonbox.c calendar.c cdk.c cdkscreen.c \
	debug.c dialog.c draw.c entry.c fselect.c graph.c histogram.c \
	itemlist.c label.c marquee.c matrix.c mentry.c menu.c position.c \
	radio.c scale.c scroll.c selection.c slider.c swindow.c template.c \
        viewer.c

INCS=	alphalist.h binding.h buttonbox.h calendar.h cdk.h cdk_config.h \
	cdk_objs.h cdk_util.h cdkscreen.h curdefs.h dialog.h draw.h \
	entry.h fselect.h graph.h histogram.h itemlist.h label.h marquee.h \
	matrix.h mentry.h menu.h radio.h scale.h scroll.h selection.h \
	slider.h swindow.h template.h viewer.h

MAN=	cdk_alphalist.3 cdk_binding.3 cdk_buttonbox.3 cdk_calendar.3 \
	cdk_cdk.3 cdk_dialog.3 cdk_display.3 cdk_entry.3 cdk_fselect.3 \
	cdk_graph.3 cdk_histogram.3 cdk_itemlist.3 cdk_label.3 cdk_marquee.3 \
	cdk_matrix.3 cdk_mentry.3 cdk_menu.3 cdk_misc.3 cdk_radio.3 \
	cdk_scale.3 cdk_screen.3 cdk_scroll.3 cdk_selection.3 cdk_slider.3 \
	cdk_swindow.3 cdk_template.3 cdk_viewer.3

MLINKS=	cdk_cdk.3 cdk.3

INCSDIR=	/usr/include/cdk

.include <bsd.lib.mk>
@


1.9
log
@Need to prefix relative directories with `${.CURDIR}/' so that
objdir builds in the src tree (i.e, without MAKEOBJDIR{,PREFIX}) work.
Fixes problem noted by Hisashi T Fujinaka.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2004/08/04 08:04:25 lukem Exp $
@


1.8
log
@Convert from the src/lib -specific DEPLIBS to using LIBDPLIBS from <bsd.lib.mk>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2004/07/30 07:02:53 lukem Exp $
d12 1
a12 1
LIBDPLIBS=	curses ../libcurses
@


1.7
log
@Implement DEPLIBS (in Makefile.inc for now), which adds all the listed
libraries to LDADD & DPADD for the current library, using -L OBJDIR-of-DEPLIB
so that the current library can link with the DEPLIB library built but
not installed.

Set DEPLIBS appropriately, rather than explictly adding LDADD/DPADD
for various libraries.

Reorder library build order so that libraries that depend upon any
other library are built at the end.


Whilst this change could be done in a more generic manner (and I
intend to work on that), it does remove the need to implement
top-level build targets such as "do-lib-des" (etc).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2004/07/30 04:44:54 lukem Exp $
d12 1
a12 1
DEPLIBS=	curses
@


1.6
log
@LDADD libcurses
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2002/08/19 09:41:28 lukem Exp $
d12 1
a12 2
LDADD+=		-lcurses
DPADD+=		${LIBCURSES}
@


1.5
log
@Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
(Reduces make output by ~ 20%)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2001/12/12 00:51:01 tv Exp $
d11 4
@


1.4
log
@Readability cleanups; MKfoo=no -> NOfoo.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2001/11/05 15:24:48 lukem Exp $
d3 5
a7 1
DIST=		${.CURDIR}/../../dist
a10 1
NOLINT=		# defined
@


1.3
log
@don't set WARNS here (get it from ../Makefile.inc)
@
text
@d1 2
a2 1
# $NetBSD: Makefile,v 1.2 2001/01/04 21:50:13 garbled Exp $
d4 1
a4 5
.PATH: ${DIST}/cdk
.PATH: ${DIST}/cdk/include
.PATH: ${DIST}/cdk/man

MKLINT= no
d6 3
a8 1
LIB=	cdk
d31 1
a31 5
INCSDIR= /usr/include/cdk

CPPFLAGS+= -I. \
	-I${DIST}/cdk/include \
	-DHAVE_CONFIG_H
@


1.2
log
@Remove some leftover cruft
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2001/01/04 20:21:18 garbled Exp $
a6 1
WARNS?=  1
@


1.1
log
@Add a makefile and shlib_version file for the reachover build of CDK.

(Curses Development Kit, to be used in the upcoming import of sushi)
@
text
@d1 1
a1 1
# $NetBSD$
a33 2

DPSRCS=	print_version.h
@

