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/* Target triple LLVM will generate code for by default */
29#cmakedefine LLVM_DEFAULT_TARGET_TRIPLE "${LLVM_DEFAULT_TARGET_TRIPLE}"
30
31/* Installation directory for documentation */
32#cmakedefine LLVM_DOCSDIR "${LLVM_DOCSDIR}"
33
34/* Define if threads enabled */
35#cmakedefine01 LLVM_ENABLE_THREADS
36
37/* Installation directory for config files */
38#cmakedefine LLVM_ETCDIR "${LLVM_ETCDIR}"
39
40/* Has gcc/MSVC atomic intrinsics */
41#cmakedefine01 LLVM_HAS_ATOMICS
42
43/* Host triple LLVM will be executed on */
44#cmakedefine LLVM_HOSTTRIPLE "${LLVM_HOSTTRIPLE}"
45
46/* Installation directory for include files */
47#cmakedefine LLVM_INCLUDEDIR "${LLVM_INCLUDEDIR}"
48
49/* Installation directory for .info files */
50#cmakedefine LLVM_INFODIR "${LLVM_INFODIR}"
51
52/* Installation directory for libraries */
53#cmakedefine LLVM_LIBDIR "${LLVM_LIBDIR}"
54
55/* Installation directory for man pages */
56#cmakedefine LLVM_MANDIR "${LLVM_MANDIR}"
57
58/* LLVM architecture name for the native architecture, if available */
59#cmakedefine LLVM_NATIVE_ARCH ${LLVM_NATIVE_ARCH}
60
61/* LLVM name for the native AsmParser init function, if available */
62#cmakedefine LLVM_NATIVE_ASMPARSER LLVMInitialize${LLVM_NATIVE_ARCH}AsmParser
63
64/* LLVM name for the native AsmPrinter init function, if available */
65#cmakedefine LLVM_NATIVE_ASMPRINTER LLVMInitialize${LLVM_NATIVE_ARCH}AsmPrinter
66
67/* LLVM name for the native Disassembler init function, if available */
68#cmakedefine LLVM_NATIVE_DISASSEMBLER LLVMInitialize${LLVM_NATIVE_ARCH}Disassembler
69
70/* LLVM name for the native Target init function, if available */
71#cmakedefine LLVM_NATIVE_TARGET LLVMInitialize${LLVM_NATIVE_ARCH}Target
72
73/* LLVM name for the native TargetInfo init function, if available */
74#cmakedefine LLVM_NATIVE_TARGETINFO LLVMInitialize${LLVM_NATIVE_ARCH}TargetInfo
75
76/* LLVM name for the native target MC init function, if available */
77#cmakedefine LLVM_NATIVE_TARGETMC LLVMInitialize${LLVM_NATIVE_ARCH}TargetMC
78
79/* Define if this is Unixish platform */
80#cmakedefine LLVM_ON_UNIX ${LLVM_ON_UNIX}
81
82/* Define if this is Win32ish platform */
83#cmakedefine LLVM_ON_WIN32 ${LLVM_ON_WIN32}
84
85/* Define to path to circo program if found or 'echo circo' otherwise */
86#cmakedefine LLVM_PATH_CIRCO "${LLVM_PATH_CIRCO}"
87
88/* Define to path to dot program if found or 'echo dot' otherwise */
89#cmakedefine LLVM_PATH_DOT "${LLVM_PATH_DOT}"
90
91/* Define to path to dotty program if found or 'echo dotty' otherwise */
92#cmakedefine LLVM_PATH_DOTTY "${LLVM_PATH_DOTTY}"
93
94/* Define to path to fdp program if found or 'echo fdp' otherwise */
95#cmakedefine LLVM_PATH_FDP "${LLVM_PATH_FDP}"
96
97/* Define to path to Graphviz program if found or 'echo Graphviz' otherwise */
98#cmakedefine LLVM_PATH_GRAPHVIZ "${LLVM_PATH_GRAPHVIZ}"
99
100/* Define to path to gv program if found or 'echo gv' otherwise */
101#cmakedefine LLVM_PATH_GV "${LLVM_PATH_GV}"
102
103/* Define to path to neato program if found or 'echo neato' otherwise */
104#cmakedefine LLVM_PATH_NEATO "${LLVM_PATH_NEATO}"
105
106/* Define to path to twopi program if found or 'echo twopi' otherwise */
107#cmakedefine LLVM_PATH_TWOPI "${LLVM_PATH_TWOPI}"
108
109/* Define to path to xdot.py program if found or 'echo xdot.py' otherwise */
110#cmakedefine LLVM_PATH_XDOT_PY "${LLVM_PATH_XDOT_PY}"
111
112/* Installation prefix directory */
113#cmakedefine LLVM_PREFIX "${LLVM_PREFIX}"
114
115/* Major version of the LLVM API */
116#cmakedefine LLVM_VERSION_MAJOR ${LLVM_VERSION_MAJOR}
117
118/* Minor version of the LLVM API */
119#cmakedefine LLVM_VERSION_MINOR ${LLVM_VERSION_MINOR}
120
121#endif
122