xref: /titanic_41/usr/src/tools/onbld/Makefile (revision 6a634c9dca3093f3922e4b7ab826d7bdf17bf78e)
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#
2387ab3622SRichard 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)
3887ab3622SRichard LowePYTOPDIR = 	$(ROOTONBLDLIB)
3987ab3622SRichard LowePYMODDIR =	onbld
40cdf0c1d5Smjnelson
41cdf0c1d5Smjnelsonall	:= TARGET = all
42cdf0c1d5Smjnelsoninstall := TARGET = install
43cdf0c1d5Smjnelsonclean	:= TARGET = clean
44b4218d7fSMark J. Nelsonclobber := TARGET = clobber
45cdf0c1d5Smjnelson
4687ab3622SRichard Loweinclude ../Makefile.python
4787ab3622SRichard Lowe
48cdf0c1d5Smjnelson.KEEP_STATE:
49cdf0c1d5Smjnelson
50*5084e753SMark J. Nelsonall: $(PYVERSOBJS) $(SUBDIRS)
51cdf0c1d5Smjnelson
5287ab3622SRichard Loweinstall: all $(ROOTPYFILES) $(SUBDIRS)
53cdf0c1d5Smjnelson
5487ab3622SRichard Loweclean: $(SUBDIRS)
5587ab3622SRichard Lowe
5687ab3622SRichard Loweclobber: clean pyclobber $(SUBDIRS)
57b4218d7fSMark J. Nelson
58cdf0c1d5Smjnelson$(SUBDIRS): FRC
59cdf0c1d5Smjnelson	@cd $@; pwd; $(MAKE) $(TARGET)
60cdf0c1d5Smjnelson
61cdf0c1d5SmjnelsonFRC:
62