00001 /* 00002 EyeDB Object Database Management System 00003 Copyright (C) 1994-2008 SYSRA 00004 00005 EyeDB is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Lesser General Public 00007 License as published by the Free Software Foundation; either 00008 version 2.1 of the License, or (at your option) any later version. 00009 00010 EyeDB is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Lesser General Public License for more details. 00014 00015 You should have received a copy of the GNU Lesser General Public 00016 License along with this library; if not, write to the Free Software 00017 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA 00018 */ 00019 00020 #include <lib/compile_builtin.h> 00021 00022 namespace eyedblib { 00023 const char* CompileBuiltin::getArch() 00024 { 00025 return ARCH; 00026 } 00027 00028 const char* CompileBuiltin::getCpu() 00029 { 00030 return CPU; 00031 } 00032 00033 const char* CompileBuiltin::getCompiler() 00034 { 00035 return CXX; 00036 } 00037 00038 const char* CompileBuiltin::getOs() 00039 { 00040 return OS; 00041 } 00042 00043 const char* CompileBuiltin::getBindir() 00044 { 00045 return BINDIR; 00046 } 00047 00048 const char* CompileBuiltin::getSbindir() 00049 { 00050 return SBINDIR; 00051 } 00052 00053 const char* CompileBuiltin::getLibdir() 00054 { 00055 return LIBDIR; 00056 } 00057 00058 const char* CompileBuiltin::getDatabasedir() 00059 { 00060 return EYEDB_DATABASEDIR; 00061 } 00062 00063 const char* CompileBuiltin::getPipedir() 00064 { 00065 return EYEDB_PIPEDIR; 00066 } 00067 00068 const char* CompileBuiltin::getTmpdir() 00069 { 00070 return EYEDB_TMPDIR; 00071 } 00072 00073 const char* CompileBuiltin::getSysconfdir() 00074 { 00075 return SYSCONFDIR; 00076 } 00077 00078 const char* CompileBuiltin::getPkgdatadir() 00079 { 00080 return PKGDATADIR; 00081 } 00082 00083 }