head	1.32;
access;
symbols
	perseant-exfatfs-base-20250801:1.32
	perseant-exfatfs-base-20240630:1.32
	perseant-exfatfs:1.32.0.44
	perseant-exfatfs-base:1.32
	cjep_sun2x:1.32.0.42
	cjep_sun2x-base:1.32
	cjep_staticlib_x-base1:1.32
	cjep_staticlib_x:1.32.0.40
	cjep_staticlib_x-base:1.32
	phil-wifi-20200421:1.32
	phil-wifi-20200411:1.32
	phil-wifi-20200406:1.32
	pgoyette-compat-merge-20190127:1.32
	pgoyette-compat-20190127:1.32
	pgoyette-compat-20190118:1.32
	pgoyette-compat-1226:1.32
	pgoyette-compat-1126:1.32
	pgoyette-compat-1020:1.32
	pgoyette-compat-0930:1.32
	pgoyette-compat-0906:1.32
	pgoyette-compat-0728:1.32
	pgoyette-compat-0625:1.32
	pgoyette-compat-0521:1.32
	pgoyette-compat-0502:1.32
	pgoyette-compat-0422:1.32
	pgoyette-compat-0415:1.32
	pgoyette-compat-0407:1.32
	pgoyette-compat-0330:1.32
	pgoyette-compat-0322:1.32
	pgoyette-compat-0315:1.32
	pgoyette-compat:1.32.0.38
	pgoyette-compat-base:1.32
	prg-localcount2-base3:1.32
	prg-localcount2-base2:1.32
	prg-localcount2-base1:1.32
	prg-localcount2:1.32.0.36
	prg-localcount2-base:1.32
	pgoyette-localcount-20170426:1.32
	bouyer-socketcan-base1:1.32
	pgoyette-localcount-20170320:1.32
	bouyer-socketcan:1.32.0.34
	bouyer-socketcan-base:1.32
	pgoyette-localcount-20170107:1.32
	pgoyette-localcount-20161104:1.32
	localcount-20160914:1.32
	pgoyette-localcount-20160806:1.32
	pgoyette-localcount-20160726:1.32
	pgoyette-localcount:1.32.0.32
	pgoyette-localcount-base:1.32
	netbsd-5-2-3-RELEASE:1.32
	netbsd-5-1-5-RELEASE:1.32
	yamt-pagecache-base9:1.32
	yamt-pagecache-tag8:1.32
	tls-earlyentropy:1.32.0.28
	tls-earlyentropy-base:1.32
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.32
	riastradh-drm2-base3:1.32
	netbsd-5-2-2-RELEASE:1.32
	netbsd-5-1-4-RELEASE:1.32
	netbsd-5-2-1-RELEASE:1.32
	netbsd-5-1-3-RELEASE:1.32
	agc-symver:1.32.0.30
	agc-symver-base:1.32
	tls-maxphys-base:1.32
	yamt-pagecache-base8:1.32
	netbsd-5-2:1.32.0.26
	yamt-pagecache-base7:1.32
	netbsd-5-2-RELEASE:1.32
	netbsd-5-2-RC1:1.32
	yamt-pagecache-base6:1.32
	yamt-pagecache-base5:1.32
	yamt-pagecache-base4:1.32
	netbsd-5-1-2-RELEASE:1.32
	netbsd-5-1-1-RELEASE:1.32
	yamt-pagecache-base3:1.32
	yamt-pagecache-base2:1.32
	yamt-pagecache:1.32.0.24
	yamt-pagecache-base:1.32
	bouyer-quota2-nbase:1.32
	bouyer-quota2:1.32.0.22
	bouyer-quota2-base:1.32
	matt-nb5-pq3:1.32.0.20
	matt-nb5-pq3-base:1.32
	netbsd-5-1:1.32.0.18
	netbsd-5-1-RELEASE:1.32
	netbsd-5-1-RC4:1.32
	netbsd-5-1-RC3:1.32
	netbsd-5-1-RC2:1.32
	netbsd-5-1-RC1:1.32
	netbsd-5-0-2-RELEASE:1.32
	netbsd-5-0-1-RELEASE:1.32
	jym-xensuspend-nbase:1.32
	netbsd-5-0:1.32.0.16
	netbsd-5-0-RELEASE:1.32
	netbsd-5-0-RC4:1.32
	netbsd-5-0-RC3:1.32
	netbsd-5-0-RC2:1.32
	jym-xensuspend:1.32.0.14
	jym-xensuspend-base:1.32
	netbsd-5-0-RC1:1.32
	netbsd-5:1.32.0.12
	netbsd-5-base:1.32
	mjf-devfs2:1.32.0.10
	mjf-devfs2-base:1.32
	yamt-pf42-base4:1.32
	yamt-pf42-base3:1.32
	hpcarm-cleanup-nbase:1.32
	yamt-pf42-base2:1.32
	yamt-pf42:1.32.0.8
	yamt-pf42-base:1.32
	keiichi-mipv6:1.32.0.6
	keiichi-mipv6-base:1.32
	cube-autoconf:1.32.0.4
	cube-autoconf-base:1.32
	hpcarm-cleanup:1.32.0.2
	hpcarm-cleanup-base:1.32
	netbsd-3-1-1-RELEASE:1.31
	netbsd-3-0-3-RELEASE:1.31
	netbsd-3-1:1.31.0.6
	netbsd-3-1-RELEASE:1.31
	netbsd-3-0-2-RELEASE:1.31
	netbsd-3-1-RC4:1.31
	netbsd-3-1-RC3:1.31
	netbsd-3-1-RC2:1.31
	netbsd-3-1-RC1:1.31
	netbsd-3-0-1-RELEASE:1.31
	netbsd-3-0:1.31.0.4
	netbsd-3-0-RELEASE:1.31
	netbsd-3-0-RC6:1.31
	netbsd-3-0-RC5:1.31
	netbsd-3-0-RC4:1.31
	netbsd-3-0-RC3:1.31
	netbsd-3-0-RC2:1.31
	netbsd-3-0-RC1:1.31
	netbsd-2-0-3-RELEASE:1.27
	netbsd-2-1:1.27.0.6
	netbsd-2-1-RELEASE:1.27
	netbsd-2-1-RC6:1.27
	netbsd-2-1-RC5:1.27
	netbsd-2-1-RC4:1.27
	netbsd-2-1-RC3:1.27
	netbsd-2-1-RC2:1.27
	netbsd-2-1-RC1:1.27
	netbsd-2-0-2-RELEASE:1.27
	netbsd-3:1.31.0.2
	netbsd-3-base:1.31
	netbsd-2-0-1-RELEASE:1.27
	netbsd-2:1.27.0.4
	netbsd-2-base:1.27
	netbsd-2-0-RELEASE:1.27
	netbsd-2-0-RC5:1.27
	netbsd-2-0-RC4:1.27
	netbsd-2-0-RC3:1.27
	netbsd-2-0-RC2:1.27
	netbsd-2-0-RC1:1.27
	netbsd-2-0:1.27.0.2
	netbsd-2-0-base:1.27
	netbsd-1-6-PATCH002-RELEASE:1.16
	netbsd-1-6-PATCH002:1.16
	netbsd-1-6-PATCH002-RC4:1.16
	netbsd-1-6-PATCH002-RC3:1.16
	netbsd-1-6-PATCH002-RC2:1.16
	netbsd-1-6-PATCH002-RC1:1.16
	netbsd-1-6-PATCH001:1.16
	netbsd-1-6-PATCH001-RELEASE:1.16
	netbsd-1-6-PATCH001-RC3:1.16
	netbsd-1-6-PATCH001-RC2:1.16
	netbsd-1-6-PATCH001-RC1:1.16
	fvdl_fs64_base:1.23
	netbsd-1-6-RELEASE:1.16
	netbsd-1-6-RC3:1.16
	netbsd-1-6-RC2:1.16
	netbsd-1-6-RC1:1.16
	netbsd-1-6:1.16.0.2
	netbsd-1-6-base:1.16
	netbsd-1-5-PATCH003:1.5.2.2
	netbsd-1-5-PATCH002:1.5.2.2
	netbsd-1-5-PATCH001:1.5.2.2
	netbsd-1-5-RELEASE:1.5.2.1
	netbsd-1-5-BETA2:1.5.2.1
	netbsd-1-5-BETA:1.5.2.1
	netbsd-1-5-ALPHA2:1.5.2.1
	minoura-xpg4dl:1.6.0.2
	netbsd-1-5:1.5.0.2
	netbsd-1-5-base:1.5
	cryptosrc-intl-20000616:1.1.1.1
	netbsd-cryptosrc-intl:1.1.1;
