mirror of
https://github.com/stefanberger/libtpms
synced 2026-01-07 19:21:09 +00:00
See README for details on how to use. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
41 lines
835 B
Makefile
41 lines
835 B
Makefile
#
|
|
# tests/Makefile.am
|
|
#
|
|
# For the license, see the LICENSE file in the root directory.
|
|
#
|
|
|
|
AM_CFLAGS = -I../include $(SANITIZERS)
|
|
AM_LDFLAGS = -ltpms -L../src/.libs $(SANITIZERS)
|
|
|
|
check_PROGRAMS = base64decode
|
|
TESTS = base64decode.sh
|
|
|
|
if WITH_FUZZER
|
|
check_PROGRAMS += fuzz
|
|
fuzz_CFLAGS = -fsanitize=fuzzer $(AM_CFLAGS)
|
|
fuzz_LDFLAGS = -fsanitize=fuzzer $(AM_LDFLAGS)
|
|
endif
|
|
|
|
if LIBTPMS_USE_FREEBL
|
|
|
|
check_PROGRAMS += freebl_sha1flattensize
|
|
TESTS += freebl_sha1flattensize
|
|
|
|
endif
|
|
|
|
freebl_sha1flattensize_SOURCES = \
|
|
freebl_sha1flattensize.c
|
|
freebl_sha1flattensize_CFLAGS = \
|
|
$(shell nss-config --cflags) \
|
|
$(shell nspr-config --cflags) \
|
|
-Wall -Werror
|
|
freebl_sha1flattensize_LDFLAGS = \
|
|
-lfreebl \
|
|
$(shell nspr-config --libs) \
|
|
$(shell nss-config --libs)
|
|
|
|
EXTRA_DIST = \
|
|
freebl_sha1flattensize.c \
|
|
base64decode.c \
|
|
base64decode.sh
|