summaryrefslogtreecommitdiffstats
path: root/PC
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2005-02-17 12:44:51 (GMT)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2005-02-17 12:44:51 (GMT)
commit744b313d8577d283b568f998396456597e7fcd96 (patch)
tree6bad83fbd55f3ce543ba5d21728d62e6a38d5a51 /PC
parentee319f66ab6fc041ff2f576562997e4c7bd33d3e (diff)
downloadcpython-744b313d8577d283b568f998396456597e7fcd96.zip
cpython-744b313d8577d283b568f998396456597e7fcd96.tar.gz
cpython-744b313d8577d283b568f998396456597e7fcd96.tar.bz2
add build machinery for the SSL socket module
Diffstat (limited to 'PC')
-rw-r--r--PC/os2emx/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/PC/os2emx/Makefile b/PC/os2emx/Makefile
index 677605f..847fa67 100644
--- a/PC/os2emx/Makefile
+++ b/PC/os2emx/Makefile
@@ -59,6 +59,8 @@ HAVE_NCURSES= no
HAVE_GDBM= no
# Do you have the BZ2 compression library installed?
HAVE_BZ2= no
+# Do you have the OpenSSL libraries installed
+HAVE_OPENSSL= no
# === install locations ===
# default value of PYTHONHOME
@@ -476,6 +478,9 @@ endif
ifeq ($(HAVE_BZ2),yes)
HARDEXTMODULES+= bz2
endif
+ifeq ($(HAVE_OPENSSL),yes)
+ HARDEXTMODULES+= _ssl
+endif
# Expat is now distributed with the Python source
HARDEXTMODULES+= pyexpat
@@ -671,6 +676,9 @@ zlib$(MODULE.EXT): $(OUT)zlibmodule$O $(OUT)zlib_m.def $(PYTHON.IMPLIB)
bz2$(MODULE.EXT): $(OUT)bz2module$O $(OUT)bz2_m.def $(PYTHON.IMPLIB)
$(LD) $(LDFLAGS.DLL) -o $@ $(^^) $(L^) $(LIBS) -lbz2
+_ssl$(MODULE.EXT): $(OUT)_ssl$O $(OUT)_ssl_m.def $(PYTHON.IMPLIB)
+ $(LD) $(LDFLAGS.DLL) -o $@ $(^^) $(L^) $(LIBS) -lssl -lcrypto
+
# the test target
test:
-find ../../Lib -name "*.py[co]" -exec rm {} ";"