Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
c63ebf815c8a874525cf18670ad74847f7fc7b26Christian Maeder# CDDL HEADER START
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# The contents of this file are subject to the terms of the
456238178f89e5a3de2988ee6c8af924297d52d9Christian Maeder# Common Development and Distribution License (the "License").
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# You may not use this file except in compliance with the License.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
43b4c41fbb07705c9df321221ab9cb9832460407Christian Maeder# or http://www.opensolaris.org/os/licensing.
5191fa24c532d1f67e7a642e9aece65efb8a0975Christian Maeder# See the License for the specific language governing permissions
f4a2a20e49f41b2afa657e5e64d9e349c7faa091Christian Maeder# and limitations under the License.
c9a7e6af169a2adfb92f42331cd578065ed83a2bChristian Maeder# When distributing Covered Code, include this CDDL HEADER in each
c9a7e6af169a2adfb92f42331cd578065ed83a2bChristian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
e7757995211bd395dc79d26fe017d99375f7d2a6Christian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
a1ed34933c266ce85066acb0d7b20c90cb8eb213Christian Maeder# CDDL HEADER END
ad270004874ce1d0697fb30d7309f180553bb315Christian Maeder# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
4cb215739e9ab13447fa21162482ebe485b47455Christian Maeder# This makefile drives the production of the Sun
8ef75f1cc0437656bf622cec5ac9e8ea221da8f2Christian Maeder# 10G hxge Ethernet leaf driver kernel module.
74eed04be26f549d2f7ca35c370e1c03879b28b1Christian Maeder# Path to the base of the uts directory tree (usually /usr/src/uts).
ef9e8535c168d3f774d9e74368a2317a9eda5826Christian Maeder# Define the module and object file sets.
63f0e65a37b95621334db9ee4ba0cd9d826f5c0fChristian MaederHXGE_OBJECTS = $(HXGE_OBJS) $(HXGE_HPI_OBJS)
7cc09dd93962a2155c34d209d1d4cd7d7b838264Christian MaederLINTS = $(HXGE_OBJECTS:%.o=$(LINTS_DIR)/%.ln)
7cc09dd93962a2155c34d209d1d4cd7d7b838264Christian Maeder# Include common rules.
dcbd32289a7bdf1e6edd06c6ab0698c6a9dbf37aChristian Maeder# Override defaults to build a unique, local modstubs.o.
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian Maeder# Define targets
8b767d09a78927b111f5596fdff9ca7d2c1a439fChristian MaederINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
d54cd08a4cfa26256c38d8ed12c343adbfe1a0e3Christian Maeder# Include hxge specific header files
a7c27282e71cf4505026645f96d4f5cb8a284e32Christian Maeder# lint pass one enforcement
431d34c7007a787331c4e5ec997badb0f8190fc7Christian Maeder# CFLAGS += -DHXGE_DEBUG -DHPI_DEBUG
6dc9bc98d0854fe2e3dd3bfc4275096a0c28ee1cChristian Maeder# STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
6dc9bc98d0854fe2e3dd3bfc4275096a0c28ee1cChristian Maeder# force us to turn off these lint checks.
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# Driver depends on mac & IP
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# Default build targets.
6a79849bed67264c396dddb3e9c184bdfc1a1bc9Christian Maeder# Include common targets.