From 25a5462dca99b0f8317e6a08194a56dd5fe1a458 Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Tue, 3 Mar 2009 14:17:52 +0100 Subject: Allow optional ipv6 build, how comes that so far noone screamed that the support is not in... --- build/src/base/path.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 build/src/base/path.h (limited to 'build/src/base') 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 -- cgit v1.2.3