1994-09-30 15:50:09 +01:00
|
|
|
# From: @(#)Makefile 5.1 (Berkeley) 6/25/90
|
1995-08-26 00:52:32 +02:00
|
|
|
# $Id: Makefile,v 1.5 1995/07/18 16:38:02 mark Exp $
|
1994-09-30 15:50:09 +01:00
|
|
|
|
|
|
|
LIB= krb
|
|
|
|
SHLIB_MAJOR= 2
|
|
|
|
SHLIB_MINOR= 0
|
1995-08-26 00:52:32 +02:00
|
|
|
CFLAGS+=-DKERBEROS -DCRYPT -DDEBUG -I${.CURDIR}/../include -DBSD42 -Wall
|
1995-01-20 02:12:19 +01:00
|
|
|
SRCS= krb_err.c create_auth_reply.c create_ciph.c \
|
1994-09-30 15:50:09 +01:00
|
|
|
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}/..
|
1995-01-20 02:12:19 +01:00
|
|
|
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
|
1995-01-20 02:44:47 +01:00
|
|
|
LDADD+= -lcom_err
|
1994-09-30 15:50:09 +01:00
|
|
|
|
1995-01-20 02:12:19 +01:00
|
|
|
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
|
1994-09-30 15:50:09 +01:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|