summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/bugcrt/Makefile.inc
blob: 52a7b8cc7b1dbc97a813a4a637f55204cf632f7a (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
#	$OpenBSD: Makefile.inc,v 1.4 2001/01/13 05:19:01 smurph Exp $

BUG_CRT_DIR=${S}/arch/mvme88k/stand/bugcrt

BUGCRT_DIR!= cd ${BUG_CRT_DIR}; \
     printf "xxx:\n\techo \$${.OBJDIR}\n" | ${MAKE} -r -s -f - xxx

STAGE1=${BUGCRT_DIR}/stage1crt.o
STAGE2=${BUGCRT_DIR}/stage2crt.o
SINGLE=${BUGCRT_DIR}/singlecrt.o

$(STAGE1):	.NOTMAIN __always_make_bugcrt
	@echo making sure the stage1crt.o is up to date...
	@(cd ${BUG_CRT_DIR}; ${MAKE} stage1crt.o)

$(STAGE2):	.NOTMAIN __always_make_bugcrt
	@echo making sure the stage2crt.o is up to date...
	@(cd ${BUG_CRT_DIR}; ${MAKE} stage2crt.o)

$(SINGLE):	.NOTMAIN __always_make_bugcrt
	@echo making sure the singlecrt.o is up to date...
	@(cd ${BUG_CRT_DIR}; ${MAKE} singlecrt.o)

__always_make_bugcrt:	.NOTMAIN