25cf1a301a396c38e8adf52c15f537b80d2483f7jl# CDDL HEADER START
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# The contents of this file are subject to the terms of the
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Common Development and Distribution License (the "License").
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# You may not use this file except in compliance with the License.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# See the License for the specific language governing permissions
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# and limitations under the License.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# When distributing Covered Code, include this CDDL HEADER in each
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# If applicable, add the following below this CDDL HEADER, with the
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# fields enclosed by brackets "[]" replaced with your own identifying
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# information: Portions Copyright [yyyy] [name of copyright owner]
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# CDDL HEADER END
98157a7002f4f2cf7978f3084ca5577f0a1d72b2akolb# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Use is subject to license terms.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# This makefile drives the production of unix (and unix.o).
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# sun4u opl implementation architecture dependent
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Path to the base of the uts directory tree (usually /usr/src/uts).
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Define the module and object file sets.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Include common rules.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Define targets
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Overrides
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# This is UNIX_DIR. Use a short path.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Overrides
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setjeCLEANFILES += $(UNIX_O) $(MODSTUBS_O) $(KRTLD_O) $(KRTLD_OBJECTS) \
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# lint pass one enforcement
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Turn on doubleword alignment for 64 bit counter timer registers
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Default build targets.
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setje$(UNIX_BIN): $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(MAPFILE) $(LIBS) \
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setje $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(LIBOPTS) $(DTRACESTUBS)
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setjesymcheck.targ: $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(LIBS) $(DTRACESTUBS)
986fd29a0dc13f7608ef7f508f6e700bd7bc2720setje $(UNIX_O) $(KRTLD_O) $(MODSTUBS_O) $(LIBOPTS) $(DTRACESTUBS)
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# CPU_OBJ now comprises of 2 object files which come from sun4 common
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# and from architecture dependent code. OBJS_DIR is prepended where
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# CPU_OBJ is defined to allow for building multiple CPU_OBJ's
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# The global lint target builds the kernel lint library (llib-lunix.ln)
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# which is equivalent to a lint of /unix.o. Then all kernel modules for
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# this architecture are linted against the kernel lint library.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Note: lint errors in the kernel lint library will be repeated for
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# each module. It is important that the kernel lint library
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# be clean to keep the textual output to a reasonable level.
25cf1a301a396c38e8adf52c15f537b80d2483f7jl# Include common targets.