-
Notifications
You must be signed in to change notification settings - Fork 14
/
rddletoaddon.hbp
86 lines (68 loc) · 1.76 KB
/
rddletoaddon.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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#-env:__BM=yes
-env:__LZ4=yes
-env:__PMURHASH=yes
-olib/rddleto
# static lib
-hblib
# shared lib: .dll or .so -- outcomment above, remove '#' in next 2 lines
#-hbdynvm
#-shared
-n
-w3
-q0
-es2
-gc3
-strip
-rebuild
-inc-
-hbx=letodb.hbx
-iinclude
{__LZ4}-isource/3rd/lz4/lib
#-cflag=-D__HARBOUR30__=1
# remove '#' for special actions to fix concurrency with a Samba server
#-cflag=-DLETO_SMBSERVER=1
# next two lines to force single threaded communication with a single socket
#-cflag=-DLETO_NO_THREAD=1
#-prgflag=-DLETO_NO_THREAD=1
# CPP flags to pacify 'modern' compiler
#-cflag=-Wno-c++11-long-long
#-cflag=-Wno-old-style-cast
-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
{__PMURHASH}-cflag=-DUSE_PMURHASH=1
{__BM}-cflag=-D__BM=1
{__LZ4}-cflag=-DUSE_LZ4=1
source/client/letocl.c
source/client/leto1.c
source/client/letomgmn.c
source/client/rddsys.prg
{__BM}source/client/letobmcl.prg
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
# install files and paths
-instfile=misc:*.hb
-instfile=misc:*.hbc
-instfile=misc:*.hbx
-instfile=misc:*.md
-instfile=misc:*.txt
-instfile=inc:*.ch
-instfile=inc_sub:include/*.ch
-instfile=inc_sub:include/funcleto.h
-instfile=tests:tests/*.*
# static library & dynamic library on *nix
{hblib}-instpath=${hb_lib}/
# dynamic library on non-*nix
{(hbdyn|hbdynvm)&!unix}-instpath=${hb_bin}/
{(hbdyn|hbdynvm)&unix}-instpath=${hb_lib}/
# misc files, public headers, tests
-instpath=misc:${hb_addons}/letodb/
-instpath=inc:${hb_addons}/letodb/
-instpath=inc_sub:${hb_addons}/letodb/include/
-instpath=tests:${hb_addons}/letodb/tests/