1*cdf0c1d5Smjnelson# 2*cdf0c1d5Smjnelson# CDDL HEADER START 3*cdf0c1d5Smjnelson# 4*cdf0c1d5Smjnelson# The contents of this file are subject to the terms of the 5*cdf0c1d5Smjnelson# Common Development and Distribution License (the "License"). 6*cdf0c1d5Smjnelson# You may not use this file except in compliance with the License. 7*cdf0c1d5Smjnelson# 8*cdf0c1d5Smjnelson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*cdf0c1d5Smjnelson# or http://www.opensolaris.org/os/licensing. 10*cdf0c1d5Smjnelson# See the License for the specific language governing permissions 11*cdf0c1d5Smjnelson# and limitations under the License. 12*cdf0c1d5Smjnelson# 13*cdf0c1d5Smjnelson# When distributing Covered Code, include this CDDL HEADER in each 14*cdf0c1d5Smjnelson# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*cdf0c1d5Smjnelson# If applicable, add the following below this CDDL HEADER, with the 16*cdf0c1d5Smjnelson# fields enclosed by brackets "[]" replaced with your own identifying 17*cdf0c1d5Smjnelson# information: Portions Copyright [yyyy] [name of copyright owner] 18*cdf0c1d5Smjnelson# 19*cdf0c1d5Smjnelson# CDDL HEADER END 20*cdf0c1d5Smjnelson# 21*cdf0c1d5Smjnelson 22*cdf0c1d5Smjnelson# 23*cdf0c1d5Smjnelson# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 24*cdf0c1d5Smjnelson# Use is subject to license terms. 25*cdf0c1d5Smjnelson# 26*cdf0c1d5Smjnelson# ident "%Z%%M% %I% %E% SMI" 27*cdf0c1d5Smjnelson# 28*cdf0c1d5Smjnelson 29*cdf0c1d5Smjnelsoninclude $(SRC)/Makefile.master 30*cdf0c1d5Smjnelsoninclude ../Makefile.tools 31*cdf0c1d5Smjnelson 32*cdf0c1d5SmjnelsonSUBDIRS= \ 33*cdf0c1d5Smjnelson Checks \ 34*cdf0c1d5Smjnelson hgext \ 35*cdf0c1d5Smjnelson Scm 36*cdf0c1d5Smjnelson 37*cdf0c1d5SmjnelsonPYSRCS= \ 38*cdf0c1d5Smjnelson __init__.py 39*cdf0c1d5Smjnelson 40*cdf0c1d5SmjnelsonPYOBJS= $(PYSRCS:%.py=%.pyc) 41*cdf0c1d5Smjnelson 42*cdf0c1d5SmjnelsonPYFILES= $(PYSRCS) $(PYOBJS) 43*cdf0c1d5Smjnelson 44*cdf0c1d5Smjnelsonall := TARGET = all 45*cdf0c1d5Smjnelsoninstall := TARGET = install 46*cdf0c1d5Smjnelsonclean := TARGET = clean 47*cdf0c1d5Smjnelson 48*cdf0c1d5SmjnelsonROOTONBLDBASEFILES= $(PYFILES:%=$(ROOTONBLDLIBPY)/onbld/%) 49*cdf0c1d5Smjnelson$(ROOTONBLDBASEFILES) := FILEMODE = 0444 50*cdf0c1d5Smjnelson 51*cdf0c1d5Smjnelson.KEEP_STATE: 52*cdf0c1d5Smjnelson 53*cdf0c1d5Smjnelsonall: $(PYOBJS) $(SUBDIRS) 54*cdf0c1d5Smjnelson 55*cdf0c1d5Smjnelsoninstall: $(ROOTONBLDBASEFILES) $(SUBDIRS) 56*cdf0c1d5Smjnelson 57*cdf0c1d5Smjnelsonclean: $(SUBDIRS) 58*cdf0c1d5Smjnelson $(RM) $(PYOBJS) 59*cdf0c1d5Smjnelson 60*cdf0c1d5Smjnelson$(ROOTONBLDLIBPY)/onbld/%: % 61*cdf0c1d5Smjnelson $(INS.pyfile) 62*cdf0c1d5Smjnelson 63*cdf0c1d5Smjnelson$(SUBDIRS): FRC 64*cdf0c1d5Smjnelson @cd $@; pwd; $(MAKE) $(TARGET) 65*cdf0c1d5Smjnelson 66*cdf0c1d5SmjnelsonFRC: 67*cdf0c1d5Smjnelson 68*cdf0c1d5Smjnelsoninclude ../Makefile.targ 69