blob: 9b61a23468eea4c061ac9a8ccb932c0ceb882695 (
plain)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
BTLS_STATIC_LIST = build-static/mono-btls-static-lo.txt
BTLS_SHARED_LIST = build-shared/mono-btls-shared-lo.txt
EXTRA_DIST = \
btls-bio.c \
btls-bio.h \
btls-error.c \
btls-error.h \
btls-key.c \
btls-key.h \
btls-pkcs12.c \
btls-pkcs12.h \
btls-ssl.c \
btls-ssl-ctx.c \
btls-ssl-ctx.h \
btls-ssl.h \
btls-time64.c \
btls-util.c \
btls-util.h \
btls-x509.c \
btls-x509-chain.c \
btls-x509-chain.h \
btls-x509-crl.c \
btls-x509-crl.h \
btls-x509.h \
btls-x509-lookup.c \
btls-x509-lookup.h \
btls-x509-lookup-mono.c \
btls-x509-lookup-mono.h \
btls-x509-name.c \
btls-x509-name.h \
btls-x509-revoked.c \
btls-x509-revoked.h \
btls-x509-store.c \
btls-x509-store-ctx.c \
btls-x509-store-ctx.h \
btls-x509-store.h \
btls-x509-verify-param.c \
btls-x509-verify-param.h \
CMakeLists.txt \
create-object-library.sh
CMAKE_VERBOSE=$(if $(V),VERBOSE=1,)
CMAKE_ARGS = -D CMAKE_INSTALL_PREFIX:PATH=$(prefix) -D BTLS_ROOT:PATH=$(BTLS_ROOT) \
-D SRC_DIR:PATH=$(abs_top_srcdir)/mono/btls -D BTLS_CFLAGS:STRING="$(BTLS_CFLAGS)"
all-local: $(BTLS_STATIC_LIST) $(BTLS_SHARED_LIST)
if DYNAMIC_BTLS
build-shared/Makefile:
-mkdir -p build-shared
(cd build-shared && CC="$(CC)" CXX="$(CXX)" $(CMAKE) $(CMAKE_ARGS) $(BTLS_CMAKE_ARGS) -DBUILD_DYNAMIC_BTLS=1 $(abs_top_srcdir)/mono/btls)
else
build-shared/Makefile:
-mkdir -p build-shared
(cd build-shared && CC="$(CC)" CXX="$(CXX)" $(CMAKE) $(CMAKE_ARGS) $(BTLS_CMAKE_ARGS) -DBUILD_SHARED_LIBS=1 $(abs_top_srcdir)/mono/btls)
endif
build-static/Makefile:
-mkdir -p build-static
(cd build-static && CC="$(CC)" CXX="$(CXX)" $(CMAKE) $(CMAKE_ARGS) $(BTLS_CMAKE_ARGS) $(abs_top_srcdir)/mono/btls)
$(BTLS_STATIC_LIST): build-static/Makefile
$(MAKE) -C build-static $(CMAKE_VERBOSE)
$(BTLS_SHARED_LIST): build-shared/Makefile
$(MAKE) -C build-shared $(CMAKE_VERBOSE)
clean-local:
-rm -rf build-static
-rm -rf build-shared
if DYNAMIC_BTLS
install-exec-local:
$(mkinstalldirs) "$(DESTDIR)$(libdir)"
$(install_sh) build-shared/libmono-btls-shared.* "$(DESTDIR)$(libdir)"
endif
|