[Python-checkins] python/dist/src/PC/os2emx Makefile, 1.18.2.1, 1.18.2.2

aimacintyre at users.sourceforge.net aimacintyre at users.sourceforge.net
Thu Feb 17 13:47:06 CET 2005


Update of /cvsroot/python/python/dist/src/PC/os2emx
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv397

Modified Files:
      Tag: release24-maint
	Makefile 
Log Message:
add build machinery for the SSL socket module

Index: Makefile
===================================================================
RCS file: /cvsroot/python/python/dist/src/PC/os2emx/Makefile,v
retrieving revision 1.18.2.1
retrieving revision 1.18.2.2
diff -u -d -r1.18.2.1 -r1.18.2.2
--- Makefile	17 Jan 2005 12:20:31 -0000	1.18.2.1
+++ Makefile	17 Feb 2005 12:47:03 -0000	1.18.2.2
@@ -59,6 +59,8 @@
 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 @@
 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 @@
 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 {} ";"



More information about the Python-checkins mailing list