A more correct fix for the new compile_et. Also, add beforeinstall
rule to ensure that krb_err.h gets installed (some other programs need it).
This commit is contained in:
parent
562e312d13
commit
3df56e5197
@ -1,11 +1,11 @@
|
||||
# From: @(#)Makefile 5.1 (Berkeley) 6/25/90
|
||||
# $Id: Makefile,v 1.2 1995/01/14 20:51:05 wollman Exp $
|
||||
# $Id: Makefile,v 1.3 1995/01/14 22:32:48 wollman Exp $
|
||||
|
||||
LIB= krb
|
||||
SHLIB_MAJOR= 2
|
||||
SHLIB_MINOR= 0
|
||||
CFLAGS+=-DKERBEROS -DCRYPT -DDEBUG -I${.CURDIR}/../include -DBSD42
|
||||
SRCS= create_auth_reply.c create_ciph.c \
|
||||
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 \
|
||||
@ -20,11 +20,14 @@ SRCS= create_auth_reply.c create_ciph.c \
|
||||
tkt_string.c util.c
|
||||
|
||||
TDIR= ${.CURDIR}/..
|
||||
krb_err.et.c: krb_err.et
|
||||
${COMPILE_ET} ${.CURDIR}/krb_err.et
|
||||
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
|
||||
|
||||
beforedepend: krb_err.et.c
|
||||
|
||||
CLEANFILES+= krb_err.et.c krb_err.h
|
||||
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>
|
||||
|
@ -1,11 +1,11 @@
|
||||
# From: @(#)Makefile 5.1 (Berkeley) 6/25/90
|
||||
# $Id: Makefile,v 1.2 1995/01/14 20:51:05 wollman Exp $
|
||||
# $Id: Makefile,v 1.3 1995/01/14 22:32:48 wollman Exp $
|
||||
|
||||
LIB= krb
|
||||
SHLIB_MAJOR= 2
|
||||
SHLIB_MINOR= 0
|
||||
CFLAGS+=-DKERBEROS -DCRYPT -DDEBUG -I${.CURDIR}/../include -DBSD42
|
||||
SRCS= create_auth_reply.c create_ciph.c \
|
||||
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 \
|
||||
@ -20,11 +20,14 @@ SRCS= create_auth_reply.c create_ciph.c \
|
||||
tkt_string.c util.c
|
||||
|
||||
TDIR= ${.CURDIR}/..
|
||||
krb_err.et.c: krb_err.et
|
||||
${COMPILE_ET} ${.CURDIR}/krb_err.et
|
||||
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
|
||||
|
||||
beforedepend: krb_err.et.c
|
||||
|
||||
CLEANFILES+= krb_err.et.c krb_err.h
|
||||
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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user