mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-02-05 00:40:09 +00:00
make: support "make ssl-opt" to just build what ssl-opt.sh needs
This also suffices for compat.sh. Include the sample programs in this build. They aren't tested by ssl-opt.sh yet, but they soon will be. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
b63064854b
commit
d001f58c32
3
Makefile
3
Makefile
@ -28,6 +28,9 @@ no_test: programs
|
||||
programs: lib mbedtls_test
|
||||
$(MAKE) -C programs
|
||||
|
||||
ssl-opt: lib mbedtls_test
|
||||
$(MAKE) -C programs ssl-opt
|
||||
|
||||
lib:
|
||||
$(MAKE) -C library
|
||||
|
||||
|
@ -116,6 +116,12 @@ ifndef WINDOWS
|
||||
all: fuzz
|
||||
endif
|
||||
|
||||
SSL_OPT_APPS = $(filter ssl/%,$(APPS))
|
||||
SSL_OPT_APPS += test/query_compile_time_config test/udp_proxy
|
||||
# Just the programs needed to run ssl-opt.sh (and compat.sh)
|
||||
ssl-opt: $(patsubst %,%$(EXEXT),$(SSL_OPT_APPS))
|
||||
.PHONY: ssl-opt
|
||||
|
||||
fuzz: ${MBEDTLS_TEST_OBJS}
|
||||
$(MAKE) -C fuzz
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user