Makefile revision 1
6c2a76b3e2ccd32c35814b6e0f54da00190749d7Evan Hunt# CDDL HEADER START
c7fd128f8ea8a527fe27c1b95ab46df7155bc8e4Tinderbox User# The contents of this file are subject to the terms of the
c7fd128f8ea8a527fe27c1b95ab46df7155bc8e4Tinderbox User# Common Development and Distribution License (the "License").
2fee8782a6fd57d86a67949092ab9197111af390Evan Hunt# You may not use this file except in compliance with the License.
969eaf7df8ac651946f76b6631ff5db568c11ef6Tinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# See the License for the specific language governing permissions
f4ee48be3994797a8332b86c101db4d7b54799ceTinderbox User# and limitations under the License.
8de3f14f1c300c3e1ed99084cc03485b42c92bf1Tinderbox User# When distributing Covered Code, include this CDDL HEADER in each
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# If applicable, add the following below this CDDL HEADER, with the
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# information: Portions Copyright [yyyy] [name of copyright owner]
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# CDDL HEADER END
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
415d630b6309922caee8469384a6fab75cf05032Mark Andrews# We deliver .pyc files specific to the python version, with the
efb0e886f18894a1d2489f1ad74ad14b579e11c7Mark Andrews# exception of cdm.pyc, which we don't deliver at all.
30370d905e9be3be7d9b947fd432bacecbb13bb9Evan Hunt# An exception to this is cdm.py, which is typically loaded using an
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# extension path in an .hgrc. This path might refer to a Python
415d630b6309922caee8469384a6fab75cf05032Mark Andrews# version that's different from the one Mercurial is using. If we
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# delivered a cdm.pyc, differing Pythons running Mercurial could cause
415d630b6309922caee8469384a6fab75cf05032Mark Andrews# it to be overwritten, causing packaging noise. Logic within cdm.py
e813f036c8251b6d9d2a72fa84f80c2c9d2795afMark Andrews# causes modules loaded from there to be those built by the correct
30370d905e9be3be7d9b947fd432bacecbb13bb9Evan Hunt# version of Python.