summaryrefslogtreecommitdiffstats
path: root/eBones/Makefile.inc
blob: 66f536087acaef9ee32cdb765735d10781ce9e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#	From: @(#)Makefile.inc	5.1 (Berkeley) 6/25/90
#	$Id: Makefile.inc,v 1.11 1996/06/24 04:22:24 jkh Exp $

DISTRIBUTION=	krb

.if exists(${.OBJDIR}/../../../secure/lib/libdes)
DESOBJDIR=	${.OBJDIR}/../../../secure/lib/libdes
.else
DESOBJDIR=	${.CURDIR}/../../../secure/lib/libdes
.endif

.if exists(${.OBJDIR}/../../lib/libkrb)
KRBOBJDIR=	${.OBJDIR}/../../lib/libkrb
.else
KRBOBJDIR=	${.CURDIR}/../../lib/libkrb
.endif

.if exists(${.OBJDIR}/../../lib/libkdb)
KDBOBJDIR=	${.OBJDIR}/../../lib/libkdb
.else
KDBOBJDIR=	${.CURDIR}/../../lib/libkdb
.endif

.if exists(${.OBJDIR}/../../lib/libacl)
ACLOBJDIR=	${.OBJDIR}/../../lib/libacl
.else
ACLOBJDIR=	${.CURDIR}/../../lib/libacl
.endif

.if exists(${.OBJDIR}/../../lib/libkadm)
KADMOBJDIR=	${.OBJDIR}/../../lib/libkadm
.else
KADMOBJDIR=	${.CURDIR}/../../lib/libkadm
.endif

.if exists(${.OBJDIR}/../../lib/librkinit)
RKINITOBJDIR= ${.OBJDIR}/../../lib/librkinit
.else
RKINITOBJDIR= ${.CURDIR}/../../lib/librkinit
.endif

CFLAGS+= -I${.CURDIR}/../../../secure/lib/libdes -I${.CURDIR}/../../include -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

${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
OpenPOWER on IntegriCloud