[5303] in Athena Bugs

home help back first fref pref prev next nref lref last post

Imake.rules: saber rules should have dependencies

daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Wed Jun 27 00:42:35 1990

Date: Wed, 27 Jun 90 00:42:11 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: xbugs@expo.lcs.mit.edu
Cc: bugs@ATHENA.MIT.EDU


			  X Window System Bug Report
			    xbugs@expo.lcs.mit.edu


VERSION:
    R4

CLIENT MACHINE and OPERATING SYSTEM:
    NA

DISPLAY TYPE:
    NA

WINDOW MANAGER:
    NA

AREA:
    config

SYNOPSIS:
    The saber and osaber rules in Imake.rules should have dependencies
    to force correct file generation.

DESCRIPTION:
    This is similar to my previous bug report concerning dependencies
    for the depend rule.  The patch below is pretty obvious.

REPEAT BY:
    Reading Imake.rules.  Try to run "make saber_foo" without
    generating all source files first.

SAMPLE FIX:
    Below.

Jonathan Kamens			              USnail:
MIT Project Athena				11 Ashford Terrace
jik@Athena.MIT.EDU				Allston, MA  02134
Office: 617-253-8495			      Home: 617-782-0710

*** /tmp/,RCSt1001823	Wed Jun 27 00:41:58 1990
--- Imake.rules	Wed Jun 27 00:39:20 1990
***************
*** 116,125 ****
  #ifndef SaberProgramTarget
  #if HasSaberC
  #define SaberProgramTarget(program,srclist,objlist,locallibs,syslibs)	@@\
! saber_/**/program:							@@\
  	#load $(ALLDEFINES) srclist locallibs $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) syslibs @@\
  									@@\
! osaber_/**/program:							@@\
  	#load $(ALLDEFINES) objlist locallibs $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) syslibs
  
  #else
--- 116,125 ----
  #ifndef SaberProgramTarget
  #if HasSaberC
  #define SaberProgramTarget(program,srclist,objlist,locallibs,syslibs)	@@\
! saber_/**/program: srclist						@@\
  	#load $(ALLDEFINES) srclist locallibs $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) syslibs @@\
  									@@\
! osaber_/**/program: objlist						@@\
  	#load $(ALLDEFINES) objlist locallibs $(SYS_LIBRARIES) $(EXTRA_LIBRARIES) syslibs
  
  #else


home help back first fref pref prev next nref lref last post