1cdf0c1d5Smjnelson# 2cdf0c1d5Smjnelson# CDDL HEADER START 3cdf0c1d5Smjnelson# 4cdf0c1d5Smjnelson# The contents of this file are subject to the terms of the 5cdf0c1d5Smjnelson# Common Development and Distribution License (the "License"). 6cdf0c1d5Smjnelson# You may not use this file except in compliance with the License. 7cdf0c1d5Smjnelson# 8cdf0c1d5Smjnelson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9cdf0c1d5Smjnelson# or http://www.opensolaris.org/os/licensing. 10cdf0c1d5Smjnelson# See the License for the specific language governing permissions 11cdf0c1d5Smjnelson# and limitations under the License. 12cdf0c1d5Smjnelson# 13cdf0c1d5Smjnelson# When distributing Covered Code, include this CDDL HEADER in each 14cdf0c1d5Smjnelson# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15cdf0c1d5Smjnelson# If applicable, add the following below this CDDL HEADER, with the 16cdf0c1d5Smjnelson# fields enclosed by brackets "[]" replaced with your own identifying 17cdf0c1d5Smjnelson# information: Portions Copyright [yyyy] [name of copyright owner] 18cdf0c1d5Smjnelson# 19cdf0c1d5Smjnelson# CDDL HEADER END 20cdf0c1d5Smjnelson# 21cdf0c1d5Smjnelson 22cdf0c1d5Smjnelson# 23*87ab3622SRichard Lowe# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. 24cdf0c1d5Smjnelson# 25cdf0c1d5Smjnelson 26cdf0c1d5Smjnelsoninclude $(SRC)/Makefile.master 27cdf0c1d5Smjnelsoninclude ../Makefile.tools 28cdf0c1d5Smjnelson 29cdf0c1d5SmjnelsonSUBDIRS= \ 30cdf0c1d5Smjnelson Checks \ 31cdf0c1d5Smjnelson hgext \ 32cdf0c1d5Smjnelson Scm 33cdf0c1d5Smjnelson 34cdf0c1d5SmjnelsonPYSRCS = \ 35cdf0c1d5Smjnelson __init__.py 36cdf0c1d5Smjnelson 37cdf0c1d5SmjnelsonPYOBJS = $(PYSRCS:%.py=%.pyc) 38*87ab3622SRichard LowePYTOPDIR = $(ROOTONBLDLIB) 39*87ab3622SRichard LowePYMODDIR = onbld 40cdf0c1d5Smjnelson 41cdf0c1d5Smjnelsonall := TARGET = all 42cdf0c1d5Smjnelsoninstall := TARGET = install 43cdf0c1d5Smjnelsonclean := TARGET = clean 44b4218d7fSMark J. Nelsonclobber := TARGET = clobber 45cdf0c1d5Smjnelson 46b4218d7fSMark J. NelsonCLOBBERFILES += THIRDPARTYLICENSE 47b4218d7fSMark J. Nelson 48*87ab3622SRichard Loweinclude ../Makefile.python 49*87ab3622SRichard Lowe 50cdf0c1d5Smjnelson.KEEP_STATE: 51cdf0c1d5Smjnelson 52*87ab3622SRichard Loweall: $(PYVERSOBJS) $(SUBDIRS) THIRDPARTYLICENSE 53cdf0c1d5Smjnelson 54*87ab3622SRichard Loweinstall: all $(ROOTPYFILES) $(SUBDIRS) 55cdf0c1d5Smjnelson 56*87ab3622SRichard Loweclean: $(SUBDIRS) 57*87ab3622SRichard Lowe 58*87ab3622SRichard Loweclobber: clean pyclobber $(SUBDIRS) 59b4218d7fSMark J. Nelson 60ead1f93eSLiane PrazaTHIRDPARTYLICENSE: $(SRC)/pkg/license_files/lic_GPLv2 61b4218d7fSMark J. Nelson $(RM) $@ 62b4218d7fSMark J. Nelson $(CAT) $? > $@ 63cdf0c1d5Smjnelson 64cdf0c1d5Smjnelson$(SUBDIRS): FRC 65cdf0c1d5Smjnelson @cd $@; pwd; $(MAKE) $(TARGET) 66cdf0c1d5Smjnelson 67cdf0c1d5SmjnelsonFRC: 68