Changeset 2019 for trunk/src/kmk/kmkbuiltin
- Timestamp:
- Nov 2, 2008, 1:21:05 AM (17 years ago)
- Location:
- trunk/src/kmk/kmkbuiltin
- Files:
- 
      - 16 edited
 
 - 
          
  append.c (modified) (3 diffs)
- 
          
  darwin.c (modified) (3 diffs, 1 prop)
- 
          
  err.c (modified) (2 diffs)
- 
          
  err.h (modified) (2 diffs)
- 
          
  kDepIDB.c (modified) (3 diffs)
- 
          
  kbuild_protection.c (modified) (2 diffs, 1 prop)
- 
          
  kbuild_protection.h (modified) (2 diffs, 1 prop)
- 
          
  kbuild_version.c (modified) (4 diffs, 1 prop)
- 
          
  md5sum.c (modified) (4 diffs, 1 prop)
- 
          
  mscfakes.c (modified) (2 diffs)
- 
          
  mscfakes.h (modified) (2 diffs)
- 
          
  osdep.c (modified) (3 diffs, 1 prop)
- 
          
  redirect.c (modified) (3 diffs, 1 prop)
- 
          
  sleep.c (modified) (3 diffs)
- 
          
  solfakes.c (modified) (2 diffs, 1 prop)
- 
          
  solfakes.h (modified) (3 diffs, 1 prop)
 
Legend:
- Unmodified
- Added
- Removed
- 
      trunk/src/kmk/kmkbuiltin/append.cr2016 r2019 5 5 6 6 /* 7 * Copyright (c) 2005-2008 knut st. osmundsen <bird- kBuild-spam@anduin.net>7 * Copyright (c) 2005-2008 knut st. osmundsen <bird-src-spam@anduin.net> 8 8 * 9 9 * This file is part of kBuild. … … 11 11 * kBuild is free software; you can redistribute it and/or modify 12 12 * it under the terms of the GNU General Public License as published by 13 * the Free Software Foundation; either version 2of the License, or13 * the Free Software Foundation; either version 3 of the License, or 14 14 * (at your option) any later version. 15 15 * … … 20 20 * 21 21 * 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 *******************************************************************************/ 27 29 #include <string.h> 28 30 #include <stdio.h> 
- 
      trunk/src/kmk/kmkbuiltin/darwin.c- 
Property       svn:keywords
 changed from       IdtoAuthor Date Id Revision
 r1593 r2019 5 5 6 6 /* 7 * Copyright (c) 2006-2008 knut st. osmundsen <bird- kBuild-spam@anduin.net>7 * Copyright (c) 2006-2008 knut st. osmundsen <bird-src-spam@anduin.net> 8 8 * 9 9 * This file is part of kBuild. … … 11 11 * kBuild is free software; you can redistribute it and/or modify 12 12 * it under the terms of the GNU General Public License as published by 13 * the Free Software Foundation; either version 2of the License, or13 * the Free Software Foundation; either version 3 of the License, or 14 14 * (at your option) any later version. 15 15 * … … 20 20 * 21 21 * 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/> 24 23 * 25 24 */ 26 25 26 /******************************************************************************* 27 * Header Files * 28 *******************************************************************************/ 27 29 #include <sys/stat.h> 28 30 #include <unistd.h> 
- 
Property       svn:keywords
 changed from       
- 
      trunk/src/kmk/kmkbuiltin/err.cr2001 r2019 1 1 /* $Id$ */ 2 2 /** @file 3 * Override err.h so we get the program name right. 4 */ 5 6 /* 7 * Copyright (c) 2005-2008 knut st. osmundsen <bird-src-spam@anduin.net> 3 8 * 4 * Override err.h so we get the program name right.9 * This file is part of kBuild. 5 10 * 6 * Copyright (c) 2005-2007 knut st. osmundsen <bird-kBuild-spam@anduin.net> 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 10 12 * it under the terms of the GNU General Public License as published by 11 * the Free Software Foundation; either version 2of the License, or13 * the Free Software Foundation; either version 3 of the License, or 12 14 * (at your option) any later version. 13 15 * 14 * This programis distributed in the hope that it will be useful,16 * kBuild is distributed in the hope that it will be useful, 15 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the … … 18 20 * 19 21 * 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/> 22 23 * 23 24 */ 24 25 25 26 26 /******************************************************************************* 27 * Header Files * 28 *******************************************************************************/ 27 29 #include <stdio.h> 28 30 #include <stdarg.h> 
