mirror of
https://github.com/mirror/make.git
synced 2024-12-27 13:20:34 +08:00
Update copyright and license notices on all files.
Added new file strcache.c to various non-UNIX makefiles and build scripts.
This commit is contained in:
parent
5a7a42cfce
commit
586daef9bc
27
ChangeLog
27
ChangeLog
@ -1,3 +1,7 @@
|
|||||||
|
2006-02-11 Paul D. Smith <psmith@gnu.org>
|
||||||
|
|
||||||
|
* (ALL FILES): Updated copyright and license notices.
|
||||||
|
|
||||||
2006-02-10 Paul D. Smith <psmith@gnu.org>
|
2006-02-10 Paul D. Smith <psmith@gnu.org>
|
||||||
|
|
||||||
A new internal capability: the string cache is a read-only cache
|
A new internal capability: the string cache is a read-only cache
|
||||||
@ -13,6 +17,12 @@
|
|||||||
* read.c (eval_makefile): Use the string cache to store makefile
|
* read.c (eval_makefile): Use the string cache to store makefile
|
||||||
names. Rewrite the string allocation to be sure we free everything.
|
names. Rewrite the string allocation to be sure we free everything.
|
||||||
|
|
||||||
|
2006-02-10 Eli Zaretskii <eliz@gnu.org>
|
||||||
|
|
||||||
|
* dir.c (dir_contents_file_exists_p): Don't opendir if the
|
||||||
|
directory time stamp didn't change, except on FAT filesystems.
|
||||||
|
Suggested by J. David Bryan <jdbryan@acm.org>.
|
||||||
|
|
||||||
2006-02-09 Paul D. Smith <psmith@gnu.org>
|
2006-02-09 Paul D. Smith <psmith@gnu.org>
|
||||||
|
|
||||||
* function.c (func_or): Implement a short-circuiting OR function.
|
* function.c (func_or): Implement a short-circuiting OR function.
|
||||||
@ -2527,3 +2537,20 @@ See ChangeLog.2, available in the CVS repository at:
|
|||||||
http://savannah.gnu.org/cvs/?group=make
|
http://savannah.gnu.org/cvs/?group=make
|
||||||
|
|
||||||
for earlier changes.
|
for earlier changes.
|
||||||
|
|
||||||
|
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
28
ChangeLog.1
28
ChangeLog.1
@ -4879,7 +4879,7 @@ Sun Jul 24 02:15:30 1988 Roland McGrath (mcgrath at tully.Berkeley.EDU)
|
|||||||
|
|
||||||
* variable.c (expand_function): Made `foreach' function put
|
* variable.c (expand_function): Made `foreach' function put
|
||||||
spaces between output texts like it's supposed to.
|
spaces between output texts like it's supposed to.
|
||||||
|
|
||||||
Sat Jul 23 17:32:55 1988 Roland McGrath (mcgrath at tully.Berkeley.EDU)
|
Sat Jul 23 17:32:55 1988 Roland McGrath (mcgrath at tully.Berkeley.EDU)
|
||||||
|
|
||||||
* rule.c (default_suffixes, default_suffix_rules): Added rule
|
* rule.c (default_suffixes, default_suffix_rules): Added rule
|
||||||
@ -4909,20 +4909,20 @@ Fri Jul 22 23:13:16 1988 Roland McGrath (mcgrath at tully.Berkeley.EDU)
|
|||||||
|
|
||||||
* commands.c (execute_file_commands): Fixed a bug wherein
|
* commands.c (execute_file_commands): Fixed a bug wherein
|
||||||
random memory could get written for files with no deps.
|
random memory could get written for files with no deps.
|
||||||
|
|
||||||
Wed Jul 20 19:30:31 1988 Roland McGrath (mcgrath at tully.Berkeley.EDU)
|
Wed Jul 20 19:30:31 1988 Roland McGrath (mcgrath at tully.Berkeley.EDU)
|
||||||
|
|
||||||
* read.c (readline): Fix bug wherein it would not recognize a
|
* read.c (readline): Fix bug wherein it would not recognize a
|
||||||
backslash-newline if the buffer filled up and was enlarged
|
backslash-newline if the buffer filled up and was enlarged
|
||||||
right before reading the newline.
|
right before reading the newline.
|
||||||
|
|
||||||
Tue Jul 19 19:55:02 1988 Roland McGrath (mcgrath at chilli.Berkeley.EDU)
|
Tue Jul 19 19:55:02 1988 Roland McGrath (mcgrath at chilli.Berkeley.EDU)
|
||||||
|
|
||||||
* read.c: Added default suffix rules for .cc (using $(C++),
|
* read.c: Added default suffix rules for .cc (using $(C++),
|
||||||
which defaults to `g++', and $(C++FLAGS)), .tex, .dvi, .web
|
which defaults to `g++', and $(C++FLAGS)), .tex, .dvi, .web
|
||||||
and .cweb (using $(TEX), $(WEAVE), $(TANGLE), $(CWEAVE) and
|
and .cweb (using $(TEX), $(WEAVE), $(TANGLE), $(CWEAVE) and
|
||||||
$(CTANGLE)).
|
$(CTANGLE)).
|
||||||
|
|
||||||
Sat Jul 16 21:24:28 1988 Roland McGrath (mcgrath at tully.Berkeley.EDU)
|
Sat Jul 16 21:24:28 1988 Roland McGrath (mcgrath at tully.Berkeley.EDU)
|
||||||
|
|
||||||
* Made error formats use %u rather than %ld for line numbers,
|
* Made error formats use %u rather than %ld for line numbers,
|
||||||
@ -4972,9 +4972,27 @@ Sat Jul 16 21:24:28 1988 Roland McGrath (mcgrath at tully.Berkeley.EDU)
|
|||||||
|
|
||||||
* variable.c (pattern_matches): Fix a bug that made patterns
|
* variable.c (pattern_matches): Fix a bug that made patterns
|
||||||
not beginning with `%' never match.
|
not beginning with `%' never match.
|
||||||
|
|
||||||
Fri Jul 15 21:01:44 1988 Roland McGrath (mcgrath at tully.Berkeley.EDU)
|
Fri Jul 15 21:01:44 1988 Roland McGrath (mcgrath at tully.Berkeley.EDU)
|
||||||
|
|
||||||
* Took Make out of RCS.
|
* Took Make out of RCS.
|
||||||
|
|
||||||
* Split the monolithic `make.c' into several smaller files.
|
* Split the monolithic `make.c' into several smaller files.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
23
ChangeLog.2
23
ChangeLog.2
@ -6630,4 +6630,25 @@ Fri Nov 1 19:34:28 1991 Roland McGrath (roland@churchy.gnu.ai.mit.edu)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
See ChangeLog.1 for earlier changes.
|
See ChangeLog.1, available in the CVS repository at:
|
||||||
|
|
||||||
|
http://savannah.gnu.org/cvs/?group=make
|
||||||
|
|
||||||
|
for earlier changes.
|
||||||
|
|
||||||
|
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
@ -1,10 +1,21 @@
|
|||||||
# -*-Makefile-*- template for DJGPP
|
# -*-Makefile-*- template for DJGPP
|
||||||
# Makefile.in generated automatically by automake 1.2 from Makefile.am
|
# Makefile.in generated automatically by automake 1.2 from Makefile.am
|
||||||
|
#
|
||||||
# Copyright (C) 1994, 1995-1998, 1999, 2002 Free Software Foundation, Inc.
|
# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
# This Makefile.DOS is free software; the Free Software Foundation
|
# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
# gives unlimited permission to copy, distribute and modify it.
|
# 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 2, 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
|
||||||
|
# GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
|
|
||||||
|
16
Makefile.am
16
Makefile.am
@ -1,4 +1,20 @@
|
|||||||
# This is a -*-Makefile-*-, or close enough
|
# This is a -*-Makefile-*-, or close enough
|
||||||
|
#
|
||||||
|
# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
# GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
AUTOMAKE_OPTIONS = 1.8 dist-bzip2 check-news ansi2knr
|
AUTOMAKE_OPTIONS = 1.8 dist-bzip2 check-news ansi2knr
|
||||||
ACLOCAL_AMFLAGS = -I config
|
ACLOCAL_AMFLAGS = -I config
|
||||||
|
31
Makefile.ami
31
Makefile.ami
@ -1,23 +1,23 @@
|
|||||||
|
# -*-Makefile-*- for GNU make on Amiga
|
||||||
|
#
|
||||||
# NOTE: If you have no `make' program at all to process this makefile, run
|
# NOTE: If you have no `make' program at all to process this makefile, run
|
||||||
# `build.sh' instead.
|
# `build.sh' instead.
|
||||||
#
|
#
|
||||||
# Copyright (C) 1988, 89, 91, 92, 93, 94, 1995 Free Software Foundation, Inc.
|
# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
# This file is part of GNU Make.
|
# This file is part of GNU Make.
|
||||||
#
|
#
|
||||||
# GNU Make is free software; you can redistribute it and/or modify
|
# GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
# it under the terms of the GNU General Public License as published by
|
# terms of the GNU General Public License as published by the Free Software
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
# Foundation; either version 2, or (at your option) any later version.
|
||||||
# any later version.
|
|
||||||
#
|
#
|
||||||
# GNU Make is distributed in the hope that it will be useful,
|
# GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License along with
|
||||||
# along with GNU Make; see the file COPYING. If not, write to
|
# GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
# Boston, MA 02111-1307, USA.
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Makefile for GNU Make
|
# Makefile for GNU Make
|
||||||
@ -119,7 +119,7 @@ CTAGS = ctags -w
|
|||||||
|
|
||||||
objs = commands.o job.o dir.o file.o misc.o main.o read.o remake.o \
|
objs = commands.o job.o dir.o file.o misc.o main.o read.o remake.o \
|
||||||
rule.o implicit.o default.o variable.o expand.o function.o \
|
rule.o implicit.o default.o variable.o expand.o function.o \
|
||||||
vpath.o version.o ar.o arscan.o signame.o hash.o \
|
vpath.o version.o ar.o arscan.o signame.o strcache.o hash.o \
|
||||||
remote-$(REMOTE).o $(GETOPT) $(ALLOCA) $(extras)
|
remote-$(REMOTE).o $(GETOPT) $(ALLOCA) $(extras)
|
||||||
srcs = $(srcdir)commands.c $(srcdir)job.c $(srcdir)dir.c \
|
srcs = $(srcdir)commands.c $(srcdir)job.c $(srcdir)dir.c \
|
||||||
$(srcdir)file.c $(srcdir)getloadavg.c $(srcdir)misc.c \
|
$(srcdir)file.c $(srcdir)getloadavg.c $(srcdir)misc.c \
|
||||||
@ -128,7 +128,7 @@ srcs = $(srcdir)commands.c $(srcdir)job.c $(srcdir)dir.c \
|
|||||||
$(srcdir)variable.c $(srcdir)expand.c $(srcdir)function.c \
|
$(srcdir)variable.c $(srcdir)expand.c $(srcdir)function.c \
|
||||||
$(srcdir)vpath.c $(srcdir)version.c $(srcdir)hash.c \
|
$(srcdir)vpath.c $(srcdir)version.c $(srcdir)hash.c \
|
||||||
$(srcdir)remote-$(REMOTE).c \
|
$(srcdir)remote-$(REMOTE).c \
|
||||||
$(srcdir)ar.c $(srcdir)arscan.c \
|
$(srcdir)ar.c $(srcdir)arscan.c $(srcdir)strcache.c \
|
||||||
$(srcdir)signame.c $(srcdir)signame.h $(GETOPT_SRC) \
|
$(srcdir)signame.c $(srcdir)signame.h $(GETOPT_SRC) \
|
||||||
$(srcdir)commands.h $(srcdir)dep.h $(srcdir)filedep.h \
|
$(srcdir)commands.h $(srcdir)dep.h $(srcdir)filedep.h \
|
||||||
$(srcdir)job.h $(srcdir)make.h $(srcdir)rule.h \
|
$(srcdir)job.h $(srcdir)make.h $(srcdir)rule.h \
|
||||||
@ -294,6 +294,7 @@ expand.o: expand.c make.h filedef.h job.h commands.h variable.h
|
|||||||
function.o: function.c make.h filedef.h variable.h dep.h job.h \
|
function.o: function.c make.h filedef.h variable.h dep.h job.h \
|
||||||
commands.h amiga.h
|
commands.h amiga.h
|
||||||
vpath.o: vpath.c make.h filedef.h variable.h
|
vpath.o: vpath.c make.h filedef.h variable.h
|
||||||
|
strcache.o: strcache.c make.h hash.h
|
||||||
version.o: version.c
|
version.o: version.c
|
||||||
ar.o: ar.c make.h filedef.h dep.h
|
ar.o: ar.c make.h filedef.h dep.h
|
||||||
arscan.o: arscan.c make.h
|
arscan.o: arscan.c make.h
|
||||||
|
43
NEWS
43
NEWS
@ -1,16 +1,19 @@
|
|||||||
GNU make NEWS -*-indented-text-*-
|
GNU make NEWS -*-indented-text-*-
|
||||||
History of user-visible changes.
|
History of user-visible changes.
|
||||||
28 December 2005
|
11 February 2006
|
||||||
|
|
||||||
Copyright (C) 2002,2003,2004,2005 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
See the end for copying conditions.
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
|
This file is part of GNU Make.
|
||||||
|
|
||||||
|
See the end of this file for copying conditions.
|
||||||
|
|
||||||
All changes mentioned here are more fully described in the GNU make
|
All changes mentioned here are more fully described in the GNU make
|
||||||
manual, which is contained in this distribution as the file doc/make.texi.
|
manual, which is contained in this distribution as the file doc/make.texi.
|
||||||
See the README file and the GNU make manual for instructions for
|
See the README file and the GNU make manual for instructions for
|
||||||
reporting bugs.
|
reporting bugs.
|
||||||
|
|
||||||
Version 3.81beta4
|
Version 3.81rc1
|
||||||
|
|
||||||
* GNU make is ported to OS/2.
|
* GNU make is ported to OS/2.
|
||||||
|
|
||||||
@ -19,6 +22,7 @@ Version 3.81beta4
|
|||||||
details.
|
details.
|
||||||
|
|
||||||
* WARNING: Backward-incompatibility!
|
* WARNING: Backward-incompatibility!
|
||||||
|
|
||||||
GNU make now implements a generic "second expansion" feature on the
|
GNU make now implements a generic "second expansion" feature on the
|
||||||
prerequisites of both explicit and implicit (pattern) rules. In order
|
prerequisites of both explicit and implicit (pattern) rules. In order
|
||||||
to enable this feature, the special target '.SECONDEXPANSION' must be
|
to enable this feature, the special target '.SECONDEXPANSION' must be
|
||||||
@ -29,12 +33,12 @@ Version 3.81beta4
|
|||||||
SysV $$@ in prerequisites lists, you can also use complex functions
|
SysV $$@ in prerequisites lists, you can also use complex functions
|
||||||
such as $$(notdir $$@) etc. This behavior applies to implicit rules,
|
such as $$(notdir $$@) etc. This behavior applies to implicit rules,
|
||||||
as well, where the second expansion occurs when the rule is matched.
|
as well, where the second expansion occurs when the rule is matched.
|
||||||
However, this means that you need to double-quote any "$" in your
|
However, this means that when '.SECONDEXPANSION' is enabled you must
|
||||||
filenames; instead of "foo: boo$$bar" you now must write "foo:
|
double-quote any "$" in your filenames; instead of "foo: boo$$bar" you
|
||||||
foo$$$$bar". Note that the SysV $$@ etc. feature, which used to be
|
now must write "foo: foo$$$$bar". Note that the SysV $$@ etc. feature,
|
||||||
available by default, is now ONLY available when the .SECONDEXPANSION
|
which used to be available by default, is now ONLY available when the
|
||||||
target is defined. If your makefiles take advantage of this SysV
|
.SECONDEXPANSION target is defined. If your makefiles take advantage
|
||||||
feature you will need to update them.
|
of this SysV feature you will need to update them.
|
||||||
|
|
||||||
* WARNING: Backward-incompatibility!
|
* WARNING: Backward-incompatibility!
|
||||||
In order to comply with POSIX, the way in which GNU make processes
|
In order to comply with POSIX, the way in which GNU make processes
|
||||||
@ -974,14 +978,15 @@ Version 3.05
|
|||||||
|
|
||||||
(Changes from versions 1 through 3.05 were never recorded. Sorry.)
|
(Changes from versions 1 through 3.05 were never recorded. Sorry.)
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
Copyright information:
|
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 2, or (at your option) any later version.
|
||||||
|
|
||||||
Permission is granted to anyone to make or distribute verbatim copies
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
of this document as received, in any medium, provided that the
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
copyright notice and this permission notice are preserved, thus
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
giving the recipient permission to redistribute in turn.
|
|
||||||
|
|
||||||
Permission is granted to distribute modified versions of this
|
You should have received a copy of the GNU General Public License along with
|
||||||
document, or of portions of it, under the above conditions, provided
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
also that they carry prominent notices stating who last changed them.
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
@ -1,27 +1,23 @@
|
|||||||
# NOTE: If you have no `make' program at all to process this makefile, run
|
# -*-Makefile-*- to build GNU make with nmake
|
||||||
# `build_w32.bat' instead.
|
|
||||||
#
|
#
|
||||||
# Copyright (C) 1988,89,91,92,93,94,95,96,97 Free Software Foundation, Inc.
|
# NOTE: If you have no 'make' program at all to process this makefile,
|
||||||
|
# run 'build_w32.bat' instead.
|
||||||
|
#
|
||||||
|
# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
# This file is part of GNU Make.
|
# This file is part of GNU Make.
|
||||||
#
|
#
|
||||||
# GNU Make is free software; you can redistribute it and/or modify
|
# GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
# it under the terms of the GNU General Public License as published by
|
# terms of the GNU General Public License as published by the Free Software
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
# Foundation; either version 2, or (at your option) any later version.
|
||||||
# any later version.
|
|
||||||
#
|
#
|
||||||
# GNU Make is distributed in the hope that it will be useful,
|
# GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
|
||||||
# You should have received a copy of the GNU General Public License
|
|
||||||
# along with GNU Make; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
||||||
# Boston, MA 02111-1307, USA.
|
|
||||||
|
|
||||||
#
|
|
||||||
# NMakefile for GNU Make
|
|
||||||
#
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License along with
|
||||||
|
# GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
LINK = link
|
LINK = link
|
||||||
CC = cl
|
CC = cl
|
||||||
@ -99,6 +95,7 @@ OBJS = \
|
|||||||
$(OUTDIR)/remote-stub.obj \
|
$(OUTDIR)/remote-stub.obj \
|
||||||
$(OUTDIR)/rule.obj \
|
$(OUTDIR)/rule.obj \
|
||||||
$(OUTDIR)/signame.obj \
|
$(OUTDIR)/signame.obj \
|
||||||
|
$(OUTDIR)/strcache.obj \
|
||||||
$(OUTDIR)/variable.obj \
|
$(OUTDIR)/variable.obj \
|
||||||
$(OUTDIR)/version.obj \
|
$(OUTDIR)/version.obj \
|
||||||
$(OUTDIR)/vpath.obj \
|
$(OUTDIR)/vpath.obj \
|
||||||
|
@ -321,3 +321,21 @@ Bug reports:
|
|||||||
|
|
||||||
Enjoy,
|
Enjoy,
|
||||||
Eli Zaretskii <eliz@is.elta.co.il>
|
Eli Zaretskii <eliz@is.elta.co.il>
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
@ -157,3 +157,21 @@ To run the testsuite do the following:
|
|||||||
All tests should work fine with the exception of "default_names" which
|
All tests should work fine with the exception of "default_names" which
|
||||||
is because OS/2 file systems are not case sensitive ("makefile" and
|
is because OS/2 file systems are not case sensitive ("makefile" and
|
||||||
"Makefile" specify the same file).
|
"Makefile" specify the same file).
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
@ -269,3 +269,20 @@ Bug reports:
|
|||||||
|
|
||||||
Please submit bugs via the normal bug reporting mechanism which
|
Please submit bugs via the normal bug reporting mechanism which
|
||||||
is described in the GNU make manual and the base README.
|
is described in the GNU make manual and the base README.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
@ -93,3 +93,21 @@ SunOS 4.1.x:
|
|||||||
#else
|
#else
|
||||||
|
|
||||||
YMMV.
|
YMMV.
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
18
README.cvs
18
README.cvs
@ -1,5 +1,23 @@
|
|||||||
-*-text-*-
|
-*-text-*-
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
|
||||||
Obtaining CVS Code
|
Obtaining CVS Code
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
@ -168,3 +168,21 @@ Please note there are two _separate_ ports of GNU make for Microsoft
|
|||||||
systems: a native Windows tool built with (for example) MSVC or Cygwin,
|
systems: a native Windows tool built with (for example) MSVC or Cygwin,
|
||||||
and a DOS-based tool built with DJGPP. Please be sure you are looking
|
and a DOS-based tool built with DJGPP. Please be sure you are looking
|
||||||
at the right README!
|
at the right README!
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
@ -1,23 +1,23 @@
|
|||||||
# NOTE: If you have no `make' program at all to process this makefile, run
|
# -*-Makefile-*- for building GNU make with smake
|
||||||
# `build.sh' instead.
|
|
||||||
#
|
#
|
||||||
# Copyright (C) 1988, 89, 91, 92, 93, 94, 1995 Free Software Foundation, Inc.
|
# NOTE: If you have no 'make' program at all to process this makefile,
|
||||||
|
# run 'build.sh' instead.
|
||||||
|
#
|
||||||
|
# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
# This file is part of GNU Make.
|
# This file is part of GNU Make.
|
||||||
#
|
#
|
||||||
# GNU Make is free software; you can redistribute it and/or modify
|
# GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
# it under the terms of the GNU General Public License as published by
|
# terms of the GNU General Public License as published by the Free Software
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
# Foundation; either version 2, or (at your option) any later version.
|
||||||
# any later version.
|
|
||||||
#
|
#
|
||||||
# GNU Make is distributed in the hope that it will be useful,
|
# GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License along with
|
||||||
# along with GNU Make; see the file COPYING. If not, write to
|
# GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
# Boston, MA 02111-1307, USA.
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Makefile for GNU Make
|
# Makefile for GNU Make
|
||||||
@ -125,7 +125,7 @@ CTAGS = ctags -w
|
|||||||
|
|
||||||
objs = commands.o job.o dir.o file.o misc.o main.o read.o remake.o \
|
objs = commands.o job.o dir.o file.o misc.o main.o read.o remake.o \
|
||||||
rule.o implicit.o default.o variable.o expand.o function.o \
|
rule.o implicit.o default.o variable.o expand.o function.o \
|
||||||
vpath.o version.o ar.o arscan.o signame.o hash.o \
|
vpath.o version.o ar.o arscan.o signame.o strcache.o hash.o \
|
||||||
remote-$(REMOTE).o $(GLOB) $(GETOPT) $(ALLOCA) $(extras)
|
remote-$(REMOTE).o $(GLOB) $(GETOPT) $(ALLOCA) $(extras)
|
||||||
srcs = $(srcdir)commands.c $(srcdir)job.c $(srcdir)dir.c \
|
srcs = $(srcdir)commands.c $(srcdir)job.c $(srcdir)dir.c \
|
||||||
$(srcdir)file.c $(srcdir)getloadavg.c $(srcdir)misc.c \
|
$(srcdir)file.c $(srcdir)getloadavg.c $(srcdir)misc.c \
|
||||||
@ -134,7 +134,7 @@ srcs = $(srcdir)commands.c $(srcdir)job.c $(srcdir)dir.c \
|
|||||||
$(srcdir)variable.c $(srcdir)expand.c $(srcdir)function.c \
|
$(srcdir)variable.c $(srcdir)expand.c $(srcdir)function.c \
|
||||||
$(srcdir)vpath.c $(srcdir)version.c $(srcdir)hash.c \
|
$(srcdir)vpath.c $(srcdir)version.c $(srcdir)hash.c \
|
||||||
$(srcdir)remote-$(REMOTE).c \
|
$(srcdir)remote-$(REMOTE).c \
|
||||||
$(srcdir)ar.c $(srcdir)arscan.c \
|
$(srcdir)ar.c $(srcdir)arscan.c $(srcdir)strcache.c \
|
||||||
$(srcdir)signame.c $(srcdir)signame.h $(GETOPT_SRC) \
|
$(srcdir)signame.c $(srcdir)signame.h $(GETOPT_SRC) \
|
||||||
$(srcdir)commands.h $(srcdir)dep.h $(srcdir)file.h \
|
$(srcdir)commands.h $(srcdir)dep.h $(srcdir)file.h \
|
||||||
$(srcdir)job.h $(srcdir)make.h $(srcdir)rule.h \
|
$(srcdir)job.h $(srcdir)make.h $(srcdir)rule.h \
|
||||||
|
55
TODO.private
55
TODO.private
@ -41,17 +41,13 @@ port the current tests to whatever you do :).
|
|||||||
The Rest of the List
|
The Rest of the List
|
||||||
--------------------
|
--------------------
|
||||||
|
|
||||||
1) Allow variables/functions to expand to other make rules which are
|
1) Option to check more than timestamps to determine if targets have
|
||||||
then interpreted, with newlines handled correctly. This is a
|
|
||||||
biggee, and is on my plate. I already have partially-working code.
|
|
||||||
|
|
||||||
2) Option to check more than timestamps to determine if targets have
|
|
||||||
changed. This is also a very big one. It's _close_ to my plate :),
|
changed. This is also a very big one. It's _close_ to my plate :),
|
||||||
and I have very definite ideas about how I would like it done.
|
and I have very definite ideas about how I would like it done.
|
||||||
Please pick something else unless you must have this feature. If
|
Please pick something else unless you must have this feature. If
|
||||||
you try it, please work _extremely_ closely with me on it.
|
you try it, please work _extremely_ closely with me on it.
|
||||||
|
|
||||||
2a) Possibly a special case of this is the .KEEP_STATE feature of Sun's
|
1a) Possibly a special case of this is the .KEEP_STATE feature of Sun's
|
||||||
make. Some great folks at W U. in Canada did an implementation of
|
make. Some great folks at W U. in Canada did an implementation of
|
||||||
this for a class project. Their approach is reasonable and
|
this for a class project. Their approach is reasonable and
|
||||||
workable, but doesn't really fit into my ideas for #2. Maybe
|
workable, but doesn't really fit into my ideas for #2. Maybe
|
||||||
@ -60,7 +56,7 @@ The Rest of the List
|
|||||||
|
|
||||||
[K R Praveen <praveen@cair.res.in>]
|
[K R Praveen <praveen@cair.res.in>]
|
||||||
|
|
||||||
3) Currently you can use "%.foo %.bar : %.baz" to mean that one
|
2) Currently you can use "%.foo %.bar : %.baz" to mean that one
|
||||||
invocation of the rule builds both targets. GNU make needs a way to
|
invocation of the rule builds both targets. GNU make needs a way to
|
||||||
do that for explicit rules, too. I heard a rumor that some versions
|
do that for explicit rules, too. I heard a rumor that some versions
|
||||||
of make all you to say "a.foo + a.bar : a.baz" to do this (i.e., a
|
of make all you to say "a.foo + a.bar : a.baz" to do this (i.e., a
|
||||||
@ -68,25 +64,22 @@ The Rest of the List
|
|||||||
best syntax or not... what if you say "a.foo + a.bar a.bam : a.baz";
|
best syntax or not... what if you say "a.foo + a.bar a.bam : a.baz";
|
||||||
what does that mean?
|
what does that mean?
|
||||||
|
|
||||||
4) Multi-token pattern rule matching (allow %1/%2.c : %1/obj/%2.o,
|
3) Multi-token pattern rule matching (allow %1/%2.c : %1/obj/%2.o,
|
||||||
etc., or something like that). I have an implementation of this
|
etc., or something like that). I have an implementation of this
|
||||||
already, it just needs some refinement... maybe. Additionally I
|
already, it just needs some refinement... maybe. Additionally I
|
||||||
think it only works for static pattern rules; it might need to be
|
think it only works for static pattern rules; it might need to be
|
||||||
fixed up to work with normal pattern rules, too.
|
fixed up to work with normal pattern rules, too.
|
||||||
|
|
||||||
5) More robust clock skew detection algorithm: less false hits. I have
|
4) Provide a .TARGETS variable, containing the names of the targets
|
||||||
some notes on this from various discussions.
|
defined in the makefile.
|
||||||
|
|
||||||
6) Provide MAKETARGETS and MAKEVARIABLES variables, containing the
|
Actually, I now think a $(targets ...) function, at least, might be
|
||||||
names of the targets and variables defined in the makefile.
|
|
||||||
|
|
||||||
Actually, I now think a $(targets ...) function, at least, would be
|
|
||||||
better than a MAKETARGETS variable. The argument would be types of
|
better than a MAKETARGETS variable. The argument would be types of
|
||||||
targets to list: "phony" is the most useful one. I suppose
|
targets to list: "phony" is the most useful one. I suppose
|
||||||
"default" might also be useful. Maybe some others; check the
|
"default" might also be useful. Maybe some others; check the
|
||||||
bitfields to see what might be handy. This one is pretty easy.
|
bitfields to see what might be handy.
|
||||||
|
|
||||||
7) Some sort of operating-system independent way of handling paths
|
5) Some sort of operating-system independent way of handling paths
|
||||||
would be outstanding, so makefiles can be written for UNIX, VMS,
|
would be outstanding, so makefiles can be written for UNIX, VMS,
|
||||||
DOS, MS-Windows, Amiga, etc. with a minimum of specialization.
|
DOS, MS-Windows, Amiga, etc. with a minimum of specialization.
|
||||||
|
|
||||||
@ -95,18 +88,12 @@ The Rest of the List
|
|||||||
dunno, maybe something like $[...]? This may well not be worth
|
dunno, maybe something like $[...]? This may well not be worth
|
||||||
doing until #1 is done.
|
doing until #1 is done.
|
||||||
|
|
||||||
9) Right now the .PRECIOUS, .INTERMEDIATE, and .SECONDARY
|
6) Right now the .PRECIOUS, .INTERMEDIATE, and .SECONDARY
|
||||||
pseudo-targets have different capabilities. For example, .PRECIOUS
|
pseudo-targets have different capabilities. For example, .PRECIOUS
|
||||||
can take a "%", the others can't. Etc. These should all work the
|
can take a "%", the others can't. Etc. These should all work the
|
||||||
same, insofar as that makes sense.
|
same, insofar as that makes sense.
|
||||||
|
|
||||||
10) A syntax that specifies a build order _without_ implying a
|
7) Improved debugging/logging/etc. capabilities. Part of this is done:
|
||||||
dependency relationship. That is, a way to say "A must be built
|
|
||||||
before B" that doesn't force B to be built when A changes. This is
|
|
||||||
very important for parallel builds: sometimes you need some stuff
|
|
||||||
done first but you don't want to rebuild everything because of it.
|
|
||||||
|
|
||||||
11) Improved debugging/logging/etc. capabilities. Part of this is done:
|
|
||||||
I introduced a number of debugging enhancements. Tim Magill is (I
|
I introduced a number of debugging enhancements. Tim Magill is (I
|
||||||
think) looking into options to control output more selectively.
|
think) looking into options to control output more selectively.
|
||||||
One thing I want to do in debugging is add a flag to allow debugging
|
One thing I want to do in debugging is add a flag to allow debugging
|
||||||
@ -115,7 +102,7 @@ The Rest of the List
|
|||||||
you just can't figure it out. The way variables are expanded now
|
you just can't figure it out. The way variables are expanded now
|
||||||
means this isn't 100% trivial, but it probably won't be hard.
|
means this isn't 100% trivial, but it probably won't be hard.
|
||||||
|
|
||||||
12) Integration of Guile as an embedded scripting language. This means:
|
8) Integration of Guile as an embedded scripting language. This means:
|
||||||
allowing Guile functions to be declared in makefiles somehow, then
|
allowing Guile functions to be declared in makefiles somehow, then
|
||||||
providing a syntax for invoking them. At least one formulation of
|
providing a syntax for invoking them. At least one formulation of
|
||||||
that would have the function resolve to a string which would be
|
that would have the function resolve to a string which would be
|
||||||
@ -138,3 +125,21 @@ The Rest of the List
|
|||||||
in the first place?
|
in the first place?
|
||||||
|
|
||||||
Something to think about.
|
Something to think about.
|
||||||
|
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
24
amiga.c
24
amiga.c
@ -1,21 +1,19 @@
|
|||||||
/* Running commands on Amiga
|
/* Running commands on Amiga
|
||||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
#include "variable.h"
|
#include "variable.h"
|
||||||
|
24
amiga.h
24
amiga.h
@ -1,21 +1,19 @@
|
|||||||
/* Definitions for amiga specific things
|
/* Definitions for amiga specific things
|
||||||
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
extern int MyExecute PARAMS ((char ** argv));
|
extern int MyExecute PARAMS ((char ** argv));
|
||||||
extern char * wildcard_expansion PARAMS ((char * wc, char * o));
|
extern char * wildcard_expansion PARAMS ((char * wc, char * o));
|
||||||
|
25
ar.c
25
ar.c
@ -1,22 +1,19 @@
|
|||||||
/* Interface to `ar' archives for GNU Make.
|
/* Interface to `ar' archives for GNU Make.
|
||||||
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1997,
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
2002 Free Software Foundation, Inc.
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
|
|
||||||
|
25
arscan.c
25
arscan.c
@ -1,20 +1,19 @@
|
|||||||
/* Library function for scanning an archive file.
|
/* Library function for scanning an archive file.
|
||||||
Copyright (C) 1987,89,91,92,93,94,95,97 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
|
This file is part of GNU Make.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with this program; if not, write to the Free Software
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
|
|
||||||
|
@ -2,23 +2,21 @@
|
|||||||
# Shell script to build GNU Make in the absence of any `make' program.
|
# Shell script to build GNU Make in the absence of any `make' program.
|
||||||
# @configure_input@
|
# @configure_input@
|
||||||
|
|
||||||
# Copyright (C) 1993, 1994, 1997, 2003, 2004 Free Software Foundation, Inc.
|
# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
# This file is part of GNU Make.
|
# This file is part of GNU Make.
|
||||||
#
|
#
|
||||||
# GNU Make is free software; you can redistribute it and/or modify
|
# GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
# it under the terms of the GNU General Public License as published by
|
# terms of the GNU General Public License as published by the Free Software
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
# Foundation; either version 2, or (at your option) any later version.
|
||||||
# any later version.
|
|
||||||
#
|
#
|
||||||
# GNU Make is distributed in the hope that it will be useful,
|
# GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License along with
|
||||||
# along with GNU Make; see the file COPYING. If not, write to
|
# GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
# Boston, MA 02111-1307, USA.
|
|
||||||
|
|
||||||
# See Makefile.in for comments describing these variables.
|
# See Makefile.in for comments describing these variables.
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
if not exist config.h copy config.h.W32 config.h
|
if not exist config.h copy config.h.W32 config.h
|
||||||
cd w32\subproc
|
cd w32\subproc
|
||||||
@echo "Creating the subproc library"
|
@echo "Creating the subproc library"
|
||||||
@ -47,6 +48,8 @@ cl.exe /nologo /MT /W4 /GX /Zi /YX /Od /I . /I glob /I w32/include /D _DEBUG /D
|
|||||||
echo WinDebug\arscan.obj >>link.dbg
|
echo WinDebug\arscan.obj >>link.dbg
|
||||||
cl.exe /nologo /MT /W4 /GX /Zi /YX /Od /I . /I glob /I w32/include /D _DEBUG /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinDebug/ /Fp.\WinDebug/%make%.pch /Fo.\WinDebug/ /Fd.\WinDebug/%make%.pdb /c hash.c
|
cl.exe /nologo /MT /W4 /GX /Zi /YX /Od /I . /I glob /I w32/include /D _DEBUG /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinDebug/ /Fp.\WinDebug/%make%.pch /Fo.\WinDebug/ /Fd.\WinDebug/%make%.pdb /c hash.c
|
||||||
echo WinDebug\hash.obj >>link.dbg
|
echo WinDebug\hash.obj >>link.dbg
|
||||||
|
cl.exe /nologo /MT /W4 /GX /Zi /YX /Od /I . /I glob /I w32/include /D _DEBUG /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinDebug/ /Fp.\WinDebug/%make%.pch /Fo.\WinDebug/ /Fd.\WinDebug/%make%.pdb /c strcache.c
|
||||||
|
echo WinDebug\strcache.obj >>link.dbg
|
||||||
cl.exe /nologo /MT /W4 /GX /Zi /YX /Od /I . /I glob /I w32/include /D _DEBUG /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinDebug/ /Fp.\WinDebug/%make%.pch /Fo.\WinDebug/ /Fd.\WinDebug/%make%.pdb /c remake.c
|
cl.exe /nologo /MT /W4 /GX /Zi /YX /Od /I . /I glob /I w32/include /D _DEBUG /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinDebug/ /Fp.\WinDebug/%make%.pch /Fo.\WinDebug/ /Fd.\WinDebug/%make%.pdb /c remake.c
|
||||||
echo WinDebug\remake.obj >>link.dbg
|
echo WinDebug\remake.obj >>link.dbg
|
||||||
cl.exe /nologo /MT /W4 /GX /Zi /YX /Od /I . /I glob /I w32/include /D _DEBUG /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinDebug/ /Fp.\WinDebug/%make%.pch /Fo.\WinDebug/ /Fd.\WinDebug/%make%.pdb /c misc.c
|
cl.exe /nologo /MT /W4 /GX /Zi /YX /Od /I . /I glob /I w32/include /D _DEBUG /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinDebug/ /Fp.\WinDebug/%make%.pch /Fo.\WinDebug/ /Fd.\WinDebug/%make%.pdb /c misc.c
|
||||||
@ -69,7 +72,7 @@ cl.exe /nologo /MT /W4 /GX /Zi /YX /Od /I . /I glob /I w32/include /D _DEBUG /D
|
|||||||
echo WinDebug\pathstuff.obj >>link.dbg
|
echo WinDebug\pathstuff.obj >>link.dbg
|
||||||
echo off
|
echo off
|
||||||
echo "Linking WinDebug/%make%.exe"
|
echo "Linking WinDebug/%make%.exe"
|
||||||
rem link.exe kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib w32\subproc\windebug\subproc.lib /NOLOGO /SUBSYSTEM:console /INCREMENTAL:yes /PDB:.\WinDebug/%make%.pdb /DEBUG /MACHINE:I386 /OUT:.\WinDebug/%make%.exe .\WinDebug/variable.obj .\WinDebug/rule.obj .\WinDebug/remote-stub.obj .\WinDebug/commands.obj .\WinDebug/file.obj .\WinDebug/getloadavg.obj .\WinDebug/default.obj .\WinDebug/signame.obj .\WinDebug/expand.obj .\WinDebug/dir.obj .\WinDebug/main.obj .\WinDebug/getopt1.obj .\WinDebug/job.obj .\WinDebug/read.obj .\WinDebug/version.obj .\WinDebug/getopt.obj .\WinDebug/arscan.obj .\WinDebug/remake.obj .\WinDebug/hash.obj .\WinDebug/misc.obj .\WinDebug/ar.obj .\WinDebug/function.obj .\WinDebug/vpath.obj .\WinDebug/implicit.obj .\WinDebug/dirent.obj .\WinDebug/glob.obj .\WinDebug/fnmatch.obj .\WinDebug/pathstuff.obj
|
rem link.exe kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib w32\subproc\windebug\subproc.lib /NOLOGO /SUBSYSTEM:console /INCREMENTAL:yes /PDB:.\WinDebug/%make%.pdb /DEBUG /MACHINE:I386 /OUT:.\WinDebug/%make%.exe .\WinDebug/variable.obj .\WinDebug/rule.obj .\WinDebug/remote-stub.obj .\WinDebug/commands.obj .\WinDebug/file.obj .\WinDebug/getloadavg.obj .\WinDebug/default.obj .\WinDebug/signame.obj .\WinDebug/expand.obj .\WinDebug/dir.obj .\WinDebug/main.obj .\WinDebug/getopt1.obj .\WinDebug/job.obj .\WinDebug/read.obj .\WinDebug/version.obj .\WinDebug/getopt.obj .\WinDebug/arscan.obj .\WinDebug/remake.obj .\WinDebug/hash.obj .\WinDebug/strcache.obj .\WinDebug/misc.obj .\WinDebug/ar.obj .\WinDebug/function.obj .\WinDebug/vpath.obj .\WinDebug/implicit.obj .\WinDebug/dirent.obj .\WinDebug/glob.obj .\WinDebug/fnmatch.obj .\WinDebug/pathstuff.obj
|
||||||
echo kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib w32\subproc\windebug\subproc.lib >>link.dbg
|
echo kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib w32\subproc\windebug\subproc.lib >>link.dbg
|
||||||
link.exe /NOLOGO /SUBSYSTEM:console /INCREMENTAL:yes /PDB:.\WinDebug/%make%.pdb /DEBUG /MACHINE:I386 /OUT:.\WinDebug/%make%.exe @link.dbg
|
link.exe /NOLOGO /SUBSYSTEM:console /INCREMENTAL:yes /PDB:.\WinDebug/%make%.pdb /DEBUG /MACHINE:I386 /OUT:.\WinDebug/%make%.exe @link.dbg
|
||||||
if not exist .\WinDebug/%make%.exe echo "WinDebug build failed"
|
if not exist .\WinDebug/%make%.exe echo "WinDebug build failed"
|
||||||
@ -114,6 +117,8 @@ cl.exe /nologo /MT /W4 /GX /YX /O2 /I . /I glob /I w32/include /D NDEBUG /D WIND
|
|||||||
echo WinRel\remake.obj >>link.rel
|
echo WinRel\remake.obj >>link.rel
|
||||||
cl.exe /nologo /MT /W4 /GX /YX /O2 /I . /I glob /I w32/include /D NDEBUG /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinRel/ /Fp.\WinRel/%make%.pch /Fo.\WinRel/ /c hash.c
|
cl.exe /nologo /MT /W4 /GX /YX /O2 /I . /I glob /I w32/include /D NDEBUG /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinRel/ /Fp.\WinRel/%make%.pch /Fo.\WinRel/ /c hash.c
|
||||||
echo WinRel\hash.obj >>link.rel
|
echo WinRel\hash.obj >>link.rel
|
||||||
|
cl.exe /nologo /MT /W4 /GX /YX /O2 /I . /I glob /I w32/include /D NDEBUG /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinRel/ /Fp.\WinRel/%make%.pch /Fo.\WinRel/ /c strcache.c
|
||||||
|
echo WinRel\strcache.obj >>link.rel
|
||||||
cl.exe /nologo /MT /W4 /GX /YX /O2 /I . /I glob /I w32/include /D NDEBUG /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinRel/ /Fp.\WinRel/%make%.pch /Fo.\WinRel/ /c misc.c
|
cl.exe /nologo /MT /W4 /GX /YX /O2 /I . /I glob /I w32/include /D NDEBUG /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinRel/ /Fp.\WinRel/%make%.pch /Fo.\WinRel/ /c misc.c
|
||||||
echo WinRel\misc.obj >>link.rel
|
echo WinRel\misc.obj >>link.rel
|
||||||
cl.exe /nologo /MT /W4 /GX /YX /O2 /I . /I glob /I w32/include /D NDEBUG /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinRel/ /Fp.\WinRel/%make%.pch /Fo.\WinRel/ /c ar.c
|
cl.exe /nologo /MT /W4 /GX /YX /O2 /I . /I glob /I w32/include /D NDEBUG /D WINDOWS32 /D WIN32 /D _CONSOLE /D HAVE_CONFIG_H /FR.\WinRel/ /Fp.\WinRel/%make%.pch /Fo.\WinRel/ /c ar.c
|
||||||
@ -134,7 +139,7 @@ cl.exe /nologo /MT /W4 /GX /YX /O2 /I . /I glob /I w32/include /D NDEBUG /D WIND
|
|||||||
echo WinRel\pathstuff.obj >>link.rel
|
echo WinRel\pathstuff.obj >>link.rel
|
||||||
echo off
|
echo off
|
||||||
echo "Linking WinRel/%make%.exe"
|
echo "Linking WinRel/%make%.exe"
|
||||||
rem link.exe kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib w32\subproc\winrel\subproc.lib /NOLOGO /SUBSYSTEM:console /INCREMENTAL:no /PDB:.\WinRel/%make%.pdb /MACHINE:I386 /OUT:.\WinRel/%make%.exe .\WinRel/variable.obj .\WinRel/rule.obj .\WinRel/remote-stub.obj .\WinRel/commands.obj .\WinRel/file.obj .\WinRel/getloadavg.obj .\WinRel/default.obj .\WinRel/signame.obj .\WinRel/expand.obj .\WinRel/dir.obj .\WinRel/main.obj .\WinRel/getopt1.obj .\WinRel/job.obj .\WinRel/read.obj .\WinRel/version.obj .\WinRel/getopt.obj .\WinRel/arscan.obj .\WinRel/remake.obj .\WinRel/misc.obj .\WinRel/hash.obj .\WinRel/ar.obj .\WinRel/function.obj .\WinRel/vpath.obj .\WinRel/implicit.obj .\WinRel/dirent.obj .\WinRel/glob.obj .\WinRel/fnmatch.obj .\WinRel/pathstuff.obj
|
rem link.exe kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib w32\subproc\winrel\subproc.lib /NOLOGO /SUBSYSTEM:console /INCREMENTAL:no /PDB:.\WinRel/%make%.pdb /MACHINE:I386 /OUT:.\WinRel/%make%.exe .\WinRel/variable.obj .\WinRel/rule.obj .\WinRel/remote-stub.obj .\WinRel/commands.obj .\WinRel/file.obj .\WinRel/getloadavg.obj .\WinRel/default.obj .\WinRel/signame.obj .\WinRel/expand.obj .\WinRel/dir.obj .\WinRel/main.obj .\WinRel/getopt1.obj .\WinRel/job.obj .\WinRel/read.obj .\WinRel/version.obj .\WinRel/getopt.obj .\WinRel/arscan.obj .\WinRel/remake.obj .\WinRel/misc.obj .\WinRel/hash.obj .\WinRel/strcache.obj .\WinRel/ar.obj .\WinRel/function.obj .\WinRel/vpath.obj .\WinRel/implicit.obj .\WinRel/dirent.obj .\WinRel/glob.obj .\WinRel/fnmatch.obj .\WinRel/pathstuff.obj
|
||||||
echo kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib w32\subproc\winrel\subproc.lib >>link.rel
|
echo kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib w32\subproc\winrel\subproc.lib >>link.rel
|
||||||
link.exe /NOLOGO /SUBSYSTEM:console /INCREMENTAL:no /PDB:.\WinRel/%make%.pdb /MACHINE:I386 /OUT:.\WinRel/%make%.exe @link.rel
|
link.exe /NOLOGO /SUBSYSTEM:console /INCREMENTAL:no /PDB:.\WinRel/%make%.pdb /MACHINE:I386 /OUT:.\WinRel/%make%.exe @link.rel
|
||||||
if not exist .\WinRel/%make%.exe echo "WinRel build failed"
|
if not exist .\WinRel/%make%.exe echo "WinRel build failed"
|
||||||
@ -162,6 +167,7 @@ gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32
|
|||||||
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c arscan.c
|
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c arscan.c
|
||||||
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c remake.c
|
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c remake.c
|
||||||
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c hash.c
|
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c hash.c
|
||||||
|
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c strcache.c
|
||||||
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c misc.c
|
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c misc.c
|
||||||
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c ar.c
|
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c ar.c
|
||||||
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c function.c
|
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c function.c
|
||||||
@ -170,6 +176,22 @@ gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32
|
|||||||
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c ./glob/glob.c -o glob.o
|
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c ./glob/glob.c -o glob.o
|
||||||
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c ./glob/fnmatch.c -o fnmatch.o
|
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c ./glob/fnmatch.c -o fnmatch.o
|
||||||
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c ./w32/pathstuff.c -o pathstuff.o
|
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I. -I./glob -I./w32/include -DWINDOWS32 -DHAVE_CONFIG_H -c ./w32/pathstuff.c -o pathstuff.o
|
||||||
gcc -mthreads -gstabs+ -ggdb3 -o gnumake.exe variable.o rule.o remote-stub.o commands.o file.o getloadavg.o default.o signame.o expand.o dir.o main.o getopt1.o job.o read.o version.o getopt.o arscan.o remake.o misc.o hash.o ar.o function.o vpath.o implicit.o glob.o fnmatch.o pathstuff.o w32_misc.o sub_proc.o w32err.o -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32
|
gcc -mthreads -gstabs+ -ggdb3 -o gnumake.exe variable.o rule.o remote-stub.o commands.o file.o getloadavg.o default.o signame.o expand.o dir.o main.o getopt1.o job.o read.o version.o getopt.o arscan.o remake.o misc.o hash.o strcache.o ar.o function.o vpath.o implicit.o glob.o fnmatch.o pathstuff.o w32_misc.o sub_proc.o w32err.o -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32
|
||||||
:BuildEnd
|
:BuildEnd
|
||||||
echo on
|
echo on
|
||||||
|
|
||||||
|
rem Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
rem 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
|
rem This file is part of GNU Make.
|
||||||
|
|
||||||
|
rem GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
|
rem terms of the GNU General Public License as published by the Free Software
|
||||||
|
rem Foundation; either version 2, or (at your option) any later version.
|
||||||
|
|
||||||
|
rem GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
|
rem WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
|
rem A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
rem You should have received a copy of the GNU General Public License along with
|
||||||
|
rem GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
rem Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
24
commands.c
24
commands.c
@ -1,21 +1,19 @@
|
|||||||
/* Command processing for GNU Make.
|
/* Command processing for GNU Make.
|
||||||
Copyright (C) 1988,89,91,92,93,94,95,96,97 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
#include "dep.h"
|
#include "dep.h"
|
||||||
|
24
commands.h
24
commands.h
@ -1,21 +1,19 @@
|
|||||||
/* Definition of data structures describing shell commands for GNU Make.
|
/* Definition of data structures describing shell commands for GNU Make.
|
||||||
Copyright (C) 1988, 1989, 1991, 1993 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
/* Structure that gives the commands to make a file
|
/* Structure that gives the commands to make a file
|
||||||
and information about where these commands came from. */
|
and information about where these commands came from. */
|
||||||
|
@ -1,4 +1,21 @@
|
|||||||
/* config.h-vms. Generated by hand by Klaus Kämpf <kkaempf@rmi.de> */
|
/* config.h-vms. Generated by hand by Klaus Kämpf <kkaempf@rmi.de> -*-C-*-
|
||||||
|
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
/* config.h. Generated automatically by configure. */
|
/* config.h. Generated automatically by configure. */
|
||||||
/* config.h.in. Generated automatically from configure.in by autoheader. */
|
/* config.h.in. Generated automatically from configure.in by autoheader. */
|
||||||
|
|
||||||
|
@ -1,4 +1,20 @@
|
|||||||
/* config.h.W32 -*-C-*- */
|
/* config.h.W32 -- hand-massaged config.h file for Windows builds -*-C-*-
|
||||||
|
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
/* Suppress some Visual C++ warnings.
|
/* Suppress some Visual C++ warnings.
|
||||||
Maybe after the code cleanup for ISO C we can remove some/all of these. */
|
Maybe after the code cleanup for ISO C we can remove some/all of these. */
|
||||||
|
@ -21,4 +21,20 @@
|
|||||||
* lib-prefix.m4: New file, from gettext-0.11.1.
|
* lib-prefix.m4: New file, from gettext-0.11.1.
|
||||||
* progtest.m4: New file, from gettext-0.11.1.
|
* progtest.m4: New file, from gettext-0.11.1.
|
||||||
* Makefile.am: New file.
|
* Makefile.am: New file.
|
||||||
|
|
||||||
|
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
@ -1,4 +1,19 @@
|
|||||||
# -*-Makefile-*-, or close enough
|
# -*-Makefile-*-, or close enough
|
||||||
|
# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
# GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
EXTRA_DIST = codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 nls.m4 \
|
EXTRA_DIST = codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 nls.m4 \
|
||||||
intdiv0.m4 inttypes-pri.m4 inttypes.m4 inttypes_h.m4 \
|
intdiv0.m4 inttypes-pri.m4 inttypes.m4 inttypes_h.m4 \
|
||||||
|
@ -1,6 +1,22 @@
|
|||||||
# Test if the system uses DOS-style pathnames (drive specs and backslashes)
|
# Test if the system uses DOS-style pathnames (drive specs and backslashes)
|
||||||
# By Paul Smith <psmith@gnu.org>. Based on dos.m4 by Jim Meyering.
|
# By Paul Smith <psmith@gnu.org>. Based on dos.m4 by Jim Meyering.
|
||||||
|
|
||||||
|
# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
# GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
AC_DEFUN([pds_AC_DOS_PATHS],
|
AC_DEFUN([pds_AC_DOS_PATHS],
|
||||||
[
|
[
|
||||||
AC_CACHE_CHECK([whether system uses MSDOS-style paths], [ac_cv_dos_paths],
|
AC_CACHE_CHECK([whether system uses MSDOS-style paths], [ac_cv_dos_paths],
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
/* configh.dos -- hand-massaged config.h file for MS-DOS builds -*-C-*-
|
||||||
|
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
/* Many things are defined already by a system header. */
|
/* Many things are defined already by a system header. */
|
||||||
#include <sys/config.h>
|
#include <sys/config.h>
|
||||||
|
20
configure.in
20
configure.in
@ -1,6 +1,22 @@
|
|||||||
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
||||||
|
#
|
||||||
|
# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
# GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
AC_INIT([GNU make],[3.81beta4],[bug-make@gnu.org])
|
AC_INIT([GNU make],[3.81rc1],[bug-make@gnu.org])
|
||||||
|
|
||||||
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
||||||
AC_REVISION([[$Id$]])
|
AC_REVISION([[$Id$]])
|
||||||
@ -11,7 +27,7 @@ AC_CONFIG_SRCDIR(vpath.c)
|
|||||||
AC_CONFIG_HEADERS(config.h)
|
AC_CONFIG_HEADERS(config.h)
|
||||||
|
|
||||||
# Automake setup
|
# Automake setup
|
||||||
AM_INIT_AUTOMAKE([1.8.2])
|
AM_INIT_AUTOMAKE([1.9])
|
||||||
|
|
||||||
# Checks for programs.
|
# Checks for programs.
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
|
25
debug.h
25
debug.h
@ -1,22 +1,19 @@
|
|||||||
/* Debugging macros and interface.
|
/* Debugging macros and interface.
|
||||||
Copyright (C) 1999 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License along with
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
#define DB_NONE (0x000)
|
#define DB_NONE (0x000)
|
||||||
#define DB_BASIC (0x001)
|
#define DB_BASIC (0x001)
|
||||||
|
25
default.c
25
default.c
@ -1,22 +1,19 @@
|
|||||||
/* Data base of default implicit rules for GNU Make.
|
/* Data base of default implicit rules for GNU Make.
|
||||||
Copyright (C) 1988,1989,1990,1991,1992,1993,1994,1995,
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
1996,2003,2004 Free Software Foundation, Inc.
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
#include "filedef.h"
|
#include "filedef.h"
|
||||||
|
24
dep.h
24
dep.h
@ -1,21 +1,19 @@
|
|||||||
/* Definitions of dependency data structures for GNU Make.
|
/* Definitions of dependency data structures for GNU Make.
|
||||||
Copyright (C) 1988, 1989, 1991, 1992, 1993, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
/* Flag bits for the second argument to `read_makefile'.
|
/* Flag bits for the second argument to `read_makefile'.
|
||||||
These flags are saved in the `changed' field of each
|
These flags are saved in the `changed' field of each
|
||||||
|
54
dir.c
54
dir.c
@ -1,22 +1,19 @@
|
|||||||
/* Directory hashing for GNU Make.
|
/* Directory hashing for GNU Make.
|
||||||
Copyright (C) 1988, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
2002,2003 Free Software Foundation, Inc.
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
@ -643,19 +640,26 @@ dir_contents_file_exists_p (struct directory_contents *dir, char *filename)
|
|||||||
*/
|
*/
|
||||||
if (dir->path_key)
|
if (dir->path_key)
|
||||||
{
|
{
|
||||||
if (!(dir->fs_flags & FS_FAT)
|
if ((dir->fs_flags & FS_FAT) != 0)
|
||||||
&& (stat(dir->path_key, &st) == 0
|
{
|
||||||
&& st.st_mtime > dir->mtime))
|
dir->mtime = time ((time_t *) 0);
|
||||||
/* reset date stamp to show most recent re-process */
|
rehash = 1;
|
||||||
dir->mtime = st.st_mtime;
|
}
|
||||||
|
else if (stat(dir->path_key, &st) == 0 && st.st_mtime > dir->mtime)
|
||||||
|
{
|
||||||
|
/* reset date stamp to show most recent re-process. */
|
||||||
|
dir->mtime = st.st_mtime;
|
||||||
|
rehash = 1;
|
||||||
|
}
|
||||||
|
|
||||||
/* make sure directory can still be opened */
|
/* If it has been already read in, all done. */
|
||||||
dir->dirstream = opendir(dir->path_key);
|
if (!rehash)
|
||||||
|
return 0;
|
||||||
|
|
||||||
if (dir->dirstream)
|
/* make sure directory can still be opened; if not return. */
|
||||||
rehash = 1;
|
dir->dirstream = opendir(dir->path_key);
|
||||||
else
|
if (!dir->dirstream)
|
||||||
return 0; /* couldn't re-read - fail */
|
return 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
#endif
|
#endif
|
||||||
|
@ -1,4 +1,19 @@
|
|||||||
# -*-Makefile-*-, or close enough
|
# -*-Makefile-*-, or close enough
|
||||||
|
# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
# GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
TEXI2HTML = texi2html
|
TEXI2HTML = texi2html
|
||||||
TEXI2HTML_FLAGS = -split_chapter
|
TEXI2HTML_FLAGS = -split_chapter
|
||||||
|
@ -61,12 +61,13 @@ Texts. A copy of the license is included in the section entitled
|
|||||||
@author Richard M. Stallman, Roland McGrath, Paul D. Smith
|
@author Richard M. Stallman, Roland McGrath, Paul D. Smith
|
||||||
@page
|
@page
|
||||||
@vskip 0pt plus 1filll
|
@vskip 0pt plus 1filll
|
||||||
Copyright @copyright{} 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
|
Copyright @copyright{} 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996,
|
||||||
1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004 Free Software Foundation, Inc.
|
1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||||
|
Free Software Foundation, Inc.
|
||||||
@sp 2
|
@sp 2
|
||||||
Published by the Free Software Foundation @*
|
Published by the Free Software Foundation @*
|
||||||
59 Temple Place -- Suite 330, @*
|
51 Franklin St. -- Fifth Floor @*
|
||||||
Boston, MA 02111-1307 USA @*
|
Boston, MA 02110-1301 USA @*
|
||||||
ISBN @value{ISBN} @*
|
ISBN @value{ISBN} @*
|
||||||
|
|
||||||
Permission is granted to copy, distribute and/or modify this document
|
Permission is granted to copy, distribute and/or modify this document
|
||||||
|
20
dosbuild.bat
20
dosbuild.bat
@ -16,6 +16,8 @@ gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g variable.c -o variable.o
|
|||||||
gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g expand.c -o expand.o
|
gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g expand.c -o expand.o
|
||||||
gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g function.c -o function.o
|
gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g function.c -o function.o
|
||||||
gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g vpath.c -o vpath.o
|
gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g vpath.c -o vpath.o
|
||||||
|
gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g hash.c -o hash.o
|
||||||
|
gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g strcache.c -o strcache.o
|
||||||
gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g version.c -o version.o
|
gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g version.c -o version.o
|
||||||
gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g ar.c -o ar.o
|
gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g ar.c -o ar.o
|
||||||
gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g arscan.c -o arscan.o
|
gcc -c -I. -I./glob -DHAVE_CONFIG_H -O2 -g arscan.c -o arscan.o
|
||||||
@ -32,7 +34,7 @@ ar rv libglob.a glob.o fnmatch.o
|
|||||||
cd ..
|
cd ..
|
||||||
echo commands.o > respf.$$$
|
echo commands.o > respf.$$$
|
||||||
for %%f in (job dir file misc main read remake rule implicit default variable) do echo %%f.o >> respf.$$$
|
for %%f in (job dir file misc main read remake rule implicit default variable) do echo %%f.o >> respf.$$$
|
||||||
for %%f in (expand function vpath version ar arscan signame remote-stub getopt getopt1) do echo %%f.o >> respf.$$$
|
for %%f in (expand function vpath hash strcache version ar arscan signame remote-stub getopt getopt1) do echo %%f.o >> respf.$$$
|
||||||
echo glob/libglob.a >> respf.$$$
|
echo glob/libglob.a >> respf.$$$
|
||||||
@echo Linking...
|
@echo Linking...
|
||||||
@echo on
|
@echo on
|
||||||
@ -40,3 +42,19 @@ gcc -o make.new @respf.$$$
|
|||||||
@if exist make.exe echo Make.exe is now built!
|
@if exist make.exe echo Make.exe is now built!
|
||||||
@if not exist make.exe echo Make.exe build failed...
|
@if not exist make.exe echo Make.exe build failed...
|
||||||
@if exist make.exe del respf.$$$
|
@if exist make.exe del respf.$$$
|
||||||
|
|
||||||
|
@rem Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
@rem 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
|
@rem This file is part of GNU Make.
|
||||||
|
|
||||||
|
@rem GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
|
@rem terms of the GNU General Public License as published by the Free Software
|
||||||
|
@rem Foundation; either version 2, or (at your option) any later version.
|
||||||
|
|
||||||
|
@rem GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
|
@rem WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
|
@rem A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
@rem You should have received a copy of the GNU General Public License along with
|
||||||
|
@rem GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
@rem Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
24
expand.c
24
expand.c
@ -1,21 +1,19 @@
|
|||||||
/* Variable expansion functions for GNU Make.
|
/* Variable expansion functions for GNU Make.
|
||||||
Copyright (C) 1988, 89, 91, 92, 93, 95 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
|
|
||||||
|
25
file.c
25
file.c
@ -1,22 +1,19 @@
|
|||||||
/* Target file hash table management for GNU Make.
|
/* Target file management for GNU Make.
|
||||||
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
2002 Free Software Foundation, Inc.
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
|
|
||||||
|
25
filedef.h
25
filedef.h
@ -1,22 +1,19 @@
|
|||||||
/* Definition of target file data structures for GNU Make.
|
/* Definition of target file data structures for GNU Make.
|
||||||
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1997,
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
2002 Free Software Foundation, Inc.
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
|
|
||||||
/* Structure that represents the info on one file
|
/* Structure that represents the info on one file
|
||||||
|
24
function.c
24
function.c
@ -1,21 +1,19 @@
|
|||||||
/* Builtin function expansion for GNU Make.
|
/* Builtin function expansion for GNU Make.
|
||||||
Copyright (C) 1988, 1989, 1991-1997, 1999, 2002 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
#include "filedef.h"
|
#include "filedef.h"
|
||||||
|
40
implicit.c
40
implicit.c
@ -1,21 +1,19 @@
|
|||||||
/* Implicit rule searching for GNU Make.
|
/* Implicit rule searching for GNU Make.
|
||||||
Copyright (C) 1988,1989,1990,1991,1992,1993,1994,1997,2000,2004,2005 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
#include "filedef.h"
|
#include "filedef.h"
|
||||||
@ -261,9 +259,9 @@ pattern_search (struct file *file, int archive,
|
|||||||
that is not just `%'. */
|
that is not just `%'. */
|
||||||
int specific_rule_matched = 0;
|
int specific_rule_matched = 0;
|
||||||
|
|
||||||
register unsigned int i = 0; /* uninit checks OK */
|
unsigned int i = 0; /* uninit checks OK */
|
||||||
register struct rule *rule;
|
struct rule *rule;
|
||||||
register struct dep *dep, *expl_d;
|
struct dep *dep, *expl_d;
|
||||||
|
|
||||||
char *p, *vname;
|
char *p, *vname;
|
||||||
|
|
||||||
@ -666,13 +664,11 @@ pattern_search (struct file *file, int archive,
|
|||||||
anyway, no matter which implicit rule we choose. */
|
anyway, no matter which implicit rule we choose. */
|
||||||
|
|
||||||
for (expl_d = file->deps; expl_d != 0; expl_d = expl_d->next)
|
for (expl_d = file->deps; expl_d != 0; expl_d = expl_d->next)
|
||||||
if (strcmp (dep_name (expl_d), name) == 0) break;
|
if (streq (dep_name (expl_d), name))
|
||||||
|
break;
|
||||||
if (expl_d != 0)
|
if (expl_d != 0)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* The DEP->changed flag says that this dependency resides in a
|
/* The DEP->changed flag says that this dependency resides in a
|
||||||
nonexistent directory. So we normally can skip looking for
|
nonexistent directory. So we normally can skip looking for
|
||||||
the file. However, if CHECK_LASTSLASH is set, then the
|
the file. However, if CHECK_LASTSLASH is set, then the
|
||||||
@ -684,9 +680,7 @@ pattern_search (struct file *file, int archive,
|
|||||||
if (((f = lookup_file (name)) != 0 && f->is_target)
|
if (((f = lookup_file (name)) != 0 && f->is_target)
|
||||||
/*|| ((!dep->changed || check_lastslash) && */
|
/*|| ((!dep->changed || check_lastslash) && */
|
||||||
|| file_exists_p (name))
|
|| file_exists_p (name))
|
||||||
{
|
continue;
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* This code, given FILENAME = "lib/foo.o", dependency name
|
/* This code, given FILENAME = "lib/foo.o", dependency name
|
||||||
"lib/foo.c", and VPATH=src, searches for "src/lib/foo.c". */
|
"lib/foo.c", and VPATH=src, searches for "src/lib/foo.c". */
|
||||||
|
27
job.c
27
job.c
@ -1,22 +1,19 @@
|
|||||||
/* Job execution and handling for GNU Make.
|
/* Job execution and handling for GNU Make.
|
||||||
Copyright (C) 1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1999,
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
2000,2001,2002,2003,2004,2005 Free Software Foundation, Inc.
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
|
|
||||||
@ -383,7 +380,7 @@ child_error (char *target_name, int exit_code, int exit_sig, int coredump,
|
|||||||
{
|
{
|
||||||
if (ignored && silent_flag)
|
if (ignored && silent_flag)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
#ifdef VMS
|
#ifdef VMS
|
||||||
if (!(exit_code & 1))
|
if (!(exit_code & 1))
|
||||||
error (NILF,
|
error (NILF,
|
||||||
|
24
job.h
24
job.h
@ -1,21 +1,19 @@
|
|||||||
/* Definitions for managing subprocesses in GNU Make.
|
/* Definitions for managing subprocesses in GNU Make.
|
||||||
Copyright (C) 1992, 1993, 1996, 1999 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#ifndef SEEN_JOB_H
|
#ifndef SEEN_JOB_H
|
||||||
#define SEEN_JOB_H
|
#define SEEN_JOB_H
|
||||||
|
25
main.c
25
main.c
@ -1,22 +1,19 @@
|
|||||||
/* Argument parsing and main program of GNU Make.
|
/* Argument parsing and main program of GNU Make.
|
||||||
Copyright (C) 1988, 1989, 1990, 1991, 1994, 1995, 1996, 1997, 1998, 1999,
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
2002, 2003, 2005 Free Software Foundation, Inc.
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
#include "dep.h"
|
#include "dep.h"
|
||||||
|
@ -254,3 +254,20 @@ UPLOADS = upload-alpha upload-ftp
|
|||||||
.PHONY: $(UPLOADS)
|
.PHONY: $(UPLOADS)
|
||||||
$(UPLOADS): $(DIST_ARCHIVES) $(DIST_ARCHIVES_SIG) $(DIST_ARCHIVES_DIRECTIVE)
|
$(UPLOADS): $(DIST_ARCHIVES) $(DIST_ARCHIVES_SIG) $(DIST_ARCHIVES_DIRECTIVE)
|
||||||
$(FTPPUT) $(gnu-url)/$(@:upload-%=%) $^
|
$(FTPPUT) $(gnu-url)/$(@:upload-%=%) $^
|
||||||
|
|
||||||
|
|
||||||
|
# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
# GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
24
make.1
24
make.1
@ -339,3 +339,27 @@ See the chapter `Problems and Bugs' in
|
|||||||
This manual page contributed by Dennis Morse of Stanford University.
|
This manual page contributed by Dennis Morse of Stanford University.
|
||||||
It has been reworked by Roland McGrath. Further updates contributed by
|
It has been reworked by Roland McGrath. Further updates contributed by
|
||||||
Mike Frysinger.
|
Mike Frysinger.
|
||||||
|
.SH "COPYRIGHT"
|
||||||
|
Copyright (C) 1992, 1993, 1996, 1999 Free Software Foundation, Inc.
|
||||||
|
This file is part of GNU
|
||||||
|
.IR make .
|
||||||
|
.LP
|
||||||
|
GNU
|
||||||
|
.I 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 2, or (at your option) any later
|
||||||
|
version.
|
||||||
|
.LP
|
||||||
|
GNU
|
||||||
|
.I 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.
|
||||||
|
.LP
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with GNU
|
||||||
|
.IR make ;
|
||||||
|
see the file COPYING. If not, write to the Free Software Foundation,
|
||||||
|
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
|
25
make.h
25
make.h
@ -1,22 +1,19 @@
|
|||||||
/* Miscellaneous global declarations and portability cruft for GNU Make.
|
/* Miscellaneous global declarations and portability cruft for GNU Make.
|
||||||
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1999,
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
2002 Free Software Foundation, Inc.
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
/* We use <config.h> instead of "config.h" so that a compilation
|
/* We use <config.h> instead of "config.h" so that a compilation
|
||||||
using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
|
using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
|
||||||
|
2
make.lnk
2
make.lnk
@ -1,4 +1,4 @@
|
|||||||
FROM LIB:cres.o "commands.o"+"job.o"+"dir.o"+"file.o"+"misc.o"+"main.o"+"read.o"+"remake.o"+"rule.o"+"implicit.o"+"default.o"+"variable.o"+"expand.o"+"function.o"+"vpath.o"+"version.o"+"ar.o"+"arscan.o"+"signame.o"+"remote-stub.o"+"getopt.o"+"getopt1.o"+"alloca.o"+"amiga.o"
|
FROM LIB:cres.o "commands.o"+"job.o"+"dir.o"+"file.o"+"misc.o"+"main.o"+"read.o"+"remake.o"+"rule.o"+"implicit.o"+"default.o"+"variable.o"+"expand.o"+"function.o"+"vpath.o"+"version.o"+"ar.o"+"arscan.o"+"signame.o"+"remote-stub.o"+"getopt.o"+"getopt1.o"+"alloca.o"+"amiga.o"+"hash.o"+"strcache.o"
|
||||||
TO "make.new"
|
TO "make.new"
|
||||||
LIB glob/glob.lib LIB:sc.lib LIB:amiga.lib
|
LIB glob/glob.lib LIB:sc.lib LIB:amiga.lib
|
||||||
QUIET
|
QUIET
|
||||||
|
@ -157,6 +157,9 @@
|
|||||||
<File
|
<File
|
||||||
RelativePath=".\hash.c">
|
RelativePath=".\hash.c">
|
||||||
</File>
|
</File>
|
||||||
|
<File
|
||||||
|
RelativePath=".\strcache.c">
|
||||||
|
</File>
|
||||||
<File
|
<File
|
||||||
RelativePath=".\implicit.c">
|
RelativePath=".\implicit.c">
|
||||||
</File>
|
</File>
|
||||||
|
25
makefile.com
25
makefile.com
@ -69,7 +69,7 @@ $ endif
|
|||||||
$ filelist = "alloca ar arscan commands default dir expand file function " + -
|
$ filelist = "alloca ar arscan commands default dir expand file function " + -
|
||||||
"hash implicit job main misc read remake remote-stub rule " + -
|
"hash implicit job main misc read remake remote-stub rule " + -
|
||||||
"signame variable version vmsfunctions vmsify vpath " + -
|
"signame variable version vmsfunctions vmsify vpath " + -
|
||||||
"[.glob]glob [.glob]fnmatch getopt1 getopt"
|
"[.glob]glob [.glob]fnmatch getopt1 getopt strcache"
|
||||||
$ copy config.h-vms config.h
|
$ copy config.h-vms config.h
|
||||||
$ n=0
|
$ n=0
|
||||||
$ open/write optf make.opt
|
$ open/write optf make.opt
|
||||||
@ -95,7 +95,7 @@ $ if f$trnlnm("OPTF").nes."" then $ close optf
|
|||||||
$ if f$search("make.opt").nes."" then $ del make.opt;*
|
$ if f$search("make.opt").nes."" then $ del make.opt;*
|
||||||
$ exit
|
$ exit
|
||||||
$!
|
$!
|
||||||
$!------------------------------------------------------------------------------
|
$!-----------------------------------------------------------------------------
|
||||||
$!
|
$!
|
||||||
$! Check if this is a define relating to the properties of the C/C++
|
$! Check if this is a define relating to the properties of the C/C++
|
||||||
$! compiler
|
$! compiler
|
||||||
@ -111,7 +111,7 @@ $ close tmpc
|
|||||||
$ gosub cc_qual_check
|
$ gosub cc_qual_check
|
||||||
$ return
|
$ return
|
||||||
$!
|
$!
|
||||||
$!------------------------------------------------------------------------------
|
$!-----------------------------------------------------------------------------
|
||||||
$!
|
$!
|
||||||
$! Check for properties of C/C++ compiler
|
$! Check for properties of C/C++ compiler
|
||||||
$!
|
$!
|
||||||
@ -124,7 +124,7 @@ $ set message/fac/ident/sever/text
|
|||||||
$ delete/nolog 'tmpnam'.*;*
|
$ delete/nolog 'tmpnam'.*;*
|
||||||
$ if cc_qual then ccopt = ccopt + ccqual
|
$ if cc_qual then ccopt = ccopt + ccqual
|
||||||
$ return
|
$ return
|
||||||
$!------------------------------------------------------------------------------
|
$!-----------------------------------------------------------------------------
|
||||||
$!
|
$!
|
||||||
$ compileit : subroutine
|
$ compileit : subroutine
|
||||||
$ ploc = f$locate("]",p1)
|
$ ploc = f$locate("]",p1)
|
||||||
@ -136,3 +136,20 @@ $ cc'ccopt'/include=([],[.glob]) -
|
|||||||
'p1'
|
'p1'
|
||||||
$ exit
|
$ exit
|
||||||
$ endsubroutine : compileit
|
$ endsubroutine : compileit
|
||||||
|
$!
|
||||||
|
$!-----------------------------------------------------------------------------
|
||||||
|
$!Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
$!1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
$!GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
$!Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
39
makefile.vms
39
makefile.vms
@ -1,26 +1,26 @@
|
|||||||
# Copyright (C) 1988, 1989, 1996, 1997 Free Software Foundation, Inc.
|
# -*-Makefile-*- to build GNU make on VMS
|
||||||
|
#
|
||||||
|
# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
# This file is part of GNU Make.
|
# 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 2, 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
|
||||||
|
# GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
# VMS extensions from GNU Make 3.60 imported by
|
# VMS extensions from GNU Make 3.60 imported by
|
||||||
# Klaus Kämpf (kkaempf@rmi.de)
|
# Klaus Kämpf (kkaempf@rmi.de)
|
||||||
# Modified for version 3.78.1 by Hartmut.Becker@compaq.com.
|
# Modified for version 3.78.1 by Hartmut.Becker@compaq.com.
|
||||||
# Modified for version 3.80 by zinser@decus.de
|
# Modified for version 3.80 by zinser@decus.de
|
||||||
# Modified for version 3.81 by Hartmut Becker
|
# Modified for version 3.81 by Hartmut Becker
|
||||||
#
|
|
||||||
# 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 2, 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 GNU Make; see the file COPYING. If not, write to
|
|
||||||
# the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
||||||
# Boston, MA 02111-1307, USA.
|
|
||||||
|
|
||||||
CC = cc
|
CC = cc
|
||||||
CP = copy
|
CP = copy
|
||||||
@ -90,11 +90,11 @@ manext = 1
|
|||||||
|
|
||||||
objs = commands.obj,job.obj,dir.obj,file.obj,misc.obj,hash.obj,\
|
objs = commands.obj,job.obj,dir.obj,file.obj,misc.obj,hash.obj,\
|
||||||
main.obj,read.obj,remake.obj,rule.obj,implicit.obj,\
|
main.obj,read.obj,remake.obj,rule.obj,implicit.obj,\
|
||||||
default.obj,variable.obj,expand.obj,function.obj,\
|
default.obj,variable.obj,expand.obj,function.obj,strcache.obj,\
|
||||||
vpath.obj,version.obj$(ARCHIVES)$(ALLOCA)$(extras)$(getopt)$(glob)
|
vpath.obj,version.obj$(ARCHIVES)$(ALLOCA)$(extras)$(getopt)$(glob)
|
||||||
srcs = commands.c job.c dir.c file.c misc.c hash.c\
|
srcs = commands.c job.c dir.c file.c misc.c hash.c \
|
||||||
main.c read.c remake.c rule.c implicit.c \
|
main.c read.c remake.c rule.c implicit.c \
|
||||||
default.c variable.c expand.c function.c \
|
default.c variable.c expand.c function.c strcache.c \
|
||||||
vpath.c version.c vmsfunctions.c vmsify.c $(ARCHIVES_SRC) $(ALLOCASRC) \
|
vpath.c version.c vmsfunctions.c vmsify.c $(ARCHIVES_SRC) $(ALLOCASRC) \
|
||||||
commands.h dep.h filedef.h job.h make.h rule.h variable.h
|
commands.h dep.h filedef.h job.h make.h rule.h variable.h
|
||||||
|
|
||||||
@ -121,6 +121,7 @@ dir.obj: dir.c make.h
|
|||||||
file.obj: file.c make.h commands.h dep.h filedef.h variable.h
|
file.obj: file.c make.h commands.h dep.h filedef.h variable.h
|
||||||
misc.obj: misc.c make.h dep.h
|
misc.obj: misc.c make.h dep.h
|
||||||
hash.obj: hash.c make.h hash.h
|
hash.obj: hash.c make.h hash.h
|
||||||
|
strcache.obj: strcache.c make.h hash.h
|
||||||
main.obj: main.c make.h commands.h dep.h filedef.h variable.h job.h
|
main.obj: main.c make.h commands.h dep.h filedef.h variable.h job.h
|
||||||
read.obj: read.c make.h commands.h dep.h filedef.h variable.h
|
read.obj: read.c make.h commands.h dep.h filedef.h variable.h
|
||||||
remake.obj: remake.c make.h commands.h job.h dep.h filedef.h
|
remake.obj: remake.c make.h commands.h job.h dep.h filedef.h
|
||||||
|
16
po/ChangeLog
16
po/ChangeLog
@ -51,3 +51,19 @@
|
|||||||
* .cvsignore: Moved from i18n to here.
|
* .cvsignore: Moved from i18n to here.
|
||||||
|
|
||||||
* POTFILES.in, LINGUAS, Makevars: Created.
|
* POTFILES.in, LINGUAS, Makevars: Created.
|
||||||
|
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
18
po/Makevars
18
po/Makevars
@ -1,3 +1,21 @@
|
|||||||
|
# This is a -*-Makefile-*-
|
||||||
|
# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
# GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
|
|
||||||
# Makefile variables for PO directory in any package using GNU gettext.
|
# Makefile variables for PO directory in any package using GNU gettext.
|
||||||
|
|
||||||
# Usually the message domain is the same as the package name.
|
# Usually the message domain is the same as the package name.
|
||||||
|
@ -1,5 +1,19 @@
|
|||||||
# List of source files containing translatable strings.
|
# List of source files containing translatable strings.
|
||||||
# Copyright (C) 2002 Free Software Foundation, Inc.
|
# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
# GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
ar.c
|
ar.c
|
||||||
arscan.c
|
arscan.c
|
||||||
@ -19,6 +33,7 @@ remake.c
|
|||||||
remote-cstms.c
|
remote-cstms.c
|
||||||
rule.c
|
rule.c
|
||||||
signame.c
|
signame.c
|
||||||
|
strcache.c
|
||||||
variable.c
|
variable.c
|
||||||
variable.h
|
variable.h
|
||||||
vmsfunctions.c
|
vmsfunctions.c
|
||||||
|
23
read.c
23
read.c
@ -1,22 +1,19 @@
|
|||||||
/* Reading and parsing of makefiles for GNU Make.
|
/* Reading and parsing of makefiles for GNU Make.
|
||||||
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
2002 Free Software Foundation, Inc.
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
|
|
||||||
|
17
readme.vms
17
readme.vms
@ -294,3 +294,20 @@ Lots of default settings are adapted for VMS. See default.c.
|
|||||||
Long command lines are now converted to command files.
|
Long command lines are now converted to command files.
|
||||||
|
|
||||||
Comma (',') as a separator is now allowed. See makefile.vms for an example.
|
Comma (',') as a separator is now allowed. See makefile.vms for an example.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
25
remake.c
25
remake.c
@ -1,22 +1,19 @@
|
|||||||
/* Basic dependency engine for GNU Make.
|
/* Basic dependency engine for GNU Make.
|
||||||
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1999,
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
2002 Free Software Foundation, Inc.
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
#include "filedef.h"
|
#include "filedef.h"
|
||||||
|
@ -3,23 +3,21 @@
|
|||||||
Please do not send bug reports or questions about it to
|
Please do not send bug reports or questions about it to
|
||||||
the Make maintainers.
|
the Make maintainers.
|
||||||
|
|
||||||
Copyright (C) 1988, 1989, 1992, 1993 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
#include "job.h"
|
#include "job.h"
|
||||||
|
@ -1,21 +1,19 @@
|
|||||||
/* Template for the remote job exportation interface to GNU Make.
|
/* Template for the remote job exportation interface to GNU Make.
|
||||||
Copyright (C) 1988, 1989, 1992, 1993, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
#include "filedef.h"
|
#include "filedef.h"
|
||||||
|
24
rule.c
24
rule.c
@ -1,21 +1,19 @@
|
|||||||
/* Pattern and suffix rule internals for GNU Make.
|
/* Pattern and suffix rule internals for GNU Make.
|
||||||
Copyright (C) 1988,89,90,91,92,93, 1998 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
#include "dep.h"
|
#include "dep.h"
|
||||||
|
24
rule.h
24
rule.h
@ -1,21 +1,19 @@
|
|||||||
/* Definitions for using pattern rules in GNU Make.
|
/* Definitions for using pattern rules in GNU Make.
|
||||||
Copyright (C) 1988, 1989, 1991, 1992, 1993 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
/* Structure used for pattern rules. */
|
/* Structure used for pattern rules. */
|
||||||
|
|
||||||
|
26
signame.c
26
signame.c
@ -1,21 +1,19 @@
|
|||||||
/* Convert between signal names and numbers.
|
/* Convert between signal names and numbers.
|
||||||
Copyright (C) 1990,92,93,95,96,99, 2002 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
This file was part of the GNU C Library, but is now part of GNU make.
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
|
|
||||||
|
32
strcache.c
32
strcache.c
@ -1,21 +1,19 @@
|
|||||||
/* Constant string caching for GNU Make.
|
/* Constant string caching for GNU Make.
|
||||||
Copyright (C) 2006 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02110-1301 USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
|
|
||||||
@ -210,10 +208,10 @@ strcache_print_stats (const char *prefix)
|
|||||||
avgsize = numbuffs ? (int)(totsize / numbuffs) : 0;
|
avgsize = numbuffs ? (int)(totsize / numbuffs) : 0;
|
||||||
avgfree = numbuffs ? (int)(totfree / numbuffs) : 0;
|
avgfree = numbuffs ? (int)(totfree / numbuffs) : 0;
|
||||||
|
|
||||||
printf ("\n%s # of strings in strcache: %d\n", prefix, numstrs);
|
printf (_("\n%s # of strings in strcache: %d\n"), prefix, numstrs);
|
||||||
printf ("%s # of strcache buffers: %d\n", prefix, numbuffs);
|
printf (_("%s # of strcache buffers: %d\n"), prefix, numbuffs);
|
||||||
printf ("%s strcache size: total = %d / max = %d / min = %d / avg = %d\n",
|
printf (_("%s strcache size: total = %d / max = %d / min = %d / avg = %d\n"),
|
||||||
prefix, totsize, maxsize, minsize, avgsize);
|
prefix, totsize, maxsize, minsize, avgsize);
|
||||||
printf ("%s strcache free: total = %d / max = %d / min = %d / avg = %d\n",
|
printf (_("%s strcache free: total = %d / max = %d / min = %d / avg = %d\n"),
|
||||||
prefix, totfree, maxfree, minfree, avgfree);
|
prefix, totfree, maxfree, minfree, avgfree);
|
||||||
}
|
}
|
||||||
|
25
variable.c
25
variable.c
@ -1,22 +1,19 @@
|
|||||||
/* Internals of variables for GNU Make.
|
/* Internals of variables for GNU Make.
|
||||||
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1996, 1997,
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
2002 Free Software Foundation, Inc.
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
|
|
||||||
|
24
variable.h
24
variable.h
@ -1,21 +1,19 @@
|
|||||||
/* Definitions for using variables in GNU Make.
|
/* Definitions for using variables in GNU Make.
|
||||||
Copyright (C) 1988, 1989, 1990, 1991, 1992, 2002 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "hash.h"
|
#include "hash.h"
|
||||||
|
|
||||||
|
17
version.c
17
version.c
@ -1,3 +1,20 @@
|
|||||||
|
/* Record version and build host architecture for GNU make.
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
/* We use <config.h> instead of "config.h" so that a compilation
|
/* We use <config.h> instead of "config.h" so that a compilation
|
||||||
using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
|
using -I. -I$srcdir will use ./config.h rather than $srcdir/config.h
|
||||||
(which it would do because make.h was found in $srcdir). */
|
(which it would do because make.h was found in $srcdir). */
|
||||||
|
17
vmsdir.h
17
vmsdir.h
@ -1,4 +1,19 @@
|
|||||||
/* dirent.h for vms */
|
/* dirent.h for vms
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
#ifndef VMSDIR_H
|
#ifndef VMSDIR_H
|
||||||
#define VMSDIR_H
|
#define VMSDIR_H
|
||||||
|
@ -1,4 +1,19 @@
|
|||||||
/* vmsfunctions.c */
|
/* VMS functions
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
23
vmsify.c
23
vmsify.c
@ -1,12 +1,23 @@
|
|||||||
/*
|
/* vmsify.c -- Module for vms <-> unix file name conversion
|
||||||
vmsify.c
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
|
This file is part of GNU Make.
|
||||||
|
|
||||||
Module for vms <-> unix file name conversion
|
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 2, or (at your option) any later version.
|
||||||
|
|
||||||
Written by Klaus Kämpf (kkaempf@progis.de)
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
of proGIS Software, Aachen, Germany
|
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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
|
/* Written by Klaus Kämpf (kkaempf@progis.de)
|
||||||
|
of proGIS Software, Aachen, Germany */
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
19
vmsjobs.c
19
vmsjobs.c
@ -1,8 +1,21 @@
|
|||||||
|
|
||||||
|
|
||||||
/* --------------- Moved here from job.c ---------------
|
/* --------------- Moved here from job.c ---------------
|
||||||
This file must be #included in job.c, as it accesses static functions.
|
This file must be #included in job.c, as it accesses static functions.
|
||||||
*/
|
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <descrip.h>
|
#include <descrip.h>
|
||||||
|
24
vpath.c
24
vpath.c
@ -1,21 +1,19 @@
|
|||||||
/* Implementation of pattern-matching file search paths for GNU Make.
|
/* Implementation of pattern-matching file search paths for GNU Make.
|
||||||
Copyright (C) 1988,89,91,92,93,94,95,96,97 Free Software Foundation, Inc.
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
This file is part of GNU Make.
|
This file is part of GNU Make.
|
||||||
|
|
||||||
GNU Make is free software; you can redistribute it and/or modify
|
GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
it under the terms of the GNU General Public License as published by
|
terms of the GNU General Public License as published by the Free Software
|
||||||
the Free Software Foundation; either version 2, or (at your option)
|
Foundation; either version 2, or (at your option) any later version.
|
||||||
any later version.
|
|
||||||
|
|
||||||
GNU Make is distributed in the hope that it will be useful,
|
GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License along with
|
||||||
along with GNU Make; see the file COPYING. If not, write to
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
Boston, MA 02111-1307, USA. */
|
|
||||||
|
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
#include "filedef.h"
|
#include "filedef.h"
|
||||||
|
@ -1,4 +1,19 @@
|
|||||||
# Makefile.am to create libw32.a for mingw32 host.
|
# Makefile.am to create libw32.a for mingw32 host.
|
||||||
|
# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
# GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
noinst_LIBRARIES = libw32.a
|
noinst_LIBRARIES = libw32.a
|
||||||
|
|
||||||
|
@ -1,3 +1,21 @@
|
|||||||
|
/* Directory entry code for Window platforms.
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@ -57,7 +75,7 @@ opendir(const char* pDirName)
|
|||||||
|
|
||||||
/* other values defaulted */
|
/* other values defaulted */
|
||||||
pDir->dir_nNumFiles = 0;
|
pDir->dir_nNumFiles = 0;
|
||||||
pDir->dir_hDirHandle = INVALID_HANDLE_VALUE;
|
pDir->dir_hDirHandle = INVALID_HANDLE_VALUE;
|
||||||
pDir->dir_ulCookie = __DIRENT_COOKIE;
|
pDir->dir_ulCookie = __DIRENT_COOKIE;
|
||||||
|
|
||||||
return pDir;
|
return pDir;
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
/* Definitions for Windows path manipulation.
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
#ifndef _PATHSTUFF_H
|
#ifndef _PATHSTUFF_H
|
||||||
#define _PATHSTUFF_H
|
#define _PATHSTUFF_H
|
||||||
|
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
/* Definitions for Windows process invocation.
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
#ifndef SUB_PROC_H
|
#ifndef SUB_PROC_H
|
||||||
#define SUB_PROC_H
|
#define SUB_PROC_H
|
||||||
|
|
||||||
@ -8,11 +25,9 @@
|
|||||||
*
|
*
|
||||||
* $Source$
|
* $Source$
|
||||||
*
|
*
|
||||||
* $Revision$
|
* $Id$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id$ */
|
|
||||||
|
|
||||||
#define EXTERN_DECL(entry, args) extern entry args
|
#define EXTERN_DECL(entry, args) extern entry args
|
||||||
#define VOID_DECL void
|
#define VOID_DECL void
|
||||||
|
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
/* Definitions for Windows error handling.
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
#ifndef _W32ERR_H_
|
#ifndef _W32ERR_H_
|
||||||
#define _W32ERR_H_
|
#define _W32ERR_H_
|
||||||
|
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
/* Path conversion for Windows pathnames.
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include "make.h"
|
#include "make.h"
|
||||||
|
@ -1,22 +1,21 @@
|
|||||||
# NOTE: If you have no `make' program at all to process this makefile, run
|
# NOTE: If you have no `make' program at all to process this makefile, run
|
||||||
# `build.bat' instead.
|
# `build.bat' instead.
|
||||||
#
|
#
|
||||||
# Copyright (C) 1988,89,91,92,93,94,95,96,97 Free Software Foundation, Inc
|
# Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
# 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
# This file is part of GNU Make.
|
# This file is part of GNU Make.
|
||||||
#
|
#
|
||||||
# GNU Make is free software; you can redistribute it and/or modify
|
# GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
# it under the terms of the GNU General Public License as published by
|
# terms of the GNU General Public License as published by the Free Software
|
||||||
# the Free Software Foundation; either version 2, or (at your option)
|
# Foundation; either version 2, or (at your option) any later version.
|
||||||
# any later version.
|
|
||||||
#
|
#
|
||||||
# GNU Make is distributed in the hope that it will be useful,
|
# GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
# GNU General Public License for more details.
|
|
||||||
#
|
#
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License along with
|
||||||
# along with GNU Make; see the file COPYING. If not, write to
|
# GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
#
|
#
|
||||||
# NMakefile for GNU Make (subproc library)
|
# NMakefile for GNU Make (subproc library)
|
||||||
|
@ -15,3 +15,19 @@ gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS3
|
|||||||
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS32 -c sub_proc.c -o ../../sub_proc.o
|
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS32 -c sub_proc.c -o ../../sub_proc.o
|
||||||
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS32 -c w32err.c -o ../../w32err.o
|
gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS32 -c w32err.c -o ../../w32err.o
|
||||||
:BuildEnd
|
:BuildEnd
|
||||||
|
|
||||||
|
@rem Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
@rem 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 Free Software Foundation, Inc.
|
||||||
|
@rem This file is part of GNU Make.
|
||||||
|
|
||||||
|
@rem GNU Make is free software; you can redistribute it and/or modify it under the
|
||||||
|
@rem terms of the GNU General Public License as published by the Free Software
|
||||||
|
@rem Foundation; either version 2, or (at your option) any later version.
|
||||||
|
|
||||||
|
@rem GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||||
|
@rem WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
|
||||||
|
@rem A PARTICULAR PURPOSE. See the GNU General Public License for more details.
|
||||||
|
|
||||||
|
@rem You should have received a copy of the GNU General Public License along with
|
||||||
|
@rem GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
@rem Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
/* Process handling for Windows
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -19,7 +36,7 @@ int _cdecl compare(const void *a1, const void *a2)
|
|||||||
return _stricoll(*((char**)a1),*((char**)a2));
|
return _stricoll(*((char**)a1),*((char**)a2));
|
||||||
}
|
}
|
||||||
bool_t
|
bool_t
|
||||||
arr2envblk(char **arr, char **envblk_out)
|
arr2envblk(char **arr, char **envblk_out)
|
||||||
{
|
{
|
||||||
char **tmp;
|
char **tmp;
|
||||||
int size_needed;
|
int size_needed;
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
/* Definitions for Windows
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
#ifndef _PROC_H
|
#ifndef _PROC_H
|
||||||
#define _PROC_H
|
#define _PROC_H
|
||||||
|
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
/* Process handling for Windows.
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <process.h> /* for msvc _beginthreadex, _endthreadex */
|
#include <process.h> /* for msvc _beginthreadex, _endthreadex */
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
/* Error handling for Windows
|
||||||
|
Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
|
||||||
|
1998, 1999, 2000, 2001, 2002, 2003, 2005, 2006 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 2, 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
|
||||||
|
GNU Make; see the file COPYING. If not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include "w32err.h"
|
#include "w32err.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user