forked from Yawning/obfsclient
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
60 lines (51 loc) · 2.08 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#
# obfsclient Makefile.am
# Yawning Angel (yawning at schwanenlied dot me)
#
AUTOMAKE_OPTIONS = subdir-objects
ACLOCAL_AMFLAGS = ${ACLOCAL_FLAGS} -I m4
AM_CXXFLAGS = -Wall -Wextra -Wno-missing-field-initializers -Werror -fno-exceptions -fno-rtti ${PTHREAD_CFLAGS}
common_sources = src/schwanenlied/crypto/base32.cc \
src/schwanenlied/crypto/hkdf_sha256.cc \
src/schwanenlied/crypto/hmac_sha256.cc \
src/schwanenlied/crypto/sha256.cc \
src/schwanenlied/crypto/uniform_dh.cc \
src/schwanenlied/crypto/utils.cc \
src/schwanenlied/pt/obfs2/client.cc \
src/schwanenlied/pt/obfs3/client.cc \
src/schwanenlied/pt/scramblesuit/client.cc \
src/schwanenlied/pt/scramblesuit/session_ticket_handshake.cc \
src/schwanenlied/pt/scramblesuit/uniform_dh_handshake.cc \
src/schwanenlied/pt/scramblesuit/prob_dist.cc \
src/schwanenlied/socks5_server.cc
# obfsclient
bin_PROGRAMS = obfsclient
obfsclient_CPPFLAGS = -I$(srcdir)/src -I$(srcdir)
obfsclient_CXXFLAGS = ${AM_CXXFLAGS} ${libevent_CFLAGS} ${liballium_CFLAGS} ${OPENSSL_INCLUDES}
obfsclient_LDADD = ${libevent_LIBS} ${liballium_LIBS} ${OPENSSL_LIBS} ${OPENSSL_LDFLAGS} ${PTHREAD_LIBS}
obfsclient_SOURCES = ${common_sources} \
src/main.cc
# Tests
TESTS = obfsclient_test
check_PROGRAMS = obfsclient_test
obfsclient_test_CPPFLAGS = -I$(srcdir)/src -I$(srcdir)
obfsclient_test_CXXFLAGS = ${AM_CXXFLAGS} ${libevent_CFLAGS} ${liballium_CFLAGS} ${OPENSSL_INCLUDES}
obfsclient_test_LDADD = ${libevent_LIBS} ${liballium_LIBS} ${OPENSSL_LIBS} ${OPENSSL_LDFLAGS} ${PTHREAD_LIBS}
obfsclient_test_SOURCES = ${common_sources} \
src/schwanenlied/crypto/aes_test.cc \
src/schwanenlied/crypto/base32_test.cc \
src/schwanenlied/crypto/hkdf_sha256_test.cc \
src/schwanenlied/crypto/hmac_sha256_test.cc \
src/schwanenlied/crypto/rand_ctr_drbg_test.cc \
src/schwanenlied/crypto/sha256_test.cc \
src/schwanenlied/crypto/uniform_dh_test.cc \
src/schwanenlied/crypto/utils_test.cc \
src/gtest/gtest-all.cc \
src/gtest/gtest_main.cc
# Documentation
if HAVE_DOXYGEN
docs:
mkdir -p ${top_builddir}/docs/
$(DOXYGEN) Doxyfile
endif
dist_noinst_SCRIPTS = autogen.sh