5 .if !defined(INCLUDEOBJDIR)
7 KRB4DIR= ${.CURDIR}/../../../crypto/kerberosIV
8 TELNETDIR= ${.CURDIR}/../../../crypto/telnet
10 .if exists(${.OBJDIR}/../../include)
11 INCLUDEOBJDIR= ${.OBJDIR}/../../include
13 INCLUDEOBJDIR= ${.CURDIR}/../../include
16 .if exists(${.OBJDIR}/../../lib/libacl)
17 ROKENOBJDIR= ${.OBJDIR}/../../../kerberosIV/lib/libroken
19 ROKENOBJDIR= ${.CURDIR}/../../../kerberosIV/lib/libroken
22 .if exists(${.OBJDIR}/../../lib/libacl)
23 ACLOBJDIR= ${.OBJDIR}/../../lib/libacl
25 ACLOBJDIR= ${.CURDIR}/../../lib/libacl
28 .if exists(${.OBJDIR}/../../lib/libkadm)
29 KADMOBJDIR= ${.OBJDIR}/../../lib/libkadm
31 KADMOBJDIR= ${.CURDIR}/../../lib/libkadm
34 .if exists(${.OBJDIR}/../../lib/libkafs)
35 KAFSOBJDIR= ${.OBJDIR}/../../lib/libkafs
37 KAFSOBJDIR= ${.CURDIR}/../../lib/libkafs
40 .if exists(${.OBJDIR}/../../lib/libkdb)
41 KDBOBJDIR= ${.OBJDIR}/../../lib/libkdb
43 KDBOBJDIR= ${.CURDIR}/../../lib/libkdb
46 .if exists(${.OBJDIR}/../../lib/libkrb)
47 KRBOBJDIR= ${.OBJDIR}/../../lib/libkrb
49 KRBOBJDIR= ${.CURDIR}/../../lib/libkrb
52 .if exists(${.OBJDIR}/../../lib/libroken)
53 ROKENOBJDIR= ${.OBJDIR}/../../lib/libroken
55 ROKENOBJDIR= ${.CURDIR}/../../lib/libroken
58 .if exists(${.OBJDIR}/../../lib/libsl)
59 SLOBJDIR= ${.OBJDIR}/../../lib/libsl
61 SLOBJDIR= ${.CURDIR}/../../lib/libsl
64 .if exists(${.OBJDIR}/../../lib/libtelnet)
65 LIBTELNET= ${.OBJDIR}/../../lib/libtelnet/libtelnet.a
67 LIBTELNET= ${.CURDIR}/../../lib/libtelnet/libtelnet.a
70 CFLAGS+= -I${.CURDIR}/../../include -Wall -DHAVE_CONFIG_H \
72 -DBINDIR=\"/usr/bin\" -DSBINDIR=\"/usr/sbin\" \
73 -DLIBEXECDIR=\"/usr/libexec\"
75 protos.h: ${KRB4DIR}/include/protos.H
76 ln -sf ${.ALLSRC} ${.TARGET}
78 COMPILE_ET= compile_et
80 .ORDER: ${KADMOBJDIR}/kadm_err.c ${KADMOBJDIR}/kadm_err.h
81 ${KADMOBJDIR}/kadm_err.c ${KADMOBJDIR}/kadm_err.h: ${KRB4DIR}/lib/kadm/kadm_err.et
82 test -e ${KADMOBJDIR}/kadm_err.et || ln -s ${.ALLSRC} ${KADMOBJDIR}
83 cd ${KADMOBJDIR}; ${COMPILE_ET} kadm_err.et
85 CLEANFILES+=${KADMOBJDIR}/kadm_err.h ${KADMOBJDIR}/kadm_err.c ${KADMOBJDIR}/kadm_err.et
87 .ORDER: ${KRBOBJDIR}/krb_err.c ${KRBOBJDIR}/krb_err.h
88 ${KRBOBJDIR}/krb_err.c ${KRBOBJDIR}/krb_err.h: ${KRB4DIR}/lib/krb/krb_err.et
89 test -e ${KRBOBJDIR}/krb_err.et || ln -s ${.ALLSRC} ${KRBOBJDIR}
90 cd ${KRBOBJDIR}; ${COMPILE_ET} krb_err.et
92 CLEANFILES+=${KRBOBJDIR}/krb_err.h ${KRBOBJDIR}/krb_err.c ${KRBOBJDIR}/krb_err.et
96 KRB4DIR= ${.CURDIR}/../../crypto/kerberosIV