head	1.11;
access;
symbols
	RELENG_4_11_0_RELEASE:1.4.2.3
	RELENG_4_11:1.4.2.3.0.6
	RELENG_4_11_BP:1.4.2.3
	RELENG_4_10_0_RELEASE:1.4.2.3
	RELENG_4_10:1.4.2.3.0.4
	RELENG_4_10_BP:1.4.2.3
	RELENG_4_9_0_RELEASE:1.4.2.3
	RELENG_4_9:1.4.2.3.0.2
	RELENG_4_9_BP:1.4.2.3
	RELENG_4_8_0_RELEASE:1.4.2.2
	RELENG_4_8:1.4.2.2.0.4
	RELENG_4_8_BP:1.4.2.2
	RELENG_5_0_0_RELEASE:1.9
	RELENG_5_0:1.9.0.2
	RELENG_5_0_BP:1.9
	RELENG_4_7_0_RELEASE:1.4.2.2
	RELENG_4_7:1.4.2.2.0.2
	RELENG_4_7_BP:1.4.2.2
	RELENG_4_6_2_RELEASE:1.4.2.1
	RELENG_4_6_1_RELEASE:1.4.2.1
	RELENG_4_6_0_RELEASE:1.4.2.1
	RELENG_4_6:1.4.2.1.0.8
	RELENG_4_6_BP:1.4.2.1
	RELENG_4_5_0_RELEASE:1.4.2.1
	RELENG_4_5:1.4.2.1.0.6
	RELENG_4_5_BP:1.4.2.1
	RELENG_4_4_0_RELEASE:1.4.2.1
	RELENG_4_4:1.4.2.1.0.4
	RELENG_4_4_BP:1.4.2.1
	RELENG_4_3_0_RELEASE:1.4.2.1
	RELENG_4_3:1.4.2.1.0.2
	RELENG_4_3_BP:1.4.2.1
	RELENG_4_2_0_RELEASE:1.4
	RELENG_4_1_1_RELEASE:1.4
	PRE_SMPNG:1.5
	RELENG_4_1_0_RELEASE:1.4
	RELENG_4_0_0_RELEASE:1.4
	RELENG_4:1.4.0.2
	RELENG_4_BP:1.4
	v_0_2_m:1.1.1.1
	MARKM:1.1.1;
locks; strict;
comment	@# @;


1.11
date	2003.03.09.21.56.53;	author markm;	state dead;
branches;
next	1.10;

1.10
date	2003.03.08.08.57.56;	author marcel;	state Exp;
branches;
next	1.9;

1.9
date	2002.08.04.22.23.47;	author fjoe;	state Exp;
branches;
next	1.8;

1.8
date	2002.07.03.14.31.52;	author markm;	state Exp;
branches;
next	1.7;

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

1.6
date	2001.02.13.16.56.59;	author assar;	state Exp;
branches;
next	1.5;

1.5
date	2000.03.23.14.56.40;	author markm;	state Exp;
branches;
next	1.4;

1.4
date	2000.03.01.13.50.39;	author markm;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2000.02.28.19.15.16;	author markm;	state Exp;
branches;
next	1.2;

1.2
date	2000.02.24.21.15.06;	author markm;	state Exp;
branches;
next	1.1;

1.1
date	2000.01.15.21.38.05;	author markm;	state Exp;
branches
	1.1.1.1;
next	;

1.4.2.1
date	2001.03.04.13.50.10;	author markm;	state Exp;
branches;
next	1.4.2.2;

1.4.2.2
date	2002.07.25.09.33.15;	author ru;	state Exp;
branches;
next	1.4.2.3;

1.4.2.3
date	2003.08.27.08.22.00;	author mr;	state Exp;
branches;
next	1.4.2.4;

1.4.2.4
date	2012.11.17.07.23.14;	author svnexp;	state Exp;
branches;
next	;

1.1.1.1
date	2000.01.15.21.38.05;	author markm;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Post KerberosIV de-orbit: Clean up Kerberos5. We dont need KerberosIV
compatiblity mode anymore. Rename the k5foo utils to kfoo (after
repo-copy).
@
text
@# $FreeBSD: src/kerberos5/usr.bin/k5admin/Makefile,v 1.10 2003/03/08 08:57:56 marcel Exp $

PROG=		k5admin
SRCS=		\
	ank.c					\
	cpw.c					\
	del.c					\
	del_enctype.c				\
	dump.c					\
	ext.c					\
	get.c					\
	init.c					\
	kadmin.c				\
	load.c					\
	mod.c					\
	rename.c				\
	util.c					\
	random_password.c			\
	kadmin_locl.h				\
	krb5_err.h heim_err.h hdb_err.h		\
	kadm5/private.h				\
	kadm5/admin.h				\
	kadm5/kadm5_err.h

CFLAGS+=	-I${KRB5DIR}/include \
		-I${KRB5DIR}/lib/roken \
		-I${KRB5DIR}/lib/krb5 \
		-I${KRB5DIR}/lib/asn1 \
		-I${KRB5DIR}/lib/hdb \
		-I${KRB5DIR}/lib/sl \
		-I${KRB5DIR}/lib/kadm5 \
		-I${KRB5DIR}/kadmin \
		-I${ASN1OBJDIR} \
		-I${HDBOBJDIR} \
		-I${.OBJDIR}
