Makefile revision 843e19887f64dde75055cf8842fc4db2171eff45
5398N/A#
5398N/A# CDDL HEADER START
5398N/A#
5398N/A# The contents of this file are subject to the terms of the
5398N/A# Common Development and Distribution License (the "License").
5398N/A# You may not use this file except in compliance with the License.
5398N/A#
5398N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5398N/A# or http://www.opensolaris.org/os/licensing.
5398N/A# See the License for the specific language governing permissions
5398N/A# and limitations under the License.
5398N/A#
5398N/A# When distributing Covered Code, include this CDDL HEADER in each
5398N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5398N/A# If applicable, add the following below this CDDL HEADER, with the
5398N/A# fields enclosed by brackets "[]" replaced with your own identifying
5398N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5398N/A#
5398N/A# CDDL HEADER END
5398N/A#
5398N/A
5398N/A#
5398N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
5398N/A# Use is subject to license terms.
5680N/A#
5680N/A# ident "%Z%%M% %I% %E% SMI"
5680N/A#
5680N/A# This makefile drives the production of the xnbe
5680N/A# network driver kernel module.
5398N/A#
5398N/A# i86xpv architecture dependent
5398N/A#
5559N/A
5398N/A#
5398N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
5559N/A#
5559N/AUTSBASE = ../..
5398N/A
5398N/A#
5559N/A# Define the module and object file sets.
5398N/A#
5680N/AMODULE = xnbe
5680N/AOBJECTS = $(XNBE_OBJS:%=$(OBJS_DIR)/%)
5398N/ALINTS = $(XNBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
5398N/AROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
5398N/A
5398N/A#
5398N/A# Include common rules.
5398N/A#
5398N/Ainclude $(UTSBASE)/i86xpv/Makefile.i86xpv
5398N/A
5398N/A#
5398N/A# Define targets
5398N/A#
5680N/AALL_TARGET = $(BINARY)
5680N/ALINT_TARGET = $(MODULE).lint
5680N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
5680N/A
5680N/A#
5680N/A# Driver depends on MAC and IP.
5680N/A#
5680N/A#LDFLAGS += -dy -N misc/mac -N drv/ip
5680N/A
5680N/A#
5398N/A# use Solaris specific code in xen public header files
5398N/A#
5680N/ACFLAGS += -D_SOLARIS
5398N/ALINTFLAGS += -D_SOLARIS
5398N/A
5398N/A#
5398N/A# Default build targets.
5398N/A#
5398N/A.KEEP_STATE:
5398N/A
5398N/Adef: $(DEF_DEPS)
5398N/A
5398N/Aall: $(ALL_DEPS)
5636N/A
5636N/Aclean: $(CLEAN_DEPS)
5398N/A
5398N/Aclobber: $(CLOBBER_DEPS)
5398N/A
5398N/Alint: $(LINT_DEPS)
5398N/A
5398N/Amodlintlib: $(MODLINTLIB_DEPS)
5398N/A
5398N/Aclean.lint: $(CLEAN_LINT_DEPS)
5398N/A
5398N/Ainstall: $(INSTALL_DEPS)
5398N/A
5398N/A#
5398N/A# Include common targets.
5398N/A#
5398N/Ainclude $(UTSBASE)/i86xpv/Makefile.targ
5398N/A