Merge pull request #3936 from kumpera/monoclass_reorg2
[mono-project.git] / mono / metadata / mono-config-dirs.c
blob2e61a1b3373548162adf8a0291ebc00c3411fe4a
1 /*
2 * mono-config-dirs.c:
4 * Copyright 2015 Xamarin Inc (http://www.xamarin.com)
5 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
6 */
8 /*
9 * This file contains functions to return the values of various directories defined in Makefile.am.
12 #include <mono/metadata/mono-config-dirs.h>
14 const char*
15 mono_config_get_assemblies_dir (void)
17 #ifdef MONO_ASSEMBLIES
18 return MONO_ASSEMBLIES;
19 #else
20 return NULL;
21 #endif
24 const char*
25 mono_config_get_cfg_dir (void)
27 #ifdef MONO_CFG_DIR
28 return MONO_CFG_DIR;
29 #else
30 return NULL;
31 #endif
34 const char*
35 mono_config_get_bin_dir (void)
37 #ifdef MONO_BINDIR
38 return MONO_BINDIR;
39 #else
40 return NULL;
41 #endif
44 const char*
45 mono_config_get_reloc_lib_dir (void)
47 #ifdef MONO_RELOC_LIBDIR
48 return MONO_RELOC_LIBDIR;
49 #else
50 return NULL;
51 #endif