550N/A#
550N/A# CDDL HEADER START
1356N/A#
550N/A# The contents of this file are subject to the terms of the
1515N/A# Common Development and Distribution License (the "License").
550N/A# You may not use this file except in compliance with the License.
550N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
919N/A#
919N/A# This makefile drives the production of the kernel component of
550N/A# the N-1 Solaris brand
550N/A#
550N/A
550N/A#
550N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
550N/A#
970N/AUTSBASE = ../..
977N/ASN1_BASE = $(UTSBASE)/common/brand/sn1
970N/A
970N/A#
1356N/A# Define the module and object file sets.
1356N/A#
1356N/AMODULE = sn1_brand
1356N/AOBJECTS = $(SN1_BRAND_OBJS:%=$(OBJS_DIR)/%)
1356N/ALINTS = $(SN1_BRAND_OBJS:%.o=$(LINTS_DIR)/%.ln)
1356N/AROOTMODULE = $(ROOT_PSM_BRAND_DIR)/$(MODULE)
1356N/A
1515N/A#
1356N/A# Include common rules.
550N/A#
550N/Ainclude $(UTSBASE)/sun4u/Makefile.sun4u
550N/A
550N/A#
550N/A# Define targets
550N/A#
550N/AALL_TARGET = $(BINARY)
1451N/ALINT_TARGET = $(MODULE).lint
550N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
550N/A
1466N/A#
1466N/A# Update compiler variables.
550N/A#
550N/AINC_PATH += -I$(SN1_BASE) -I$(OBJS_DIR)
550N/ALDFLAGS += -dy -Nexec/elfexec
1466N/A
1466N/A#
1466N/A# Default build targets.
1466N/A#
550N/A.KEEP_STATE:
970N/A
970N/Adef: $(DEF_DEPS)
970N/A
550N/Aall: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sun4u/Makefile.targ