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