.if defined(MAKE_KERBEROS4)
_krb4libs=	-lkrb -lkafs
_krb4deps=	${LIBKRB} ${LIBKAFS}
.endif
LDADD=		-L${KRB5OBJDIR} -lkrb5 \
		-L${ROKENOBJDIR} -lroken \
		-L${VERSOBJDIR} -lvers \
		${_krb4libs} \
		-L${KADM5COBJDIR} -lkadm5clnt -L${KADM5SOBJDIR} -lkadm5srv \
		-L${HDBOBJDIR} -lhdb \
		-L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lcom_err \
		-L${SLOBJDIR} -lsl -lreadline
DPADD=		${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} ${_krb4deps} \
		${LIBKADM5CLNT} ${LIBKADM5SRV} ${LIBHDB} \
		${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR} \
		${LIBSL} ${LIBREADLINE}
MAN=		k5admin.8

.include <bsd.prog.mk>

.PATH:	${KRB5DIR}/kadmin

kadm5/private.h:	kadm5
	cat ${KRB5DIR}/lib/kadm5/private.h > ${.TARGET}

kadm5/admin.h:	kadm5
	cat ${KRB5DIR}/lib/kadm5/admin.h > ${.TARGET}

kadm5/kadm5_err.h: kadm5 kadm5_err.h
	cd ${.OBJDIR}/kadm5 && ln -sf ../kadm5_err.h

kadm5:
	mkdir ${.TARGET}

k5admin.8:	kadmin.8
	ln -sf ${.OODATE} ${.TARGET}

CLEANFILES+=	kadm5/private.h kadm5/admin.h kadm5/kadm5_err.h
CLEANDIRS+=	kadm5
@


1.10
log
@Don't copy headers from the source tree to the object tree without
making sure the copies in the object tree are writable. When files
in the source tree are not writable (as would be the case for a p4
tree) then a buildworld -DNOCLEAN will try to copy over the existing
non-writable headers. This fails. Instead we cat the headers with
redirection. This is just one of the possibilities.
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.9
log
@Kerberos 5 no longer needs -lmd

Approved by:	nectar
@
text
@d59 1
a59 1
	cp ${KRB5DIR}/lib/kadm5/private.h ${.TARGET}
d62 1
a62 1
	cp ${KRB5DIR}/lib/kadm5/admin.h ${.TARGET}
@


1.8
log
@Give k5admin a manpage.
@
text
@d46 1
a46 1
		-L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lmd -lcom_err \
d50 1
a50 1
		${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBMD} ${LIBCOM_ERR} \
@


1.7
log
@Milestone #1 in cross-arch make releases.

Do not install games and profiled libraries to the ${CHROOTDIR}
with the initial installworld.

Eliminate the need in the second installworld.  For that, make sure
_everything_ is built in the "world" environment, using the right
tool chain.

Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1.  Split the
buildworld process into stages, and skip some stages when
SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5
dists).

Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running
makewhatis(1) at the end of installworld (used when making crypto,
krb4, and krb5 dists).

In release/scripts/doFS.sh, ensure that the correct boot blocks are
used.

Moved the creation of the "crypto" dist from release.5 to
release.2.

In release.3 and doMFSKERN, build kernels in the "world"
environment.  KERNELS now means "additional" kernels, GENERIC is
always built.

Ensure we build crunched binaries in the "world" environment.
Obfuscate release/Makefile some more (WMAKEENV) to achieve this.

Inline createBOOTMFS target.

Use already built GENERIC kernel modules to augment mfsfd's
/stand/modules.  GC doMODULES as such.

Assorted fixes:

Get rid of the "afterdistribute" target by moving the single use
of it from sys/Makefile to etc/Makefile's "distribute".

Makefile.inc1: apparently "etc" no longer needs to be last for
"distribute" to succeed.

gnu/usr.bin/perl/library/Makefile.inc: do not override the
"install" and "distribute" targets, do it the "canonical" way.

release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and
catpages appear in the right dists.  Note that because Perl does
not respect the MANBUILDCAT (and NOMAN), this results in a loss of
/usr/share/perl/man/cat* empty directories.  This will be fixed
soon.

Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it
means "make KerberosIV"), as documented in the make.conf(5)
manpage.  Most of the userland makefiles did not test it for "YES"
anyway.

XXX Should specialized kerberized libpam versions be included into
the krb4 and krb5 dists?  (libpam.a would be incorrect anyway if
both krb4 and krb5 dists were choosen.)

Make sure "games" dist is made before "catpages", otherwise games
catpages settle in the wrong dist.

Fast build machine provided by: Igor Kucherenko <kivvy@@sunbay.com>
@
text
@d52 1
a52 1
NOMAN=		yes
d69 3
@


