75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh# CDDL HEADER START
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh# The contents of this file are subject to the terms of the
75ab5f91d942eea4138efe4799ca0589870c3899lh# Common Development and Distribution License (the "License").
75ab5f91d942eea4138efe4799ca0589870c3899lh# You may not use this file except in compliance with the License.
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
75ab5f91d942eea4138efe4799ca0589870c3899lh# or http://www.opensolaris.org/os/licensing.
75ab5f91d942eea4138efe4799ca0589870c3899lh# See the License for the specific language governing permissions
75ab5f91d942eea4138efe4799ca0589870c3899lh# and limitations under the License.
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh# When distributing Covered Code, include this CDDL HEADER in each
75ab5f91d942eea4138efe4799ca0589870c3899lh# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
75ab5f91d942eea4138efe4799ca0589870c3899lh# If applicable, add the following below this CDDL HEADER, with the
75ab5f91d942eea4138efe4799ca0589870c3899lh# fields enclosed by brackets "[]" replaced with your own identifying
75ab5f91d942eea4138efe4799ca0589870c3899lh# information: Portions Copyright [yyyy] [name of copyright owner]
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh# CDDL HEADER END
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh#
22eb7cb54d8a6bcf6fe2674cb4b1f0cf2d85cfb6gd# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
75ab5f91d942eea4138efe4799ca0589870c3899lh# Use is subject to license terms.
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh# ident "%Z%%M% %I% %E% SMI"
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh# This makefile drives the production of the AMD8111
75ab5f91d942eea4138efe4799ca0589870c3899lh# Fast Ethernet (amd8111s) driver module in intel systems
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh# Path to the base of the uts directory tree (usually /usr/src/uts).
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lhUTSBASE = ../..
75ab5f91d942eea4138efe4799ca0589870c3899lh
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh# Define the module and object file sets.
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lhMODULE = amd8111s
75ab5f91d942eea4138efe4799ca0589870c3899lhOBJECTS = $(AMD8111S_OBJS:%=$(OBJS_DIR)/%)
75ab5f91d942eea4138efe4799ca0589870c3899lhLINTS = $(AMD8111S_OBJS:%.o=$(LINTS_DIR)/%.ln)
75ab5f91d942eea4138efe4799ca0589870c3899lhROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
75ab5f91d942eea4138efe4799ca0589870c3899lh
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh# Include common rules.
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lhinclude $(UTSBASE)/intel/Makefile.intel
75ab5f91d942eea4138efe4799ca0589870c3899lh
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh# Define targets
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lhALL_TARGET = $(BINARY)
75ab5f91d942eea4138efe4799ca0589870c3899lhLINT_TARGET = $(MODULE).lint
75ab5f91d942eea4138efe4799ca0589870c3899lhINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
75ab5f91d942eea4138efe4799ca0589870c3899lh
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh# Overrides
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh
75ab5f91d942eea4138efe4799ca0589870c3899lh#
22eb7cb54d8a6bcf6fe2674cb4b1f0cf2d85cfb6gd# Driver depends on GLDv3
75ab5f91d942eea4138efe4799ca0589870c3899lh#
22eb7cb54d8a6bcf6fe2674cb4b1f0cf2d85cfb6gdLDFLAGS += -dy -N misc/mac
75ab5f91d942eea4138efe4799ca0589870c3899lh
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh# Default build targets.
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh.KEEP_STATE:
75ab5f91d942eea4138efe4799ca0589870c3899lh
75ab5f91d942eea4138efe4799ca0589870c3899lhdef: $(DEF_DEPS)
75ab5f91d942eea4138efe4799ca0589870c3899lh
75ab5f91d942eea4138efe4799ca0589870c3899lhall: $(ALL_DEPS)
75ab5f91d942eea4138efe4799ca0589870c3899lh
75ab5f91d942eea4138efe4799ca0589870c3899lhclean: $(CLEAN_DEPS)
75ab5f91d942eea4138efe4799ca0589870c3899lh
75ab5f91d942eea4138efe4799ca0589870c3899lhclobber: $(CLOBBER_DEPS)
75ab5f91d942eea4138efe4799ca0589870c3899lh
75ab5f91d942eea4138efe4799ca0589870c3899lhlint: $(LINT_DEPS)
75ab5f91d942eea4138efe4799ca0589870c3899lh
75ab5f91d942eea4138efe4799ca0589870c3899lhmodlintlib: $(MODLINTLIB_DEPS)
75ab5f91d942eea4138efe4799ca0589870c3899lh
75ab5f91d942eea4138efe4799ca0589870c3899lhclean.lint: $(CLEAN_LINT_DEPS)
75ab5f91d942eea4138efe4799ca0589870c3899lh
75ab5f91d942eea4138efe4799ca0589870c3899lhinstall: $(INSTALL_DEPS)
75ab5f91d942eea4138efe4799ca0589870c3899lh
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lh# Include common targets.
75ab5f91d942eea4138efe4799ca0589870c3899lh#
75ab5f91d942eea4138efe4799ca0589870c3899lhinclude $(UTSBASE)/intel/Makefile.targ