- 
      trunk/src/kmk/kmkbuiltin/err.hr1309 r2019 1 1 /* $Id$ */ 2 2 /** @file 3 * Override err.h stuff so we get the program names right. 4 */ 5 6 /* 7 * Copyright (c) 2005-2008 knut st. osmundsen <bird-src-spam@anduin.net> 3 8 * 4 * Override err.h stuff so we get the program names right.9 * This file is part of kBuild. 5 10 * 6 * Copyright (c) 2005-2007 knut st. osmundsen <bird-kBuild-spam@anduin.net> 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 10 12 * it under the terms of the GNU General Public License as published by 11 * the Free Software Foundation; either version 2of the License, or13 * the Free Software Foundation; either version 3 of the License, or 12 14 * (at your option) any later version. 13 15 * 14 * This programis distributed in the hope that it will be useful,16 * kBuild is distributed in the hope that it will be useful, 15 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the … … 18 20 * 19 21 * 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/> 22 23 * 23 24 */ 
- 
      trunk/src/kmk/kmkbuiltin/kDepIDB.cr1514 r2019 1 1 /* $Id$ */ 2 2 /** @file 3 *4 3 * kDepIDB - Extract dependency information from a MS Visual C++ .idb file. 5 * 6 * Copyright (c) 2006-2007 knut st. osmundsen <bird-kBuild-spam@anduin.net> 7 * 4 */ 5 6 /* 7 * Copyright (c) 2007-2008 knut st. osmundsen <bird-src-spam@anduin.net> 8 8 * 9 9 * This file is part of kBuild. … … 11 11 * kBuild is free software; you can redistribute it and/or modify 12 12 * it under the terms of the GNU General Public License as published by 13 * the Free Software Foundation; either version 2of the License, or13 * the Free Software Foundation; either version 3 of the License, or 14 14 * (at your option) any later version. 15 15 * … … 20 20 * 21 21 * 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/> 24 23 * 25 24 */ 26 27 25 28 26 /******************************************************************************* 
- 
      trunk/src/kmk/kmkbuiltin/kbuild_protection.c- 
Property       svn:keywords
 changed from       IdtoAuthor Date Id Revision
 r2001 r2019 11 11 * kBuild is free software; you can redistribute it and/or modify 12 12 * it under the terms of the GNU General Public License as published by 13 * the Free Software Foundation; either version 2of the License, or13 * the Free Software Foundation; either version 3 of the License, or 14 14 * (at your option) any later version. 15 15 * … … 20 20 * 21 21 * 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 */ 27 25 28 26 /******************************************************************************* 
- 
Property       svn:keywords
 changed from       
- 
      trunk/src/kmk/kmkbuiltin/kbuild_protection.h- 
Property       svn:keywords
 changed from       IdtoAuthor Date Id Revision
 r2001 r2019 11 11 * kBuild is free software; you can redistribute it and/or modify 12 12 * it under the terms of the GNU General Public License as published by 13 * the Free Software Foundation; either version 2of the License, or13 * the Free Software Foundation; either version 3 of the License, or 14 14 * (at your option) any later version. 15 15 * … … 20 20 * 21 21 * 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/> 24 23 * 25 24 */ 26 25 27 #ifndef ___kbuild_protection_h ___28 #define ___kbuild_protection_h ___26 #ifndef ___kbuild_protection_h 27 #define ___kbuild_protection_h 29 28 30 29 /** 
- 
Property       svn:keywords
 changed from       
- 
      trunk/src/kmk/kmkbuiltin/kbuild_version.c- 
Property       svn:keywords
 changed from       IdtoAuthor Date Id Revision
 r1526 r2019 5 5 6 6 /* 7 * Copyright (c) 2007 knut st. osmundsen <bird-src-spam@anduin.net>7 * Copyright (c) 2007-2008 knut st. osmundsen <bird-src-spam@anduin.net> 8 8 * 9 9 * This file is part of kBuild. … … 11 11 * kBuild is free software; you can redistribute it and/or modify 12 12 * it under the terms of the GNU General Public License as published by 13 * the Free Software Foundation; either version 2of the License, or13 * the Free Software Foundation; either version 3 of the License, or 14 14 * (at your option) any later version. 15 15 * … … 20 20 * 21 21 * 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/> 24 23 * 25 24 */ 26 25 26 /******************************************************************************* 27 * Header Files * 28 *******************************************************************************/ 27 29 #include "kmkbuiltin.h" 28 30 #include <string.h> 29 31 #include <stdio.h> 32 30 33 31 34 /** … … 50 53 printf("%.*s - kBuild version %d.%d.%d (r%u)\n", 51 54 tmp - argv0, argv0, 52 KBUILD_VERSION_MAJOR, KBUILD_VERSION_MINOR, KBUILD_VERSION_PATCH, 55 KBUILD_VERSION_MAJOR, KBUILD_VERSION_MINOR, KBUILD_VERSION_PATCH, 53 56 KBUILD_SVN_REV); 54 57 return 0; 
