[llvm-commits] [hlvm] r37990 - /hlvm/trunk/hlvm/Base/ConfigData.cpp.in

Reid Spencer reid at x10sys.com
Sat Jul 7 16:58:43 PDT 2007


Author: reid
Date: Sat Jul  7 18:58:43 2007
New Revision: 37990

URL: http://llvm.org/viewvc/llvm-project?rev=37990&view=rev
Log:
HLVMify this file.

Modified:
    hlvm/trunk/hlvm/Base/ConfigData.cpp.in

Modified: hlvm/trunk/hlvm/Base/ConfigData.cpp.in
URL: http://llvm.org/viewvc/llvm-project/hlvm/trunk/hlvm/Base/ConfigData.cpp.in?rev=37990&r1=37989&r2=37990&view=diff

==============================================================================
--- hlvm/trunk/hlvm/Base/ConfigData.cpp.in (original)
+++ hlvm/trunk/hlvm/Base/ConfigData.cpp.in Sat Jul  7 18:58:43 2007
@@ -15,61 +15,34 @@
 // for more details.
 //
 ////////////////////////////////////////////////////////////////////////////////
-/// @file xps/base/Dirs.C.in
+/// @file hlvm/base/ConfigData.cpp.in
 /// @author Reid Spencer <rspencer at x10sys.com>
 /// @date 2003/04/25
 /// @since 0.1.9
-/// @brief Configuration template for getting configurable directories etc.
+/// @brief Configuration template for getting configuration data.
 ////////////////////////////////////////////////////////////////////////////////
 
-#include <xps/base/Base.h>
+namespace hlvm {
+namespace Base {
 
-namespace XPS_base
-{
-
-const char xps_prefix[]            = "@XPS_PREFIX@";
-const char xps_workspace_dir[]     = "@XPS_WITH_WORKSPACE@";
-const char xps_bindir[]            = "@XPS_PREFIX@/bin";
-const char xps_libdir[]            = "@XPS_PREFIX@/lib";
-const char xps_includedir[]        = "@XPS_PREFIX@/include";
-const char xps_datadir[]           = "@XPS_PREFIX@/data";
-const char xps_configdir[]         = "@XPS_PREFIX@/etc";
-const char xps_infodir[]           = "@XPS_PREFIX@/info";
-const char xps_mandir[]            = "@XPS_PREFIX@/man";
-const char xps_schemasdir[]        = "@XPS_PREFIX@/schemas";
-const char xps_src_dir[]           = "@abs_top_srcdir@";
-const char xps_build_dir[]         = "@abs_top_builddir@";
-const char xps_config_time[]       = "@XPS_CONFIGTIME@";
-const char xps_config[]            = "XPS.cfg";
-const char xps_config_path[]       = "@XPS_PREFIX@/etc/XPS.cfg";
-const char xps_version[]           = "@XPS_VERSION@";
-const char xps_so_version[]        = "@XPS_SO_VERSION@";
-const char xps_xpl_rng_path[]      = "@XPS_PREFIX@/schemas/XPL.rng";
-const char xps_package_name[]      = "@PACKAGE_NAME@";
-const char xps_package_bugreport[] = "@PACKAGE_BUGREPORT@";
-const char xps_package_string[]    = "@PACKAGE_STRING@";
-const char xps_package_version[]   = "@PACKAGE_VERSION@";
-const int xps_lib_current = @XPS_SO_CURRENT@;
-const int xps_lib_revision = @XPS_SO_REVISION@;
-const int xps_lib_AGE = @XPS_SO_AGE@;
-
-const char Configuration_schema_location[] =
-  "http://x-p-s.net/XPS/Schemas/Configuration "
-  "@XPS_PREFIX@/schemas/Config.rng";
-
-const char XPL_schema_location[] =
-  "http://x-p-s.net/XPS/Schemas/XPL "
-  "@XPS_PREFIX@/schemas/XPL.rng";
-
-const char Command_schema_location[] =
-  "http://x-p-s.net/XPS/Schemas/Command "
-  "@XPS_PREFIX@/schemas/Command.rng";
-
-const char XHTML_schema_location[] =
-  "http://www.w3.org/1999/xhtml "
-  "@XPS_PREFIX@/schemas/XHTML.xsd";
-
-const char XSLT_schema_location[] =
-  "http://www.w3.org/1999/XSL/Transform "
-  "@XPS_PREFIX@/schemas/XSLT.xsd";
-}
+const char hlvm_prefix[]            = "@HLVM_PREFIX@";
+const char hlvm_workspace_dir[]     = "@HLVM_WITH_WORKSPACE@";
+const char hlvm_bindir[]            = "@HLVM_PREFIX@/bin";
+const char hlvm_libdir[]            = "@HLVM_PREFIX@/lib";
+const char hlvm_includedir[]        = "@HLVM_PREFIX@/include";
+const char hlvm_datadir[]           = "@HLVM_PREFIX@/data";
+const char hlvm_configdir[]         = "@HLVM_PREFIX@/etc";
+const char hlvm_infodir[]           = "@HLVM_PREFIX@/info";
+const char hlvm_mandir[]            = "@HLVM_PREFIX@/man";
+const char hlvm_src_dir[]           = "@abs_top_srcdir@";
+const char hlvm_build_dir[]         = "@abs_top_builddir@";
+const char hlvm_config_time[]       = "@HLVM_CONFIGTIME@";
+const char hlvm_version[]           = "@HLVM_VERSION@";
+const char hlvm_so_version[]        = "@HLVM_SO_VERSION@";
+const char hlvm_package_name[]      = "@PACKAGE_NAME@";
+const char hlvm_package_bugreport[] = "@PACKAGE_BUGREPORT@";
+const char hlvm_package_string[]    = "@PACKAGE_STRING@";
+const char hlvm_package_version[]   = "@PACKAGE_VERSION@";
+const int hlvm_lib_current = @HLVM_SO_CURRENT@;
+const int hlvm_lib_revision = @HLVM_SO_REVISION@;
+const int hlvm_lib_AGE = @HLVM_SO_AGE@;





More information about the llvm-commits mailing list