1*9da57d7bSbt150084# 2*9da57d7bSbt150084# CDDL HEADER START 3*9da57d7bSbt150084# 4*9da57d7bSbt150084# The contents of this file are subject to the terms of the 5*9da57d7bSbt150084# Common Development and Distribution License (the "License"). 6*9da57d7bSbt150084# You may not use this file except in compliance with the License. 7*9da57d7bSbt150084# 8*9da57d7bSbt150084# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*9da57d7bSbt150084# or http://www.opensolaris.org/os/licensing. 10*9da57d7bSbt150084# See the License for the specific language governing permissions 11*9da57d7bSbt150084# and limitations under the License. 12*9da57d7bSbt150084# 13*9da57d7bSbt150084# When distributing Covered Code, include this CDDL HEADER in each 14*9da57d7bSbt150084# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*9da57d7bSbt150084# If applicable, add the following below this CDDL HEADER, with the 16*9da57d7bSbt150084# fields enclosed by brackets "[]" replaced with your own identifying 17*9da57d7bSbt150084# information: Portions Copyright [yyyy] [name of copyright owner] 18*9da57d7bSbt150084# 19*9da57d7bSbt150084# CDDL HEADER END 20*9da57d7bSbt150084# 21*9da57d7bSbt150084# 22*9da57d7bSbt150084# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23*9da57d7bSbt150084# Use is subject to license terms. 24*9da57d7bSbt150084# 25*9da57d7bSbt150084# ident "%Z%%M% %I% %E% SMI" 26*9da57d7bSbt150084# 27*9da57d7bSbt150084# uts/intel/ixgbe/Makefile 28*9da57d7bSbt150084# 29*9da57d7bSbt150084# This makefile drives the production of the ixgbe 30*9da57d7bSbt150084# network driver kernel module. 31*9da57d7bSbt150084# 32*9da57d7bSbt150084# intel architecture dependent 33*9da57d7bSbt150084# 34*9da57d7bSbt150084 35*9da57d7bSbt150084# 36*9da57d7bSbt150084# Paths to the base of the uts directory trees 37*9da57d7bSbt150084# 38*9da57d7bSbt150084UTSBASE = ../.. 39*9da57d7bSbt150084 40*9da57d7bSbt150084# 41*9da57d7bSbt150084# Define the module and object file sets. 42*9da57d7bSbt150084# 43*9da57d7bSbt150084MODULE = ixgbe 44*9da57d7bSbt150084OBJECTS = $(IXGBE_OBJS:%=$(OBJS_DIR)/%) 45*9da57d7bSbt150084LINTS = $(IXGBE_OBJS:%.o=$(LINTS_DIR)/%.ln) 46*9da57d7bSbt150084ROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 47*9da57d7bSbt150084CONF_SRCDIR = $(UTSBASE)/common/io/ixgbe 48*9da57d7bSbt150084 49*9da57d7bSbt150084# 50*9da57d7bSbt150084# Include common rules. 51*9da57d7bSbt150084# 52*9da57d7bSbt150084include $(UTSBASE)/intel/Makefile.intel 53*9da57d7bSbt150084 54*9da57d7bSbt150084# 55*9da57d7bSbt150084# Define targets 56*9da57d7bSbt150084# 57*9da57d7bSbt150084ALL_TARGET = $(BINARY) $(CONFMOD) 58*9da57d7bSbt150084LINT_TARGET = $(MODULE).lint 59*9da57d7bSbt150084INSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 60*9da57d7bSbt150084 61*9da57d7bSbt150084# 62*9da57d7bSbt150084# Driver depends on MAC & IP 63*9da57d7bSbt150084# 64*9da57d7bSbt150084LDFLAGS += -dy -N misc/mac -N drv/ip 65*9da57d7bSbt150084 66*9da57d7bSbt150084# 67*9da57d7bSbt150084# Default build targets. 68*9da57d7bSbt150084# 69*9da57d7bSbt150084.KEEP_STATE: 70*9da57d7bSbt150084 71*9da57d7bSbt150084def: $(DEF_DEPS) 72*9da57d7bSbt150084 73*9da57d7bSbt150084all: $(ALL_DEPS) 74*9da57d7bSbt150084 75*9da57d7bSbt150084clean: $(CLEAN_DEPS) 76*9da57d7bSbt150084 77*9da57d7bSbt150084clobber: $(CLOBBER_DEPS) 78*9da57d7bSbt150084 79*9da57d7bSbt150084lint: $(LINT_DEPS) 80*9da57d7bSbt150084 81*9da57d7bSbt150084modlintlib: $(MODLINTLIB_DEPS) 82*9da57d7bSbt150084 83*9da57d7bSbt150084clean.lint: $(CLEAN_LINT_DEPS) 84*9da57d7bSbt150084 85*9da57d7bSbt150084install: $(INSTALL_DEPS) 86*9da57d7bSbt150084 87*9da57d7bSbt150084# 88*9da57d7bSbt150084# Include common targets. 89*9da57d7bSbt150084# 90*9da57d7bSbt150084include $(UTSBASE)/intel/Makefile.targ 91