17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#### C Compiler and options for use in building executables that
# will run on the platform that is doing the build. This is used
# to compile code-generator programs as part of the build process.
# See TCC below for the C compiler for building the finished binary.
#
BCC = gcc
#### The suffix to add to final executable file. When cross-compiling
# to windows, make this ".exe". Otherwise leave it blank.
#
E =
#### C Compile and options for use in building executables that
|
>
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#### C Compiler and options for use in building executables that
# will run on the platform that is doing the build. This is used
# to compile code-generator programs as part of the build process.
# See TCC below for the C compiler for building the finished binary.
#
BCC = gcc
BCCFLAGS = $(CFLAGS)
#### The suffix to add to final executable file. When cross-compiling
# to windows, make this ".exe". Otherwise leave it blank.
#
E =
#### C Compile and options for use in building executables that
|
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# To enable legacy mv/rm support
TCC += -DFOSSIL_ENABLE_LEGACY_MV_RM=1
#### We sometimes add the -static option here so that we can build a
# static executable that will run in a chroot jail.
#LIB = -static
TCC += -DFOSSIL_DYNAMIC_BUILD=1
#### Extra arguments for linking the finished binary. Fossil needs
# to link against the Z-Lib compression library unless the miniz
# library in the source tree is being used. There are no other
# required dependencies.
ZLIB_LIB.0 = -lz
ZLIB_LIB.1 =
|
>
>
|
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
# To enable legacy mv/rm support
TCC += -DFOSSIL_ENABLE_LEGACY_MV_RM=1
#### We sometimes add the -static option here so that we can build a
# static executable that will run in a chroot jail.
#LIB = -static
TCC += -DFOSSIL_DYNAMIC_BUILD=1
TCCFLAGS = $(CFLAGS)
#### Extra arguments for linking the finished binary. Fossil needs
# to link against the Z-Lib compression library unless the miniz
# library in the source tree is being used. There are no other
# required dependencies.
ZLIB_LIB.0 = -lz
ZLIB_LIB.1 =
|