This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

$(MAKE) not always used



There were a few places in Makefile.in where "make" was being used instead 
of "$(MAKE)".  This doesn't go down too well on NetBSD, which doesn't like 
"make -C" in particular.


2000-12-17  Richard Earnshaw  <rearnsha@arm.com>

	* Makefile.in (check-po): Use $(MAKE).
	(risky-stage1, risky-stage2, risky-stage3, risky-stage4): Likewise.


Index: Makefile.in
===================================================================
RCS file: /cvs/gcc/egcs/gcc/Makefile.in,v
retrieving revision 1.567
diff -p -p -r1.567 Makefile.in
*** Makefile.in	2000/12/12 23:38:14	1.567
--- Makefile.in	2000/12/17 15:24:16
*************** check-objc: testsuite/site.exp
*** 2751,2757 ****
  check-po:
  	if test -f cp/Makefile && test -f f/Makefile && \
  	   test -f java/Makefile && test -f objc/Makefile; then \
! 	   make -C po check-po; \
  	fi
  
  # These exist for maintenance purposes.
--- 2751,2757 ----
  check-po:
  	if test -f cp/Makefile && test -f f/Makefile && \
  	   test -f java/Makefile && test -f objc/Makefile; then \
! 	   $(MAKE) -C po check-po; \
  	fi
  
  # These exist for maintenance purposes.
*************** stage4: force stage4-start lang.stage4
*** 3031,3046 ****
  # and delete the object files.  Use this if you're just verifying a version
  # that is pretty sure to work, and you are short of disk space.
  risky-stage1: stage1
! 	-make clean
  
  risky-stage2: stage2
! 	-make clean
  
  risky-stage3: stage3
! 	-make clean
  
  risky-stage4: stage4
! 	-make clean
  
  #In GNU Make, ignore whether `stage*' exists.
  .PHONY: stage1 stage2 stage3 stage4 clean maintainer-clean TAGS bootstrap
--- 3031,3046 ----
  # and delete the object files.  Use this if you're just verifying a version
  # that is pretty sure to work, and you are short of disk space.
  risky-stage1: stage1
! 	-$(MAKE) clean
  
  risky-stage2: stage2
! 	-$(MAKE) clean
  
  risky-stage3: stage3
! 	-$(MAKE) clean
  
  risky-stage4: stage4
! 	-$(MAKE) clean
  
  #In GNU Make, ignore whether `stage*' exists.
  .PHONY: stage1 stage2 stage3 stage4 clean maintainer-clean TAGS bootstrap

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]