locks; strict;
comment	@# @;


1.32
date	2006.03.20.21.29.50;	author christos;	state dead;
branches;
next	1.31;

1.31
date	2005.01.10.03.11.17;	author lukem;	state Exp;
branches
	1.31.2.1;
next	1.30;

1.30
date	2004.08.05.01.24.02;	author lukem;	state Exp;
branches;
next	1.29;

1.29
date	2004.08.04.08.04.25;	author lukem;	state Exp;
branches;
next	1.28;

1.28
date	2004.07.30.07.02.53;	author lukem;	state Exp;
branches;
next	1.27;

1.27
date	2003.07.24.14.16.54;	author itojun;	state Exp;
branches;
next	1.26;

1.26
date	2003.07.23.20.30.34;	author itojun;	state Exp;
branches;
next	1.25;

1.25
date	2003.07.23.13.33.15;	author itojun;	state Exp;
branches;
next	1.24;

1.24
date	2003.07.10.10.34.24;	author lukem;	state Exp;
branches;
next	1.23;

1.23
date	2002.09.12.15.28.22;	author joda;	state Exp;
branches;
next	1.22;

1.22
date	2002.09.12.14.28.33;	author joda;	state Exp;
branches;
next	1.21;

1.21
date	2002.08.29.14.52.07;	author itojun;	state Exp;
branches;
next	1.20;

