Every time gmake is executed in targia32_ia64_nodebug, these three files are
copied from their source directory into the build directory, sometimes causing
other things to rebuild as well. Is there some good reason for this?
A better solution is to copy these only if the sources are newer than the
files in the build area. (But why are the copies even in the build area?)
Anyway, here is a patch that makes for faster (less confusing!) makes:
[rutt@alice sgi]$ diff -p osprey1.0/common/intr/Makefile.gbase.~1~
osprey1.0/common/intr/Makefile.gbase
*** osprey1.0/common/intr/Makefile.gbase.~1~ Fri May 12 18:52:05 2000
--- osprey1.0/common/intr/Makefile.gbase Tue May 16 07:34:45 2000
*************** RAG_DIRS = \
*** 134,140 ****
$(INCLUDE_DIR)
! VPATH = $(RAG_DIRS)
LCDEFS = $(HOSTDEFS) $(TARGDEFS)
LCINCS = $(addprefix -I, $(RAG_DIRS))
--- 134,140 ----
$(INCLUDE_DIR)
! #VPATH = $(RAG_DIRS)
LCDEFS = $(HOSTDEFS) $(TARGDEFS)
LCINCS = $(addprefix -I, $(RAG_DIRS))
*************** LDIRT = intr_table.tmp* wint_tool
*** 155,164 ****
#------------------------------------------------------------
TARGETS = wtable.h intr_table.h intr_wrapper.h
! default:
cp $(INTR_DIR)/intr_wrapper.h .
cp $(INTR_DIR)/intr_table.h .
cp $(INTR_DIR)/wtable.h .
#----------------------------------------------------------------------
# The commands in this section are done BEFORE any other target is
--- 155,171 ----
#------------------------------------------------------------
TARGETS = wtable.h intr_table.h intr_wrapper.h
! default: $(TARGETS)
!
! intr_wrapper.h: $(INTR_DIR)/intr_wrapper.h
cp $(INTR_DIR)/intr_wrapper.h .
+
+ intr_table.h: $(INTR_DIR)/intr_table.h
cp $(INTR_DIR)/intr_table.h .
+
+ wtable.h: $(INTR_DIR)/wtable.h
cp $(INTR_DIR)/wtable.h .
+
#----------------------------------------------------------------------
# The commands in this section are done BEFORE any other target is
From: John Ruttenberg <rutt@xxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <14625.13399.356526.158098@xxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 16 May 2000 07:43:19 -0400 (EDT)
To: pro64-contrib@xxxxxxxxxxx
Subject: Fix(?) for gratuitous remakes of
intr/{intr_wrapper,intr_table,wtable}.h
X-Mailer: VM 6.75 under Emacs 20.5.1
Reply-to: rutt@xxxxxxxxxxxxx
X-Orcpt: rfc822;pro64-contrib@xxxxxxxxxxx
Sender: owner-pro64-contrib@xxxxxxxxxxx
Precedence: bulk
Every time gmake is executed in targia32_ia64_nodebug, these three files are
copied from their source directory into the build directory, sometimes causing
other things to rebuild as well. Is there some good reason for this?
A better solution is to copy these only if the sources are newer than the
files in the build area. (But why are the copies even in the build area?)
Anyway, here is a patch that makes for faster (less confusing!) makes:
[rutt@alice sgi]$ diff -p osprey1.0/common/intr/Makefile.gbase.~1~
osprey1.0/common/intr/Makefile.gbase
*** osprey1.0/common/intr/Makefile.gbase.~1~ Fri May 12 18:52:05 2000
--- osprey1.0/common/intr/Makefile.gbase Tue May 16 07:34:45 2000
*************** RAG_DIRS = \
*** 134,140 ****
$(INCLUDE_DIR)
! VPATH = $(RAG_DIRS)
LCDEFS = $(HOSTDEFS) $(TARGDEFS)
LCINCS = $(addprefix -I, $(RAG_DIRS))
--- 134,140 ----
$(INCLUDE_DIR)
! #VPATH = $(RAG_DIRS)
LCDEFS = $(HOSTDEFS) $(TARGDEFS)
LCINCS = $(addprefix -I, $(RAG_DIRS))
*************** LDIRT = intr_table.tmp* wint_tool
*** 155,164 ****
#------------------------------------------------------------
TARGETS = wtable.h intr_table.h intr_wrapper.h
! default:
cp $(INTR_DIR)/intr_wrapper.h .
cp $(INTR_DIR)/intr_table.h .
cp $(INTR_DIR)/wtable.h .
#----------------------------------------------------------------------
# The commands in this section are done BEFORE any other target is
--- 155,171 ----
#------------------------------------------------------------
TARGETS = wtable.h intr_table.h intr_wrapper.h
! default: $(TARGETS)
!
! intr_wrapper.h: $(INTR_DIR)/intr_wrapper.h
cp $(INTR_DIR)/intr_wrapper.h .
+
+ intr_table.h: $(INTR_DIR)/intr_table.h
cp $(INTR_DIR)/intr_table.h .
+
+ wtable.h: $(INTR_DIR)/wtable.h
cp $(INTR_DIR)/wtable.h .
+
#----------------------------------------------------------------------
# The commands in this section are done BEFORE any other target is
|