home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / INDENT1.ZIP / CONFIG.H < prev    next >
C/C++ Source or Header  |  1991-07-04  |  4KB  |  98 lines

  1. #ifndef    H_CONFIG
  2. #define    H_CONFIG
  3. /****************************************************************************\
  4. *                                                                              *
  5. * Template:        <^f^>                                                         *
  6. *                                                                              *
  7. * File:        config.h                                                         *
  8. *                                                                              *
  9. * Description:    This file contains definitions which describe the             *
  10. *                 configuration of the target machine.                         *
  11. *                                                                              *
  12. * Created by:    Bruce A. Mallett    12-NOV-86                                 *
  13. *                                                                              *
  14. \****************************************************************************/
  15.  
  16. /****************************************************************************\
  17. *                                                                              *
  18. * Define the hardware upon which this package is to be run.  Only one of     *
  19. * the following constants may have a value of 1, all others must be zero.     *
  20. * The current definitons are:                                                 *
  21. *                                                                              *
  22. *   HW_IBMRT    An IBM RT                                                     *
  23. *   HW_IBMPC   An IBM PC or compatible                                         *
  24. *   HW_IBMAT   An IBM AT or compatible                                         *
  25. *   HW_SUN68K    A Sun MicroSystems based on a Motorola 680x0 processor         *
  26. *   HW_VAX    A Digital Equipment Corporation VAX                                 *
  27. *                                                                              *
  28. \****************************************************************************/
  29.  
  30. #define    HW_IBMAT    1
  31. #define    HW_IBMPC    0
  32. #define    HW_IBMRT    0
  33. #define    HW_SUN68K    0
  34. #define    HW_VAX        0
  35.  
  36.  
  37. /****************************************************************************\
  38. *                                                                              *
  39. * Define the operating system under which this package is to be run.  Only     *
  40. * one of the following constants may have a value of one, all others must     *
  41. * be zero.  The constants are as follows:                                     *
  42. *                                                                              *
  43. *   OS_CPM    Digital Research CP/M                                             *
  44. *   OS_MSDOS    Microsoft MS-DOS or IBM PC-DOS                                 *
  45. *   OS_VMS    Digital Equipment Corp. Vax-VMS                                     *
  46. *   OS_UNIX    Unix (one flavor or another)                                     *
  47. *                                                                              *
  48. \****************************************************************************/
  49.  
  50. #define    OS_CPM        0
  51. #define    OS_MSDOS    1
  52. #define    OS_VMS        0
  53. #define    OS_UNIX        0
  54.  
  55.  
  56. /****************************************************************************\
  57. *                                                                              *
  58. * Define the C Compiler.  Set only one of the following constants to 1         *
  59. * according to the C environment in use.  The current definitions are:         *
  60. *                                                                              *
  61. *   CC_C86        Computer Innovations C86                                     *
  62. *   CC_MSC        Microsoft C                                                     *
  63. *   CC_RT        Standard IBM RT                                                 *
  64. *   CC_UNIX        Unix (or something close)                                     *
  65. *   CC_VMS        Standard Vax VMS                                             *
  66. *                                                                              *
  67. \****************************************************************************/
  68.  
  69. #define    CC_C86        0
  70. #define    CC_MSC        1
  71. #define    CC_RT        0
  72. #define    CC_UNIX        0
  73. #define    CC_VMS        0
  74.  
  75.  
  76. /****************************************************************************\
  77. *                                                                              *
  78. * ANSI_C                                                                     *
  79. *     Set this definiton to 1 if the C compiler is ANSI_C compatible.             *
  80. *     Set it to zero otherwise.                                                 *
  81. *                                                                              *
  82. \****************************************************************************/
  83. #define    ANSI_C        0
  84.  
  85.  
  86. /****************************************************************************\
  87. *                                                                              *
  88. * PROTOTYPE                                                                     *
  89. *     In your makefile use the /DEFINE, -D, or /D switch (or whatever             *
  90. *     is appropriate for your compiler) to define PROTOTYPE iff your             *
  91. *     compiler supports statement prototyping.                                 *
  92. *                                                                              *
  93. \****************************************************************************/
  94.  
  95. /* #define    PROTOTYPE *//* Define on compiler invocation line */
  96.  
  97. #endif                                    /* H_CONFIG */
  98.