forked from elchs/LetoDBf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
apileto.hbp
64 lines (49 loc) · 1.02 KB
/
apileto.hbp
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#
# to create the C-API lib, for access LetoDBf with pure-C [ ! not PRG ! ]
# most times "rddleto.hbp" is what you are looking for
#
#-env:__BM=yes
{!bcc}-env:__LZ4=yes
-env:__PMURHASH=yes
-olib/leto
-cflag=-D__LETO_C_API__=1
# need single threaded
-cflag=-DLETO_NO_MT=1
-cflag=-DLETO_NO_THREAD=1
-st
# static lib flags
-hblib
-nodefgt
# dynamic lib flags ( .dll | .so -- outcomment static flags )
#-hbdynvm
#-cflag=-DLETO_DYNLIB=1
#-gtnul
# executable must provide HB
#-shared
-n
-w3
-q0
-es2
-gc3
-strip
-rebuild
-inc-
-iinclude
{__LZ4}-isource/3rd/lz4/lib
#-cflag=-D__HARBOUR30__=1
-cflag={allmsvc}-D_CRT_SECURE_NO_DEPRECATE
-cflag={clang}-W
-cflag={clang}-Wall
-cflag={clang}-pedantic
# to avoid spin locks
#-cflag={win}-DHB_HELGRIND_FRIENDLY=1
#-cflag=-DLETO_CLIENTLOG=1
{__PMURHASH}-cflag=-DUSE_PMURHASH=1
{__BM}-cflag=-D__BM=1
{__LZ4}-cflag=-DUSE_LZ4=1
source/client/letocl.c
source/common/blowfish.c
source/common/common_c.c
{__LZ4}source/3rd/lz4/lib/lz4.c
{__LZ4}source/common/lz4net.c
{__PMURHASH}source/common/PMurHash.c