b5e1eff92e1ce045646b06fd343677a2f27b9c77
[disorder] / lib / defs.c
1 /*
2 * This file is part of DisOrder
3 * Copyright (C) 2005, 2007, 2008 Richard Kettlewell
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
18 * USA
19 */
20 /** @file lib/defs.c @brief Definitions chosen by configure
21 *
22 * The binary directories are included so that they can be appended to the path
23 * (see fix_path()), not so that the path can be ignored.
24 */
25
26 #include <config.h>
27 #include "types.h"
28
29 #include "defs.h"
30 #include "definitions.h"
31
32 /** @brief Software version number */
33 const char disorder_short_version_string[] = VERSION;
34
35 /** @brief Package library directory */
36 const char pkglibdir[] = PKGLIBDIR;
37
38 /** @brief Package configuration directory */
39 const char pkgconfdir[] = PKGCONFDIR;
40
41 /** @brief Package variable state directory */
42 const char pkgstatedir[] = PKGSTATEDIR;
43
44 /** @brief Package fixed data directory */
45 const char pkgdatadir[] = PKGDATADIR;
46
47 /** @brief Binary directory */
48 const char bindir[] = BINDIR;
49
50 /** @brief System binary directory */
51 const char sbindir[] = SBINDIR;
52
53 /** @brief Fink binary directory
54 *
55 * Meaningless if not on a Mac.
56 */
57 const char finkbindir[] = FINKBINDIR;
58
59 #include "versionstring.h"
60
61 /*
62 Local Variables:
63 c-basic-offset:2
64 comment-column:40
65 fill-column:79
66 End:
67 */