1.6
log
@update build infrastructure for heimdal 0.3e
@
text
@d1 1
a1 1
# $FreeBSD: src/kerberos5/usr.bin/k5admin/Makefile,v 1.5 2000/03/23 14:56:40 markm Exp $
d36 1
a36 2
.if defined(MAKE_KERBEROS4) && \
	(${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes")
@


1.5
log
@Properly separate the K5-only buld from K4.

Submitted by:	sheldonh
@
text
@d1 1
a1 1
# $FreeBSD: src/kerberos5/usr.bin/k5admin/Makefile,v 1.4 2000/03/01 13:50:39 markm Exp $
d4 21
a24 4
SRCS=		kadmin.c ank.c cpw.c del.c del_enctype.c get.c rename.c util.c \
		ext.c mod.c init.c dump.c load.c random_password.c \
		krb5_err.h heim_err.h hdb_err.h \
		kadm5/private.h kadm5/admin.h kadm5/kadm5_err.h
d31 1
d42 3
a44 1
		-L${ROKENOBJDIR} -lroken ${_krb4libs} \
@


1.4
log
@KerberosIV is no longer compulsory. This should fix "make release".
@
text
@d1 1
a1 1
# $FreeBSD: src/kerberos5/usr.bin/k5admin/Makefile,v 1.3 2000/02/28 19:15:16 markm Exp $
d18 2
a19 1
.if defined(MAKE_KERBEROS4)
@


1.4.2.1
log
@MFC: Heimdal 0.3e build stuff.
@
text
@d1 1
a1 1
# $FreeBSD$
d4 4
a7 21
SRCS=		\
	ank.c					\
	cpw.c					\
	del.c					\
	del_enctype.c				\
	dump.c					\
	ext.c					\
	get.c					\
	init.c					\
	kadmin.c				\
	load.c					\
	mod.c					\
	rename.c				\
	util.c					\
	random_password.c			\
	kadmin_locl.h				\
	krb5_err.h heim_err.h hdb_err.h		\
	kadm5/private.h				\
	kadm5/admin.h				\
	kadm5/kadm5_err.h

a13 1
		-I${KRB5DIR}/lib/kadm5 \
d18 1
a18 2
.if defined(MAKE_KERBEROS4) && \
	(${MAKE_KERBEROS4} == "YES" || ${MAKE_KERBEROS4} == "yes")
d23 1
a23 3
		-L${ROKENOBJDIR} -lroken \
		-L${VERSOBJDIR} -lvers \
		${_krb4libs} \
@


1.4.2.2
log
@MFC: cross-release support.

Assorted fixes:

- Changed the way the `catpages' dist is built (all MD catpages
  were missing before).

- Perl manpages now end up in the `manpage' dist.

- Clean up the `dict' dist generation script.

- Diff reduction to -CURRENT.
@
text
@d36 2
a37 1
.if defined(MAKE_KERBEROS4)
@


1.4.2.3
log
@MFC optional (default off) compile-time support for openldap in heimdal.
Support is enabled by setting WITH_OPENLDAP.

Approved by:	re
@
text
@d35 1
a35 2
		-I${.OBJDIR} \
		${LDAPCFLAGS}
d47 1
a47 1
		-L${SLOBJDIR} -lsl -lreadline ${LDAPLDADD}
d51 1
a51 1
		${LIBSL} ${LIBREADLINE} ${LDAPLIBS}
@


1.4.2.4
log
@Switch importer
@
text
@d1 1
a1 1
# $FreeBSD: stable/4/kerberos5/usr.bin/k5admin/Makefile 119499 2003-08-27 08:22:00Z mr $
@


1.3
log
@Remove largescale evidence of crack-smoking.

Where a k4 applet has a k5 namesake, rename the k5 version
from k<app> to k5<app>. (Repo copy done).

Do some repairs to dependancies to support make world properly.
@
text
@d1 1
a1 1
# $FreeBSD: src/kerberos5/usr.bin/k5admin/Makefile,v 1.2 2000/02/24 21:15:06 markm Exp $
d18 1
a18 1
.if defined(KRB5_KRB4_COMPAT)
d22 1
a22 1
LDADD=		-L${KRB5OBJDIR} -lkrb5 -L${KAFS5OBJDIR} -lkafs5 \
@


1.2
log
@Use libcrypto instead of libdes. Upgrade for Heimdal-0.2p
@
text
@d1 1
a1 1
# $FreeBSD: src/kerberos5/usr.bin/kadmin/Makefile,v 1.1.1.1 2000/01/15 21:38:05 markm Exp $
d3 1
a3 1
PROG=		kadmin
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $FreeBSD$
d26 1
a26 1
		-L${ASN1OBJDIR} -lasn1 -ldes -lcrypt -lcom_err \
d30 2
a31 2
		${LIBASN1} ${LIBDES} ${LIBCRYPT} ${LIBCOM_ERR} ${LIBSL} \
		${LIBREADLINE}
@


1.1.1.1
log
@Userland build of Kerberos5 (AKA Heimdal). More to come.

This is not ready for primetime yet! Please hold off on the bug reports.
@
text
@@
