Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
0N/A# The contents of this file are subject to the terms of the 0N/A# Common Development and Distribution License (the "License"). 0N/A# You may not use this file except in compliance with the License. 0N/A# See the License for the specific language governing permissions 0N/A# and limitations under the License. 0N/A# When distributing Covered Code, include this CDDL HEADER in each 0N/A# If applicable, add the following below this CDDL HEADER, with the 0N/A# fields enclosed by brackets "[]" replaced with your own identifying 0N/A# information: Portions Copyright [yyyy] [name of copyright owner] 2362N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 0N/A# Use is subject to license terms. 0N/A# This makefile drives the production of the N2 NIU 0N/A# 10G and SUN 10G/1G Ethernet leaf driver kernel module. 0N/A# sun4v implementation architecture dependent 0N/A# Path to the base of the uts directory tree (usually /usr/src/uts). 0N/A# Define the module and object file sets. 0N/A# Include common rules. 0N/A# Turn on doubleword alignment for 64 bit registers 0N/A# Include nxge specific header files 0N/A# lint pass one enforcement 0N/A# Enable the following flags to run mac internal loopback under legion 0N/A#CFLAGS += -DLEGION -DAXIS -DAXIS_DEBUG -DAXIS_DEBUG_LB -DSAM_DEBUG 0N/A# Enable the following flags to run mac internal loopback under AXIS 0N/A# (NOTE: LEGION flag can be enabled too) 0N/A#CFLAGS += -DAXIS_DEBUG -DAXIS -DAXIS_DEBUG_LB -DSAM_DEBUG -DLEGION 0N/A#CFLAGS += -DNXGE_DEBUG 0N/A#CFLAGS += -DNPI_DEBUG 0N/A#CFLAGS += -DUSE_RX_BUFF_ATTR 0N/A#CFLAGS += -DNIU_PA_WORKAROUND 0N/A#CFLAGS += -DNIU_HV_WORKAROUND 0N/A# STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h 0N/A# force us to turn off these lint checks. 0N/A# Driver depends on mac & IP 0N/A# Default build targets. 0N/A# Include common targets.