bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #47399] include sometimes fails for built files


From: Bruce Lilly
Subject: [bug #47399] include sometimes fails for built files
Date: Thu, 17 Sep 2020 13:45:39 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Follow-up Comment #7, bug #47399 (project make):

[comment #4:]
> Well, we'll just have to agree to disagree over who implemented it
"incompatibly".  I've seen no evidence that any other implementation of make
provided this feature before GNU make (Roland added it in September 1988).

This is a somewhat minor point, but 4 years and a global pandemic later, it's
bubbled up the list of things to look into, so I'm adding some information
here for reference by anybody who cares about makefile inclusion:

https://minnie.tuhs.org/cgi-bin/utree.pl has a vast repository of UNIX
sources, including various versions of make, notably including the V7 version
of Stu Feldman's original (at
https://minnie.tuhs.org/cgi-bin/utree.pl?file=V7/usr/src/cmd/make) [with a few
tweaks, it can be built...]

The Ultrix version of gram.y
(https://minnie.tuhs.org/cgi-bin/utree.pl?file=Ultrix-3.1/src/cmd/make/gram.y)
certainly includes support for "include" and has copyright dates of 1984-1986,
SCCS id 3.0 and date of "4/21/86", i.e. 1986-04-21. This version appears to
have been derived from System V (the executables are named starting with
"s5make").  That certainly pre-dates 1988.

The System III version of gram.y
(https://minnie.tuhs.org/cgi-bin/utree.pl?file=SysIII/usr/src/cmd/make/gram.y)
also has support for "include"; there's no date in the file itself (SCCS
version id 3.6), but it's supposedly dated 1980-04-27, which seems to indicate
that "include" support was added fairly early (the V7 version w/o it is dated
1979), at least in versions originating from USG/USL versions of UNIX.

On the other hand, it didn't find its way into Berkeley-derived systems until
much later; it's not in the BSD 4.3-Reno source
(https://minnie.tuhs.org/cgi-bin/utree.pl?file=4.3BSD-Reno/src/old/make/gram.y)
with Berkeley SCCS id 4.2 dated 1987.

Side note: clearly the files followed diverging modification paths with few
updates being merged back, as can be seen by the disparate SCCS ids.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?47399>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]