Home | History | Annotate | Download | only in Config
      1 /*===-- llvm/config/llvm-config.h - llvm configure variable -------*- C -*-===*/
      2 /*                                                                            */
      3 /*                     The LLVM Compiler Infrastructure                       */
      4 /*                                                                            */
      5 /* This file is distributed under the University of Illinois Open Source      */
      6 /* License. See LICENSE.TXT for details.                                      */
      7 /*                                                                            */
      8 /*===----------------------------------------------------------------------===*/
      9 
     10 /* This file enumerates all of the llvm variables from configure so that
     11    they can be in exported headers and won't override package specific
     12    directives.  This is a C file so we can include it in the llvm-c headers.  */
     13 
     14 /* To avoid multiple inclusions of these variables when we include the exported
     15    headers and config.h, conditionally include these.  */
     16 /* TODO: This is a bit of a hack.  */
     17 #ifndef CONFIG_H
     18 
     19 /* Installation directory for binary executables */
     20 #cmakedefine LLVM_BINDIR "${LLVM_BINDIR}"
     21 
     22 /* Time at which LLVM was configured */
     23 #cmakedefine LLVM_CONFIGTIME "${LLVM_CONFIGTIME}"
     24 
     25 /* Installation directory for data files */
     26 #cmakedefine LLVM_DATADIR "${LLVM_DATADIR}"
     27 
     28 /* Installation directory for documentation */
     29 #cmakedefine LLVM_DOCSDIR "${LLVM_DOCSDIR}"
     30 
     31 /* Installation directory for config files */
     32 #cmakedefine LLVM_ETCDIR "${LLVM_ETCDIR}"
     33 
     34 /* Has gcc/MSVC atomic intrinsics */
     35 #cmakedefine01 LLVM_HAS_ATOMICS
     36 
     37 /* Host triple we were built on */
     38 #cmakedefine LLVM_HOSTTRIPLE "${LLVM_HOSTTRIPLE}"
     39 
     40 /* Installation directory for include files */
     41 #cmakedefine LLVM_INCLUDEDIR "${LLVM_INCLUDEDIR}"
     42 
     43 /* Installation directory for .info files */
     44 #cmakedefine LLVM_INFODIR "${LLVM_INFODIR}"
     45 
     46 /* Installation directory for libraries */
     47 #cmakedefine LLVM_LIBDIR "${LLVM_LIBDIR}"
     48 
     49 /* Installation directory for man pages */
     50 #cmakedefine LLVM_MANDIR "${LLVM_MANDIR}"
     51 
     52 /* LLVM architecture name for the native architecture, if available */
     53 #cmakedefine LLVM_NATIVE_ARCH ${LLVM_NATIVE_ARCH}
     54 
     55 /* LLVM name for the native AsmParser init function, if available */
     56 #cmakedefine LLVM_NATIVE_ASMPARSER LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser
     57 
     58 /* LLVM name for the native AsmPrinter init function, if available */
     59 #cmakedefine LLVM_NATIVE_ASMPRINTER LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter
     60 
     61 /* LLVM name for the native Target init function, if available */
     62 #cmakedefine LLVM_NATIVE_TARGET LLVMInitialize${LLVM_NATIVE_ARCH}Target
     63 
     64 /* LLVM name for the native TargetInfo init function, if available */
     65 #cmakedefine LLVM_NATIVE_TARGETINFO LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo
     66 
     67 /* LLVM name for the native target MC init function, if available */
     68 #cmakedefine LLVM_NATIVE_TARGETMC LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC
     69 
     70 /* Define if this is Unixish platform */
     71 #cmakedefine LLVM_ON_UNIX ${LLVM_ON_UNIX}
     72 
     73 /* Define if this is Win32ish platform */
     74 #cmakedefine LLVM_ON_WIN32 ${LLVM_ON_WIN32}
     75 
     76 /* Define to path to circo program if found or 'echo circo' otherwise */
     77 #cmakedefine LLVM_PATH_CIRCO "${LLVM_PATH_CIRCO}"
     78 
     79 /* Define to path to dot program if found or 'echo dot' otherwise */
     80 #cmakedefine LLVM_PATH_DOT "${LLVM_PATH_DOT}"
     81 
     82 /* Define to path to dotty program if found or 'echo dotty' otherwise */
     83 #cmakedefine LLVM_PATH_DOTTY "${LLVM_PATH_DOTTY}"
     84 
     85 /* Define to path to fdp program if found or 'echo fdp' otherwise */
     86 #cmakedefine LLVM_PATH_FDP "${LLVM_PATH_FDP}"
     87 
     88 /* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
     89 #cmakedefine LLVM_PATH_GRAPHVIZ "${LLVM_PATH_GRAPHVIZ}"
     90 
     91 /* Define to path to gv program if found or 'echo gv' otherwise */
     92 #cmakedefine LLVM_PATH_GV "${LLVM_PATH_GV}"
     93 
     94 /* Define to path to neato program if found or 'echo neato' otherwise */
     95 #cmakedefine LLVM_PATH_NEATO "${LLVM_PATH_NEATO}"
     96 
     97 /* Define to path to twopi program if found or 'echo twopi' otherwise */
     98 #cmakedefine LLVM_PATH_TWOPI "${LLVM_PATH_TWOPI}"
     99 
    100 /* Define to path to xdot.py program if found or 'echo xdot.py' otherwise */
    101 #cmakedefine LLVM_PATH_XDOT_PY "${LLVM_PATH_XDOT_PY}"
    102 
    103 /* Installation prefix directory */
    104 #cmakedefine LLVM_PREFIX "${LLVM_PREFIX}"
    105 
    106 #endif
    107