Makefile revision 310da939904e5e37a19c8a427209c0d4d9683ec8
10139N/A#
10139N/A# CDDL HEADER START
10139N/A#
12147N/A# The contents of this file are subject to the terms of the
10139N/A# Common Development and Distribution License (the "License").
10139N/A# You may not use this file except in compliance with the License.
10139N/A#
10139N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10139N/A# or http://www.opensolaris.org/os/licensing.
10139N/A# See the License for the specific language governing permissions
10139N/A# and limitations under the License.
10139N/A#
10139N/A# When distributing Covered Code, include this CDDL HEADER in each
13426N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
10139N/A# If applicable, add the following below this CDDL HEADER, with the
10139N/A# fields enclosed by brackets "[]" replaced with your own identifying
10139N/A# information: Portions Copyright [yyyy] [name of copyright owner]
10139N/A#
13260N/A# CDDL HEADER END
10159N/A#
12094N/A#
12773N/A# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
12773N/A#
12773N/A
10139N/A#
10139N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
10139N/A#
10139N/AUTSBASE = ../..
10139N/A
10139N/A#
10139N/A# Define the module and object file sets.
10139N/A#
10139N/AMODULE = myri10ge
10139N/A
10139N/AOBJECTS += $(MYRI10GE_OBJS:%=$(OBJS_DIR)/%)
10139N/A
10139N/ALINTS += $(MYRI10GE_OBJS:%.o=$(LINTS_DIR)/%.ln)
10139N/A
10139N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
10139N/A
10139N/A#
10139N/A# Include common rules.
10139N/A#
10139N/Ainclude $(UTSBASE)/intel/Makefile.intel
10139N/A
10139N/A#
10139N/A# Define targets
10139N/A#
10139N/AALL_TARGET = $(BINARY)
10139N/ALINT_TARGET = $(MODULE).lint
10139N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
10139N/A
10139N/A#
10139N/A# Overrides
10139N/A#
10139N/ALINTTAGS += -DSOLARIS_S11 -erroff=E_STATIC_UNUSED
10139N/A
10139N/A#COPTIMIZE = -xO4
10139N/A
10139N/AINC_PATH += -I$(UTSBASE)/common/io/myri10ge -I$(UTSBASE)/common/io/myri10ge/firmware
10139N/A
12094N/ACFLAGS += -DSOLARIS_S11
12754N/A
10159N/A#
10139N/A# Driver depends on MAC
10139N/A#
10139N/ALDFLAGS += -dy -N misc/mac -N drv/ip
10139N/A
10139N/A#
10139N/A# Default build targets.
10139N/A#
10139N/A.KEEP_STATE:
10139N/A
10139N/Adef: $(DEF_DEPS)
10139N/A
10139N/Aall: $(ALL_DEPS)
10139N/A
10139N/Aclean: $(CLEAN_DEPS)
10139N/A
10139N/Aclobber: $(CLOBBER_DEPS)
10139N/A
10139N/Alint: $(LINT_DEPS)
10139N/A
10139N/Amodlintlib: $(MODLINTLIB_DEPS)
11149N/A
12773N/Aclean.lint: $(CLEAN_LINT_DEPS)
12773N/A
12773N/Ainstall: $(INSTALL_DEPS)
12773N/A
12773N/A#
10139N/A# Include common targets.
10139N/A#
10139N/Ainclude $(UTSBASE)/intel/Makefile.targ
10139N/A