Makefile revision 3f7d54a6b84904c8f4d8daa4c7b577bede7df8b9
1707N/A#
1707N/A# CDDL HEADER START
1707N/A#
1707N/A# The contents of this file are subject to the terms of the
1707N/A# Common Development and Distribution License (the "License").
1707N/A# You may not use this file except in compliance with the License.
1707N/A#
1707N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1707N/A# or http://www.opensolaris.org/os/licensing.
1707N/A# See the License for the specific language governing permissions
1707N/A# and limitations under the License.
1707N/A#
1707N/A# When distributing Covered Code, include this CDDL HEADER in each
1707N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1707N/A# If applicable, add the following below this CDDL HEADER, with the
1707N/A# fields enclosed by brackets "[]" replaced with your own identifying
1707N/A# information: Portions Copyright [yyyy] [name of copyright owner]
1707N/A#
1707N/A# CDDL HEADER END
1707N/A#
1707N/A
1707N/A#
1707N/A# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
1707N/A#
1707N/A
1707N/A#
1707N/A# uts/intel/sda/Makefile
1707N/A#
1707N/A# This makefile drives the production of the sda "misc"
1707N/A# kernel module.
1707N/A#
1707N/A# intel architecture dependent
1707N/A#
1707N/A
1707N/A#
1707N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
1707N/A#
1707N/AUTSBASE = ../..
1707N/A
1707N/A#
1707N/A# Define the module and object file sets.
1707N/A#
1707N/AMODULE = sda
1707N/AOBJECTS = $(SDA_OBJS:%=$(OBJS_DIR)/%)
1707N/ALINTS = $(SDA_OBJS:%.o=$(LINTS_DIR)/%.ln)
1707N/AROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
1707N/A
1707N/A#
1707N/A# Include common rules.
1707N/A#
1707N/Ainclude $(UTSBASE)/intel/Makefile.intel
1707N/A
1707N/A#
1707N/A# Define targets
1707N/A#
1707N/AALL_TARGET = $(BINARY)
1707N/ALINT_TARGET = $(MODULE).lint
1707N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
1707N/A
1707N/A#
1707N/A# Overrides.
1707N/A#
1707N/ADEBUG_FLGS =
1707N/ADEBUG_DEFS += $(DEBUG_FLGS)
1707N/A
1707N/A#
1707N/A# lint pass one enforcement
1707N/A#
1707N/ACFLAGS += $(CCVERBOSE)
1707N/A
1707N/A#
1707N/A# dependency on blkdev module, scope limiting mapfile
1707N/A# Note that we have to allow CTFMERGE to use fuzzy matching
1707N/A#
1707N/AMAPFILE = $(UTSBASE)/common/io/sdcard/impl/mapfile
1707N/ALDFLAGS += -dy -Ndrv/blkdev -B reduce -M $(MAPFILE)
1707N/ACTFMRGFLAGS += -f
1707N/A
1707N/A#
1707N/A# Default build targets.
1707N/A#
1707N/A.KEEP_STATE:
1707N/A
1707N/Adef: $(DEF_DEPS)
1707N/A
1707N/Aall: $(ALL_DEPS)
1707N/A
1707N/Aclean: $(CLEAN_DEPS)
1707N/A
1707N/Aclobber: $(CLOBBER_DEPS)
1707N/A
1707N/Alint: $(LINT_DEPS)
1707N/A
1707N/Amodlintlib: $(MODLINTLIB_DEPS)
1707N/A
1707N/Aclean.lint: $(CLEAN_LINT_DEPS)
1707N/A
1707N/Ainstall: $(INSTALL_DEPS)
1707N/A
1707N/A#
1707N/A# Include common targets.
1707N/A#
1707N/Ainclude $(UTSBASE)/intel/Makefile.targ
1707N/A