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
|
---|
10 | SHARED = 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 |
|
---|
29 | all : client-arg.exe client-conf.exe saccept.exe sconnect.exe -
|
---|
30 | server-arg.exe server-cmod.exe server-conf.exe
|
---|
31 |
|
---|
32 | client-arg.exe : client-arg.obj
|
---|
33 | client-conf.exe : client-conf.obj
|
---|
34 | saccept.exe : saccept.obj
|
---|
35 | sconnect.exe : sconnect.obj
|
---|
36 | server-arg.exe : server-arg.obj
|
---|
37 | server-cmod.exe : server-cmod.obj
|
---|
38 | server-conf.exe : server-conf.obj
|
---|
39 |
|
---|
40 | # MMS doesn't infer this automatically...
|
---|
41 | client-arg.obj : client-arg.c
|
---|
42 | client-conf.obj : client-conf.c
|
---|
43 | saccept.obj : saccept.c
|
---|
44 | sconnect.obj : sconnect.c
|
---|
45 | server-arg.obj : server-arg.c
|
---|
46 | server-cmod.obj : server-cmod.c
|
---|
47 | server-conf.obj : server-conf.c
|
---|