Changeset 1993 for trunk/src/kmk/w32


Ignore:
Timestamp:
Oct 29, 2008, 1:37:51 AM (17 years ago)
Author:
bird
Message:

Merged in current GNU Make code (CVS from 2008-10-28). Ref #55.

Location:
trunk/src/kmk/w32
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/w32/Makefile.am

    r503 r1993  
    11# Makefile.am to create libw32.a for mingw32 host.
    2 # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    3 # Free Software Foundation, Inc.
     2# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
     3# 2007 Free Software Foundation, Inc.
    44# This file is part of GNU Make.
    55#
    6 # GNU Make is free software; you can redistribute it and/or modify it under the
    7 # terms of the GNU General Public License as published by the Free Software
    8 # Foundation; either version 2, or (at your option) any later version.
     6# GNU Make is free software; you can redistribute it and/or modify it under
     7# the terms of the GNU General Public License as published by the Free Software
     8# Foundation; either version 3 of the License, or (at your option) any later
     9# version.
    910#
    1011# GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
    11 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
    12 # A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
     12# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
     13# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
     14# details.
    1315#
    1416# You should have received a copy of the GNU General Public License along with
    15 # GNU Make; see the file COPYING.  If not, write to the Free Software
    16 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
     17# this program.  If not, see <http://www.gnu.org/licenses/>.
    1718
    1819noinst_LIBRARIES = libw32.a
  • trunk/src/kmk/w32/compat/dirent.c

    r1557 r1993  
    11/* Directory entry code for Window platforms.
    22Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    3 2006 Free Software Foundation, Inc.
     32006, 2007 Free Software Foundation, Inc.
    44This file is part of GNU Make.
    55
    66GNU Make is free software; you can redistribute it and/or modify it under the
    77terms of the GNU General Public License as published by the Free Software
    8 Foundation; either version 2, or (at your option) any later version.
     8Foundation; either version 3 of the License, or (at your option) any later
     9version.
    910
    1011GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
     
    1314
    1415You should have received a copy of the GNU General Public License along with
    15 GNU Make; see the file COPYING.  If not, write to the Free Software
    16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.  */
     16this program.  If not, see <http://www.gnu.org/licenses/>.  */
    1717
    1818
  • trunk/src/kmk/w32/include/dirent.h

    r503 r1993  
    11/* Windows version of dirent.h
    2 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    3 2006 Free Software Foundation, Inc.
     2Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
     32007 Free Software Foundation, Inc.
    44This file is part of GNU Make.
    55
    66GNU Make is free software; you can redistribute it and/or modify it under the
    77terms of the GNU General Public License as published by the Free Software
    8 Foundation; either version 2, or (at your option) any later version.
     8Foundation; either version 3 of the License, or (at your option) any later
     9version.
    910
    1011GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
     
    1314
    1415You should have received a copy of the GNU General Public License along with
    15 GNU Make; see the file COPYING.  If not, write to the Free Software
    16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.  */
     16this program.  If not, see <http://www.gnu.org/licenses/>.  */
    1717
    1818#ifndef _DIRENT_H
  • trunk/src/kmk/w32/include/pathstuff.h

    r903 r1993  
    11/* Definitions for Windows path manipulation.
    2 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    3 2006 Free Software Foundation, Inc.
     2Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
     32007 Free Software Foundation, Inc.
    44This file is part of GNU Make.
    55
    66GNU Make is free software; you can redistribute it and/or modify it under the
    77terms of the GNU General Public License as published by the Free Software
    8 Foundation; either version 2, or (at your option) any later version.
     8Foundation; either version 3 of the License, or (at your option) any later
     9version.
    910
    1011GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
     
    1314
    1415You should have received a copy of the GNU General Public License along with
    15 GNU Make; see the file COPYING.  If not, write to the Free Software
    16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.  */
     16this program.  If not, see <http://www.gnu.org/licenses/>.  */
    1717
    1818#ifndef _PATHSTUFF_H
  • trunk/src/kmk/w32/include/sub_proc.h

    r503 r1993  
    11/* Definitions for Windows process invocation.
    22Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    3 2006 Free Software Foundation, Inc.
     32006, 2007 Free Software Foundation, Inc.
    44This file is part of GNU Make.
    55
    66GNU Make is free software; you can redistribute it and/or modify it under the
    77terms of the GNU General Public License as published by the Free Software
    8 Foundation; either version 2, or (at your option) any later version.
     8Foundation; either version 3 of the License, or (at your option) any later
     9version.
    910
    1011GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
     
    1314
    1415You should have received a copy of the GNU General Public License along with
    15 GNU Make; see the file COPYING.  If not, write to the Free Software
    16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.  */
     16this program.  If not, see <http://www.gnu.org/licenses/>.  */
    1717
    1818#ifndef SUB_PROC_H
     
    2222 * Component Name:
    2323 *
    24  * $Date: 2006/02/11 22:16:05 $
     24 * $Date: 2007/10/24 20:06:32 $
    2525 *
    2626 * $Source: /sources/make/make/w32/include/sub_proc.h,v $
    2727 *
    28  * $Id: sub_proc.h,v 1.8 2006/02/11 22:16:05 psmith Exp $
     28 * $Id: sub_proc.h,v 1.10 2007/10/24 20:06:32 eliz Exp $
    2929 */
    3030
  • trunk/src/kmk/w32/include/w32err.h

    r503 r1993  
    11/* Definitions for Windows error handling.
    22Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    3 2006 Free Software Foundation, Inc.
     32006, 2007 Free Software Foundation, Inc.
    44This file is part of GNU Make.
    55
    66GNU Make is free software; you can redistribute it and/or modify it under the
    77terms of the GNU General Public License as published by the Free Software
    8 Foundation; either version 2, or (at your option) any later version.
     8Foundation; either version 3 of the License, or (at your option) any later
     9version.
    910
    1011GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
     
    1314
    1415You should have received a copy of the GNU General Public License along with
    15 GNU Make; see the file COPYING.  If not, write to the Free Software
    16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.  */
     16this program.  If not, see <http://www.gnu.org/licenses/>.  */
    1717
    1818#ifndef _W32ERR_H_
  • trunk/src/kmk/w32/pathstuff.c

    r1261 r1993  
    11/* Path conversion for Windows pathnames.
    2 Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    3 2006 Free Software Foundation, Inc.
     2Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
     32007 Free Software Foundation, Inc.
    44This file is part of GNU Make.
    55
    66GNU Make is free software; you can redistribute it and/or modify it under the
    77terms of the GNU General Public License as published by the Free Software
    8 Foundation; either version 2, or (at your option) any later version.
     8Foundation; either version 3 of the License, or (at your option) any later
     9version.
    910
    1011GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
     
    1314
    1415You should have received a copy of the GNU General Public License along with
    15 GNU Make; see the file COPYING.  If not, write to the Free Software
    16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.  */
     16this program.  If not, see <http://www.gnu.org/licenses/>.  */
    1717
    1818#include <Windows.h> /* bird */
     
    7373                /* all finished, force abort */
    7474                p += strlen(p);
     75        } else if (*p == '"') { /* a quoted directory */
     76            for (p++; *p && *p != '"'; p++) /* skip quoted part */
     77                ;
     78            etok = strpbrk(p, ":;");        /* find next delimiter */
     79            *etok = to_delim;
     80            p = ++etok;
    7581        } else {
    7682            /* found another one, no drive letter */
    7783            *etok = to_delim;
    7884            p = ++etok;
    79         }
     85        }
    8086
    8187    return Path;
  • trunk/src/kmk/w32/subproc/NMakefile

    r503 r1993  
    33#
    44# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    5 # 2006 Free Software Foundation, Inc.
     5# 2006, 2007 Free Software Foundation, Inc.
    66# This file is part of GNU Make.
    77#
    8 # GNU Make is free software; you can redistribute it and/or modify it under the
    9 # terms of the GNU General Public License as published by the Free Software
    10 # Foundation; either version 2, or (at your option) any later version.
     8# GNU Make is free software; you can redistribute it and/or modify it under
     9# the terms of the GNU General Public License as published by the Free Software
     10# Foundation; either version 3 of the License, or (at your option) any later
     11# version.
    1112#
    1213# GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
    13 # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
    14 # A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
     14# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
     15# FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
     16# details.
    1517#
    1618# You should have received a copy of the GNU General Public License along with
    17 # GNU Make; see the file COPYING.  If not, write to the Free Software
    18 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
     19# this program.  If not, see <http://www.gnu.org/licenses/>.
    1920
    2021#
  • trunk/src/kmk/w32/subproc/build.bat

    • Property svn:eol-style changed from native to CRLF
    r503 r1993  
    1212GoTo BuildEnd
    1313:GCCBuild
    14 gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS32 -c misc.c -o ../../w32_misc.o
    15 gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS32 -c sub_proc.c -o ../../sub_proc.o
    16 gcc -mthreads -Wall -gstabs+ -ggdb3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS32 -c w32err.c -o ../../w32err.o
     14gcc -mthreads -Wall -gdwarf-2 -g3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS32 -c misc.c -o ../../w32_misc.o
     15gcc -mthreads -Wall -gdwarf-2 -g3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS32 -c sub_proc.c -o ../../sub_proc.o
     16gcc -mthreads -Wall -gdwarf-2 -g3 -O2 -I.. -I. -I../include -I../.. -DWINDOWS32 -c w32err.c -o ../../w32err.o
    1717:BuildEnd
    1818
    1919@echo off
    2020rem Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
    21 rem 2005, 2006 Free Software Foundation, Inc.
     21rem 2005, 2006, 2007 Free Software Foundation, Inc.
    2222rem This file is part of GNU Make.
    23 
    24 rem GNU Make is free software; you can redistribute it and/or modify it under the
    25 rem terms of the GNU General Public License as published by the Free Software
    26 rem Foundation; either version 2, or (at your option) any later version.
    27 
    28 rem GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
    29 rem WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
    30 rem A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
    31 
    32 rem You should have received a copy of the GNU General Public License along with
    33 rem GNU Make; see the file COPYING.  If not, write to the Free Software
    34 rem Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
     23rem
     24rem GNU Make is free software; you can redistribute it and/or modify it under
     25rem the terms of the GNU General Public License as published by the Free
     26rem Software Foundation; either version 3 of the License, or (at your option)
     27rem any later version.
     28rem
     29rem GNU Make is distributed in the hope that it will be useful, but WITHOUT
     30rem ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     31rem FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for.
     32rem more details.
     33rem
     34rem You should have received a copy of the GNU General Public License along
     35rem with this program.  If not, see <http://www.gnu.org/licenses/>.
  • trunk/src/kmk/w32/subproc/misc.c

    r503 r1993  
    11/* Process handling for Windows
    22Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    3 2006 Free Software Foundation, Inc.
     32006, 2007 Free Software Foundation, Inc.
    44This file is part of GNU Make.
    55
    66GNU Make is free software; you can redistribute it and/or modify it under the
    77terms of the GNU General Public License as published by the Free Software
    8 Foundation; either version 2, or (at your option) any later version.
     8Foundation; either version 3 of the License, or (at your option) any later
     9version.
    910
    1011GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
     
    1314
    1415You should have received a copy of the GNU General Public License along with
    15 GNU Make; see the file COPYING.  If not, write to the Free Software
    16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.  */
     16this program.  If not, see <http://www.gnu.org/licenses/>.  */
    1717
    1818#include <stddef.h>
  • trunk/src/kmk/w32/subproc/proc.h

    r503 r1993  
    11/* Definitions for Windows
    22Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    3 2006 Free Software Foundation, Inc.
     32006, 2007 Free Software Foundation, Inc.
    44This file is part of GNU Make.
    55
    66GNU Make is free software; you can redistribute it and/or modify it under the
    77terms of the GNU General Public License as published by the Free Software
    8 Foundation; either version 2, or (at your option) any later version.
     8Foundation; either version 3 of the License, or (at your option) any later
     9version.
    910
    1011GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
     
    1314
    1415You should have received a copy of the GNU General Public License along with
    15 GNU Make; see the file COPYING.  If not, write to the Free Software
    16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.  */
     16this program.  If not, see <http://www.gnu.org/licenses/>.  */
    1717
    1818#ifndef  _PROC_H
  • trunk/src/kmk/w32/subproc/sub_proc.c

    r1423 r1993  
    11/* Process handling for Windows.
    22Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    3 2006 Free Software Foundation, Inc.
     32006, 2007 Free Software Foundation, Inc.
    44This file is part of GNU Make.
    55
    66GNU Make is free software; you can redistribute it and/or modify it under the
    77terms of the GNU General Public License as published by the Free Software
    8 Foundation; either version 2, or (at your option) any later version.
     8Foundation; either version 3 of the License, or (at your option) any later
     9version.
    910
    1011GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
     
    1314
    1415You should have received a copy of the GNU General Public License along with
    15 GNU Make; see the file COPYING.  If not, write to the Free Software
    16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.  */
     16this program.  If not, see <http://www.gnu.org/licenses/>.  */
    1717
    1818#include <stdlib.h>
  • trunk/src/kmk/w32/subproc/w32err.c

    r503 r1993  
    11/* Error handling for Windows
    22Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    3 2006 Free Software Foundation, Inc.
     32006, 2007 Free Software Foundation, Inc.
    44This file is part of GNU Make.
    55
    66GNU Make is free software; you can redistribute it and/or modify it under the
    77terms of the GNU General Public License as published by the Free Software
    8 Foundation; either version 2, or (at your option) any later version.
     8Foundation; either version 3 of the License, or (at your option) any later
     9version.
    910
    1011GNU Make is distributed in the hope that it will be useful, but WITHOUT ANY
     
    1314
    1415You should have received a copy of the GNU General Public License along with
    15 GNU Make; see the file COPYING.  If not, write to the Free Software
    16 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.  */
     16this program.  If not, see <http://www.gnu.org/licenses/>.  */
    1717
    1818#include <windows.h>
     
    6969    return szMessageBuffer;
    7070}
    71 
Note: See TracChangeset for help on using the changeset viewer.