Makefile revision 1ae0874509b6811fdde1dfd46f0d93fd09867a3f
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# CDDL HEADER START
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# The contents of this file are subject to the terms of the
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Common Development and Distribution License (the "License").
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# You may not use this file except in compliance with the License.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# See the License for the specific language governing permissions
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# and limitations under the License.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# When distributing Covered Code, include this CDDL HEADER in each
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# If applicable, add the following below this CDDL HEADER, with the
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# fields enclosed by brackets "[]" replaced with your own identifying
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# information: Portions Copyright [yyyy] [name of copyright owner]
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# CDDL HEADER END
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Use is subject to license terms.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo#pragma ident "%Z%%M% %I% %E% SMI"
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# This makefile drives the production of the vnet driver module.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# sun4v implementation architecture dependent
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Path to the base of the uts directory tree (usually /usr/src/uts).
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Define the module and object file sets.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Include common rules.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Override defaults to build a unique, local modstubs.o.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Define targets
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# lint pass one enforcement
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo#CFLAGS += -DVGEN_USE_MAC_TX_UPDATE
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo#CFLAGS += -DVGEN_REXMIT
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Driver depends on MAC & IP
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppoLDFLAGS += -dy -N misc/mac -N drv/ip -N misc/ldc -N misc/platsvc
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Default build targets.
1ae0874509b6811fdde1dfd46f0d93fd09867a3fheppo# Include common targets.