Makefile revision 49b7860084dbba18bc00b29413d6182197f9fe93
9460N/A#
9460N/A# CDDL HEADER START
9460N/A#
9460N/A# The contents of this file are subject to the terms of the
9460N/A# Common Development and Distribution License (the "License").
9460N/A# You may not use this file except in compliance with the License.
9460N/A#
9479N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9460N/A# or http://www.opensolaris.org/os/licensing.
9460N/A# See the License for the specific language governing permissions
9460N/A# and limitations under the License.
9460N/A#
9460N/A# When distributing Covered Code, include this CDDL HEADER in each
9460N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9460N/A# If applicable, add the following below this CDDL HEADER, with the
9460N/A# fields enclosed by brackets "[]" replaced with your own identifying
9460N/A# information: Portions Copyright [yyyy] [name of copyright owner]
9460N/A#
9460N/A# CDDL HEADER END
9460N/A#
9460N/A#
9460N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
9460N/A# Use is subject to license terms.
9460N/A#
9460N/A# uts/intel/e1000g/Makefile
9460N/A#
9460N/A# This makefile drives the production of the iprb
9460N/A# network driver kernel module.
9460N/A#
9460N/A# intel architecture dependent
9460N/A#
9460N/A
9466N/A#
9460N/A# Paths to the base of the uts directory trees
9460N/A#
9460N/AUTSBASE = ../..
9460N/A
9460N/A#
9460N/A# Define the module and object file sets.
9460N/A#
9460N/AMODULE = e1000g
9460N/AOBJECTS = $(E1000G_OBJS:%=$(OBJS_DIR)/%)
9460N/AOBJECTS += $(E1000API_OBJS:%=$(OBJS_DIR)/%)
9460N/ALINTS = $(E1000G_OBJS:%.o=$(LINTS_DIR)/%.ln)
9460N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
9460N/ACONF_SRCDIR = $(UTSBASE)/common/io/e1000g
9460N/A
9460N/A#
9460N/A# Include common rules.
9460N/A#
9460N/Ainclude $(UTSBASE)/intel/Makefile.intel
9460N/A
9460N/ACFLAGS += -D_KERNEL -Di386 -DNEWSTAT -DNOMUT -DRCVWORKAROUND \
9460N/A -DINTEL_IP \
9479N/A -DPAXSON -DBAY_CITY \
9464N/A -DTANAX_WORKAROUND -I$(UTSBASE)/common/io/e1000g \
10931N/A -I$(UTSBASE)/common/io/e1000api
9460N/A
9460N/ALINTFLAGS += \
9460N/A -I$(UTSBASE)/common/io/e1000g \
9460N/A -I$(UTSBASE)/common/io/e1000api
9460N/A
9460N/ACFLAGS_CPP_COMMENTS = -xCC
9460N/A
9460N/ACFLAGS += $(CFLAGS_CPP_COMMENTS)
9460N/A
9460N/ACERRWARN += -_gcc=-Wno-uninitialized
9460N/ACERRWARN += -_gcc=-Wno-parentheses
9460N/ACERRWARN += -_gcc=-Wno-switch
9460N/ACERRWARN += -_gcc=-Wno-unused-label
9460N/ACERRWARN += -_gcc=-Wno-unused-variable
9460N/ACERRWARN += -_cc=-erroff=E_STATEMENT_NOT_REACHED
9460N/A
9460N/ALINTTAGS += -erroff=E_CONSTANT_CONDITION
9460N/A
9460N/A#
9460N/A# Define targets
9460N/A#
9460N/AALL_TARGET = $(BINARY) $(CONFMOD)
9460N/ALINT_TARGET = $(MODULE).lint
9460N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
9460N/A
9460N/A#
9460N/A# Driver depends on MAC
9460N/A#
9460N/ALDFLAGS += -dy -N misc/mac
9460N/A
9460N/A#
9460N/A# Default build targets.
9460N/A#
9460N/A.KEEP_STATE:
9460N/A
9460N/Adef: $(DEF_DEPS)
9460N/A
9460N/Aall: $(ALL_DEPS)
9460N/A
9460N/Aclean: $(CLEAN_DEPS)
9460N/A
9460N/Aclobber: $(CLOBBER_DEPS)
9460N/A
9460N/A
9460N/Alint: $(LINT_DEPS)
9460N/A
9460N/Amodlintlib: $(MODLINTLIB_DEPS)
9460N/A
9460N/Aclean.lint: $(CLEAN_LINT_DEPS)
9460N/A
9460N/Ainstall: $(INSTALL_DEPS)
9460N/A
9460N/A#
9460N/A# Include common targets.
9460N/A#
9460N/Ainclude $(UTSBASE)/intel/Makefile.targ
9460N/A