2001-05-23 15:26:42 +02:00
|
|
|
/*
|
|
|
|
* PROGRAM: JRD Access Method
|
|
|
|
* MODULE: license.h
|
|
|
|
* DESCRIPTION: Internal licensing parameters
|
|
|
|
*
|
|
|
|
* The contents of this file are subject to the Interbase Public
|
|
|
|
* License Version 1.0 (the "License"); you may not use this file
|
|
|
|
* except in compliance with the License. You may obtain a copy
|
|
|
|
* of the License at http://www.Inprise.com/IPL.html
|
|
|
|
*
|
|
|
|
* Software distributed under the License is distributed on an
|
|
|
|
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
|
|
|
|
* or implied. See the License for the specific language governing
|
|
|
|
* rights and limitations under the License.
|
|
|
|
*
|
|
|
|
* The Original Code was created by Inprise Corporation
|
|
|
|
* and its predecessors. Portions created by Inprise Corporation are
|
|
|
|
* Copyright (C) Inprise Corporation.
|
|
|
|
*
|
|
|
|
* All Rights Reserved.
|
|
|
|
* Contributor(s): ______________________________________.
|
2007-03-10 11:49:39 +01:00
|
|
|
*
|
2001-05-23 15:26:42 +02:00
|
|
|
* Revision 1.5 2000/12/08 16:18:21 fsg
|
|
|
|
* Preliminary changes to get IB_BUILD_NO automatically
|
|
|
|
* increased on commits.
|
|
|
|
*
|
|
|
|
* setup_dirs will create 'jrd/build_no.h' by a call to
|
|
|
|
* a slightly modified 'builds_win32/original/build_no.ksh'
|
|
|
|
* that gets IB_BUILD_NO from 'this_build', that hopefully
|
|
|
|
* will be increased automatically in the near future :-)
|
|
|
|
*
|
|
|
|
* I have changed 'jrd/iblicense.h' to use IB_BUILD_TYPE
|
|
|
|
* from 'jrd/build_no.h'.
|
|
|
|
* So all changes to version numbers, build types etc. can
|
|
|
|
* now be done in 'builds_win32/original/build_no.ksh'.
|
|
|
|
*
|
2002-02-16 04:33:53 +01:00
|
|
|
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "MAC" port
|
2002-02-16 03:50:01 +01:00
|
|
|
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "EPSON" port
|
|
|
|
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "XENIX" port
|
2002-02-16 04:05:21 +01:00
|
|
|
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "DELTA" port
|
2002-02-16 04:27:33 +01:00
|
|
|
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "IMP" port
|
2002-02-16 04:33:53 +01:00
|
|
|
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "NCR3000" port
|
2002-02-16 04:54:56 +01:00
|
|
|
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "M88K" port
|
2002-02-16 04:59:02 +01:00
|
|
|
* 2002.02.15 Sean Leyne - Code Cleanup, removed obsolete "HP9000 s300" port
|
2002-02-16 02:58:24 +01:00
|
|
|
*
|
2002-10-28 05:42:54 +01:00
|
|
|
* 2002.10.27 Sean Leyne - Completed removal of obsolete "DG_X86" port
|
2002-10-28 05:57:07 +01:00
|
|
|
* 2002.10.27 Sean Leyne - Code Cleanup, removed obsolete "UNIXWARE" port
|
2002-10-28 06:19:52 +01:00
|
|
|
* 2002.10.27 Sean Leyne - Code Cleanup, removed obsolete "Ultrix" port
|
|
|
|
* 2002.10.27 Sean Leyne - Code Cleanup, removed obsolete "Ultrix/MIPS" port
|
2002-10-28 06:39:48 +01:00
|
|
|
* 2002.10.27 Sean Leyne - Code Cleanup, removed obsolete "ALPHA_NT" port
|
2002-10-28 05:42:54 +01:00
|
|
|
*
|
2002-10-29 03:45:09 +01:00
|
|
|
* 2002.10.28 Sean Leyne - Completed removal of obsolete "DGUX" port
|
2002-10-29 04:17:45 +01:00
|
|
|
* 2002.10.28 Sean Leyne - Code cleanup, removed obsolete "DecOSF" port
|
2002-10-29 04:31:20 +01:00
|
|
|
* 2002.10.28 Sean Leyne - Code cleanup, removed obsolete "SGI" port
|
2002-10-29 04:37:50 +01:00
|
|
|
* 2002.10.28 Sean Leyne - Completed removal of obsolete "HP700" port
|
2002-10-29 03:45:09 +01:00
|
|
|
*
|
2002-10-30 07:40:58 +01:00
|
|
|
* 2002.10.29 Sean Leyne - Removed obsolete "Netware" port
|
|
|
|
*
|
2002-10-31 06:06:02 +01:00
|
|
|
* 2002.10.30 Sean Leyne - Removed support for obsolete "PC_PLATFORM" define
|
2002-10-31 06:33:35 +01:00
|
|
|
* 2002.10.30 Sean Leyne - Code Cleanup, removed obsolete "SUN3_3" port
|
2002-10-31 06:06:02 +01:00
|
|
|
*
|
2001-05-23 15:26:42 +02:00
|
|
|
*/
|
|
|
|
|
2003-10-03 03:53:34 +02:00
|
|
|
#ifndef JRD_LICENSE_H
|
|
|
|
#define JRD_LICENSE_H
|
2001-05-23 15:26:42 +02:00
|
|
|
|
|
|
|
#include "../jrd/build_no.h"
|
2003-06-07 14:39:12 +02:00
|
|
|
#include "../jrd/isc_version.h"
|
2001-05-23 15:26:42 +02:00
|
|
|
|
2007-11-12 16:18:49 +01:00
|
|
|
#ifdef HPUX
|
2001-05-23 15:26:42 +02:00
|
|
|
#ifdef HP10
|
|
|
|
#define FB_PLATFORM "HU"
|
|
|
|
#endif /* HP10 */
|
2008-12-05 01:56:15 +01:00
|
|
|
#ifdef HP11
|
2002-07-02 11:49:19 +02:00
|
|
|
#define FB_PLATFORM "HU"
|
|
|
|
#endif /* HP11 */
|
2001-05-23 15:26:42 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef sun
|
|
|
|
#ifdef sparc
|
|
|
|
#ifdef SOLARIS
|
|
|
|
#define FB_PLATFORM "SO"
|
|
|
|
#else
|
|
|
|
#define FB_PLATFORM "S4"
|
2002-10-28 06:39:48 +01:00
|
|
|
#endif /* Solaris */
|
|
|
|
#endif /* Sparc */
|
2001-05-23 15:26:42 +02:00
|
|
|
#ifdef i386
|
|
|
|
#define FB_PLATFORM "SI"
|
2002-10-28 06:39:48 +01:00
|
|
|
#endif /* i386 */
|
2008-04-25 11:42:19 +02:00
|
|
|
#ifdef AMD64
|
|
|
|
#define FB_PLATFORM "SI"
|
|
|
|
#endif
|
2001-05-23 15:26:42 +02:00
|
|
|
#ifndef FB_PLATFORM
|
|
|
|
#define FB_PLATFORM "S3"
|
|
|
|
#endif
|
2002-10-28 06:39:48 +01:00
|
|
|
#endif /* sun */
|
2001-05-23 15:26:42 +02:00
|
|
|
|
|
|
|
#ifdef AIX
|
|
|
|
#ifdef AIX_PPC
|
|
|
|
#define FB_PLATFORM "PA"
|
2008-11-01 13:19:28 +01:00
|
|
|
#else
|
|
|
|
#define FB_PLATFORM "IA"
|
2001-05-23 15:26:42 +02:00
|
|
|
#endif
|
2008-11-01 13:19:28 +01:00
|
|
|
#endif /* aix */
|
2001-05-23 15:26:42 +02:00
|
|
|
|
|
|
|
#ifdef WIN_NT
|
|
|
|
#ifdef i386
|
|
|
|
#define FB_PLATFORM "WI"
|
|
|
|
#else
|
|
|
|
#define FB_PLATFORM "NP"
|
2002-10-28 06:39:48 +01:00
|
|
|
#endif /* i386 */
|
2001-05-23 15:26:42 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef LINUX
|
|
|
|
#define FB_PLATFORM "LI" /* Linux on Intel */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef FREEBSD
|
|
|
|
#define FB_PLATFORM "FB" /* FreeBSD/i386 */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef NETBSD
|
|
|
|
#define FB_PLATFORM "NB" /* NetBSD */
|
|
|
|
#endif
|
|
|
|
|
2001-07-12 07:46:06 +02:00
|
|
|
#ifdef DARWIN
|
2008-01-18 15:12:26 +01:00
|
|
|
#if defined(i386) || defined(__x86_64__)
|
2008-01-21 00:51:21 +01:00
|
|
|
#define FB_PLATFORM "UI" /* Darwin/Intel */
|
2007-03-09 11:32:58 +01:00
|
|
|
#endif
|
2008-06-09 14:02:59 +02:00
|
|
|
#if defined(__ppc__) || defined(__ppc64__)
|
2008-01-18 15:12:26 +01:00
|
|
|
#define FB_PLATFORM "UP" /* Darwin/PowerPC */
|
2007-03-09 11:32:58 +01:00
|
|
|
#endif
|
2008-01-21 00:51:21 +01:00
|
|
|
#endif // DARWIN
|
2001-07-12 07:46:06 +02:00
|
|
|
|
2002-06-29 15:33:52 +02:00
|
|
|
#ifndef FB_VERSION
|
|
|
|
#define FB_VERSION FB_PLATFORM "-" FB_BUILD_TYPE FB_MAJOR_VER "." FB_MINOR_VER "." FB_REV_NO "." FB_BUILD_NO " " FB_BUILD_SUFFIX
|
|
|
|
#endif
|
2001-07-12 07:46:06 +02:00
|
|
|
|
2001-05-23 15:26:42 +02:00
|
|
|
#ifndef GDS_VERSION
|
2003-06-08 15:13:25 +02:00
|
|
|
#define GDS_VERSION FB_VERSION
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ISC_VERSION
|
|
|
|
#define ISC_VERSION FB_PLATFORM "-" FB_BUILD_TYPE ISC_MAJOR_VER "." ISC_MINOR_VER "." FB_REV_NO "." FB_BUILD_NO " " FB_BUILD_SUFFIX
|
2001-05-23 15:26:42 +02:00
|
|
|
#endif
|
|
|
|
|
2003-10-03 03:53:34 +02:00
|
|
|
#endif /* JRD_LICENSE_H */
|
2002-03-11 17:34:08 +01:00
|
|
|
|