blob: afa41613310aebab037ba00d796fbd8427994dae (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#ifndef PATH_H
#define PATH_H
#include "main.h"
#cmakedefine USE_MAGICK
#define TUXANCI_VERSION "@TUXANCI_VERSION@"
#define PREFIX "@CMAKE_INSTALL_PREFIX@"
#ifndef PUBLIC_SERVER
#define APPNAME "tuxanci"
#else /* PUBLIC_SERVER */
#define APPNAME "tuxanci-server"
#define SERVER_CONFIG "@CMAKE_CONF_PATH@" "/" APPNAME "/server.conf"
#endif /* PUBLIC_SERVER */
#define PATH_DIR "@CMAKE_DATA_PATH@" "/" APPNAME "/"
/* windows bug */
#ifndef __WIN32__
#define PATH_MODULES "@LIB_INSTALL_DIR@" "/" APPNAME "/"
#else /* __WIN32__ */
#define PATH_MODULES PREFIX
#endif /* __WIN32__ */
#define PATH_IMAGE PATH_DIR "images/"
#define PATH_ARENA PATH_DIR "arena/"
#define PATH_SOUND PATH_DIR "sound/"
#define PATH_MUSIC PATH_DIR "music/"
#define PATH_LOCALE "@CMAKE_LOCALE_PATH@" "/"
#define PATH_DOC "@CMAKE_DOC_PATH@" "/"
#define PACKAGE "tuxanci"
#endif /* PATH_H */
|