mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-29 00:17:49 +00:00
15 lines
548 B
Plaintext
15 lines
548 B
Plaintext
|
# To compile on SunOS: add "-lsocket -lnsl" to LDFLAGS
|
||
|
|
||
|
CFLAGS ?= -O2
|
||
|
WARNING_CFLAGS ?= -Wall -Wextra -Wformat=2 -Wno-format-nonliteral
|
||
|
WARNING_CXXFLAGS ?= -Wall -Wextra -Wformat=2 -Wno-format-nonliteral
|
||
|
LDFLAGS ?=
|
||
|
|
||
|
LOCAL_CFLAGS = $(WARNING_CFLAGS) -I../tests/include -I../include -D_FILE_OFFSET_BITS=64
|
||
|
LOCAL_CXXFLAGS = $(WARNING_CXXFLAGS) -I../include -I../tests/include -D_FILE_OFFSET_BITS=64
|
||
|
LOCAL_LDFLAGS = ${MBEDTLS_TEST_OBJS} \
|
||
|
-L../library \
|
||
|
-lmbedtls$(SHARED_SUFFIX) \
|
||
|
-lmbedx509$(SHARED_SUFFIX) \
|
||
|
-lmbedcrypto$(SHARED_SUFFIX)
|