blob: 749ed4793a8e8b2e3b446d6a01bba22393caa637 (
plain)
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
|
bin_PROGRAMS = xdelta3 xdelta3regtest
common_SOURCES = \
xdelta3-blkcache.h \
xdelta3-cfgs.h \
xdelta3-decode.h \
xdelta3-djw.h \
xdelta3-fgk.h \
xdelta3-hash.h \
xdelta3-list.h \
xdelta3-main.h \
xdelta3-merge.h \
xdelta3-python.h \
xdelta3-second.h \
xdelta3-test.h \
xdelta3.h
xdelta3_SOURCES = $(common_SOURCES) xdelta3.c
xdelta3regtest_SOURCES = $(common_SOURCES) testing/regtest_c.c testing/regtest.cc
WFLAGS = -Wall -Wshadow -fno-builtin -Wextra -Wsign-compare \
-Wextra -Wno-unused-parameter
common_CFLAGS = $(WFLAGS) \
-DGENERIC_ENCODE_TABLES=0 \
-DREGRESSION_TEST=1 \
-DSECONDARY_DJW=1 \
-DSECONDARY_FGK=1 \
-DXD3_POSIX=1 \
-DXD3_USE_LARGEFILE64=1 \
-DXD3_MAIN=1
xdelta3_CFLAGS = $(common_CFLAGS)
xdelta3regtest_CXXFLAGS = $(common_CFLAGS) -DNOT_MAIN=1 -DXD3_DEBUG=1
xdelta3regtest_CFLAGS = $(common_CFLAGS) -DNOT_MAIN=1 -DXD3_DEBUG=1
|