mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-01 10:45:56 +08:00
This includes... * A minimal vcxproj file to list all the source files required for the build. Some future Visual Studio user can come along and replace it with a real actual vcxproj file with all the other metadata that I didn't bother to copy. * A local.mk file to specify all the custom flags and libraries we need for the build/link of the TLS plugin. * Including the project in the list of all FDB sub-projects * Fixes `make clean` to wipe all of lib/, including libFDBLibTLS.so And offers a target of `bin/FDBLibTLS.so` that can be built, and I have verified that it works with simulation. Note that this requires a build image that contains the previous Dockerfile changes.
12 lines
467 B
Makefile
12 lines
467 B
Makefile
FDBLibTLS_CFLAGS := -fPIC -I/usr/local/include -I$(BOOSTDIR)
|
|
FDBLibTLS_STATIC_LIBS := -ltls -lssl -lcrypto
|
|
FDBLibTLS_LDFLAGS := -L/usr/local/lib -static-libstdc++ -static-libgcc -lrt
|
|
FDBLibTLS_LDFLAGS += -Wl,-soname,FDBLibTLS.so -Wl,--version-script=FDBLibTLS/FDBLibTLS.map
|
|
|
|
# The plugin isn't a typical library, so it feels more sensible to have a copy
|
|
# of it in bin/.
|
|
bin/FDBLibTLS.$(DLEXT): lib/libFDBLibTLS.$(DLEXT)
|
|
@cp $< $@
|
|
|
|
TARGETS += bin/FDBLibTLS.$(DLEXT)
|