Makefile revision 5fc77b81fbb2d591a82c9778896a466ebc9928cd
335N/A#
335N/A# CDDL HEADER START
335N/A#
335N/A# The contents of this file are subject to the terms of the
335N/A# Common Development and Distribution License (the "License").
335N/A# You may not use this file except in compliance with the License.
335N/A#
335N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
335N/A# or http://www.opensolaris.org/os/licensing.
335N/A# See the License for the specific language governing permissions
335N/A# and limitations under the License.
335N/A#
335N/A# When distributing Covered Code, include this CDDL HEADER in each
335N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
335N/A# If applicable, add the following below this CDDL HEADER, with the
335N/A# fields enclosed by brackets "[]" replaced with your own identifying
335N/A# information: Portions Copyright [yyyy] [name of copyright owner]
335N/A#
335N/A# CDDL HEADER END
335N/A#
844N/A#
335N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
335N/A# Use is subject to license terms.
335N/A#
335N/A# uts/intel/ixgbe/Makefile
335N/A#
335N/A# This makefile drives the production of the ixgbe
335N/A# network driver kernel module.
844N/A#
844N/A# intel architecture dependent
335N/A#
618N/A
335N/A#
335N/A# Paths to the base of the uts directory trees
335N/A#
335N/AUTSBASE = ../..
335N/A
335N/A#
335N/A# Define the module and object file sets.
335N/A#
335N/AMODULE = ixgbe
335N/AOBJECTS = $(IXGBE_OBJS:%=$(OBJS_DIR)/%)
335N/ALINTS = $(IXGBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
335N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
335N/ACONF_SRCDIR = $(UTSBASE)/common/io/ixgbe
335N/A
335N/A#
335N/A# Include common rules.
335N/A#
335N/Ainclude $(UTSBASE)/intel/Makefile.intel
335N/A
335N/AINC_PATH += -I$(UTSBASE)/common/io/ixgbe
335N/AINC_PATH += -I$(UTSBASE)/common/io/ixgbe/core
335N/A
335N/ACERRWARN += -_gcc=-Wno-parentheses
335N/ACERRWARN += -_gcc=-Wno-switch
335N/ACERRWARN += -_gcc=-Wno-uninitialized
335N/A
335N/A#
335N/A# Define targets
335N/A#
335N/AALL_TARGET = $(BINARY) $(CONFMOD)
335N/ALINT_TARGET = $(MODULE).lint
335N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
335N/A
335N/A#
335N/A# Driver depends on MAC
335N/A#
335N/ALDFLAGS += -dy -N misc/mac
335N/A
335N/A#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