Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / metadata / mono-config-dirs.c
1 /**
2  * \file
3  *
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  */
7
8 /*
9  * This file contains functions to return the values of various directories defined in Makefile.am.
10  */
11
12 #include <mono/metadata/mono-config-dirs.h>
13
14 const char*
15 mono_config_get_assemblies_dir (void)
16 {
17 #ifdef MONO_ASSEMBLIES
18         return MONO_ASSEMBLIES;
19 #else
20         return NULL;
21 #endif
22 }
23
24 const char*
25 mono_config_get_cfg_dir (void)
26 {
27 #ifdef MONO_CFG_DIR
28         return MONO_CFG_DIR;
29 #else
30         return NULL;
31 #endif
32 }
33
34 const char*
35 mono_config_get_bin_dir (void)
36 {
37 #ifdef MONO_BINDIR
38         return MONO_BINDIR;
39 #else
40         return NULL;
41 #endif
42 }
43
44 const char*
45 mono_config_get_reloc_lib_dir (void)
46 {
47 #ifdef MONO_RELOC_LIBDIR
48         return MONO_RELOC_LIBDIR;
49 #else
50         return NULL;
51 #endif
52 }
53