summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2005-05-18 08:16:46 +0000
committerAndy Polyakov <appro@openssl.org>2005-05-18 08:16:46 +0000
commit51ff6bde38e51e5822233e59a703b27efd369410 (patch)
tree8bf9c6b7b04fb3794cad8fd599aa9511ce62a644 /util
parent28e4fe34e49f2233fa7784ca5b7ba42839892d99 (diff)
Engage Applink in mingw. Note that application-side module is not
compiled into *our* aplpications. That's because mingw is always consistent with itself. Having library-side code linked into .dll makes it possible to deploy the .dll with user-code compiled with another compiler [which is pretty much the whole point behind Applink].
Diffstat (limited to 'util')
-rw-r--r--util/pl/VC-32.pl9
1 files changed, 2 insertions, 7 deletions
diff --git a/util/pl/VC-32.pl b/util/pl/VC-32.pl
index 6334317cd7..5888dcbfef 100644
--- a/util/pl/VC-32.pl
+++ b/util/pl/VC-32.pl
@@ -99,23 +99,18 @@ if ($shlib)
# Engage Applink...
#
$app_ex_obj.=" \$(OBJ_D)\\applink.obj /implib:\$(TMP_D)\\junk.lib";
- $cflags.=" -DOPENSSL_USE_APPLINK";
+ $cflags.=" -DOPENSSL_USE_APPLINK -I.";
# I'm open for better suggestions than overriding $banner...
$banner=<<'___';
@echo Building OpenSSL
$(OBJ_D)\applink.obj: ms\applink.c
$(CC) /Fo$(OBJ_D)\applink.obj $(APP_CFLAGS) -c ms\applink.c
-$(OBJ_D)\uplink.obj: ms\uplink.c $(OBJ_D)\applink.c
+$(OBJ_D)\uplink.obj: ms\uplink.c ms\applink.c
$(CC) /Fo$(OBJ_D)\uplink.obj $(SHLIB_CFLAGS) -c ms\uplink.c
-$(INCL_D)\uplink.h: ms\uplink.h
- $(CP) ms\uplink.h $(INCL_D)\uplink.h
$(INCO_D)\applink.c: ms\applink.c
$(CP) ms\applink.c $(INCO_D)\applink.c
-$(OBJ_D)\applink.c: ms\applink.c
- $(CP) ms\applink.c $(OBJ_D)\applink.c
-HEADER=$(HEADER) $(INCL_D)\uplink.h
EXHEADER= $(EXHEADER) $(INCO_D)\applink.c
LIBS_DEP=$(LIBS_DEP) $(OBJ_D)\applink.obj