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 =
|
|
|
|
if OTP_LIB
|
|
|
|
t_cxx_CPPFLAGS += -DWITH_OTP_LIB
|
|
|
|
t_cxx_LDADD += $(libotp)
|
|
|
|
endif OTP_LIB
|
|
|
|
|
|
|
|
# libcryb-otp
|
|
|
|
if OTP_LIB
|
|
|
|
endif OTP_LIB
|
|
|
|
|
|
|
|
check_PROGRAMS = $(TESTS)
|
|
|
|
|
2017-03-07 00:33:16 +00:00
|
|
|
endif HAVE_CRYB_TEST
|