- 
Property       svn:keywords
 changed from       
- 
      trunk/src/kmk/kmkbuiltin/md5sum.c- 
Property       svn:keywords
 changed from       IdtoAuthor Date Id Revision
 r1393 r2019 5 5 6 6 /* 7 * Copyright (c) 2007 knut st. osmundsen <bird-src-spam@anduin.net>7 * Copyright (c) 2007-2008 knut st. osmundsen <bird-src-spam@anduin.net> 8 8 * 9 9 * This file is part of kBuild. … … 11 11 * kBuild is free software; you can redistribute it and/or modify 12 12 * it under the terms of the GNU General Public License as published by 13 * the Free Software Foundation; either version 2of the License, or13 * the Free Software Foundation; either version 3 of the License, or 14 14 * (at your option) any later version. 15 15 * … … 20 20 * 21 21 * 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 *******************************************************************************/ 27 29 #include <string.h> 28 30 #include <stdio.h> … … 559 561 * @param fQuiet Whether to be quiet or verbose about errors. 560 562 * @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. 562 564 */ 563 565 static int md5sum_file(const char *pszFilename, unsigned fText, unsigned fQuiet, unsigned fProgress, FILE *pOutput) 
- 
Property       svn:keywords
 changed from       
- 
      trunk/src/kmk/kmkbuiltin/mscfakes.cr1717 r2019 1 1 /* $Id$ */ 2 2 /** @file 3 * Fake Unix stuff for MSC. 4 */ 5 6 /* 7 * Copyright (c) 2005-2008 knut st. osmundsen <bird-src-spam@anduin.net> 3 8 * 4 * Fake Unix stuff for MSC.9 * This file is part of kBuild. 5 10 * 6 * Copyright (c) 2005-2007 knut st. osmundsen <bird-kBuild-spam@anduin.net> 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 10 12 * it under the terms of the GNU General Public License as published by 11 * the Free Software Foundation; either version 2of the License, or13 * the Free Software Foundation; either version 3 of the License, or 12 14 * (at your option) any later version. 13 15 * 14 * This programis distributed in the hope that it will be useful,16 * kBuild is distributed in the hope that it will be useful, 15 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the … … 18 20 * 19 21 * 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/> 22 23 * 23 24 */ 24 25 25 26 /******************************************************************************* 27 * Header Files * 28 *******************************************************************************/ 26 29 #include <stdarg.h> 27 30 #include <stdio.h> 
- 
      trunk/src/kmk/kmkbuiltin/mscfakes.hr1710 r2019 1 1 /* $Id$ */ 2 2 /** @file 3 * Unix fakes for MSC. 4 */ 5 6 /* 7 * Copyright (c) 2005-2008 knut st. osmundsen <bird-src-spam@anduin.net> 3 8 * 4 * Unix fakes for MSC.9 * This file is part of kBuild. 5 10 * 6 * Copyright (c) 2005-2007 knut st. osmundsen <bird-kBuild-spam@anduin.net> 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 10 12 * it under the terms of the GNU General Public License as published by 11 * the Free Software Foundation; either version 2of the License, or13 * the Free Software Foundation; either version 3 of the License, or 12 14 * (at your option) any later version. 13 15 * 14 * This programis distributed in the hope that it will be useful,16 * kBuild is distributed in the hope that it will be useful, 15 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the … … 18 20 * 19 21 * 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/> 22 23 * 23 24 */ 24 25 25 #ifndef __ mscfakes_h__26 #define __ mscfakes_h__26 #ifndef ___mscfakes_h 27 #define ___mscfakes_h 27 28 #ifdef _MSC_VER 28 29 
- 
      trunk/src/kmk/kmkbuiltin/osdep.c- 
Property       svn:keywords
 changed from       IdtoAuthor Date Id Revision
 r930 r2019 1 1 /* $Id$ */ 2 2 /** @file 3 *4 3 * Include all the OS dependent bits when bootstrapping. 5 * 6 * Copyright (c) 2005-2007 knut st. osmundsen <bird-kBuild-spam@anduin.net> 7 * 4 */ 5 6 /* 7 * Copyright (c) 2005-2008 knut st. osmundsen <bird-src-spam@anduin.net> 8 8 * 9 9 * This file is part of kBuild. … … 11 11 * kBuild is free software; you can redistribute it and/or modify 12 12 * it under the terms of the GNU General Public License as published by 13 * the Free Software Foundation; either version 2of the License, or13 * the Free Software Foundation; either version 3 of the License, or 14 14 * (at your option) any later version. 15 15 * … … 20 20 * 21 21 * 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/> 24 23 * 25 24 */ 
