include.am 938 Bytes
Newer Older
1
2
3
4
5
6
7
8
9

noinst_LIBRARIES += src/lib/libtor-tls.a

if UNITTESTS_ENABLED
noinst_LIBRARIES += src/lib/libtor-tls-testing.a
endif

src_lib_libtor_tls_a_SOURCES =			\
	src/lib/tls/buffers_tls.c		\
10
11
	src/lib/tls/tortls.c			\
	src/lib/tls/x509.c
12

13
14
15
16
17
18
19
20
21
22
if USE_NSS
src_lib_libtor_tls_a_SOURCES +=			\
	src/lib/tls/tortls_nss.c		\
	src/lib/tls/x509_nss.c
else
src_lib_libtor_tls_a_SOURCES +=			\
	src/lib/tls/tortls_openssl.c		\
	src/lib/tls/x509_openssl.c
endif

23
24
src_lib_libtor_tls_a_CFLAGS = $(AM_CFLAGS) $(TOR_CFLAGS_CRYPTLIB)

25
26
27
src_lib_libtor_tls_testing_a_SOURCES = \
	$(src_lib_libtor_tls_a_SOURCES)
src_lib_libtor_tls_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
28
29
src_lib_libtor_tls_testing_a_CFLAGS = \
	$(AM_CFLAGS) $(TOR_CFLAGS_CRYPTLIB) $(TEST_CFLAGS)
30
31
32
33

noinst_HEADERS +=				\
	src/lib/tls/ciphers.inc			\
	src/lib/tls/buffers_tls.h		\
34
	src/lib/tls/tortls.h			\
35
36
	src/lib/tls/tortls_internal.h		\
	src/lib/tls/tortls_st.h			\
37
	src/lib/tls/x509.h