Makefile revision b4218d7f125d6b4ccd06bcb3545c78987e5bfbc8
3605N/A#
3605N/A# CDDL HEADER START
3605N/A#
3605N/A# The contents of this file are subject to the terms of the
3605N/A# Common Development and Distribution License (the "License").
3605N/A# You may not use this file except in compliance with the License.
3605N/A#
3605N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3605N/A# or http://www.opensolaris.org/os/licensing.
3605N/A# See the License for the specific language governing permissions
3605N/A# and limitations under the License.
3605N/A#
3605N/A# When distributing Covered Code, include this CDDL HEADER in each
3605N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3605N/A# If applicable, add the following below this CDDL HEADER, with the
3605N/A# fields enclosed by brackets "[]" replaced with your own identifying
3605N/A# information: Portions Copyright [yyyy] [name of copyright owner]
3605N/A#
3605N/A# CDDL HEADER END
3605N/A#
3605N/A
3699N/A#
3605N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
3605N/A# Use is subject to license terms.
3605N/A#
3605N/A
3605N/Ainclude $(SRC)/Makefile.master
3605N/Ainclude ../Makefile.tools
3605N/A
3605N/ASUBDIRS= \
3605N/A Checks \
3605N/A hgext \
3605N/A Scm
3605N/A
3699N/APYSRCS= \
3605N/A __init__.py
3605N/A
3605N/APYOBJS= $(PYSRCS:%.py=%.pyc)
3817N/A
3817N/APYFILES= $(PYSRCS) $(PYOBJS)
3817N/A
3605N/Aall := TARGET = all
3605N/Ainstall := TARGET = install
3605N/Aclean := TARGET = clean
3605N/Aclobber := TARGET = clobber
3605N/A
3605N/AROOTONBLDBASEFILES= $(PYFILES:%=$(ROOTONBLDLIBPY)/onbld/%)
3605N/A$(ROOTONBLDBASEFILES) := FILEMODE = 0444
3605N/A
3605N/ACLOBBERFILES += THIRDPARTYLICENSE
3605N/A
3605N/A.KEEP_STATE:
3605N/A
3605N/Aall: $(PYOBJS) $(SUBDIRS) THIRDPARTYLICENSE
3605N/A
3605N/Ainstall: all $(ROOTONBLDBASEFILES) $(SUBDIRS)
3605N/A
3605N/Aclean clobber: $(SUBDIRS)
3605N/A
3605N/ATHIRDPARTYLICENSE: $(SRC)/pkgdefs/license_files/lic_GPLv2
3605N/A $(RM) $@
3605N/A $(CAT) $? > $@
3605N/A
3817N/A$(ROOTONBLDLIBPY)/onbld/%: %
$(INS.pyfile)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
include ../Makefile.targ