head	1.20;
access;
symbols
	perseant-exfatfs-base-20250801:1.20
	perseant-exfatfs-base-20240630:1.20
	perseant-exfatfs:1.20.0.20
	perseant-exfatfs-base:1.20
	cjep_sun2x:1.20.0.18
	cjep_sun2x-base:1.20
	cjep_staticlib_x-base1:1.20
	cjep_staticlib_x:1.20.0.16
	cjep_staticlib_x-base:1.20
	phil-wifi-20200421:1.20
	phil-wifi-20200411:1.20
	phil-wifi-20200406:1.20
	pgoyette-compat-merge-20190127:1.20
	pgoyette-compat-20190127:1.20
	pgoyette-compat-20190118:1.20
	pgoyette-compat-1226:1.20
	pgoyette-compat-1126:1.20
	pgoyette-compat-1020:1.20
	pgoyette-compat-0930:1.20
	pgoyette-compat-0906:1.20
	pgoyette-compat-0728:1.20
	pgoyette-compat-0625:1.20
	pgoyette-compat-0521:1.20
	pgoyette-compat-0502:1.20
	pgoyette-compat-0422:1.20
	pgoyette-compat-0415:1.20
	pgoyette-compat-0407:1.20
	pgoyette-compat-0330:1.20
	pgoyette-compat-0322:1.20
	pgoyette-compat-0315:1.20
	pgoyette-compat:1.20.0.14
	pgoyette-compat-base:1.20
	prg-localcount2-base3:1.20
	prg-localcount2-base2:1.20
	prg-localcount2-base1:1.20
	prg-localcount2:1.20.0.12
	prg-localcount2-base:1.20
	pgoyette-localcount-20170426:1.20
	bouyer-socketcan-base1:1.20
	pgoyette-localcount-20170320:1.20
	bouyer-socketcan:1.20.0.10
	bouyer-socketcan-base:1.20
	pgoyette-localcount-20170107:1.20
	pgoyette-localcount-20161104:1.20
	localcount-20160914:1.20
	pgoyette-localcount-20160806:1.20
	pgoyette-localcount-20160726:1.20
	pgoyette-localcount:1.20.0.8
	pgoyette-localcount-base:1.20
	netbsd-5-2-3-RELEASE:1.17
	netbsd-5-1-5-RELEASE:1.17
	yamt-pagecache-base9:1.20
	yamt-pagecache-tag8:1.20
	tls-earlyentropy:1.20.0.4
	tls-earlyentropy-base:1.20
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.20
	riastradh-drm2-base3:1.20
	netbsd-5-2-2-RELEASE:1.17
	netbsd-5-1-4-RELEASE:1.17
	netbsd-5-2-1-RELEASE:1.17
	netbsd-5-1-3-RELEASE:1.17
	agc-symver:1.20.0.6
	agc-symver-base:1.20
	tls-maxphys-base:1.20
	yamt-pagecache-base8:1.20
	netbsd-5-2:1.17.0.2
	yamt-pagecache-base7:1.20
	netbsd-5-2-RELEASE:1.17
	netbsd-5-2-RC1:1.17
	yamt-pagecache-base6:1.20
	yamt-pagecache-base5:1.20
	yamt-pagecache-base4:1.20
	netbsd-5-1-2-RELEASE:1.17
	netbsd-5-1-1-RELEASE:1.17
	yamt-pagecache-base3:1.20
	yamt-pagecache-base2:1.20
	yamt-pagecache:1.20.0.2
	yamt-pagecache-base:1.20
	cherry-xenmp:1.19.0.4
	cherry-xenmp-base:1.19
	bouyer-quota2-nbase:1.19
	bouyer-quota2:1.19.0.2
	bouyer-quota2-base:1.19
	matt-mips64-premerge-20101231:1.19
	matt-nb5-mips64-premerge-20101231:1.17
	matt-nb5-pq3:1.17.0.14
	matt-nb5-pq3-base:1.17
	netbsd-5-1:1.17.0.12
	netbsd-5-1-RELEASE:1.17
	netbsd-5-1-RC4:1.17
	matt-nb5-mips64-k15:1.17
	netbsd-5-1-RC3:1.17
	netbsd-5-1-RC2:1.17
	netbsd-5-1-RC1:1.17
	netbsd-5-0-2-RELEASE:1.17
	matt-nb5-mips64-premerge-20091211:1.17
	matt-premerge-20091211:1.17
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.17
	matt-nb4-mips64-k7-u2a-k9b:1.17
	matt-nb5-mips64-u1-k1-k5:1.17
	matt-nb5-mips64:1.17.0.10
	netbsd-5-0-1-RELEASE:1.17
	jym-xensuspend-nbase:1.17
	netbsd-5-0:1.17.0.8
	netbsd-5-0-RELEASE:1.17
	netbsd-5-0-RC4:1.17
	netbsd-5-0-RC3:1.17
	netbsd-5-0-RC2:1.17
	jym-xensuspend:1.17.0.6
	jym-xensuspend-base:1.17
	netbsd-5-0-RC1:1.17
	netbsd-5:1.17.0.4
	netbsd-5-base:1.17
	matt-mips64-base2:1.17
	matt-mips64:1.15.0.10
	netbsd-4-0-1-RELEASE:1.14
	wrstuden-revivesa-base-3:1.17
	wrstuden-revivesa-base-2:1.17
	wrstuden-fixsa-newbase:1.14
	wrstuden-revivesa-base-1:1.16
	yamt-pf42-base4:1.16
	yamt-pf42-base3:1.16
	hpcarm-cleanup-nbase:1.16
	yamt-pf42-baseX:1.16
	yamt-pf42-base2:1.16
	wrstuden-revivesa:1.16.0.4
	wrstuden-revivesa-base:1.16
	yamt-pf42:1.16.0.2
	yamt-pf42-base:1.16
	keiichi-mipv6:1.15.0.8
	keiichi-mipv6-base:1.15
	matt-armv6-nbase:1.15
	matt-armv6-prevmlocking:1.15
	wrstuden-fixsa-base-1:1.14
	netbsd-4-0:1.14.0.6
	netbsd-4-0-RELEASE:1.14
	cube-autoconf:1.15.0.6
	cube-autoconf-base:1.15
	netbsd-4-0-RC5:1.14
	netbsd-4-0-RC4:1.14
	netbsd-4-0-RC3:1.14
	netbsd-4-0-RC2:1.14
	netbsd-4-0-RC1:1.14
	matt-armv6:1.15.0.4
	matt-armv6-base:1.15
	matt-mips64-base:1.15
	hpcarm-cleanup:1.15.0.2
	hpcarm-cleanup-base:1.15
	netbsd-3-1-1-RELEASE:1.13
	netbsd-3-0-3-RELEASE:1.13
	wrstuden-fixsa:1.14.0.4
	wrstuden-fixsa-base:1.14
	abandoned-netbsd-4-base:1.13
	abandoned-netbsd-4:1.13.0.6
	netbsd-3-1:1.13.0.8
	netbsd-3-1-RELEASE:1.13
	netbsd-3-0-2-RELEASE:1.13
	netbsd-3-1-RC4:1.13
	netbsd-3-1-RC3:1.13
	netbsd-3-1-RC2:1.13
	netbsd-3-1-RC1:1.13
	netbsd-4:1.14.0.2
	netbsd-4-base:1.14
	netbsd-3-0-1-RELEASE:1.13
	netbsd-3-0:1.13.0.4
	netbsd-3-0-RELEASE:1.13
	netbsd-3-0-RC6:1.13
	netbsd-3-0-RC5:1.13
	netbsd-3-0-RC4:1.13
	netbsd-3-0-RC3:1.13
	netbsd-3-0-RC2:1.13
	netbsd-3-0-RC1:1.13
	netbsd-2-0-3-RELEASE:1.12
	netbsd-2-1:1.12.0.6
	netbsd-2-1-RELEASE:1.12
	netbsd-2-1-RC6:1.12
	netbsd-2-1-RC5:1.12
	netbsd-2-1-RC4:1.12
	netbsd-2-1-RC3:1.12
	netbsd-2-1-RC2:1.12
	netbsd-2-1-RC1:1.12
	netbsd-2-0-2-RELEASE:1.12
	netbsd-3:1.13.0.2
	netbsd-3-base:1.13
	netbsd-2-0-1-RELEASE:1.12
	netbsd-2:1.12.0.4
	netbsd-2-base:1.12
	netbsd-2-0-RELEASE:1.12
	netbsd-2-0-RC5:1.12
	netbsd-2-0-RC4:1.12
	netbsd-2-0-RC3:1.12
	netbsd-2-0-RC2:1.12
	netbsd-2-0-RC1:1.12
	netbsd-2-0:1.12.0.2
	netbsd-2-0-base:1.12
	netbsd-1-6-PATCH002-RELEASE:1.11
	netbsd-1-6-PATCH002:1.11
	netbsd-1-6-PATCH002-RC4:1.11
	netbsd-1-6-PATCH002-RC3:1.11
	netbsd-1-6-PATCH002-RC2:1.11
	netbsd-1-6-PATCH002-RC1:1.11
	netbsd-1-6-PATCH001:1.11
	netbsd-1-6-PATCH001-RELEASE:1.11
	netbsd-1-6-PATCH001-RC3:1.11
	netbsd-1-6-PATCH001-RC2:1.11
	netbsd-1-6-PATCH001-RC1:1.11
	fvdl_fs64_base:1.12
	netbsd-1-6-RELEASE:1.11
	netbsd-1-6-RC3:1.11
	netbsd-1-6-RC2:1.11
	netbsd-1-6-RC1:1.11
	netbsd-1-6:1.11.0.2
	netbsd-1-6-base:1.11
	netbsd-1-5-PATCH003:1.6.2.1
	netbsd-1-5-PATCH002:1.6.2.1
	netbsd-1-5-PATCH001:1.6.2.1
	netbsd-1-5-RELEASE:1.6
	netbsd-1-5-BETA2:1.6
	netbsd-1-5-BETA:1.6
	netbsd-1-5-ALPHA2:1.6
	minoura-xpg4dl:1.6.0.4
	netbsd-1-5:1.6.0.2
	netbsd-1-5-base:1.6
	cryptosrc-intl-20000616:1.1.1.1
	netbsd-cryptosrc-intl:1.1.1;
