version.pas 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. {
  2. $Id$
  3. Copyright (C) 1998-2000 by Florian Klaempfl
  4. Version/target constants
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. ****************************************************************************
  17. }
  18. unit version;
  19. interface
  20. const
  21. { word version for ppu file }
  22. wordversion = (0 shl 14)+99;
  23. { version string }
  24. version_nr = '0';
  25. release_nr = '99';
  26. patch_nr = '15';
  27. {$ifdef newcg}
  28. minorpatch = ' NCG';
  29. {$else newcg}
  30. minorpatch = '';
  31. {$endif newcg}
  32. version_string = version_nr+'.'+release_nr+'.'+patch_nr;
  33. full_version_string = version_nr+'.'+release_nr+'.'+patch_nr+minorpatch;
  34. { date string }
  35. {$ifdef FPC}
  36. date_string = {$I %DATE%};
  37. {$else}
  38. date_string = 'N/A';
  39. {$endif}
  40. { target cpu string }
  41. {$ifdef i386}
  42. target_cpu_string = 'i386';
  43. {$endif}
  44. {$ifdef m68k}
  45. target_cpu_string = 'm68k';
  46. {$endif}
  47. {$ifdef alpha}
  48. target_cpu_string = 'alpha';
  49. {$endif}
  50. {$ifdef powerpc}
  51. target_cpu_string = 'powerpc';
  52. {$endif}
  53. { source cpu string }
  54. {$ifdef cpu86}
  55. source_cpu_string = 'i386';
  56. {$endif}
  57. {$ifdef cpu68}
  58. source_cpu_string = 'm68k';
  59. {$endif}
  60. implementation
  61. begin
  62. end.
  63. {
  64. $Log$
  65. Revision 1.16 2000-02-09 13:23:09 peter
  66. * log truncated
  67. Revision 1.15 2000/01/28 20:47:26 michael
  68. + Changed patch number to 15
  69. Revision 1.14 2000/01/14 13:05:54 peter
  70. * version 0.99.14
  71. Revision 1.13 2000/01/07 01:14:49 peter
  72. * updated copyright to 2000
  73. Revision 1.12 1999/08/04 13:03:18 jonas
  74. * all tokens now start with an underscore
  75. * PowerPC compiles!!
  76. Revision 1.11 1999/08/02 17:17:12 florian
  77. * small changes for the new code generator
  78. Revision 1.10 1999/08/01 23:36:42 florian
  79. * some changes to compile the new code generator
  80. }