- 
Property       svn:keywords
 changed from       
- 
      trunk/src/kmk/kmkbuiltin/redirect.c- 
Property       svn:keywords
 changed from       IdtoAuthor Date Id Revision
 r1674 r2019 5 5 6 6 /* 7 * Copyright (c) 2007-2008 knut st. osmundsen <bird- kBuild-spam@anduin.net>7 * Copyright (c) 2007-2008 knut st. osmundsen <bird-src-spam@anduin.net> 8 8 * 9 9 * This file is part of kBuild. … … 11 11 * kBuild is free software; you can redistribute it and/or modify 12 12 * it under the terms of the GNU General Public License as published by 13 * the Free Software Foundation; either version 2of the License, or13 * the Free Software Foundation; either version 3 of the License, or 14 14 * (at your option) any later version. 15 15 * … … 20 20 * 21 21 * 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/> 24 23 * 25 24 */ 26 27 25 28 26 /******************************************************************************* 
- 
Property       svn:keywords
 changed from       
- 
      trunk/src/kmk/kmkbuiltin/sleep.cr2003 r2019 5 5 6 6 /* 7 * Copyright (c) 2008 knut st. osmundsen <bird- kBuild-spam@anduin.net>7 * Copyright (c) 2008 knut st. osmundsen <bird-src-spam@anduin.net> 8 8 * 9 9 * This file is part of kBuild. … … 11 11 * kBuild is free software; you can redistribute it and/or modify 12 12 * it under the terms of the GNU General Public License as published by 13 * the Free Software Foundation; either version 2of the License, or13 * the Free Software Foundation; either version 3 of the License, or 14 14 * (at your option) any later version. 15 15 * … … 20 20 * 21 21 * 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/> 24 23 * 25 24 */ 26 27 25 28 26 /******************************************************************************* 
- 
      trunk/src/kmk/kmkbuiltin/solfakes.c- 
Property       svn:keywords
 set to       Author Date Id Revision
 r1714 r2019 1 /* $Id :$ */1 /* $Id$ */ 2 2 /** @file 3 * Fake Unix stuff for Solaris. 4 */ 5 6 /* 7 * Copyright (c) 2005-2008 knut st. osmundsen <bird-src-spam@anduin.net> 3 8 * 4 * Fake Unix stuff for Solaris.9 * This file is part of kBuild. 5 10 * 6 * Copyright (c) 2005-2007 knut st. osmundsen <bird-kBuild-spam@anduin.net> 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 10 12 * it under the terms of the GNU General Public License as published by 11 * the Free Software Foundation; either version 2of the License, or13 * the Free Software Foundation; either version 3 of the License, or 12 14 * (at your option) any later version. 13 15 * 14 * This programis distributed in the hope that it will be useful,16 * kBuild is distributed in the hope that it will be useful, 15 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the … … 18 20 * 19 21 * 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/> 22 23 * 23 24 */ 24 25 25 26 /******************************************************************************* 27 * Header Files * 28 *******************************************************************************/ 26 29 #include <errno.h> 27 30 #include <stdio.h> 
- 
Property       svn:keywords
 set to       
- 
      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$ */ 2 2 /** @file 3 * Unix fakes for Solaris. 4 */ 5 6 /* 7 * Copyright (c) 2005-2008 knut st. osmundsen <bird-src-spam@anduin.net> 3 8 * 4 * Unix fakes for Solaris.9 * This file is part of kBuild. 5 10 * 6 * Copyright (c) 2005-2007 knut st. osmundsen <bird-kBuild-spam@anduin.net> 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 10 12 * it under the terms of the GNU General Public License as published by 11 * the Free Software Foundation; either version 2of the License, or13 * the Free Software Foundation; either version 3 of the License, or 12 14 * (at your option) any later version. 13 15 * 14 * This programis distributed in the hope that it will be useful,16 * kBuild is distributed in the hope that it will be useful, 15 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 16 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the … … 18 20 * 19 21 * 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/> 22 23 * 23 24 */ 24 25 25 #ifndef __ solfakes_h__26 #define __ solfakes_h__26 #ifndef ___solfakes_h 27 #define ___solfakes_h 27 28 #ifdef __sun__ 28 29 … … 44 45 45 46 #endif /* __sun__ */ 46 #endif /* __ solfakes_h__*/47 #endif /* ___solfakes_h */ 47 48 
- 
Property       svn:keywords
 set to       
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  
