fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# CDDL HEADER START
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# The contents of this file are subject to the terms of the
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# Common Development and Distribution License (the "License").
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# You may not use this file except in compliance with the License.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# See the License for the specific language governing permissions
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# and limitations under the License.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# When distributing Covered Code, include this CDDL HEADER in each
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# If applicable, add the following below this CDDL HEADER, with the
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# fields enclosed by brackets "[]" replaced with your own identifying
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# information: Portions Copyright [yyyy] [name of copyright owner]
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# CDDL HEADER END
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# This makefile drives the production of the Sun
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# 10G hxge Ethernet leaf driver kernel module.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# Path to the base of the uts directory tree (usually /usr/src/uts).
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# Define the module and object file sets.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# Include common rules.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# Override defaults to build a unique, local modstubs.o.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# Define targets
fb379c70e3fd8a537f311b99be4759ae41e02750Peter MajorINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# Include hxge specific header files
5eaaede5c8fb884c6cdc5e18d79322de48ab69eaMark de Reeper# lint pass one enforcement
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# CFLAGS += -DHXGE_DEBUG -DHPI_DEBUG
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# STREAMS, DDI API limitations and other ON header file definitions such as ethernet.h
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# force us to turn off these lint checks.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# Driver depends on mac & IP
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# Default build targets.
fb379c70e3fd8a537f311b99be4759ae41e02750Peter Major# Include common targets.