locks; strict;
comment	@# @;


1.20
date	2011.08.28.16.26.26;	author elric;	state dead;
branches;
next	1.19;

1.19
date	2010.07.06.05.59.53;	author mrg;	state Exp;
branches;
next	1.18;

1.18
date	2010.02.19.17.57.06;	author joerg;	state Exp;
branches;
next	1.17;

1.17
date	2008.07.20.16.25.35;	author veego;	state Exp;
branches;
next	1.16;

1.16
date	2008.03.22.08.37.26;	author mlelstv;	state Exp;
branches
	1.16.4.1;
next	1.15;

1.15
date	2007.05.28.12.06.21;	author tls;	state Exp;
branches;
next	1.14;

1.14
date	2006.08.26.18.12.50;	author christos;	state Exp;
branches;
next	1.13;

1.13
date	2005.01.10.03.11.17;	author lukem;	state Exp;
branches;
next	1.12;

1.12
date	2002.08.19.09.41.34;	author lukem;	state Exp;
branches;
next	1.11;

1.11
date	2001.12.12.00.51.05;	author tv;	state Exp;
branches;
next	1.10;

1.10
date	2001.09.17.12.34.43;	author assar;	state Exp;
branches;
next	1.9;

1.9
date	2001.02.11.18.02.06;	author assar;	state Exp;
branches;
next	1.8;

