diff options
| author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-03-03 14:17:52 +0100 |
|---|---|---|
| committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-03-03 14:17:52 +0100 |
| commit | 25a5462dca99b0f8317e6a08194a56dd5fe1a458 (patch) | |
| tree | 860c4f2e71bdaf22921d11a8ec22dd2dc854ef1b /build/src/base/path.h | |
| parent | bdb24d2eb406a6dc313f31c796201dd1fdb998f2 (diff) | |
Allow optional ipv6 build, how comes that so far noone screamed that the support is not in...
Diffstat (limited to 'build/src/base/path.h')
| -rw-r--r-- | build/src/base/path.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/build/src/base/path.h b/build/src/base/path.h new file mode 100644 index 0000000..cb3966d --- /dev/null +++ b/build/src/base/path.h @@ -0,0 +1,29 @@ + +#ifndef PATH_H +/* #undef USE_MAGICK */ + #define TUXANCI_VERSION "0.21.99" + #define PATH_H + #define PREFIX "/usr/local" + #ifdef PUBLIC_SERVER + #define APPNAME "tuxanci-server" + #define SERVER_CONFIG "/etc" "/" APPNAME "/server.conf" + #else + #define APPNAME "tuxanci" + #endif + #define PATH_DIR "/usr/local/share" "/" APPNAME "/" + // windows bug + #ifndef __WIN32__ + #define PATH_MODULES "/usr/local/lib" "/" APPNAME "/" + #else + #define PATH_MODULES PREFIX + #endif + #define PATH_IMAGE PATH_DIR "images/" + #define FONT_FILE "/usr/local/share/tuxanci/font/DejaVuSans.ttf" + #define PATH_ARENA PATH_DIR "arena/" + #define PATH_SOUND PATH_DIR "sound/" + #define PATH_MUSIC PATH_DIR "music/" + #define PATH_LOCALE "/usr/local/share/locale" "/" + #define PATH_DOC "/usr/local/share/doc/tuxanci" "/" + #define PACKAGE "tuxanci" + #include "main.h" +#endif |