Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

config.h

Go to the documentation of this file.
00001 /********************************************************************
00002 
00003 Copyright 2006, ACCESS Systems Americas, Inc. All rights reserved.
00004 
00005 The contents of this file are subject to the Mozilla Public License Version
00006 1.1 (the "License"); you may not use this file except in compliance with
00007 the License. You may obtain a copy of the License at
00008 http://www.mozilla.org/MPL/
00009 
00010 Software distributed under the License is distributed on an "AS IS" basis,
00011 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012 for the specific language governing rights and limitations under the
00013 License.
00014 
00015 The Original Code is the entire contents of this file.
00016 
00017 The Initial Developer of the Original Code is ACCESS Systems Americas, Inc.
00018 
00019 Portions created by ACCESS Systems Americas, Inc. are Copyright © 2006. All
00020 Rights Reserved.
00021 
00022 Contributor(s): none.
00023 
00024 ********************************************************************/
00032 #ifndef ALP_CONFIG_H_
00033 #define ALP_CONFIG_H_
00034 
00035 // ---------------------------------------------------------------------------
00036 #include <hiker/config_defines.h>
00037 
00038 // ---------------------------------------------------------------------------
00039 // Must be defined by the build system. 
00040 // Since it's really important, we cannot simply use a default value for it.
00041 #if !defined(ALP_BUILD)
00042 #       error ALP_BUILD MUST be defined by the build system
00043 #endif
00044 
00045 // ##############################################
00046 // THIS IS VERY TEMPORARY UNTIL WE HAVE COMBOS
00047 // ##############################################
00048 #define ALP_CPU ALP_CPU_x86
00049 
00050 // Must be defined by the build system. 
00051 // Since it's really important, we cannot simply use a default value for it.
00052 #if !defined(ALP_CPU)
00053 #       error ALP_CPU MUST be defined by the build system
00054 #endif
00055 
00056 // Can be defined by the build system. 
00057 // Otherwise, default is to do Device builds.
00058 #if !defined(ALP_TARGET)
00059 #       define ALP_TARGET ALP_TARGET_DEVICE
00060 #endif
00061 
00062 // Can be defined by the build system. 
00063 // Otherwise, default is to do Device builds.
00064 #if !defined(ALP_TRACE)
00065 #       if ALP_BUILD == ALP_BUILD_DEBUG
00066 #               define ALP_TRACE ALP_TRACE_ON
00067 #       else
00068 #               define ALP_TRACE ALP_TRACE_OFF
00069 #       endif
00070 #endif
00071 
00072 // ---------------------------------------------------------------------------
00073 #endif // ALP_CONFIG_H_

Generated on Sat Dec 16 20:29:47 2006 for hiker-0.9 by  doxygen 1.4.4