Home | History | Annotate | Download | only in include
      1 /*---------------------------------------------------------------------------*
      2  *  vcc_helper.h  *
      3  *                                                                           *
      4  *  Copyright 2007, 2008 Nuance Communciations, Inc.                               *
      5  *                                                                           *
      6  *  Licensed under the Apache License, Version 2.0 (the 'License');          *
      7  *  you may not use this file except in compliance with the License.         *
      8  *                                                                           *
      9  *  You may obtain a copy of the License at                                  *
     10  *      http://www.apache.org/licenses/LICENSE-2.0                           *
     11  *                                                                           *
     12  *  Unless required by applicable law or agreed to in writing, software      *
     13  *  distributed under the License is distributed on an 'AS IS' BASIS,        *
     14  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
     15  *  See the License for the specific language governing permissions and      *
     16  *  limitations under the License.                                           *
     17  *                                                                           *
     18  *---------------------------------------------------------------------------*/
     19 
     20 #ifndef _VCC_HELPER_H
     21 #define _VCC_HELPER_H
     22 
     23 #define OS_MSDOS 1
     24 #define OS_WIN32 2
     25 #define OS_MAC 4
     26 #define OS_UNIX 8
     27 #define OS_EMBEDDED 16
     28 #define OS_VXWORKS 32
     29 #define OS_PSOS 64
     30 #define OS_WINCE 128
     31 #define OS_PALM 256
     32 #define OS_JAVA 512
     33 #define OS_QNX 1024
     34 
     35 #define CPU_I86 1
     36 #define CPU_68K 2
     37 #define CPU_MIPS 4
     38 #define CPU_ALPHA 8
     39 #define CPU_PPC 16
     40 #define CPU_SPARC 32
     41 #define CPU_ARM 64
     42 #define CPU_STRONGARM 128
     43 #define CPU_TMS320X 256
     44 #define CPU_SH3 512
     45 #define CPU_SH4 = 1024
     46 
     47 #define C_BORLAND 1
     48 #define C_MICROSOFT 2
     49 #define C_INTEL 4
     50 #define C_HIGH 8
     51 #define C_ZORTECH 16
     52 #define C_WATCOM 32
     53 #define C_GNU 64
     54 #define C_SUNPRO 128
     55 #define C_DECCXX 256
     56 #define C_METROWERKS 512
     57 #define C_GHS 1024
     58 #define C_TICXC 2048
     59 #define C_ARM 4096
     60 #define C_DIABDATA 8192
     61 
     62 #define BUILD_SHIP 1
     63 #define BUILD_INHOUSE 2
     64 #define BUILD_DEBUGO 4
     65 #define BUILD_DEBUG 8
     66 #define BUILD_PROFILE 16
     67 #define BUILD_TRACE 32
     68 
     69 //Developers should define:
     70 //
     71 //OS
     72 //HOST_OS
     73 //TARGET_OS
     74 //CPU
     75 //HOST_CPU
     76 //TARGET_CPU
     77 //COMPILER
     78 //BUILD
     79 //
     80 // Other keywords that were used in the makefile and were not migrated:
     81 //-DDISABLE_EXCEPTION_HANDLING /DWIN32 /D_WIN32 /DSOUNDBLASTER /D_DEBUG /D_DLL /D_ASCPP
     82 
     83 #endif //_VCC_HELPER_H
     84