mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-19 09:44:30 +01:00
b1ebdd50cb
These are the start of a lot of work to clean up the FreeBSD eBones code. these changes include, but are not limited to: - Create prototypes for all the library routines - Make all the libraries compile clean with -Wall set - Fix numerous small bugs shown up in the above process - Prepare the code for libdes's removal to secure/ - add register, registerd and make_keypair to the make Lots more will follow in days to come. OK'ed by: rgrimes
35 lines
1.3 KiB
Makefile
35 lines
1.3 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
|
|
|
|
.include <bsd.lib.mk>
|