1.8
date	2000.08.03.03.53.40;	author assar;	state Exp;
branches;
next	1.7;

1.7
date	2000.08.02.02.42.24;	author garbled;	state Exp;
branches;
next	1.6;

1.6
date	2000.06.19.20.53.26;	author thorpej;	state Exp;
branches
	1.6.2.1
	1.6.4.1;
next	1.5;

1.5
date	2000.06.19.20.45.13;	author thorpej;	state Exp;
branches;
next	1.4;

1.4
date	2000.06.17.16.41.09;	author matt;	state Exp;
branches;
next	1.3;

1.3
date	2000.06.17.16.39.19;	author matt;	state Exp;
branches;
next	1.2;

1.2
date	2000.06.16.22.46.43;	author thorpej;	state Exp;
branches;
next	1.1;

1.1
date	2000.06.16.19.27.32;	author thorpej;	state Exp;
branches
	1.1.1.1;
next	;

1.16.4.1
date	2008.09.18.04.39.24;	author wrstuden;	state Exp;
branches;
next	;

1.6.2.1
date	2001.04.05.23.25.39;	author he;	state Exp;
branches;
next	;

1.6.4.1
date	2000.06.19.20.53.26;	author minoura;	state dead;
branches;
next	1.6.4.2;

1.6.4.2
date	2000.06.23.16.16.49;	author minoura;	state Exp;
branches;
next	;

