Makefile revision ae115bc77f6fcde83175c75b4206dc2e50747966
6588N/A#
6588N/A# CDDL HEADER START
6588N/A#
6588N/A# The contents of this file are subject to the terms of the
6588N/A# Common Development and Distribution License (the "License").
6588N/A# You may not use this file except in compliance with the License.
6588N/A#
6588N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6588N/A# or http://www.opensolaris.org/os/licensing.
6588N/A# See the License for the specific language governing permissions
6588N/A# and limitations under the License.
6588N/A#
6588N/A# When distributing Covered Code, include this CDDL HEADER in each
6588N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6588N/A# If applicable, add the following below this CDDL HEADER, with the
6588N/A# fields enclosed by brackets "[]" replaced with your own identifying
6588N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6588N/A#
6588N/A# CDDL HEADER END
6588N/A#
6588N/A#
6588N/A# uts/intel/dnet/Makefile
6588N/A#
6588N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
6588N/A# Use is subject to license terms.
6588N/A#
6588N/A#ident "%Z%%M% %I% %E% SMI"
6588N/A#
6588N/A# This makefile drives the production of the dnet
6588N/A# network driver kernel module.
6588N/A#
6588N/A# intel architecture dependent
6588N/A#
6588N/A
6588N/A#
6588N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
6588N/A#
6588N/AUTSBASE = ../..
6588N/A
6588N/A#
6588N/A# Define the module and object file sets.
6588N/A#
6588N/AMODULE = dnet
6588N/AOBJECTS = $(DNET_OBJS:%=$(OBJS_DIR)/%)
6588N/ALINTS = $(DNET_OBJS:%.o=$(LINTS_DIR)/%.ln)
6588N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
6588N/ACONF_SRCDIR = $(UTSBASE)/intel/io
6588N/A
6588N/A#
6588N/A# Include common rules.
6588N/A#
6588N/Ainclude $(UTSBASE)/intel/Makefile.intel
6588N/A
6588N/A#
6588N/A# Define targets
6588N/A#
6588N/AALL_TARGET = $(BINARY) $(CONFMOD)
6588N/ALINT_TARGET = $(MODULE).lint
6588N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
6588N/A
6588N/ADEBUG_FLGS =
6588N/A$(NOT_RELEASE_BUILD)DEBUG_DEFS += $(DEBUG_FLGS)
6588N/A
6588N/ACPPFLAGS += -DSUNDDI
6588N/A
6588N/A# Only build 32-bit version (until hat_getkfpnum() call is removed)
6588N/A# See PSARC 2004/405
6588N/ADEF_BUILDS = $(DEF_BUILDS32)
6588N/AALL_BUILDS = $(ALL_BUILDS32)
6588N/A
6588N/A#
6588N/A# For now, disable these lint checks; maintainers should endeavor
6588N/A# to investigate and remove these for maximum lint coverage.
6588N/A# Please do not carry these forward to new Makefiles.
6588N/A#
6588N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
6588N/ALINTTAGS += -erroff=E_STATIC_UNUSED
6588N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
6588N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
6588N/A
6588N/A#
6588N/A# Default build targets.
6588N/A#
6588N/A.KEEP_STATE:
6588N/A
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)/intel/Makefile.targ