mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-22 08:53:41 +01: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.
57 lines
2.1 KiB
Makefile
57 lines
2.1 KiB
Makefile
# From: @(#)Makefile 5.1 (Berkeley) 6/25/90
|
|
# $Id: Makefile,v 1.5 1995/07/18 16:38:02 mark Exp $
|
|
|
|
LIB= krb
|
|
SHLIB_MAJOR= 2
|
|
SHLIB_MINOR= 0
|
|
CFLAGS+=-DKERBEROS -DCRYPT -DDEBUG -I${.CURDIR}/../include -DBSD42 -Wall
|
|
SRCS= krb_err.c create_auth_reply.c create_ciph.c \
|
|
create_death_packet.c create_ticket.c debug_decl.c decomp_ticket.c \
|
|
des_rw.c dest_tkt.c extract_ticket.c fgetst.c get_ad_tkt.c \
|
|
get_admhst.c get_cred.c get_in_tkt.c get_krbhst.c get_krbrlm.c \
|
|
get_phost.c get_pw_tkt.c get_request.c get_svc_in_tkt.c \
|
|
get_tf_fullname.c get_tf_realm.c getrealm.c getst.c in_tkt.c \
|
|
k_gethostname.c klog.c kname_parse.c kntoln.c kparse.c \
|
|
krb_err_txt.c krb_get_in_tkt.c kuserok.c log.c mk_err.c \
|
|
mk_priv.c mk_req.c mk_safe.c month_sname.c \
|
|
netread.c netwrite.c one.c pkt_cipher.c pkt_clen.c rd_err.c \
|
|
rd_priv.c rd_req.c rd_safe.c read_service_key.c recvauth.c \
|
|
save_credentials.c send_to_kdc.c sendauth.c stime.c tf_util.c \
|
|
tkt_string.c util.c
|
|
|
|
TDIR= ${.CURDIR}/..
|
|
krb_err.c krb_err.h: krb_err.et
|
|
test -e krb_err.et || ln -s ${.CURDIR}/krb_err.et .
|
|
${COMPILE_ET} krb_err.et
|
|
LDADD+= -lcom_err
|
|
|
|
beforeinstall:
|
|
-cd ${.OBJDIR}; cmp -s krb_err.h \
|
|
${DESTDIR}/usr/include/kerberosIV/krb_err.h || \
|
|
install -c -o ${BINOWN} -g ${BINGRP} -m 444 krb_err.h \
|
|
${DESTDIR}/usr/include/kerberosIV
|
|
|
|
MAN3= krb.3 krb_realmofhost.3 krb_sendauth.3 krb_set_tkt_string.3 \
|
|
kuserok.3 tf_util.3
|
|
|
|
MLINKS= krb.3 krb_mk_req.3 krb.3 krb_rd_req.3 krb.3 krb_kntoln.3 \
|
|
krb.3 krb_set_key.3 krb.3 krb_get_cred.3 krb.3 krb_mk_priv.3 \
|
|
krb.3 krb_rd_priv.3 krb.3 krb_mk_safe.3 krb.3 krb_rd_safe.3 \
|
|
krb.3 krb_mk_err.3 krb.3 krb_rd_err.3 krb.3 krb_ck_repl.3
|
|
|
|
MLINKS+=krb_realmofhost.3 krb_get_phost.3 krb_realmofhost.3 krb_get_krbhst.3 \
|
|
krb_realmofhost.3 krb_get_admhst.3 krb_realmofhost.3 krb_get_lrealm.3
|
|
|
|
MLINKS+=krb_realmofhost.3 realm.3
|
|
|
|
MLINKS+=krb_sendauth.3 krb_recvauth.3 krb_sendauth.3 krb_net_write.3 \
|
|
krb_sendauth.3 krb_net_read.3
|
|
|
|
MLINKS+=krb_sendauth.3 ksend.3
|
|
|
|
MLINKS+=tf_util.3 tf_init.3 tf_util.3 tf_get_pname.3 \
|
|
tf_util.3 tf_get_pinst.3 tf_util.3 tf_get_cred.3 \
|
|
tf_util.3 tf_close.3
|
|
|
|
.include <bsd.lib.mk>
|