mirror of
https://github.com/openssl/openssl.git
synced 2024-11-24 10:34:12 +08:00
c18c301deb
These calls were introduced by PR #23343. Change also does a minor tweak to Makefile so CFLAGS and LDFLAGS variables from the environment are respected. Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23602)
23 lines
541 B
Makefile
23 lines
541 B
Makefile
#
|
|
# To run the demo when linked with a shared library (default) ensure that
|
|
# libcrypto and libssl are on the library path. For example:
|
|
#
|
|
# LD_LIBRARY_PATH=../.. ./ossl-nghttp3-demo www.example.com:443
|
|
|
|
CFLAGS += -I../../include -g -Wall -Wsign-compare
|
|
LDFLAGS += -L../..
|
|
LDLIBS = -lcrypto -lssl -lnghttp3
|
|
|
|
all: ossl-nghttp3-demo
|
|
|
|
ossl-nghttp3-demo: ossl-nghttp3-demo.o ossl-nghttp3.o
|
|
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
|
|
|
clean:
|
|
$(RM) ossl-nghttp3-demo *.o
|
|
|
|
.PHONY: test
|
|
test: all
|
|
@echo "\nHTTP/3 tests:"
|
|
@echo "skipped"
|