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]
22 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
25 # This makefile drives the production of all implementation architecture
26 # dependent modules for the i86pc architecture.
31 include Makefile.i86pc
35 install := TARGET
= install
36 install_h
:= TARGET
= install_h
37 clean := TARGET
= clean
38 clobber := TARGET
= clobber
39 modlist
:= TARGET
= modlist
40 modlist modlist.intel
:= NO_STATE
= -K
$$MODSTATE$$$$
41 check := TARGET
= check
45 .PARALLEL
: $(PARALLEL_KMODS
) $(XMODS
) modlist modlist.intel
52 def
all clean clobber: setup genassym unix .WAIT \
55 install: install_platforms setup genassym unix .WAIT \
58 # list the modules under i86pc.
59 modlist
: unix
$(KMODS
) $(XMODS
)
61 # list the modules for Install -k i86pc.
62 modlist.karch
: modlist modlist.intel
65 @cd
$(SRC
)/uts
/intel
; pwd
; $(MAKE
) $(NO_STATE
) modlist
67 genassym unix
$(KMODS
): FRC
68 @cd
$@
; pwd
; $(MAKE
) $(NO_STATE
) $(TARGET
)
71 @cd cpu
/scripts
; pwd
; $(MAKE
) $(TARGET
)
74 @if
[ -f
$@
/Makefile
]; then \
75 cd
$@
; pwd
; $(MAKE
) $(NO_STATE
) $(TARGET
); \
83 # Make the /platform directories. This is hardwired here because
84 # the first stage of the project (KBI) only implements the userland
85 # changes, but the only reasonable place to record the aliases is
86 # here in kernel land.
88 install_platforms
: $(ROOT_PSM_DIR
) $(USR_PSM_DIR
)
90 include ..
/Makefile.targ