1994-09-30 15:50:09 +01:00
|
|
|
# From: @(#)Makefile.inc 5.1 (Berkeley) 6/25/90
|
1995-09-14 20:16:18 +02:00
|
|
|
# $Id: Makefile.inc,v 1.7 1995/09/14 04:00:59 gibbs Exp $
|
1994-09-30 15:50:09 +01:00
|
|
|
|
1994-11-21 00:16:51 +01:00
|
|
|
DISTRIBUTION= krb
|
1994-09-30 15:50:09 +01:00
|
|
|
|
1995-09-14 20:16:18 +02:00
|
|
|
INCLUDEDIR= ${.CURDIR}/../../include
|
|
|
|
|
1995-09-14 06:00:59 +02:00
|
|
|
.if exists(${.CURDIR}/../../des/obj)
|
|
|
|
DESOBJDIR= ${.CURDIR}/../../des/obj
|
1994-09-30 15:50:09 +01:00
|
|
|
.else
|
1995-09-14 06:00:59 +02:00
|
|
|
DESOBJDIR= ${.CURDIR}/../../des
|
1994-09-30 15:50:09 +01:00
|
|
|
.endif
|
|
|
|
|
1995-09-14 06:00:59 +02:00
|
|
|
.if exists(${.CURDIR}/../../lib/libkrb/obj)
|
|
|
|
KRBOBJDIR= ${.CURDIR}/../../lib/libkrb/obj
|
1994-09-30 15:50:09 +01:00
|
|
|
.else
|
1995-09-14 06:00:59 +02:00
|
|
|
KRBOBJDIR= ${.CURDIR}/../../lib/libkrb
|
1994-09-30 15:50:09 +01:00
|
|
|
.endif
|
|
|
|
|
1995-09-14 06:00:59 +02:00
|
|
|
.if exists(${.CURDIR}/../../lib/libkdb/obj)
|
|
|
|
KDBOBJDIR= ${.CURDIR}/../../lib/libkdb/obj
|
1994-09-30 15:50:09 +01:00
|
|
|
.else
|
1995-09-14 06:00:59 +02:00
|
|
|
KDBOBJDIR= ${.CURDIR}/../../lib/libkdb
|
1994-09-30 15:50:09 +01:00
|
|
|
.endif
|
|
|
|
|
1995-09-14 06:00:59 +02:00
|
|
|
.if exists(${.CURDIR}/../../lib/libacl/obj)
|
|
|
|
ACLOBJDIR= ${.CURDIR}/../../lib/libacl/obj
|
1994-09-30 15:50:09 +01:00
|
|
|
.else
|
1995-09-14 06:00:59 +02:00
|
|
|
ACLOBJDIR= ${.CURDIR}/../../lib/libacl
|
1994-09-30 15:50:09 +01:00
|
|
|
.endif
|
|
|
|
|
1995-09-14 06:00:59 +02:00
|
|
|
.if exists(${.CURDIR}/../../lib/libkadm/obj)
|
|
|
|
KADMOBJDIR= ${.CURDIR}/../../lib/libkadm/obj
|
1995-01-20 03:49:47 +01:00
|
|
|
.else
|
1995-09-14 06:00:59 +02:00
|
|
|
KADMOBJDIR= ${.CURDIR}/../../lib/libkadm
|
1995-01-20 03:49:47 +01:00
|
|
|
.endif
|
|
|
|
|
1995-09-14 20:16:18 +02:00
|
|
|
CFLAGS+= -I${INCLUDEDIR} -Wall
|
1995-09-14 06:00:59 +02:00
|
|
|
|
1995-01-14 21:50:37 +01:00
|
|
|
COMPILE_ET= compile_et
|
1995-01-20 03:49:47 +01:00
|
|
|
|
1995-09-14 06:00:59 +02:00
|
|
|
${KRBOBJDIR}/krb_err.h: ${.CURDIR}/../../lib/libkrb/krb_err.et
|
1995-09-14 20:16:18 +02:00
|
|
|
test -e ${KRBOBJDIR}/krb_err.et || ln -s ${.ALLSRC} ${KRBOBJDIR}
|
1995-09-14 06:00:59 +02: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 20:16:18 +02:00
|
|
|
test -e ${KADMOBJDIR}/kadm_err.et || ln -s ${.ALLSRC} ${KADMOBJDIR}
|
1995-09-14 06:00:59 +02:00
|
|
|
cd ${KADMOBJDIR}; compile_et kadm_err.et
|
|
|
|
|
|
|
|
CLEANFILES+=${KADMOBJDIR}/kadm_err.h ${KADMOBJDIR}/kadm_err.c
|