1.1.1.1
date	2000.06.16.19.27.32;	author thorpej;	state Exp;
branches;
next	;


desc
@@


1.20
log
@Remove crypto/dist/heimdal and its associated build infrastructure as
it has been replaced by crypto/external/bsd/heimdal.
@
text
@# $NetBSD: Makefile,v 1.19 2010/07/06 05:59:53 mrg Exp $

NOLINT=		# defined

.include <bsd.own.mk>

DIST=		${NETBSDSRCDIR}/crypto/dist
.PATH:		${DIST}/heimdal/lib/roken ${NETBSDSRCDIR}/include/heimdal

WARNS?=		1

LIB=		roken

LIBDPLIBS+=	util ${.CURDIR}/../libutil \
		crypt ${.CURDIR}/../libcrypt

BUILT_SRCS=vis.h

CLEANFILES+=	${BUILT_SRCS}

SRCS=						\
	base64.c				\
	concat.c				\
	dumpdata.c				\
	environment.c				\
	eread.c					\
	esetenv.c				\
	ewrite.c				\
	getaddrinfo_hostspec.c			\
	get_default_username.c			\
	get_window_size.c			\
	getarg.c				\
	getnameinfo_verified.c			\
	getprogname.c				\
	h_errno.c				\
	hex.c					\
	hostent_find_fqdn.c			\
	issuid.c				\
	k_getpwnam.c				\
	k_getpwuid.c				\
	mini_inetd.c				\
	net_read.c				\
	net_write.c				\
	parse_bytes.c				\
	parse_time.c				\
	parse_units.c				\
	realloc.c				\
	resolve.c				\
	roken_gethostby.c			\
	rtbl.c					\
	setprogname.c				\
	signal.c				\
	simple_exec.c				\
	socket.c				\
	strcollect.c				\
	strlwr.c				\
	strpool.c				\
	strsep_copy.c				\
	strupr.c				\
	timeval.c				\
	tm2time.c				\
	unvis.c					\
	verify.c				\
	vis.c					\
	warnerr.c				\
	write_pid.c				\
	${BUILT_SRCS}

MANS=						\
	getarg.3				\
	parse_time.3				\
	rtbl.3

INCS=		base64.h			\
		getarg.h			\
		hex.h				\
		parse_bytes.h			\
		parse_time.h			\
		parse_units.h			\
		resolve.h			\
		roken.h				\
		roken-common.h			\
		rtbl.h				\
		xdbm.h
INCSDIR=	/usr/include/krb5

CPPFLAGS+= -I. \
	-I${NETBSDSRCDIR}/include/heimdal \
	-I${DIST}/heimdal/lib/roken \
	-DHAVE_CONFIG_H

.if (${USE_INET6} != "no")
CPPFLAGS+=-DHAVE_IPV6
.endif

HOST_CPPFLAGS+=	-I${NETBSDSRCDIR}/include/heimdal -DHAVE_CONFIG_H

.include <bsd.lib.mk>

.SUFFIXES: .hin

.hin.h:
	cp $< $@@
@


1.19
log
@remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format.  ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k.  this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
  down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2010/02/19 17:57:06 joerg Exp $
@


1.18
log
@Link libroken against libcrypt for crypt(3).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2008/07/20 16:25:35 veego Exp $
a13 1
.if ${OBJECT_FMT} == "ELF"
a15 4
.else
.PATH: ${NETBSDSRCDIR}/lib/libutil
SRCS+=	efun.c
.endif
@


1.17
log
@Add CLEANFILES for ${BUILT_SRCS} (vis.h)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2008/03/22 08:37:26 mlelstv Exp $
d15 2
a16 1
LIBDPLIBS+= util ${.CURDIR}/../libutil
@


1.16
log
@Import Heimdal-1.1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2007/05/28 12:06:21 tls Exp $
d23 2
@


1.16.4.1
log
@Sync with wrstuden-revivesa-base-2.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2008/03/22 08:37:26 mlelstv Exp $
a22 2
CLEANFILES+=	${BUILT_SRCS}

@


1.15
log
@Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2006/08/26 18:12:50 christos Exp $
d21 2
d26 1
d31 1
a33 1
	getaddrinfo_hostspec.c			\
d38 1
d49 1
d59 1
a59 2
	strndup.c				\
	strnlen.c				\
d62 1
d64 1
d66 1
d68 2
a69 1
	write_pid.c
