Makefile revision 986fd29a0dc13f7608ef7f508f6e700bd7bc2720
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# CDDL HEADER START
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# The contents of this file are subject to the terms of the
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Common Development and Distribution License (the "License").
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# You may not use this file except in compliance with the License.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# See the License for the specific language governing permissions
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# and limitations under the License.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# When distributing Covered Code, include this CDDL HEADER in each
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# If applicable, add the following below this CDDL HEADER, with the
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# CDDL HEADER END
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Use is subject to license terms.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# ident "%Z%%M% %I% %E% SMI"
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# This makefile drives the production of unix (and unix.o).
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# sun4u implementation architecture dependent
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Path to the base of the uts directory tree (usually /usr/src/uts).
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Define the module and object file sets.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync#UNIX_GLOM = $(OBJS_DIR)/unix.glom
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncGENOPTS = -L $(GENUNIX_DIR)/$(OBJS_DIR) -l $(GENUNIX)
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Include common rules.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# Define targets
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncINSTALL_TARGET = $(UNIX_BIN) $(ROOTMODULE) $(UNIX32_LINK)
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync# This is UNIX_DIR. Use a short path.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsyncCLEANFILES += $(UNIX_O) $(MODSTUBS_O) $(KRTLD_O) $(KRTLD_OBJECTS) \
$(DTRACESTUBS)
$(POST_PROCESS)
# Special rules for generating assym.h for inclusion in assembly files.
$(PLATLIB):
# The global lint target builds the kernel lint library (llib-lunix.ln)
# which is equivalent to a lint of /unix.o. Then all kernel modules for