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