Full Code of mirror/make for AI

master c63a5bc6a288 cached
295 files
3.4 MB
902.8k tokens
1069 symbols
1 requests
Download .txt
Showing preview only (3,608K chars total). Download the full file or copy to clipboard to get everything.
Repository: mirror/make
Branch: master
Commit: c63a5bc6a288
Files: 295
Total size: 3.4 MB

Directory structure:
gitextract_jw1du2k5/

├── .ccls
├── .clangd
├── .dir-locals.el
├── .gitignore
├── AUTHORS
├── Basic.mk.template
├── COPYING
├── ChangeLog.1
├── ChangeLog.2
├── ChangeLog.3
├── Makefile.am
├── NEWS
├── README.DOS
├── README.OS2
├── README.VMS
├── README.W32
├── README.customs
├── README.git
├── README.in
├── README.zOS
├── TODO.private
├── autogen.sh
├── autopull.sh
├── bootstrap
├── bootstrap-funclib.sh
├── bootstrap.bat
├── bootstrap.conf
├── build.cfg.in
├── build.sh
├── build_w32.bat
├── builddos.bat
├── configure.ac
├── doc/
│   ├── .gitignore
│   ├── Makefile.am
│   ├── make.1
│   └── make.texi
├── gl/
│   ├── .gitignore
│   ├── lib/
│   │   ├── fnmatch.c
│   │   ├── fnmatch.in.h
│   │   ├── glob.c
│   │   └── glob.in.h
│   ├── m4/
│   │   ├── acinclude.m4
│   │   ├── dospaths.m4
│   │   └── getloadavg.m4
│   └── modules/
│       ├── concat-filename
│       ├── findprog-in
│       ├── getloadavg
│       ├── make-glob
│       └── make-macros
├── maintMakefile
├── make-gdb.py
├── makefile.com
├── mk/
│   ├── Posix.mk.in
│   ├── VMS.mk
│   ├── Windows32.mk
│   └── msdosdjgpp.mk
├── po/
│   ├── .gitignore
│   ├── LINGUAS
│   └── POTFILES.in
├── prepare_vms.com
├── scripts/
│   └── copyright-update
├── src/
│   ├── ar.c
│   ├── arscan.c
│   ├── commands.c
│   ├── commands.h
│   ├── config.h-vms
│   ├── config.h.W32
│   ├── configh.dos
│   ├── debug.h
│   ├── default.c
│   ├── dep.h
│   ├── dir.c
│   ├── expand.c
│   ├── file.c
│   ├── filedef.h
│   ├── function.c
│   ├── getopt.c
│   ├── getopt.h
│   ├── getopt1.c
│   ├── gettext.h
│   ├── gmk-default.scm
│   ├── gnumake.h
│   ├── guile.c
│   ├── hash.c
│   ├── hash.h
│   ├── implicit.c
│   ├── job.c
│   ├── job.h
│   ├── load.c
│   ├── loadapi.c
│   ├── main.c
│   ├── makeint.h
│   ├── misc.c
│   ├── mkconfig.h.in
│   ├── mkcustom.h
│   ├── os.h
│   ├── output.c
│   ├── output.h
│   ├── posixos.c
│   ├── read.c
│   ├── remake.c
│   ├── remote-cstms.c
│   ├── remote-stub.c
│   ├── rule.c
│   ├── rule.h
│   ├── shuffle.c
│   ├── shuffle.h
│   ├── signame.c
│   ├── strcache.c
│   ├── variable.c
│   ├── variable.h
│   ├── version.c
│   ├── vms_exit.c
│   ├── vms_export_symbol.c
│   ├── vms_progname.c
│   ├── vmsdir.h
│   ├── vmsfunctions.c
│   ├── vmsify.c
│   ├── vmsjobs.c
│   ├── vpath.c
│   ├── w32/
│   │   ├── compat/
│   │   │   ├── dirent.c
│   │   │   └── posixfcn.c
│   │   ├── include/
│   │   │   ├── dirent.h
│   │   │   ├── dlfcn.h
│   │   │   ├── pathstuff.h
│   │   │   ├── sub_proc.h
│   │   │   └── w32err.h
│   │   ├── pathstuff.c
│   │   ├── subproc/
│   │   │   ├── misc.c
│   │   │   ├── proc.h
│   │   │   ├── sub_proc.c
│   │   │   └── w32err.c
│   │   ├── utf8.manifest
│   │   ├── utf8.rc
│   │   └── w32os.c
│   ├── warning.c
│   └── warning.h
├── tests/
│   ├── .gitignore
│   ├── ChangeLog.1
│   ├── NEWS
│   ├── config-flags.pm.W32
│   ├── config-flags.pm.in
│   ├── config_flags_pm.com
│   ├── guile.supp
│   ├── mkshadow
│   ├── run_make_tests
│   ├── run_make_tests.bat
│   ├── run_make_tests.com
│   ├── run_make_tests.pl
│   ├── scripts/
│   │   ├── features/
│   │   │   ├── archives
│   │   │   ├── comments
│   │   │   ├── conditionals
│   │   │   ├── default_names
│   │   │   ├── dircache
│   │   │   ├── double_colon
│   │   │   ├── echoing
│   │   │   ├── errors
│   │   │   ├── escape
│   │   │   ├── exec
│   │   │   ├── expand
│   │   │   ├── export
│   │   │   ├── grouped_targets
│   │   │   ├── implicit_search
│   │   │   ├── include
│   │   │   ├── jobserver
│   │   │   ├── load
│   │   │   ├── loadapi
│   │   │   ├── mult_rules
│   │   │   ├── mult_targets
│   │   │   ├── order_only
│   │   │   ├── output-sync
│   │   │   ├── override
│   │   │   ├── parallelism
│   │   │   ├── patspecific_vars
│   │   │   ├── patternrules
│   │   │   ├── quoting
│   │   │   ├── recursion
│   │   │   ├── reinvoke
│   │   │   ├── rule_glob
│   │   │   ├── se_explicit
│   │   │   ├── se_implicit
│   │   │   ├── se_statpat
│   │   │   ├── shell_assignment
│   │   │   ├── statipattrules
│   │   │   ├── suffixrules
│   │   │   ├── targetvars
│   │   │   ├── temp_stdin
│   │   │   ├── utf8
│   │   │   ├── varnesting
│   │   │   ├── vpath
│   │   │   ├── vpathgpath
│   │   │   └── vpathplus
│   │   ├── functions/
│   │   │   ├── abspath
│   │   │   ├── addprefix
│   │   │   ├── addsuffix
│   │   │   ├── andor
│   │   │   ├── basename
│   │   │   ├── call
│   │   │   ├── dir
│   │   │   ├── error
│   │   │   ├── eval
│   │   │   ├── file
│   │   │   ├── filter-out
│   │   │   ├── findstring
│   │   │   ├── flavor
│   │   │   ├── foreach
│   │   │   ├── guile
│   │   │   ├── if
│   │   │   ├── intcmp
│   │   │   ├── join
│   │   │   ├── let
│   │   │   ├── notdir
│   │   │   ├── origin
│   │   │   ├── realpath
│   │   │   ├── shell
│   │   │   ├── sort
│   │   │   ├── strip
│   │   │   ├── substitution
│   │   │   ├── suffix
│   │   │   ├── value
│   │   │   ├── warning
│   │   │   ├── wildcard
│   │   │   └── word
│   │   ├── misc/
│   │   │   ├── bs-nl
│   │   │   ├── close_stdout
│   │   │   ├── failure
│   │   │   ├── fopen-fail
│   │   │   ├── general1
│   │   │   ├── general2
│   │   │   ├── general3
│   │   │   ├── general4
│   │   │   └── utf8
│   │   ├── options/
│   │   │   ├── dash-B
│   │   │   ├── dash-C
│   │   │   ├── dash-I
│   │   │   ├── dash-W
│   │   │   ├── dash-d
│   │   │   ├── dash-e
│   │   │   ├── dash-f
│   │   │   ├── dash-k
│   │   │   ├── dash-l
│   │   │   ├── dash-n
│   │   │   ├── dash-q
│   │   │   ├── dash-r
│   │   │   ├── dash-s
│   │   │   ├── dash-t
│   │   │   ├── eval
│   │   │   ├── general
│   │   │   ├── print-directory
│   │   │   ├── print-targets
│   │   │   ├── shuffle
│   │   │   ├── symlinks
│   │   │   └── warn
│   │   ├── targets/
│   │   │   ├── DEFAULT
│   │   │   ├── DELETE_ON_ERROR
│   │   │   ├── FORCE
│   │   │   ├── IGNORE
│   │   │   ├── INTERMEDIATE
│   │   │   ├── NOTINTERMEDIATE
│   │   │   ├── ONESHELL
│   │   │   ├── PHONY
│   │   │   ├── POSIX
│   │   │   ├── SECONDARY
│   │   │   ├── SILENT
│   │   │   ├── WAIT
│   │   │   └── clean
│   │   ├── test_template
│   │   ├── variables/
│   │   │   ├── CURDIR
│   │   │   ├── DEFAULT_GOAL
│   │   │   ├── EXTRA_PREREQS
│   │   │   ├── GNUMAKEFLAGS
│   │   │   ├── INCLUDE_DIRS
│   │   │   ├── LIBPATTERNS
│   │   │   ├── MAKE
│   │   │   ├── MAKECMDGOALS
│   │   │   ├── MAKEFILES
│   │   │   ├── MAKEFLAGS
│   │   │   ├── MAKELEVEL
│   │   │   ├── MAKE_RESTARTS
│   │   │   ├── MFILE_LIST
│   │   │   ├── SHELL
│   │   │   ├── WARNINGS
│   │   │   ├── append
│   │   │   ├── automatic
│   │   │   ├── conditional
│   │   │   ├── define
│   │   │   ├── flavors
│   │   │   ├── negative
│   │   │   ├── private
│   │   │   ├── special
│   │   │   └── undefine
│   │   └── vms/
│   │       └── library
│   ├── test_driver.pl
│   └── thelp.pl
└── vms_export_symbol_test.com

================================================
FILE CONTENTS
================================================

================================================
FILE: .ccls
================================================
clang
%h --include=makeint.h
-DHAVE_CONFIG_H
-Isrc
-Ilib
-DLIBDIR="/usr/local/lib"
-DLOCALEDIR="/usr/local/share/locale"
-DMAKE_MAINTAINER_MODE
-pthread
-isystem
/usr/include/guile/2.0
-Wall
-Wextra
-Werror
-Wwrite-strings
-Wshadow
-Wdeclaration-after-statement
-Wbad-function-cast
-Wformat-security
-Wtype-limits
-Wunused-but-set-parameter
-Wlogical-op
-Wpointer-arith
-Wignored-qualifiers
-Wformat-signedness
-Wduplicated-cond
-Wno-address
-Wno-string-compare


================================================
FILE: .clangd
================================================
CompileFlags:
  Add: [-xc, -DHAVE_CONFIG_H, -DMAKE_MAINTAINER_MODE, -DLIBDIR="/usr/local/lib", -DLOCALEDIR="/usr/local/share/locale", -I../src, -Isrc, -I../lib, -Ilib, -Wall, -Wextra, -Wwrite-strings, -Wshadow, -Wdeclaration-after-statement, -Wbad-function-cast, -Wformat-security, -Wtype-limits, -Wunused-but-set-parameter, -Wlogical-op, -Wpointer-arith, -Wignored-qualifiers, -Wformat-signedness, -Wduplicated-cond, -Wno-string-compare, -Wno-unused-includes]

---
If:
  PathMatch: .*\.h
CompileFlags:
  Add: [-xc-header, --include=makeint.h]

---
If:
  PathMatch: .*/makeint\.h
Diagnostics:
  UnusedIncludes: None


================================================
FILE: .dir-locals.el
================================================
(
 (nil . ((bug-reference-bug-regexp . "\\(\\bSV[- ]\\([0-9]+\\)\\)")
         (bug-reference-url-format . "https://savannah.gnu.org/bugs/?%s")
         (ccls-initialization-options
          . (:index (:threads 6
                     :initialBlacklist ["/make-[0-9]" "tests/work/" "/\\.deps"
                                        "/\\..*cache" "/\\.git"])))
         (lsp-file-watch-ignored-directories
          . ("[/\\\\]\\.git$"
             "[/\\\\]\\..*cache$"
             ;; autotools content
             "[/\\\\]\\.deps$"
             "[/\\\\]autom4te\\.cache$"
             "[/\\\\]build-aux$"
             ;; make-specific content
             "[/\\\\]doc[/\\\\]manual$"
             "[/\\\\]tests[/\\\\]work$"
             "[/\\\\]make-[0-9]"))
         ))
 (c-mode . ((c-file-style . "gnu")))
)


================================================
FILE: .gitignore
================================================
# Development artifacts
ID
TAGS
GPATH
GRTAGS
GTAGS
.*cache
.*gdbinit
.gdb_history
.vscode
*~
#*
.#*
*.diff
*.patch
*.orig
*.rej

# Configure artifacts
/lib/
/m4/
ABOUT-NLS
INSTALL
Makefile
Makefile.in
Basic.mk
aclocal.m4
autom4te.cache/
build-aux/
config.cache
config.h
config.h.in
config.log
config.status
configure
/mk/Posix.mk
stamp-*
.dirstamp
gnulib
*.sed

# Build artifacts
.deps/
gmk-default.h
loadavg
make
*.i
*.o
*.a
*.exe
*.dll.a
*.obj
*.lib
*.pdb
*.sbr

# Windows build artifacts
WinDebug/
WinRel/
GccDebug/
GccRel/
TccDebug/
TccRel/

# Test artifacts
makeerror-*
test-suite.log

# Distribution artifacts
.dep_segment
.check-git-HEAD
ChangeLog
README
build.cfg
mkconfig.h
make-[0-9]*/
make-[0-9]*.tar.*
checkcfg.*.log


================================================
FILE: AUTHORS
================================================
-----------------------------------

GNU Make development starting with GNU Make 3.76 by:
    Paul D. Smith <psmith@gnu.org>

    Additional development starting with GNU Make 4.3 by:
        Dmitry Goncharov <dgoncharov@users.sf.net>

    Additional development starting with GNU Make 3.81 by:
        Boris Kolpackov <boris@kolpackov.net>

GNU Make development up to version 3.75 by:
    Roland McGrath <roland@gnu.org>

GNU Make User's Manual
  Written by:
    Richard M. Stallman <rms@gnu.org>

  Edited by:
    Roland McGrath <roland@gnu.org>
    Bob Chassell <bob@gnu.org>
    Melissa Weisshaus <melissa@gnu.org>
    Paul D. Smith <psmith@gnu.org>

-----------------------------------
GNU Make porting efforts:

  Port to VMS by:
      Klaus Kaempf <kkaempf@progis.de>
      Hartmut Becker <Hartmut.Becker@hp.com>
      Archive support/Bug fixes by:
        John W. Eaton <jwe@bevo.che.wisc.edu>
        Martin Zinser <zinser@decus.decus.de>

  Port to MS-Windows (native/MinGW) maintained by:
      Eli Zaretskii <eliz@gnu.org>

  Port to MS-DOS (DJGPP), OS/2, and MS-Windows (native/MinGW) by:
      DJ Delorie <dj@delorie.com>
      Rob Tulloh <rob_tulloh@tivoli.com>
      Eli Zaretskii <eliz@gnu.org>
      Jonathan Grant <jg@jguk.org>
      Andreas Beuning <andreas.buening@nexgo.de>
      Earnie Boyd <earnie@uses.sf.net>
      Troy Runkel <Troy.Runkel@mathworks.com>
      Juan M. Guerrero <juan.guerrero@gmx.de>
      KO Myung-Hun <komh78@gmail.com>

  Port to z/OS by:
      Igor Todorovski <itodorov@ca.ibm.com>

-----------------------------------
Other contributors:

  Luke Allardyce <lukeallardyce@gmail.com>
  Costas Argyris <costas.argyris@gmail.com>
  Aron Barath <baratharon@caesar.elte.hu>
  David Boyce <dsb@boyski.com>
  Kevin Buettner <kevinb@redhat.com>
  Janet Carson <janet_carson@tivoli.com>
  Howard Chu <hyc@highlandsun.com>
  Ludovic Courtès <ludo@gnu.org>
  Joe Crayne <oh.hello.joe@gmail.com>
  Jeremy Devenport <jeremy.devenport@gmail.com>
  Pete Dietl <petedietl@gmail.com>
  Aaron Digulla <digulla@fh-konstanz.de>
  Hannes Domani <ssbssa@yahoo.de>
  Martin Dorey <martin.dorey@hds.com>
  Christian Eggers <ceggers@arri.de>
  Paul Eggert <eggert@twinsun.com>
  Mike Frysinger <vapier@gentoo.org>
  Ramon Garcia Fernandez <ramon.garcia.f@gmail.com>
  Noah Goldstein <goldstein.w.n@gmail.com>
  Mike Haboustak <haboustak@gmail.com>
  Frank Heckenbach <f.heckenbach@fh-soft.de>
  Klaus Heinz <kamar@ease.rhein-main.de>
  Ben Hutchings <ben@decadent.org.uk>
  Cao jin <caoj.fnst@cn.fujitsu.com>
  Michael Joosten
  Christian Jullien <eligis@orange.fr>
  Jim Kelton <jim_kelton@tivoli.com>
  Kaz Kylheku <kaz@kylheku.com>
  David Lubbren <uhay@rz.uni-karlsruhe.de>
  Tim Magill <tim.magill@telops.gte.com>
  Markus Mauhart <qwe123@chello.at>
  Greg McGary <greg@mcgary.org>
  Thien-Thi Nguyen <ttn@gnuvola.org>
  Han-Wen Nienhuys <hanwen@cs.uu.nl>
  Enrique Olaizola <enrique_olaizola16@hotmail.com>
  Ola Olsson <ola1olsson@gmail.com>
  Jens Rehsack <sno@netbsd.org>
  Thomas Riedl <thomas.riedl@siemens.com>
  Jaak Ristioja <jaak@ristioja.ee>
  Christoph Schulz <develop@kristov.de>
  Andreas Schwab <schwab@suse.de>
  spagoveanu <spagoveanu@gmail.com>
  Carl Staelin (Princeton University)
  Ian Stewartson (Data Logic Limited)
  Tobias Stoeckmann <tobias@stoeckmann.org>
  Torbjörn Svensson <torbjorn.svensson@foss.st.com>
  Sergei Trofimovich <siarheit@google.com>
  Justine Tunney <jtunney@gmail.com>
  Marc Ullman <marc@mathworks.com>
  Christof Warlich <cwarlich@gmx.de>
  Florian Weimer <fweimer@redhat.com>
  David A. Wheeler <dwheeler@dwheeler.com>
  Bernhard M. Wiedemann <bwiedemann@suse.de>
  Ben Wijen <ben@wijen.net>
  Jouke Witteveen <j.witteveen@gmail.com>

With suggestions/comments/bug reports from a cast of ... well ...
hundreds, anyway :)

-------------------------------------------------------------------------------
Copyright (C) 1997-2024 Free Software Foundation, Inc.
This file is part of GNU Make.

GNU Make is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
Foundation; either version 3 of the License, or (at your option) any later
version.

GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program.  If not, see <https://www.gnu.org/licenses/>.


================================================
FILE: Basic.mk.template
================================================
# Basic GNU -*-Makefile-*- to build GNU Make
#
# NOTE:
# If you have no 'make' program at all to process this makefile:
#   * On Windows, run ".\build_w32.bat" to bootstrap one.
#   * On MS-DOS, run ".\builddos.bat" to bootstrap one.
#
# Once you have a GNU Make program created, you can use it with this makefile
# to keep it up to date if you make changes, as:
#
#   make.exe -f Basic.mk
#
# Copyright (C) 2017-2024 Free Software Foundation, Inc.
# This file is part of GNU Make.
#
# GNU Make is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; either version 3 of the License, or (at your option) any later
# version.
#
# GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
# details.
#
# You should have received a copy of the GNU General Public License along with
# this program.  If not, see <https://www.gnu.org/licenses/>.

all:

src = src/
lib = lib/

make_SOURCES = %make_SOURCES%
glob_SOURCES = %glob_SOURCES%
loadavg_SOURCES = %loadavg_SOURCES%
alloca_SOURCES = %alloca_SOURCES%
w32_SOURCES = %w32_SOURCES%
vms_SOURCES = %vms_SOURCES%

remote_SOURCES = $(src)remote-stub.c

OUTDIR =
SRCDIR = .

OBJEXT = o
EXEEXT =

PREFIX = /usr/local
INCLUDEDIR = $(PREFIX)/include
LIBDIR = $(PREFIX)/lib
LOCALEDIR = $(PREFIX)/share

PROG = $(OUTDIR)make$(EXEEXT)

prog_SOURCES = $(make_SOURCES) $(remote_SOURCES)

BUILT_SOURCES =

OBJECTS = $(patsubst %.c,$(OUTDIR)%.$(OBJEXT),$(prog_SOURCES))

RESOURCE_OBJECTS =

OBJDIRS = $(addsuffix .,$(sort $(dir $(OBJECTS))))

# Use the default value of CC
LD = $(CC)

# Reserved for command-line override
CPPFLAGS =
CFLAGS = -g -O2
LDFLAGS =

extra_CPPFLAGS = -DHAVE_CONFIG_H -I$(OUTDIR)src -I$(SRCDIR)/src -I$(OUTDIR)lib -I$(SRCDIR)/lib \
	-DLIBDIR=\"$(LIBDIR)\" -DINCLUDEDIR=\"$(INCLUDEDIR)\" -DLOCALEDIR=\"$(LOCALDIR)\"
extra_CFLAGS =
extra_LDFLAGS = $(extra_CFLAGS) $(CFLAGS)

C_SOURCE = -c
OUTPUT_OPTION = -o $@
LINK_OUTPUT = -o $@

# Command lines

# $(call COMPILE.cmd,<src>,<tgt>)
COMPILE.cmd = $(CC) $(extra_CFLAGS) $(CFLAGS) $(extra_CPPFLAGS) $(CPPFLAGS) $(TARGET_ARCH) $(OUTPUT_OPTION) $(C_SOURCE) $1

# $(call LINK.cmd,<objectlist>)
LINK.cmd = $(LD) $(extra_LDFLAGS) $(LDFLAGS) $(TARGET_ARCH) $1 $(LDLIBS) $(LINK_OUTPUT)

# $(CHECK.cmd) $(CHECK.args)
CHECK.cmd = cd $(SRCDIR)/tests && ./run_make_tests -make $(shell cd $(<D) && pwd)/$(<F)
CHECK.args ?=

# $(call MKDIR.cmd,<dirlist>)
MKDIR.cmd = mkdir -p $1

# $(call RM.cmd,<filelist>)
RM.cmd = rm -f $1

# $(call CP.cmd,<from>,<to>)
CP.cmd = cp $1 $2

CLEANSPACE = $(call RM.cmd,$(OBJECTS) $(RESOURCE_OBJECTS) $(PROG) $(BUILT_SOURCES))

# Load overrides for the above variables.
include $(firstword $(wildcard $(SRCDIR)/mk/$(lastword $(subst -, ,$(MAKE_HOST)).mk)))

VPATH = $(SRCDIR)

all: $(PROG)

$(PROG): $(OBJECTS) $(RESOURCE_OBJECTS)
	$(call LINK.cmd,$^)

$(OBJECTS): $(OUTDIR)%.$(OBJEXT): %.c
	$(call COMPILE.cmd,$<)

$(OBJECTS): | $(OBJDIRS) $(BUILT_SOURCES)

$(OBJDIRS):
	$(call MKDIR.cmd,$@)

check:
	$(CHECK.cmd) $(CHECK.args)

clean:
	$(CLEANSPACE)

$(filter %.h,$(BUILT_SOURCES)): %.h : %.in.h
	$(call RM.cmd,$@)
	$(call CP.cmd,$<,$@)

.PHONY: all check clean


================================================
FILE: COPYING
================================================
                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

                            Preamble

  The GNU General Public License is a free, copyleft license for
software and other kinds of works.

  The licenses for most software and other practical works are designed
to take away your freedom to share and change the works.  By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.  We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors.  You can apply it to
your programs, too.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.

  To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights.  Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.

  For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received.  You must make sure that they, too, receive
or can get the source code.  And you must show them these terms so they
know their rights.

  Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.

  For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software.  For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.

  Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so.  This is fundamentally incompatible with the aim of
protecting users' freedom to change the software.  The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable.  Therefore, we
have designed this version of the GPL to prohibit the practice for those
products.  If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.

  Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary.  To prevent this, the GPL assures that
patents cannot be used to render the program non-free.

  The precise terms and conditions for copying, distribution and
modification follow.

                       TERMS AND CONDITIONS

  0. Definitions.

  "This License" refers to version 3 of the GNU General Public License.

  "Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.

  "The Program" refers to any copyrightable work licensed under this
License.  Each licensee is addressed as "you".  "Licensees" and
"recipients" may be individuals or organizations.

  To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy.  The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.

  A "covered work" means either the unmodified Program or a work based
on the Program.

  To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy.  Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.

  To "convey" a work means any kind of propagation that enables other
parties to make or receive copies.  Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.

  An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License.  If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.

  1. Source Code.

  The "source code" for a work means the preferred form of the work
for making modifications to it.  "Object code" means any non-source
form of a work.

  A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.

  The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form.  A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.

  The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities.  However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work.  For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.

  The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.

  The Corresponding Source for a work in source code form is that
same work.

  2. Basic Permissions.

  All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met.  This License explicitly affirms your unlimited
permission to run the unmodified Program.  The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work.  This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.

  You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force.  You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright.  Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.

  Conveying under any other circumstances is permitted solely under
the conditions stated below.  Sublicensing is not allowed; section 10
makes it unnecessary.

  3. Protecting Users' Legal Rights From Anti-Circumvention Law.

  No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.

  When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.

  4. Conveying Verbatim Copies.

  You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.

  You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.

  5. Conveying Modified Source Versions.

  You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified
    it, and giving a relevant date.

    b) The work must carry prominent notices stating that it is
    released under this License and any conditions added under section
    7.  This requirement modifies the requirement in section 4 to
    "keep intact all notices".

    c) You must license the entire work, as a whole, under this
    License to anyone who comes into possession of a copy.  This
    License will therefore apply, along with any applicable section 7
    additional terms, to the whole of the work, and all its parts,
    regardless of how they are packaged.  This License gives no
    permission to license the work in any other way, but it does not
    invalidate such permission if you have separately received it.

    d) If the work has interactive user interfaces, each must display
    Appropriate Legal Notices; however, if the Program has interactive
    interfaces that do not display Appropriate Legal Notices, your
    work need not make them do so.

  A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit.  Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.

  6. Conveying Non-Source Forms.

  You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:

    a) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by the
    Corresponding Source fixed on a durable physical medium
    customarily used for software interchange.

    b) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by a
    written offer, valid for at least three years and valid for as
    long as you offer spare parts or customer support for that product
    model, to give anyone who possesses the object code either (1) a
    copy of the Corresponding Source for all the software in the
    product that is covered by this License, on a durable physical
    medium customarily used for software interchange, for a price no
    more than your reasonable cost of physically performing this
    conveying of source, or (2) access to copy the
    Corresponding Source from a network server at no charge.

    c) Convey individual copies of the object code with a copy of the
    written offer to provide the Corresponding Source.  This
    alternative is allowed only occasionally and noncommercially, and
    only if you received the object code with such an offer, in accord
    with subsection 6b.

    d) Convey the object code by offering access from a designated
    place (gratis or for a charge), and offer equivalent access to the
    Corresponding Source in the same way through the same place at no
    further charge.  You need not require recipients to copy the
    Corresponding Source along with the object code.  If the place to
    copy the object code is a network server, the Corresponding Source
    may be on a different server (operated by you or a third party)
    that supports equivalent copying facilities, provided you maintain
    clear directions next to the object code saying where to find the
    Corresponding Source.  Regardless of what server hosts the
    Corresponding Source, you remain obligated to ensure that it is
    available for as long as needed to satisfy these requirements.

    e) Convey the object code using peer-to-peer transmission, provided
    you inform other peers where the object code and Corresponding
    Source of the work are being offered to the general public at no
    charge under subsection 6d.

  A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.

  A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling.  In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage.  For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product.  A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.

  "Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source.  The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.

  If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information.  But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).

  The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed.  Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.

  Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.

  7. Additional Terms.

  "Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law.  If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.

  When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it.  (Additional permissions may be written to require their own
removal in certain cases when you modify the work.)  You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.

  Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the
    terms of sections 15 and 16 of this License; or

    b) Requiring preservation of specified reasonable legal notices or
    author attributions in that material or in the Appropriate Legal
    Notices displayed by works containing it; or

    c) Prohibiting misrepresentation of the origin of that material, or
    requiring that modified versions of such material be marked in
    reasonable ways as different from the original version; or

    d) Limiting the use for publicity purposes of names of licensors or
    authors of the material; or

    e) Declining to grant rights under trademark law for use of some
    trade names, trademarks, or service marks; or

    f) Requiring indemnification of licensors and authors of that
    material by anyone who conveys the material (or modified versions of
    it) with contractual assumptions of liability to the recipient, for
    any liability that these contractual assumptions directly impose on
    those licensors and authors.

  All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10.  If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term.  If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.

  If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.

  Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.

  8. Termination.

  You may not propagate or modify a covered work except as expressly
provided under this License.  Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).

  However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.

  Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.

  Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License.  If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.

  9. Acceptance Not Required for Having Copies.

  You are not required to accept this License in order to receive or
run a copy of the Program.  Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance.  However,
nothing other than this License grants you permission to propagate or
modify any covered work.  These actions infringe copyright if you do
not accept this License.  Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.

  10. Automatic Licensing of Downstream Recipients.

  Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License.  You are not responsible
for enforcing compliance by third parties with this License.

  An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations.  If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.

  You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License.  For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.

  11. Patents.

  A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based.  The
work thus licensed is called the contributor's "contributor version".

  A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version.  For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.

  Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.

  In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement).  To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.

  If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients.  "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.

  If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.

  A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License.  You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.

  Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.

  12. No Surrender of Others' Freedom.

  If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all.  For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.

  13. Use with the GNU Affero General Public License.

  Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work.  The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.

  14. Revised Versions of this License.

  The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time.  Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

  Each version is given a distinguishing version number.  If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation.  If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.

  If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.

  Later license versions may give you additional or different
permissions.  However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.

  15. Disclaimer of Warranty.

  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

  16. Limitation of Liability.

  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

  17. Interpretation of Sections 15 and 16.

  If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

                     END OF TERMS AND CONDITIONS

            How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

  If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>
    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".

  You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.

  The GNU General Public License does not permit incorporating your program
into proprietary programs.  If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library.  If this is what you want to do, use the GNU Lesser General
Public License instead of this License.  But first, please read
<https://www.gnu.org/philosophy/why-not-lgpl.html>.


================================================
FILE: ChangeLog.1
================================================
Tue Oct 29 20:57:36 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Version 3.62.

	* remake.c (update_file_1): Check for deps still running before
	giving up if any dep has failed.

Sat Oct 26 16:20:00 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* make.h [uts]: #undef S_ISREG and S_ISDIR if defined.

Fri Oct 25 19:50:39 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Version 3.60.17.

Thu Oct 24 16:58:36 1991  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)

	* job.c (start_job): Don't check for empty cmds before tweaking the
	command_ptr.  Just let construct_command_argv do it.

Tue Oct 22 20:21:03 1991  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)

	* remake.c, arscan.c [POSIX]: <fcntl.h> instead of <sys/file.h>.

	* make.h [POSIX]: Declare vfork as pid_t.

Mon Oct 21 15:37:30 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Version 3.60.16.

	* job.c (construct_command_argv, construct_command_argv_internal):
	Take new 2nd arg RESTP.  If non-NULL, stop parsing at newline, and
	store addr of the NL in *RESTP.
	(start_job): Don't chop expanded cmd lines up; use above code to do it.
	* function.c (expand_function: `shell'): Pass RESTP==NULL.

Sat Oct 19 15:36:34 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Version 3.60.15.

Fri Oct 18 15:26:55 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* job.c (start_job): If on the same cmds->command_lines elt, look
	at cmds->lines_recurse[CHILD->command_line - 1] instead of
	[CHILD->command_line].

	* dir.c [sgi]: <sys/dir.h>, not ndir or anything else.

Thu Oct 17 16:28:55 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* file.c (print_file_data_base): Remove unused var.

	* make.h [NeXT]: No #define ANSI_STRING.

Tue Oct 15 20:08:41 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* Version 3.60.14.

Fri Oct 11 16:23:52 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* make.h: Use PATH_MAX for getwd defn.

	* make.h: Move getcwd/getwd outside of #ifndef POSIX, and make it
	#if USG||POSIX.

Thu Oct 10 11:53:31 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* Version 3.60.13.

	* read.c (read_all_makefiles): When processing MAKEFILES, save the
	malloc'd ptr to be freed, instead of freeing part-way thru it.

	* remake.c (update_file_1): Don't tweak FILE->also_make.
	(update_file): Do it here.  After calling update_file_1, set the
	command_state, update_status, and updated members of each also_make
	elt to FILE's values.

Tue Oct  8 14:56:04 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)

	* Version 3.60.12.

	* remake.c (notice_finished_file): Set command_state of FILE and
	its also_make chain to cs_finished here.
	* commands.c (execute_file_commands), job.c (child_handler),
	remake.c (remake_file): Don't set it before calling
	notice_finished_file.

	* file.h (struct file): Changed `also_make' to struct dep *.
	* job.c (delete_child_targets), file.c (print_file_data_base),
	remake.c (notice_finished_file), implicit.c (pattern_search):
	Use dep chain instead of array of file names.

Mon Oct  7 17:04:33 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* Version 3.60.11.

	* arscan.c: Declare open.
	* misc.c: Declare {get,set}{re,}[ug]id.
	* variable.c (target_environment): Declare getenv.

Sat Oct  5 15:13:03 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)

	* make.h [NeXT]: <string.h> instead of <strings.h>.

Fri Oct  4 16:05:41 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)

	* default.c (default_suffixes, defualt_suffix_rules): Add .texi
	just like .texinfo.

	* Version 3.60.10.

	* job.c: Move vfork decl into make.h.

Fri Sep 27 18:45:30 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)

	* compatMakefile (glob/libglob.a): Pass CC value to submake.

Thu Sep 26 00:08:15 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* load.c (load_average): Made not static.

	* load.c [ultrix && vax]: Define LDAV_TYPE and LDAV_CVT for Ultrix 4.2.

Tue Sep 24 00:17:20 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Version 3.60.9.

	* read.c (record_files): Warn about extra cmds even if the target's
	name begins with a dot.  I think the lusers can handle this.

