mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-29 20:54:13 +01:00
599a0e919c
Pointed out by: Mark Murray <markm>
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# From: @(#)Makefile.inc 5.1 (Berkeley) 6/25/90
|
|
# $Id: Makefile.inc,v 1.7 1995/09/14 04:00:59 gibbs Exp $
|
|
|
|
DISTRIBUTION= krb
|
|
|
|
INCLUDEDIR= ${.CURDIR}/../../include
|
|
|
|
.if exists(${.CURDIR}/../../des/obj)
|
|
DESOBJDIR= ${.CURDIR}/../../des/obj
|
|
.else
|
|
DESOBJDIR= ${.CURDIR}/../../des
|
|
.endif
|
|
|
|
.if exists(${.CURDIR}/../../lib/libkrb/obj)
|
|
KRBOBJDIR= ${.CURDIR}/../../lib/libkrb/obj
|
|
.else
|
|
KRBOBJDIR= ${.CURDIR}/../../lib/libkrb
|
|
.endif
|
|
|
|
.if exists(${.CURDIR}/../../lib/libkdb/obj)
|
|
KDBOBJDIR= ${.CURDIR}/../../lib/libkdb/obj
|
|
.else
|
|
KDBOBJDIR= ${.CURDIR}/../../lib/libkdb
|
|
.endif
|
|
|
|
.if exists(${.CURDIR}/../../lib/libacl/obj)
|
|
ACLOBJDIR= ${.CURDIR}/../../lib/libacl/obj
|
|
.else
|
|
ACLOBJDIR= ${.CURDIR}/../../lib/libacl
|
|
.endif
|
|
|
|
.if exists(${.CURDIR}/../../lib/libkadm/obj)
|
|
KADMOBJDIR= ${.CURDIR}/../../lib/libkadm/obj
|
|
.else
|
|
KADMOBJDIR= ${.CURDIR}/../../lib/libkadm
|
|
.endif
|
|
|
|
CFLAGS+= -I${INCLUDEDIR} -Wall
|
|
|
|
COMPILE_ET= compile_et
|
|
|
|
${KRBOBJDIR}/krb_err.h: ${.CURDIR}/../../lib/libkrb/krb_err.et
|
|
test -e ${KRBOBJDIR}/krb_err.et || ln -s ${.ALLSRC} ${KRBOBJDIR}
|
|
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
|
|
test -e ${KADMOBJDIR}/kadm_err.et || ln -s ${.ALLSRC} ${KADMOBJDIR}
|
|
cd ${KADMOBJDIR}; compile_et kadm_err.et
|
|
|
|
CLEANFILES+=${KADMOBJDIR}/kadm_err.h ${KADMOBJDIR}/kadm_err.c
|