2017-03-05 00:02:49 +00:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
|
|
|
|
|
|
|
EXTRA_DIST =
|
|
|
|
|
2017-03-07 00:33:16 +00:00
|
|
|
if HAVE_CRYB_TEST
|
2017-03-05 00:02:49 +00:00
|
|
|
|
|
|
|
libotp = $(top_builddir)/lib/otp/libcryb-otp.la
|
|
|
|
|
|
|
|
# tests
|
|
|
|
TESTS =
|
|
|
|
|
|
|
|
# c++ header test
|
|
|
|
TESTS += t_cxx
|
|
|
|
t_cxx_SOURCES = t_cxx.cc
|
2017-03-07 15:20:23 +00:00
|
|
|
t_cxx_CPPFLAGS = $(AM_CPPFLAGS) $(CRYB_CORE_CFLAGS)
|
2017-03-05 00:02:49 +00:00
|
|
|
t_cxx_LDADD =
|
2018-05-12 22:29:06 +00:00
|
|
|
if CRYB_OTP
|
|
|
|
t_cxx_CPPFLAGS += -DWITH_CRYB_OTP
|
2017-03-05 00:02:49 +00:00
|
|
|
t_cxx_LDADD += $(libotp)
|
2018-05-12 22:29:06 +00:00
|
|
|
endif CRYB_OTP
|
2017-03-05 00:02:49 +00:00
|
|
|
|
|
|
|
# libcryb-otp
|
2018-05-12 22:29:06 +00:00
|
|
|
if CRYB_OTP
|
|
|
|
endif CRYB_OTP
|
2017-03-05 00:02:49 +00:00
|
|
|
|
|
|
|
check_PROGRAMS = $(TESTS)
|
|
|
|
|
2017-03-07 00:33:16 +00:00
|
|
|
endif HAVE_CRYB_TEST
|