Makefile revision 1
1N/A#
1N/A# CDDL HEADER START
1N/A#
1N/A# The contents of this file are subject to the terms of the
1N/A# Common Development and Distribution License (the "License").
1N/A# You may not use this file except in compliance with the License.
1N/A#
1N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1N/A# or http://www.opensolaris.org/os/licensing.
1N/A# See the License for the specific language governing permissions
1N/A# and limitations under the License.
1N/A#
1N/A# When distributing Covered Code, include this CDDL HEADER in each
1N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1N/A# If applicable, add the following below this CDDL HEADER, with the
1N/A# fields enclosed by brackets "[]" replaced with your own identifying
1N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1N/A#
1N/A# CDDL HEADER END
1N/A#
1N/A
1N/A#
1N/A# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
1N/A#
1N/A
1N/Ainclude $(SRC)/Makefile.master
1N/Ainclude ../../Makefile.tools
1N/A
1N/APYSRCS = \
1N/A __init__.py \
1N/A cdm.py
1N/A
1N/A#
1N/A# We deliver .pyc files specific to the python version, with the
1N/A# exception of cdm.pyc, which we don't deliver at all.
1N/A#
1N/A# An exception to this is cdm.py, which is typically loaded using an
1N/A# extension path in an .hgrc. This path might refer to a Python
1N/A# version that's different from the one Mercurial is using. If we
1N/A# delivered a cdm.pyc, differing Pythons running Mercurial could cause
1N/A# it to be overwritten, causing packaging noise. Logic within cdm.py
1N/A# causes modules loaded from there to be those built by the correct
1N/A# version of Python.
1N/A#
1N/APYSRC2 = $(PYSRCS:cdm.py=)
1N/APYOBJS = $(PYSRC2:%.py=%.pyc)
1N/APYTOPDIR = $(ROOTONBLDLIB)
1N/APYMODDIR = onbld/hgext
1N/A
1N/Ainclude ../../Makefile.python
1N/A
1N/Aall: $(PYVERSOBJS)
1N/A
1N/Ainstall: all $(ROOTPYFILES)
1N/A
1N/Aclean:
1N/A
1N/Aclobber: clean pyclobber