Makefile revision 9da57d7b0ddd8d73b676ce12c040362132cdd538
341N/A#
341N/A# CDDL HEADER START
1064N/A#
341N/A# The contents of this file are subject to the terms of the
341N/A# Common Development and Distribution License (the "License").
919N/A# You may not use this file except in compliance with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
341N/A# Use is subject to license terms.
341N/A#
341N/A# ident "%Z%%M% %I% %E% SMI"
341N/A#
493N/A# uts/intel/ixgbe/Makefile
341N/A#
341N/A# This makefile drives the production of the ixgbe
1179N/A# network driver kernel module.
341N/A#
911N/A# intel architecture dependent
1179N/A#
1179N/A
1179N/A#
911N/A# Paths to the base of the uts directory trees
341N/A#
341N/AUTSBASE = ../..
341N/A
341N/A#
341N/A# Define the module and object file sets.
341N/A#
1179N/AMODULE = ixgbe
1233N/AOBJECTS = $(IXGBE_OBJS:%=$(OBJS_DIR)/%)
341N/ALINTS = $(IXGBE_OBJS:%.o=$(LINTS_DIR)/%.ln)
604N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
1179N/ACONF_SRCDIR = $(UTSBASE)/common/io/ixgbe
688N/A
688N/A#
688N/A# Include common rules.
688N/A#
1179N/Ainclude $(UTSBASE)/intel/Makefile.intel
1179N/A
1179N/A#
688N/A# Define targets
688N/A#
688N/AALL_TARGET = $(BINARY) $(CONFMOD)
688N/ALINT_TARGET = $(MODULE).lint
688N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
688N/A
688N/A#
688N/A# Driver depends on MAC & IP
688N/A#
688N/ALDFLAGS += -dy -N misc/mac -N drv/ip
688N/A
688N/A#
688N/A# Default build targets.
688N/A#
688N/A.KEEP_STATE:
688N/A
688N/Adef: $(DEF_DEPS)
688N/A
688N/Aall: $(ALL_DEPS)
688N/A
996N/Aclean: $(CLEAN_DEPS)
1179N/A
688N/Aclobber: $(CLOBBER_DEPS)
688N/A
688N/Alint: $(LINT_DEPS)
688N/A
688N/Amodlintlib: $(MODLINTLIB_DEPS)
688N/A
688N/Aclean.lint: $(CLEAN_LINT_DEPS)
688N/A
688N/Ainstall: $(INSTALL_DEPS)
688N/A
1146N/A#
688N/A# Include common targets.
688N/A#
688N/Ainclude $(UTSBASE)/intel/Makefile.targ
688N/A