4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
23 # Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
24 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
25 # Copyright 2016 Toomas Soome <tsoome@me.com>
28 include ..
/Makefile.master
54 include Makefile.tools
60 $(ROOTONBLD
)/bin
/$(MACH
) \
62 $(ROOTONBLD
)/lib
/$(MACH
) \
63 $(ROOTONBLD
)/lib
/perl \
64 $(ROOTONBLD
)/lib
/python
$(PYTHON_VERSION
) \
65 $(ROOTONBLD
)/lib
/python
$(PYTHON_VERSION
)/onbld \
66 $(ROOTONBLD
)/lib
/python
$(PYTHON_VERSION
)/onbld
/Checks \
67 $(ROOTONBLD
)/lib
/python
$(PYTHON_VERSION
)/onbld
/Scm \
69 $(ROOTONBLD
)/etc
/exception_lists \
71 $(ROOTONBLD
)/man
/man1onbld
73 all := TARGET
= install
74 install := TARGET
= install
75 clean := TARGET
= clean
76 clobber := TARGET
= clobber
82 # Only create directories in the tools proto area when doing an actual
83 # build, not a clean or clobber.
85 DOROOTDIRS
= $(ROOTDIRS
)
89 all install: $(SUBDIRS
)
94 $(RM
) -rf
$(TOOLS_PROTO
)
100 $(SUBDIRS
): $$(DOROOTDIRS
) $(ROOTONBLDLIBPY
) FRC
101 @cd
$@
; pwd
; $(MAKE
) $(TARGET
)
106 $(ROOTONBLDLIBPY
): $(ROOTDIRS
)
107 $(RM
) -r
$@
; $(SYMLINK
) python
$(PYTHON_VERSION
) $@