Makefile revision 3db86aab554edbb4244c8d1a1c90f152eee768af
6399N/A#
6399N/A# CDDL HEADER START
6399N/A#
6399N/A# The contents of this file are subject to the terms of the
6399N/A# Common Development and Distribution License, Version 1.0 only
6399N/A# (the "License"). You may not use this file except in compliance
6399N/A# with the License.
6399N/A#
6399N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6399N/A# or http://www.opensolaris.org/os/licensing.
6399N/A# See the License for the specific language governing permissions
6399N/A# and limitations under the License.
6399N/A#
6399N/A# When distributing Covered Code, include this CDDL HEADER in each
6399N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6399N/A# If applicable, add the following below this CDDL HEADER, with the
6399N/A# fields enclosed by brackets "[]" replaced with your own identifying
6399N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6399N/A#
6399N/A# CDDL HEADER END
6399N/A#
6399N/A#
6399N/A# uts/sparc/socal/Makefile
6399N/A
6399N/A#
6399N/A# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
6399N/A# Use is subject to license terms.
6399N/A#
6399N/A
6399N/A#ident "%Z%%M% %I% %E% SMI"
6399N/A
6399N/A#
6399N/A# This makefile drives the production of the socal driver kernel
6399N/A# module, which is used for the Photon/FC-AL product
6399N/A#
6399N/A# sparc architecture dependent
6399N/A#
6399N/A
6399N/A#
6399N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
6399N/A#
6399N/AUTSCLOSED = ../..
6399N/AUTSBASE = ../../../../src/uts
6399N/A
6399N/A#
6995N/A# Define the module and object file sets.
6399N/A#
6399N/AMODULE = socal
6399N/AOBJECTS = $(SOCAL_OBJS:%=$(OBJS_DIR)/%)
6399N/ALINTS = $(SOCAL_OBJS:%.o=$(LINTS_DIR)/%.ln)
6399N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
6399N/A
6399N/A#
6399N/A# Include common rules.
6399N/A#
6399N/Ainclude $(UTSCLOSED)/sparc/Makefile.sparc
6399N/A
6399N/A#
6399N/A# Define targets
6399N/A#
6399N/AALL_TARGET = $(BINARY)
6995N/ALINT_TARGET = $(MODULE).lint
6399N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
6995N/A
6995N/A#
6995N/A# Overrides
6995N/A#
6995N/ACFLAGS += $(CCVERBOSE) -dalign
6995N/A
6995N/A#
6995N/A# Default build targets.
6995N/A#
6995N/A.KEEP_STATE:
6995N/A
6995N/Aall: $(ALL_DEPS)
6995N/A
6399N/Adef: $(DEF_DEPS)
6399N/A
6399N/Aclean: $(CLEAN_DEPS)
6399N/A
6399N/Aclobber: $(CLOBBER_DEPS)
6399N/A
6399N/Alint: $(LINT_DEPS)
6399N/A
6399N/Amodlintlib: $(MODLINTLIB_DEPS)
6399N/A
6399N/Aclean.lint: $(CLEAN_LINT_DEPS)
6399N/A
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSCLOSED)/sparc/Makefile.targ
browser: $(BINARY)
browser := CFLAGS += -xsb