| 1 | /* $Header: d:/cvsroot/tads/TADS2/OEMPROTO.H,v 1.2 1999/05/17 02:52:12 MJRoberts Exp $ */ |
| 2 | |
| 3 | /* |
| 4 | * Copyright (c) 1996, 2002 Michael J. Roberts. All Rights Reserved. |
| 5 | * |
| 6 | * Please see the accompanying license file, LICENSE.TXT, for information |
| 7 | * on using and copying this software. |
| 8 | */ |
| 9 | /* |
| 10 | Name |
| 11 | oem.h - "original equipment manufacturer" identification |
| 12 | Function |
| 13 | This file identifies the person who created this version of TADS. |
| 14 | If you're porting TADS to a new machine, or you're customizing |
| 15 | something, THIS MEANS YOU! |
| 16 | |
| 17 | The OEM name defined herein is displayed in the version banner of |
| 18 | each executable to make it easy to identify the source of a particular |
| 19 | version of the system. |
| 20 | |
| 21 | This file also specifies the OEM version number. This version |
| 22 | number identifies the revision level of a particular base version |
| 23 | of the TADS source code as released by a particular OEM. |
| 24 | Notes |
| 25 | |
| 26 | EACH PERSON WHO PRODUCES A VERSION OF TADS SHOULD SET THE OEM |
| 27 | IDENTIFIER IN THIS FILE TO A UNIQUE VALUE. The OEM identifier is |
| 28 | intended to reduce the confusion that could result from different |
| 29 | people producing versions of the system. If you produce a version |
| 30 | of TADS, and someone has a question about it, it will be possible |
| 31 | to tell from the OEM identifier on the person's executable whether |
| 32 | it's your version or a version someone else produced. |
| 33 | |
| 34 | We recommend that you use your email address or full name as your |
| 35 | OEM identifier, since this is the best way to ensure that you don't |
| 36 | use an ID that someone else is using. |
| 37 | |
| 38 | Note that, if you release multiple versions of a particular release |
| 39 | of the base TADS source code (for example, if you find a fix a |
| 40 | port-specific bug in your version, and the fixed version is based |
| 41 | on the same base TADS source code as the original release), you |
| 42 | should update the OEM version number as well. This should start |
| 43 | at zero for the first release that you make of a particular version |
| 44 | of the base TADS source code, and should be incremented each time |
| 45 | you release a new revision based on the same portable code. This |
| 46 | version number shows up as the fourth part of the version number |
| 47 | displayed in each executable's banner. |
| 48 | |
| 49 | Modified |
| 50 | 10/05/96 MJRoberts - Creation |
| 51 | */ |
| 52 | |
| 53 | #ifndef OEM_H |
| 54 | #define OEM_H |
| 55 | |
| 56 | #ifndef OS_H |
| 57 | #include "os.h" |
| 58 | #endif |
| 59 | |
| 60 | /* |
| 61 | * OEM name - this should uniquely identify your version, to |
| 62 | * distinguish it from versions produced by other people; you should use |
| 63 | * your name or email address to ensure uniqueness. If the name is |
| 64 | * already defined (some people like to define it in the makefile), we |
| 65 | * won't redefine it here. |
| 66 | */ |
| 67 | #ifndef TADS_OEM_NAME |
| 68 | $$$ #define your own TADS_OEM_NAME here, similar to this: |
| 69 | /* #define TADS_OEM_NAME "Mike Roberts" */ |
| 70 | /* Please keep the size under 256 bytes */ |
| 71 | /* Don't use "Mike Roberts" unless your name happens to be Mike Roberts. */ |
| 72 | #endif |
| 73 | |
| 74 | /* |
| 75 | * NOTE - if you redistribute this source file, please leave the dollar |
| 76 | * signs intact above so that the next person who gets a copy gets a |
| 77 | * compiler error and thereby realizes that they need to update this. |
| 78 | */ |
| 79 | |
| 80 | /* |
| 81 | * OEM version level - increment for each new release based on the same |
| 82 | * original source code version. Note that this is a string. Some |
| 83 | * people prefer to define the OEM patch level in their makefiles, so we |
| 84 | * won't attempt to redefine it if it's already been defined. |
| 85 | */ |
| 86 | #ifndef TADS_OEM_VERSION |
| 87 | # define TADS_OEM_VERSION "0" |
| 88 | #endif |
| 89 | |
| 90 | /* |
| 91 | * Some external strings that must be defined for the run-time banner. |
| 92 | * Please refer to oem.c for the definitions of these strings. |
| 93 | */ |
| 94 | extern char G_tads_oem_app_name[]; |
| 95 | extern char G_tads_oem_dbg_name[]; |
| 96 | extern char G_tads_oem_display_mode[]; |
| 97 | extern char G_tads_oem_author[]; |
| 98 | extern int G_tads_oem_copyright_prefix; |
| 99 | |
| 100 | #endif /* OEM_H */ |
| 101 |