freebsd-dev/kerberosIV/Makefile
Ruslan Ermilov 6bde859f40 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

37 lines
1018 B
Makefile

# $FreeBSD$
MAINTAINER= markm@FreeBSD.org
SUBDIR= include lib libexec usr.bin usr.sbin
# These are the programs which depend on Kerberos.
KPROGS= bin/rcp libexec/ftpd libexec/rlogind libexec/rshd \
sbin/dump sbin/restore usr.bin/login usr.bin/passwd \
usr.bin/rlogin usr.bin/rsh usr.bin/su
# kerberosIV'ed cvs is broken
#KPROGS+=gnu/usr.bin/cvs
# This target is used to rebuild these programs WITH Kerberos.
kerberize:
.for entry in ${KPROGS}
cd ${.CURDIR}/../${entry}; \
${MAKE} ${MFLAGS} -DMAKE_KERBEROS4 cleandir; \
${MAKE} ${MFLAGS} -DMAKE_KERBEROS4 obj; \
${MAKE} ${MFLAGS} -DMAKE_KERBEROS4 depend; \
${MAKE} ${MFLAGS} -DMAKE_KERBEROS4 all; \
${MAKE} ${MFLAGS} -DMAKE_KERBEROS4 install
.endfor
# This target is used to rebuild these programs WITHOUT Kerberos.
dekerberize:
.for entry in ${KPROGS}
cd ${.CURDIR}/../${entry}; \
${MAKE} ${MFLAGS} cleandir; \
${MAKE} ${MFLAGS} obj; \
${MAKE} ${MFLAGS} depend; \
${MAKE} ${MFLAGS} all; \
${MAKE} ${MFLAGS} install
.endfor
.include <bsd.subdir.mk>