Browse Source

* Removed double source after end.

git-svn-id: branches/resources@9708 -
michael 17 years ago
parent
commit
42c60bc769
3 changed files with 0 additions and 139 deletions
  1. 0 59
      compiler/rescmn.pas
  2. 0 47
      rtl/inc/fpextres.pp
  3. 0 33
      rtl/inc/fpintres.pp

+ 0 - 59
compiler/rescmn.pas

@@ -54,65 +54,6 @@ uses
           );
 
 
-implementation
-
-end.
-{
-    Copyright (c) 2008 by Giulio Bernardi
-
-    Common resource target infos
-
-    This program is free software; you can redistribute it and/or modify
-    it under the terms of the GNU General Public License as published by
-    the Free Software Foundation; either version 2 of the License, or
-    (at your option) any later version.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-    GNU General Public License for more details.
-
-    You should have received a copy of the GNU General Public License
-    along with this program; if not, write to the Free Software
-    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- ****************************************************************************
-}
-
-unit rescmn;
-
-{$i fpcdefs.inc}
-
-interface
-
-uses
-  Systems;
-
-    const
-       res_elf_info : tresinfo =
-          (
-             id     : res_elf;
-             resbin : 'fpcres';
-             rescmd : '-o $OBJ -a $ARCH -of elf $DBG';
-             { cross compiled windres can be used to compile .rc files on linux }
-             rcbin  : 'windres';
-             rccmd  : '--include $INC -O res -o $RES $RC';
-             resourcefileclass : nil;
-             resflags : [];
-          );
-
-       res_ext_info : tresinfo =
-          (
-             id     : res_ext;
-             resbin : 'fpcres';
-             rescmd : '-o $OBJ -a $ENDIAN -of external $DBG';
-             rcbin  : 'windres';
-             rccmd  : '--include $INC -O res -o $RES $RC';
-             resourcefileclass : nil;
-             resflags : [res_external_file];
-          );
-
-
 implementation
 
 end.

+ 0 - 47
rtl/inc/fpextres.pp

@@ -45,50 +45,3 @@ finalization
   FinalizeResources;
 
 end.
-{
-    This file is part of the Free Pascal run time library.
-    Copyright (c) 2008 by Giulio Bernardi
-
-    External resource support
-    !!!NEVER USE THIS UNIT DIRECTLY!!!
-
-    See the file COPYING.FPC, included in this distribution,
-    for details about the copyright.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
- **********************************************************************}
-unit fpextres;
-
-{$inline on}
-
-interface
-
-implementation
-
-{$ifdef UNIX}
-uses
-  baseunix;
-{$endif}
-
-{$ifdef DARWIN}
-  {$include extres_multiarch.inc}
-{$else}
-  {$ifdef UNIX}
-    {$define EXTRES_MMAP}
-  {$else}
-    {$define EXTRES_GENERIC}
-  {$endif}
-  {$include extres.inc}
-{$endif}
-
-initialization
-  InitResources;
-  SetResourceManager(ExternalResourceManager);
-
-finalization
-  FinalizeResources;
-
-end.

+ 0 - 33
rtl/inc/fpintres.pp

@@ -31,36 +31,3 @@ implementation
 {$endif}
 
 end.
-{
-    This file is part of the Free Pascal run time library.
-    Copyright (c) 2008 by Giulio Bernardi
-
-    Internal resource support
-    !!!NEVER USE THIS UNIT DIRECTLY!!!
-
-    See the file COPYING.FPC, included in this distribution,
-    for details about the copyright.
-
-    This program is distributed in the hope that it will be useful,
-    but WITHOUT ANY WARRANTY; without even the implied warranty of
-    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
- **********************************************************************}
-unit fpintres;
-
-interface
-
-implementation
-
-{$ifdef FPC_HAS_RESOURCES}
-  {$ifdef WINDOWS}
-    {$include winres.inc}
-  {$else}
-    {$include intres.inc}
-  {$endif}
-
-  initialization
-    SetResourceManager(InternalResourceManager);
-{$endif}
-
-end.