d71 16
a86 2
INCS=		base64.h getarg.h parse_bytes.h parse_time.h parse_units.h \
		resolve.h roken.h roken-common.h rtbl.h
d101 5
@


1.14
log
@No need to compile their own efun's.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2005/01/10 03:11:17 lukem Exp $
d15 1
a15 1
LIBDPLIBS= util ${.CURDIR}/../libutil
@


1.13
log
@Only #define HAVE_IPV6 if ${USE_INET6} != "no".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2002/08/19 09:41:34 lukem Exp $
d14 7
a23 2
	ecalloc.c				\
	emalloc.c				\
a25 1
	erealloc.c				\
a26 1
	estrdup.c				\
@


1.12
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.11 2001/12/12 00:51:05 tv Exp $
d69 4
@


1.11
log
@Readability cleanups; MKfoo=no -> NOfoo.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2001/09/17 12:34:43 assar Exp $
d3 6
a8 2
DIST=		${.CURDIR}/../../crypto/dist
.PATH:		${DIST}/heimdal/lib/roken ${.CURDIR}/../../include/heimdal
a10 1
NOLINT=		# defined
d65 1
a65 1
	-I${.CURDIR}/../../include/heimdal \
d69 1
a69 1
HOST_CPPFLAGS+=	-I${.CURDIR}/../../include/heimdal -DHAVE_CONFIG_H
@


1.10
log
@update infrastructure for krb4 1.1 and heimdal 0.4e
@
text
@d1 2
a2 1
# $NetBSD: Makefile,v 1.9 2001/02/11 18:02:06 assar Exp $
d4 1
a4 2
.PATH: ${DIST}/heimdal/lib/roken
.PATH: ${.CURDIR}/../../include/heimdal
d6 2
a7 2
WARNS?=  1
MKLINT= no
d9 1
a9 1
LIB=	roken
d57 3
a59 4
INCS=	base64.h getarg.h parse_bytes.h parse_time.h parse_units.h \
	resolve.h roken.h roken-common.h rtbl.h

INCSDIR= /usr/include/krb5
d66 1
a66 1
HOST_CPPFLAGS+= -I${.CURDIR}/../../include/heimdal -DHAVE_CONFIG_H
@


1.9
log
@update make infrastructure and shlib versions numbers for heimdal 0.3e
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2000/08/03 03:53:40 assar Exp $
d14 1
d27 3
d42 1
@


1.8
log
@update build infrastructure for heimdal 0.3a, including new shlib versions
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2000/08/02 02:42:24 garbled Exp $
d18 1
@


1.7
log
@change LDFLAGS to HOST_LDFLAGS so cross-builds don't blow a gasket.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2000/06/19 20:53:26 thorpej Exp $
a8 2
includes: print_version.h

d11 39
a49 8
SRCS=	base64.c concat.c emalloc.c eread.c erealloc.c estrdup.c ewrite.c \
	getaddrinfo_hostspec.c \
	get_default_username.c get_window_size.c getarg.c \
	getnameinfo_verified.c issuid.c k_getpwnam.c k_getpwuid.c \
	mini_inetd.c net_read.c net_write.c parse_bytes.c parse_time.c \
	parse_units.c resolve.c roken_gethostby.c signal.c simple_exec.c \
	socket.c tm2time.c verify.c warnerr.c print_version.c \
	strcollect.c strlwr.c strndup.c strnlen.c strupr.c
d52 1
a52 1
	resolve.h roken.h roken-common.h
a55 2
DPSRCS=	print_version.h

a61 12

make-print-version.lo: ${.CURDIR}/../../include/heimdal/version.h

make-print-version: make-print-version.lo
	${HOST_CC} ${HOST_LDFLAGS} -o ${.TARGET} ${.ALLSRC}

print_version.h: make-print-version
	./make-print-version print_version.h

print_version.o print_version.so print_version.po print_version.So print_version.ln: print_version.h

CLEANFILES+= print_version.h make-print-version make-print-version.lo
@


1.6
log
@Neeed -DHAVE_CONFIG_H for HOST_CPPFLAGS, too.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2000/06/19 20:45:13 thorpej Exp $
d39 1
a39 1
	${HOST_CC} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
@


1.6.4.1
log
@file Makefile was added on branch minoura-xpg4dl on 2000-06-23 16:16:49 +0000
@
text
@d1 48
@


