Makefile revision 14ea4bb737263733ad80a36b4f73f681c30a6b45
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#
# ident "%Z%%M% %I% %E% SMI"
#
# This makefile drives the production of the N2 NIU
# 10G Ethernet leaf driver kernel module.
#
# sun4v implementation architecture dependent
#
#
#
UTSBASE = ../..
#
# Define the module and object file sets.
#
#
# Include common rules.
#
#
# Override defaults to build a unique, local modstubs.o.
#
MODSTUBS_DIR = $(OBJS_DIR)
CLEANFILES += $(MODSTUBS_O)
#
# Define targets
#
ALL_TARGET = $(BINARY)
#
#
# Turn on doubleword alignment for 64 bit registers
#
#
# Include nxge specific header files
#
#
#
# lint pass one enforcement
#
# NEMO
#CFLAGS += -DNEMO
#
# Enable the following flags to run mac internal loopback under legion
#CFLAGS += -DLEGION -DAXIS -DAXIS_DEBUG -DAXIS_DEBUG_LB -DSAM_DEBUG
#
# Enable the following flags to run mac internal loopback under AXIS
# (NOTE: LEGION flag can be enabled too)
#CFLAGS += -DAXIS_DEBUG -DAXIS -DAXIS_DEBUG_LB -DSAM_DEBUG -DLEGION
#
# Enable NXGE debug
#CFLAGS += -DNXGE_DEBUG
# Enable NPI debug
#CFLAGS += -DNPI_DEBUG
#CFLAGS += -DNXGE_FM
#CFLAGS += -DUSE_RX_BUFF_ATTR
#CFLAGS += -DNIU_PA_WORKAROUND
#CFLAGS += -DNIU_HV_WORKAROUND
#
# STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
# force us to turn off these lint checks.
#
#
# Driver depends on mac & IP
#
#
# Default build targets.
#
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#