summaryrefslogtreecommitdiff
path: root/sys/arch/m68k/fpsp/Makefile.inc
blob: aa558632bd5b7ae17ad6f935708fc92cf5f6792b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#	$OpenBSD: Makefile.inc,v 1.2 1996/02/27 11:04:34 niklas Exp $
#	$NetBSD: Makefile.inc,v 1.3 1996/02/03 01:23:54 mycroft Exp $
#
#	NOTE: $S must correspond to the top of the `sys' tree

FPSPSRCDIR=	$S/arch/m68k/fpsp

FPSPOBJDIR!=	cd $(FPSPSRCDIR); \
	printf "xxx:\n\techo \$${.OBJDIR}\n" | $(MAKE) -r -s -f - xxx

FPSPOBJ=	$(FPSPOBJDIR)/fpsp.o

$(FPSPOBJ): .NOTMAIN __always_make_fpsp
	@echo making sure the fpsp is up to date...
	@(cd $(FPSPSRCDIR); $(MAKE))

FPSP!=	printf "\#ifdef FPSP\n${FPSPOBJ}\n\#endif\n" | cpp -P -undef ${CPPFLAGS:M-DFPSP}

__always_make_fpsp: .NOTMAIN