1994-09-30 15:50:09 +01:00
|
|
|
# From: @(#)Makefile.inc 5.1 (Berkeley) 6/25/90
|
1997-02-22 14:40:44 +00:00
|
|
|
# $Id$
|
1994-09-30 15:50:09 +01:00
|
|
|
|
1994-11-20 23:16:51 +00:00
|
|
|
DISTRIBUTION= krb
|
1994-09-30 15:50:09 +01:00
|
|
|
|
1997-02-09 15:44:13 +00:00
|
|
|
.if exists(${.OBJDIR}/../../lib/libtelnet)
|
|
|
|
TELNETOBJDIR= ${.OBJDIR}/../../lib/libtelnet
|
1996-10-26 18:20:52 +01:00
|
|
|
.else
|
|
|
|
TELNETOBJDIR= ${.CURDIR}/../../lib/libtelnet
|
|
|
|
.endif
|
|
|
|
|
1996-06-24 05:26:21 +01:00
|
|
|
.if exists(${.OBJDIR}/../../../secure/lib/libdes)
|
|
|
|
DESOBJDIR= ${.OBJDIR}/../../../secure/lib/libdes
|
1994-09-30 15:50:09 +01:00
|
|
|
.else
|
1996-02-11 08:52:29 +00:00
|
|
|
DESOBJDIR= ${.CURDIR}/../../../secure/lib/libdes
|
1994-09-30 15:50:09 +01:00
|
|
|
.endif
|
|
|
|
|
1996-06-24 05:26:21 +01:00
|
|
|
.if exists(${.OBJDIR}/../../lib/libkrb)
|
|
|
|
KRBOBJDIR= ${.OBJDIR}/../../lib/libkrb
|
1994-09-30 15:50:09 +01:00
|
|
|
.else
|
1995-09-14 05:00:59 +01:00
|
|
|
KRBOBJDIR= ${.CURDIR}/../../lib/libkrb
|
1994-09-30 15:50:09 +01:00
|
|
|
.endif
|
|
|
|
|
1996-06-24 05:26:21 +01:00
|
|
|
.if exists(${.OBJDIR}/../../lib/libkdb)
|
1996-07-01 07:34:27 +01:00
|
|
|
KDBOBJDIR= ${.OBJDIR}/../../lib/libkdb
|
1994-09-30 15:50:09 +01:00
|
|
|
.else
|
1995-09-14 05:00:59 +01:00
|
|
|
KDBOBJDIR= ${.CURDIR}/../../lib/libkdb
|
1994-09-30 15:50:09 +01:00
|
|
|
.endif
|
|
|
|
|
1996-06-24 05:26:21 +01:00
|
|
|
.if exists(${.OBJDIR}/../../lib/libacl)
|
|
|
|
ACLOBJDIR= ${.OBJDIR}/../../lib/libacl
|
1994-09-30 15:50:09 +01:00
|
|
|
.else
|
1995-09-14 05:00:59 +01:00
|
|
|
ACLOBJDIR= ${.CURDIR}/../../lib/libacl
|
1994-09-30 15:50:09 +01:00
|
|
|
.endif
|
|
|
|
|
1996-06-24 05:26:21 +01:00
|
|
|
.if exists(${.OBJDIR}/../../lib/libkadm)
|
|
|
|
KADMOBJDIR= ${.OBJDIR}/../../lib/libkadm
|
1995-01-20 02:49:47 +00:00
|
|
|
.else
|
1995-09-14 05:00:59 +01:00
|
|
|
KADMOBJDIR= ${.CURDIR}/../../lib/libkadm
|
1995-01-20 02:49:47 +00:00
|
|
|
.endif
|
|
|
|
|
1996-06-24 05:26:21 +01:00
|
|
|
.if exists(${.OBJDIR}/../../lib/librkinit)
|
|
|
|
RKINITOBJDIR= ${.OBJDIR}/../../lib/librkinit
|
1995-09-15 07:20:48 +01:00
|
|
|
.else
|
|
|
|
RKINITOBJDIR= ${.CURDIR}/../../lib/librkinit
|
|
|
|
.endif
|
|
|
|
|
1996-02-11 08:52:29 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../../secure/lib/libdes -I${.CURDIR}/../../include -Wall
|
1995-09-14 05:00:59 +01:00
|
|
|
|
1995-01-14 20:50:37 +00:00
|
|
|
COMPILE_ET= compile_et
|
1995-01-20 02:49:47 +00:00
|
|
|
|
1995-09-14 05:00:59 +01:00
|
|
|
${KRBOBJDIR}/krb_err.h: ${.CURDIR}/../../lib/libkrb/krb_err.et
|
1995-09-14 19:16:18 +01:00
|
|
|
test -e ${KRBOBJDIR}/krb_err.et || ln -s ${.ALLSRC} ${KRBOBJDIR}
|
1995-09-14 05:00:59 +01:00
|
|
|
cd ${KRBOBJDIR}; compile_et krb_err.et
|
|
|
|
|
|
|
|
CLEANFILES+=${KRBOBJDIR}/krb_err.h ${KRBOBJDIR}/krb_err.c
|
|
|
|
|
|
|
|
${KADMOBJDIR}/kadm_err.h: ${.CURDIR}/../../lib/libkadm/kadm_err.et
|
1995-09-14 19:16:18 +01:00
|
|
|
test -e ${KADMOBJDIR}/kadm_err.et || ln -s ${.ALLSRC} ${KADMOBJDIR}
|
1995-09-14 05:00:59 +01:00
|
|
|
cd ${KADMOBJDIR}; compile_et kadm_err.et
|
|
|
|
|
|
|
|
CLEANFILES+=${KADMOBJDIR}/kadm_err.h ${KADMOBJDIR}/kadm_err.c
|
1995-09-15 07:20:48 +01:00
|
|
|
|
|
|
|
${RKINITOBJDIR}/rkinit_err.h: ${.CURDIR}/../../lib/librkinit/rkinit_err.et
|
|
|
|
test -e ${RKINITOBJDIR}/rkinit_err.et || \
|
|
|
|
ln -s ${.ALLSRC} ${RKINITOBJDIR}
|
|
|
|
cd ${RKINITOBJDIR}; compile_et rkinit_err.et
|
|
|
|
|
|
|
|
CLEANFILES+=${RKINITOBJDIR}/rkinit_err.h ${RKINITOBJDIR}/rkinit_err.c
|