Mon Sep 23 22:33:26 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* make.h, arscan.c: Don't declare bcmp, bzero, or bcopy if they're
	#define'd.
	* make.h: Declare write and open.

	* default.c (default_suffixes, default_suffix_rules,
	default_variables): Add .C just like .cc.
	* make.texinfo (Catalogue of Rules): Document .C.

	* make.man (-w): Fix gramo.

Fri Sep 20 17:18:16 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* make.h: No text after #endif.

Sun Sep 15 16:20:46 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)

	* Version 3.60.8.

	* implicit.c (pattern_search): In the second pass, recurse on rule
	deps that don't have a %.  Why did I make it not do this?

Fri Sep 14 18:29:39 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* read.c (record_files): For extra cmds, use the last ones given.
	If the target's name doesn't begin with a dot (bletch!!), emit a
	two-line warning, one line giving the old cmds' location and the
	other the new cmds' location.

	* misc.c (makefile_error, makefile_fatal): New fns.
	* make.h: Declare them.
	* Use them instead of error/fatal for all msgs including a file
	name and line number.

Thu Sep 13 16:35:54 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)

	* make.h: Declare define_default_variables.
	Declare ar_parse_name, instead of ar_name_parse (M-t).

Mon Sep 10 18:35:40 1991  Roland McGrath  (roland@wookumz.gnu.ai.mit.edu)

	* Version 3.60.7.

	* make.texinfo (Variables: Setting): Say whitespace is removed if
	"immediately after =", rather than simply "after =".

	* job.c: Don't declare wait #ifdef POSIX.

	* make.h [__GNUC__]: #undef alloca and then #define it.

	* main.c (main): When pruning makefiles which might loop from the
	read_makefiles chain, look at all `prev' entries of double-colon rules.

Fri Sep  7 00:41:53 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)

	* main.c (main): Only remove makefiles with cmds but no deps from
	the list of makefiles to be rebuilt if they are :: targets.
	: targets with cmds and no deps are not dangerous.

Wed Sep  5 17:35:51 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* compatMakefile (defines): Add comment that some compilers take
	ENUM_BITFIELDS but produce bogus code.
	(LOAD_AVG): Fix examples to \ "s.
	(LOADLIBES): Add comment that SGI Irix needs -lmld for nlist.

Tue Sep  4 20:26:26 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Version 3.60.6.

Fri Aug 30 19:34:04 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* remake.c (update_file_1): When checking the command_state of
	deps, check through the prev chain.
	(update_goal_chain): When a target is finished, start checking its
	prev (if it has one) instead.

Wed Aug  7 17:32:03 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* rule.c (convert_to_pattern): Allow files with deps to define
	suffix rules (really this time).

Mon Aug  5 17:09:21 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* misc.c (user_access, make_access): Do saved-IDs (USG) flavor
	#ifdef POSIX.

	* file.c (enter_file): Strip ./s here.
	* read.c (parse_file_seq): Not here.

Tue Jul 23 23:34:30 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* compatMakefile: Added comment that -lPW alloca is broken on HPUX.

Thu Jul 18 03:10:41 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Version 3.60.5.

	* read.c (read_makefile): Ignore lines containing chars that are
	all isspace, not just all isblank.

	* make.texinfo (Copying): @include gpl.texinfo, rather than copying
	the text.
	* gpl.texinfo: New file (symlink to /gd/gnu/doc/gpl.texinfo).
	* GNUmakefile: Put gpl.texinfo in distribution.

Tue Jul 16 12:50:35 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)

	* make.h: #define _GNU_SOURCE before including headers.
	Include <ctype.h> and define isblank if <ctype.h> doesn't.
	* commands.c: Don't include <ctype.h> here.
	* *.c: Use isblank instead of explicit ' ' || '\t'.

Mon Jul 15 17:43:38 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* function.c (expand_function: `filter'/`filter-out'): Fixed to not
	loop infinitely.

Fri Jul 12 12:18:12 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)

	* function.c (expand_function: `filter'/`filter-out'): Rewritten to
	handle filter-out of multiple patterns properly.  Also no longer
	mallocs and reallocs for temp array; uses alloca and a linked-list
	instead.

Wed Jul 10 22:34:54 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Version 3.60.4.

	* make.texinfo: Moved some @groups that were outside @examples to
	be inside them.

	* load.c [apollo] (load_average): Define using special syscall for
	Apollo DOMAIN/OS SR10.n.

Thu Jul  4 12:32:53 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)

	* make.texinfo (Missing): Added Unix excessive implicit rule
	search; mention that POSIX.2 doesn't require any of the missing
	features.
	(Top): Updated printed manual price to $15.

Wed Jul  3 18:17:50 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* file.c (rename_file): Carry over last_mtime when merging files.
	* remake.c (f_mtime): Tail-recurse after renaming VPATH file, to
	check for saved date in existing renamed-to file.

	* remote-cstms.c (start_remote_job): Use PATH_VAR.

	* commands.c [POSIX || __GNU_LIBRARY__]: Don't declare getpid.

	* compatMakefile (glob-{clean,realclean}): Run clean/realclean in glob.
	(clean, realclean): Require those.

	* make.h: Always declare environ.
	Don't declare old glob functions.

	* GNUmakefile: Make no-lib deps for load.c and remote.c.

Tue Jul  2 18:35:20 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* Version 3.60.3.

Mon Jul  1 16:58:30 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* read.c (multi_glob): Don't pass GLOB_QUOTE flag to glob.

	* make.h [POSIX]: Include <unistd.h>, and don't declare things that
	should be there.

	* main.c (main) [USG && sgi]: malloc a buffer for broken sgi stdio.

Sat Jun 29 11:22:21 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)

	* function.c (expand_function: `shell'): Use alloca for the error
	msg buffer, instead of assuming an arbitrary max size.

Fri Jun 28 18:15:08 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* job.c [POSIX] (search_path): Do real 1003.1 goop to get NGROUPS_MAX.

Wed Jun 26 11:04:44 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)

	* default.c (define_default_variables): New fn.
	(install_default_implicit_rules): Code for above fn moved there.
	* main.c (main): Do define_default_variables before reading the
	makefile.

Tue Jun 25 17:30:46 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)

	* main.c (main): Quote ; in MAKEOVERRIDES.

Tue Jun 18 13:56:30 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)

	* compatMakefile: Fixed typo in comment.

Tue Jun 11 00:14:59 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)

	* Version 3.60.2.

Mon Jun 10 14:46:37 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* make.h: Always include <sys/types.h>.
	[POSIX]: Include <limits.h> and #define MAXPATHLEN to be PATH_MAX.

	* default.c (default_suffix_rules: .texinfo.dvi): Use $(TEXI2DVI).
	(default_variables): Define TEXI2DVI.

Thu Jun  6 16:49:19 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* Version 3.60.1.

	* make.h (SIGNAL): Cast handler arg to SIGHANDLER type.

Wed Jun  5 06:00:43 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* read.c (multi_glob): Use POSIX.2 `glob' function.
	If a glob pattern matches nothing, leave it as is (a la sh, bash).
	Also, if can't find USER for ~USER, leave it as is (a la bash).

Mon Jun  3 16:36:00 1991  Roland McGrath  (roland@albert.gnu.ai.mit.edu)

	* compatMakefile: Rewrote comments about -Ds to be easier to use.

	* make.h, arscan.c, remake.c, main.c, dir.c, job.c: Changed tests
	of _POSIX_SOURCE to POSIX.

	* job.c: Take getdtablesize out of #ifdef __GNU_LIBRARY__.
	Put separately #ifdef USG.

	* COPYING: Replaced with version 2.
	* Changed copyright notices to refer to GPL v2.

Thu May 30 00:31:11 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* make.h: Don't declare sigblock for POSIX.

	* main.c (main, log_working_directory) [USG]: Get getcwd failure
	mode from errno, not passed buffer like BSD getwd.

	* misc.c (child_access): New fn to set access for a child process;
	like user_access, but you can't change back.
	* make.h: Declare it.
	* job.c (exec_command): Use it in place of user_access.

Wed May 29 23:28:48 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* default.c (default_variables) [pyr]: PC = pascal.

Tue May 28 20:24:56 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)

	* variable.c (print_variable): Put a newline before `endef'.

Sat May 25 02:39:52 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* Version 3.60.

Wed May 22 19:41:37 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* Version 3.59.5.

Thu May 16 13:59:24 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* main.c (main): Do USGr3 setvbuf behavior #ifdef APOLLO.
	Don't handle SIGCHLD #ifdef USG (Apollo is USG but defines SIGCHLD).

Fri May 10 14:59:33 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* remake.c [sgi]: Don't include <sys/file.h>.

Wed May  8 01:54:08 1991  Roland McGrath  (roland@geech.gnu.ai.mit.edu)

	* make.h (SIGHANDLER): #define as (void *) #if __STDC__,
	else (int (*)()).
	(SIGNAL): Use it to cast return value.
	* main.c (main): Cast SIG_IGN to SIGHANDLER when comparing.
	* job.c (block_signals, unblock_signals): Use SIGNAL instead of signal.

	* main.c: Declare mktemp to return char*, not int.

	* job.c (new_job): Don't increment files_remade.
	* remake.c (notice_finished_file): Do it here.

	* read.c (do_define): Don't clobber DEFINITION[-1] on empty defns.
	Free storage that is no longer needed.

Wed Apr 24 20:49:48 1991  Roland McGrath  (roland at churchy.gnu.ai.mit.edu)

	* misc.c (message): New fn to print informational msgs with
	leading "make: " or "make[N]: ".
	* make.h: Declare it.
	* remake.c (update_file): Use it instead of printf.

Fri Apr 19 05:52:45 1991  Roland McGrath  (roland at churchy.gnu.ai.mit.edu)

	* main.c (main): When there are no targets, if there were no
	makefiles, print a different error message, which mentions makefiles.

Tue Apr 16 03:22:45 1991  Roland McGrath  (roland at geech.gnu.ai.mit.edu)

	* remake.c (update_file): Print "nothing to be done" instead of "is
	up to date" if FILE->cmds == 0.

	* job.c [!WIFEXITED]: Define if not already defined.

Thu Apr 11 18:00:50 1991  Roland McGrath  (roland at wookumz.gnu.ai.mit.edu)

	* arscan.c (ar_name_equal): Fixed truncation comparison.

Tue Apr  2 16:17:35 1991  Roland McGrath  (roland at churchy.gnu.ai.mit.edu)

	* glob.c: Use common version from djm.
	* dir.c: Snarfed #ifdef mess for <dirent.h> or whatever from glob.c.
	(dir_file_exists_p): Ignore directory entries with d_ino==0.

Mon Apr  1 20:49:45 1991  Roland McGrath  (roland at albert.gnu.ai.mit.edu)

	* Version 3.59.4.

Fri Mar 29 19:16:18 1991  Roland McGrath  (roland at albert.gnu.ai.mit.edu)

	* job.c (free_child): Free CHILD->environment and its elts.

Sat Mar 23 14:08:09 1991  Roland McGrath  (roland at albert.gnu.ai.mit.edu)

	* read.c (read_makefile): Don't ignore lines containing only
	comments if they start with a tab.  Such lines should be passed to
	the shell for it to decide about the comments.

	* job.c (free_child): Free CHILD->command_lines and its elts, not
	CHILD->commands (which is obsolete).
	* job.h, job.c: Remove obsolete `commands' member of `struct child'.

Sun Mar 17 18:40:53 1991  Roland McGrath  (roland at albert.ai.mit.edu)

	* remake.c (update_file): Print a msg for a top-level up-to-date
	phony target (a different one than for a real file).

	* read.c (conditional_line): Boundary check so we don't check the
	value of the -1th elt of the stack (which is bogus).

Sat Mar 16 16:58:47 1991  Roland McGrath  (roland at albert.ai.mit.edu)

	* read.c (conditional_line): Don't evaluate an if* when we're
	already ignoring.  Instead, just push a new level, with a value of
	1, to keep ignoring.

Tue Mar 12 00:16:52 1991  Roland McGrath  (roland at geech.ai.mit.edu)

	* Version 3.59.3.

Mon Mar 11 23:56:57 1991  Roland McGrath  (roland at geech.ai.mit.edu)

	* job.c (construct_command_argv_internal): Quote backslashes
	when building the shell -c line.

Fri Mar  8 01:40:18 1991  Roland McGrath  (roland at geech.ai.mit.edu)

	* job.c (exec_command): Call user_access rather than setgid(getgid()).

	* misc.c (remove_comments): Renamed from collapse_line; took out
	collapse_continuations call.
	* make.h: Change decl.
	* read.c (read_makefile): Collapse continuations on the line buffer
	immediately after reading it.  Call remove_comments rather than
	collapse_line (which is now defunct).

Thu Feb 21 18:06:51 1991  Roland McGrath  (mcgrath at cygint.cygnus.com)

	* misc.c (user_access, make_access): New fns to toggle btwn permissions
	for user data (files and spawning children), and permissions for make
	(for taking the load average, mostly).
	* make.h: Declare them.
	* job.c (start_job): Call make_access before wait_to_start_job, and
	user_access after.
	* main.c (main): Call user_access before doing much.

Mon Feb  3 15:02:03 1991  Roland McGrath  (roland at albert.ai.mit.edu)

	* Version 3.59.2.