1.20
date	2002.08.29.14.40.00;	author itojun;	state Exp;
branches;
next	1.19;

1.19
date	2002.08.29.01.31.31;	author itojun;	state Exp;
branches;
next	1.18;

1.18
date	2002.08.19.13.35.08;	author lukem;	state Exp;
branches;
next	1.17;

1.17
date	2002.08.19.09.41.32;	author lukem;	state Exp;
branches;
next	1.16;

1.16
date	2001.12.12.00.51.04;	author tv;	state Exp;
branches;
next	1.15;

1.15
date	2001.10.31.16.15.01;	author tv;	state Exp;
branches;
next	1.14;

1.14
date	2001.10.06.21.55.59;	author perry;	state Exp;
branches;
next	1.13;

1.13
date	2001.10.04.16.11.26;	author tv;	state Exp;
branches;
next	1.12;

1.12
date	2001.10.04.10.44.12;	author tron;	state Exp;
branches;
next	1.11;

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

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

1.9
date	2001.05.26.08.07.54;	author wiz;	state Exp;
branches;
next	1.8;

1.8
date	2000.12.30.17.21.45;	author sommerfeld;	state Exp;
branches;
next	1.7;

1.7
date	2000.08.30.23.51.53;	author jhawk;	state Exp;
branches;
next	1.6;

1.6
date	2000.06.20.21.49.03;	author thorpej;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	2000.06.19.23.46.07;	author thorpej;	state Exp;
branches
	1.5.2.1;
next	1.4;

1.4
date	2000.06.19.18.27.14;	author thorpej;	state Exp;
branches;
next	1.3;

1.3
date	2000.06.17.01.20.26;	author thorpej;	state Exp;
branches;
next	1.2;

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

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

1.31.2.1
date	2007.12.12.19.42.48;	author bouyer;	state Exp;
branches;
next	;

1.6.2.1
date	2000.06.20.21.49.03;	author minoura;	state dead;
branches;
next	1.6.2.2;

1.6.2.2
date	2000.06.23.16.16.43;	author minoura;	state Exp;
branches;
next	;

1.5.2.1
date	2000.06.21.04.22.32;	author thorpej;	state Exp;
branches;
next	1.5.2.2;

