Lines Matching +full:- +full:- +full:- +full:- +full:-

2 # LZ4 - Makefile
3 # Copyright (C) Yann Collet 2011-2020
29 # - LZ4 source repository : https://github.com/lz4/lz4
30 # - LZ4 forum froup : https://groups.google.com/forum/#!forum/lz4c
43 default: lib-release lz4-release
54 .PHONY: lib lib-release liblz4.a
56 lib lib-release liblz4.a:
57 $(MAKE) -C $(LZ4DIR) $@
59 .PHONY: lz4 lz4-release
61 lz4-release : lib-release
62 lz4 lz4-release :
63 $(MAKE) -C $(PRGDIR) $@
68 $(MAKE) -C $(EXDIR) all
72 $(MAKE) -C contrib/gen_manual $@
76 $(MAKE) -C $(TESTDIR) all
80 $(MAKE) -C $(LZ4DIR) $@ > $(VOID)
81 $(MAKE) -C $(PRGDIR) $@ > $(VOID)
82 $(MAKE) -C $(TESTDIR) $@ > $(VOID)
83 $(MAKE) -C $(EXDIR) $@ > $(VOID)
84 $(MAKE) -C $(FUZZDIR) $@ > $(VOID)
85 $(MAKE) -C contrib/gen_manual $@ > $(VOID)
90 #-----------------------------------------------------------------------------
92 #-----------------------------------------------------------------------------
98 $(MAKE) -C $(LZ4DIR) $@
99 $(MAKE) -C $(PRGDIR) $@
101 .PHONY: travis-install
102 travis-install:
103 $(MAKE) -j1 install DESTDIR=~/install_test_dir
114 CMAKE_PARAMS = -G"MSYS Makefiles"
118 #------------------------------------------------------------------------
120 #------------------------------------------------------------------------
125-pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make …
129 $(MAKE) -C $(TESTDIR) test-lz4-essentials
133 $(MAKE) -C $(TESTDIR) $@
134 $(MAKE) -C $(EXDIR) $@
137 clangtest: CFLAGS ?= -O3 # make's bug (http://savannah.gnu.org/bugs/?func=detailitem&item_id=59230)
140 clangtest: CFLAGS += -Werror -Wconversion -Wno-sign-conversion
143 $(CC) -v
144 $(MAKE) -C $(LZ4DIR) all CC=$(CC)
145 $(MAKE) -C $(PRGDIR) all CC=$(CC)
146 $(MAKE) -C $(TESTDIR) all CC=$(CC)
148 .PHONY: clangtest-native
149 clangtest-native: CFLAGS = -O3 -Werror -Wconversion -Wno-sign-conversion
150 clangtest-native: clean
151 clang -v
152 $(MAKE) -C $(LZ4DIR) all CC=clang
153 $(MAKE) -C $(PRGDIR) native CC=clang
154 $(MAKE) -C $(TESTDIR) native CC=clang
158 usan: CFLAGS = -O3 -g -fsanitize=undefined -fno-sanitize-recover=undefined -fsanitize-recover=poin…
161 $(MAKE) test FUZZER_TIME="-T30s" NB_LOOPS=-i1
164 usan32: CFLAGS = -m32 -O3 -g -fsanitize=undefined
167 $(MAKE) test FUZZER_TIME="-T30s" NB_LOOPS=-i1
169 SCANBUILD ?= scan-build
170 SCANBUILD_FLAGS += --status-bugs -v --force-analyze-debug-code
173 CPPFLAGS=-DLZ4_DEBUG=1 CFLAGS=-g $(SCANBUILD) $(SCANBUILD_FLAGS) $(MAKE) all V=1 DEBUGLEVEL=1
177 cppcheck . --force --enable=warning,portability,performance,style --error-exitcode=1 > /dev/null
181 @echo "\n ---- test lz4 with $(CC) compiler ----"
182 $(CC) -v
183 CFLAGS="-O3 -Werror" $(MAKE) -C $(LZ4DIR) all
184 CFLAGS="-O3 -Werror -static" $(MAKE) -C $(PRGDIR) all
185 CFLAGS="-O3 -Werror -static" $(MAKE) -C $(TESTDIR) all
186 $(MAKE) -C $(TESTDIR) test-platform
190 $(MAKE) -C $(TESTDIR) $@
193 cxxtest cxx32test: CC := "$(CXX) -Wno-deprecated"
194 cxxtest cxx32test: CFLAGS = -O3 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror
195 cxx32test: CFLAGS += -m32
197 $(CXX) -v
198 CC=$(CC) $(MAKE) -C $(LZ4DIR) all CFLAGS="$(CFLAGS)"
199 CC=$(CC) $(MAKE) -C $(PRGDIR) all CFLAGS="$(CFLAGS)"
200 CC=$(CC) $(MAKE) -C $(TESTDIR) all CFLAGS="$(CFLAGS)"
203 cxx17build : CC = "$(CXX) -Wno-deprecated"
204 cxx17build : CFLAGS = -std=c++17 -Wall -Wextra -Wundef -Wshadow -Wcast-align -Werror -pedantic
206 $(CXX) -v
207 CC=$(CC) $(MAKE) -C $(LZ4DIR) all CFLAGS="$(CFLAGS)"
208 CC=$(CC) $(MAKE) -C $(PRGDIR) all CFLAGS="$(CFLAGS)"
209 CC=$(CC) $(MAKE) -C $(TESTDIR) all CFLAGS="$(CFLAGS)"
216 CC=$(LIBCC) $(MAKE) -C $(LZ4DIR) CFLAGS="$(CFLAGS)" all
217 CC=$(LIBCC) $(MAKE) -C $(TESTDIR) CFLAGS="$(CFLAGS)" lz4.o lz4hc.o lz4frame.o
218 CC=$(TESTCC) $(MAKE) -C $(TESTDIR) CFLAGS="$(CFLAGS)" all
222 …$(MAKE) clean; CFLAGS="-std=c90 -Werror -pedantic -Wno-long-long -Wno-variadic-macros" $(MAKE) a…
223 …$(MAKE) clean; CFLAGS="-std=gnu90 -Werror -pedantic -Wno-long-long -Wno-variadic-macros" $(MAKE) a…
224 $(MAKE) clean; CFLAGS="-std=c99 -Werror -pedantic" $(MAKE) all
225 $(MAKE) clean; CFLAGS="-std=gnu99 -Werror -pedantic" $(MAKE) all
226 $(MAKE) clean; CFLAGS="-std=c11 -Werror" $(MAKE) all