VirtualBox

Changeset 2019 in kBuild for trunk/src


Ignore:
Timestamp:
Nov 2, 2008 12:21:05 AM (17 years ago)
Author:
bird
Message:

GPLv2 -> GPLv3. See Ticket #44 for clarifications. Fixes #44.

Location:
trunk/src
Files:
56 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile.kmk

    r1666 r2019  
    1111# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
  • trunk/src/ash/Makefile.kmk

    r2017 r2019  
    1 # $Id: Makefile.kmk 785 2007-01-24 22:21:56Z bird $
     1# $Id: $
    22## @file
    33# Sub-makefile for kmk_ash.
     
    55
    66#
    7 # Copyright (c) 2005-2008 knut st. osmundsen <bird-kBuild[email protected]>
     7# Copyright (c) 2005-2008 knut st. osmundsen <bird-src[email protected]>
    88#
    99# This file is part of kBuild.
     
    1111# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
  • trunk/src/fastdep/Makefile.kmk

    r1665 r2019  
    1 # $Id: Makefile.kmk 785 2007-01-24 22:21:56Z bird $
     1# $Id: $
    22## @file
    33# Sub-makefile for testing the VAC308 tool / ancient dependency generator.
     
    55
    66#
    7 # Copyright (c) 2007-2008 knut st. osmundsen <bird-kBuild[email protected]>
     7# Copyright (c) 2007-2008 knut st. osmundsen <bird-src[email protected]>
    88#
    99# This file is part of kBuild.
     
    1111# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
  • trunk/src/kDepPre/Makefile.kmk

    r1665 r2019  
    55
    66#
    7 # Copyright (c) 2005-2008 knut st. osmundsen <bird-kBuild[email protected]>
     7# Copyright (c) 2005-2008 knut st. osmundsen <bird-src[email protected]>
    88#
    99# This file is part of kBuild.
     
    1111# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
  • trunk/src/kDepPre/kDepPre.c

    r1734 r2019  
    11/* $Id$ */
    22/** @file
    3  *
    43 * kDepPre - Dependency Generator using Precompiler output.
    5  *
    6  * Copyright (c) 2005-2007 knut st. osmundsen <[email protected]>
    7  *
     4 */
     5
     6/*
     7 * Copyright (c) 2005-2008 knut st. osmundsen <[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
    26 
    2725
    2826/*******************************************************************************
     
    3735#else
    3836# include <unistd.h>
    39 #endif 
     37#endif
    4038#include "kDep.h"
    4139
  • trunk/src/kObjCache/Makefile.kmk

    • Property svn:keywords set to Author Date Id Revision
    r1665 r2019  
    1 # $Id: Makefile.kmk 785 2007-01-24 22:21:56Z bird $
     1# $Id$
    22## @file
    33# Sub-makefile for kObjCache.
     
    55
    66#
    7 # Copyright (c) 2007-2008 knut st. osmundsen <bird-kBuild[email protected]>
     7# Copyright (c) 2007-2008 knut st. osmundsen <bird-src[email protected]>
    88#
    99# This file is part of kBuild.
     
    1111# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
  • trunk/src/kObjCache/kObjCache.c

    • Property svn:keywords changed from Id Revision to Author Date Id Revision
    r1732 r2019  
    55
    66/*
    7  * Copyright (c) 2007 knut st. osmundsen <[email protected]>
     7 * Copyright (c) 2007-2008 knut st. osmundsen <[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
    24  *
    25  */
    26 
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
     23 *
     24 */
    2725
    2826/*******************************************************************************
  • trunk/src/kash/Makefile.kmk

    r1785 r2019  
    1111# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
  • trunk/src/kmk/Makefile.kmk

    r2009 r2019  
    55
    66#
    7 # Copyright (c) 2004-2008 knut st. osmundsen <bird-kBuild[email protected]>
     7# Copyright (c) 2004-2008 knut st. osmundsen <bird-src[email protected]>
    88#
    99# This file is part of kBuild.
     
    1111# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
  • trunk/src/kmk/electric.c

    • Property svn:keywords changed from Id to Author Date Id Revision
    r2001 r2019  
    11/* $Id$ */
    22/** @file
     3 * A simple electric heap implementation.
     4 */
     5
     6/*
     7 * Copyright (c) 2007-2008 knut st. osmundsen <[email protected]>
    38 *
    4  * A simple electric heap implementation.
     9 * This file is part of kBuild.
    510 *
    6  * Copyright (c) 2007 knut st. osmundsen <[email protected]>
    7  *
    8  *
    9  * This program is free software; you can redistribute it and/or modify
    10  * it under the terms of the GNU Lesser General Public License as published
    11  * by the Free Software Foundation; either version 2 of the License, or
     11 * kBuild is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1214 * (at your option) any later version.
    1315 *
    14  * This program is distributed in the hope that it will be useful,
     16 * kBuild is distributed in the hope that it will be useful,
    1517 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1618 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    17  * GNU Lesser General Public License for more details.
     19 * GNU General Public License for more details.
    1820 *
    19  * You should have received a copy of the GNU Lesser General Public License
    20  * along with This program; if not, write to the Free Software
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU General Public License
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2223 *
    2324 */
  • trunk/src/kmk/electric.h

    • Property svn:keywords changed from Id to Author Date Id Revision
    r915 r2019  
    11/* $Id$ */
    22/** @file
     3 * A simple electric heap implementation, wrapper header.
     4 */
     5
     6/*
     7 * Copyright (c) 2007-2008 knut st. osmundsen <[email protected]>
    38 *
    4  * A simple electric heap implementation, wrapper header.
     9 * This file is part of kBuild.
    510 *
    6  * Copyright (c) 2007 knut st. osmundsen <[email protected]>
    7  *
    8  *
    9  * This program is free software; you can redistribute it and/or modify
    10  * it under the terms of the GNU Lesser General Public License as published
    11  * by the Free Software Foundation; either version 2 of the License, or
     11 * kBuild is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
    1214 * (at your option) any later version.
    1315 *
    14  * This program is distributed in the hope that it will be useful,
     16 * kBuild is distributed in the hope that it will be useful,
    1517 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1618 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    17  * GNU Lesser General Public License for more details.
     19 * GNU General Public License for more details.
    1820 *
    19  * You should have received a copy of the GNU Lesser General Public License
    20  * along with This program; if not, write to the Free Software
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     21 * You should have received a copy of the GNU General Public License
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2223 *
    2324 */
  • trunk/src/kmk/expreval.c

    r1729 r2019  
    1212 * kBuild is free software; you can redistribute it and/or modify
    1313 * it under the terms of the GNU General Public License as published by
    14  * the Free Software Foundation; either version 2 of the License, or
     14 * the Free Software Foundation; either version 3 of the License, or
    1515 * (at your option) any later version.
    1616 *
     
    2121 *
    2222 * You should have received a copy of the GNU General Public License
    23  * along with kBuild; if not, write to the Free Software
    24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     23 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2524 *
    2625 */
  • trunk/src/kmk/incdep.c

    • Property svn:keywords changed from Id to Author Date Id Revision
    r1913 r2019  
    66
    77/*
    8  * Copyright (c) 2006-2008 knut st. osmundsen <[email protected]>
     8 * Copyright (c) 2007-2008 knut st. osmundsen <[email protected]>
    99 *
    1010 * This file is part of kBuild.
     
    1212 * kBuild is free software; you can redistribute it and/or modify
    1313 * it under the terms of the GNU General Public License as published by
    14  * the Free Software Foundation; either version 2 of the License, or
     14 * the Free Software Foundation; either version 3 of the License, or
    1515 * (at your option) any later version.
    1616 *
     
    2121 *
    2222 * You should have received a copy of the GNU General Public License
    23  * along with kBuild; if not, write to the Free Software
    24  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     23 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2524 *
    2625 */
    27 
    2826
    2927/*******************************************************************************
  • trunk/src/kmk/kbuild.c

    • Property svn:keywords changed from Id to Author Date Id Revision
    r2014 r2019  
    55
    66/*
    7  * Copyright (c) 2006-2008 knut st. osmundsen <bird-kBuild[email protected]>
     7 * Copyright (c) 2006-2008 knut st. osmundsen <bird-src[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
    2625
    2726/* No GNU coding style here! */
    28 
    2927
    3028/*******************************************************************************
  • trunk/src/kmk/kbuild.h

    • Property svn:keywords changed from Id to Author Date Id Revision
    r2011 r2019  
    11/* $Id$ */
    22/** @file
    3  *
    43 * kBuild specific make functionality.
    5  *
    6  * Copyright (c) 2006-2007 knut st. osmundsen <[email protected]>
    7  *
     4 */
     5
     6/*
     7 * Copyright (c) 2006-2008 knut st. osmundsen <[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
    2625
    27 #ifndef __kBuild_h__
    28 #define __kBuild_h__
     26#ifndef ___kBuild_h
     27#define ___kBuild_h
    2928
    3029char *func_kbuild_source_tool(char *o, char **argv, const char *pszFuncName);
     
    4140
    4241#endif
     42
  • trunk/src/kmk/kmkbuiltin.c

    r2003 r2019  
    11/* $Id$ */
    22/** @file
    3  *
    43 * kMk Builtin command execution.
    5  *
    6  * Copyright (c) 2005-2007 knut st. osmundsen <[email protected]>
    7  *
     4 */
     5
     6/*
     7 * Copyright (c) 2005-2008 knut st. osmundsen <[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
    2625
     26/*******************************************************************************
     27*   Header Files                                                               *
     28*******************************************************************************/
    2729#include <string.h>
    2830#include <stdlib.h>
  • trunk/src/kmk/kmkbuiltin.h

    r2003 r2019  
    11/* $Id$ */
    22/** @file
    3  *
    43 * kMk Builtin command handling.
    5  *
    6  * Copyright (c) 2005-2007 knut st. osmundsen <[email protected]>
    7  *
     4 */
     5
     6/*
     7 * Copyright (c) 2005-2008 knut st. osmundsen <[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
  • trunk/src/kmk/kmkbuiltin/append.c

    r2016 r2019  
    55
    66/*
    7  * Copyright (c) 2005-2008 knut st. osmundsen <bird-kBuild[email protected]>
     7 * Copyright (c) 2005-2008 knut st. osmundsen <bird-src[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    24  *
    25  */
    26 
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
     23 *
     24 */
     25
     26/*******************************************************************************
     27*   Header Files                                                               *
     28*******************************************************************************/
    2729#include <string.h>
    2830#include <stdio.h>
  • trunk/src/kmk/kmkbuiltin/darwin.c

    • Property svn:keywords changed from Id to Author Date Id Revision
    r1593 r2019  
    55
    66/*
    7  * Copyright (c) 2006-2008 knut st. osmundsen <bird-kBuild[email protected]>
     7 * Copyright (c) 2006-2008 knut st. osmundsen <bird-src[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
    2625
     26/*******************************************************************************
     27*   Header Files                                                               *
     28*******************************************************************************/
    2729#include <sys/stat.h>
    2830#include <unistd.h>
  • trunk/src/kmk/kmkbuiltin/err.c

    r2001 r2019  
    11/* $Id$ */
    22/** @file
     3 * Override err.h so we get the program name right.
     4 */
     5
     6/*
     7 * Copyright (c) 2005-2008 knut st. osmundsen <[email protected]>
    38 *
    4  * Override err.h so we get the program name right.
     9 * This file is part of kBuild.
    510 *
    6  * Copyright (c) 2005-2007 knut st. osmundsen <[email protected]>
    7  *
    8  *
    9  * This program is free software; you can redistribute it and/or modify
     11 * kBuild is free software; you can redistribute it and/or modify
    1012 * it under the terms of the GNU General Public License as published by
    11  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1214 * (at your option) any later version.
    1315 *
    14  * This program is distributed in the hope that it will be useful,
     16 * kBuild is distributed in the hope that it will be useful,
    1517 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1618 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     
    1820 *
    1921 * You should have received a copy of the GNU General Public License
    20  * along with This program; if not, write to the Free Software
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2223 *
    2324 */
    2425
    25 
    26 
     26/*******************************************************************************
     27*   Header Files                                                               *
     28*******************************************************************************/
    2729#include <stdio.h>
    2830#include <stdarg.h>
  • trunk/src/kmk/kmkbuiltin/err.h

    r1309 r2019  
    11/* $Id$ */
    22/** @file
     3 * Override err.h stuff so we get the program names right.
     4 */
     5
     6/*
     7 * Copyright (c) 2005-2008 knut st. osmundsen <[email protected]>
    38 *
    4  * Override err.h stuff so we get the program names right.
     9 * This file is part of kBuild.
    510 *
    6  * Copyright (c) 2005-2007 knut st. osmundsen <[email protected]>
    7  *
    8  *
    9  * This program is free software; you can redistribute it and/or modify
     11 * kBuild is free software; you can redistribute it and/or modify
    1012 * it under the terms of the GNU General Public License as published by
    11  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1214 * (at your option) any later version.
    1315 *
    14  * This program is distributed in the hope that it will be useful,
     16 * kBuild is distributed in the hope that it will be useful,
    1517 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1618 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     
    1820 *
    1921 * You should have received a copy of the GNU General Public License
    20  * along with This program; if not, write to the Free Software
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2223 *
    2324 */
  • trunk/src/kmk/kmkbuiltin/kDepIDB.c

    r1514 r2019  
    11/* $Id$ */
    22/** @file
    3  *
    43 * kDepIDB - Extract dependency information from a MS Visual C++ .idb file.
    5  *
    6  * Copyright (c) 2006-2007 knut st. osmundsen <[email protected]>
    7  *
     4 */
     5
     6/*
     7 * Copyright (c) 2007-2008 knut st. osmundsen <[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
    26 
    2725
    2826/*******************************************************************************
  • trunk/src/kmk/kmkbuiltin/kbuild_protection.c

    • Property svn:keywords changed from Id to Author Date Id Revision
    r2001 r2019  
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
    24  *
    25  */
    26 
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
     23 *
     24 */
    2725
    2826/*******************************************************************************
  • trunk/src/kmk/kmkbuiltin/kbuild_protection.h

    • Property svn:keywords changed from Id to Author Date Id Revision
    r2001 r2019  
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
    2625
    27 #ifndef ___kbuild_protection_h___
    28 #define ___kbuild_protection_h___
     26#ifndef ___kbuild_protection_h
     27#define ___kbuild_protection_h
    2928
    3029/**
  • trunk/src/kmk/kmkbuiltin/kbuild_version.c

    • Property svn:keywords changed from Id to Author Date Id Revision
    r1526 r2019  
    55
    66/*
    7  * Copyright (c) 2007 knut st. osmundsen <[email protected]>
     7 * Copyright (c) 2007-2008 knut st. osmundsen <[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
    2625
     26/*******************************************************************************
     27*   Header Files                                                               *
     28*******************************************************************************/
    2729#include "kmkbuiltin.h"
    2830#include <string.h>
    2931#include <stdio.h>
     32
    3033
    3134/**
     
    5053    printf("%.*s - kBuild version %d.%d.%d (r%u)\n",
    5154           tmp - argv0, argv0,
    52            KBUILD_VERSION_MAJOR, KBUILD_VERSION_MINOR, KBUILD_VERSION_PATCH, 
     55           KBUILD_VERSION_MAJOR, KBUILD_VERSION_MINOR, KBUILD_VERSION_PATCH,
    5356           KBUILD_SVN_REV);
    5457    return 0;
  • trunk/src/kmk/kmkbuiltin/md5sum.c

    • Property svn:keywords changed from Id to Author Date Id Revision
    r1393 r2019  
    55
    66/*
    7  * Copyright (c) 2007 knut st. osmundsen <[email protected]>
     7 * Copyright (c) 2007-2008 knut st. osmundsen <[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
    24  *
    25  */
    26 
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
     23 *
     24 */
     25
     26/*******************************************************************************
     27*   Header Files                                                               *
     28*******************************************************************************/
    2729#include <string.h>
    2830#include <stdio.h>
     
    559561 * @param   fQuiet          Whether to be quiet or verbose about errors.
    560562 * @param   fProgress       Whether to show an progress indicator on large files.
    561  * @param   pOutput         Where to write the list. Progress is always written to stdout. 
     563 * @param   pOutput         Where to write the list. Progress is always written to stdout.
    562564 */
    563565static int md5sum_file(const char *pszFilename, unsigned fText, unsigned fQuiet, unsigned fProgress, FILE *pOutput)
  • trunk/src/kmk/kmkbuiltin/mscfakes.c

    r1717 r2019  
    11/* $Id$ */
    22/** @file
     3 * Fake Unix stuff for MSC.
     4 */
     5
     6/*
     7 * Copyright (c) 2005-2008 knut st. osmundsen <[email protected]>
    38 *
    4  * Fake Unix stuff for MSC.
     9 * This file is part of kBuild.
    510 *
    6  * Copyright (c) 2005-2007 knut st. osmundsen <[email protected]>
    7  *
    8  *
    9  * This program is free software; you can redistribute it and/or modify
     11 * kBuild is free software; you can redistribute it and/or modify
    1012 * it under the terms of the GNU General Public License as published by
    11  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1214 * (at your option) any later version.
    1315 *
    14  * This program is distributed in the hope that it will be useful,
     16 * kBuild is distributed in the hope that it will be useful,
    1517 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1618 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     
    1820 *
    1921 * You should have received a copy of the GNU General Public License
    20  * along with This program; if not, write to the Free Software
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2223 *
    2324 */
    2425
    25 
     26/*******************************************************************************
     27*   Header Files                                                               *
     28*******************************************************************************/
    2629#include <stdarg.h>
    2730#include <stdio.h>
  • trunk/src/kmk/kmkbuiltin/mscfakes.h

    r1710 r2019  
    11/* $Id$ */
    22/** @file
     3 * Unix fakes for MSC.
     4 */
     5
     6/*
     7 * Copyright (c) 2005-2008 knut st. osmundsen <[email protected]>
    38 *
    4  * Unix fakes for MSC.
     9 * This file is part of kBuild.
    510 *
    6  * Copyright (c) 2005-2007 knut st. osmundsen <[email protected]>
    7  *
    8  *
    9  * This program is free software; you can redistribute it and/or modify
     11 * kBuild is free software; you can redistribute it and/or modify
    1012 * it under the terms of the GNU General Public License as published by
    11  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1214 * (at your option) any later version.
    1315 *
    14  * This program is distributed in the hope that it will be useful,
     16 * kBuild is distributed in the hope that it will be useful,
    1517 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1618 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     
    1820 *
    1921 * You should have received a copy of the GNU General Public License
    20  * along with This program; if not, write to the Free Software
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2223 *
    2324 */
    2425
    25 #ifndef __mscfakes_h__
    26 #define __mscfakes_h__
     26#ifndef ___mscfakes_h
     27#define ___mscfakes_h
    2728#ifdef _MSC_VER
    2829
  • trunk/src/kmk/kmkbuiltin/osdep.c

    • Property svn:keywords changed from Id to Author Date Id Revision
    r930 r2019  
    11/* $Id$ */
    22/** @file
    3  *
    43 * Include all the OS dependent bits when bootstrapping.
    5  *
    6  * Copyright (c) 2005-2007 knut st. osmundsen <[email protected]>
    7  *
     4 */
     5
     6/*
     7 * Copyright (c) 2005-2008 knut st. osmundsen <[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
  • trunk/src/kmk/kmkbuiltin/redirect.c

    • Property svn:keywords changed from Id to Author Date Id Revision
    r1674 r2019  
    55
    66/*
    7  * Copyright (c) 2007-2008 knut st. osmundsen <bird-kBuild[email protected]>
     7 * Copyright (c) 2007-2008 knut st. osmundsen <bird-src[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
    26 
    2725
    2826/*******************************************************************************
  • trunk/src/kmk/kmkbuiltin/sleep.c

    r2003 r2019  
    55
    66/*
    7  * Copyright (c) 2008 knut st. osmundsen <bird-kBuild[email protected]>
     7 * Copyright (c) 2008 knut st. osmundsen <bird-src[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
    26 
    2725
    2826/*******************************************************************************
  • trunk/src/kmk/kmkbuiltin/solfakes.c

    • Property svn:keywords set to Author Date Id Revision
    r1714 r2019  
    1 /* $Id: $ */
     1/* $Id$ */
    22/** @file
     3 * Fake Unix stuff for Solaris.
     4 */
     5
     6/*
     7 * Copyright (c) 2005-2008 knut st. osmundsen <[email protected]>
    38 *
    4  * Fake Unix stuff for Solaris.
     9 * This file is part of kBuild.
    510 *
    6  * Copyright (c) 2005-2007 knut st. osmundsen <[email protected]>
    7  *
    8  *
    9  * This program is free software; you can redistribute it and/or modify
     11 * kBuild is free software; you can redistribute it and/or modify
    1012 * it under the terms of the GNU General Public License as published by
    11  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1214 * (at your option) any later version.
    1315 *
    14  * This program is distributed in the hope that it will be useful,
     16 * kBuild is distributed in the hope that it will be useful,
    1517 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1618 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     
    1820 *
    1921 * You should have received a copy of the GNU General Public License
    20  * along with This program; if not, write to the Free Software
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2223 *
    2324 */
    2425
    25 
     26/*******************************************************************************
     27*   Header Files                                                               *
     28*******************************************************************************/
    2629#include <errno.h>
    2730#include <stdio.h>
  • trunk/src/kmk/kmkbuiltin/solfakes.h

    • Property svn:keywords set to Author Date Id Revision
    r1712 r2019  
    1 /* $Id: mscfakes.h 805 2007-01-25 00:56:27Z bird $ */
     1/* $Id$ */
    22/** @file
     3 * Unix fakes for Solaris.
     4 */
     5
     6/*
     7 * Copyright (c) 2005-2008 knut st. osmundsen <[email protected]>
    38 *
    4  * Unix fakes for Solaris.
     9 * This file is part of kBuild.
    510 *
    6  * Copyright (c) 2005-2007 knut st. osmundsen <[email protected]>
    7  *
    8  *
    9  * This program is free software; you can redistribute it and/or modify
     11 * kBuild is free software; you can redistribute it and/or modify
    1012 * it under the terms of the GNU General Public License as published by
    11  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1214 * (at your option) any later version.
    1315 *
    14  * This program is distributed in the hope that it will be useful,
     16 * kBuild is distributed in the hope that it will be useful,
    1517 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1618 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     
    1820 *
    1921 * You should have received a copy of the GNU General Public License
    20  * along with This program; if not, write to the Free Software
    21  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2223 *
    2324 */
    2425
    25 #ifndef __solfakes_h__
    26 #define __solfakes_h__
     26#ifndef ___solfakes_h
     27#define ___solfakes_h
    2728#ifdef __sun__
    2829
     
    4445
    4546#endif /* __sun__ */
    46 #endif /* __solfakes_h__ */
     47#endif /* ___solfakes_h */
    4748
  • trunk/src/kmk/strcache2.c

    r1944 r2019  
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
    26 
    2725
    2826/*******************************************************************************
  • trunk/src/kmk/strcache2.h

    r1914 r2019  
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
  • trunk/src/kmk/testcase-2ndtargetexp.kmk

    r1701 r2019  
    1111# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
  • trunk/src/kmk/testcase-if1of.kmk

    • Property svn:keywords set to Author Date Id Revision
    r1719 r2019  
    1 # $Id: $
     1# $Id$
    22## @file
    33# kBuild - testcase for the if1of and ifn1of conditionals.
     
    55
    66#
    7 # Copyright (c) 2007 knut st. osmundsen <[email protected]>
     7# Copyright (c) 2007-2008 knut st. osmundsen <[email protected]>
    88#
    99# This file is part of kBuild.
     
    1111# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
     
    7978all_recursive:
    8079        $(ECHO) "if1of and ifn1of work fine"
     80
  • trunk/src/kmk/testcase-ifcond.kmk

    r1729 r2019  
    55
    66#
    7 # Copyright (c) 2007 knut st. osmundsen <[email protected]>
     7# Copyright (c) 2008 knut st. osmundsen <[email protected]>
    88#
    99# This file is part of kBuild.
     
    1111# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
    24 #
    25 #
    26 
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
     23#
     24#
    2725
    2826DEPTH = ../..
     
    3028
    3129#
    32 # Note! The testcase are ordered by ascending operator precedence 
     30# Note! The testcase are ordered by ascending operator precedence
    3331#       with the exception of equal and not-equal because these
    3432#       are kind of useful for performing tests on non-logical ops.
    35 # 
     33#
    3634
    3735#
     
    301299
    302300if (2 ^ 1) != 3
    303 $(error ) 
     301$(error )
    304302endif
    305303
     
    432430$(error )
    433431endif
    434 if hhhh < ggggg 
     432if hhhh < ggggg
    435433$(error )
    436434endif
     
    779777endif
    780778
    781 $(warning $$(expr ) ) 
     779$(warning $$(expr ) )
    782780ifeq ($(expr 5+3),8)
    783781else
  • trunk/src/kmk/testcase-includedep-sub.kmk

    • Property svn:keywords changed from Id to Author Date Id Revision
    r1694 r2019  
    11# $Id$
    22## @file
    3 # kBuild - testcase for the includdep directive, helper file 
     3# kBuild - testcase for the includdep directive, helper file
    44#          that gets included all the time.
    55#
    66
    77#
    8 # Copyright (c) 2007 knut st. osmundsen <[email protected]>
     8# Copyright (c) 2007-2008 knut st. osmundsen <[email protected]>
    99#
    1010# This file is part of kBuild.
     
    1212# kBuild is free software; you can redistribute it and/or modify
    1313# it under the terms of the GNU General Public License as published by
    14 # the Free Software Foundation; either version 2 of the License, or
     14# the Free Software Foundation; either version 3 of the License, or
    1515# (at your option) any later version.
    1616#
     
    2121#
    2222# You should have received a copy of the GNU General Public License
    23 # along with kBuild; if not, write to the Free Software
    24 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     23# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2524#
    2625#
  • trunk/src/kmk/testcase-includedep.kmk

    • Property svn:keywords changed from Id to Author Date Id Revision
    r1694 r2019  
    1111# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
  • trunk/src/kmk/testcase-lazy-deps-vars.kmk

    r1934 r2019  
    1111# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
  • trunk/src/kmk/testcase-math.kmk

    • Property svn:keywords set to Author Date Id Revision
    r819 r2019  
    1 # $Id: $
     1# $Id$
    22## @file
    3 #
    43# kBuild - testcase for the math functions.
    54#
    6 # Copyright (c) 2007 knut st. osmundsen <[email protected]>
     5
    76#
     7# Copyright (c) 2007-2008 knut st. osmundsen <[email protected]>
    88#
    9 # This file is part of kLdr.
     9# This file is part of kBuild.
    1010#
    11 # kLdr is free software; you can redistribute it and/or modify
     11# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
    16 # kLdr is distributed in the hope that it will be useful,
     16# kBuild is distributed in the hope that it will be useful,
    1717# but WITHOUT ANY WARRANTY; without even the implied warranty of
    1818# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kLdr; if not, write to the Free Software
    23 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
  • trunk/src/kmk/testcase-stack.kmk

    • Property svn:keywords set to Author Date Id Revision
    r819 r2019  
    1 # $Id: $
     1# $Id$
    22## @file
    3 #
    43# kBuild - testcase for the functions.
    54#
    6 # Copyright (c) 2006-2007 knut st. osmundsen <[email protected]>
     5
    76#
     7# Copyright (c) 2007-2008 knut st. osmundsen <[email protected]>
    88#
    9 # This file is part of kLdr.
     9# This file is part of kBuild.
    1010#
    11 # kLdr is free software; you can redistribute it and/or modify
     11# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
    16 # kLdr is distributed in the hope that it will be useful,
     16# kBuild is distributed in the hope that it will be useful,
    1717# but WITHOUT ANY WARRANTY; without even the implied warranty of
    1818# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kLdr; if not, write to the Free Software
    23 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
     
    8584all_recursive:
    8685        $(ECHO) The stack works.$(STACK1)
     86
  • trunk/src/kmk/testcase-xargs.kmk

    • Property svn:keywords changed from Id to Author Date Id Revision
    r822 r2019  
    11# $Id$
    22## @file
    3 #
    43# kBuild - testcase for the xargs function.
    54#          Requires manual inspection of the output.
    65#
    7 # Copyright (c) 2007 knut st. osmundsen <[email protected]>
     6
    87#
     8# Copyright (c) 2007-2008 knut st. osmundsen <[email protected]>
    99#
    10 # This file is part of kLdr.
     10# This file is part of kBuild.
    1111#
    12 # kLdr is free software; you can redistribute it and/or modify
     12# kBuild is free software; you can redistribute it and/or modify
    1313# it under the terms of the GNU General Public License as published by
    14 # the Free Software Foundation; either version 2 of the License, or
     14# the Free Software Foundation; either version 3 of the License, or
    1515# (at your option) any later version.
    1616#
    17 # kLdr is distributed in the hope that it will be useful,
     17# kBuild is distributed in the hope that it will be useful,
    1818# but WITHOUT ANY WARRANTY; without even the implied warranty of
    1919# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     
    2121#
    2222# You should have received a copy of the GNU General Public License
    23 # along with kLdr; if not, write to the Free Software
    24 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     23# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2524#
    2625#
  • trunk/src/kmk/w32/Makefile.kmk

    r1665 r2019  
    1 # $Id: Makefile.kmk 785 2007-01-24 22:21:56Z bird $
     1# $Id: $
    22## @file
    33# Sub-makefile for tstFileInfo / w32.
     
    55
    66#
    7 # Copyright (c) 2007-2008 knut st. osmundsen <bird-kBuild[email protected]>
     7# Copyright (c) 2007-2008 knut st. osmundsen <bird-src[email protected]>
    88#
    99# This file is part of kBuild.
     
    1111# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
  • trunk/src/kmk/w32/tstFileInfo.c

    r1179 r2019  
     1/* $Id: $ */
     2/** @file
     3 * Test program for some NtQueryInformationFile functionality.
     4 */
     5
     6/*
     7 * Copyright (c) 2007-2008 knut st. osmundsen <[email protected]>
     8 *
     9 * This file is part of kBuild.
     10 *
     11 * kBuild is free software; you can redistribute it and/or modify
     12 * it under the terms of the GNU General Public License as published by
     13 * the Free Software Foundation; either version 3 of the License, or
     14 * (at your option) any later version.
     15 *
     16 * kBuild is distributed in the hope that it will be useful,
     17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     19 * GNU General Public License for more details.
     20 *
     21 * You should have received a copy of the GNU General Public License
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
     23 *
     24 */
     25
     26
    127
    228#include <stdio.h>
     
    5379typedef LONG NTSTATUS;
    5480
    55 typedef struct _IO_STATUS_BLOCK 
     81typedef struct _IO_STATUS_BLOCK
    5682{
    5783    union
     
    6389} IO_STATUS_BLOCK, *PIO_STATUS_BLOCK;
    6490
    65 NTSYSAPI 
     91NTSYSAPI
    6692NTSTATUS
    6793NTAPI
    68 NtQueryInformationFile(HANDLE FileHandle, PIO_STATUS_BLOCK IoStatusBlock, PVOID FileInformation, 
    69                        ULONG Length, FILE_INFORMATION_CLASS FileInformationClass); 
     94NtQueryInformationFile(HANDLE FileHandle, PIO_STATUS_BLOCK IoStatusBlock, PVOID FileInformation,
     95                       ULONG Length, FILE_INFORMATION_CLASS FileInformationClass);
    7096
    7197
     
    76102    int i;
    77103
    78     NTSTATUS (NTAPI *pfnNtQueryInformationFile)(HANDLE FileHandle, PIO_STATUS_BLOCK IoStatusBlock, PVOID FileInformation, 
    79                                                 ULONG Length, FILE_INFORMATION_CLASS FileInformationClass); 
     104    NTSTATUS (NTAPI *pfnNtQueryInformationFile)(HANDLE FileHandle, PIO_STATUS_BLOCK IoStatusBlock, PVOID FileInformation,
     105                                                ULONG Length, FILE_INFORMATION_CLASS FileInformationClass);
    80106
    81107    pfnNtQueryInformationFile = GetProcAddress(LoadLibrary("ntdll.dll"), "NtQueryInformationFile");
     
    104130                printf("#%d: %s - rcNt=%#x - FileNameInformation:\n"
    105131                       "        FileName: %ls\n"
    106                        "  FileNameLength: %lu\n", 
    107                        i, argv[i], rcNt, 
    108                        pFileNameInfo->FileName, 
     132                       "  FileNameLength: %lu\n",
     133                       i, argv[i], rcNt,
     134                       pFileNameInfo->FileName,
    109135                       pFileNameInfo->FileNameLength
    110136                       );
     
    123149    return rc;
    124150}
     151
  • trunk/src/lib/Makefile.kmk

    r1665 r2019  
    55
    66#
    7 # Copyright (c) 2006-2008 knut st. osmundsen <bird-kBuild[email protected]>
     7# Copyright (c) 2006-2008 knut st. osmundsen <bird-src[email protected]>
    88#
    99# This file is part of kBuild.
     
    1111# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
  • trunk/src/lib/kDep.c

    r1733 r2019  
    11/* $Id$ */
    22/** @file
    3  *
    43 * kDep - Common Dependency Managemnt Code.
    5  *
    6  * Copyright (c) 2004-2007 knut st. osmundsen <[email protected]>
    7  *
     4 */
     5
     6/*
     7 * Copyright (c) 2004-2008 knut st. osmundsen <[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    24  *
    25  */
    26 
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
     23 *
     24 */
    2725
    2826/*******************************************************************************
     
    328326    if (!pDep)
    329327    {
    330         fprintf(stderr, "\nOut of memory! (requested %lx bytes)\n\n", 
     328        fprintf(stderr, "\nOut of memory! (requested %lx bytes)\n\n",
    331329                (unsigned long)(sizeof(*pDep) + cchFilename));
    332330        exit(1);
  • trunk/src/lib/kDep.h

    r1165 r2019  
    11/* $Id$ */
    22/** @file
    3  *
    43 * kDep - Common Dependency Managemnt Code.
    5  *
    6  * Copyright (c) 2004-2007 knut st. osmundsen <[email protected]>
    7  *
     4 */
     5
     6/*
     7 * Copyright (c) 2004-2008 knut st. osmundsen <[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
    2625
    27 
    28 #ifndef __kDep_h__
    29 #define __kDep_h__
     26#ifndef ___kDep_h
     27#define ___kDep_h
    3028
    3129/** A dependency. */
  • trunk/src/lib/mytypes.h

    • Property svn:keywords changed from Id to Author Date Id Revision
    r1009 r2019  
    11/* $Id$ */
    22/** @file
    3  *
    43 * mytypes - wrapper that ensures the necessary uintXY_t types are defined.
    5  *
    6  * Copyright (c) 2007 knut st. osmundsen <[email protected]>
    7  *
     4 */
     5
     6/*
     7 * Copyright (c) 2007-2008 knut st. osmundsen <[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
     
    4039#endif
    4140
    42 #endif 
     41#endif
    4342
  • trunk/src/lib/nt_fullpath.c

    • Property svn:keywords changed from Id to Author Date Id Revision
    r1643 r2019  
    55
    66/*
    7  * Copyright (c) 2004-2007 knut st. osmundsen <[email protected]>
     7 * Copyright (c) 2004-2008 knut st. osmundsen <[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
    2625
     26/*******************************************************************************
     27*   Header Files                                                               *
     28*******************************************************************************/
    2729#include <Windows.h>
    2830#include <stdio.h>
  • trunk/src/lib/startuphacks-win.c

    • Property svn:keywords changed from Id to Author Date Id Revision
    r1106 r2019  
    11/* $Id$ */
    22/** @file
    3  *
    43 * kBuild - Alternative argument parser for the windows startup code.
    54 *
     5 * @todo Update license when SED is updated.
     6 */
     7
     8/*
    69 * Copyright (c) 2006-2007 knut st. osmundsen <[email protected]>
    710 *
     
    2629 *
    2730 */
    28 
    2931
    3032/*******************************************************************************
  • trunk/src/lib/wrapper.c

    • Property svn:keywords changed from Id to Author Date Id Revision
    r1322 r2019  
    55
    66/*
    7  * Copyright (c) 2007 knut st. osmundsen <[email protected]>
     7 * Copyright (c) 2007-2008 knut st. osmundsen <[email protected]>
    88 *
    99 * This file is part of kBuild.
     
    1111 * kBuild is free software; you can redistribute it and/or modify
    1212 * it under the terms of the GNU General Public License as published by
    13  * the Free Software Foundation; either version 2 of the License, or
     13 * the Free Software Foundation; either version 3 of the License, or
    1414 * (at your option) any later version.
    1515 *
     
    2020 *
    2121 * You should have received a copy of the GNU General Public License
    22  * along with kBuild; if not, write to the Free Software
    23  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423 *
    2524 */
    2625
     26/*******************************************************************************
     27*   Header Files                                                               *
     28*******************************************************************************/
    2729#include <stdio.h>
    2830#include <string.h>
  • trunk/src/misc/Makefile.kmk

    • Property svn:keywords changed from Id to Author Date Id Revision
    r1789 r2019  
    55
    66#
    7 # Copyright (c) 2007-2008 knut st. osmundsen <bird-kBuild[email protected]>
     7# Copyright (c) 2008 knut st. osmundsen <bird-src[email protected]>
    88#
    99# This file is part of kBuild.
     
    1111# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
  • trunk/src/misc/kmk_time.c

    • Property svn:keywords changed from Id to Author Date Id Revision
    r2002 r2019  
    77
    88/*
    9  * Copyright (c) 2007-2008 knut st. osmundsen <bird-kBuild[email protected]>
     9 * Copyright (c) 2007-2008 knut st. osmundsen <bird-src[email protected]>
    1010 *
    1111 * This file is part of kBuild.
     
    1313 * kBuild is free software; you can redistribute it and/or modify
    1414 * it under the terms of the GNU General Public License as published by
    15  * the Free Software Foundation; either version 2 of the License, or
     15 * the Free Software Foundation; either version 3 of the License, or
    1616 * (at your option) any later version.
    1717 *
     
    2222 *
    2323 * You should have received a copy of the GNU General Public License
    24  * along with kBuild; if not, write to the Free Software
    25  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     24 * along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2625 *
    2726 */
    28 
    2927
    3028/*******************************************************************************
  • trunk/src/sed/Makefile.kmk

    r1665 r2019  
    55
    66#
    7 # Copyright (c) 2006-2008 knut st. osmundsen <bird-kBuild[email protected]>
     7# Copyright (c) 2006-2008 knut st. osmundsen <bird-src[email protected]>
    88#
    99# This file is part of kBuild.
     
    1111# kBuild is free software; you can redistribute it and/or modify
    1212# it under the terms of the GNU General Public License as published by
    13 # the Free Software Foundation; either version 2 of the License, or
     13# the Free Software Foundation; either version 3 of the License, or
    1414# (at your option) any later version.
    1515#
     
    2020#
    2121# You should have received a copy of the GNU General Public License
    22 # along with kBuild; if not, write to the Free Software
    23 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
     22# along with kBuild.  If not, see <http://www.gnu.org/licenses/>
    2423#
    2524#
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette