dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# CDDL HEADER START
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# The contents of this file are subject to the terms of the
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# Common Development and Distribution License (the "License").
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# You may not use this file except in compliance with the License.
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# See the License for the specific language governing permissions
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# and limitations under the License.
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# When distributing Covered Code, include this CDDL HEADER in each
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# If applicable, add the following below this CDDL HEADER, with the
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# fields enclosed by brackets "[]" replaced with your own identifying
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# information: Portions Copyright [yyyy] [name of copyright owner]
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# CDDL HEADER END
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# Use is subject to license terms.
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# Path to the base of the uts directory tree (usually /usr/src/uts).
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# Define the module and object file sets.
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# Include common rules.
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# Define targets
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# GENERAL PURPOUSE GEM FLAGS: Tuning GEM for Solaris specific modes
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh MisraCFGFLAGS = -DGEM_CONFIG_POLLING -DGEM_CONFIG_GLDv3 -DGEM_CONFIG_VLAN \
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra -DCONFIG_DP83815 -DCONFIG_SIS900 -DCONFIG_SIS7016 \
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra -DCONFIG_MAC_ADDR_SIS630E -DCONFIG_OPT_IO -UCONFIG_OO \
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# FAST PATH SECTION: Will activate usage of inlines as a regular functions
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# on fast data path
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh MisraCPPFLAGS += $(VFLAGS) $(AFLAGS) $(DFLAGS) $(CFGFLAGS) $(CCVERBOSE) \
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# Driver depends on MAC & IP
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# Default build targets.
dd52495f0d9ba8ff6d84921ec0500be837896554Saurabh Misra# Include common targets.