Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
970N/A# CDDL HEADER START
970N/A#
970N/A# The contents of this file are subject to the terms of the
970N/A# Common Development and Distribution License (the "License").
970N/A# You may not use this file except in compliance with the License.
970N/A#
970N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
970N/A# or http://www.opensolaris.org/os/licensing.
970N/A# See the License for the specific language governing permissions
970N/A# and limitations under the License.
970N/A#
970N/A# When distributing Covered Code, include this CDDL HEADER in each
970N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
970N/A# If applicable, add the following below this CDDL HEADER, with the
970N/A# fields enclosed by brackets "[]" replaced with your own identifying
970N/A# information: Portions Copyright [yyyy] [name of copyright owner]
970N/A#
970N/A# CDDL HEADER END
970N/A#
970N/A
970N/A#
970N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
970N/A# Use is subject to license terms.
970N/A#
970N/A# uts/sparc/cardbus/Makefile
970N/A#
970N/A#ident "%Z%%M% %I% %E% SMI"
970N/A#
970N/A# This makefile drives the production of the cardbus kernel module.
970N/A#
970N/A# sparc architecture dependent
970N/A#
970N/A
970N/A#
970N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
970N/A#
970N/AUTSBASE = ../..
970N/A
970N/A#
970N/A# Define the module and object file sets.
970N/A#
970N/AMODULE = cardbus
970N/AOBJECTS = $(CARDBUS_OBJS:%=$(OBJS_DIR)/%)
970N/ALINTS = $(CARDBUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
970N/AROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
970N/A
970N/A#
970N/A# Include common rules.
970N/A#
970N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
970N/A
970N/A#
970N/A# Define targets
970N/A#
970N/AALL_TARGET = $(BINARY)
970N/ALINT_TARGET = $(MODULE).lint
970N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
970N/A
970N/A#
970N/A# Include sun4u specific header files
970N/A#
970N/AINC_PATH += -I$(UTSBASE)/sun4u -I$(UTSBASE)/sun4
970N/A
970N/A#
970N/A# Overrides
970N/A#
970N/ADEF_BUILDS = $(DEF_BUILDS64)
970N/AALL_BUILDS = $(ALL_BUILDS64)
970N/ACLEANLINTFILES += $(LINT64_FILES)
970N/A
970N/A#
970N/A# lint pass one enforcement
970N/A#
970N/ACFLAGS += $(CCVERBOSE)
970N/A
970N/ACPPFLAGS += -DHOTPLUG
970N/A
970N/A# dependency
970N/ALDFLAGS += -dy -Nmisc/busra -Nmisc/pcmcia -Nmisc/hpcsvc
970N/A
970N/A#
970N/A# For now, disable these lint checks; maintainers should endeavor
970N/A# to investigate and remove these for maximum lint coverage.
970N/A# Please do not carry these forward to new Makefiles.
970N/A#
970N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
970N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
970N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
970N/ALINTTAGS += -erroff=E_STATIC_UNUSED
970N/ALINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
970N/A
970N/A#
970N/A# Default build targets.
970N/A#
970N/A.KEEP_STATE:
970N/A
970N/Adef: $(DEF_DEPS)
970N/A
970N/Aall: $(ALL_DEPS)
970N/A
970N/Aclean: $(CLEAN_DEPS)
970N/A
970N/Aclobber: $(CLOBBER_DEPS)
970N/A
970N/Alint: $(LINT_DEPS)
970N/A
970N/Amodlintlib: $(MODLINTLIB_DEPS) lint64
977N/A
970N/Aclean.lint: $(CLEAN_LINT_DEPS)
970N/A
970N/Ainstall: $(INSTALL_DEPS)
970N/A
970N/A# Include common targets.
970N/A#
970N/Ainclude $(UTSBASE)/sparc/Makefile.targ
970N/A