1 MONO_BTLS_SOURCES_FILES = \
25 btls-x509-lookup-mono.c \
26 btls-x509-lookup-mono.h \
32 btls-x509-store-ctx.c \
33 btls-x509-store-ctx.h \
35 btls-x509-verify-param.c \
36 btls-x509-verify-param.h \
39 EXTRA_DIST = $(MONO_BTLS_SOURCES_FILES)
41 CMAKE_VERBOSE=$(if $(V),VERBOSE=1,)
43 CMAKE_ARGS = -D CMAKE_INSTALL_PREFIX:PATH=$(prefix) -D BTLS_ROOT:PATH=$(BTLS_ROOT) \
44 -D SRC_DIR:PATH=$(abs_top_srcdir)/mono/btls -D BTLS_CFLAGS:STRING="$(BTLS_CFLAGS)"
46 all-local: build-shared/libmono-btls-shared$(libsuffix)
48 build-shared/Makefile:
49 -mkdir -p build-shared
50 (cd build-shared && CC="$(CC)" CXX="$(CXX)" $(CMAKE) $(CMAKE_ARGS) $(BTLS_CMAKE_ARGS) -DBUILD_SHARED_LIBS=1 $(abs_top_srcdir)/mono/btls)
52 build-shared/libmono-btls-shared$(libsuffix): build-shared/Makefile $(MONO_BTLS_SOURCES_FILES)
53 $(MAKE) -C build-shared $(CMAKE_VERBOSE)
59 $(mkinstalldirs) "$(DESTDIR)$(libdir)"
60 $(install_sh) build-shared/libmono-btls-shared.* "$(DESTDIR)$(libdir)"