19 lines
518 B
Makefile
19 lines
518 B
Makefile
# $NetBSD: Makefile.inc,v 1.5 1997/05/07 07:15:44 mycroft Exp $
|
|
#
|
|
# NOTE: $S must correspond to the top of the `sys' tree
|
|
|
|
FPSPSRCDIR= $S/arch/m68k/fpsp
|
|
|
|
FPSPOBJDIR!= cd $(FPSPSRCDIR); \
|
|
printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | $(MAKE) -s -f-
|
|
|
|
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
|