2000-01-15 21:38:08 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2000-02-28 19:15:32 +00:00
|
|
|
PROG= k5admin
|
2001-02-13 16:57:04 +00:00
|
|
|
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
|
|
|
|
|
2000-01-15 21:38:08 +00:00
|
|
|
CFLAGS+= -I${KRB5DIR}/include \
|
|
|
|
-I${KRB5DIR}/lib/roken \
|
|
|
|
-I${KRB5DIR}/lib/krb5 \
|
|
|
|
-I${KRB5DIR}/lib/asn1 \
|
|
|
|
-I${KRB5DIR}/lib/hdb \
|
|
|
|
-I${KRB5DIR}/lib/sl \
|
2001-02-13 16:57:04 +00:00
|
|
|
-I${KRB5DIR}/lib/kadm5 \
|
2000-01-15 21:38:08 +00:00
|
|
|
-I${KRB5DIR}/kadmin \
|
|
|
|
-I${ASN1OBJDIR} \
|
|
|
|
-I${HDBOBJDIR} \
|
|
|
|
-I${.OBJDIR}
|
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>
2002-04-26 17:55:27 +00:00
|
|
|
.if defined(MAKE_KERBEROS4)
|
2000-01-15 21:38:08 +00:00
|
|
|
_krb4libs= -lkrb -lkafs
|
|
|
|
_krb4deps= ${LIBKRB} ${LIBKAFS}
|
|
|
|
.endif
|
2000-03-01 13:50:48 +00:00
|
|
|
LDADD= -L${KRB5OBJDIR} -lkrb5 \
|
2001-02-13 16:57:04 +00:00
|
|
|
-L${ROKENOBJDIR} -lroken \
|
|
|
|
-L${VERSOBJDIR} -lvers \
|
|
|
|
${_krb4libs} \
|
2000-01-15 21:38:08 +00:00
|
|
|
-L${KADM5COBJDIR} -lkadm5clnt -L${KADM5SOBJDIR} -lkadm5srv \
|
|
|
|
-L${HDBOBJDIR} -lhdb \
|
2000-02-24 21:15:14 +00:00
|
|
|
-L${ASN1OBJDIR} -lasn1 -lcrypto -lcrypt -lmd -lcom_err \
|
2000-01-15 21:38:08 +00:00
|
|
|
-L${SLOBJDIR} -lsl -lreadline
|
|
|
|
DPADD= ${LIBKRB5} ${LIBKAFS5} ${LIBROKEN} ${_krb4deps} \
|
|
|
|
${LIBKADM5CLNT} ${LIBKADM5SRV} ${LIBHDB} \
|
2000-02-24 21:15:14 +00:00
|
|
|
${LIBASN1} ${LIBCRYPTO} ${LIBCRYPT} ${LIBMD} ${LIBCOM_ERR} \
|
|
|
|
${LIBSL} ${LIBREADLINE}
|
2000-01-15 21:38:08 +00:00
|
|
|
NOMAN= yes
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
|
|
|
|
.PATH: ${KRB5DIR}/kadmin
|
|
|
|
|
|
|
|
kadm5/private.h: kadm5
|
|
|
|
cp ${KRB5DIR}/lib/kadm5/private.h ${.TARGET}
|
|
|
|
|
|
|
|
kadm5/admin.h: kadm5
|
|
|
|
cp ${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}
|
|
|
|
|
|
|
|
CLEANFILES+= kadm5/private.h kadm5/admin.h kadm5/kadm5_err.h
|
|
|
|
CLEANDIRS+= kadm5
|