1.5.2.2
date	2001.04.05.23.25.33;	author he;	state Exp;
branches;
next	;

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


desc
@@


1.32
log
@This is probably the last (Jukka Salmi)
@
text
@# $NetBSD: Makefile,v 1.31 2005/01/10 03:11:17 lukem Exp $

NOLINT=		# defined

.include <bsd.own.mk>

DIST=		${NETBSDSRCDIR}/crypto/dist
.PATH:		${DIST}/krb4/lib/krb ${DIST}/krb4/doc \
		${DIST}/krb4/man

MAN=		kerberos.3 krb_realmofhost.3 krb_sendauth.3 \
		krb_set_tkt_string.3 \
		krb.conf.5 krb.equiv.5 krb.extra.5 krb.realms.5
MLINKS=		kerberos.3 krb_mk_req.3 kerberos.3 krb_rd_req.3 \
		kerberos.3 krb_kntoln.3 kerberos.3 krb_set_key.3 \
		kerberos.3 krb_get_cred.3 kerberos.3 krb_mk_priv.3 \
		kerberos.3 krb_rd_priv.3 kerberos.3 krb_mk_safe.3 \
		kerberos.3 krb_rd_safe.3 kerberos.3 krb_mk_err.3 \
		kerberos.3 krb_rd_err.3 kerberos.3 krb_ck_repl.3 \
		krb_realmofhost.3 krb_get_krbhst.3 \
		krb_realmofhost.3 krb_get_lrealm.3 \
		krb_realmofhost.3 krb_get_phost.3

WARNS?=		1

LIB=		krb

LIBDPLIBS=	des ${.CURDIR}/../libdes

.if ${USETOOLS} != "yes"
COMPILEETOBJ!=		cd ${NETBSDSRCDIR}/lib/libcom_err/compile_et && ${PRINTOBJDIR}
TOOL_COMPILE_ET=	${COMPILEETOBJ}/compile_et
.endif

krb_err.c krb_err.h: krb_err.et ${TOOL_COMPILE_ET}
	${TOOL_COMPILE_ET} ${DIST}/krb4/lib/krb/krb_err.et

ERR_FILES=	krb_err.c

DPSRCS=		krb.h krb_err.h

SRCS=	\
	check_time.c \
	cr_err_reply.c \
	create_auth_reply.c \
	create_ciph.c \
	create_death_packet.c \
	create_ticket.c \
	debug_decl.c \
	decomp_ticket.c \
	defaults.c \
	dest_tkt.c \
	encrypt_ktext.c \
	extra.c \
	get_ad_tkt.c \
	getfile.c \
	get_cred.c \
	get_default_principal.c \
	get_host.c \
	get_in_tkt.c \
	get_krbrlm.c \
	get_svc_in_tkt.c \
	get_tf_fullname.c \
	get_tf_realm.c \
	getaddrs.c \
	getrealm.c \
	getst.c \
	k_getport.c \
	k_getsockinst.c \
	k_localtime.c \
	kdc_reply.c \
	kntoln.c \
	krb_check_auth.c \
	krb_equiv.c \
	krb_err.c \
	krb_err_txt.c \
	krb_get_in_tkt.c \
	kuserok.c \
	lifetime.c \
	logging.c \
	lsb_addr_comp.c \
	mk_auth.c \
	mk_err.c \
	mk_priv.c \
	mk_req.c \
	mk_safe.c \
	month_sname.c \
	name2name.c \
	krb_net_read.c \
	krb_net_write.c \
	one.c \
	parse_name.c \
	random_block.c \
	rd_err.c \
	rd_priv.c \
	rd_req.c \
	rd_safe.c \
	read_service_key.c \
	realm_parse.c \
	recvauth.c \
	rw.c \
	save_credentials.c \
	send_to_kdc.c \
	sendauth.c \
	solaris_compat.c \
	stime.c \
	str2key.c \
	tf_util.c \
	time.c \
	tkt_string.c \
	unparse_name.c \
	verify_user.c \
	krb_ip_realm.c

INCSDIR=	/usr/include/kerberosIV