Tue Jan 29 20:30:50 1991  Roland McGrath  (roland at cygint.cygnus.com)

	* read.c (read_all_makefiles): Use allocated_variable_expand to expand
	`$(MAKEFILES)', since the results are used across calls to
	read_makefile, which could clobber them.

Wed Jan 23 00:24:10 1991  Roland McGrath  (roland at cygint.cygnus.com)

	* main.c (main): Call install_default_implicit_rules after reading
	makefiles, not before.
	* default.c (install_default_implicit_rules): If a suffix-rule file
	entry has cmds, don't give it any from default_suffix_rules.

Fri Jan 17 17:39:49 1991  Roland McGrath  (roland at albert.ai.mit.edu)

	* arscan.c: Added support for AIX archives.

	* remake.c: Don't include ar.h.
	* main.c: Removed unused atol decl.
	* arscan.c (ar_scan): Declare arg FUNCTION to return long int.
	* ar.c (ar_touch): Don't perror for an invalid archive.
	* make.h: Declare lseek as long int.

	* job.c [hpux]: Define getdtablesize a la USG.

Sun Jan 12 21:08:34 1991  Roland McGrath  (roland at albert.ai.mit.edu)

	* Version 3.59.1.

Fri Jan 10 03:48:08 1991  Roland McGrath  (roland at albert.ai.mit.edu)

	* job.c (search_path): Take new arg, place to put full pathname (rather
	than mallocing it).
	(exec_command): Pass it, using auto storage.

	* main.c (print_version): Updated copyright years.

Wed Jan  8 19:46:19 1991  Roland McGrath  (roland at albert.ai.mit.edu)

	* job.c [_POSIX_SOURCE]: Just #include <sys/wait.h>, and define macro
	WAIT_NOHANG in terms of waitpid.
	[!_POSIX_SOURCE && (HAVE_SYS_WAIT || !USG)]: Don't #include <signal.h>
	(make.h does).
	Define macro WAIT_NOHANG in terms of wait3.
	(child_handler): #ifdef on WAIT_NOHANG, not HAVE_SYS_WAIT || !USG.
	Use WAIT_NOHANG macro instead of wait3.

	* file.h (struct file.command_state): Remove unused elt.

Wed Dec 26 18:10:26 1990  Roland McGrath  (roland at albert.ai.mit.edu)

	* commands.c (set_file_variables): If FILE got its commands from
	.DEFAULT, make $< == $@ (4.3 BSD/POSIX.2d11 compat).

Mon Dec 24 17:36:27 1990  Roland McGrath  (roland at albert.ai.mit.edu)

	* default.c (default_variables): Rename 2nd LINK.s defn to LINK.S.

Fri Dec 14 15:05:25 1990  Roland McGrath  (roland at albert.ai.mit.edu)

	* vpath.c (selective_vpath_search): Check for makefile-mentioned before
	checking for actual existence.  The old order loses if the containing
	directory doesn't exist (but a rule might make it).

	* make.h [__GNUC__]: Don't #define alloca if already #define'd.

	* rule.c (convert_to_pattern): Don't look at the target constructed for
	the empty rule when making the null-suffix rule.  Construct it over
	again, since the former may have been freed already.

Thu Dec 13 17:21:03 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* make.h [__GNU_LIBRARY__]: Include <unistd.h> to get random fn decls.

Wed Dec 12 17:12:59 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* make.h, arscan.c, glob.c: Only include <memory.h> #ifdef USG.

	* variable.c (define_variable_in_set): Replace env_overrides check that
	wasn't really redundant (undoing Sep 28 change).  Add comment saying
	why this check is necessary.

	* job.c, main.c [DGUX]: Needs siglist like USG.

Mon Dec 11 01:19:29 1990  Roland McGrath  (roland at albert.ai.mit.edu)

	* default.c [M_XENIX]: For rules that are different for Xenix, use the
	generic Unix version #ifdef __GNUC__.

	* main.c [M_XENIX]: Use USGr3-style setvbuf call.

	* read.c (find_percent): Do backslash folding correctly, not leaving
	extra crud on the end of the string.

Sun Dec 10 21:48:36 1990  Roland McGrath  (roland at albert.ai.mit.edu)

	* job.c: Don't declare wait3 if it's #defined.

	* GNUmakefile, compatMakefile, make.texinfo: Change make-info
	to make.info.

Thu Dec  7 21:20:01 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* make.h [STDC_HEADERS || __GNU_LIBRARY__ || _POSIX_SOURCE]: Use
	ANSI <string.h> and names for str/mem functions.
	Use <stdlib.h> to declare misc fns rather than explicit decls.
	[_POSIX_SOURCE]: Don't declare kill (<signal.h> will).
	Include <sys/types.h> before <signal.h> because some braindead
	nonconformant 1003.1 implementation needs it.
	* misc.c: Don't declare malloc, realloc.  Do it in make.h.
	* arscan.c, glob.c: Use sequence for string fns from make.h verbatim.
	* make.h (S_ISDIR, S_ISREG): Declare if necessary.
	* commands.c (delete_child_targets), job.c (search_path), read.c
	(construct_include_path): Use S_ISfoo(m) instead of
	(m & S_IFMT) == S_IFfoo.
	* dir.c, glob.c [_POSIX_SOURCE]: Use dirent.

Wed Nov 29 22:53:32 1990  Roland McGrath  (roland at geech.ai.mit.edu)

	* Version 3.59.

Tue Nov 28 16:00:04 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* arscan.c (ar_name_equal) [APOLLO]: Don't do `.o' hacking.  On Apollos
	the full file name is elsewhere, and there is no length restriction (or
	so I'm told).

Thu Nov 23 17:33:11 1990  Roland McGrath  (roland at albert.ai.mit.edu)

	* load.c [hp300 && BSD] (LDAV_CVT): Define for this system.

Tue Nov 21 07:58:40 1990  Roland McGrath  (roland at albert.ai.mit.edu)

	* read.c (record_files): Fix trivial bug with deciding to free storage
	for a file name.

Thu Nov 16 06:21:38 1990  Roland McGrath  (roland at geech.ai.mit.edu)

	* compatMakefile ($(bindir)/make): Install it setgid kmem.

Thu Nov  1 16:12:55 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* GNUmakefile (make-*.tar.Z): Use `h' option to tar (dereference
	symlinks), to grab texinfo.tex from wherever it lives.

Tue Oct 30 16:15:20 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* Version 3.58.13.

Fri Oct 26 14:33:34 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* GNUmakefile: make-*.tar.Z: Include texinfo.tex.

Tue Oct 23 19:34:33 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* main.c (define_makeflags): When there are no flags to write, make
	sure the array has two leading nulls, since `MAKEFLAGS' is defined from
	&flags[1].

	* main.c (default_keep_going_flag): New variable (constant one).
	(command_switches: -k, -S): Use above for default value.
	(define_makeflags): Only write flag/flag_off switches if they are on,
	and either there is no default value, or they are not the default.

Mon Oct 22 16:14:44 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* main.c (struct command_switch): New member `no_makefile'.
	(command_switches: -n, -q, -t): Set no_makefile == 1.
	(define_makeflags): Take new arg MAKEFILE: if nonzero, don't use
	options whose `no_makefile' flags are set.
	(main): Call define_makeflags with MAKEFILE==1 before remaking
	makefiles, and again with MAKEFILE==0 before remaking goals.

Tue Oct  2 17:16:45 1990  Roland McGrath  (roland at geech.ai.mit.edu)

	* Version 3.58.12.

Mon Oct  1 15:43:23 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* arscan.c [HPUX]: Use PORTAR==1 format.

Sat Sep 29 16:38:05 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* make.h, remake.c, arscan.c: Don't declare `open'.

Fri Sep 28 04:46:23 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* variable.c (define_variable_in_set): Remove redundant -e check.

Wed Sep 26 00:28:59 1990  Roland McGrath  (roland at geech.ai.mit.edu)

	* job.c (start_job): Set RECURSIVE from the right elt of
	CHILD->file->cmds->lines_recurse.

	* commands.c (chop_commands): Don't botch the line count for allocating
	CMDS->lines_recurse.

	* Version 3.58.11.

	* job.c (start_job): Don't always increment CHILD->command_line!  Only
	do it when CHILD->command_ptr has run out!  (Dumb bug.  Sigh.)

Thu Sep 20 02:18:51 1990  Roland McGrath  (roland at geech.ai.mit.edu)

	* GNUmakefile [ARCH]: Give explicit rule for remote.{c,dep} to use
	variable `REMOTE' for more flags.
	($(prog)): Link in $(LOADLIBES).

Wed Sep 19 02:30:36 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* commands.h (struct commands): New member `ncommand_lines', the number
	of elts in `command_lines' et al.
	* commands.c (chop_commands): Set `ncommand_lines' elt of CMDS, and
	don't put a nil pointer at the end of `command_lines'.
	* job.h (struct child): New member `command_lines' to hold
	variable-expanded command lines.
	* job.c (new_job): Store expanded command lines in `command_lines'
	member of new child.  Don't clobber FILE->cmds.
	(start_job): Use CHILD->command_lines in place of
	CHILD->file->cmds->command_lines.

	* variable.h, variable.c, job.c, expand.c: Undo yesterday's change,
	which is no longer necessary since we have cleverly avoided the issue.

	* job.c (start_job): Don't variable-expand each command line.
	(new_job): Do them all here, storing the expansions in the array.

Tue Sep 18 01:23:13 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* variable.h (struct variable): Remove `expanding' member.
	* variable.c (define_variable_in_set): Don't initialize it.
	* expand.c (struct variable_expanding): New type, a linked list
	containing `struct variable' pointers.
	(variables_expanding): New variable, the chain of variables currently
	being expanded.
	(recursively_expand): Don't test and set `expanding' member.
	Instead, run through the `variables_expanding' chain looking for a link
	referring to V to find self-reference.  Add a new link to the chain,
	describing V, before recursive expansion, and pop it off afterward.
	* job.c (child_handler): Save `variables_expanding' and clear it before
	calling start_job, and restore it afterward.  This avoids major lossage
	when the SIGCHLD comes in the middle of variable expansion.

Mon Sep 17 14:46:26 1990  Roland McGrath  (roland at geech.ai.mit.edu)

	* job.c, commands.c: Don't define sigmask.
	* make.h: Put it here instead.

	* variable.c (target_environment): If `.NOEXPORT' was specified as a
	target, only export command-line and environment variables, and
	file-origin variables that were in the original environment.

	* make.man: Add missing ?roff control for `-I' option description.

Thu Sep 13 14:10:02 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* load.c [UMAX]: Move #include <sys/sysdefs.h> to [not UMAX_43].

Wed Sep 12 15:10:15 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* expand.c (recursively_expand): Don't use `reading_filename' and
	`reading_lineno_ptr' if they're nil.

Thu Aug 30 17:32:50 1990  Roland McGrath  (roland at geech)

	* Version 3.58.10.

Tue Aug 28 04:06:29 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* job.c [USG] (unknown_children_possible): New variable, set nonzero
	when it's possible for children not in the `children' chain to die.
	(block_signals) [USG]: Set it.
	(unblock_signals) [USG]: Clear it.
	(child_handler) [USG]: Don't complain about unknown children if
	`unknown_children_possible' is set.

	* read.c (do_define): Make sure there's enough space for the newline,
	so we don't write off the end of allocated space.

	* arscan.c (ar_name_equal): Fixed to work when MEM is AR_NAMELEN-1 but
	NAME is not the same length.

Sat Aug 25 16:17:14 1990  Roland McGrath  (roland at geech)

	* job.c (construct_command_argv_internal): Use a static char array for
	a constant, since old C has no auto aggregate initializers.

Thu Aug 23 16:11:03 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* job.c (search_path): If PATH is nil or "" use a default path.

Wed Aug 22 01:05:32 1990  Roland McGrath  (roland at churchy.ai.mit.edu)

	* Version 3.58.9.

	* job.c (exec_command): Don't take PATH and SHELL args.  Get them from
	ENVP.
	(child_execute_job): Don't take FILE arg, and don't pass path and shell
	to exec_command.
	(start_job): Don't pass FILE arg to child_execute_job.
	* function.c (expand_function: `shell'): Ditto.
	* main.c (main): Don't pass path and shell to exec_command.

Fri Aug 17 23:17:27 1990  Roland McGrath  (roland at geech)

	* job.c (construct_command_argv_internal): New fn broken out of
	construct_command_argv.  Takes strings SHELL and IFS instead of doing
	variable expansion for them.  Recurse to make an argv for SHELL,
	passing SHELL==0.  When SHELL==0, don't recurse for shell argv; make a
	simple one using /bin/sh.
	(construct_command_argv): Do the variable expansions and call above.

Thu Aug 16 19:03:14 1990  Roland McGrath  (roland at geech)

	* read.c (multi_glob): For ~USER/FILE, if USER isn't found, don't
	change the file name at all.

Tue Aug  7 18:33:28 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* function.c (expand_function: `suffix'/`notdir'): Don't kill the last
	space if we never wrote one.

	* function.c (expand_function: `suffix'): Retain the dot, like the
	documentation says.

Mon Aug  6 14:35:06 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.58.8.

	* main.c (decode_switches): For positive_int and floating cases, move
	SW past the arg (and don't set it to ""), so another switch can follow.

Fri Aug  3 00:43:15 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* job.c (child_execute_job): Use unblock_signals instead of
	push_signals_blocked_p (0).

	* main.c (fatal_signal_mask): New variable, mask of signals caught with
	fatal_error_signal.
	(main): Set it.
	* job.c ({block,unblock}_children): Renamed to {block,unblock}_signals.
	Block/unblock both child signal and signals in fatal_signal_mask.
	(children_blocked_p_{stack,max,depth}, {push,pop}_children_blocked_p):
	Renamed from children to signals.  Use {block,unblock}_signals instead
	of {block,unblock}_children.
	* commands.c (fatal_error_signal), job.c (wait_for_children, new_job,
	child_execute_job, main, log_working_directory), function.c
	(expand_function: `shell'), job.h: Rename {push,pop}_children_blocked_p
	to {push,pop}_signals_blocked_p.
	* job.c (child_handler): Call {block,unblock}_signals instead of just
	{block,unblock}_remote_children.  We need to block the fatal signals.

Thu Aug  2 22:41:06 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* main.c, function.c: Fixed typos in comments.

	* file.c (print_file_data_base): Fix computation of avg files/bucket.

Tue Jul 31 22:11:14 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.58.7.

Wed Jul 25 16:32:38 1990  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* arscan.c (ar_name_equal): Fixed to really do it right.
	(ar_member_pos): Fixed order of args.
	* ar.c (ar_member_date_1): Ditto.

Fri Jul 20 15:30:26 1990  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* arscan.c (ar_name_equal): Rewritten.  Accounts for a possible
	trailing slash in MEM.

	* remake.c (f_mtime): Keep track of whether ARNAME is used and free it
	if not.  Also free MEMNAME.
	* ar.c (ar_member_date, ar_touch): Ditto.

	* arscan.c (arscan) [HPUX or hpux]: Treat same as USGr3 PORTAR==1.

	* make.h: If NSIG is not defined, but _NSIG is, #define NSIG _NSIG.

	* compatMakefile: Don't use $* in explicit rules.

	* default.c (default_variables: "PREPROCESS.S"): Include $(CPPFLAGS).

	* remake.c (f_mtime): If FILE is an ar ref, get the member modtime.

	* function.c (string_glob): Terminate the string properly when it's
	empty.

Wed Jul 18 11:26:56 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.58.6.

	* commands.c (set_file_variables): Fixed computation for ^F/?F elt len.

Sat Jul 14 13:41:24 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* job.c (construct_command_argv): Always use
	allocated_variable_expand_for_file instead of variable_expand_for_file
	because we might be called from inside a variable expansion (for the
	`shell' function).

	* function.c (expand_function: `shell'): Free the arglist's storage
	correctly.  construct_command_argv only allocates ARGV and ARGV[0].

	* job.c (children_blocked_p_idx): Renamed to children_blocked_p_depth.
	(push_children_blocked_p, pop_children_blocked_p): Use ..._depth
	instead of ..._idx, and do it right!

Wed Jul 11 15:35:43 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* make.h (SIGNAL): New macro to replace `signal' calls.  Does arg and
	ret value casts to (void *) #ifdef __STDC__ to avoid conflicts btwn
	ANSI and BSD `signal' and handler types.
	* main.c (main), job.c (child_handler): Use it.

Fri Jul  6 00:00:38 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* ar.c (ar_member_date, ar_touch): Pass 2nd arg to f_mtime.

	* read.c (read_makefile): Search the include path for MAKEFILES
	variable makefiles (TYPE == 1), like it says in the manual.

	* file.h (struct file), main.c (struct command_switch): Remove trailing
	commas from enums.

	* commands.c (execute_file_commands): Remove unused variables.
	* commands.h: Declare chop_commands.
	* make.h: Declare uniquize_deps.
	* main.c (main): Remove unused variable.
	(decode_switches): Remove unused label.
	* remake.c: Include "ar.h" for ar_parse_name decl.
	* implicit.c (try_implicit_rule): Remove unused variable.
	* function.c (expand_function: `shell'): Declare fork, pipe.
	* ar.c: Declare ar_name_equal.

	* GNUmakefile: If using gcc, add warning flags to CFLAGS.

	* remake.c: Remove decl of ar_member_date, since it's done in make.h.

	* remake.c (f_mtime): For ar refs, allow the archive to be found via
	VPATH search if we're searching, and change the ar ref accordingly.

	* ar.c (ar_parse_name): New global fn to parse archive-member
	references into the archive and member names.
	(ar_member_date, ar_touch): Use it.
	* make.h: Declare it.

	* remake.c (f_mtime): After doing rename_file, do check_renamed instead
	of assuming rename_file will always set FILE->renamed (which it won't).

	* vpath.c (selective_vpath_search): Only accept prospective files that
	don't actually exist yet are mentioned in a makefile if the file we are
	searching for isn't a target.

Wed Jul  4 04:11:55 1990  Roland McGrath  (mcgrath at helen.Berkeley.EDU)

	* remake.c (update_goal_chain): Do check_renamed after calling
	file_mtime.
	(check_dep): Ditto after update_file.

	* file.c (rename_file): Prettied up long message for merging cmds.

	* remake.c (update_file_1): Get each dep file's modtime, and allow for
	it being renamed, before checking for a circular dep, since a renaming
	may have introduced one.

Tue Jul  3 18:15:01 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* ar.c (ar_touch): Don't free ARNAME since enter_file holds onto the
	storage.

	* function.c (string_glob): Don't leave a trailing space.

	* read.c (do_define): Allow leading whitespace before `endef'.

Mon Jul  2 14:10:16 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* implicit.c (pattern_search): No longer take NAME arg.  Instead take
	ARCHIVE flag.  If ARCHIVE is nonzero, FILE->name is of the form
	"LIB(MEMBER)"; rule for "(MEMBER)" is searched for, and LASTSLASH is
	set to nil.  Since NAME was only non-nil when it was the archive member
	name passed by try_implicit_rule, this change easily allows turning off
	LASTSLASH checking for archive members without excessive kludgery.
	(try_implicit_rule): Pass ARCHIVE flag instead of file name.

	* Version 3.58.5.

	* commands./c (set_file_variables): Don't kill last char of $(^D) elts.

Sat Jun 30 00:53:38 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* ar.c (ar_member_date): Don't free ARNAME since enter_file holds onto
	the storage.

	* arscan.c (ar_scan) [sun386 && PORTAR == 1]: Treat like USGr3.

Wed Jun 27 14:38:49 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* main.c (main): Put a newline on the debugging message when deciding
	not to remake a makefile to avoid a possible loop.
	Only decide not to remake makefiles that have commands (as well as
	being targets and having no deps).

Fri Jun 22 12:35:37 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* default.c (default_variables): Define `LINK.s' and `LINK.S'.
	(default_suffix_rules): Define .S.o rule.

	* job.c (construct_command_argv): If we decide to go the slow route,
	free all storage for the chopped args.
	(start_job): Free the argument list's storage correctly.
	construct_command_argv only allocates ARGV and ARGV[0].

Tue Jun 19 18:27:43 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.58.4.

Fri Jun 15 21:12:10 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* glob.c: New version from ai-lab which doesn't do [^abc].

Thu Jun  7 00:30:46 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* dir.c: Copied dirent vs direct et al mess from glob.c.

	* glob.c: Replaced with updated version from djm.
	* glob.c: Check macro DIRENT instead of _POSIX_SOURCE for <dirent.h>.
	__GNU_LIBRARY__ implies DIRENT and STDC_HEADERS.

Thu May 31 22:19:49 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* vpath.c (vpath_search): Don't stop the loop if a pattern matches but
	the search fails.  All matching patterns have their paths searched
	(like it says in the manual).

	* make.texinfo (Rules: Directory Search: Selective Search): Say that
	multiple `vpath' directives with the same pattern DO accumulate, not
	supersede earlier ones.

	* vpath.c (print_vpath_data_base): Increment the count of vpaths on
	each loop iteration, rather than letting it stay zero.

	* Version 3.58.3.

	* job.c (block_children, unblock_children): Made static.
	(push_children_blocked_p, pop_children_blocked_p): New functions to
	push and pop whether children are blocked or not.
	* job.h: Declare push_children_blocked_p, pop_children_blocked_p and
	not block_children, unblock_children.
	* commands.c (fatal_error_signal), job.c (wait_for_children, new_job,
	child_execute_job), main.c (main, log_working_directory): Use sequences
	of push_children_blocked_p (1) and pop_children_blocked_p () instead of
	explicitly blocking and unblocking children.
	* function.c (expand_function: `shell'): Don't unblock children.  The
	push-pop sequence in wait_for_children makes it unnecessary.

Tue May 29 21:30:00 1990  Roland McGrath  (mcgrath at helen.Berkeley.EDU)

	* read.c (do_define): Don't include the last newline in the definition.

	* function.c (expand_function: `shell'): Call construct_command_argv
	before forking and don't fork if it returns nil.  Free the argument
	list's storage before finishing.

	* job.c (start_job): Free the storage for the child's argument list
	in the parent side of the fork after the child has been spawned.

	* job.c (start_job): If construct_command_argv returns nil, go to the
	next command line.

	* job.c (construct_command_argv): Use the shell if the command contains
	an unterminated quote.

Wed May 23 19:54:10 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.58.2.

	* read.c (read_makefile): Parse "override define" correctly.

Thu May 17 15:25:58 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* arscan.c [USG]: Don't declare memcpy and memcmp.  <memory.h> should
	do this anyway (and lack of declarations is harmless).

	* remote-customs.c: Renamed to remote-cstms.c for System V.
	* remote.c [CUSTOMS]: Changed accordingly.

Sun May 13 14:38:39 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* GNUmakefile: Use same cmds for doc tar.Z as for dist tar.Z (so the
	contents go in make-N.NN).

Thu Apr 26 19:33:25 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* Version 3.58.1.

Wed Apr 25 20:27:52 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* job.c (init_siglist): Don't do SIGUSR1 and SIGUSR2 if they are the
	same as SIGIO and SIGURG (true on Cray).

Tue Apr 24 20:26:41 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* arscan.c (ar_scan): Do behavior for PORTAR == 1 and USGr3 also
	#ifdef APOLLO.

Wed Apr 11 10:00:39 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* job.c (exec_command): Set the effective GID to the real GID.  Somehow
	this code got lost.

	* implicit.c (pattern_search): Use the right index variable when
	seeing if we need to expand FILE->also_make.

Sun Mar  4 09:18:58 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* Version 3.58.0.

	* remake.c (remake_file): Treat non-targets without commands under -t
	the same as anything else without commands.

Sat Feb 24 17:46:04 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* default.c (default_variables: PREPROCESS.S): Removed $< from defn.

	* main.c (main): Ignore arguments that are the empty string, rather
	than feeding them to enter_file and barfing therein.

Wed Feb 14 16:28:37 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* main.c (main): Call construct_include_path after doing chdirs.

Thu Feb  8 13:43:44 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* Version 3.58.

Sat Feb  3 22:06:55 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* Version 3.57.7.

	* make.texinfo (Implicit: Catalogue of Rules): For RCS, noted that
	working files are never overwritten by the default rule.

Thu Feb  1 17:27:54 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* rule.c (count_implicit_rule_limits): Redid loop control to not run
	twice on freed rules.

	* GNUmakefile: Made `.dep' files be architecture-specific too.

	* main.c (main, log_working_directory) [USG]: Block children around
	calls to `getwd' (actually `getcwd' on USG), because that function
	sometimes spawns a child running /bin/pwd on USG.

Tue Jan 30 14:02:50 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* function.c (subst_expand): Pay attention to SUFFIX_ONLY, putz.

Wed Jan 24 21:03:29 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* make.man: Fixed repeated word.

	* make.texinfo (Missing): Reworded a buggy sentence.

Mon Jan 22 12:39:22 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* main.c (print_version): Added 1990 to copyright notice.

	* Version 3.57.6.

Sat Jan 20 11:52:01 1990  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* file.c (rename_file): Don't free the storage for the old name, since
	it might not have been malloc'd.

	* job.c (construct_command_argv): Call
	allocated_variable_expand_for_file instead of variable_expand_for_file
	to expand `$(SHELL)'.

	* make.texinfo (Bugs): Change address from roland@wheaties.ai.mit.edu
	to roland@prep.ai.mit.edu.

Tue Jan 16 19:22:33 1990  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* Version 3.57.5.

Sun Jan 14 16:48:01 1990  Roland McGrath  (mcgrath at helen.Berkeley.EDU)

	* job.c (start_job): Only call wait_to_start_job for the first command
	line in each sequence.

Thu Jan  4 14:27:20 1990  Roland McGrath  (mcgrath at helen.Berkeley.EDU)

	* load.c [LDAV_BASED] (wait_to_start_job): Loop while job_slots_used >
	0, not > 1.

	* job.c (search_path): Don't return a pointer to local storage.
	Allocate data space for the pathname instead.

	* function.c (expand_function: `shell'): Don't write garbage if the
	child wrote no output.

Wed Jan  3 15:28:30 1990  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.57.4.

	* file.h (struct file): New member `renamed', a `struct file *' that is
	the place this file has been renamed to (or nil).
	(check_renamed): Macro to check for a file having been renamed.
	Dereferences the renaming and sets the given variable.
	* file.c (rename_file): Completely rewritten.  Renames in place if
	possible, or moves FILE to a different hash bucket if there is no
	existing file with the new name.  If there is an existing file with the
	new name, FILE is merged into it and FILE->renamed is set to point to
	it.
	* variable.c (merge_variable_sets): New fn to merge two variable sets.
	(merge_variable_set_lists): New fn to merge two variable set lists.
	* variable.h: Declare merge_variable_set_lists.
	* remake.c (update_file_1, check_dep): Run `check_renamed' after
	calling file_mtime, check_dep.
	(update_file): Same after update_file_1.
	(update_goal_chain, update_file_1, check_dep): Same after update_file.

	* read.c (uniquize_deps): New fn, broken out of record_files, to remove
	duplicate deps from a chain.
	(record_files): Use it.
	* implicit.c (pattern_search): Use uniquize_deps.

	* file.h (file_mtime_1): New macro, like file_mtime, but take second
	arg, passed to f_mtime.
	(file_mtime): Implement as file_mtime_1 (file, 1).
	(file_mtime_no_search): New macro: file_mtime (file, 0).
	* remake.c (f_mtime): Take new arg SEARCH.  Only do VPATH and `-lNAME'
	searching if it is nonzero.
	* main.c (main): Use file_mtime_no_search for makefiles.
	* remake.c (update_goal_chain): Use file_mtime_no_search if MAKEFILES.

	* main.c (printed_version): New variable, init'd to zero.
	(print_version): Set it to nonzero before returning.
	(die): If -v and !printed_version, call print_version before clean up
	and death.

	* main.c (log_working_directory): Keep track of whether or not the
	"Entering" message has been printed, and return without printing the
	"Leaving" message if not.

	* main.c (decode_switches): Don't complain about missing args before
	checking for a noarg_value elt in the command_switch structure.

Tue Jan  2 15:41:08 1990  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* make.texinfo (Commands: Recursion: Options/Recursion): Document
	special case of -j.

	* make.texinfo, main.c, job.c: Changed copyright notices to include
	1990.

	* make.texinfo (Top): Fixed introductory paragraph, which said that
	`make' itself (instead of the manual) has various chapters.
	(Variables: Advanced: Substitution Refs): When pxref'ing about
	`patsubst', use node `Text Functions', not `Functions'.
	Add an xref about `patsubst' after description of $(var:a%b=c%d).
	(Functions: Syntax of Functions): Explain why mixing delimiters in
	function/var refs is unwise.  Clarify fn arg evaluation order.
	(Options): Reworded sentence about `-e'.
	(Implicit: Implicit Variables): Don't say `RM' is unused.
	Say the dflt values for the flag vars is empty unless otherwise noted,
	since some have defaults.
	(Implicit: Pattern Rules: Pattern Examples): Clarified use of $< and $@
	in first example.
	(Implicit: Last Resort): Don't say the .DEFAULT example creates files
	"silently".  It's automatic, but not silent.
	(Implicit: Search Algorithm): Fixed confusing ungrammatical sentence
	for item 5.1.
	(Archives: Archive Update): Added missing `next' pointer.
	(Archives: Archive Symbols): Note that GNU `ar' deals with this
	automatically.

	* job.c (search_path): New fn, to search for an executable file in a
	search path (broken out of exec_command).
	(exec_command): Take fourth arg, the shell program to use (if
	necessary).  Use search_path for the program, and the shell program.
	Pass args "file args ..." to shell program (with no -c), where FILE is
	the full pathname of the program (script) to be run.
	(child_execute_job): Pass shell program to exec_command.
	* main.c (main): Ditto.

	* main.c (main): Don't write a message if exec_command returns, because
	it will never return.

Fri Dec 22 16:19:58 1989  Roland McGrath  (mcgrath at hecuba.Berkeley.EDU)

	* default.c (default_variables: "LINK.cc"): Use $(C++FLAGS) instead of
	$(CFLAGS).

Wed Dec 20 09:58:48 1989  Roland McGrath  (mcgrath at hecuba.Berkeley.EDU)

	* job.c (new_job): If start_job set the child's `command_state' to
	`cs_finished', call notice_finished_file.

Sun Dec 17 19:45:41 1989  Roland McGrath  (mcgrath at hecuba.Berkeley.EDU)

	* Version 3.57.3.

Wed Dec 13 17:57:12 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* rule.c (convert_to_pattern): Accept files with dependencies as
	suffix rules.

Thu Nov 30 15:47:13 1989  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* Version 3.57.2.

	* function.c (expand_function: `shell'): Don't clobber BUFFER and then
	try to free it.

	* remake.c (update_file_1): Took code to force remake of nonexistent
	deps out of #if 0, and changed the test to nonexistent non-intermediate
	deps.  In version 4, I think removing this test completely will
	implement the new feature that if a: b and b: c and c is newer than a,
	b need not be remade.

Sun Nov 26 16:12:41 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* compatMakefile (load.o, remote.o): Use $*.c instead of explicit file
	names so that using VPATH works.

Tue Nov 21 14:57:18 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.57.1.

Fri Nov 10 03:28:40 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* remake.c (check_dep): Set *MUST_MAKE_PTR if FILE does not exist after
	being updated.  (The exact opposite test was here before; why???)
	(update_file_1): Set a dep's `changed' member after updating it if it
	is phony and has commands (because they will then always be executed).

Thu Nov  9 13:47:12 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* load.c [UMAX]: #ifdef UMAX_43 include different headers for the
	`inq_stats' call.
	* compatMakefile (LOAD_AVG): Document UMAX_43.

	* Version 3.57.0.

	* commands.c (chop_commands): New function to chop commands into lines.
	* job.c (new_job): Break that code out, and call chop_commands.
	* remake.c (remake_file): Call chop_commands before looking at
	FILE->cmds->any_recurse.

	* make.texinfo (Running: Goals): Don't say that the default target
	won't be taken from an included makefile.

	* remake.c (update_file_1): #if 0 out setting MUST_MAKE if a dep
	doesn't exist.

Fri Nov  3 15:53:03 1989  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* Version 3.57.

	* variable.c (try_variable_definition): Don't calculate useless value.

	* main.c (define_makeflags): Fixed -j propagation.

	* commands.c (execute_file_commands): Removed unused variable.

Sun Oct 29 11:11:15 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* commands.c (execute_file_commands): If the commands are empty, call
	notice_finished_file before returning.

Sat Oct 28 23:06:32 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* remake.c (update_file_1): Don't always update a target that has no
	deps.  Only do this for double-colon targets.

Wed Oct 25 16:36:16 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* main.c (main) [hpux]: hpux == HPUX.
	* compatMakefile (defines): Document that HPUX should be defined.

Tue Oct 24 19:19:48 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.56.8.

	* job.c (exec_command): Fixed what mode bits are checked.

	* remake.c (update_file_1): "No cmds and no deps actually changed"
	loses if ! FILE->is_target.

	* make.texinfo (Variables: Setting): Don't say that spaces after a
	variable definition are ignored (since they aren't).

Mon Oct 23 14:34:23 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.56.7.

	* remake.c (update_file_1): If, after being updated, any dependency
	does not exist, remake the target.

	* remake.c (update_file_1): Always update if FILE has commands but no
	deps.

	* commands.c (execute_file_commands): If we return early because there
	are no commands, set FILE->updated.

Thu Oct 19 18:47:37 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* arscan.c (ar_scan) [M_XENIX]: Don't run atoi or atol on the
	`struct ar_hdr' members that are int or long int on Xenix.

Sat Oct 14 10:43:03 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* arscan.c (ar_scan): Cosmetic clean ups.
	(ar_name_equal): New function to compare names, handling truncated
	member names and special `.o' truncation.
	(ar_member_pos): Use ar_name_equal.
	* ar.c (ar_member_date_1): Use ar_name_equal.

	* Version 3.56.6.

	* file.h (struct file): Made `update_status' a `short int', and moved
	it before `command_state' so the bitfields can be packed better.

	* remake.c (files_remade): Made global.
	(notice_finished_file): Don't increment files_remade.
	* job.c (new_job): Do.

	* job.c (start_job): Don't return a value.  Always set
	CHILD->file->command_state to either cs_running or cs_finished.
	(new_job, child_handler): Don't expect start_job to return a value.
	Instead, look at the file's command_state.

	* commands.c (chop_commands): Merged into job.c (new_job).
	* commands.h: Don't declare chop_commands.

	* job.c (start_job): Made static.
	(new_job): New function to create a `struct child' and call start_job.
	(free_child): New function to free a `struct child'.
	(child_handler, new_job): Call it.
	* job.h: Don't declare start_job.  Do declare new_job.
	* commands.c (execute_file_commands): Call new_job.

	* commands.c (execute_file_commands): Don't set FILE->update_status if
	start_job fails.

	* function.c (expand_function): Don't use `reading_filename' and
	`reading_lineno_ptr' if they're nil.

Fri Oct 13 18:16:00 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* read.c (find_semicolon): New function to look for an unquoted ; not
	preceded by an unquoted # in a string.
	(read_makefile): Call it before expanding the line.  If it finds a ;,
	cut the line short there before expanding it.  If not, call it again
	after expanding.

	* commands.c (execute_file_commands): Don't check FILE->command_state.
	We won't get called unless it's cs_not_started.

	* read.c (read_makefile): Call collapse_line on the variable-expanded
	rule line after checking for ; and #.

	* job.c (start_job): When there are no more commands, always return 0.
	* commands.c (execute_file_commands): Don't put the new child in the
	`children' chain unless FILE->command_state is cs_running.

	* read.c (read_makefile): Rewrote ;-handling to only do it once (why
	did I do it twice??) and to check for a # before the ;.

	* job.c (start_job): Set CHILD->file->update_status to 0 when we run
	out of commands.  Set it to 1 before returning failure.
	(child_handler): Don't set C->file->update_status to 0 when start_job
	returns success and commands are not running.

	* read.c (read_makefile): If there is a # before the ; for commands,
	forget the ; and commands.

Thu Oct 12 15:48:16 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* job.c (child_execute_job): Pass -c to the shell.

Wed Oct 11 18:41:10 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.56.5.

	* main.c (define_makeflags): Cleaned up to keep better track of dashes
	written, etc.

	* function.c (expand_function: `shell'): When converting newlines to
	spaces in output, search with `index' calls rather than a simple loop.

	* main.c (main): Make sure stdout is line-buffered.

	* main.c (decode_switches): Always check for missing switch arg.

Mon Oct  9 17:17:23 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.56.4.

Sat Oct  7 00:32:25 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* commands.c (set_file_variables): #ifdef NO_ARCHIVES, still set $@ and
	$%.

	* commands.c (set_file_variables): Include a trailing slash in the
	directory variables (@D, etc.).

	* job.c (child_handler): Call notice_finished_file after changing a
	child's state to `cs_finished'.
	* remake.c (update_file_1): Don't call notice_finished_file if
	FILE->command_state == cs_finished.

Wed Oct  4 16:09:33 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.56.3.

Tue Oct  3 21:09:51 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* read.c (read_all_makefiles): When setting elements of MAKEFILES from
	the contents of read_makefiles, make sure we're using the right
	element.

	* dir.c, glob.c [USGr3 || DIRENT]: Don't define d_ino as d_fileno.

	* Version 3.56.2.

	* remake.c (update_file_1): Return zero after calling remake_file if
	FILE->command_state != cs_finished.  Test update_status thoroughly.

	* commands.c (execute_file_commands): Don't call notice_finished_file.

	* remake.c (remake_file): Return immediately after calling
	execute_file_commands.

Sat Sep 30 14:57:05 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.56.1 (alpha).

	* file.h (struct file): Made `update_status' not be a bitfield, since
	some broken compilers don't handle it right.

	* function.c (expand_function: `join'): Don't clobber the pointers and
	then try to free them.

	* job.c (exec_command): Fixed & vs = precedence problem.

Thu Sep 28 17:29:56 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* remake.c (update_file_1): Fixed typo in debugging output.

	* remake.c (library_file_mtime): Search for /usr/local/lib/libLIB.a
	after /usr/lib/libLIB.a.

Tue Sep 26 16:07:58 1989  Roland McGrath  (mcgrath at helen.Berkeley.EDU)

	* read.c (conditional_line): For `ifeq (a, b)', swallow space after the
	comma.

Sun Sep 24 13:25:32 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* function.c (patsubst_function): If BY_WORD and the match is not a
	full word, update the text pointer correctly.

	* function.c (expand_function: `word'): Don't lose track of the second
	arg's expansion and free something else instead.

Fri Sep 22 16:15:29 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.56.

Thu Sep 21 14:28:42 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* main.c (main): Make an array of the mtimes of the makefiles before
	updating them, and compare their file_mtimes against this later.  Don't
	re-exec if a makefile was successfully updated but didn't change.  If a
	makefile failed to be remade and no longer exists, die.  If a makefile
	failed to be remade, but changed anyway, re-exec.  If a makefile failed
	to be remade, but is unchanged, continue on.

Wed Sep 20 18:02:07 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.55.6.

	* implicit.c (pattern_search): Maintain an array CHECK_LASTSLASH of the
	CHECK_LASTSLASH flag values used to match each member of TRYRULES.
	When making FILE->stem, if CHECKED_LASTSLASH[FOUNDRULE], prepend the
	part of FILENAME before LASTSLASH.

Tue Sep 19 17:44:08 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* dir.c (dir_file_exists_p): Check for FILENAME being nil before
	checking for it being "".

	* main.c (define_makeflags): Fixed test for whether a flag/flag_off
	option was non-default.  Also changed to generate a string that Unix
	Make will grok (except for FP/int values and new flags).

	* job.c (child_execute_job): Don't use the shell's -c option.
	Also fixed an off-by-one bug in the ARGV -> shell arg list copying.

Mon Sep 18 15:17:31 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.55.5.

	* read.c (parse_file_seq): Check the beginning of the file name for a
	`./', not the two chars after the end of the name (Q rather than P).

	* job.c (child_execute_job): Include all of ARGV in the arg list for
	the shell.

	* main.c (define_makeflags): Don't include floating and positive_int
	options in !PF.

	* job.c (exec_command): Set the effective gid to the real gid before
	execing.

	* job.c (child_execute_job): Don't clobber the arg list when execing
	the shell.

Sun Sep 17 15:27:19 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* main.c (define_makeflags): Moved all the checking inside the switch.

	* load.c [LDAV_BASED] (load_average): When we can't get the load
	average, return zero instead of running off the end.

	* file.c: Include variables.h.
	* job.c: Declare dup2 and {block,unblock}_remote_children.
	* file.h: Declare f_mtime.
	* job.c: Don't declare construct_command_argv, since job.h does.
	* function.c, main.c, load.c, remake.c: Include job.h.
	* load.c [LDAV_BASED] (load_average): Declare nlist.
	* variable.h: Declare print_file_variables.
	* job.c [!USG]: Don't declare sigsetmask.
	[!USG]: Declare getdtablesize.
	Don't declare load_average.  Do declare wait_to_start_job.
	Declare vfork, gete[gu]id, execve.
	* commands.c: Declare remote_kill, getpid.
	* make.h: Declare kill, exit, sigblock, pipe, close, ctime, open,
	lseek, read.
	* make.h [not USG]: Declare sigsetmask.
	* job.h: Declare wait_for_children and {block,unblock}_children.

	* dir.c (dir_file_exists_p): If FILENAME is nil, read in the whole
	directory.
	(find_directory): When we want to read in the whole directory, call
	dir_file_exists_p with nil instead of "".

	* file.h (struct file), job.h (struct child),
	  variable.h (struct variable): Use bitfields for flags.
	* make.h (ENUM_BITFIELD): If GCC or #ifdef ENUM_BITFIELDS, define as
	:BITS, else empty.
	* compatMakefile (defines): Document ENUM_BITFIELDS.

Sat Sep 16 12:38:58 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.55.4 (alpha).

	* GNUmakefile (dist): Depend on default and doc.

	* load.c [LDAV_BASED]: Include <nlist.h> rather than <a.out.h>; #ifdef
	NLIST_NAME_UNION, use n_un.n_name instead of n_name.
	* compatMakefile (LOAD_AVG): Document NLIST_NAME_UNION.

	* job.c [USG-ish]: Don't redefine WIF{SIGNALED,EXITED} if they're
	already defined.

Fri Sep 15 13:59:42 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* glob.c, dir.c [USGr3 or DIRENT]: If neither d_ino, nor d_fileno is
	defined, define d_ino as d_fileno.

Thu Sep 14 18:29:38 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* job.c: Don't declare exec_command static.

	* make.texinfo (Name Index): Changed title to include directives.

	* Version 3.55.3 (alpha).

	* make.texinfo (Running: Options): Document -e.

	* main.c (main): Always give imported environment variables origin
	`o_env'.
	* variable.c (define_variable_in_set): Under -e, if ORIGIN, or an
	existing variable's origin, is `o_env', make it `o_env_override'.

	* load.c: Use the symbol KERNEL_FILE_NAME instead of KERNEL_FILE.
	* compatMakefile: Changed the comment for `LOAD_AVG' accordingly.

Thu Sep  7 16:46:26 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.55.2 (alpha).

	* variable.c (print_variable_set), rule.c (print_rule_data_base),
	file.c (print_file_data_base): If NO_FLOAT is defined, don't use
	floating-point for printing statistics.
	* compatMakefile (defines): Document NO_FLOAT.

	* make.h (HASH): New macro to add the hashing value of one char to a
	variable.c.
	* file.c (lookup_file, enter_file, rename_file): Use it.
	* dir.c (find_directory, dir_file_exists_p, file_impossible_p): Ditto.
	* variable.c (define_variable_in_set, lookup_variable): Same here.

	* variable.c, file.c, dir.c: Don't define *_BUCKETS if they are already
	defined.

	* compatMakefile (defines): Added comment about defining NO_ARCHIVES.
	(ARCHIVES, ARCHIVES_SRC): New variables for {ar,arscan}.[oc].
	(objs, srcs): Use $(ARCHIVES) and $(ARCHIVES_SRC).
	* commands.c (set_file_variables), dir.c (file_exists_p),
	remake.c (touch_file, name_mtime), implicit.c (try_implicit_rule,
	pattern_search), make.h: If NO_ARCHIVES is #defined, don't do any
	archive stuff.

	* commands.c (set_file_variables): Don't kill the last char of
	directory names in $([@*<%?^]D).

Wed Sep  6 15:23:11 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* default.c (default_terminal_rules {%:: %,v}, {%:: RCS/%,v}): Don't
	run co if the target exists.

	* glob.c (glob_match): [!xyz], rather than [^xyz], means none of [xyz].

	* glob.c: Misc minor cosmetic changes.

Tue Sep  5 14:49:56 1989  Roland McGrath  (mcgrath at saffron.Berkeley.EDU)

	* load.c [LDAV_BASED] (load_average): Check for == -1, rather than < 0
	to see if lseek fails.  On some systems, `avenrun' is at an offset >
	(2**31)-1, and lseek succeeds, returning a negative value.

Mon Sep  4 11:07:58 1989  Roland McGrath  (mcgrath at saffron.Berkeley.EDU)

	* rule.c (new_pattern_rule): Return `int' instead of `void': nonzero if
	the passed rule was used, zero if not.
	(install_pattern_rule): Pay attention to the return from
	new_pattern_rule, and don't set the rule's `terminal' flag or give it
	commands unless it's used.
	(create_pattern_rule): Same idea.

	* dir.c (find_directory): Removed unused variable.

	* commands.c (execute_file_commands): Removed unused variable.

	* read.c (record_files): Don't use NAME after freeing it.

Sat Sep  2 00:33:19 1989  Roland McGrath  (mcgrath at saffron.Berkeley.EDU)

	* Version 3.55.1 (alpha).

	* function.c (string_glob): Don't add spaces after file names that
	aren't added.  (Also means don't add spaces without checking the size
	of the buffer.)

	* remake.c (update_goal_chain): Don't remove makefiles with cmds and no
	deps from the chain.
	* main.c (main): Do it here, before calling update_goal_chain.

	* remake.c (update_goal_chain): When updating fails, change STATUS even
	if MAKEFILES is set.  Also stop remaking when updating fails if not
	under -k and MAKEFILES is not set.

	* remake.c (remake_file, update_file_1, notice_finished_file),
	commands.c (execute_file_commands), make.h, commands.h: The functions
	remake_file, notice_finished_file, and execute_file_commands no longer
	return values, and their callers no longer expect values returned.

	* remake.c (notice_finished_file): Don't set FILE's modtime to now if
	it is a non-target with no commands.

Fri Sep  1 00:04:39 1989  Roland McGrath  (mcgrath at saffron.Berkeley.EDU)

	* read.c (read_all_makefiles): After freeing each element on MAKEFILES,
	replace it with the name stored in read_makefiles by read_makefile.

	* remake.c (update_file_1): Don't decide not to remake if FILE has no
	cmds and no deps actually changed if FILE doesn't have any deps.

	* file.c (remove_intermediate): Remove precious files that also have
	the `dontcare' flag set.

	* remake.c (update_file_1): Don't always remake if FILE has cmds but no
	deps; only if FILE is double-colon.  (I don't know why this should be
	done for double-colon targets, but that's what Unix make does.)

	* load.c [LDAV_BASED] (load_average): Write error messages if the
	various system calls fail.  Keep track of if we've failed before.
	The first time we fail, write a message saying -l won't be enforced.
	The first time we succeed after having failed, write a message saying
	-l will be enforced again.

	* remake.c [USG]: Don't #include <sys/file.h>

	* load.c [generic Unix LDAV_BASED]: #include <fcntl.h> #ifdef USG,
	else <sys/file.h> instead.

	* job.c [USG && !USGr3 && !HAVE_DUP2]: Remove redundant
	#include <errno.h> and declaration of `errno'.
	[...] (dup2): Fixed so it won't always lose.

	* default.c (default_suffix_rules: .texinfo.dvi): Copy, rather than
	move, the aux and index files, so the TeX run can use them.

	* compatMakefile: Remove redundant comment.

	* load.c [generic Unix LDAV_BASED]: Include <a.out.h> instead of
	<nlist.h>, since the `struct nlist' declaration in <nlist.h> varies
	more than the one in <a.out.h>.
	(load_average): Use the `n_un.n_name' field of the `struct nlist',
	since the <a.out.h> declaration uses the union.

	* main.c (main): For the temporary files made for stdin makefiles, set
	the `intermediate' and `dontcare' flags.
	* file.c (remove_intermediates): Don't print any messages for files
	whose `dontcare' flag is set.  (The only files that will be
	intermediate and `dontcare' will be the temporary files made for stdin
	makefiles.)

	* job.c (exec_command): Made global.
	* job.h: Declare it.
	* main.c (main): Use exec_command when re-execing.

	* make.h: Declare environ.
	* make.c: Don't.

	* job.c (child_execute_job): New function to perform everything done in
	the child side of a fork (for a job or `shell' function).
	(start_job): Call it.
	* job.h: Declare construct_command_argv and child_execute_job.
	* function.c (expand_function: `shell'): Use child_execute_job.

Thu Aug 31 18:42:51 1989  Roland McGrath  (mcgrath at saffron.Berkeley.EDU)

	* function.c (expand_function: `shell'): Remove a trailing newline
	instead of turning it into a space.

	* main.c (main): Do init_siglist #ifdef HAVE_SIGLIST.

	* job.c [WTERMSIG || (USG && !HAVE_SYS_WAIT)]: Test each W* macro
	separately and define all those that aren't defined.

Sat Aug 26 15:13:21 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* ar.c (ar_name): Return zero for `(foo)'.

	* Version 3.55.

	* make.texinfo (Rules: Multiple Targets): Make this node's `next'
	pointer point to `Static Pattern'.
	* make.texinfo (Makefiles: MAKEFILES Variable): Make this node's `prev'
	pointer point to `Makefile Names'.

	* make.1: Renamed to make.man.
	* compatMakefile: Define `mandir' and `manext'.
	(install): Depend on $(mandir)/make.$(manext).
	($(mandir)/make.$(manext)): Depend on make.man and copy it to $@.
	($(bindir)/make): Use `make' rather than $<; so Unix make can grok it.

Thu Aug 24 03:35:48 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* variable.c (target_environment): Allow variables that start with
	underscores.

Wed Aug 23 22:50:32 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* variable.c (target_environment): Reject variables that don't start
	with letters.

Tue Aug 22 04:14:29 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* GNUmakefile (make-$(version).tar.Z): Put make.1 (the Unix manual
	page) in the tar file.

	* variable.c (target_environment): Don't write variables with origin
	o_default (i.e., ones from default.c).
	* make.texinfo (Commands: Recursion: Variables/Recursion): Document
	that default variables are not put in the environment.

	* remake.c (update_file_1): Remake all targets with commands but no
	deps.

Sat Aug 19 06:03:16 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* remake.c (update_file_1): In the final loop, set the deps'
	`changed' members if they are newer than FILE.

	* remake.c (update_goal_chain): Under -d, print a message if we decide
	not to remake a makefile so as to avoid a possible infinite loop.

Fri Aug 18 20:30:14 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* remake.c (remake_file): Cleaned up.

	* commands.c (execute_file_commands): If the commands are empty, set
	FILE->update_status to zero before returning.

	* remake.c (notice_finished_file): Set `last_mtime' fields to zero
	instead of calling name_mtime; file_mtime will do that later if anybody
	cares.

Thu Aug 17 10:01:11 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* make.texinfo (Rules: Wildcards: Wildcard Examples): Give this node a
	`prev' pointer.

	* Version 3.54.9 (alpha).

	* make.texinfo: Fixed some @nodes.

	* remake.c (check_dep): Don't set *MUST_MAKE_PTR if FILE doesn't exist
	after running update_file.

	* remake.c (notice_finished_file): If FILE has no commands, pretend its
	modtime is now.

	* remake.c (update_file_1): In the loops that call update_file on the
	deps, compare modtimes before and after (unless deps are still being
	made) and set the deps' `changed' members.  Do not set the `changed'
	members in the loop that prints the newer/older debugging messages.
	* remake.c (update_file_1): If no deps changed and FILE has no
	commands, decide it doesn't need remaking.

	* remake.c (update_file_1): Print a debugging message if we take
	commands from default_file.

	* make.texinfo (Rules: Directory Search: Selective Search): Removed
	note about warning for `vpath' with a constant pathname, since it isn't
	warned about anymore.

	* remake.c (update_goal_chain): If MAKEFILES, remove makefiles which
	are targets and have no deps.
	* make.texinfo (Makefiles: Remaking Makefiles): Document that makefiles
	will not be remade if they are targets but have no dependencies.

Tue Aug 15 00:00:08 1989  Roland McGrath  (roland at apple-gunkies.ai.mit.edu)

	* remake.c (notice_finished_file): Increment files_remade for non-phony
	files if they didn't exist before (even if they still don't).

	* job.c: Include <errno.h> and declare errno.

	* job.c (exec_command): If the execve fails with ENOEXEC (Exec format
	error), return instead of exiting the child process.

	* job.c (start_job): In the child side, if exec_command fails, try
	using the shell.

	* job.c (start_job): In the child side, call unblock_children instead
	of sigsetmask.

	* remake.c (notice_finished_file): Under -n or -q, always increment
	files_remade for non-phony files.

	* rule.c (intall_pattern_rule): Use find_percent.

	* vpath.c (vpath_search): Pass the `percent' members to
	pattern_matches.

Mon Aug 14 23:30:24 1989  Roland McGrath  (roland at apple-gunkies.ai.mit.edu)

	* vpath.c (struct vpath): New member `percent', to hold a pointer into
	the pattern where the % is.
	(construct_vpath_list): Call find_percent on the pattern and set the
	new `percent' member.
	* read.c (read_makefile): Don't run find_percent on `vpath' directive
	patterns.

	* function.c (pattern_matches): Take new arg PERCENT, a pointer into
	PATTERN where the % is.  If PERCENT is nil, copy PATTERN into local
	space and run find_percent on it.
	(expand_function: `filter', `filter-out'): Pass new arg to
	pattern_matches.
	* read.c (record_files): Pass PATTERN_PERCENT to pattern_matches for
	static pattern rules.  Save the percent pointer into implicit rule
	targets, and pass them to create_pattern_rule.
	* rule.c (convert_to_pattern): Pass new arg to create_pattern_rule.
	(create_pattern_rule): Take new arg TARGET_PERCENTS, nil or an array of
	pointers into the corresponding elements of TARGETS, where the %s are.

Sun Aug 13 00:29:19 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* Version 3.54.8.

	* README.templatate, README-doc.template: New files, turned into README
	and README-doc to go into the two distribution tar files.
	* GNUmakefile: Added a rule to edit the version number in
	README.template and README-doc.template, producing README and
	README-doc.

	* remake.c (update_goal_chain): If -n or -q is in effect for a
	makefile, and it got updated, don't change STATUS, so we can still
	return -1 (meaning nothing was done).  This avoids an infinite loop on
	"make -n Makefile".

Sat Aug 12 23:14:24 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* remake.c (notice_finished_file): Treat -q the same as -n.

	* remake.c (update_goal_chain): Fixed handling of return from
	update_file.  If -n or -q is in effect, ignore it.

	* job.c (start_job): Don't test for -t.  We should never get called in
	that case.

Fri Aug 11 04:09:14 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* function.c (expand_function): Removed unused variables.
	(handle_function): Removed unused variable.

	* main.c (main): Removed unused variable.

Wed Aug  9 09:37:10 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* Version 3.54.7.

	* remake.c (notice_finished_file): If FILE's modtime actually changed,
	increment files_remade.
	(remake_file): Don't increment files_remade.

	* remake.c (update_file): Don't print "up to date" messages for
	phony files.

	* job.c (child_handler): Don't set C->file->update_status to 1 if
	start_job returns nonzero under -n or -t.

	* expand.c (variable_expand): Count parens in $(foo:a=b) refs.

	* main.c: Removed old declaration of `glob_tilde' (which hasn't existed
	for a few months).

Tue Aug  8 23:53:43 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* job.c (exec_command): Fixed to not ignore the last path component and
	to do the right thing with an empty path.

Fri Aug  4 15:58:19 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* remake.c (library_file_mtime): Look for libLIB.a, not /libLIB.a.
	Do VPATH search on libLIB.a, not /usr/lib/libLIB.a

Thu Aug  3 20:42:00 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* job.c [HAVE_SYS_WAIT or not USG]: If WIFSIGNALED is not defined by
	<sys/wait.h>, define it as (WTERMSIG != 0).

Tue Aug  1 19:25:34 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* remake.c (remake_file): If FILE has no commands and is a target,
	don't set its time to now.  The time gets reset by notice_finished_file
	anyway, and it isn't needed since check_dep checks for nonexistence.

	* Version 3.54.6.

	* read.c (read_makefile): Don't read off the end of the string after an
	`include'.

	* job.c (exec_command): New function to search the path for a file and
	execute it.
	(start_job): Use exec_command rather than execvp.

	* read.c (read_makefile): Expand `include' directive args before
	parsing them.  Allow trailing whitespace after filename.

	* variable.c (target_environment): Put makelevel + 1, rather than
	makelevel, in the `MAKELEVEL' envariable.

Sat Jul 29 10:27:04 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* remake.c (notice_finished_file): Don't get the new modtime of phony
	files.

	* remake.c (remake_file): Run commands instead of touching under -t if
	FILE->cmds->any_recurse is set.

	* commands.h (struct commands): Add new member `any_recurse', to be set
	nonzero if any `lines_recurse' element is nonzero.
	* commands.c (chop_commands): Set the `any_recurse' member.

	* commands.c (execute_file_commands): Split chopping of commands into
	lines into new function chop_commands.
	* commands.h: Declare chop_commands.

	* read.c (read_makefile): Test for a line beginning with a tab after
	checking for conditional lines, but before all other checks.

Fri Jul 28 18:10:29 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* read.c (read_makefile): Match directives against collapsed line
	and use that for their args.

	* read.c (read_makefile): Warn about extra text after `include'.

Tue Jul 25 14:34:25 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* make.texinfo (Rules: Directory Search: Selective Search): Fixed
	example to use correct `vpath' syntax.

Mon Jul 24 12:10:58 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* Version 3.54.5.

	* job.c (start_job): In the child side, unblock SIGCHLD.

Fri Jul 21 18:25:59 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* make.h: Don't include <sys/types.h> #ifdef sun.

Mon Jul 17 14:29:10 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* implicit.c (pattern_search): If ar_name (FILENAME), don't check for
	directory names.

	* job.c (wait_for_children): Changed "waiting for children" message to
	"waiting for unfinished jobs".

Fri Jul 14 13:17:13 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* load.c (load_average): Use an unsigned offset into kmem.

Thu Jul 13 18:44:49 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* variable.c (pop_variable_scope): Don't free the head of the chain of
	variables in each bucket twice.

Tue Jul 11 06:45:24 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* GNUmakefile: Include COPYING in the doc tar file.

	* variable.c, read.c, misc.c, job.c, function.c: Replace some identical
	"for" loops with next_token or end_of_token calls.

Mon Jul 10 16:55:08 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* Version 3.54.4.

	* compatMakefile: Documented new conditionals.

	* job.c: Don't define sys_siglist if HAVE_SIGLIST is defined.
	Don't define dup2 if HAVE_DUP2 is defined.

	* job.c (child_handler): Interpret the return from start_job correctly.

	* remake.c (update_file_1): Don't write "target not remade because of
	errors" message under -n or -q.

	* read.c: Declare getpwnam.

	* glob.c: Use <dirent.h> if DIRENT is defined.
	[USG]: Don't declare memcpy, since <memory.h> does.

Fri Jul  7 20:53:13 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* misc.c (collapse_line): Copy the line over in the right place.

Fri Jul  7 18:33:24 1989  Roland McGrath    (fsf at void.ai.mit.edu)

	* remake.c: Conditionalize inclusion of <sys/file.h> on not
	USG, since HP-UX defines a `struct file' there.

Fri Jul  7 12:11:30 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* job.c: If WTERMSIG is defined by <sys/wait.h>, define WAIT_T as int,
	and don't define other macros; this covers HP-UX.
	If WTERMSIG is not defined, use int or union wait based on USG and
	HAVE_SYS_WAIT; this covers BSD and SysV.

	* Version 3.54.3 (alpha).

	* job.c [USG and not USGr3]: Include <errno.h> and declare errno.

	* job.c (unblock_children [USG]): Declare child_handler.

	* job.c: Renamed WRETCODE to WEXITSTATUS.
	[HAVE_SYS_WAIT or not USG]: Undefine WTERMSIG, WCOREDUMP, and
	WEXITSTATUS before defining them.  The HP-UX <sys/wait.h> defines them.

	* main.c (main): If there are no goals, fatal AFTER printing the data
	base under -p.

Thu Jul  6 22:43:33 1989  Roland McGrath  (roland at apple-gunkies.ai.mit.edu)

	* glob.c [USG]: #define rindex as strrchr.

	* job.c [USG]: Include <sys/param.h> and #define getdtablesize() as
	NOFILE.

Wed Jul  5 09:36:00 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* Version 3.54.2 (alpha).

	* expand.c (variable_expand): When expanding recursive variable
	references (${${a}}), use the correct delimiters in the constructed
	variable reference.

Mon Jul  3 18:29:26 1989  Roland McGrath  (roland at apple-gunkies.ai.mit.edu)

	* compatMakefile: Clear out and redefine the .SUFFIXES list because
	silly Sun 4 make defines .cps.h.

	* compatMakefile: Fix comment about -DNO_MINUS_C_MINUS_O.

	* remake.c: Include <sys/file.h> for O_* on 4.2.

	* commands.c: Define sigmask if it's not defined.

Fri Jun 30 07:33:08 1989  Roland McGrath  (roland at apple-gunkies.ai.mit.edu)

	* remake.c (remake_file): Don't always increment files_remade.

	* variable.c (push_new_variable_scope): Zero the new variable hash
	table.

Thu Jun 29 17:14:32 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* expand.c (variable_expand): When terminating the variable expansion
	buffer, use variable_buffer_output instead of a simply zero store,
	because the buffer may need to be enlarged.

Wed Jun 28 16:53:47 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* Version 3.54.

	* default.c (default_suffixes): Added `.ln'.
	(default_suffix_rules): Changed lint rules to use -C.

Thu Jun 22 20:49:35 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* job.c (start_job): Set `environ' to CHILD->environment before execing
	in the child process!

Tue Jun 20 17:23:13 1989  Roland McGrath  (roland at spiff.ai.mit.edu)

	* compatMakefile: Put job.h and rule.h in `srcs'.

	* Version 3.53.

Mon Jun 19 16:25:18 1989  Roland McGrath  (roland at spiff.ai.mit.edu)

	* job.c (start_job): If there are no more commands, return nonzero
	under -n or -t.

	* compatMakefile (make): Pass `-f' to mv.

	* GNUmakefile: If `ARCH' or `machine' is defined, make $(ARCH)/*.o and
	$(ARCH)/make instead of *.o and make.

	* function.c (string_glob): Don't try to use freed storage!

	* read.c (readline): If there is only one byte of space in the buffer,
	enlarge the buffer before reading more.

	* arscan.c [M_XENIX]: Miscellaneous minor changes for Xenix.

Sun Jun 18 13:07:45 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* GNUmakefile (depend): Split commands into two lines so they won't be
	so long when variable-expanded.

	* compatMakefile: Documented MINUS_C_MINUS_O meaning.  The line
	describing it got removed when the USG/wait stuff was documented.

Sat Jun 17 22:56:54 1989  Roland McGrath  (roland at hobbes.ai.mit.edu)

	* Version 3.52.

Mon Jun 12 17:45:11 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* remake.c (check_dep): Drop circular dependencies instead of fataling.
	(update_file_1 already does this.)

	* default.c (default_suffix_rules): For .s -> .o, put the -o flag to
	the assembler before the source file name.

Sun Jun 11 12:00:52 1989  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* Version 3.51.

	* make.texinfo (Features): Noted 1003.2 requirement of `+' meaning.

	* file.c (remove_intermediates): If !SIG, write a single "rm" command
	line, listing all files.

	* read.c (read_makefile): Don't free the storage for the passed
	filename, since it might not be malloc'd.  When doing an included
	makefile, free the name's storage.
	(read_all_makefiles): Use variable_expand to find the value of
	`MAKEFILES'.  Free the storage for the names of -f makefiles.
	(read_makefile): Allocate storage for the makefile name in the
	`struct file' in read_makefiles.

	* make.texinfo (Running: Instead of Execution): Document the effect of
	+ and $(MAKE)/${MAKE}.

	* make.texinfo (Functions: Foreach Function): Document that if the
	iteration variable was undefined before the `foreach' call, it will be
	undefined after the call.

	* commands.c: Split into commands.c, job.h, and job.c.

	* rule.c (try_implicit_rule, pattern_search): Moved to new file
	implicit.c.

	* rule.c: Split into rule.h, rule.c, and default.c.
	* default.c (install_default_pattern_rules): Renamed to
	install_default_implicit_rules.
	* make.h, main.c (main): Renamed uses.

	* make.c: Renamed to misc.c.

	* make.c (main, log_working_directory, decode_switches,
	decode_env_switches, define_makeflags, die, print_version,
	print_data_base): Moved to new file main.c.

	* commands.c (execute_file_commands): Don't collapse backslash-newlines
	here.  When chopping the commands up into lines, don't chop at
	backslash-newlines.
	(start_job): Collapse backslash-newlines after printing the line.

	* commands.c (start_job): Don't collapse backslash-newlines here.
	(execute_file_commands): Collapse backslash-newlines before chopping
	the commands up into lines.

	* commands.c (set_file_variables): Initialize the length counters for
	$^ and $? to zero!

	* commands.c (start_job): Use vfork instead of fork.  Someone else says
	the child and parent DO have separate file descriptors.

	* variable.c: Split internals into variable.c, function expansion into
	function.c, and variable expansion into expand.c.
	* function.c (handle_function): New function to check for a function
	invocation and expand it.
	* expand.c (variable_expand): Use handle_function.
	* variable.c (push_new_variable_scope): New function to push a new
	empty variable set onto the current setlist.
	(pop_variable_scope): New function to pop the topmost set from the
	current setlist and free its storage.
	* function.c (expand_function: `foreach'): Push a new variable scope
	for the iteration variable and pop the scope when finished.
	* variable.h: Declare new functions.
	* variable.c (initialize_variable_output): New function to return a
	pointer to the beginning of the output buffer.
	(save_variable_output): New function to save the variable output state.
	(restore_variable_output): New function to restore it.
	* expand.c (variable_expand): Use initialize_variable_output.
	(allocated_variable_expand): Use {save,restore}_variable_output.
	* variable.c (current_setlist): Renamed to current_variable_set_list
	and made global.

Sat Jun 10 00:11:25 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* remake.c (library_file_mtime): Check for libNAME.a in the current
	directory before doing VPATH search.

	* variable.c (print_variable_set): Don't write "# Variables", and write
	fewer blank lines.
	(print_variable_data_base): Precede the variables with "# Variables".

	* make.c (main): Print the data base under -p after doing everything
	else, just before exitting.  This way it gets info determined in
	updating the goal targets.

	* variable.c (print_variable_data_base): Split into print_variable,
	which prints one variable, and print_variable_set, which prints a set.
	Replaced with a call to print_variable_set for the global set.
	(print_file_variables): New function to print a given file's local
	variables.

	* file.c (print_file_data_base): Call print_file_variables to print
	each file's local variables.

	* commands.c (set_file_variables): Actually define the values for
	the $^ and $? variables!!!

	* make.texinfo (Implicit: Pattern Rules: Automatic): Document new D and
	F versions of $^ and $?.

	* commands.c (start_job): In the child fork, use getdtablesize and a
	loop to close all file descriptors other than 0, 1, and 2.  We need to
	do this since not only the bad stdin pipe, but also some directories,
	may be open.

	* commands.c (start_job): Use fork instead of vfork, because a vfork
	parent and child share file descriptors, and our child needs to diddle
	with stdin.

	* variable.c (initialize_file_variables): When created a new variable
	set, zero out the hash table.

	* variable.c (target_environment): Don't use variables whose names are
	not made up of alphanumerics and underscores.

	* remake.c (update_file_1): Set the `parent' member of each dependency
	to FILE before updating it.

	* file.h (struct file): Add `parent' member.

	* variable.c (initialize_file_variables): Don't take second arg PARENT.
	Use FILE->parent instead.  If FILE->parent->variables is nil, recurse
	to initialize it.

	* variable.h: Declare {allocated_}variable_expand_for_file.

	* variable.c (allocated_variable_expand): Now
	allocated_variable_expand_for_file, calling variable_expand_for_file,
	and taking second arg FILE.
	(allocated_variable_expand): New function, a wrapper around
	allocated_variable_expand_for_file, passing a nil second arg.

Fri Jun  9 12:11:45 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* commands.c (start_job): On the child side of the fork, always close
	the bad stdin file descriptor.

	* commands.c (struct child): New member `environment', to hold the
	environment for the child.
	(execute_file_commands): Set the new childs `environment' member to nil
	before calling start_job.
	(start_job): Set up CHILD->environment before running the commands if
	it is nil.

	* make.c (main): Don't call new_environ.  `shell' functions will now be
	run with the environment make was called with.

	* commands.c (child_handler): Don't check C->command_ptr before calling
	start_job since we now have to check C->file->cmds->command_lines and
	it's easier to let start_job handle all that.

	* commands.c (struct child): New member `command_line', to hold an
	index into file->cmds->command_lines.
	(execute_file_commands): Set the new child's `command_line' to 0 and
	its `commands' and `commands_ptr' to nil.
	(start_job): When CHILD->command_ptr runs out, increment
	CHILD->command_line and run the corresponding line from
	CHILD->file->cmds->command_lines.  Run it even under -t, -q, or -n if
	the CHILD->file->cmds->lines_recurse element for that line is set.

	* commands.c (execute_file_commands): Chop CMDS up into lines, setting
	its `command_lines' and `lines_recurse' members, if it wasn't already
	chopped.

	* commands.h (struct commands): New members `command_lines' and
	`lines_recurse'.  The first is an array of chopped-up lines; the second
	is an array of flags, each nonzero if the corresponding line is
	recursive.

	* variable.c (variable_expand_for_file): If FILE is nil, just do a
	vanilla variable_expand.
	(expand_function: `shell'): Pass second arg (as nil) to
	construct_command_argv.

	* commands.c (construct_command_argv): Use variable_expand_for_file on
	`$(SHELL)' and `$(IFS)' instead of lookup_variable to check those
	variables.  This handles file-local and recursive values correctly.
	To support this, take an additional argument FILE.

	* variable.c (initialize_file_variables): New function to initialize
	FILE's variable set list from PARENT's setlist.  PARENT is the
	immediate dependent that caused FILE to be remade, or nil if FILE is a
	goal.  (When user-level per-file variables are implemented, PARENT
	should be passed as nil when defining per-file variables.)

	* variable.c (variable_expand_for_file): New function to expand a line
	using the variable set of a given file, and reporting error messages
	for the file and line number of that file's commands.

	* variable.h: Don't declare lookup_variable_for_file.

	* variable.c (lookup_variable_*): Turned back into lookup_variable.  It
	now uses current_setlist.
	(global_setlist): New static `struct variable_set_list', a setlist
	containing global_variable_set.
	(current_setlist): New static `struct variable_set_list *', a pointer
	to the current variable set list.
	(define_variable): Define in the current top-level set, not the global
	set.

	* commands.c (set_file_variables): New function to set up the automatic
	variables for a file in its own variable set.
	(execute_file_commands): Use set_file_variables.

	* variable.c (new_environ): Replaced with target_environment, taking an
	argument FILE, and returning an environment for FILE's commands.

	* variable.c, variable.h: Remove all global special variable pointers.

	* variable.c (define_variable_for_file): New function like
	define_variable, but takes additional arg FILE, and defines the
	variable in the variable set at the top of FILE's chain.
	(lookup_variable_for_file): New function like lookup_variable, but
	takes additional arg FILE, and looks the variable up in all of FILE's
	variable sets.

	* file.h (struct file): New member `variables', a `struct
	variable_set_list' containing the list of variable sets used in the
	expansion of the file's commands.

	* variable.c (variables): Replaced with static `struct variable_set'
	global_variable_set.
	(define_variable): Now define_variable_in_set, taking additional
	argument SET, the `struct variable_set' to define it in.
	(define_variable): Use define_variable_in_set with global_variable_set.
	(lookup_variable): Now lookup_variable_in_set, taking additional
	argument SET, the `struct variable_set' to look it up in.
	(lookup_variable): Use lookup_variable_in_set with global_variable_set.
	(lookup_variable_in_setlist): New function to look up a variable in a
	`struct variable_set_list' using lookup_variable_in_set.

	* variable.h (struct variable_set): New structure, containing a hash
	table and the number of hash buckets.
	(struct variable_set_list): New structure, containing a link for a
	linked-list, and a `struct variable_set'.

	* commands.c (start_job): Under -n, return what the recursive start_job
	call returns, since it might actually start a child.

	* make.texinfo (Rules: Wildcards): Document ~ and ~USER expansion.

	* commands.c (execute_file_commands): If start_job returns
	failure, but -t is set, set FILE->update_status to success.
	(start_job): If -t is set, and the commands are not recursive, return
	failure (is is done for -q).

	* remake.c (touch_file): New function to touch FILE.
	(remake_file): Use touch_file.  When touching a file, still do
	execute_file_commands.

	* remake.c (remake_file): Don't check question_flag (-q), since we
	can't know here if the commands are recursive.

	* commands.c (start_job): Don't use the `recursive' member of
	CHILD->file->cmds.  Instead, check for leading +s and $(MAKE) or
	${MAKE} in the command line here.

	* commands.h (struct commands): Remove `recursive' member.

	* rule.c (install_default_pattern_rules): Remove use of `recursive'
	member.

	* read.c (record_files): Don't check commands from $(MAKE) and set
	their `recursive' member.

	* commands.c (fatal_error_signal): Treat SIGQUIT like SIGINT, SIGHUP,
	and SIGTERM, but don't send it to ourselves because it will cause a
	core dump.

Thu Jun  8 20:30:04 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.50.

	* variable.c (variable_expand): Use allocated_variable_expand instead
	of expand_argument in a few places.

	* variable.c (allocated_variable_expand): Do static variable shuffling
	here instead of using expand_argument.
	(expand_argument): Use allocated_variable_expand.

	* variable.c (recursively_expand): New function to recursively expand
	its argument (a `struct variable'), returning the malloc'd value.
	(variable_expand): Use recursively_expand.

Sun May 28 12:49:27 1989  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* make.c (main): Fixed buggy fix in deciding to increase space for
	command-line variable definitions.  (First it never did it, then it
	always did it; now it does it when necessary.)

Sat May 27 14:01:54 1989  Roland McGrath  (mcgrath at hecuba.Berkeley.EDU)

	* make.c (main): Fixed bug in deciding to increase space for
	command-line variable definitions.

Fri May 26 15:48:01 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* read.c (multi_glob): Use allocated_expand_variable for checking
	`HOME' variable for ~ expansion, since this may be called from inside a
	`wildcard' function expansion.

	* variable.h: Declare allocated_expand_variable.

	* variable.c (allocated_expand_variable): New function to do variable
	expansion in an allocated buffer, rather than the static one.

	* make.c (main): Don't set glob_tilde (it no longer exists).

	* variable.c (string_glob): Use multi_glob and parse_file_seq.

	* read.c (multi_glob): Do ~ expansion here.

	* glob.c (glob_tilde, glob_filename): Removed ~ expansion.

	* variable.c (define_variable, lookup_variable): Use a smarter hashing
	algorithm (the same one used for files and directories).
	(VARIABLE_BUCKETS): Increased to 523.

	* file.c (enter_file, lookup_file, rename_file): Use a smarter hashing
	algorithm, spreading the bits about somewhat.

	* make.c (log_working_directory): Under `-p', precede the directory
	message with a `#'.

	* make.c (print_version): Under `-p', precede each line with a `#'.
	(print_data_base): Precede the header line with a `#' and include the
	date and time on it.

	* vpath.c (print_vpath_data_base): Precede non-directive
	lines with `#'s.

	* commands.c (print_commands): Precede the non-command line with a `#'.

	* rule.c (print_rule_data_base), file.c (print_file_data_base): Precede
	non-rule lines with `#'s.

	* dir.c (print_dir_data_base): Precede all lines with `#'s.

	* variable.c (print_variable_data_base): Changed format so that it can
	be makefile input.  Lines that are not variable definitions are
	preceded with `#'.  Nonrecursive variable definitions are made with all
	dollar signs doubled to reproduce the initial value.  Recursive
	variable definitions containing newlines are done with `define'
	directives.  Nonrecursive variable definitions containing newlines, and
	variable names containing :, =, or newlines, will come out garbled.

Wed May 24 00:20:04 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.49.

Tue May 23 19:18:00 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* variable.c (expand_function: `filter'/`filter-out'): Use
	find_percent instead of pattern_p.

	* variable.c (expand_function: `patsubst'): Pass new args (both nil)
	to patsubst_expand.
	(variable_expand): For $(var:pat%=rep%) references, pass new args to
	patsubst_expand so as to avoid find_percent and thus disallow
	quoting the %s.

	* read.c (record_files): Pass new args to patsubst_expand.

	* variable.c (patsubst_expand): Take two new args: PATTERN_PERCENT
	and REPLACE_PERCENT.  Each of these, if non-nil, means that PATTERN
	(or REPLACE) has already been run through find_percent, and
	PATTERN_PERCENT (or REPLACE_PERCENT) is the result.

	* make.h: Declare find_percent instead of pattern_p.

	* read.c (pattern_p): Changed to find_percent, returning a pointer
	to the %, or nil if there is none.
	(record_files): Take another arg, PATTERN_PERCENT, a pointer to the
	% in PATTERN.
	(read_makefile): Pass PATTERN_PERCENT to record_files.

	* make.texinfo (Rules: Static Pattern: Static Usage,
	Rules: Directory Search: Selective Search,
	Functions: Text Functions): Documented that `%' can be quoted.

	* variable.c (expand_function: `filter'/`filter-out'): Use pattern_p
	to allow quoted %s in patterns.

	* variable.c (patsubst_expand): Use pattern_p on PATTERN and REPLACE
	to allow quoted %s.  Quoting backslashes are removed from REPLACE
	even if PATTERN contains no unquoted %.

	* read.c (pattern_p): Made global.
	* make.h: Declare pattern_p.

	* read.c (pattern_p): New function to search for an unquoted % in a
	string.  Backslashes quote %s and backslashes.  Quoting backslashes
	are removed from the string by compacting it into itself.  Returns
	nonzero if an unquoted % was found, zero if not.
	(record_files): Use pattern_p to check for implicit rules.
	(read_makefile): Use pattern_p to check for static pattern rules.
	Also use it to allow quoted %s in `vpath' patterns; warn about
	`vpath' patterns with no %s.

Mon May 22 16:31:52 1989  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* glob.c (glob_filename): Replace a `1' with the `l' that should
	have been there.  This incidentally stops it from dumping core.

	* glob.c (glob_filename): If the path is just a directory, with no
	file name pattern, return the directory alone.

	* glob.c (glob_tilde): New global variable (int), defaults to zero.
	(glob_filename): If glob_tilde is nonzero, expand ~ or ~USER.

	* variable.c (string_glob): Keep a static allocated buffer for file
	names taken from the list, instead of allocating and freeing one
	every time.

Fri May 19 18:06:26 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* make.c (decode_switches): Get floating numbers from the right string.

Sun May 14 13:48:04 1989  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* commands.c (delete_child_targets): When deleting `also_make'
	files, include the target's name in the message:
		make: *** [foo] Deleting file `bar'

Sat May 13 17:34:26 1989  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* make.c (max_load_average, default_load_average): Default to -1.

	* load.c (wait_to_start_job): Return if max_load_average is < 0.0,
	not equal.

Fri May 12 16:08:05 1989  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* variable.c (variable_buffer_output): Don't try to do pointer
	arithmetic between objects not in the same array.

Wed May 10 15:55:29 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* rule.c [M_XENIX] (default_suffix_rules, default_variables): Minor
	changes to allow for strange compiler syntax.

	* rule.c (default_variables): Don't include "> $@" in
	$(PREPROCESS.S), since it's already in the .S.s rule.

	* file.c (enter_file): Make a new double-colon file the `prev'
	member of the bottom `prev' file (the one whose `prev' is nil).

	* read.c (do_define): Append newlines after copying the lines into
	the value buffer, so we end up with a trailing newline.

	* make.c (print_version): If the global variable
	`remote_description' is not nil or "", append "-%s" (its value) to
	the version number.
	* remote-*.c: Define remote_description appropriately.

Sun May  7 15:15:53 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* commands.c (error_status): Converted to new function child_error,
	taking new arguments TARGET_NAME and IGNORED, and writing an error
	message: "*** [target] Error 1" (or signal #, etc.), appending
	" (ignored)" if IGNORED is nonzero.
	(child_handler): Use child_error instead of error_status.

	* compatMakefile (all): Don't depend on `doc'.

	* compatMakefile (clean): Don't remove make-info*.
	(realclean): New rule, depends on `clean', removes tags, TAGS,
	and all Info and TeX files.

Thu May  4 17:00:46 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* variable.c (print_variable_data_base), file.c
	(print_file_data_base), rule.c (print_rule_data_base),
	Use floating-point for averages and percentages.

	* make.c (print_data_base): Print messages before and after the data
	base information.

	* commands.c (print_commands): Changed output format to separate
	lines in commands and prefix them with tabs.

	* dir.c (print_dir_data_base): Changed output format slightly.

	* vpath.c (struct vpath, construct_vpath_list,
	selective_vpath_search): Remove the `exists' member and its uses.

	* vpath.c (print_vpath_data_base): New function to print all
	selective and general VPATH search paths (for -p).

	* make.c (print_data_base): Call print_vpath_data_base.

	* file.c (print_file_data_base): Changed format to look more like a
	makefile rule.  Now reports all information in the `struct file'.

	* rule.c (print_rule_data_base): Changed format of display from:
	  %: (terminal)
	   depends on: RCS/%,v
	to:
	  %: RCS/%,v
	    is terminal.
	    references nonexistent subdirectory.
	Also include number and percent that refer to nonexistent
	subdirectories.

Thu Apr 27 15:45:40 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* make.c (main): Figure out the level of recursion before writing
	the `Entering directory' message.
	* variable.c (define_automatic_variables): Don't figure out the
	level of recursion from `MAKELEVEL'.  It's now done in main.

	* Version 3.48.

Wed Apr 26 16:39:17 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* commands.c (child_handler): Set `update_status' to zero when there
	are no more commands.

	* make.c (log_working_directory): If MAKELEVEL > 0, indicate the
	recurson in the message (make[1]: ...).

	* commands.c (child_handler): Change status to `cs_finished' when
	commands fail.

	* commands.c (start_job): Return 0 (success) if there were no more
	commands for the child.
	(child_handler): Change the status to `cs_finished' when start_job
	fails to start the commands.

	* make.c (main): Don't handle SIGEMT if it's not defined.
	Do handle SIGDANGER if it is defined.

	* commands.c (child_handler): Reorganized inner loop so that it
	doesn't try to inspect the child before finding it.

Tue Apr 25 16:28:24 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* make.c (end_of_token): Fixed bug wherein backslashes caused
	immediate return.

	* Version 3.47.

	* make.texinfo (Implicit: Pattern Rules: Automatic): Document
	setting of `$*' for explicit rules.  Add note clarifying that
	automatic variables, though referred to in the documentation as
	`$<', etc. are no different than `$(<)', etc.

Fri Apr 21 18:00:12 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* file.c (enter_file): Don't strip leading `./'s.

	* read.c (parse_file_seq): Strip leading `./'s.

Thu Apr 13 17:26:41 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* make.texinfo (Commands: Parallel, Running: Options): Document that
	-l with no argument removes a previous load limit.

	* make.c (struct command_switch): New member `default_value'.
	(default_job_slots): Default value (of 1) for -j.
	(default_load_average): Default value (of 0, unlimited) for -l.
	(command_switches): Use default values for -j and -l.
	Also, -l without an arg now means no load limit.
	(define_makeflags): Don't write positive_int or floating options
	whose values are their defaults.

	* make.c (main): Under -w, write a `Leaving directory' message
	before re-execing.

Tue Apr 11 16:46:29 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.46.

	* Makefile: Provide an easy place for system-specific definitions
	(-DUSG, etc.) and extra object files (for whatever).

	* make.texinfo: Miscellaneous fixes from RMS.

Mon Apr 10 19:31:34 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* rule.c (pattern_search): Put rules with `subdir' flags set in
	TRYRULES, since these might be valid with VPATHs.  In the TRYRULES
	loop, don't do lookup_file or file_exists_p calls for dependencies
	of rules with `subdir' flags set, but still do vpath_search calls
	and intermediate-file searches.

Thu Apr  6 16:33:00 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* make.texinfo (Implicit: Pattern Rules: Automatic): Document the
	new definition of $* for explicit rules.

	* commands.c (execute_file_commands): If FILE->stem is nil, figure
	out if FILE->name ends in a suffix in the .SUFFIXES list; if so,
	store the name sans suffix in FILE->stem (and $*).

Wed Apr  5 15:24:48 1989  Roland McGrath  (mcgrath at helen.Berkeley.EDU)

	* file.c (remove_intermediates): Don't use `file_exists_p' to check
	for the existence of intermediate files, because the hashed
	directories will probably be out of date.

	* commands.c (child_handler): Free the good stdin before running the
	next command line.

	* commands.c [USG] (init_siglist): Don't case SIGEMT if it's not
	defined.  Do case SIGDANGER (for IBM RT) if it is defined.

	* commands.c: Changed `SYS_WAIT' to `HAVE_SYS_WAIT'.
	(child_handler): Use `wait3' if HAVE_SYS_WAIT is #defined.

	* file.c (enter_file): If any `./'s are stripped off, allocate a new
	copy of the shortened name.

	* rule.c (pattern_search): Allocate the right length strings for
	`also_make' members.

Sat Apr  1 13:28:38 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.45.

	* GNUmakefile: Make a separate tarfile of the DVI and info files.

	* make.c (define_makeflags): If a switch that takes an argument has
	its default value, put the switch in MAKEFLAGS with no arguments.

	* make.c (command_switches): Pass `-l' in MAKEFLAGS.

Wed Mar 29 17:50:05 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* GNUmakefile: Don't include the DVI and info files in the dist.

	* commands.c (child_handler): Don't call
	check_changed_{directories,vpaths}.

	* make.h: Don't declare check_changed_{directories,vpaths}.

	* vpath.c (check_changed_vpaths): Removed this function.

	* dir.c (struct directory): Remove `modtime' member.
	(find_directory): Don't set `modtime' member.
	(check_changed_directories): Removed this function.

	* remake.c (update_file_1): Set FILE->command_state to cs_finished
	if it didn't need to be remade.

	* remake.c (update_file): Only write the "up to date" message if the
	target went from `not_started' state to `finished' state without
	incrementing the count of files remade.

	* commands.c [USG] (init_siglist): If both SIGCHLD and SIGCLD are
	defined, don't put them both in the `switch'.

Tue Mar 28 15:37:02 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* file.c (rename_file): Change FILE's name!!!

	* rule.c (create_pattern_rule): Set the `terminal' member of the new
	rule after calling new_pattern_rule, which zeros it.

	* rule.c (default_variables): Use $(C++) in $(COMPILE.cc)!

Sun Mar 26 15:52:30 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Makefile: Added a `clean' target.

Fri Mar 24 15:08:46 1989  Roland McGrath  (mcgrath at helen.Berkeley.EDU)

	* Version 3.44.

	* file.c (rename_file): If a `struct file' for the renamed-to name
	exists, and it is a target or has deps or commands, barf.
	If not just remove the old one for put in the new one.

	* remake.c (update_file_1, check_dep): Changed it back so that equal
	modtimes to NOT make dependencies be considered newer.  RCS checks
	out files with equal modtimes as the RCS files, so this screws it.

	* make.h, glob.c: If __GNUC__ is defined, use __builtin_alloca.

	* Makefile: Use variables `ALLOCA' and `ALLOCASRC' so systems
	without a good standard alloca can get it from the Emacs
	distribution (or somewhere).

	* dir.c: Don't include <sys/stat.h>, since make.h does.

	* make.c: Removed debugging version of getwd.

Thu Mar 23 16:16:27 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.43.

	* remake.c (update_file_1): If a dependency loop is found, don't
	fatal.  Emit an error message and remove the dependency.

	* remake.c (library_file_mtime): Fixed to use the right names.
	(update_file_1, check_dep): Consider a dependency "newer" than its
	dependent if they have the same modification time.

Wed Mar 22 19:31:35 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* file.c (remove_intermediates): Don't try to remove nonexistent files.

Mon Mar 20 10:21:22 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.42.

	* rule.c (default_variables): Set F77 to $(FC) and F77FLAGS to
	$(FFLAGS) so explicit rules expecting these (which are in System V)
	will work.  However, there is no way to make setting these affect
	the implicit rules, unless we trash FC and FFLAGS (which BSD uses).
	[USG]: Set GET to `get' rather than `/usr/sccs/get'.

Sun Mar 19 20:00:27 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* vpath.c (construct_vpath_list): Don't replace VPATH[ELEM] with
	dir_name (V), because the latter may get freed.

Sat Mar 18 15:01:39 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.41.

	* make.texinfo: Cleaned-up edition 0.1 Beta from RMS and Bob Chassell.

	* file.c (rename_file): If a file with the new name already existed,
	use the same storage space, after freeing the old file's name, deps,
	and `also_make' member, preserving the link in the chain.
	Also write an error message telling the user to report the incident;
	I don't think this should be able to happen, but I'm not sure.

	* file.c (rename_file): Don't add the hash values of the old and new
	names together!  Reset HASHVAL before computing the second value.

	* dir.c (check_changed_directories): Zero the new file hash table
	after allocating it.

	* dir.c (dir_file_exists_p): If FILENAME is "", return 1 if the
	directory exists.

	* vpath.c (check_changed_vpaths): New function to run through the
	search paths of all VPATHs, making the `exists' members correspond
	to reality.

	* commands.c (child_handler): Call check_changed_vpaths.

	* make.h: Declare check_changed_vpaths.

	* vpath.c (struct vpath): New element `exists', an array of char
	flags; exists[N] is nonzero if searchpath[N] exists.
	(construct_vpath_list): Set the `exists' member.
	(selective_vpath_search): Don't search directories whose `exists'
	elements are zero.

	* read.c (read_makefile): Set the `dontcare' flag of makefiles
	from the MAKEFILES variable if they were not mentioned anywhere but
	in the MAKEFILES variable.

	* read.c (read_makefile): Don't write an error message if fopen
	fails for a makefile from the MAKEFILES variable.

	* dir.c (struct directory): Add `modtime' member to record the
	modification time of the directory when it was opened.
	(check_changed_directories): New function to check all known
	directories; if their modtimes have changed since they were opened,
	their file tables are cleared and they are reset to be read in.

	* commands.c (child_handler): Call check_changed_directories before
	returning.
	make.h: Declare check_changed_directories.

Tue Mar 14 20:07:13 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.40.

	* make.c (print_version): Made the copyright say 1988, 1989.

	* read.c (read_all_makefiles): Don't set *MAKEFILES to the name of
	the end of the read_makefiles chain, since the latter may be from an
	included makefile.  (Why did I do this before?)

	* make.c (main): Set argv[0] to "" if it was nil.  Don't put the
	command-line variable definitions into argv[0], only into the MAKE
	variable!

Sun Mar  5 20:44:08 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* ar.c (ar_member_date, ar_touch): Remove the trailing ) from the
	member name.

Fri Mar  3 18:15:15 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* commands.c (construct_command_argv): Initialize NEW_ARGV to 0.  At
	`slow' label, if NEW_ARGV is not 0, free it; then allocate 4 strings.

Tue Feb 28 14:29:39 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.39.

	* COPYING, make.texinfo: New GNU General Public License, version 1.

	* *.c, *.h, Makefile: New copyright notices for the new GNU General
	Public License, version 1.

	* commands.c [USG]: Define WRETCODE correctly (again).

	* variable.c (expand_function: `shell'): Don't capture the standard
	error output of the shell command.

	* ar.c (ar_touch, ar_member_date): Allocate MEMNAME with the right
	length.

	* load.c [not UMAX] (load_average): Don't clobber the first nlist
	member when trying to set the second!

Thu Feb 23 13:13:53 1989  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* commands.c (child_handler): Really ignore errors under -i and for
	- lines, don't just print a different message.

	* make.c (decode_switches): Fixed handling of arguments (or lack
	thereof) to switches.

Wed Feb 22 16:25:39 1989  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* commands.c (construct_command_argv): Don't clobber LINE when
	checking the IFS variable.

Sun Feb 19 11:17:07 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* load.c [UMAX, not NO_LDAV] (load_average): Return 0.0 rather than
	randomness when calls fail.

	* Version 3.38.

	* commands.c (fatal_error_signal): If handling a user kill signal
	(TERM, INT, HUP), wait for the children without printing the
	"Waiting for children" message, since they will die quickly.

	* Version 3.37.

	* remote-stub.c (remote_status): Take another arg, BLOCK.  If this
	is nonzero block waiting for remote children.  If not, return 0 if
	we would have to block.

	* commands.c (child_handler) [not USG]: If called as a signal
	handler, use wait3 and don't block.
	[USG]: If called as a signal handler, return after handling one child.

Sat Feb 18 13:37:04 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* file.c (snap_deps): Process all double-colon entries of each file,
	not just the first one.

	* Version 3.36.

	* remote-stub.c: remote.c renamed.
	remote.c: Just include remote-stub.c

	* commands.c (child_handler): If we were called as a signal handler,
	return after handling one child.

	* commands.c [not USG]: Include <signal.h> and define `sigmask' if
	<signal.h> doesn't.
	(block_children, unblock_children): Use sigmask rather than
	bitshifting explicitly (and incorrectly).

	* remote.c (remote_kill): New function to send a signal to a
	remote child.

	* commands.c (fatal_error_signal): If we get a SIGTERM, send one to
	each living child.  If we get a SIGTERM, SIGINT, or SIGHUP, delete
	all pending targets before waiting for children.
	(struct child): Add new member `deleted'.
	(start_job): Initialize `deleted' member to 0.
	(delete_child_targets): New function to delete a given child's
	targets, unless the `deleted' flag in the `struct child' says they
	have already been deleted.  Sets this flag before returning.

Thu Feb 16 18:32:07 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* commands.c [USG]: Define `WRETCODE' correctly (X & 0xff00).

Tue Feb 14 16:05:00 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* commands.c (construct_command_argv): Don't make the 0th element of
	the argument list be "sh" when executing /bin/sh, because start_job
	uses the 0th element as the program name.

Sun Feb 12 17:42:05 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.35.

	* read.c (readline): Put a null in the beginning of the buffer
	before starting the reading loop.

	* read.c (read_makefile): Made main reading loop while
	!feof (infile), and removed EOF check after calling readline.

Sun Feb  5 19:52:38 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* remote.c (block_remote_children, unblock_remote_children): New
	(stub) functions to block and restore asynchronous notification of
	remote child death.

	* commands.c (block_children): Call block_remote_children.
	(unblock_children): Call unblock_remote_children.
	(child_handler): If called as a signal handler, block remote
	children on entry and unblock them before returning.

	* commands.c (child_handler): For unknown children, if they are
	remote, give their remote ID; if local, give their PID and make's.

	* commands.c (execute_file_command): Don't put a new child in the
	chain unless start_job succeeds.  Block children before calling
	start_job, and unblock them after putting the child in the chain and
	incrementing `job_slots_used' (if start_job succeeded).

	* commands.c (block_children, unblock_children): Make these globally
	visible (not `static').
	commands.h: Declare block_children and unblock_children.

	* variable.c (expand_function: `shell'): Use
	`shell_function_completed'.  Block children before forking and
	unblock after `shell_function_pid' is set properly and
	`shell_function_completed' is reset to 0.

	* commands.c (child_handler): When the child of the `shell' function
	completes, set `shell_function_completed' to 1 if it actually ran,
	or -1 if it didn't (due to fork or exec failure).

	* commands.c (block_children, unblock_children): New functions to
	block and unblock the child termination signal.
	(wait_for_children): Use block_children and unblock_children.
	(execute_file_commands): Block children around the critical section
	wherein a new child is put on the chain.

	* make.c (main): Change the environment to contain the correct
	MAKELEVEL before re-execing.

Sat Feb  4 18:28:48 1989  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.34.

Fri Feb  3 16:36:49 1989  Roland McGrath  (mcgrath at helen.Berkeley.EDU)

	* rule.c (default_variables): Fixed $(LINK.c).

Wed Feb  1 18:05:07 1989  Roland McGrath  (mcgrath at pepper.Berkeley.EDU)

	* Version 3.33.

	* version.c: Removed copyright notice, since this is a one-line file.

	* commands.c (error_status): Made it return BUF, rather than running
	off the end (this apparently worked on Sun 3s for some reason).

	* ar.c, commands.c, dep.h, load.c, make.c, make.h, read.c, remake.c,
	rule.c, variable.c, Makefile: Changed copyrght notices to cover 1989.

Mon Jan 30 15:51:28 1989  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* Version 3.32.

Fri Jan 27 20:09:24 1989  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* remake.c (remake_file): Don't touch phony targets.

	* rule.c (convert_to_pattern): Fixed an incorrect length passed to
	savestring.

	* variable.c (expand_function: `shell'): Close the read side of the
	pipe on the parent side of the fork.

	* commands.c (start_job): On the child of the fork, close the
	BAD_STDIN fd if we're not using it.

	* read.c (record_files): A file beginning with a dot can be a
	default target if it also contains a slash (as in `../foo').

	* commands.c (wait_for_children): For BSD, block SIGCHLD rather than
	ignoring it to avoid a race condition when child_handler is returning.

	* commands.c (child_handler): Do blocking waits.
	(error_status): Return a string describing exit status.  (Split out
	of child_handler).

	* read.c (multi_glob): Change VECTOR to VEC for Alliant.

Thu Jan  5 00:06:51 1989  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* Version 3.31.

	* make.texinfo (Features): Noted $(foo:PAT=SUB) from SunOS 4.0.

	* make.texinfo (Options/Recursion): -d and -p go in the environment.

	* load.c: Include "commands.h".

Wed Jan  4 17:49:25 1989  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* make.c (switches): -d and -p can come from the environment and are
	put into it.

	* read.c (record_files): Fixed the checking for duplicate deps so it
	doesn't clobber the first one.

	* make.texinfo: Documented default implicit rule changes.

	* rule.c: Revamped default suffix rules.  They now use Sun's style
	of using variables `COMPILE.c', `LINK.c', etc. for each suffix, and
	use `TARGET_ARCH' and `TARGET_MACH' variable where appropriate.
	Also support Modula-2 compilation (suffixes .sym, .def, and .mod).
	Ratfor Yacc support is gone, since nobody has yacc -r.
	All EFL support is gone, since nobody uses EFL.

	* ar.c, arscan.c: Don't assume `long int' and `int' are the same.

	* commands.c [USG]: Fixed wait status bit encoding.
	[USG and not USGr3] (dup2): Define this for SysVr2.

	* make.h, dep.h, make.c [iAPX286]: Make allowances for this
	brain-damaged compiler.

	* make.texinfo (Variables: Flavors): Fixed a typo.

Tue Jan  3 18:09:31 1989  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* ar.c (ar_member_date, ar_touch): Truncate member names to 15 chars.

	* Version 3.30.

	* commands.c [SYS_WAIT]: If this is defined, use BSD <sys/wait.h>
	and wait3 even if USG.

	* read.c (record_files): Defining .DEFAULT with no deps or commands
	clears its commands.

	* rule.c (default_suffixes): Added `.sh'.
	(default_suffix_rules): Added single-suffix .sh rule, copies source
	to target and makes target executable.
	make.texinfo (Catalogue of Rules): Documented .sh rule and its use
	in conjunction with SCCS.

	* rule.c (set_default_suffixes): Define variable `SUFFIXES' to the
	default list ("" under -r).
	make.texinfo (Suffix Rules): Document `SUFFIXES' variable.

	* rule.c (default_variables), make.texinfo (Implicit Variables):
	Variable AR defaults to `ar', ARFLAGS to `rv', and RM to `rm -f'.

	* rule.c (install_default_pattern_rules): Default variables are made
	recursive.
	(default_variables): Added "CPP", defined to "$(CC) -E".
	(default_suffixes): Added `.S', before `.s'.
	(default_suffix_rules): New rule for .S to .s, runs CPP.
	All rules that use CPP now include "$(CPPFLAGS)".
	make.texinfo (Catalogue of Implicit Rules, Implicit Variables):
	Documented above changes.

	* commands.c [USG] (sys_siglist): Don't define.
	[USG] (init_siglist): New function to initialize sys_siglist.

	* make.texinfo (Variables: Reference): Documented `$(foo:PAT=SUB)'
	references.

	* variable.c (variable_expand): A reference `$(foo:PAT=SUB)' is
	equivalent to `$(patsubst PAT,SUB,$(foo))'.

	* variable.c (variable_expand): Free the storage for the expansion
	of a recursive variable when it is nod longer needed.

	* variable.c (variable_expand): When checking for `$($(foo))', use
	lindex so as not to search for the second `$' outside the parens.

	* make.c (struct stringlist, main, decode_switches): Changed `index'
	member to `idx'.

Sat Dec 24 16:02:32 1988  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* commands.c (wait_for_children [USG]): Handle SIGCLD with SIG_DFL,
	rather than SIG_IGN.  Ignoring SIGCLD reportedly makes wait return -1.

	* arscan.c [USGr3]: Define PORTAR to 1 (as with sun386).
	(ar_scan [USGr3]): Remove trailing slashes from member names.

Thu Dec 22 17:54:05 1988  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* make.texinfo (Makefiles: Overriding Makefiles): New node
	documenting use of .DEFAULT to have one makefile defer unmakeable
	targets to another.

	* make.texinfo (Implicit: Using Implicit, Implicit: Last Resort):
	Mention empty commands and xref node `Empty Commands'.

Wed Dec 21 20:12:40 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* Version 3.29.

	* make.c (struct command_switch, command_switches, et al): New
	member `noarg_value', if not nil, ptr to value to use if no arg is
	given to a switch that would otherwise require one.  The -j option
	can now be given w/o an arg, to mean infinite jobs.
	* commands.c: If job_slots is zero, infinite jobs.

	* read.c (read_all_makefiles, read_makefile): Make makefiles precious.

	* make.c (decode_switches): For a positive_int or floating option,
	if we moved to the next argument word, but found no argument for the
	option, move back to the correct word.

	* make.c (decode_switches): If we got any unknown options, die after
	processing all arguments.

	* GNUmakefile: Moved `include depend' to the end, so the default
	goal will be set before then.

	* load.c (wait_to_start_job [Unix, UMAX]): Merged into one version
	under #ifdef LDAV_BASED.  Only loop while we have jobs running.
	Sleep for increasing amounts (increase one second per iteration)
	before checking the load average (after the first check).
	Get the load average from function load_average.
	(wait_to_start_job [not LDAV_BASED]): Always return.
	(load_average [UMAX]): Fetch load average for Encore UMAX.
	(load_average [not NO_LDAV]): Fetch load average from /dev/kmem.
	[not NO_LDAV]: Define LDAV_BASED.

Tue Dec 20 18:54:50 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* Version 3.28.

	* commands.c (wait_for_children): Take second arg, ERROR.  If
	nonzero, and there are children, print a message on stderr.
	(execute_file_commands, fatal_error_signal): Pass second arg.
	* make.c (die), remake.c (update_goal_chain), variable.c
	(expand_function: `shell'): Ditto.

Sat Dec 17 01:05:38 1988  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* commands.c (start_job): Call wait_to_start_job before forking.

	* load.c (load_average): Converted to wait_to_start_job.

	* remote.c: New file for remote execution functions.
	(start_remote_job_p): Return nonzero if the next job should be run
	remotely.
	(start_remote_job): Start a remote job and return an ID for it.
	(remote_status): Get status of dead remote children.

Fri Dec 16 16:51:07 1988  Roland McGrath  (mcgrath at hecuba.Berkeley.EDU)

	* commands.c (start_job): If start_remote_job_p () returns nonzero,
	call start_remote_job to start the job rather than fork and exec.
	(child_handler):

	* commands.c (execute_file_commands): Moved load average checking to
	start_job.

	* commands.c (child_handler: USG): Record the pid wait returns.

	* load.c (UMAX): Added some #include's needed for UMAX.

	* read.c (multi_glob), variable.c (string_glob): Ignore a (char **)
	-1 return from glob_filename.

	* variable.c (variable_expand): Make sure we don't increment past
	the end of the string we were passed.

	* variable.c (variable_expand): Terminate the expansion.

	* file.c (rename_file): If there is already a file under the new
	name, set its contents equal to FILE's (ick).

	* variable.c (define_automatic_variables): Pass all the args to
	define_variable when defining MAKELEVEL!

	* commands.c (execute_file_commands): If max_load_average > 0, and
	we have children running, don't start up another child until the
	load average goes below max_load_average.

	* make.c: New variable `max_load_average'.
	(struct command_switch, decode_switches, decode_env_switches):
	Handle floating-point (double) args.
	(command_switches): Added `-l' switch to set `max_load_average'.

	* load.c (load_average): New file and function to return a double
	that is the current load average (1.00 scale).
	* GNUmakefile, oldMakefile: Pass flags in $(LOAD_AVG) for load.c.

Thu Dec 15 15:22:08 1988  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* Makefile: Renamed to oldMakefile.
	* GNUmakefile: Make Makefile from oldMakefile and depend.

	* read.c (read_all_makefiles): When putting the default makefiles in
	the read_makefiles chain so they will be remade, put them in the
	right order.

	* remake.c (update_goal_chain): If MAKEFILES is nonzero, always make
	in serial, and return as soon as one goal whose `changed' member is
	nonzero  is successfully remade.

	* commands.c: Don't include <sys/fcntl.h>.

	* commands.c (construct_command_argv): Added ` to sh_chars.

	* make.h: Don't declare construct_makeflags.

	* make.c (main): Set up MAKEFLAGS and MFLAGS and make an environment
	both before and after reading the makefiles, so the makefiles can
	use them and possible change them, and later children will get the
	right information.
	(construct_makeflags): Replaced with define_makeflags (static void),
	which defines the two variables.
	* variable.c (define_automatic_variables): Don't define MAKEFLAGS
	and MFLAGS.

Mon Dec 12 14:40:31 1988  Roland McGrath  (mcgrath at helen.Berkeley.EDU)

	* Version 3.27.

	* commands.c (child_handler): Reset the handler to ourselves when
	called for USG, since it has no safe signals.

	* commands.c: For USG, use an int rather than a `union wait' for
	wait calls, and dissect it with bitmasks.
	(child_handler): No wait3 system call in USG.  Since we can't
	protect from hanging, always return immediately if we have no
	children we know about and we're not running a `shell' function.
	(There is still the danger of hanging waiting for a child that died
	without our being notified.)

	* remake.c: Include <fcntl.h> instead of <sys/file.h>.  What we need
	is really in <fcntl.h>, and while BSD <sys/file.h> includes
	<fcntl.h>, USG doesn't.

	* make.c (main): Figure out the program name before doing anything
	which might need it (in a call to error or fatal).

	* dir.c, glob.c: Use `struct dirent' and <dirent.h> for USGr3.

	* arscan.c (ar_scan): Added missing & before buf (which is an int)
	if SARMAG is not defined (SysV).

Fri Dec  9 18:44:13 1988  Roland McGrath  (mcgrath at pepper.Berkeley.EDU)

	* Version 3.26.

	* dir.c (find_directory, dir_file_exists_p): Keep track of how many
	directories we have open and don't let it be more than
	MAX_OPEN_DIRECTORIES (currently 10).

	* variable.c (expand_function: `foreach'): Use expand_argument
	rather than variable_expand so each repetition doesn't clobber the
	last!!!

Mon Dec  5 15:58:46 1988  Roland McGrath  (mcgrath at hecuba.Berkeley.EDU)

	* Version 3.25.

	* Makefile: Define `install' target.

	* GNUmakefile: Don't include GNUmakefile or depend in the
	distribution file.

Wed Nov 30 15:53:42 1988  Roland McGrath  (mcgrath at helen.Berkeley.EDU)

	* commands.c (execute_file_commands): Don't clobber a null into
	random storage if there were no $^ and/or $? words.

	* remake.c (check_dep): Set *MUST_MAKE_PTR nonzero if a dependency
	doesn't exist.

	* ar.c (ar_member_date, ar_touch): Make sure the modtime of the
	archive file itself is known before we fetch or change the modtime
	of one of its members.

	* read.c (read_makefile): Expand variable and function references
	before parsing rules so variable can contain special characters
	(colons and semicolons).

Sat Nov 26 11:36:31 1988  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* variable.c (expand_function: `filter', `filter-out'): Fixed so
	that filter-out works right.

	* variable.c (expand_function: `filter', `filter-out'): Made these
	functions use each word of their first argument as a pattern.

Fri Nov 25 10:51:47 1988  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.24.

	* read.c (record_files): If a target is listed more than once in a
	single rule (that defines commands), give a warning message rather
	than the counter-intuitive message saying commands were already
	defined (in the same place).

	* make.c (fatal, error): Made them both take 6 args since there is
	at least one error message that need that many.  Too bad vfprintf is
	not universal!

	* Version 3.23.

	* read.c (read_makefile): Moved the construction of the `struct
	commands' into record_files.  Call record_files before recursing for an
	included makefile so the higher-up will determine the default goal.
	(record_files): Take arguments COMMANDS, COMMANDS_IDX and
	COMMANDS_STARTED and construct a `struct commands.

Thu Nov 24 14:36:33 1988  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.22.

	* make.c (main): Made it a fatal error if we can't move back to the
	directory we started in before re-execing.

	* make.c (main): Get the current directory before doing anything
	else, so we know it even if we don't need it for the value of
	`MAKE', since we might want it when re-execing.

Wed Nov 23 13:34:44 1988  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* Version 3.21.

	* read.c (record_files): Eliminate duplicate deps in a chain.

	* variable.c (expand_function: `sort'): Pass the right number to
	qsort, not one less.

	* remake.c (remake_file): Always call notice_finished_file if
	FILE->command_state == cs_finished.

	* commands.c (execute_file_commands): Call notice_finished_file to
	set FILE's status correctly when start_job fails (because it's out
	of commands or running under -n).

Fri Nov 18 15:31:12 1988  Roland McGrath  (mcgrath at saffron.Berkeley.EDU)

	* Version 3.20.

	* remake.c (update_file_1): Set the `update_status' of FILE to
	nonzero and set FILE's `updated' bit if we have decided to give up
	on remaking FILE because of errors in the dependencies.

	* rule.c (pattern_search): Debugging messages use `dependency' (vs.
	`dependent') properly.

	* make.texinfo (Conditionals: Conditional Syntax): Function index
	entries for `ifndef' and `ifneq'.

	* variable.c (define_automatic_variables): Define `MAKELEVEL' to the
	decimal number of the makelevel, since it may be malformed or blank.

	* remake.c (remake_file): Call notice_finished_file after touching.

Sat Nov 12 19:29:34 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* Version 3.19.

	* GNUmakefile (dist): Pass the `-f' flag to compress.

	* vpath.c (build_vpath_lists): Check for VPATHS being nil after
	constructing the general VPATH list from the `VPATH' variable.

Fri Nov 11 08:02:26 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* make.c (fatal, error): Made error messages for recursive runs be
	shorter.

Thu Nov 10 16:51:36 1988  Roland McGrath  (mcgrath at basil.Berkeley.EDU)

	* Version 3.18.

	* read.c (read_makefile): Made it eat leading spaces and formfeeds
	(but not tabs), like it's documented to.

	* read.c (read_makefile): Let included makefiles determine the
	default goal, as is done by System V Make.

Tue Nov  1 19:03:08 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* variable.c (new_environ): Don't increment VCNT when a variable is
	rejected.

Fri Oct 28 16:54:15 1988  Roland McGrath  (mcgrath at basil.Berkeley.EDU)

	* Version 3.17.

	* rule.c (convert_to_pattern): Don't use the same storage for a name
	in two rules since new_pattern_rule may free this storage when a
	rule is discarded.

	* rule.c (new_pattern_rule): Undid useless change I made Oct 25.

Thu Oct 27 19:17:53 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* Version 3.16.

	* GNUmakefile, Makefile: Fixed a typo in a comment.
	* Makefile: Removed malloc.o from object file list.

	* variable.c: Removed old debugging #define's for xmalloc and
	xrealloc so non-ANSI cpp's won't barf.

	* make.c (main): Made local array for temp file name static so
	compilers that don't do auto aggregate initialization won't barf.

	* read.c: Removed static declaration of copy_dep_chain since it is
	no longer static.

Tue Oct 25 16:59:30 1988  Roland McGrath  (mcgrath at pepper.Berkeley.EDU)

	* rule.c (new_pattern_rule): If we threw out the new rule because it
	matched an old one and OVERRIDE was zero, don't put the freed
	pointer in the chain!

Wed Oct 19 15:07:43 1988  Roland McGrath  (mcgrath at pepper.Berkeley.EDU)

	* Version 3.15.

	* variable.c (expand_function: `sort'): Don't do the sorting and
	writing out if there were no words in the first place.

	* remake.c (remake_file): Only fail with a "no way to make" message
	for a dependency (non-target) file.  If we don't know how to remake
	a target file, pretend it was successfully remade and is very new.

	* remake.c (remake_file): Don't increment `files_remade' for a
	non-target file we don't know how to remake.

	* read.c (record_files): Don't die with "both : and :: entries" for
	a file whose `is_target' flag is not set.

Tue Oct 18 17:24:11 1988  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* variable.c (expand_function: `patsubst', `subst'): Free the right
	things!

	* variable.c (expand_function: `subst'): Don't clobber the
	pointer to the end of the second arg and then try to use it!!!

Mon Oct 17 16:44:45 1988  Roland McGrath  (mcgrath at catnip.Berkeley.EDU)

	* variable.c (expand_function: `patsubst'): Don't clobber the
	pointer to the end of the second arg and then try to use it!!!

	* variable.c (expand_function: `word' function): Made it parse its
	second argument correctly.

	* ar.c (ar_touch): Return 1 rather than -1 for on errors.

Sat Oct 15 15:12:16 1988  Roland McGrath  (mcgrath at homer.Berkeley.EDU)

	* Version 3.14.

	* GNUmakefile: Removed explicit rule for make.dvi since the built-in
	implicit rule now works.

	* rule.c (default_suffix_rules): Fixed .texinfo.dvi rule yet again
	so that it really works, now that parens are counted.

	* remake.c (update_file_1): Set FILE's `updated' flag after calling
	remake_file if it failed or finished immediately.

	* remake.c (update_file): Use the `updated' flag rather than the
	command state to decide if a file was fully considered, and
	therefore might give an "up to date" message.

	* variable.c (expand_function): Made all functions that take more
	than one argument count parens of the appropriate flavor in their
	args and ignore commands nested in parens.

Fri Oct 14 18:35:00 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* read.c (read_all_makefiles): Pass second arg to read_makefile for
	default makefiles.

Thu Oct 13 16:40:08 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* Version 3.13.

	* GNUmakefile: Added an explicit rule for make.dvi since the
	built-in .texinfo.dvi implicit rule is screwed up.

	* rule.c (default_suffix_rules): Added a comment that the
	.texinfo.dvi rule does not work because of an ahem, feature of Make
	that at some point will be fixed--er, enhanced to alleviate this
	difficulty.

	* rule.c (default_suffix_rules): Fixed Texinfo -> DVI rule (again).

	* make.texinfo (Commands: Execution): Documented new competing for
	standard input among children.

	* commands.c (struct child): Added `good_stdin' flag to tell if this
	child has the stdin that doesn't point into nirvana.
	(good_stdin_used): New variable to tell if any child has the good
	standard input.
	(child_handler): Reset `good_stdin_used' if a dead child's
	`good_stdin' flag is set.
	(start_job): Give the new child the good standard input if
	`good_stdin_used' is no set, and set the child's `good_stdin' flag
	appropriately.

	* rule.c (default_suffix_rules): Changed Texinfo -> DVI rule to work
	better (I hope).

	* read.c (read_all_makefiles): Stop reading default makefiles after
	one is found.

	* read.c (read_makefile): Reset `reading_filename' and
	`reading_lineno_ptr' after recursing for an included makefile.

	* GNUmakefile: New GNU Make-specific makefile that does everything
	Makefile does plus distribution stuff, and doesn't contain any hacks
	to try to work with Unix make.

	* Makefile: Removed distribution stuff.

	* make.c (main): Use mktemp to construct the names of temporary
	files used for standard input makefiles.

	* make.c (main): Don't turn standard input into a broken pipe.

	* commands.c (start_job): Keep two extra file descriptors around: a
	good standard input, and a bad one that reads from a broken pipe.
	On the child side of the fork, if there are other children, give
	this one the broken pipe so they won't compete; if this is the only
	one, give it the good standard input.

	* make.h: Declare notice_finished_file.

	* commands.c (execute_file_commands): Use noticed_finished_file
	after waiting for the child when there is only one job slot.

	* remake.c (notice_finished_file): New function to re-check mtime's
	and such things to be done when commands finish.
	(update_file_1): Use notice_finished_file.

	* commands.c (child_handler, execute_file_commands): Use new
	variable `job_slots_used' to record the number of jobs currently
	running, rather than diddling with `job_slots'.
	(execute_file_commands): Increment `job_slots_used' before calling
	start_job and decrement it on failure to avoid race condition.
	If there is only one job slot, wait for the child to finish and
	return its status so commands are run in linear order, as if there
	were no parallelism.

Wed Oct 12 15:59:03 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* remake.c (remake_file): Don't print a "No way to make" message for
	targets whose `dontcare' flags are set.

	* read.c (read_all_makefiles): Set the `dontcare' flag of the
	`struct file' each default makefile added to the chain.

	* file.h (struct file): Add `dontcare' member.

	* read.c (read_all_makefiles): When no default makefiles are found,
	put the names of all those tried in the `read_makefiles' chain so
	they will be updated if possible, giving their `struct dep's'
	`changed' members the value of 0 so we won't care if they cannot be
	found or remade.

	* make.texinfo (Makefiles: Remaking Makefiles): Documented that
	default makefiles will be remade if not found.

	* read.c (read_all_makefiles): If no default makefiles can be found,
	go through the list of default names, trying to make one, stopping
	if one is made.

	* remake.c (remake_file): Set STATUS to 0 after successfully touching.

	* dir.c (file_impossible, file_impossible_p): Don't clobber FILENAME
	to "" and then try to to a strcmp on it!!!

Mon Oct 10 16:09:18 1988  Roland McGrath  (mcgrath at cinnamon.Berkeley.EDU)

	* make.c (main): Don't do `dir_load (".")'.

	* rule.c (count_implicit_rule_limits), vpath.c
	(construct_vpath_list): Test the existence of a given directory by
	`dir_file_exists_p (DIR, ".")' and assume that if this returns zero,
	it means the directory really does not exist.

	* dir.c (struct dirdata): Replaced with `struct directory' for
	directories, each containing a chain of `struct dirfiles', one for
	each file (real or impossible).
	(dir_load): Removed.
	(find_directory): New function to find the `struct directory' for a
	named directory and return it (possibly creating a new one).
	(dir_file_exists_p): Read the directory on the fly if its stream is
	still valid (and ever was) if the file we're looking for is not
	already in the hash tables.
	(file_impossible, file_impossible_p, dir_name, print_dir_data_base):
	Use the new directory/file scheme.

	* make.texinfo: Miscellaneous editorial changes and clarifiactions.

	* commands.c (struct child): Remove `environ' member.
	(child_handler, start_job, execute_file_commands): Remove use of
	`environ' member and new_environ.

	* make.c (main): Call new_environ after reading makefiles.

	* variable.h: Declare `new_environ' to return void.

	* variable.c (new_environ): Put the environment in `environ' and
	return void.

Fri Oct  7 15:48:39 1988  Roland McGrath  (mcgrath at pepper.Berkeley.EDU)

	* Version 3.12.

	* Makefile: Don't make the uncompressed tar file.

	* variable.c (expand_function: `shell' function): Made it not expect
	read to null-terminate the buffer.

	* Makefile: Made it use a temporary symlink to . rather than a
	temporary directory to make the distribution tar file.

Thu Oct  6 17:52:35 1988  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* Version 3.11.

	* make.texinfo: Fixed a line that got garbaged somehow.

Mon Oct  3 16:14:39 1988  Roland McGrath  (mcgrath at paris.Berkeley.EDU)

	* make.c (main): Try to move back to the directory we started in
	before re-exec ourself.

	* remake.c (update_file_1): A double-colon target with no deps
	always needs to be remade.

	* remake.c (remake_file): Changed "No way to make" message to say
	`target' rather than `file'.

Sun Oct  2 12:50:47 1988  Roland McGrath  (mcgrath at catnip.Berkeley.EDU)

	* remake.c (update_file_1): Set FILE->update_status to the return
	value of remake_file.

	* rule.c (convert_to_pattern): Fixed swapped lengths passed to
	xmalloc for source/target suffixes.

	* make.texinfo: Documented that MAKEFLAGS and MFLAGS are read in
	from makefiles.  Updated the `Features' section a bit.

	* make.c (main): Read switches from MAKEFLAGS and MFLAGS variables
	after reading in makefiles.

	* make.c (main): Put a line "/tmp/foo:;" rather than ".PHONY:
	/tmp/foo" in front of temp files made for stdin makefiles.

	* remake.c (update_file): Test the state of the right `struct file'
	for double-colon files.

	* make.c (main): Put a ".PHONY: /tmp/foo" line in front of temp
	files made for stdin makefiles so they won't be remade when we
	re-exec.  Kludge-o-matic!!

	* remake.c (update_goal_chain): Judge files as being finished based
	on their `updated' flag, not their state.

	* read.c (read_makefile): Don't check for FILENAME being "-".
	(read_all_makefiles): Set each element of MAKEFILES to the name put
	in READ_MAKEFILES by read_makefile, since read_makefile may free the
	storage for the name it is passed, and someone might want to look at
	the elements of MAKEFILES again.

	* make.c (main): For each `-f' flag with arg `-' (standard input),
	read standard input into a temp file and pass the temp file's name
	to read_all_makefiles, after making sure it will not be remade.

	* make.c (construct_makeflags): Always put out `-j1'.

Sat Oct  1 00:19:59 1988  Roland McGrath  (mcgrath at tully.Berkeley.EDU)

	* commands.c (execute_file_commands): If commands are nothing but
	whitespace, set the state to `cs_finished' before returning 0.

	* make.c (decode_switches): Allocate space for args in stringlists
	so they can be freed later.

	* make.h: Declare `makelevel'.

	* variable.c (makelevel): Moved to make.c (and made global).

	* make.c (fatal, error): Print the makelevel if it's > 0.
	(perror_with_name): Use error rather than calling fprintf directly.
	(pfatal_with_name): Use fatal rather than fprintf and die.

	* variable.c (new_environ): Don't put default variables (origin
	`o_default') into the environment; they just take up space.

	* read.c (read_makefile): Don't add FILENAME to the chain of read
	makefiles if it's "-" (standard input).

	* remake.c (update_goal_chain): Set STATUS correctly when nothing
	happens (as well as in all other situations).

	* make.c (construct_makeflags): Put a `-' before each switch and
	spaces between them.

	* Version 3.10.

	* commands.c (wait_for_children): Don't check if `children' is nil.
	This is the case when waiting for the child of a `shell' function.

	* dir.c (dir_load): Don't add a hash-table entry for directory
	DIRNAME and filename "" if DIRNAME doesn't exist.

	* commands.c (execute_file_commands): Return 0 after start_job
	returns 1 (failure) under the -n flag.

	* remake.c (remake_file): Set the state to `cs_finished' when not
	calling execute_file_commands.

	* remake.c (update_goal_chain): Second arg is now MAKEFILES, nonzero
	meaning to disable -t, -q, and -n for each target unless the target
	was also given on the command-line.

	* read.c (read_makefile): Enter the `struct file's for the makefiles
	added to the `read_makefiles' `struct dep' chain.

	* remake.c (update_goal_chain): Made it not enter the files for the
	goals in the chain.  It will already have been done.

	* rule.c (convert_to_pattern): Null-terminate the names of targets
	and deps of the pattern rules properly.

Fri Sep 30 18:56:20 1988  Roland McGrath  (mcgrath at nutmeg.Berkeley.EDU)

	* make.c (main): Call install_default_pattern_rules.

	* make.h: Declare copy_dep_chain.

	* read.c (copy_dep_chain): Moved to make.c (and made global).

	* make.c (main): Call update_goal_chain to update goals.
	Update read makefiles and re-exec self if they change.

	* remake.c (update_file): Make this function static.
	(update_goal_chain): New function to update a `struct dep' chain of
	goals, waiting until they are all finished before returning.

	* make.h: Don't declare update_file.  Declare update_goal_chain.

	* make.c (main): Call snap_deps, etc. that were in read_all_makefiles.

	* read.c (find_makefile): Removed this function.
	(read_all_makefiles): Don't update makefiles, don't diddle with
	pattern rules, don't call snap_deps, etc.  Return a `struct dep'
	chain of all makefiles read.
	(read_makefile): Now takes two args: FILENAME and TYPE, which is 0
	for a normal makefile, 1 for MAKEFILES variable or 2 for an included
	makefile.  Add a `struct dep' containing the name of the makefile
	(as it was found in the search path for type 2s), and TYPE in the
	`changed' member to the global `read_makefiles' chain.

	* make.h, rule.c (displace_pattern_rules,
	add_displaced_pattern_rules): Removed these functions.

	* read.c (read_makefile): Variable-expand the name of an `include'd
	makefile before calling find_makefile on it.

	* file.c (snap_deps): If the `struct file' for a `struct dep'
	already exists, free the `struct dep's `name' member before setting
	it to nil (since this info is in the `struct file').

	* read.c (copy_dep_chain): Made it copy each name rather than
	leaving multiple `struct dep's with the same pointers.

Thu Sep 29 19:08:13 1988  Roland McGrath  (mcgrath at catnip.Berkeley.EDU)

	* make.c (decode_switches): Fixed second decode_env_switches call to
	use correct length of "MFLAGS" (6, not 5).

	* read.c (read_makefile): Don't stop reading when readline returns
	zero lines read.  Only stop when the stream reaches EOF.  This makes
	it recognize the last line of a makefile without a newline.

	* remake.c (remake_file): If we don't know how to make FILE, set its
	command state to `cs_finished'.

	* remake.c (update_file): Don't write the "up to date" message if
	update_file_1 returned a nonzero status.

Wed Sep 28 16:30:07 1988  Roland McGrath  (mcgrath at catnip.Berkeley.EDU)

	* commands.c (child_handler): Set the `update_status' member
	properly for ignored errors.

	* rule.c (convert_to_pattern): Made it not care about if the target
	suffix comes before the source suffix in the .SUFFIXES list.

	* make.texinfo: Misc editorial changes.

	* commands.c (wait_for_children): Return immediately if `children'
	is nil (there are no children).

Tue Sep 27 15:33:14 1988  Roland McGrath  (mcgrath at pepper.Berkeley.EDU)

	* Version 3.09.

	* commands.c (struct child): New member `command_ptr' to hold the
	current position in the commands.  The `commands' member is never
	changed.
	(start_job, child_handler, execute_file_commands): Use new method
	for `commands' and `command_ptr' members.

	* make.c (decode_env_switches): Skip past an invalid letter (instead
	of looping forever).

	* commands.c (struct child): Add `environ' member to hold the
	environment for this child.
	(execute_file_commands): Get a new environment from new_environ and
	put in the the new `struct child's `environ' member.
	(child_handler): When freeing a child, free its `commands' member, the
	elements of its `environ' array
Download .txt
gitextract_jw1du2k5/

├── .ccls
├── .clangd
├── .dir-locals.el
├── .gitignore
├── AUTHORS
├── Basic.mk.template
├── COPYING
├── ChangeLog.1
├── ChangeLog.2
├── ChangeLog.3
├── Makefile.am
├── NEWS
├── README.DOS
├── README.OS2
├── README.VMS
├── README.W32
├── README.customs
├── README.git
├── README.in
├── README.zOS
├── TODO.private
├── autogen.sh
├── autopull.sh
├── bootstrap
├── bootstrap-funclib.sh
├── bootstrap.bat
├── bootstrap.conf
├── build.cfg.in
├── build.sh
├── build_w32.bat
├── builddos.bat
├── configure.ac
├── doc/
│   ├── .gitignore
│   ├── Makefile.am
│   ├── make.1
│   └── make.texi
├── gl/
│   ├── .gitignore
│   ├── lib/
│   │   ├── fnmatch.c
│   │   ├── fnmatch.in.h
│   │   ├── glob.c
│   │   └── glob.in.h
│   ├── m4/
│   │   ├── acinclude.m4
│   │   ├── dospaths.m4
│   │   └── getloadavg.m4
│   └── modules/
│       ├── concat-filename
│       ├── findprog-in
│       ├── getloadavg
│       ├── make-glob
│       └── make-macros
├── maintMakefile
├── make-gdb.py
├── makefile.com
├── mk/
│   ├── Posix.mk.in
│   ├── VMS.mk
│   ├── Windows32.mk
│   └── msdosdjgpp.mk
├── po/
│   ├── .gitignore
│   ├── LINGUAS
│   └── POTFILES.in
├── prepare_vms.com
├── scripts/
│   └── copyright-update
├── src/
│   ├── ar.c
│   ├── arscan.c
│   ├── commands.c
│   ├── commands.h
│   ├── config.h-vms
│   ├── config.h.W32
│   ├── configh.dos
│   ├── debug.h
│   ├── default.c
│   ├── dep.h
│   ├── dir.c
│   ├── expand.c
│   ├── file.c
│   ├── filedef.h
│   ├── function.c
│   ├── getopt.c
│   ├── getopt.h
│   ├── getopt1.c
│   ├── gettext.h
│   ├── gmk-default.scm
│   ├── gnumake.h
│   ├── guile.c
│   ├── hash.c
│   ├── hash.h
│   ├── implicit.c
│   ├── job.c
│   ├── job.h
│   ├── load.c
│   ├── loadapi.c
│   ├── main.c
│   ├── makeint.h
│   ├── misc.c
│   ├── mkconfig.h.in
│   ├── mkcustom.h
│   ├── os.h
│   ├── output.c
│   ├── output.h
│   ├── posixos.c
│   ├── read.c
│   ├── remake.c
│   ├── remote-cstms.c
│   ├── remote-stub.c
│   ├── rule.c
│   ├── rule.h
│   ├── shuffle.c
│   ├── shuffle.h
│   ├── signame.c
│   ├── strcache.c
│   ├── variable.c
│   ├── variable.h
│   ├── version.c
│   ├── vms_exit.c
│   ├── vms_export_symbol.c
│   ├── vms_progname.c
│   ├── vmsdir.h
│   ├── vmsfunctions.c
│   ├── vmsify.c
│   ├── vmsjobs.c
│   ├── vpath.c
│   ├── w32/
│   │   ├── compat/
│   │   │   ├── dirent.c
│   │   │   └── posixfcn.c
│   │   ├── include/
│   │   │   ├── dirent.h
│   │   │   ├── dlfcn.h
│   │   │   ├── pathstuff.h
│   │   │   ├── sub_proc.h
│   │   │   └── w32err.h
│   │   ├── pathstuff.c
│   │   ├── subproc/
│   │   │   ├── misc.c
│   │   │   ├── proc.h
│   │   │   ├── sub_proc.c
│   │   │   └── w32err.c
│   │   ├── utf8.manifest
│   │   ├── utf8.rc
│   │   └── w32os.c
│   ├── warning.c
│   └── warning.h
├── tests/
│   ├── .gitignore
│   ├── ChangeLog.1
│   ├── NEWS
│   ├── config-flags.pm.W32
│   ├── config-flags.pm.in
│   ├── config_flags_pm.com
│   ├── guile.supp
│   ├── mkshadow
│   ├── run_make_tests
│   ├── run_make_tests.bat
│   ├── run_make_tests.com
│   ├── run_make_tests.pl
│   ├── scripts/
│   │   ├── features/
│   │   │   ├── archives
│   │   │   ├── comments
│   │   │   ├── conditionals
│   │   │   ├── default_names
│   │   │   ├── dircache
│   │   │   ├── double_colon
│   │   │   ├── echoing
│   │   │   ├── errors
│   │   │   ├── escape
│   │   │   ├── exec
│   │   │   ├── expand
│   │   │   ├── export
│   │   │   ├── grouped_targets
│   │   │   ├── implicit_search
│   │   │   ├── include
│   │   │   ├── jobserver
│   │   │   ├── load
│   │   │   ├── loadapi
│   │   │   ├── mult_rules
│   │   │   ├── mult_targets
│   │   │   ├── order_only
│   │   │   ├── output-sync
│   │   │   ├── override
│   │   │   ├── parallelism
│   │   │   ├── patspecific_vars
│   │   │   ├── patternrules
│   │   │   ├── quoting
│   │   │   ├── recursion
│   │   │   ├── reinvoke
│   │   │   ├── rule_glob
│   │   │   ├── se_explicit
│   │   │   ├── se_implicit
│   │   │   ├── se_statpat
│   │   │   ├── shell_assignment
│   │   │   ├── statipattrules
│   │   │   ├── suffixrules
│   │   │   ├── targetvars
│   │   │   ├── temp_stdin
│   │   │   ├── utf8
│   │   │   ├── varnesting
│   │   │   ├── vpath
│   │   │   ├── vpathgpath
│   │   │   └── vpathplus
│   │   ├── functions/
│   │   │   ├── abspath
│   │   │   ├── addprefix
│   │   │   ├── addsuffix
│   │   │   ├── andor
│   │   │   ├── basename
│   │   │   ├── call
│   │   │   ├── dir
│   │   │   ├── error
│   │   │   ├── eval
│   │   │   ├── file
│   │   │   ├── filter-out
│   │   │   ├── findstring
│   │   │   ├── flavor
│   │   │   ├── foreach
│   │   │   ├── guile
│   │   │   ├── if
│   │   │   ├── intcmp
│   │   │   ├── join
│   │   │   ├── let
│   │   │   ├── notdir
│   │   │   ├── origin
│   │   │   ├── realpath
│   │   │   ├── shell
│   │   │   ├── sort
│   │   │   ├── strip
│   │   │   ├── substitution
│   │   │   ├── suffix
│   │   │   ├── value
│   │   │   ├── warning
│   │   │   ├── wildcard
│   │   │   └── word
│   │   ├── misc/
│   │   │   ├── bs-nl
│   │   │   ├── close_stdout
│   │   │   ├── failure
│   │   │   ├── fopen-fail
│   │   │   ├── general1
│   │   │   ├── general2
│   │   │   ├── general3
│   │   │   ├── general4
│   │   │   └── utf8
│   │   ├── options/
│   │   │   ├── dash-B
│   │   │   ├── dash-C
│   │   │   ├── dash-I
│   │   │   ├── dash-W
│   │   │   ├── dash-d
│   │   │   ├── dash-e
│   │   │   ├── dash-f
│   │   │   ├── dash-k
│   │   │   ├── dash-l
│   │   │   ├── dash-n
│   │   │   ├── dash-q
│   │   │   ├── dash-r
│   │   │   ├── dash-s
│   │   │   ├── dash-t
│   │   │   ├── eval
│   │   │   ├── general
│   │   │   ├── print-directory
│   │   │   ├── print-targets
│   │   │   ├── shuffle
│   │   │   ├── symlinks
│   │   │   └── warn
│   │   ├── targets/
│   │   │   ├── DEFAULT
│   │   │   ├── DELETE_ON_ERROR
│   │   │   ├── FORCE
│   │   │   ├── IGNORE
│   │   │   ├── INTERMEDIATE
│   │   │   ├── NOTINTERMEDIATE
│   │   │   ├── ONESHELL
│   │   │   ├── PHONY
│   │   │   ├── POSIX
│   │   │   ├── SECONDARY
│   │   │   ├── SILENT
│   │   │   ├── WAIT
│   │   │   └── clean
│   │   ├── test_template
│   │   ├── variables/
│   │   │   ├── CURDIR
│   │   │   ├── DEFAULT_GOAL
│   │   │   ├── EXTRA_PREREQS
│   │   │   ├── GNUMAKEFLAGS
│   │   │   ├── INCLUDE_DIRS
│   │   │   ├── LIBPATTERNS
│   │   │   ├── MAKE
│   │   │   ├── MAKECMDGOALS
│   │   │   ├── MAKEFILES
│   │   │   ├── MAKEFLAGS
│   │   │   ├── MAKELEVEL
│   │   │   ├── MAKE_RESTARTS
│   │   │   ├── MFILE_LIST
│   │   │   ├── SHELL
│   │   │   ├── WARNINGS
│   │   │   ├── append
│   │   │   ├── automatic
│   │   │   ├── conditional
│   │   │   ├── define
│   │   │   ├── flavors
│   │   │   ├── negative
│   │   │   ├── private
│   │   │   ├── special
│   │   │   └── undefine
│   │   └── vms/
│   │       └── library
│   ├── test_driver.pl
│   └── thelp.pl
└── vms_export_symbol_test.com
Download .txt
SYMBOL INDEX (1069 symbols across 62 files)

FILE: gl/lib/fnmatch.c
  function internal_fnmatch (line 133) | static int
  function fnmatch (line 454) | int

FILE: gl/lib/glob.c
  function glob (line 269) | int
  function globfree (line 974) | void
  function collated_compare (line 989) | static int
  function prefix_array (line 1009) | static int
  function __glob_pattern_p (line 1074) | int
  function glob_in_dir (line 1111) | static int

FILE: gl/lib/glob.in.h
  type stat (line 71) | struct stat
  type glob_t (line 73) | typedef struct
  type stat64 (line 94) | struct stat64
  type glob64_t (line 95) | typedef struct

FILE: make-gdb.py
  function getType (line 11) | def getType(tname):
  function isNullptr (line 26) | def isNullptr(val):
  class ShowArgv (line 31) | class ShowArgv(gdb.Command):
    method __init__ (line 38) | def __init__(self):
    method invoke (line 42) | def invoke(self, arg, from_tty):
  class ShowNextList (line 64) | class ShowNextList(gdb.Command):
    method __init__ (line 73) | def __init__(self):
    method invoke (line 77) | def invoke(self, arg, from_tty):
  class FileLocation (line 99) | class FileLocation(object):
    method __init__ (line 102) | def __init__(self, val):
    method to_string (line 106) | def to_string(self):
  class StringListPrinter (line 113) | class StringListPrinter(object):
    method __init__ (line 116) | def __init__(self, val):
    method to_string (line 120) | def to_string(self):
    method children (line 124) | def children(self):
    method display_hint (line 134) | def display_hint(self):
  class VariablePrinter (line 139) | class VariablePrinter(object):
    method __init__ (line 142) | def __init__(self, val):
    method to_string (line 146) | def to_string(self):
  class HashTablePrinter (line 169) | class HashTablePrinter(object):
    method __init__ (line 174) | def __init__(self, val):
    method to_string (line 178) | def to_string(self):
    method children (line 185) | def children(self):
    method iterator (line 192) | def iterator(self):
    method display_hint (line 202) | def display_hint(self):
  class VariableSetPrinter (line 207) | class VariableSetPrinter(object):
    method __init__ (line 210) | def __init__(self, val):
    method to_string (line 214) | def to_string(self):
    method children (line 218) | def children(self):
    method display_hint (line 226) | def display_hint(self):
  class VariableSetListPrinter (line 231) | class VariableSetListPrinter(object):
    method __init__ (line 236) | def __init__(self, val):
    method to_string (line 240) | def to_string(self):
    method children (line 244) | def children(self):
    method display_hint (line 262) | def display_hint(self):
  function build_pretty_printer (line 267) | def build_pretty_printer():

FILE: src/ar.c
  function ar_name (line 33) | int
  function ar_parse_name (line 57) | void
  function intmax_t (line 76) | static intmax_t
  function time_t (line 88) | time_t
  function ar_touch (line 124) | int
  function ar_touch (line 131) | int
  type ar_glob_state (line 186) | struct ar_glob_state
  function intmax_t (line 201) | static intmax_t
  function ar_glob_pattern_p (line 230) | static int
  type nameseq (line 264) | struct nameseq
  type ar_glob_state (line 267) | struct ar_glob_state
  type nameseq (line 268) | struct nameseq

FILE: src/arscan.c
  function time_t (line 59) | static time_t
  function VMS_get_member_info (line 84) | static int
  function intmax_t (line 206) | intmax_t
  type ar_hdr (line 343) | struct ar_hdr
  function uintmax_t (line 384) | static uintmax_t
  function intmax_t (line 437) | intmax_t
  function ar_name_equal (line 846) | int
  function intmax_t (line 905) | static intmax_t
  function ar_member_touch (line 923) | int
  function intmax_t (line 986) | intmax_t
  function main (line 1006) | int

FILE: src/commands.c
  function dep_hash_1 (line 36) | static unsigned long
  function dep_hash_2 (line 43) | static unsigned long
  function dep_hash_cmp (line 50) | static int
  function set_file_variables (line 63) | void
  function chop_commands (line 322) | void
  function execute_file_commands (line 436) | void
  function fatal_error_signal (line 483) | void
  function delete_target (line 602) | static void
  function delete_child_targets (line 652) | void
  function print_commands (line 672) | void

FILE: src/commands.h
  type commands (line 20) | struct commands
  type file (line 37) | struct file
  type child (line 38) | struct child
  type file (line 41) | struct file
  type commands (line 42) | struct commands
  type child (line 43) | struct child
  type commands (line 44) | struct commands
  type file (line 45) | struct file

FILE: src/default.c
  type pspec (line 56) | struct pspec
  type pspec (line 96) | struct pspec
  function set_default_suffixes (line 681) | void
  function install_default_suffix_rules (line 707) | void
  function install_default_implicit_rules (line 734) | void
  function define_default_variables (line 749) | void
  function undefine_default_variables (line 761) | void

FILE: src/dep.h
  type nameseq (line 24) | struct nameseq
  type dep (line 59) | struct dep
  type goaldep (line 68) | struct goaldep
  type nameseq (line 101) | struct nameseq
  type nameseq (line 107) | struct nameseq
  function nameseq (line 112) | nameseq *alloc_ns (void)    { return alloc_seq_elt (struct nameseq); }
  function dep (line 113) | dep *alloc_dep (void)       { return alloc_seq_elt (struct dep); }
  function goaldep (line 114) | goaldep *alloc_goaldep (void) { return alloc_seq_elt (struct goaldep); }
  function SI (line 116) | SI void free_ns (struct nameseq *n)      { free (n); }
  function SI (line 117) | SI void free_dep (struct dep *d)         { free_ns ((struct nameseq *)d); }
  function SI (line 118) | SI void free_goaldep (struct goaldep *g) { free_dep ((struct dep *)g); }
  function SI (line 119) | SI void free_dep_chain (struct dep *d)   { free_ns_chain((struct nameseq...
  function SI (line 120) | SI void free_goal_chain (struct goaldep *g) { free_dep_chain((struct dep...
  type dep (line 134) | struct dep
  type dep (line 134) | struct dep
  type dep (line 135) | struct dep
  type dep (line 135) | struct dep
  type goaldep (line 137) | struct goaldep
  type update_status (line 139) | enum update_status
  type goaldep (line 139) | struct goaldep

FILE: src/dir.c
  function vms_hash (line 168) | static int
  function vmsstat_dir (line 194) | static int
  type directory_contents (line 244) | struct directory_contents
  type directory_contents (line 272) | struct directory_contents
  type directory_contents (line 273) | struct directory_contents
  function directory_contents_hash_1 (line 288) | static unsigned long
  function directory_contents_hash_2 (line 311) | static unsigned long
  function directory_contents_hash_cmp (line 346) | static int
  type hash_table (line 382) | struct hash_table
  type directory (line 384) | struct directory
  function directory_hash_1 (line 396) | static unsigned long
  function directory_hash_2 (line 402) | static unsigned long
  function directory_hash_cmp (line 408) | static int
  type hash_table (line 416) | struct hash_table
  type dirfile (line 421) | struct dirfile
  function dirfile_hash_1 (line 429) | static unsigned long
  function dirfile_hash_2 (line 435) | static unsigned long
  function dirfile_hash_cmp (line 441) | static int
  type directory (line 456) | struct directory
  type directory (line 458) | struct directory
  type directory (line 462) | struct directory
  type directory (line 465) | struct directory
  type directory (line 466) | struct directory
  type directory (line 467) | struct directory
  type directory_contents (line 468) | struct directory_contents
  type directory_contents (line 469) | struct directory_contents
  type directory_contents (line 470) | struct directory_contents
  type stat (line 472) | struct stat
  type directory (line 479) | struct directory
  type directory (line 501) | struct directory
  type directory_contents (line 559) | struct directory_contents
  type directory_contents (line 573) | struct directory_contents
  function dir_contents_file_exists_p (line 632) | static int
  function dir_file_exists_p (line 797) | int
  function file_exists_p (line 810) | int
  function file_impossible (line 884) | void
  function file_impossible_p (line 979) | int
  function print_dir_data_base (line 1081) | void
  type dirstream (line 1189) | struct dirstream
  type dirent (line 1197) | struct dirent
  type dirstream (line 1202) | struct dirstream
  type directory (line 1203) | struct directory
  type dirstream (line 1215) | struct dirstream
  type dirfile (line 1217) | struct dirfile
  type dirent (line 1222) | struct dirent
  type dirstream (line 1228) | struct dirstream
  type dirstream (line 1228) | struct dirstream
  type directory_contents (line 1229) | struct directory_contents
  type dirfile (line 1230) | struct dirfile
  type dirfile (line 1230) | struct dirfile
  type dirfile (line 1234) | struct dirfile
  type dirent (line 1238) | struct dirent
  type dirent (line 1248) | struct dirent
  type stat (line 1280) | struct stat
  function local_stat (line 1290) | static int
  type stat (line 1320) | struct stat
  function local_lstat (line 1333) | static int
  function dir_setup_glob (line 1342) | void
  function hash_init_directories (line 1353) | void

FILE: src/expand.c
  function install_variable_buffer (line 101) | void
  function restore_variable_buffer (line 114) | void
  type variable (line 141) | struct variable
  type variable (line 144) | struct variable
  type file (line 144) | struct file
  type variable_set_list (line 149) | struct variable_set_list
  type variable (line 152) | struct variable
  type variable_set_list (line 209) | struct variable_set_list
  type variable (line 212) | struct variable
  type variable (line 271) | struct variable
  type file (line 345) | struct file
  type variable_set_list (line 348) | struct variable_set_list
  type variable (line 376) | struct variable
  type file (line 618) | struct file
  type variable_set_list (line 621) | struct variable_set_list
  type file (line 639) | struct file
  type variable_set_list (line 657) | struct variable_set_list
  type variable (line 659) | struct variable
  type variable (line 699) | struct variable

FILE: src/file.c
  function file_hash_1 (line 43) | static unsigned long
  function file_hash_2 (line 49) | static unsigned long
  function file_hash_cmp (line 55) | static int
  type hash_table (line 62) | struct hash_table
  type file (line 68) | struct file
  type file (line 80) | struct file
  type file (line 83) | struct file
  type file (line 84) | struct file
  type file (line 150) | struct file
  type file (line 153) | struct file
  type file (line 154) | struct file
  type file (line 155) | struct file
  type file (line 156) | struct file
  type file (line 180) | struct file
  type file (line 188) | struct file
  function rehash_file (line 212) | void
  function rename_file (line 355) | void
  function remove_intermediates (line 371) | void
  type dep (line 453) | struct dep
  type dep (line 456) | struct dep
  type dep (line 462) | struct dep
  type dep (line 471) | struct dep
  type dep (line 486) | struct dep
  type dep (line 487) | struct dep
  type dep (line 489) | struct dep
  type dep (line 499) | struct dep
  type dep (line 528) | struct dep
  function expand_deps (line 570) | void
  type dep (line 702) | struct dep
  type variable (line 703) | struct variable
  type dep (line 705) | struct dep
  type dep (line 706) | struct dep
  function snap_file (line 722) | static void
  function snap_deps (line 786) | void
  function set_command_state (line 933) | void
  function FILE_TIMESTAMP (line 947) | FILE_TIMESTAMP
  function FILE_TIMESTAMP (line 971) | FILE_TIMESTAMP
  function file_timestamp_sprintf (line 1021) | void
  function print_prereqs (line 1055) | static void
  function print_file (line 1079) | static void
  function print_file_data_base (line 1196) | void
  function print_target (line 1207) | static void
  function print_targets (line 1229) | void
  function verify_file (line 1244) | static void
  function verify_file_data_base (line 1264) | void
  type file (line 1282) | struct file
  type file (line 1282) | struct file
  type file (line 1283) | struct file
  type file (line 1293) | struct file
  function init_hash_files (line 1317) | void

FILE: src/filedef.h
  type commands (line 24) | struct commands
  type dep (line 25) | struct dep
  type variable (line 26) | struct variable
  type variable_set_list (line 27) | struct variable_set_list
  type file (line 29) | struct file
  type file (line 120) | struct file
  type file (line 123) | struct file
  type file (line 124) | struct file
  type dep (line 125) | struct dep
  type dep (line 126) | struct dep
  type dep (line 126) | struct dep
  type file (line 127) | struct file
  type dep (line 128) | struct dep
  type variable (line 128) | struct variable
  type file (line 131) | struct file
  type file (line 132) | struct file
  type file (line 133) | struct file
  type cmd_state (line 133) | enum cmd_state
  type file (line 134) | struct file
  type file (line 140) | struct file
  type file (line 194) | struct file

FILE: src/function.c
  type function_table_entry (line 27) | struct function_table_entry
  function function_table_entry_hash_1 (line 42) | static unsigned long
  function function_table_entry_hash_2 (line 49) | static unsigned long
  function function_table_entry_hash_cmp (line 56) | static int
  type hash_table (line 67) | struct hash_table
  type function_table_entry (line 267) | struct function_table_entry
  type function_table_entry (line 270) | struct function_table_entry
  function pattern_matches (line 288) | int
  type nameseq (line 358) | struct nameseq
  type nameseq (line 376) | struct nameseq
  type variable (line 459) | struct variable
  type variable (line 497) | struct variable
  function else (line 557) | else if (is_notdir && p2[0] && p2[1] == ':')
  function parse_numeric (line 761) | static long long
  type variable (line 871) | struct variable
  type a_word (line 956) | struct a_word
  function a_word_hash_1 (line 964) | static unsigned long
  function a_word_hash_2 (line 970) | static unsigned long
  function a_word_hash_cmp (line 976) | static int
  type a_pattern (line 988) | struct a_pattern
  type a_word (line 998) | struct a_word
  type a_word (line 999) | struct a_word
  type a_word (line 1000) | struct a_word
  type a_pattern (line 1001) | struct a_pattern
  type a_pattern (line 1002) | struct a_pattern
  type a_pattern (line 1003) | struct a_pattern
  type hash_table (line 1006) | struct hash_table
  type a_word (line 1023) | struct a_word
  type a_pattern (line 1031) | struct a_pattern
  type a_word (line 1077) | struct a_word
  type a_word (line 1091) | struct a_word
  type variable (line 1561) | struct variable
  function fold_newlines (line 1573) | static void
  function shell_completed (line 1605) | void
  function windows32_openpipe (line 1631) | int
  function FILE (line 1754) | FILE *
  type childbase (line 1830) | struct childbase
  type stat (line 2183) | struct stat
  type function_table_entry (line 2395) | struct function_table_entry
  type function_table_entry (line 2447) | struct function_table_entry
  function handle_function (line 2492) | int
  type function_table_entry (line 2620) | struct function_table_entry
  type variable (line 2621) | struct variable
  function define_new_function (line 2696) | void
  function hash_init_function_table (line 2737) | void

FILE: src/getopt.c
  function store_args_and_env (line 259) | static void __attribute__ ((unused))
  function exchange (line 295) | static void
  function _getopt_internal (line 502) | int
  function getopt (line 952) | int
  function main (line 968) | int

FILE: src/getopt.h
  type option (line 78) | struct option
  type option (line 108) | struct option
  type option (line 111) | struct option
  type option (line 116) | struct option

FILE: src/getopt1.c
  function getopt_long (line 64) | int
  function getopt_long_only (line 76) | int
  function main (line 90) | int

FILE: src/gnumake.h
  type gmk_floc (line 24) | typedef struct

FILE: src/guile.c
  function SCM (line 51) | static SCM
  function SCM (line 69) | static SCM
  function guile_define_module (line 81) | static void
  function guile_gmake_setup (line 142) | int
  function guile_gmake_setup (line 153) | int

FILE: src/hash.c
  type hash_table (line 26) | struct hash_table
  function hash_init (line 41) | void
  function hash_load (line 67) | void
  type hash_table (line 85) | struct hash_table
  type hash_table (line 120) | struct hash_table
  type hash_table (line 127) | struct hash_table
  type hash_table (line 136) | struct hash_table
  type hash_table (line 157) | struct hash_table
  type hash_table (line 164) | struct hash_table
  function hash_free_items (line 177) | void
  function hash_delete_items (line 193) | void
  function hash_free (line 207) | void
  function hash_map (line 222) | void
  function hash_map_arg (line 235) | void
  function hash_rehash (line 250) | static void
  function hash_print_stats (line 277) | void
  type hash_table (line 293) | struct hash_table
  function round_up_2 (line 315) | static unsigned long
  function jhash (line 368) | unsigned int
  function jhash_string (line 463) | unsigned int

FILE: src/hash.h
  type hash_table (line 41) | struct hash_table
  type hash_table (line 58) | struct hash_table
  type hash_table (line 60) | struct hash_table
  type hash_table (line 62) | struct hash_table
  type hash_table (line 63) | struct hash_table
  type hash_table (line 64) | struct hash_table
  type hash_table (line 65) | struct hash_table
  type hash_table (line 66) | struct hash_table
  type hash_table (line 67) | struct hash_table
  type hash_table (line 68) | struct hash_table
  type hash_table (line 69) | struct hash_table
  type hash_table (line 70) | struct hash_table
  type hash_table (line 71) | struct hash_table
  type hash_table (line 72) | struct hash_table
  type hash_table (line 73) | struct hash_table
  type hash_table (line 74) | struct hash_table

FILE: src/implicit.c
  type file (line 28) | struct file
  function try_implicit_rule (line 38) | int
  type patdeps (line 130) | struct patdeps
  type tryrule (line 144) | struct tryrule
  function stemlen_compare (line 161) | int
  function pattern_search (line 184) | static int

FILE: src/job.c
  type child (line 215) | struct child
  type child (line 216) | struct child
  type child (line 218) | struct child
  type child (line 219) | struct child
  type child (line 223) | struct child
  type child (line 235) | struct child
  function w32_kill (line 254) | int
  function _is_unixy_shell (line 374) | int
  function is_bourne_compatible_shell (line 419) | int
  function block_sigs (line 461) | static void
  function unblock_sigs (line 467) | static void
  function unblock_all_sigs (line 473) | void
  function block_sigs (line 485) | static void
  function unblock_sigs (line 491) | static void
  function unblock_all_sigs (line 497) | void
  function unblock_all_sigs (line 508) | void
  function child_error (line 519) | static void
  function child_handler (line 597) | void
  function reap_children (line 619) | void
  function free_childbase (line 1093) | void
  function free_child (line 1107) | static void
  type child (line 1153) | struct child
  type childbase (line 1447) | struct childbase
  type childbase (line 1453) | struct childbase
  function start_waiting_job (line 1583) | static int
  function new_job (line 1652) | void
  function job_next_command (line 1960) | static int
  function load_too_high (line 2037) | static int
  function start_waiting_jobs (line 2166) | void
  function pid_t (line 2195) | pid_t
  function pid_t (line 2296) | pid_t
  function pid_t (line 2496) | pid_t
  function else (line 2863) | else if (strcmp (shell, default_shell))
  function else (line 2877) | else if (strcasecmp (shell, default_shell))
  function else (line 3003) | else
  function else (line 3460) | else if (unixy_shell && strneq (p, "...", 3))
  function else (line 3537) | else if (!unixy_shell)
  type file (line 3645) | struct file
  type variable (line 3654) | struct variable
  type warning_action (line 3656) | enum warning_action
  function dup2 (line 3742) | int

FILE: src/job.h
  type childbase (line 38) | struct childbase
  type child (line 43) | struct child
  type child (line 68) | struct child
  type file (line 73) | struct file
  type childbase (line 76) | struct childbase
  type file (line 78) | struct file
  type childbase (line 81) | struct childbase

FILE: src/load.c
  type load_list (line 42) | struct load_list
  type load_list (line 50) | struct load_list
  function setup_func_t (line 52) | static setup_func_t
  function load_file (line 168) | int
  function unload_file (line 239) | int
  function unload_all (line 273) | void
  function load_file (line 293) | int
  function unload_file (line 303) | int
  function unload_all (line 309) | void

FILE: src/loadapi.c
  function gmk_free (line 31) | void
  function gmk_eval (line 39) | void
  function gmk_add_function (line 77) | void

FILE: src/main.c
  function get_vms_env_flag (line 45) | static int
  type variable_origin (line 101) | enum variable_origin
  type variable_origin (line 103) | enum variable_origin
  type stringlist (line 116) | struct stringlist
  type variable_origin (line 134) | enum variable_origin
  type stringlist (line 152) | struct stringlist
  type variable_origin (line 200) | enum variable_origin
  type variable_origin (line 208) | enum variable_origin
  type stringlist (line 216) | struct stringlist
  type rlimit (line 221) | struct rlimit
  type stringlist (line 264) | struct stringlist
  type stringlist (line 268) | struct stringlist
  type stringlist (line 272) | struct stringlist
  type stringlist (line 276) | struct stringlist
  type stringlist (line 279) | struct stringlist
  type stringlist (line 287) | struct stringlist
  type variable (line 306) | struct variable
  type command_switch (line 420) | struct command_switch
  type command_switch (line 459) | struct command_switch
  type option (line 523) | struct option
  type goaldep (line 538) | struct goaldep
  type command_variable (line 543) | struct command_variable
  type command_variable (line 548) | struct command_variable
  type variable (line 572) | struct variable
  type file (line 578) | struct file
  type output (line 622) | struct output
  function bsd_signal_ret_t (line 639) | static bsd_signal_ret_t
  function initialize_global_hash_tables (line 654) | static void
  function initialize_stopchar_map (line 667) | static void
  function close_stdout (line 741) | static void
  function debug_signal_handler (line 800) | static void
  function decode_debug_flags (line 807) | static void
  function decode_output_sync_flags (line 878) | static void
  function print_usage (line 906) | static void NORETURN
  function LONG (line 947) | LONG WINAPI
  function find_and_set_default_shell (line 1021) | int
  function msdos_return_to_initial_directory (line 1144) | static void
  function reset_jobserver (line 1152) | static void
  function temp_stdin_unlink (line 1160) | void
  function main (line 1185) | int
  type option (line 2917) | struct option
  function init_switches (line 2920) | static void
  function handle_non_switch_argument (line 2981) | static unsigned int
  function reset_makeflags (line 3091) | void
  function decode_switches (line 3105) | static void
  function decode_env_switches (line 3396) | static void
  function disable_builtins (line 3482) | static
  type variable (line 3513) | struct variable
  type command_switch (line 3519) | struct command_switch
  type variable (line 3520) | struct variable
  type stringlist (line 3632) | struct stringlist
  type stringlist (line 3632) | struct stringlist
  function should_print_dir (line 3712) | int
  function print_version (line 3725) | static void
  function print_data_base (line 3767) | static void
  function clean_jobserver (line 3789) | static void
  function die (line 3828) | void

FILE: src/makeint.h
  type mode_t (line 314) | typedef int mode_t;
  type rlimit (line 497) | struct rlimit
  type file (line 537) | struct file
  type floc (line 540) | typedef struct
  type variable_origin (line 574) | enum variable_origin
  type variable (line 575) | struct variable
  type variable_origin (line 577) | enum variable_origin
  type variable (line 578) | struct variable
  type intmax_t (line 622) | typedef intmax_t (*ar_member_func_t) (int desc, const char *mem, int tru...
  type file (line 674) | struct file

FILE: src/misc.c
  function make_toui (line 42) | unsigned int
  function make_seed (line 86) | void
  function make_rand (line 92) | unsigned int
  function alpha_compare (line 111) | int
  function collapse_continuations (line 126) | void
  function print_spaces (line 208) | void
  function pid_t (line 267) | pid_t make_pid ()
  function writebuf (line 487) | ssize_t
  function readbuf (line 509) | ssize_t
  type dep (line 533) | struct dep
  type dep (line 534) | struct dep
  type dep (line 536) | struct dep
  type dep (line 540) | struct dep
  type dep (line 541) | struct dep
  type dep (line 553) | struct dep
  type dep (line 554) | struct dep
  type dep (line 556) | struct dep
  type dep (line 557) | struct dep
  type dep (line 561) | struct dep
  function free_ns_chain (line 577) | void
  function spin (line 591) | void
  function dbg (line 612) | void
  function mode_t (line 643) | mode_t
  type stat (line 675) | struct stat
  function get_tmpfd (line 755) | int
  function FILE (line 817) | FILE *
  function strcasecmp (line 902) | int
  function strncasecmp (line 927) | int
  function get_path_max (line 952) | unsigned int

FILE: src/output.c
  type output (line 43) | struct output
  function _outputs (line 51) | static void
  function log_working_directory (line 77) | static int
  function pump_from_tmp (line 149) | static void
  function output_tmpfd (line 190) | int
  function setup_tmpfile (line 202) | static void
  function output_dump (line 265) | void
  function output_init (line 324) | void
  function output_close (line 340) | void
  function output_start (line 365) | void
  function outputs (line 382) | void
  type fmtstring (line 394) | struct fmtstring
  function message (line 417) | void
  function error (line 448) | void
  function fatal (line 480) | void
  function perror_with_name (line 538) | void
  function pfatal_with_name (line 547) | void
  function out_of_memory (line 560) | void

FILE: src/output.h
  type output (line 17) | struct output
  type output (line 24) | struct output
  type output (line 43) | struct output
  type output (line 44) | struct output
  type output (line 57) | struct output

FILE: src/posixos.c
  function check_io_state (line 46) | unsigned int
  type js_type (line 97) | enum js_type
  type js_type (line 104) | enum js_type
  function make_job_rfd (line 109) | static int
  function set_blocking (line 124) | static void
  function jobserver_setup (line 145) | unsigned int
  function jobserver_parse_auth (line 226) | unsigned int
  function jobserver_enabled (line 332) | unsigned int
  function jobserver_clear (line 338) | void
  function jobserver_release (line 368) | void
  function jobserver_acquire_all (line 381) | unsigned int
  function jobserver_pre_child (line 411) | void
  function jobserver_post_child (line 422) | void
  function jobserver_signal (line 432) | void
  function jobserver_pre_acquire (line 442) | void
  function jobserver_acquire (line 459) | unsigned int
  function job_noop (line 550) | static void
  function set_child_handler_action_flags (line 556) | static void
  function jobserver_acquire (line 606) | unsigned int
  function osync_enabled (line 651) | unsigned int
  function osync_setup (line 657) | void
  function osync_parse_mutex (line 680) | unsigned int
  function osync_clear (line 702) | void
  function osync_acquire (line 721) | unsigned int
  function osync_release (line 743) | void
  function get_bad_stdin (line 763) | int
  function fd_inherit (line 795) | void fd_inherit (int fd) {}
  function fd_noinherit (line 796) | void fd_noinherit (int fd) {}
  function fd_inherit (line 804) | void
  function fd_noinherit (line 817) | void
  function fd_set_append (line 834) | int
  function fd_reset_append (line 856) | void
  function os_anontmp (line 869) | int

FILE: src/read.c
  type passwd (line 25) | struct passwd
  type ebuffer (line 45) | struct ebuffer
  type vmodifiers (line 57) | struct vmodifiers
  type make_word_type (line 68) | enum make_word_type
  type conditionals (line 83) | struct conditionals
  type conditionals (line 93) | struct conditionals
  type conditionals (line 94) | struct conditionals
  type goaldep (line 130) | struct goaldep
  type goaldep (line 132) | struct goaldep
  type ebuffer (line 133) | struct ebuffer
  type ebuffer (line 135) | struct ebuffer
  type variable_origin (line 136) | enum variable_origin
  type ebuffer (line 137) | struct ebuffer
  type variable (line 138) | struct variable
  type variable_origin (line 138) | enum variable_origin
  type ebuffer (line 139) | struct ebuffer
  type nameseq (line 141) | struct nameseq
  type file (line 142) | struct file
  type nameseq (line 143) | struct nameseq
  type nameseq (line 149) | struct nameseq
  type variable_origin (line 150) | enum variable_origin
  type vmodifiers (line 151) | struct vmodifiers
  type make_word_type (line 153) | enum make_word_type
  type goaldep (line 168) | struct goaldep
  type goaldep (line 210) | struct goaldep
  type goaldep (line 253) | struct goaldep
  type conditionals (line 269) | struct conditionals
  type conditionals (line 270) | struct conditionals
  type conditionals (line 272) | struct conditionals
  function restore_conditionals (line 282) | static void
  type goaldep (line 293) | struct goaldep
  type goaldep (line 296) | struct goaldep
  type ebuffer (line 297) | struct ebuffer
  function eval_buffer (line 439) | void
  type vmodifiers (line 490) | struct vmodifiers
  type variable (line 505) | struct variable
  function eval (line 559) | static void
  function remove_comments (line 1343) | static void
  function do_undefine (line 1359) | static void
  type variable (line 1382) | struct variable
  type variable_origin (line 1383) | enum variable_origin
  type ebuffer (line 1383) | struct ebuffer
  type variable (line 1385) | struct variable
  type variable (line 1386) | struct variable
  function conditional_line (line 1505) | static int
  function record_target_var (line 1766) | static void
  function check_specials (line 1864) | static void
  function check_special_file (line 1960) | static void
  function record_files (line 1994) | static void
  function readstring (line 2557) | static long
  function readline (line 2600) | static long
  function get_next_mword (line 2725) | static enum make_word_type
  function construct_include_path (line 2855) | void
  type warning_action (line 2991) | enum warning_action
  type passwd (line 3012) | struct passwd
  type passwd (line 3029) | struct passwd
  type nameseq (line 3087) | struct nameseq
  type nameseq (line 3088) | struct nameseq
  type nameseq (line 3113) | struct nameseq
  type nameseq (line 3114) | struct nameseq
  type nameseq (line 3390) | struct nameseq

FILE: src/remake.c
  type goaldep (line 66) | struct goaldep
  type dep (line 67) | struct dep
  type dep (line 76) | struct dep
  type update_status (line 80) | enum update_status
  type file (line 80) | struct file
  type update_status (line 81) | enum update_status
  type file (line 81) | struct file
  type update_status (line 82) | enum update_status
  type file (line 82) | struct file
  type update_status (line 84) | enum update_status
  type file (line 84) | struct file
  type file (line 85) | struct file
  function check_also_make (line 90) | static void
  function update_goal_chain (line 117) | enum update_status
  function show_goal_error (line 325) | void
  function update_file (line 358) | static enum update_status
  function complain (line 423) | static void
  function update_file_1 (line 476) | static enum update_status
  function notice_finished_file (line 996) | void
  function check_dep (line 1145) | static enum update_status
  function touch_file (line 1287) | static enum update_status
  function remake_file (line 1350) | static void
  function FILE_TIMESTAMP (line 1397) | FILE_TIMESTAMP
  function FILE_TIMESTAMP (line 1610) | static FILE_TIMESTAMP

FILE: src/remote-cstms.c
  function remote_setup (line 49) | void
  function remote_cleanup (line 56) | void
  function start_remote_job_p (line 63) | int
  function start_remote_job (line 133) | int
  function remote_status (line 267) | int
  function block_remote_children (line 277) | void
  function unblock_remote_children (line 286) | void
  function remote_kill (line 293) | int

FILE: src/remote-stub.c
  function remote_setup (line 27) | void
  function remote_cleanup (line 34) | void
  function start_remote_job_p (line 41) | int
  function start_remote_job (line 54) | int
  function remote_status (line 68) | int
  function block_remote_children (line 79) | void
  function unblock_remote_children (line 88) | void
  function remote_kill (line 95) | int

FILE: src/rule.c
  type rule (line 28) | struct rule
  type rule (line 28) | struct rule
  type rule (line 32) | struct rule
  type rule (line 36) | struct rule
  type file (line 57) | struct file
  type rule (line 65) | struct rule
  type dep (line 73) | struct dep
  function snap_implicit_rules (line 122) | void
  function convert_suffix_rule (line 241) | static void
  function convert_to_pattern (line 293) | void
  function new_pattern_rule (line 399) | static int
  function install_pattern_rule (line 474) | void
  function freerule (line 517) | static void
  function create_pattern_rule (line 564) | void
  function print_rule (line 593) | static void                     /* Useful to call from gdb.  */
  function print_rule_data_base (line 603) | void

FILE: src/rule.h
  type rule (line 20) | struct rule
  type pspec (line 35) | struct pspec
  type rule (line 41) | struct rule
  type rule (line 42) | struct rule
  type file (line 49) | struct file
  type pspec (line 54) | struct pspec
  type dep (line 56) | struct dep
  type commands (line 57) | struct commands
  type rule (line 58) | struct rule

FILE: src/shuffle.c
  type shuffle_mode (line 30) | enum shuffle_mode
  type shuffle_mode (line 46) | enum shuffle_mode
  function shuffle_set_mode (line 61) | void
  function random_shuffle_array (line 103) | static void
  function reverse_shuffle_array (line 124) | static void
  function identity_shuffle_array (line 143) | static void
  function shuffle_deps (line 151) | static void
  function shuffle_file_deps_recursive (line 189) | static void
  function shuffle_deps_recursive (line 215) | void

FILE: src/shuffle.h
  type dep (line 17) | struct dep
  type goaldep (line 18) | struct goaldep
  type dep (line 22) | struct dep

FILE: src/signame.c
  type num_abbrev (line 49) | typedef struct
  function init_sig (line 62) | static void
  function signame_init (line 79) | static int

FILE: src/strcache.c
  type sc_buflen_t (line 28) | typedef unsigned short int sc_buflen_t;
  type strcache (line 30) | struct strcache {
  type strcache (line 47) | struct strcache
  type strcache (line 48) | struct strcache
  type strcache (line 59) | struct strcache
  type strcache (line 60) | struct strcache
  type strcache (line 62) | struct strcache
  type strcache (line 75) | struct strcache
  type strcache (line 93) | struct strcache
  type strcache (line 94) | struct strcache
  type hugestring (line 138) | struct hugestring {
  type hugestring (line 143) | struct hugestring
  type hugestring (line 148) | struct hugestring
  type hugestring (line 148) | struct hugestring
  function str_hash_1 (line 160) | static unsigned long
  function str_hash_2 (line 166) | static unsigned long
  function str_hash_cmp (line 172) | static int
  type hash_table (line 178) | struct hash_table
  function strcache_iscached (line 209) | int
  function strcache_init (line 256) | void
  function strcache_print_stats (line 265) | void

FILE: src/variable.c
  type pattern_var (line 43) | struct pattern_var
  type pattern_var (line 47) | struct pattern_var
  type pattern_var (line 56) | struct pattern_var
  type pattern_var (line 60) | struct pattern_var
  type pattern_var (line 60) | struct pattern_var
  type pattern_var (line 72) | struct pattern_var
  type pattern_var (line 106) | struct pattern_var
  type pattern_var (line 107) | struct pattern_var
  type pattern_var (line 110) | struct pattern_var
  function variable_hash_1 (line 145) | static unsigned long
  function variable_hash_2 (line 152) | static unsigned long
  function variable_hash_cmp (line 159) | static int
  type variable_set (line 180) | struct variable_set
  type variable_set_list (line 181) | struct variable_set_list
  type variable_set_list (line 183) | struct variable_set_list
  function check_valid_name (line 187) | static void
  function init_hash_global_variable_set (line 205) | void
  type variable (line 219) | struct variable
  type variable_origin (line 221) | enum variable_origin
  type variable_set (line 222) | struct variable_set
  type variable (line 225) | struct variable
  type variable (line 226) | struct variable
  type variable (line 227) | struct variable
  type variable (line 236) | struct variable
  type variable (line 247) | struct variable
  type variable (line 260) | struct variable
  type variable (line 296) | struct variable
  function free_variable_name_and_value (line 335) | static void
  function free_variable_set (line 343) | void
  function undefine_variable_in_set (line 352) | void
  type variable (line 404) | struct variable
  type variable (line 405) | struct variable
  type variable (line 439) | struct variable
  type variable (line 439) | struct variable
  type variable (line 440) | struct variable
  type variable (line 451) | struct variable
  function check_variable_reference (line 478) | static void
  type variable (line 501) | struct variable
  type variable_set_list (line 504) | struct variable_set_list
  type variable (line 505) | struct variable
  type variable_set (line 516) | struct variable_set
  type variable (line 517) | struct variable
  type hash_table (line 519) | struct hash_table
  type variable (line 588) | struct variable
  type file (line 589) | struct file
  type variable (line 591) | struct variable
  type variable_set_list (line 592) | struct variable_set_list
  type variable (line 611) | struct variable
  type variable_set (line 613) | struct variable_set
  type variable (line 615) | struct variable
  type hash_table (line 622) | struct hash_table
  function initialize_file_variables (line 634) | void
  type variable_set_list (line 736) | struct variable_set_list
  type variable_set_list (line 739) | struct variable_set_list
  type variable_set (line 740) | struct variable_set
  type variable_set (line 742) | struct variable_set
  type variable_set_list (line 746) | struct variable_set_list
  type variable_set_list (line 747) | struct variable_set_list
  type variable_set_list (line 761) | struct variable_set_list
  type variable_set (line 770) | struct variable_set
  function pop_variable_scope (line 780) | void
  function install_file_context (line 820) | void
  function restore_file_context (line 839) | void
  function merge_variable_sets (line 850) | static void
  function merge_variable_set_lists (line 881) | void
  function define_automatic_variables (line 930) | void
  function should_export (line 1083) | static int
  type file (line 1124) | struct file
  type variable_set_list (line 1126) | struct variable_set_list
  type variable_set_list (line 1127) | struct variable_set_list
  type hash_table (line 1128) | struct hash_table
  type variable (line 1129) | struct variable
  type variable (line 1130) | struct variable
  type variable_set (line 1163) | struct variable_set
  type variable (line 1167) | struct variable
  type variable (line 1172) | struct variable
  type variable (line 1173) | struct variable
  type variable (line 1178) | struct variable
  type variable (line 1197) | struct variable
  type variable (line 1202) | struct variable
  type variable (line 1321) | struct variable
  type variable (line 1322) | struct variable
  type variable_origin (line 1322) | enum variable_origin
  type variable (line 1368) | struct variable
  type variable_origin (line 1370) | enum variable_origin
  type variable_flavor (line 1370) | enum variable_flavor
  type variable_scope (line 1371) | enum variable_scope
  type variable (line 1375) | struct variable
  type variable (line 1582) | struct variable
  type variable (line 1710) | struct variable
  type variable (line 1839) | struct variable
  type variable (line 1840) | struct variable
  type variable (line 1872) | struct variable
  type variable_origin (line 1874) | enum variable_origin
  type variable_scope (line 1874) | enum variable_scope
  type variable (line 1876) | struct variable
  type variable (line 1877) | struct variable
  type defined_vars (line 1898) | struct defined_vars
  type defined_vars (line 1904) | struct defined_vars
  function warn_undefined (line 1920) | void
  function set_env_override (line 1936) | static void
  function reset_env_override (line 1947) | void
  function print_variable (line 1955) | static void
  function print_auto_variable (line 2026) | static void
  function print_noauto_variable (line 2035) | static void
  function print_variable_set (line 2047) | static void
  function print_variable_data_base (line 2061) | void
  function print_file_variables (line 2091) | void
  function print_target_variables (line 2098) | void
  function sync_Path_environment (line 2116) | void

FILE: src/variable.h
  type file (line 19) | struct file
  type variable_origin (line 23) | enum variable_origin
  type variable_flavor (line 35) | enum variable_flavor
  type variable_export (line 46) | enum variable_export
  type variable_scope (line 54) | enum variable_scope
  type variable (line 68) | struct variable
  type variable_set (line 98) | struct variable_set
  type variable_set_list (line 105) | struct variable_set_list
  type pattern_var (line 114) | struct pattern_var
  type variable_set_list (line 125) | struct variable_set_list
  type variable (line 126) | struct variable
  type variable (line 127) | struct variable
  type file (line 138) | struct file
  type file (line 139) | struct file
  type variable (line 142) | struct variable
  type file (line 142) | struct file
  type file (line 149) | struct file
  type variable_set_list (line 165) | struct variable_set_list
  type variable_set_list (line 166) | struct variable_set_list
  type variable_set_list (line 167) | struct variable_set_list
  type file (line 169) | struct file
  type variable_set_list (line 169) | struct variable_set_list
  type variable_set_list (line 170) | struct variable_set_list
  type file (line 172) | struct file
  type file (line 173) | struct file
  type file (line 174) | struct file
  type variable_set_list (line 175) | struct variable_set_list
  type variable_set_list (line 176) | struct variable_set_list
  type variable (line 177) | struct variable
  type variable_origin (line 179) | enum variable_origin
  type variable_flavor (line 180) | enum variable_flavor
  type variable_scope (line 182) | enum variable_scope
  type variable (line 184) | struct variable
  type variable (line 185) | struct variable
  type variable (line 185) | struct variable
  type variable (line 186) | struct variable
  type variable_origin (line 187) | enum variable_origin
  type variable_scope (line 188) | enum variable_scope
  type variable (line 195) | struct variable
  type variable (line 196) | struct variable
  type file (line 197) | struct file
  type variable (line 198) | struct variable
  type variable_set (line 199) | struct variable_set
  type variable (line 201) | struct variable
  type variable_origin (line 203) | enum variable_origin
  type variable_set (line 205) | struct variable_set
  type variable_origin (line 240) | enum variable_origin
  type variable_set (line 241) | struct variable_set
  type file (line 248) | struct file
  type pattern_var (line 250) | struct pattern_var

FILE: src/vms_exit.c
  function vms_exit (line 47) | void

FILE: src/vms_export_symbol.c
  type item_list_3 (line 40) | struct item_list_3
  type dsc$descriptor_s (line 52) | struct dsc$descriptor_s
  type dsc$descriptor_s (line 53) | struct dsc$descriptor_s
  type dsc$descriptor_s (line 58) | struct dsc$descriptor_s
  type dsc$descriptor_s (line 59) | struct dsc$descriptor_s
  type dsc$descriptor_s (line 63) | struct dsc$descriptor_s
  type dcl_symbol (line 73) | struct dcl_symbol
  type dcl_symbol (line 83) | struct dcl_symbol
  function clear_dcl_symbol (line 86) | static unsigned long
  function clear_exported_symbols (line 103) | static void
  function vms_restore_symbol (line 127) | void
  function vms_export_dcl_symbol (line 172) | int
  function vms_putenv_symbol (line 305) | int
  function to_vms_action (line 353) | static int
  function create_foreign_command (line 368) | int
  function main (line 404) | int

FILE: src/vms_progname.c
  type item_list_3 (line 80) | struct item_list_3
  type filescan_itmlst_2 (line 88) | struct filescan_itmlst_2
  type dsc$descriptor_s (line 100) | struct dsc$descriptor_s
  type item_list_3 (line 101) | struct item_list_3
  type dsc$descriptor_s (line 108) | struct dsc$descriptor_s
  type filescan_itmlst_2 (line 109) | struct filescan_itmlst_2
  type dsc$descriptor_s (line 111) | struct dsc$descriptor_s
  function need_vms_symbol (line 123) | int
  function set_program_name (line 130) | void
  function main (line 451) | int

FILE: src/vmsdir.h
  type u_long (line 26) | typedef unsigned long u_long;
  type u_short (line 27) | typedef unsigned short u_short;
  type direct (line 31) | struct direct
  type DIR (line 54) | typedef struct DIR
  type direct (line 72) | struct direct

FILE: src/vmsfunctions.c
  function DIR (line 33) | DIR *
  type direct (line 74) | struct direct
  type FAB (line 77) | struct FAB
  type NAM (line 78) | struct NAM
  type NAM (line 78) | struct NAM
  type direct (line 79) | struct direct
  type direct (line 101) | struct direct
  function closedir (line 113) | int
  type FAB (line 164) | struct FAB
  type NAML (line 170) | struct NAML
  type NAM (line 173) | struct NAM

FILE: src/vmsify.c
  function copyto (line 66) | static int
  type dsc$descriptor_s (line 121) | struct dsc$descriptor_s
  type namestate (line 168) | enum namestate { N_START, N_DEVICE, N_OPEN, N_DOT, N_CLOSED, N_DONE }
  type namestate (line 227) | enum namestate

FILE: src/vmsjobs.c
  type auto_pipe (line 49) | enum auto_pipe { nopipe, add_pipe, dcl_pipe }
  function _is_unixy_shell (line 56) | int
  function vmsWaitForChildren (line 84) | static void
  function vmsHandleChildTerm (line 106) | static int
  function reEnableAst (line 184) | static void
  function astYHandler (line 190) | static int
  function tryToSetupYAst (line 202) | static void
  type token_info (line 280) | struct token_info
  type token_info (line 292) | struct token_info
  type token_info (line 332) | struct token_info
  type token_info (line 399) | struct token_info
  type token_info (line 496) | struct token_info
  type token_info (line 529) | struct token_info
  type token_info (line 595) | struct token_info
  type dsc$descriptor_s (line 615) | struct dsc$descriptor_s
  type auto_pipe (line 617) | enum auto_pipe
  type dsc$descriptor_s (line 620) | struct dsc$descriptor_s
  type dsc$descriptor_s (line 627) | struct dsc$descriptor_s
  function pid_t (line 807) | pid_t

FILE: src/vpath.c
  type vpath (line 27) | struct vpath
  type vpath (line 39) | struct vpath
  type vpath (line 43) | struct vpath
  type vpath (line 47) | struct vpath
  function build_vpath_lists (line 54) | void
  type vpath (line 157) | struct vpath
  type vpath (line 163) | struct vpath
  type vpath (line 258) | struct vpath
  type vpath (line 269) | struct vpath
  function gpath_search (line 289) | int
  type vpath (line 311) | struct vpath
  type file (line 328) | struct file
  type file (line 427) | struct file
  type stat (line 470) | struct stat
  type vpath (line 529) | struct vpath
  function print_vpath_data_base (line 578) | void

FILE: src/w32/compat/dirent.c
  function DIR (line 27) | DIR*
  function closedir (line 84) | void
  type dirent (line 108) | struct dirent
  function rewinddir (line 148) | void
  function seekdir (line 174) | void

FILE: src/w32/compat/posixfcn.c
  function dlclose (line 109) | int
  function isatty (line 126) | int

FILE: src/w32/include/dirent.h
  type dirent (line 61) | struct dirent
  type DIR (line 68) | typedef struct dir_struct
  type dirent (line 78) | struct dirent

FILE: src/w32/subproc/misc.c
  function compare (line 34) | int _cdecl compare(const void *a1, const void *a2)
  function bool_t (line 38) | bool_t

FILE: src/w32/subproc/proc.h
  type bool_t (line 20) | typedef int bool_t;

FILE: src/w32/subproc/sub_proc.c
  type sub_process (line 49) | typedef struct sub_process_t {
  function DWORD (line 79) | DWORD process_wait_for_multiple_objects(
  function DWORD (line 138) | DWORD
  function process_adjust_wait_state (line 160) | static void
  function sub_process (line 184) | static sub_process *
  function BOOL (line 230) | BOOL
  function BOOL (line 241) | BOOL
  function process_table_usable_size (line 253) | int
  function process_table_actual_size (line 263) | int
  function process_register (line 275) | void
  function HANDLE (line 304) | HANDLE
  function process_signal (line 321) | long
  function process_last_err (line 328) | long
  function process_exit_code (line 335) | long
  function HANDLE (line 383) | HANDLE
  function HANDLE (line 454) | HANDLE
  function HANDLE (line 478) | static HANDLE
  function batch_file_with_spaces (line 534) | static int
  function process_begin (line 557) | long
  function DWORD (line 826) | static DWORD
  function DWORD (line 846) | static DWORD
  function DWORD (line 878) | static DWORD
  function process_pipe_io (line 919) | long
  function process_file_io (line 1081) | long
  function process_cleanup (line 1156) | void
  function HANDLE (line 1435) | HANDLE

FILE: src/w32/w32os.c
  function check_io_state (line 34) | unsigned int
  function os_anontmp (line 116) | int
  function jobserver_setup (line 214) | unsigned int
  function jobserver_parse_auth (line 247) | unsigned int
  function jobserver_enabled (line 283) | unsigned int
  function jobserver_clear (line 290) | void
  function jobserver_release (line 300) | void
  function jobserver_acquire_all (line 319) | unsigned int
  function jobserver_signal (line 336) | void
  function jobserver_pre_child (line 341) | void jobserver_pre_child (int recursive UNUSED)
  function jobserver_post_child (line 345) | void jobserver_post_child (int recursive UNUSED)
  function jobserver_pre_acquire (line 349) | void
  function jobserver_acquire (line 356) | unsigned int
  function osync_enabled (line 401) | unsigned int
  function osync_setup (line 407) | void
  function osync_parse_mutex (line 443) | unsigned int
  function osync_clear (line 462) | void
  function osync_acquire (line 472) | unsigned int
  function osync_release (line 485) | void
  function fd_inherit (line 497) | void
  function fd_noinherit (line 506) | void
  function fd_set_append (line 515) | int
  function fd_reset_append (line 521) | void
  function HANDLE (line 525) | HANDLE

FILE: src/warning.c
  type warning_action (line 22) | enum warning_action
  type warning_data (line 25) | struct warning_data
  type warning_data (line 28) | struct warning_data
  type warning_data (line 31) | struct warning_data
  function set_warnings (line 46) | static void set_warnings ()
  function warn_init (line 58) | void
  function init_data (line 75) | static void
  function decode_warn_action (line 83) | static enum warning_action
  function decode_warn_name (line 96) | static enum warning_type
  function decode_warn_actions (line 109) | void
  type warning_type (line 187) | enum warning_type
  type warning_action (line 216) | enum warning_action
  function warn_get_vardata (line 230) | void
  function warn_set_vardata (line 236) | void

FILE: src/warning.h
  type warning_type (line 19) | enum warning_type
  type warning_action (line 29) | enum warning_action
  type warning_data (line 37) | struct warning_data
  type warning_action (line 44) | enum warning_action
  type warning_data (line 69) | struct warning_data
  type warning_data (line 70) | struct warning_data
Condensed preview — 295 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (3,727K chars).
[
  {
    "path": ".ccls",
    "chars": 462,
    "preview": "clang\n%h --include=makeint.h\n-DHAVE_CONFIG_H\n-Isrc\n-Ilib\n-DLIBDIR=\"/usr/local/lib\"\n-DLOCALEDIR=\"/usr/local/share/locale\""
  },
  {
    "path": ".clangd",
    "chars": 616,
    "preview": "CompileFlags:\n  Add: [-xc, -DHAVE_CONFIG_H, -DMAKE_MAINTAINER_MODE, -DLIBDIR=\"/usr/local/lib\", -DLOCALEDIR=\"/usr/local/s"
  },
  {
    "path": ".dir-locals.el",
    "chars": 812,
    "preview": "(\n (nil . ((bug-reference-bug-regexp . \"\\\\(\\\\bSV[- ]\\\\([0-9]+\\\\)\\\\)\")\n         (bug-reference-url-format . \"https://sava"
  },
  {
    "path": ".gitignore",
    "chars": 729,
    "preview": "# Development artifacts\nID\nTAGS\nGPATH\nGRTAGS\nGTAGS\n.*cache\n.*gdbinit\n.gdb_history\n.vscode\n*~\n#*\n.#*\n*.diff\n*.patch\n*.ori"
  },
  {
    "path": "AUTHORS",
    "chars": 4570,
    "preview": "-----------------------------------\n\nGNU Make development starting with GNU Make 3.76 by:\n    Paul D. Smith <psmith@gnu."
  },
  {
    "path": "Basic.mk.template",
    "chars": 3356,
    "preview": "# Basic GNU -*-Makefile-*- to build GNU Make\n#\n# NOTE:\n# If you have no 'make' program at all to process this makefile:\n"
  },
  {
    "path": "COPYING",
    "chars": 35151,
    "preview": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
  },
  {
    "path": "ChangeLog.1",
    "chars": 187026,
    "preview": "Tue Oct 29 20:57:36 1991  Roland McGrath  (roland@churchy.gnu.ai.mit.edu)\n\n\t* Version 3.62.\n\n\t* remake.c (update_file_1)"
  },
  {
    "path": "ChangeLog.2",
    "chars": 250793,
    "preview": "2000-06-22  Paul D. Smith  <psmith@gnu.org>\n\n\t* job.c (start_job_command): Increment commands_started before the\n\tspecia"
  },
  {
    "path": "ChangeLog.3",
    "chars": 214829,
    "preview": "2013-10-09  Paul Smith  <psmith@gnu.org>\n\n\tVersion 4.0 released.\n\n\t* configure.ac: Updated for the release.\n\t* NEWS: Upd"
  },
  {
    "path": "Makefile.am",
    "chars": 7386,
    "preview": "# This is a -*-Makefile-*-, or close enough\n#\n# Copyright (C) 1997-2024 Free Software Foundation, Inc.\n# This file is pa"
  },
  {
    "path": "NEWS",
    "chars": 90122,
    "preview": "GNU Make NEWS                                               -*-indented-text-*-\n  History of user-visible changes.\n  26 "
  },
  {
    "path": "README.DOS",
    "chars": 13738,
    "preview": "Port of GNU Make to 32-bit protected mode on MSDOS and MS-Windows.\n\nBuilds with DJGPP v2 port of GNU C/C++ compiler and "
  },
  {
    "path": "README.OS2",
    "chars": 6732,
    "preview": "Port of GNU Make to OS/2.\n\nFeatures of GNU Make that do not work under OS/2:\n  - remote job execution\n  - dynamic load b"
  },
  {
    "path": "README.VMS",
    "chars": 21219,
    "preview": "Overview:                                                       -*-text-mode-*-\n---------\n\n  This version of GNU Make ha"
  },
  {
    "path": "README.W32",
    "chars": 15547,
    "preview": "This version of GNU Make has been tested on:\n  Microsoft Windows 2000/XP/2003/Vista/7/8/10/11\nIt has also been used on W"
  },
  {
    "path": "README.customs",
    "chars": 4496,
    "preview": "                                                            -*-indented-text-*-\n\nGNU Make can utilize the Customs librar"
  },
  {
    "path": "README.git",
    "chars": 14562,
    "preview": "                                                                     -*-text-*-\n\n---------------------------------------"
  },
  {
    "path": "README.in",
    "chars": 8371,
    "preview": "This directory contains the @PACKAGE_VERSION@ release of @PACKAGE_NAME@.\n\nSee the file NEWS for the user-visible changes"
  },
  {
    "path": "README.zOS",
    "chars": 2671,
    "preview": "                                                                     -*-text-*-\nGNU Make has been ported to z/OS, tested"
  },
  {
    "path": "TODO.private",
    "chars": 5622,
    "preview": "                                                            -*-Indented-Text-*-\nGNU Make TODO List\n------------------\n\nT"
  },
  {
    "path": "autogen.sh",
    "chars": 1650,
    "preview": "#!/bin/sh\n# Convenience script for regenerating all autogeneratable files that are\n# omitted from the version control re"
  },
  {
    "path": "autopull.sh",
    "chars": 1506,
    "preview": "#!/bin/sh\n# Convenience script for fetching auxiliary files that are omitted from\n# the version control repository of th"
  },
  {
    "path": "bootstrap",
    "chars": 8272,
    "preview": "#! /bin/sh\n# Bootstrap this package from checked-out sources.\n\nscriptversion=2022-12-27.07; # UTC\n\n# Copyright (C) 2003-"
  },
  {
    "path": "bootstrap-funclib.sh",
    "chars": 43401,
    "preview": "# A library of shell functions for autopull.sh, autogen.sh, and bootstrap.\n\nscriptlibversion=2022-12-27.16; # UTC\n\n# Cop"
  },
  {
    "path": "bootstrap.bat",
    "chars": 3946,
    "preview": "@echo off\n:: Copyright (C) 2018-2024 Free Software Foundation, Inc.\n:: This file is part of GNU Make.\n::\n:: GNU Make is "
  },
  {
    "path": "bootstrap.conf",
    "chars": 2043,
    "preview": "# Bootstrap configuration.                                   -*-shell-script-*-\n\n# Copyright (C) 2018-2024 Free Software"
  },
  {
    "path": "build.cfg.in",
    "chars": 1217,
    "preview": "# Configuration for building GNU Make in the absence of any 'make' program.\n# @configure_input@\n\n# Copyright (C) 1993-20"
  },
  {
    "path": "build.sh",
    "chars": 5333,
    "preview": "#!/bin/sh\n# Shell script to build GNU Make in the absence of any 'make' program.\n\n# Copyright (C) 1993-2024 Free Softwar"
  },
  {
    "path": "build_w32.bat",
    "chars": 13425,
    "preview": "@echo off\r\n:: Copyright (C) 1996-2024 Free Software Foundation, Inc.\r\n:: This file is part of GNU Make.\r\n::\r\n:: GNU Make"
  },
  {
    "path": "builddos.bat",
    "chars": 5697,
    "preview": "@echo off\r\nrem Copyright (C) 1998-2024 Free Software Foundation, Inc.\r\nrem This file is part of GNU Make.\r\nrem\r\nrem GNU "
  },
  {
    "path": "configure.ac",
    "chars": 19743,
    "preview": "# Process this file with autoconf to produce a configure script.\n#\n# Copyright (C) 1993-2024 Free Software Foundation, I"
  },
  {
    "path": "doc/.gitignore",
    "chars": 233,
    "preview": "manual/\nmake.t2d/\nmake.t2p/\ngendocs_template\nfdl.texi\nmake-stds.texi\nstamp-vti\nversion.texi\nmake.info*\nmake*.html\nmake.a"
  },
  {
    "path": "doc/Makefile.am",
    "chars": 901,
    "preview": "# -*-Makefile-*-, or close enough\n# Copyright (C) 2000-2024 Free Software Foundation, Inc.\n# This file is part of GNU Ma"
  },
  {
    "path": "doc/make.1",
    "chars": 13122,
    "preview": ".TH MAKE 1 \"26 May 2023\" \"GNU\" \"User Commands\"\n.SH NAME\nmake \\- GNU Make utility to maintain groups of programs\n.SH SYNO"
  },
  {
    "path": "doc/make.texi",
    "chars": 552069,
    "preview": "\\input texinfo                @c -*- Texinfo -*-\n@c %**start of header\n@setfilename make.info\n\n@include version.texi\n@se"
  },
  {
    "path": "gl/.gitignore",
    "chars": 58,
    "preview": "*~\n#*\n.#*\n.*cache\n*.diff\n*.patch\n*.orig\n*.rej\n*.out\n*.log\n"
  },
  {
    "path": "gl/lib/fnmatch.c",
    "chars": 12218,
    "preview": "/* Copyright (C) 1991, 1992, 1993, 1996, 1997, 1998, 1999, 2023 Free Software\nFoundation, Inc.\nThis file is part of the "
  },
  {
    "path": "gl/lib/fnmatch.in.h",
    "chars": 2308,
    "preview": "/* Copyright (C) 1991, 1992, 1993, 1996, 1997, 1998, 1999, 2023 Free Software\nFoundation, Inc.\nThis file is part of the "
  },
  {
    "path": "gl/lib/glob.c",
    "chars": 33282,
    "preview": "/* Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,\n2023 Free Software Foundation, Inc.\n\nThis library"
  },
  {
    "path": "gl/lib/glob.in.h",
    "chars": 5985,
    "preview": "/* Copyright (C) 1991, 1992, 1995, 1996, 1997, 1998, 2023 Free Software\nFoundation, Inc.\n\nThe GNU C Library is free soft"
  },
  {
    "path": "gl/m4/acinclude.m4",
    "chars": 5106,
    "preview": "dnl acinclude.m4 -- Extra macros needed for GNU Make.\ndnl\ndnl Automake will incorporate this into its generated aclocal."
  },
  {
    "path": "gl/m4/dospaths.m4",
    "chars": 1422,
    "preview": "# Test if the system uses DOS-style pathnames (drive specs and backslashes)\n# By Paul Smith <psmith@gnu.org>.  Based on "
  },
  {
    "path": "gl/m4/getloadavg.m4",
    "chars": 7332,
    "preview": "# Check for getloadavg.\n\n# Copyright (C) 1992-1996, 1999-2000, 2002-2003, 2006, 2008-2024 Free\n# Software Foundation, In"
  },
  {
    "path": "gl/modules/concat-filename",
    "chars": 310,
    "preview": "Description:\nConstruct a full filename by concatenating a directory name, a relative\nfilename, and a suffix.\n\nFiles:\nlib"
  },
  {
    "path": "gl/modules/findprog-in",
    "chars": 310,
    "preview": "Description:\nLocating a program in a given path.\n\nFiles:\nlib/findprog.h\nlib/findprog-in.c\nm4/findprog-in.m4\nm4/eaccess.m"
  },
  {
    "path": "gl/modules/getloadavg",
    "chars": 655,
    "preview": "Description:\nReturn the current system load averages.\n\nFiles:\nlib/getloadavg.c\nm4/getloadavg.m4\n\nDepends-on:\nsnippet/war"
  },
  {
    "path": "gl/modules/make-glob",
    "chars": 2963,
    "preview": "Description:\nGNU Make version of fnmatch()/glob() functions.  This is a holdover from\na very old version of the globbing"
  },
  {
    "path": "gl/modules/make-macros",
    "chars": 187,
    "preview": "Description:\nInstall m4 macros for GNU Make.\n\nFiles:\nm4/acinclude.m4\nm4/dospaths.m4\n\nconfigure.ac:\n# Check for DOS-style"
  },
  {
    "path": "maintMakefile",
    "chars": 17646,
    "preview": "# Maintainer-only makefile segment.  This contains things that are relevant\n# only if you have the full copy of the GNU "
  },
  {
    "path": "make-gdb.py",
    "chars": 8319,
    "preview": "\"\"\"GDB pretty-printer macros for GNU Make.\"\"\"\n\nimport gdb  # pylint: disable=import-error\nimport gdb.printing  # pylint:"
  },
  {
    "path": "makefile.com",
    "chars": 5330,
    "preview": "$!\n$! Makefile.com - builds GNU Make for VMS\n$!\n$! P1 = LIST will provide compiler listings.\n$! P2 = DEBUG will build an"
  },
  {
    "path": "mk/Posix.mk.in",
    "chars": 1088,
    "preview": "# GNU -*-Makefile-*- to build GNU Make on POSIX systems\n#\n# POSIX overrides for use with Basic.mk.\n#\n# Copyright (C) 201"
  },
  {
    "path": "mk/VMS.mk",
    "chars": 2466,
    "preview": "# GNU -*-Makefile-*- to build GNU Make on VMS\n#\n# VMS overrides for use with Basic.mk.\n#\n# Copyright (C) 2017-2024 Free "
  },
  {
    "path": "mk/Windows32.mk",
    "chars": 4000,
    "preview": "# GNU -*-Makefile-*- to build GNU Make on Windows\n#\n# Windows overrides for use with Basic.mk.\n#\n# Copyright (C) 2017-20"
  },
  {
    "path": "mk/msdosdjgpp.mk",
    "chars": 1435,
    "preview": "# GNU -*-Makefile-*- to build GNU Make on MS-DOS with DJGPP\n#\n# MS-DOS overrides for use with Basic.mk.\n#\n# Copyright (C"
  },
  {
    "path": "po/.gitignore",
    "chars": 36,
    "preview": "*\n!.gitignore\n!LINGUAS\n!POTFILES.in\n"
  },
  {
    "path": "po/LINGUAS",
    "chars": 102,
    "preview": "be\nbg\ncs\nda\nde\nes\nfi\nfr\nga\ngl\nhe\nhr\nid\nit\nja\nka\nko\nlt\nnl\npl\npt\npt_BR\nro\nru\nsr\nsv\ntr\nuk\nvi\nzh_CN\nzh_TW\n"
  },
  {
    "path": "po/POTFILES.in",
    "chars": 1184,
    "preview": "# List of source files containing translatable strings.\n# Copyright (C) 2000-2024 Free Software Foundation, Inc.\n# This "
  },
  {
    "path": "prepare_vms.com",
    "chars": 2200,
    "preview": "$!\n$! prepare_vms.com  - Build config.h-vms from master on VMS.\n$!\n$! This is used for building off the master instead o"
  },
  {
    "path": "scripts/copyright-update",
    "chars": 1904,
    "preview": "#!/bin/sh\n#\n# Copyright (C) 2014-2024 Free Software Foundation, Inc.\n# This file is part of GNU Make.\n#\n# Update GNU Mak"
  },
  {
    "path": "src/ar.c",
    "chars": 8696,
    "preview": "/* Interface to 'ar' archives for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\n\nThis file is part of"
  },
  {
    "path": "src/arscan.c",
    "chars": 29356,
    "preview": "/* Library function for scanning an archive file.\nCopyright (C) 1987-2024 Free Software Foundation, Inc.\nThis file is pa"
  },
  {
    "path": "src/commands.c",
    "chars": 18910,
    "preview": "/* Command processing for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis file is part of GNU Make"
  },
  {
    "path": "src/commands.h",
    "chars": 1984,
    "preview": "/* Definition of data structures describing shell commands for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundatio"
  },
  {
    "path": "src/config.h-vms",
    "chars": 12675,
    "preview": "/* config.h-vms. Generated by hand by Klaus Kmpf <kkaempf@rmi.de>      -*-C-*-\n\nCopyright (C) 1996-2024 Free Software Fo"
  },
  {
    "path": "src/config.h.W32",
    "chars": 17821,
    "preview": "/* config.h.W32 -- hand-massaged config.h file for Windows builds       -*-C-*-\n\nCopyright (C) 1996-2024 Free Software F"
  },
  {
    "path": "src/configh.dos",
    "chars": 3297,
    "preview": "/* configh.dos -- hand-massaged config.h file for MS-DOS builds         -*-C-*-\n\nCopyright (C) 1994-2024 Free Software F"
  },
  {
    "path": "src/debug.h",
    "chars": 1607,
    "preview": "/* Debugging macros and interface.\nCopyright (C) 1999-2024 Free Software Foundation, Inc.\nThis file is part of GNU Make."
  },
  {
    "path": "src/default.c",
    "chars": 21614,
    "preview": "/* Data base of default implicit rules for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis file is"
  },
  {
    "path": "src/dep.h",
    "chars": 5259,
    "preview": "/* Definitions of dependency data structures for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis f"
  },
  {
    "path": "src/dir.c",
    "chars": 36067,
    "preview": "/* Directory hashing for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis file is part of GNU Make."
  },
  {
    "path": "src/expand.c",
    "chars": 22518,
    "preview": "/* Variable expansion functions for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis file is part o"
  },
  {
    "path": "src/file.c",
    "chars": 37932,
    "preview": "/* Target file management for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis file is part of GNU "
  },
  {
    "path": "src/filedef.h",
    "chars": 11013,
    "preview": "/* Definition of target file data structures for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis f"
  },
  {
    "path": "src/function.c",
    "chars": 71938,
    "preview": "/* Builtin function expansion for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis file is part of "
  },
  {
    "path": "src/getopt.c",
    "chars": 29835,
    "preview": "/* Getopt for GNU.\nNOTE: getopt is now part of the C library, so if you don't know what\n\"Keep this file name-space clean"
  },
  {
    "path": "src/getopt.h",
    "chars": 4473,
    "preview": "/* Declarations for getopt.\nCopyright (C) 1989-2024 Free Software Foundation, Inc.\n\nNOTE: The canonical source of this f"
  },
  {
    "path": "src/getopt1.c",
    "chars": 4300,
    "preview": "/* getopt_long and getopt_long_only entry points for GNU getopt.\nCopyright (C) 1987-1994, 1996-2024 Free Software Founda"
  },
  {
    "path": "src/gettext.h",
    "chars": 2520,
    "preview": "/* Convenience header for conditional use of GNU <libintl.h>.\nCopyright (C) 1995-2024 Free Software Foundation, Inc.\nThi"
  },
  {
    "path": "src/gmk-default.scm",
    "chars": 1774,
    "preview": ";; Contents of the (GNU Make) Guile module\n;; Copyright (C) 2011-2024 Free Software Foundation, Inc.\n;; This file is par"
  },
  {
    "path": "src/gnumake.h",
    "chars": 3575,
    "preview": "/* External interfaces usable by dynamic objects loaded into GNU Make.\n\nCopyright (C) 2013-2024 Free Software Foundation"
  },
  {
    "path": "src/guile.c",
    "chars": 4008,
    "preview": "/* GNU Guile interface for GNU Make.\nCopyright (C) 2011-2024 Free Software Foundation, Inc.\nThis file is part of GNU Mak"
  },
  {
    "path": "src/hash.c",
    "chars": 13717,
    "preview": "/* hash.c -- hash table maintenance\nCopyright (C) 1995, 1999, 2002, 2010 Free Software Foundation, Inc.\nWritten by Greg "
  },
  {
    "path": "src/hash.h",
    "chars": 8476,
    "preview": "/* hash.h -- decls for hash table\nCopyright (C) 1995, 1999, 2002, 2010 Free Software Foundation, Inc.\nWritten by Greg Mc"
  },
  {
    "path": "src/implicit.c",
    "chars": 41118,
    "preview": "/* Implicit rule searching for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis file is part of GNU"
  },
  {
    "path": "src/job.c",
    "chars": 115847,
    "preview": "/* Job execution and handling for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis file is part of "
  },
  {
    "path": "src/job.h",
    "chars": 3335,
    "preview": "/* Definitions for managing subprocesses in GNU Make.\nCopyright (C) 1992-2024 Free Software Foundation, Inc.\nThis file i"
  },
  {
    "path": "src/load.c",
    "chars": 7496,
    "preview": "/* Loading dynamic objects for GNU Make.\nCopyright (C) 2012-2024 Free Software Foundation, Inc.\nThis file is part of GNU"
  },
  {
    "path": "src/loadapi.c",
    "chars": 2056,
    "preview": "/* API for GNU Make dynamic objects.\nCopyright (C) 2013-2024 Free Software Foundation, Inc.\nThis file is part of GNU Mak"
  },
  {
    "path": "src/main.c",
    "chars": 122242,
    "preview": "/* Argument parsing and main program of GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis file is pa"
  },
  {
    "path": "src/makeint.h",
    "chars": 26104,
    "preview": "/* Miscellaneous global declarations and portability cruft for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundatio"
  },
  {
    "path": "src/misc.c",
    "chars": 22611,
    "preview": "/* Miscellaneous generic support functions for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis fil"
  },
  {
    "path": "src/mkconfig.h.in",
    "chars": 1407,
    "preview": "/* Autoconf values for use on non-POSIX systems.\nCopyright (C) 2022-2024 Free Software Foundation, Inc.\nThis file is par"
  },
  {
    "path": "src/mkcustom.h",
    "chars": 1884,
    "preview": "/* Miscellaneous global declarations and portability cruft for GNU Make.\nCopyright (C) 2023-2024 Free Software Foundatio"
  },
  {
    "path": "src/os.h",
    "chars": 5813,
    "preview": "/* Declarations for operating system interfaces for GNU Make.\nCopyright (C) 2016-2024 Free Software Foundation, Inc.\nThi"
  },
  {
    "path": "src/output.c",
    "chars": 13486,
    "preview": "/* Output to stdout / stderr for GNU Make\nCopyright (C) 2013-2024 Free Software Foundation, Inc.\nThis file is part of GN"
  },
  {
    "path": "src/output.h",
    "chars": 2109,
    "preview": "/* Output to stdout / stderr for GNU Make\nCopyright (C) 2013-2024 Free Software Foundation, Inc.\nThis file is part of GN"
  },
  {
    "path": "src/posixos.c",
    "chars": 21725,
    "preview": "/* POSIX-based operating system interface for GNU Make.\nCopyright (C) 2016-2024 Free Software Foundation, Inc.\nThis file"
  },
  {
    "path": "src/read.c",
    "chars": 104144,
    "preview": "/* Reading and parsing of makefiles for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis file is pa"
  },
  {
    "path": "src/remake.c",
    "chars": 62330,
    "preview": "/* Basic dependency engine for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis file is part of GNU"
  },
  {
    "path": "src/remote-cstms.c",
    "chars": 8419,
    "preview": "/* GNU Make remote job exportation interface to the Customs daemon.\n   THIS CODE IS NOT SUPPORTED BY THE GNU PROJECT.\n  "
  },
  {
    "path": "src/remote-stub.c",
    "chars": 2870,
    "preview": "/* Template for the remote job exportation interface to GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc."
  },
  {
    "path": "src/rule.c",
    "chars": 19070,
    "preview": "/* Pattern and suffix rule internals for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis file is p"
  },
  {
    "path": "src/rule.h",
    "chars": 2238,
    "preview": "/* Definitions for using pattern rules in GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis file is "
  },
  {
    "path": "src/shuffle.c",
    "chars": 5736,
    "preview": "/* Provide prerequisite shuffle support.\nCopyright (C) 2022-2024 Free Software Foundation, Inc.\nThis file is part of GNU"
  },
  {
    "path": "src/shuffle.h",
    "chars": 1036,
    "preview": "/* Declarations for target shuffling support.\nCopyright (C) 2022, 2024-2022 Free Software Foundation, Inc.\nThis file is "
  },
  {
    "path": "src/signame.c",
    "chars": 6863,
    "preview": "/* Convert between signal names and numbers.\nCopyright (C) 1990-2024 Free Software Foundation, Inc.\nThis file is part of"
  },
  {
    "path": "src/strcache.c",
    "chars": 9386,
    "preview": "/* Constant string caching for GNU Make.\nCopyright (C) 2006-2024 Free Software Foundation, Inc.\nThis file is part of GNU"
  },
  {
    "path": "src/variable.c",
    "chars": 66030,
    "preview": "/* Internals of variables for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis file is part of GNU "
  },
  {
    "path": "src/variable.h",
    "chars": 11133,
    "preview": "/* Definitions for using variables in GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis file is part"
  },
  {
    "path": "src/version.c",
    "chars": 1178,
    "preview": "/* Record version and build host architecture for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, Inc.\nThis "
  },
  {
    "path": "src/vms_exit.c",
    "chars": 3066,
    "preview": "/* vms_exit.c\n *\n * Wrapper for the VMS exit() command to translate UNIX codes to be\n * encoded for POSIX, but also have"
  },
  {
    "path": "src/vms_export_symbol.c",
    "chars": 14042,
    "preview": "/* File: vms_export_symbol.c\n *\n * Some programs need special environment variables deported as DCL\n * DCL symbols.\n */\n"
  },
  {
    "path": "src/vms_progname.c",
    "chars": 14611,
    "preview": "/* File: vms_progname.c\n *\n * This module provides a fixup of the program name.\n *\n * This module is designed to be a pl"
  },
  {
    "path": "src/vmsdir.h",
    "chars": 1717,
    "preview": "/* dirent.h for vms\nCopyright (C) 1996-2024 Free Software Foundation, Inc.\nThis file is part of GNU Make.\n\nGNU Make is f"
  },
  {
    "path": "src/vmsfunctions.c",
    "chars": 5930,
    "preview": "/* VMS functions\nCopyright (C) 1996-2024 Free Software Foundation, Inc.\nThis file is part of GNU Make.\n\nGNU Make is free"
  },
  {
    "path": "src/vmsify.c",
    "chars": 18635,
    "preview": "/* vmsify.c -- Module for vms <-> unix file name conversion\nCopyright (C) 1996-2024 Free Software Foundation, Inc.\nThis "
  },
  {
    "path": "src/vmsjobs.c",
    "chars": 42823,
    "preview": "/* --------------- Moved here from job.c ---------------\n   This file must be #included in job.c, as it accesses static "
  },
  {
    "path": "src/vpath.c",
    "chars": 18384,
    "preview": "/* Implementation of pattern-matching file search paths for GNU Make.\nCopyright (C) 1988-2024 Free Software Foundation, "
  },
  {
    "path": "src/w32/compat/dirent.c",
    "chars": 5431,
    "preview": "/* Directory entry code for Window platforms.\nCopyright (C) 1996-2024 Free Software Foundation, Inc.\nThis file is part o"
  },
  {
    "path": "src/w32/compat/posixfcn.c",
    "chars": 3319,
    "preview": "/* Replacements for Posix functions and Posix functionality for MS-Windows.\n\nCopyright (C) 2013-2024 Free Software Found"
  },
  {
    "path": "src/w32/include/dirent.h",
    "chars": 2107,
    "preview": "/* Windows version of dirent.h\nCopyright (C) 1996-2024 Free Software Foundation, Inc.\nThis file is part of GNU Make.\n\nGN"
  },
  {
    "path": "src/w32/include/dlfcn.h",
    "chars": 1009,
    "preview": "/* dlfcn.h replacement for MS-Windows build.\nCopyright (C) 2013-2024 Free Software Foundation, Inc.\nThis file is part of"
  },
  {
    "path": "src/w32/include/pathstuff.h",
    "chars": 997,
    "preview": "/* Definitions for Windows path manipulation.\nCopyright (C) 1996-2024 Free Software Foundation, Inc.\nThis file is part o"
  },
  {
    "path": "src/w32/include/sub_proc.h",
    "chars": 2567,
    "preview": "/* Definitions for Windows process invocation.\nCopyright (C) 1996-2024 Free Software Foundation, Inc.\nThis file is part "
  },
  {
    "path": "src/w32/include/w32err.h",
    "chars": 948,
    "preview": "/* Definitions for Windows error handling.\nCopyright (C) 1996-2024 Free Software Foundation, Inc.\nThis file is part of G"
  },
  {
    "path": "src/w32/pathstuff.c",
    "chars": 8514,
    "preview": "/* Path conversion for Windows pathnames.\nCopyright (C) 1996-2024 Free Software Foundation, Inc.\nThis file is part of GN"
  },
  {
    "path": "src/w32/subproc/misc.c",
    "chars": 2403,
    "preview": "/* Process handling for Windows\nCopyright (C) 1996-2024 Free Software Foundation, Inc.\nThis file is part of GNU Make.\n\nG"
  },
  {
    "path": "src/w32/subproc/proc.h",
    "chars": 980,
    "preview": "/* Definitions for Windows\nCopyright (C) 1996-2024 Free Software Foundation, Inc.\nThis file is part of GNU Make.\n\nGNU Ma"
  },
  {
    "path": "src/w32/subproc/sub_proc.c",
    "chars": 52603,
    "preview": "/* Process handling for Windows.\nCopyright (C) 1996-2024 Free Software Foundation, Inc.\nThis file is part of GNU Make.\n\n"
  },
  {
    "path": "src/w32/subproc/w32err.c",
    "chars": 2644,
    "preview": "/* Error handling for Windows\nCopyright (C) 1996-2024 Free Software Foundation, Inc.\nThis file is part of GNU Make.\n\nGNU"
  },
  {
    "path": "src/w32/utf8.manifest",
    "chars": 327,
    "preview": "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n<assembly manifestVersion=\"1.0\" xmlns=\"urn:schemas-microsoft-com"
  },
  {
    "path": "src/w32/utf8.rc",
    "chars": 85,
    "preview": "#include <winuser.h>\n\nCREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST \"utf8.manifest\"\n"
  },
  {
    "path": "src/w32/w32os.c",
    "chars": 14801,
    "preview": "/* Windows32-based operating system interface for GNU Make.\nCopyright (C) 2016-2024 Free Software Foundation, Inc.\nThis "
  },
  {
    "path": "src/warning.c",
    "chars": 6953,
    "preview": "/* Control warning output in GNU Make.\nCopyright (C) 2023-2024 Free Software Foundation, Inc.\nThis file is part of GNU M"
  },
  {
    "path": "src/warning.h",
    "chars": 3112,
    "preview": "/* Control warning output in GNU Make.\nCopyright (C) 2023-2024 Free Software Foundation, Inc.\nThis file is part of GNU M"
  },
  {
    "path": "tests/.gitignore",
    "chars": 34,
    "preview": ".test-result\nconfig-flags.pm\nwork\n"
  },
  {
    "path": "tests/ChangeLog.1",
    "chars": 48829,
    "preview": "2013-10-09  Paul Smith  <psmith@gnu.org>\n\n\t* scripts/features/patspecific_vars: Typo fixes.\n\n2013-10-05  Paul Smith  <ps"
  },
  {
    "path": "tests/NEWS",
    "chars": 6766,
    "preview": "Changes from 0.4.9 to 3.78 (Sep 6, 1999):\n\n    Lots of new tests.  Renamed to follow the GNU Make scheme.  Also\n    adde"
  },
  {
    "path": "tests/config-flags.pm.W32",
    "chars": 123,
    "preview": "# This is a -*-perl-*- script\n#\n# Set variables for Windows systems.\n\n%CONFIG_FLAGS = (\n    USE_SYSTEM_GLOB => 'no'\n);\n\n"
  },
  {
    "path": "tests/config-flags.pm.in",
    "chars": 544,
    "preview": "# This is a -*-perl-*- script\n#\n# Set variables that were defined by configure, in case we need them\n# during the tests."
  },
  {
    "path": "tests/config_flags_pm.com",
    "chars": 1762,
    "preview": "$!\n$! config_flags_pm.com  - Build config-flags.pm on VMS.\n$!\n$! Just good enough to run the self tests for now.\n$!\n$! C"
  },
  {
    "path": "tests/guile.supp",
    "chars": 359,
    "preview": "# Guile valgrind suppression file\n# Created with Guile 1.8.7\n\n# --- Garbage collection\n{\n  guilegc\n  Memcheck:Cond\n  ..."
  },
  {
    "path": "tests/mkshadow",
    "chars": 1425,
    "preview": "#!/bin/sh\n#\n# Simple script to make a \"shadow\" test directory, using symbolic links.\n# Typically you'd put the shadow in"
  },
  {
    "path": "tests/run_make_tests",
    "chars": 36,
    "preview": "#!/bin/sh\nexec perl $0.pl ${1+\"$@\"}\n"
  },
  {
    "path": "tests/run_make_tests.bat",
    "chars": 814,
    "preview": "@echo off\nrem Copyright (C) 2017-2024 Free Software Foundation, Inc.\nrem This file is part of GNU Make.\nrem\nrem GNU Make"
  },
  {
    "path": "tests/run_make_tests.com",
    "chars": 8335,
    "preview": "$! Test_make.com\n$!\n$! This is a wrapper for the GNU Make perl test programs on VMS.\n$!\n$! Parameter \"-help\" for descrip"
  },
  {
    "path": "tests/run_make_tests.pl",
    "chars": 17843,
    "preview": "#!/usr/bin/env perl\n# -*-perl-*-\n\n# Test driver for the Make test suite\n\n# Usage:  run_make_tests  [testname]\n#         "
  },
  {
    "path": "tests/scripts/features/archives",
    "chars": 8330,
    "preview": "#                                                              -*-mode: perl-*-\n\n$description = \"Test GNU Make's archive"
  },
  {
    "path": "tests/scripts/features/comments",
    "chars": 1256,
    "preview": "$description = \"The following test creates a makefile to test comments\\n\"\n              .\"and comment continuation to th"
  },
  {
    "path": "tests/scripts/features/conditionals",
    "chars": 4016,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Check GNU Make condition"
  },
  {
    "path": "tests/scripts/features/default_names",
    "chars": 1317,
    "preview": "#                                                                    -*-perl-*-\n\n$description = \"This script tests to ma"
  },
  {
    "path": "tests/scripts/features/dircache",
    "chars": 714,
    "preview": "#                                                               -*-mode: perl-*-\n\n$description = \"Test the directory cac"
  },
  {
    "path": "tests/scripts/features/double_colon",
    "chars": 4986,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test handling of double-"
  },
  {
    "path": "tests/scripts/features/echoing",
    "chars": 2087,
    "preview": "#                                                                    -*-perl-*-\n$description = \"The following test creat"
  },
  {
    "path": "tests/scripts/features/errors",
    "chars": 2980,
    "preview": "#                                                                    -*-perl-*-\n\n$description = \"Test ignored failures i"
  },
  {
    "path": "tests/scripts/features/escape",
    "chars": 2511,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test various types of es"
  },
  {
    "path": "tests/scripts/features/exec",
    "chars": 2237,
    "preview": "#                                                                    -*-perl-*-\n\nuse warnings;\n\nmy $description = \"Test "
  },
  {
    "path": "tests/scripts/features/expand",
    "chars": 756,
    "preview": "#                                                                    -*-perl-*-\n\n$description = \"Test variable expansion"
  },
  {
    "path": "tests/scripts/features/export",
    "chars": 4128,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Check GNU Make export/un"
  },
  {
    "path": "tests/scripts/features/grouped_targets",
    "chars": 4255,
    "preview": "#                                                                    -*-perl-*-\n\n$description = \"This test is about grou"
  },
  {
    "path": "tests/scripts/features/implicit_search",
    "chars": 14015,
    "preview": "#                                                                    -*-perl-*-\n\n$description = \"Test implicit rule sear"
  },
  {
    "path": "tests/scripts/features/include",
    "chars": 11706,
    "preview": "#                                                              -*-mode: perl-*-\n\n$description = \"Test various forms of t"
  },
  {
    "path": "tests/scripts/features/jobserver",
    "chars": 6857,
    "preview": "#                                                                    -*-perl-*-\n\n$description = \"Test jobserver.\";\n\n$det"
  },
  {
    "path": "tests/scripts/features/load",
    "chars": 4196,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test the load operator.\""
  },
  {
    "path": "tests/scripts/features/loadapi",
    "chars": 8377,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test the shared object l"
  },
  {
    "path": "tests/scripts/features/mult_rules",
    "chars": 2403,
    "preview": "#                                                                    -*-perl-*-\n\n$description = \"\\\nThe following test cr"
  },
  {
    "path": "tests/scripts/features/mult_targets",
    "chars": 1295,
    "preview": "$description = \"The following test creates a makefile to test that a \\n \"\n              .\"rule with multiple targets is "
  },
  {
    "path": "tests/scripts/features/order_only",
    "chars": 2269,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test order-only prerequi"
  },
  {
    "path": "tests/scripts/features/output-sync",
    "chars": 10923,
    "preview": "#                                                                    -*-perl-*-\n\n$description = \"Test --output-sync (-O)"
  },
  {
    "path": "tests/scripts/features/override",
    "chars": 873,
    "preview": "#                                                                    -*-perl-*-\n\n$description = \"Test the override direc"
  },
  {
    "path": "tests/scripts/features/parallelism",
    "chars": 7424,
    "preview": "#                                                                    -*-perl-*-\n\n$description = \"Test parallelism (-j) o"
  },
  {
    "path": "tests/scripts/features/patspecific_vars",
    "chars": 3193,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test pattern-specific va"
  },
  {
    "path": "tests/scripts/features/patternrules",
    "chars": 15950,
    "preview": "#                                                                    -*-perl-*-\n\n$description = \"Test pattern rules.\";\n\n"
  },
  {
    "path": "tests/scripts/features/quoting",
    "chars": 698,
    "preview": "#                                                                    -*-perl-*-\n\n$description = \"The following test crea"
  },
  {
    "path": "tests/scripts/features/recursion",
    "chars": 1616,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test recursion.\";\n\n$deta"
  },
  {
    "path": "tests/scripts/features/reinvoke",
    "chars": 4865,
    "preview": "#                                                              -*-mode: perl-*-\n\n$description = \"Test GNU Make's auto-re"
  },
  {
    "path": "tests/scripts/features/rule_glob",
    "chars": 916,
    "preview": "#                                                                    -*-perl-*-\n\n$description = \"Test globbing in target"
  },
  {
    "path": "tests/scripts/features/se_explicit",
    "chars": 13181,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test second expansion in"
  },
  {
    "path": "tests/scripts/features/se_implicit",
    "chars": 10537,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test second expansion in"
  },
  {
    "path": "tests/scripts/features/se_statpat",
    "chars": 6007,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test second expansion in"
  },
  {
    "path": "tests/scripts/features/shell_assignment",
    "chars": 1888,
    "preview": "#                                                                    -*-perl-*-\n\n$description = \"Test BSD-style shell as"
  },
  {
    "path": "tests/scripts/features/statipattrules",
    "chars": 8269,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test handling of static "
  },
  {
    "path": "tests/scripts/features/suffixrules",
    "chars": 4130,
    "preview": "#                                                                    -*-perl-*-\n\n$description = \"Test suffix rules.\";\n\n$"
  },
  {
    "path": "tests/scripts/features/targetvars",
    "chars": 10344,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test target-specific var"
  },
  {
    "path": "tests/scripts/features/temp_stdin",
    "chars": 4506,
    "preview": "#                                                              -*-mode: perl-*-\n\n$description = \"Test handling of tempor"
  },
  {
    "path": "tests/scripts/features/utf8",
    "chars": 320,
    "preview": "#                                                                    -*-perl-*-\n\n$description = \"Test support for UTF-8."
  },
  {
    "path": "tests/scripts/features/varnesting",
    "chars": 624,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test recursive variables"
  },
  {
    "path": "tests/scripts/features/vpath",
    "chars": 2849,
    "preview": "#                                                                     -*-perl-*-\n\n$description = \"Test vpath for particu"
  },
  {
    "path": "tests/scripts/features/vpathgpath",
    "chars": 1106,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Tests VPATH+/GPATH funct"
  },
  {
    "path": "tests/scripts/features/vpathplus",
    "chars": 2110,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Tests the new VPATH+ fun"
  },
  {
    "path": "tests/scripts/functions/abspath",
    "chars": 1914,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test the abspath functio"
  },
  {
    "path": "tests/scripts/functions/addprefix",
    "chars": 1156,
    "preview": "$description = \"The following test creates a makefile to test the addprefix \"\n              .\"function.\";\n\n$details = \"\""
  },
  {
    "path": "tests/scripts/functions/addsuffix",
    "chars": 737,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test the addsuffix funct"
  },
  {
    "path": "tests/scripts/functions/andor",
    "chars": 1362,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test the and & or functi"
  },
  {
    "path": "tests/scripts/functions/basename",
    "chars": 1280,
    "preview": "$description = \"The following test creates a makefile to test the suffix \"\n              .\"function.\";\n\n$details = \"\";\n\n"
  },
  {
    "path": "tests/scripts/functions/call",
    "chars": 2610,
    "preview": "#                                                                    -*-perl-*-\n$description = \"Test the call function.\\"
  },
  {
    "path": "tests/scripts/functions/dir",
    "chars": 1123,
    "preview": "$description = \"The following test creates a makefile to test the dir \"\n              .\"function.\";\n\n$details = \"\";\n\n# I"
  },
  {
    "path": "tests/scripts/functions/error",
    "chars": 1678,
    "preview": "#                                                                    -*-Perl-*-\n\n$description = \"\\\nThe following test cr"
  }
]

// ... and 95 more files (download for full content)

About this extraction

This page contains the full source code of the mirror/make GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 295 files (3.4 MB), approximately 902.8k tokens, and a symbol index with 1069 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!