Makefile revision 3056
10139N/A# The contents of this file are subject to the terms of the 10139N/A# Common Development and Distribution License (the "License"). 10139N/A# You may not use this file except in compliance with the License. 10139N/A# See the License for the specific language governing permissions 10139N/A# and limitations under the License. 10139N/A# When distributing Covered Code, include this CDDL HEADER in each 10139N/A# If applicable, add the following below this CDDL HEADER, with the 10139N/A# fields enclosed by brackets "[]" replaced with your own identifying 10139N/A# information: Portions Copyright [yyyy] [name of copyright owner] 10139N/A# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved. 10139N/A# W3C XML Conformance Test Suites 10139N/A# Cannot link to lzma since it's not in /lib. 10139N/A# After we have configured, make a copy of the python bits so we can build and 10139N/A# test separate python 2.7 and 3.4 support. Note for 3.4: .py files need to 10139N/A# go in .../vendor-packages (whether building 32-bit or 64-bit) whereas .so 13570N/A# files need to go in .../vendor-packages for 32-bit but .../vendor-packages/64 10139N/A# for 64-bit. For 2.6 and 2.7, Python is built 32- and 64-bit, so .py files 10139N/A# end up in both places even though only the 32-bit location is needed, but the 10139N/A# superfluous files in the proto area are harmless; meanwhile, the .so files 11965N/A# end up in their proper 32- and 64-bit locations. But Python 3.4 is built 11965N/A# 64-bit only, so we have an extra sed edit below to force the .py files into 13678N/A# the 32-bit location and we manually specify the 32-bit path in the manifest 10139N/A# to correct for the .so file being installed there instead of the 64-bit path 10139N/A $(GSED) -i -e 's/2[.]6/3.4/g' -e 's|vendor-packages/64|vendor-packages|' \ 10139N/A# support for python 2.7 and 3.4 10139N/A# It's nice to test also python 2.7 and 3.4 modules. 10139N/A# We have patched our 64 bit python so it will search for modules only in 10139N/A# '64/' directories. Now we need to provide one. Otherwise python will