INCS=	krb.h					\
	krb_err.h				\
	klog.h					\
	krb-protos.h				\
	krb-archaeology.h			\
	prot.h

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

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

CLEANFILES=	${ERR_FILES} krb_err.h krb.h

krb.h:	krb.h.in
	sed 's,@@DES_H@@,des.h,' < ${.ALLSRC} > ${.TARGET}

${SRCS:.c=.o}: krb_err.h

TEXINFO=	kth-krb.texi
INFOFLAGS=	-I${DIST}/krb4/doc

# Prevent collisions with old MIT Kerberos includes -- require manual
# intervention of the operator.
.BEGIN:
.ifmake includes
	@@if [ -f ${DESTDIR}${INCSDIR}/mit-copyright.h ]; then \
		echo "Error: you must first remove the MIT headers from ${DESTDIR}${INCSDIR}" >&2; \
		false; \
	fi
.endif

.include <bsd.lib.mk>
.include <bsd.info.mk>
@


1.31
log
@Only #define HAVE_IPV6 if ${USE_INET6} != "no".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2004/08/05 01:24:02 lukem Exp $
@


1.31.2.1
log
@Apply patch (requested by gendalia in ticket #1886):
	lib/libkrb/Makefile: patch
Properly reference libraries libkrb needs, so they don't need to be
included on their own
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2005/01/10 03:11:17 lukem Exp $
d28 1
a28 3
LIBDPLIBS=	des ${.CURDIR}/../libdes \
		com_err ${.CURDIR}/../libcom_err \
		roken ${.CURDIR}/../libroken
@


1.30
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.29 2004/08/04 08:04:25 lukem Exp $
d132 4
@


1.29
log
@Convert from the src/lib -specific DEPLIBS to using LIBDPLIBS from <bsd.lib.mk>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2004/07/30 07:02:53 lukem Exp $
d28 1
a28 1
LIBDPLIBS=	des ../libdes
@


1.28
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.27 2003/07/24 14:16:54 itojun Exp $
d11 2
a12 1
MAN=		kerberos.3 krb_realmofhost.3 krb_sendauth.3 krb_set_tkt_string.3 \
d28 1
a28 1
DEPLIBS=	des
@


1.27
log
@upgrade openssl to 0.9.7b.  (AES is now supported)
alter des.h to be friendly with openssl/des.h (you can include both in the
same file)
make libkrb to depend on libdes.  bump major.
massage various portioin of heimdal to be friendly with openssl 0.9.7b.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2003/07/23 20:30:34 itojun Exp $
d27 2
a150 3
LDADD+=	-ldes
DPADD+=	${LIBDES}

@


1.26
log
@kerberosIV/des.h is not needed, Love says
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2003/07/23 13:33:15 itojun Exp $
d132 1
a132 1
	sed 's,@@DES_H@@,openssl/des.h,' < ${.ALLSRC} > ${.TARGET}
d148 3
@


1.25
log
@make /usr/include/kerberosIV/des.h a symlink to /usr/include/des.h,
it will avoid file inclusion loop
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2003/07/10 10:34:24 lukem Exp $
a119 2

SYMLINKS=	../des.h ${INCSDIR}/des.h
@


1.24
log
@Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2002/09/12 15:28:22 joda Exp $
d119 3
a121 2
	prot.h					\
	des.h
@


1.23
log
@remove all traces of ktypes.h
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2002/09/12 14:28:33 joda Exp $
d28 2
a29 2
COMPILEETOBJ!=	cd ${NETBSDSRCDIR}/lib/libcom_err/compile_et && ${PRINTOBJDIR}
COMPILE_ET=	${COMPILEETOBJ}/compile_et
d32 2
a33 2
krb_err.c krb_err.h: krb_err.et
	${COMPILE_ET} ${DIST}/krb4/lib/krb/krb_err.et
@


1.22
log
@ktypes.h has gone
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2002/08/29 14:52:07 itojun Exp $
d130 1
a130 1
CLEANFILES=	${ERR_FILES} krb_err.h ktypes.h krb.h
a133 3

ktypes.h:
	cp ${NETBSDSRCDIR}/include/heimdal/$@@ $@@
@


1.21
log
@need kerberosIV/des.h as part of kerberos 4 API.  have a dummy file.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2002/08/29 14:40:00 itojun Exp $
a115 1
	ktypes.h				\
@


1.20
log
@avoid inclusion of kerberosIV/des.h (it is a dupliate of openssl/des.h,
and openssl discourages inclusion by <des.h> - <openssl/des.h> must be used)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2002/08/29 01:31:31 itojun Exp $
d120 2
a121 1
	prot.h
@


1.19
log
@heimdal builds shouldn't dig into openssl source by -Ifoo.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2002/08/19 13:35:08 lukem Exp $
d120 1
a120 2
	prot.h					\
	des.h
@


1.18
log
@More use of ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2002/08/19 09:41:32 lukem Exp $
d9 1
a9 1
		${DIST}/openssl/crypto/des ${DIST}/krb4/man
a124 1
	-I${DIST}/openssl/crypto		\
@


1.17
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.16 2001/12/12 00:51:04 tv Exp $
d28 1
a28 1
COMPILEETOBJ!=	cd ${.CURDIR}/../libcom_err/compile_et && ${PRINTOBJDIR}
@


1.16
log
@Readability cleanups; MKfoo=no -> NOfoo.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2001/10/31 16:15:01 tv Exp $
d7 1
a7 1
DIST=		${.CURDIR}/../../crypto/dist
d127 2
a128 2
	-I${.CURDIR}/../../include/heimdal	\
	-I${.CURDIR}/../libroken		\
d138 1
a138 1
	cp ${.CURDIR}/../../include/heimdal/$@@ $@@
@


1.15
log
@Make handling of USETOOLS uniform:  Don't need to check whether it is
defined, as <bsd.own.mk> always sets it; also, compare only against "yes"
(not "no") for a yes/no check, as there are two negative states ("no" and
"never").
@
text
@d1 3
a3 1
# $NetBSD: Makefile,v 1.14 2001/10/06 21:55:59 perry Exp $
d8 14
a21 16
.PATH: ${DIST}/krb4/lib/krb
.PATH: ${DIST}/krb4/doc
.PATH: ${DIST}/openssl/crypto/des
.PATH: ${DIST}/krb4/man

MAN=	kerberos.3 krb_realmofhost.3 krb_sendauth.3 krb_set_tkt_string.3 \
	krb.conf.5 krb.equiv.5 krb.extra.5 krb.realms.5
MLINKS=	kerberos.3 krb_mk_req.3 kerberos.3 krb_rd_req.3 \
	kerberos.3 krb_kntoln.3 kerberos.3 krb_set_key.3 \
	kerberos.3 krb_get_cred.3 kerberos.3 krb_mk_priv.3 \
	kerberos.3 krb_rd_priv.3 kerberos.3 krb_mk_safe.3 \
	kerberos.3 krb_rd_safe.3 kerberos.3 krb_mk_err.3 \
	kerberos.3 krb_rd_err.3 kerberos.3 krb_ck_repl.3 \
	krb_realmofhost.3 krb_get_krbhst.3 \
	krb_realmofhost.3 krb_get_lrealm.3 \
	krb_realmofhost.3 krb_get_phost.3
d23 1
a23 2
WARNS?=  1
MKLINT= no
d25 1
a25 1
LIB=	krb
d112 1
a112 1
INCSDIR= /usr/include/kerberosIV
d132 1
a132 1
CLEANFILES = $(ERR_FILES) krb_err.h ktypes.h krb.h
d140 1
a140 1
$(SRCS:.c=.o): krb_err.h
@


1.14
log
@test for whether USETOOLS is defined before asking its value
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2001/10/04 16:11:26 tv Exp $
d28 1
a28 1
.if !defined(USETOOLS) || (${USETOOLS} == "no")
@


1.13
log
@.ifndef USE_NEW_TOOLCHAIN   =>   .if ${USETOOLS} == "no"
Allows a new toolchain, but USETOOLS=no, configuration to build properly.
Reported by <martin@@duskware.de>.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2001/10/04 10:44:12 tron Exp $
d28 1
a28 1
.if ${USETOOLS} == "no"
@


1.12
log
@Add "krb.h" to "DPSRCS" so that the build actually works after a
"make cleandir".
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2001/09/21 22:59:01 tv Exp $
d28 1
a28 1
.ifndef USE_NEW_TOOLCHAIN
@


1.11
log
@Prep Heimdal host tools for new toolchain.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2001/09/17 12:34:42 assar Exp $
d38 1
a38 1
DPSRCS=		krb_err.h
@


1.10
log
@update infrastructure for krb4 1.1 and heimdal 0.4e
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2001/05/26 08:07:54 wiz Exp $
d28 4
a31 1
COMPILEET!=	cd ${.CURDIR}/../libcom_err/compile_et && ${PRINTOBJDIR}
d34 1
a34 1
	${COMPILEET}/compile_et ${DIST}/krb4/lib/krb/krb_err.et
@


1.9
log
@Install some more kerberos(IV) man pages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2000/12/30 17:21:45 sommerfeld Exp $
d88 1
d123 1
a123 1
	-I${DIST}/openssl/crypto/des		\
d130 4
a133 1
CLEANFILES = $(ERR_FILES) krb_err.h ktypes.h
@


1.8
log
@parallelize (mostly ${MAKE} print-objdir -> ${PRINTOBJDIR})
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2000/08/30 23:51:53 jhawk Exp $
d9 13
@


1.7
log
@Use
  ${MAKE}
instead of
  make
@
text
@d1 4
a4 1
# $NetBSD: Makefile,v 1.6 2000/06/20 21:49:03 thorpej Exp $
d15 1
a15 1
COMPILEET!=	cd ${.CURDIR}/../libcom_err/compile_et && ${MAKE} print-objdir
@


1.6
log
@Fix installing <kerberosIV/des.h>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2000/06/19 23:46:07 thorpej Exp $
d12 1
a12 1
COMPILEET!=	cd ${.CURDIR}/../libcom_err/compile_et && make print-objdir
@


1.6.2.1
log
@file Makefile was added on branch minoura-xpg4dl on 2000-06-23 16:16:43 +0000
@
text
@d1 134
@


1.6.2.2
log
@Sync w/ netbsd-1-5-base.
@
text
@a0 134
# $NetBSD: Makefile,v 1.6.2.1 2000/06/23 16:16:43 minoura Exp $
DIST=		${.CURDIR}/../../crypto/dist
.PATH: ${DIST}/krb4/lib/krb
.PATH: ${DIST}/krb4/doc

WARNS?=  1
MKLINT= no

LIB=	krb

COMPILEET!=	cd ${.CURDIR}/../libcom_err/compile_et && make print-objdir

krb_err.c krb_err.h: krb_err.et
	${COMPILEET}/compile_et ${DIST}/krb4/lib/krb/krb_err.et

ERR_FILES=	krb_err.c

DPSRCS=		krb_err.h

SRCS=	\
	check_time.c \
	cr_err_reply.c \
	create_auth_reply.c \
	create_ciph.c \
	create_death_packet.c \
	create_ticket.c \
	debug_decl.c \
	decomp_ticket.c \
	defaults.c \
	dest_tkt.c \
	encrypt_ktext.c \
	extra.c \
	get_ad_tkt.c \
	getfile.c \
	get_cred.c \
	get_default_principal.c \
	get_host.c \
	get_in_tkt.c \
	get_krbrlm.c \
	get_svc_in_tkt.c \
	get_tf_fullname.c \
	get_tf_realm.c \
	getaddrs.c \
	getrealm.c \
	getst.c \
	k_getport.c \
	k_getsockinst.c \
	k_localtime.c \
	kdc_reply.c \
	kntoln.c \
	krb_check_auth.c \
	krb_equiv.c \
	krb_err.c \
	krb_err_txt.c \
	krb_get_in_tkt.c \
	kuserok.c \
	lifetime.c \
	logging.c \
	lsb_addr_comp.c \
	mk_auth.c \
	mk_err.c \
	mk_priv.c \
	mk_req.c \
	mk_safe.c \
	month_sname.c \
	name2name.c \
	krb_net_read.c \
	krb_net_write.c \
	one.c \
	parse_name.c \
	rd_err.c \
	rd_priv.c \
	rd_req.c \
	rd_safe.c \
	read_service_key.c \
	realm_parse.c \
	recvauth.c \
	rw.c \
	save_credentials.c \
	send_to_kdc.c \
	sendauth.c \
	solaris_compat.c \
	stime.c \
	str2key.c \
	tf_util.c \
	time.c \
	tkt_string.c \
	unparse_name.c \
	verify_user.c \
	krb_ip_realm.c

INCSDIR= /usr/include/kerberosIV

INCS=	krb.h					\
	krb_err.h				\
	ktypes.h				\
	klog.h					\
	krb-protos.h				\
	krb-archaeology.h			\
	prot.h

LINKS+=	/usr/include/des.h ${INCSDIR}/des.h

CPPFLAGS+= -I.					\
	-I${DIST}/krb4/lib/krb			\
	-I${DIST}/openssl/crypto/des		\
	-I${DIST}/heimdal/lib/com_err		\
	-I${.CURDIR}/../../include/heimdal	\
	-I${.CURDIR}/../libroken		\
	-I${DIST}/heimdal/lib/roken		\
	-DHAVE_CONFIG_H

CLEANFILES = $(ERR_FILES) krb_err.h ktypes.h

ktypes.h:
	cp ${.CURDIR}/../../include/heimdal/$@@ $@@

$(SRCS:.c=.o): krb_err.h

TEXINFO=	kth-krb.texi
INFOFLAGS=	-I${DIST}/krb4/doc

# Prevent collisions with old MIT Kerberos includes -- require manual
# intervention of the operator.
.BEGIN:
.ifmake includes
	@@if [ -f ${DESTDIR}${INCSDIR}/mit-copyright.h ]; then \
		echo "Error: you must first remove the MIT headers from ${DESTDIR}${INCSDIR}" >&2; \
		false; \
	fi
.endif

.include <bsd.lib.mk>
.include <bsd.info.mk>
@


1.5
log
@Detect if MIT Kerberos IV headers are present on the system (by looking
in ${DESTDIR}/usr/include/kerberosIV/mit-copyright.h) and if so, tell
the operator to remove the contents of that directory in an error
message and abort.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2000/06/19 18:27:14 thorpej Exp $
d5 1
d101 2
a102 3
	prot.h

LINKS+=	/usr/include/des.h ${INCSDIR}/des.h
@


1.5.2.1
log
@Pull up rev. 1.6:
Fix installing <kerberosIV/des.h>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2000/06/20 21:49:03 thorpej Exp $
a4 1
.PATH: ${DIST}/openssl/crypto/des
d100 3
a102 2
	prot.h					\
	des.h
@


1.5.2.2
log
@Pull up revisions 1.7-1.8 (requested by assar):
  Upgrade Heimdal to version 0.3e.
@
text
@d1 1
a1 4
# $NetBSD$

.include <bsd.own.mk>

d12 1
a12 1
COMPILEET!=	cd ${.CURDIR}/../libcom_err/compile_et && ${PRINTOBJDIR}
@


1.4
log
@Use a link for <kerberosIV/des.h>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2000/06/17 01:20:26 thorpej Exp $
d122 10
@


1.3
log
@Install a /usr/include/kerberosIV/des.h.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2000/06/16 23:22:57 thorpej Exp $
a4 1
.PATH: ${DIST}/openssl/crypto/des
d100 3
a102 2
	prot.h					\
	des.h
@


1.2
log
@Fixup KTH Kerberos 4 library builds.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2000/06/16 22:50:35 thorpej Exp $
d5 1
d101 2
a102 1
	prot.h
@


1.1
log
@Initial revision
@
text
@d1 2
a2 2
# $NetBSD: Makefile,v 1.2 2000/06/14 08:59:23 assar Exp $
DIST=		${.CURDIR}/../../dist
d92 1
a92 1
INCSDIR= /usr/include/krb5
@


1.1.1.1
log
@Import KTH Kerberos 4 build glue, from cryptosrc-intl.
@
text
@@
