[Python-checkins] CVS: python/dist/src/Mac/scripts genpluginprojects.py,1.27,1.28

Jack Jansen jackjansen@users.sourceforge.net
Thu, 14 Mar 2002 15:14:45 -0800


Update of /cvsroot/python/python/dist/src/Mac/scripts
In directory usw-pr-cvs1:/tmp/cvs-serv31034/Python/Mac/scripts

Modified Files:
	genpluginprojects.py 
Log Message:
Modifed for new included expat.

Index: genpluginprojects.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/scripts/genpluginprojects.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** genpluginprojects.py	11 Jan 2002 12:39:03 -0000	1.27
--- genpluginprojects.py	14 Mar 2002 23:14:43 -0000	1.28
***************
*** 37,41 ****
  		libraries=[], extradirs=[],
  		extraexportsymbols=[], outputdir=":::Lib:lib-dynload",
! 		libraryflags=None, stdlibraryflags=None):
  	if architecture == "all":
  		# For the time being we generate two project files. Not as nice as
--- 37,41 ----
  		libraries=[], extradirs=[],
  		extraexportsymbols=[], outputdir=":::Lib:lib-dynload",
! 		libraryflags=None, stdlibraryflags=None, prefixname=None):
  	if architecture == "all":
  		# For the time being we generate two project files. Not as nice as
***************
*** 77,81 ****
  			print "Warning: %s: sourcefile not found: %s"%(module, sources[0])
  			sourcedirs = []
! 	if architecture == "carbon":
  		prefixname = "mwerks_carbonplugin_config.h"
  	else:
--- 77,83 ----
  			print "Warning: %s: sourcefile not found: %s"%(module, sources[0])
  			sourcedirs = []
! 	if prefixname:
! 		pass
! 	elif architecture == "carbon":
  		prefixname = "mwerks_carbonplugin_config.h"
  	else:
***************
*** 103,110 ****
  	FORCEREBUILD = force
  	# Standard Python modules
! 	genpluginproject("all", "pyexpat", 
! 		sources=["pyexpat.c"], 
! 		libraries=["libexpat.ppc.lib"], 
! 		extradirs=["::::expat:*"])
  	genpluginproject("all", "zlib", 
  		libraries=["zlib.ppc.Lib"], 
--- 105,118 ----
  	FORCEREBUILD = force
  	# Standard Python modules
! 	genpluginproject("ppc", "pyexpat", 
! 		sources=["pyexpat.c", "xmlparse.c", "xmlrole.c", "xmltok.c"],
! 		extradirs=[":::Modules:expat"],
! 		prefixname="mwerks_pyexpat_config.h"
! 		)
! 	genpluginproject("carbon", "pyexpat", 
! 		sources=["pyexpat.c", "xmlparse.c", "xmlrole.c", "xmltok.c"],
! 		extradirs=[":::Modules:expat"],
! 		prefixname="mwerks_carbonpyexpat_config.h"
! 		)
  	genpluginproject("all", "zlib", 
  		libraries=["zlib.ppc.Lib"],