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