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