Home | History | Annotate | Line # | Download | only in fpsp
Makefile.inc revision 1.1
      1 #	$Id: Makefile.inc,v 1.1 1994/07/05 17:57:02 mycroft Exp $
      2 #
      3 #	NOTE: $S must correspond to the top of the `sys' tree
      4 
      5 FPSPSRCDIR=	$S/arch/m68k/fpsp
      6 
      7 FPSPOBJDIR!=	cd $(FPSPSRCDIR); \
      8 	printf "xxx:\n\techo \$${.OBJDIR}\n" | $(MAKE) -r -s -f - xxx
      9 
     10 FPSPOBJ=	$(FPSPOBJDIR)/fpsp.o
     11 
     12 $(FPSPOBJ): .NOTMAIN __always_make_fpsp
     13 	@echo making sure the fpsp is up to date...
     14 	@(cd $(FPSPSRCDIR) ; $(MAKE))
     15 
     16 FPSP!=	printf "\#ifdef FPSP\n${FPSPOBJ}\n\#endif\n" | cpp -P -undef ${COPTS:M-DFPSP}
     17 
     18 __always_make_fpsp: .NOTMAIN
     19