-
Notifications
You must be signed in to change notification settings - Fork 83
/
cfg.mk.in
32 lines (31 loc) · 1.36 KB
/
cfg.mk.in
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
ROOT = "@ROOT@"
TOOLS = "@ROOT@/tools/"
PLATFORM = @PLATFORM@
CLIENT_PROG = @PACKAGE_NAME@
SERVER_PROG = @PACKAGE_NAME@d
CTOOL_PROG = @PACKAGE_NAME@d_tool
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_NAME_LONG = @PACKAGE_NAME_LONG@
PACKAGE_VERSION = @PACKAGE_VERSION@
PACKAGE_VERSION_SHORT = @PACKAGE_VERSION_SHORT@
BITS = @BITS@
ARCH = @ARCH@
CC = @CC@
CLIENT_CFLAGS = -DCLIENT -D@PLATFORM_CAPS@ -maes -Wall -O2 -I "@ROOT@/src/"
SERVER_CFLAGS = -DSERVER -DLINUX -Wall -maes -O2 -I "@ROOT@/src/"
CTOOL_CFLAGS = -DTOOL -DLINUX -Wall -maes -O2 -I "@ROOT@/src/"
CLIENT_DEBUG_CFLAGS = -DCLIENT -D@PLATFORM_CAPS@ -DDEBUG -maes -Wall -O0 -g \
-I "@ROOT@/src/"
SERVER_DEBUG_CFLAGS = -DSERVER -DLINUX -DDEBUG -maes -Wall -O0 -g \
-I "@ROOT@/src/"
CTOOL_DEBUG_CFLAGS = -DTOOL -DLINUX -DDEBUG -maes -Wall -O0 -g -I "@ROOT@/src/"
CLIENT_CLIBS = -lpthread
SERVER_CLIBS = -lgmp -lpthread
CTOOL_CLIBS = -lssl -lcrypto
# Windows:
WDK_PATH = @WDK_PATH@
WDK_WINPATH = @WDK_WINPATH@
WINDRES_PATH = @WINDRES_PATH@
NSIS_PATH = @NSIS_PATH@
CROSS = @CROSS@
DIVERT_ROOT = @DIVERT_ROOT@