mirror of
https://github.com/cryb-to/cryb-otp.git
synced 2024-11-08 22:55:39 +00:00
28 lines
434 B
Makefile
28 lines
434 B
Makefile
AM_CPPFLAGS = -I$(top_srcdir)/include
|
|
|
|
EXTRA_DIST =
|
|
|
|
if HAVE_CRYB_TEST
|
|
|
|
libotp = $(top_builddir)/lib/otp/libcryb-otp.la
|
|
|
|
# tests
|
|
TESTS =
|
|
|
|
# c++ header test
|
|
TESTS += t_cxx
|
|
t_cxx_SOURCES = t_cxx.cc
|
|
t_cxx_CPPFLAGS = $(AM_CPPFLAGS) $(CRYB_CORE_CFLAGS)
|
|
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)
|
|
|
|
endif HAVE_CRYB_TEST
|