mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
d79d4a7ced
- Get all functions prototyped or at least defined before use. - Make code compile (Mostly) clean with -Wall set - Start to reduce the degree to which DES aka libdes is built in. - get all functions to the same uniform standard of definition: int foo(a, b) int a; int *b; { : } - fix numerous bugs exposed by above processes. Note - this replaces the previous work which used an unpopular function definition style.
59 lines
1.7 KiB
Makefile
59 lines
1.7 KiB
Makefile
# From: @(#)Makefile 5.1 (Berkeley) 6/25/90
|
|
# $Id: Makefile,v 1.14 1995/07/18 16:34:20 mark Exp $
|
|
|
|
SUBDIR= include des acl kdb krb libkadm
|
|
|
|
SUBDIR+= ext_srvtab kdb_destroy kdb_edit \
|
|
kdb_init kdb_util kdestroy kerberos kinit klist ksrvtgt \
|
|
kstash kadmin kadmind ksrvutil man register registerd make_keypair
|
|
|
|
CFLAGS+= -Wall
|
|
|
|
SDIR= ${.CURDIR}/..
|
|
|
|
CODAI= ${MAKE} ${MFLAGS} cleandir; \
|
|
${MAKE} ${MFLAGS} obj; \
|
|
${MAKE} ${MFLAGS} depend all install
|
|
|
|
CODAD= ${MAKE} ${MFLAGS} MAKE_EBONES=yes cleandir; \
|
|
${MAKE} ${MFLAGS} MAKE_EBONES=yes obj; \
|
|
${MAKE} ${MFLAGS} MAKE_EBONES=yes depend all distribute
|
|
|
|
# These are the programs which depend on kerberos
|
|
kprog:
|
|
cd ${SDIR}/bin/rcp; ${CODAI}
|
|
cd ${SDIR}/libexec/rlogind; ${CODAI}
|
|
cd ${SDIR}/libexec/rshd; ${CODAI}
|
|
cd ${SDIR}/sbin/mount_nfs; ${CODAI}
|
|
cd ${SDIR}/sbin/nfsd; ${CODAI}
|
|
cd ${SDIR}/usr.bin/login; ${CODAI}
|
|
cd ${SDIR}/usr.bin/passwd; ${CODAI}
|
|
cd ${SDIR}/usr.bin/rlogin; ${CODAI}
|
|
cd ${SDIR}/usr.bin/rsh; ${CODAI}
|
|
cd ${SDIR}/usr.bin/su; ${CODAI}
|
|
|
|
bootstrap:
|
|
( cd include; ${MAKE} ${MFLAGS} install )
|
|
( cd des; ${MAKE} ${MFLAGS} depend all install )
|
|
${MAKE} ${MFLAGS} cleandir
|
|
${MAKE} ${MFLAGS} obj
|
|
@echo removing old 1.1.5 Kerberos libraries
|
|
rm -f /usr/lib/libkrb.so.4.0
|
|
rm -f /usr/lib/libdes.so.4.0
|
|
rm -f /usr/lib/libkdb.so.4.0
|
|
${MAKE} ${MFLAGS} depend all install kprog
|
|
|
|
help-distribute: distribute
|
|
cd ${SDIR}/bin/rcp; ${CODAD}
|
|
cd ${SDIR}/libexec/rlogind; ${CODAD}
|
|
cd ${SDIR}/libexec/rshd; ${CODAD}
|
|
cd ${SDIR}/sbin/mount_nfs; ${CODAD}
|
|
cd ${SDIR}/sbin/nfsd; ${CODAD}
|
|
cd ${SDIR}/usr.bin/login; ${CODAD}
|
|
cd ${SDIR}/usr.bin/passwd; ${CODAD}
|
|
cd ${SDIR}/usr.bin/rlogin; ${CODAD}
|
|
cd ${SDIR}/usr.bin/rsh; ${CODAD}
|
|
cd ${SDIR}/usr.bin/su; ${CODAD}
|
|
|
|
.include <bsd.subdir.mk>
|
|
|