1.6.4.2
log
@Sync w/ netbsd-1-5-base.
@
text
@a0 48
# $NetBSD: Makefile,v 1.6.4.1 2000/06/23 16:16:49 minoura Exp $
DIST=		${.CURDIR}/../../crypto/dist
.PATH: ${DIST}/heimdal/lib/roken
.PATH: ${.CURDIR}/../../include/heimdal

WARNS?=  1
MKLINT= no

includes: print_version.h

LIB=	roken

SRCS=	base64.c concat.c emalloc.c eread.c erealloc.c estrdup.c ewrite.c \
	getaddrinfo_hostspec.c \
	get_default_username.c get_window_size.c getarg.c \
	getnameinfo_verified.c issuid.c k_getpwnam.c k_getpwuid.c \
	mini_inetd.c net_read.c net_write.c parse_bytes.c parse_time.c \
	parse_units.c resolve.c roken_gethostby.c signal.c simple_exec.c \
	socket.c tm2time.c verify.c warnerr.c print_version.c \
	strcollect.c strlwr.c strndup.c strnlen.c strupr.c

INCS=	base64.h getarg.h parse_bytes.h parse_time.h parse_units.h \
	resolve.h roken.h roken-common.h

INCSDIR= /usr/include/krb5

DPSRCS=	print_version.h

CPPFLAGS+= -I. \
	-I${.CURDIR}/../../include/heimdal \
	-I${DIST}/heimdal/lib/roken \
	-DHAVE_CONFIG_H

HOST_CPPFLAGS+= -I${.CURDIR}/../../include/heimdal -DHAVE_CONFIG_H

make-print-version.lo: ${.CURDIR}/../../include/heimdal/version.h

make-print-version: make-print-version.lo
	${HOST_CC} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}

print_version.h: make-print-version
	./make-print-version print_version.h

print_version.o print_version.so print_version.po print_version.So print_version.ln: print_version.h

CLEANFILES+= print_version.h make-print-version make-print-version.lo

.include <bsd.lib.mk>
@


1.6.2.1
log
@Pull up revisions 1.7-1.9 (requested by assar):
  Upgrade Heimdal to version 0.3e.
@
text
@d1 1
a1 1
# $NetBSD$
d9 2
d13 8
a20 40
SRCS=						\
	base64.c				\
	concat.c				\
	emalloc.c				\
	environment.c				\
	eread.c					\
	erealloc.c				\
	esetenv.c				\
	estrdup.c				\
	ewrite.c				\
	get_default_username.c			\
	get_window_size.c			\
	getaddrinfo_hostspec.c			\
	getarg.c				\
	getnameinfo_verified.c			\
	issuid.c				\
	k_getpwnam.c				\
	k_getpwuid.c				\
	mini_inetd.c				\
	net_read.c				\
	net_write.c				\
	parse_bytes.c				\
	parse_time.c				\
	parse_units.c				\
	resolve.c				\
	roken_gethostby.c			\
	rtbl.c					\
	signal.c				\
	simple_exec.c				\
	socket.c				\
	strcollect.c				\
	strlwr.c				\
	strndup.c				\
	strnlen.c				\
	strsep_copy.c				\
	strupr.c				\
	tm2time.c				\
	verify.c				\
	warnerr.c				\
	write_pid.c
d23 1
a23 1
	resolve.h roken.h roken-common.h rtbl.h
d27 2
d35 12
@


1.5
log
@Use an appropiate HOST_CPPFLAGS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2000/06/17 16:41:09 matt Exp $
d34 3
a36 1
HOST_CPPFLAGS+= -I${.CURDIR}/../../include/heimdal
@


1.4
log
@it's make-print-version.lo, not .o
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2000/06/17 16:39:19 matt Exp $
d33 2
@


1.3
log
@Use HOST_CC to compile make-print-version
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2000/06/16 22:46:43 thorpej Exp $
d42 1
a42 1
CLEANFILES+= print_version.h make-print-version make-print-version.o
@


1.2
log
@Fixup Heimdal library builds.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2000/06/16 19:27:32 thorpej Exp $
d34 2
a35 2
make-print-version: make-print-version.o
	${CC} ${LDFLAGS} -o ${.TARGET} ${.ALLSRC}
@


1.1
log
@Initial revision
@
text
@d1 2
a2 2
# $NetBSD: Makefile,v 1.6 2000/06/14 08:59:23 assar Exp $
DIST=		${.CURDIR}/../../dist
@


1.1.1.1
log
@Import Heimdal library build glue from cryptosrc-intl.
@
text
@@
