1e1051a39Sopenharmony_ci# This build description trusts that the following logical names are defined: 2e1051a39Sopenharmony_ci# 3e1051a39Sopenharmony_ci# For compilation: OPENSSL 4e1051a39Sopenharmony_ci# For linking with shared libraries: OSSL$LIBCRYPTO_SHR and OSSL$LIBSSL_SHR 5e1051a39Sopenharmony_ci# For linking with static libraries: OSSL$LIBCRYPTO and OSSL$LIBSSL 6e1051a39Sopenharmony_ci# 7e1051a39Sopenharmony_ci# These are normally defined with the OpenSSL startup procedure 8e1051a39Sopenharmony_ci 9e1051a39Sopenharmony_ci# By default, we link with the shared libraries 10e1051a39Sopenharmony_ciSHARED = TRUE 11e1051a39Sopenharmony_ci 12e1051a39Sopenharmony_ci# Alternative, for linking with static libraries 13e1051a39Sopenharmony_ci#SHARED = FALSE 14e1051a39Sopenharmony_ci 15e1051a39Sopenharmony_ci.FIRST : 16e1051a39Sopenharmony_ci IF "$(SHARED)" .EQS. "TRUE" THEN DEFINE OPT []shared.opt 17e1051a39Sopenharmony_ci IF "$(SHARED)" .NES. "TRUE" THEN DEFINE OPT []static.opt 18e1051a39Sopenharmony_ci 19e1051a39Sopenharmony_ci.LAST : 20e1051a39Sopenharmony_ci DEASSIGN OPT 21e1051a39Sopenharmony_ci 22e1051a39Sopenharmony_ci.DEFAULT : 23e1051a39Sopenharmony_ci @ ! 24e1051a39Sopenharmony_ci 25e1051a39Sopenharmony_ci# Because we use an option file, we need to redefine this 26e1051a39Sopenharmony_ci.obj.exe : 27e1051a39Sopenharmony_ci $(LINK) $(LINKFLAGS) $<,OPT:/OPT 28e1051a39Sopenharmony_ci 29e1051a39Sopenharmony_ciall : client-arg.exe client-conf.exe saccept.exe sconnect.exe - 30e1051a39Sopenharmony_ci server-arg.exe server-cmod.exe server-conf.exe 31e1051a39Sopenharmony_ci 32e1051a39Sopenharmony_ciclient-arg.exe : client-arg.obj 33e1051a39Sopenharmony_ciclient-conf.exe : client-conf.obj 34e1051a39Sopenharmony_cisaccept.exe : saccept.obj 35e1051a39Sopenharmony_cisconnect.exe : sconnect.obj 36e1051a39Sopenharmony_ciserver-arg.exe : server-arg.obj 37e1051a39Sopenharmony_ciserver-cmod.exe : server-cmod.obj 38e1051a39Sopenharmony_ciserver-conf.exe : server-conf.obj 39e1051a39Sopenharmony_ci 40e1051a39Sopenharmony_ci# MMS doesn't infer this automatically... 41e1051a39Sopenharmony_ciclient-arg.obj : client-arg.c 42e1051a39Sopenharmony_ciclient-conf.obj : client-conf.c 43e1051a39Sopenharmony_cisaccept.obj : saccept.c 44e1051a39Sopenharmony_cisconnect.obj : sconnect.c 45e1051a39Sopenharmony_ciserver-arg.obj : server-arg.c 46e1051a39Sopenharmony_ciserver-cmod.obj : server-cmod.c 47e1051a39Sopenharmony_ciserver-conf.obj : server-conf.c 48