version 1.1, 1995/12/14 06:52:32 |
version 1.2, 1996/06/02 14:41:57 |
|
|
# from @(#)Makefile.inc 8.1 (Berkeley) 6/1/93 |
# $OpenBSD$ |
# $Id$ |
|
|
|
CFLAGS+=-I${.CURDIR}/../include |
CFLAGS+=-I${.CURDIR}/../include |
BINDIR?=/usr/sbin |
BINDIR?=/usr/sbin |
|
|
.if exists(${.CURDIR}/../mk_cmds/obj) |
.if defined(OBJMACHINE) |
MK_CMDS=${.CURDIR}/../mk_cmds/obj/mk_cmds |
__objdir= obj.${MACHINE} |
.else |
.else |
|
__objdir= obj |
|
.endif |
|
|
|
.if exists(${.CURDIR}/../mk_cmds/${__objdir}) |
|
MK_CMDS=${.CURDIR}/../mk_cmds/${__objdir}/mk_cmds |
|
.else |
MK_CMDS=${.CURDIR}/../mk_cmds/mk_cmds |
MK_CMDS=${.CURDIR}/../mk_cmds/mk_cmds |
.endif |
.endif |
|
|
.if exists(${.CURDIR}/../compile_et/obj) |
.if exists(${.CURDIR}/../compile_et/${__objdir}) |
COMPILE_ET=${.CURDIR}/../compile_et/obj/compile_et |
COMPILE_ET=${.CURDIR}/../compile_et/${__objdir}/compile_et |
.else |
.else |
COMPILE_ET=${.CURDIR}/../compile_et/compile_et |
COMPILE_ET=${.CURDIR}/../compile_et/compile_et |
.endif |
.endif |
|
|
.if exists(${.CURDIR}/../com_err/obj) |
.if exists(${.CURDIR}/../com_err/${__objdir}) |
COM_ERR=-L${.CURDIR}/../com_err/obj -lcom_err_pic |
COM_ERR=-L${.CURDIR}/../com_err/${__objdir} -lcom_err_pic |
.else |
.else |
COM_ERR=-L${.CURDIR}/../com_err -lcom_err_pic |
COM_ERR=-L${.CURDIR}/../com_err -lcom_err_pic |
.endif |
.endif |