Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding target for building xdelta static library #254

Open
wants to merge 1 commit into
base: release3_1_apl
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions xdelta3/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ AUTOMAKE_OPTIONS = subdir-objects

bin_PROGRAMS = xdelta3
noinst_PROGRAMS = xdelta3regtest xdelta3decode xdelta3checksum
noinst_LIBRARIES = libxdelta3.a

export AFL_HARDEN

Expand All @@ -24,6 +25,8 @@ common_SOURCES = \

xdelta3_SOURCES = $(common_SOURCES) xdelta3.c

libxdelta3_a_SOURCES = $(common_SOURCES) xdelta3.c

xdelta3decode_SOURCES = $(common_SOURCES) xdelta3.c

xdelta3regtest_SOURCES = $(common_SOURCES) \
Expand Down Expand Up @@ -105,6 +108,19 @@ xdelta3decode_CFLAGS = \
-DEXTERNAL_COMPRESSION=0 \
-DVCDIFF_TOOLS=0

libxdelta3_a_CFLAGS = \
$(C_WFLAGS) \
-fPIC \
-DREGRESSION_TEST=0 \
-DSECONDARY_DJW=0 \
-DSECONDARY_FGK=0 \
-DSECONDARY_LZMA=0 \
-DXD3_MAIN=0 \
-DXD3_ENCODER=1 \
-DXD3_STDIO=0 \
-DEXTERNAL_COMPRESSION=0 \
-DVCDIFF_TOOLS=0

xdelta3regtest_CXXFLAGS = \
$(CXX_WFLAGS) $(common_CFLAGS) -DNOT_MAIN=1 -DXD3_DEBUG=1
xdelta3regtest_CFLAGS = \
Expand Down