Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
257N/A#
257N/A# CDDL HEADER START
257N/A#
257N/A# The contents of this file are subject to the terms of the
257N/A# Common Development and Distribution License (the "License").
257N/A# You may not use this file except in compliance with the License.
257N/A#
257N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
257N/A# or http://www.opensolaris.org/os/licensing.
257N/A# See the License for the specific language governing permissions
257N/A# and limitations under the License.
257N/A#
257N/A# When distributing Covered Code, include this CDDL HEADER in each
257N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
257N/A# If applicable, add the following below this CDDL HEADER, with the
257N/A# fields enclosed by brackets "[]" replaced with your own identifying
257N/A# information: Portions Copyright [yyyy] [name of copyright owner]
257N/A#
257N/A# CDDL HEADER END
257N/A#
257N/A#
257N/A# uts/i86pc/rootnex/Makefile
5452N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
257N/A# Use is subject to license terms.
5680N/A#
257N/A#ident "%Z%%M% %I% %E% SMI"
257N/A#
257N/A# This makefile drives the production of the rootnex driver
257N/A#
844N/A# i86pc implementation architecture dependent
844N/A#
257N/A
257N/A#
257N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
2899N/A#
2899N/AUTSBASE = ../..
5680N/A
5680N/A#
257N/A# Define the module and object file sets.
257N/A#
257N/AMODULE = rootnex
257N/AOBJECTS = $(ROOTNEX_OBJS:%=$(OBJS_DIR)/%)
257N/ALINTS = $(ROOTNEX_OBJS:%.o=$(LINTS_DIR)/%.ln)
257N/AROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
257N/A
257N/A#
257N/A# Include common rules.
257N/A#
257N/Ainclude $(UTSBASE)/i86pc/Makefile.i86pc
257N/A
257N/A#
257N/A# Define targets
257N/A#
617N/AALL_TARGET = $(BINARY)
617N/ALINT_TARGET = $(MODULE).lint
617N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
1600N/A
617N/A#
3817N/A# Overrides.
3817N/A#
3817N/ALDFLAGS += -dy
5081N/A
3817N/A#
3817N/A# For now, disable these lint checks; maintainers should endeavor
3817N/A# to investigate and remove these for maximum lint coverage.
3817N/A# Please do not carry these forward to new Makefiles.
3817N/A#
4744N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
3817N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
3817N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
3817N/A
5452N/A#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(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)/i86pc/Makefile.targ