Makefile revision adfcba552dfc70ff685a2e8703fe1761b244f3e8
d4ef65050feac78554addf6e16a06c6e2e0bd331Brian Wellington# CDDL HEADER START
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# The contents of this file are subject to the terms of the
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# Common Development and Distribution License (the "License").
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# You may not use this file except in compliance with the License.
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews# See the License for the specific language governing permissions
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# and limitations under the License.
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# When distributing Covered Code, include this CDDL HEADER in each
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# If applicable, add the following below this CDDL HEADER, with the
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# fields enclosed by brackets "[]" replaced with your own identifying
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# information: Portions Copyright [yyyy] [name of copyright owner]
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# CDDL HEADER END
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# Use is subject to license terms.
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# ident "%Z%%M% %I% %E% SMI"
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# This makefile drives the production of the Sun NIU
6211baaa66d7cac28a21b6426681e597ff04ca9eAndreas Gustafsson# 10G/1G Ethernet leaf driver kernel module.
c3a56b9ab3f7ddf433a9d22b6a4e9db42155be4bAndreas Gustafsson# Path to the base of the uts directory tree (usually /usr/src/uts).
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews# Define the module and object file sets.
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrews# Include common rules.
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrews# Override defaults to build a unique, local modstubs.o.
090ba6ff300ccb980e3adfa24f69251efe9db85dMark Andrews# Define targets
090ba6ff300ccb980e3adfa24f69251efe9db85dMark AndrewsINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
090ba6ff300ccb980e3adfa24f69251efe9db85dMark Andrews# Turn on doubleword alignment for 64 bit registers
090ba6ff300ccb980e3adfa24f69251efe9db85dMark Andrews# Include nxge specific header files
090ba6ff300ccb980e3adfa24f69251efe9db85dMark Andrews# lint pass one enforcement
090ba6ff300ccb980e3adfa24f69251efe9db85dMark Andrews#ALL_BUILDS = $(ALL_BUILDS64)
090ba6ff300ccb980e3adfa24f69251efe9db85dMark Andrews#DEF_BUILDS = $(DEF_BUILDS64)
090ba6ff300ccb980e3adfa24f69251efe9db85dMark Andrews#CLEANLINTFILES += $(LINT64_FILES)
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrews# STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews# force us to turn off these lint checks.
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews# Driver depends on mac & IP
b2b408e4ed56c94e49a4bd3202df546de00b15b0Mark Andrews# Default build targets.
230f8da57ce436687289c928c209a5b90979dbbaMark Andrews# Include common targets.