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>
26 # Copyright (c) 2016, Chris Fraire <cfraire@me.com>.
29 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 \
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 DOROOTONBLDLIBPY
= $(ROOTONBLDLIBPY
)
90 clobber:= DOROOTONBLDLIBPY
=
91 clean:= DOROOTONBLDLIBPY
=
93 all install: $(SUBDIRS
)
98 $(RM
) -rf
$(TOOLS_PROTO
)
102 .PARALLEL
: $(SUBDIRS
)
104 $(BOOT_SUBDIRS
) $(SUBDIRS
): $$(DOROOTDIRS
) $$(DOROOTONBLDLIBPY
) FRC
105 @cd
$@
; pwd
; $(MAKE
) $(TARGET
)
107 # Assume we don't have the install.bin available yet
109 $(MKDIR
) -p
-m
$(DIRMODE
) $@
111 $(ROOTONBLDLIBPY
): $(ROOTDIRS
)
112 $(RM
) -r
$@
; $(SYMLINK
) python
$(PYTHON_VERSION
) $@