5077N/A#
5077N/A# CDDL HEADER START
5077N/A#
5077N/A# The contents of this file are subject to the terms of the
5077N/A# Common Development and Distribution License (the "License").
5077N/A# You may not use this file except in compliance with the License.
5077N/A#
5077N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5077N/A# or http://www.opensolaris.org/os/licensing.
5077N/A# See the License for the specific language governing permissions
5077N/A# and limitations under the License.
5077N/A#
5077N/A# When distributing Covered Code, include this CDDL HEADER in each
5077N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5077N/A# If applicable, add the following below this CDDL HEADER, with the
5077N/A# fields enclosed by brackets "[]" replaced with your own identifying
5077N/A# information: Portions Copyright [yyyy] [name of copyright owner]
5077N/A#
5077N/A# CDDL HEADER END
5077N/A#
5077N/A#
5077N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
5077N/A# Use is subject to license terms.
5077N/A#
5077N/A#
5077N/A# This makefile drives the production of the Realtek
5077N/A# 8139 Ethernet (RTLS) driver module in intel systems
5077N/A#
5077N/A
5077N/A#
5077N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
5077N/A#
5077N/AUTSBASE = ../..
5077N/A
5077N/A#
5077N/A# Define the module and object file sets.
5077N/A#
5077N/AMODULE = rtls
5077N/AOBJECTS = $(RTLS_OBJS:%=$(OBJS_DIR)/%)
5077N/ALINTS = $(RTLS_OBJS:%.o=$(LINTS_DIR)/%.ln)
5077N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
5077N/A
5077N/A#
5077N/A# Include common rules.
5077N/A#
5077N/Ainclude $(UTSBASE)/intel/Makefile.intel
5077N/A
5077N/A#
5077N/A# Define targets
5077N/A#
5077N/AALL_TARGET = $(BINARY)
5077N/ALINT_TARGET = $(MODULE).lint
5077N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
5077N/A
5077N/A#
5077N/A# Overrides
5077N/A#
5077N/A
5077N/ACERRWARN += -_gcc=-Wno-uninitialized
5077N/A
5077N/A#
5077N/A# Driver depends on Mac
5077N/A#
5077N/ALDFLAGS += -dy -N misc/mac -N misc/mii
5077N/A
5077N/A#
5077N/A# Default build targets.
5077N/A#
5077N/A.KEEP_STATE:
5077N/A
5077N/Adef: $(DEF_DEPS)
5077N/A
5077N/Aall: $(ALL_DEPS)
5077N/A
5077N/Aclean: $(CLEAN_DEPS)
5077N/A
5077N/Aclobber: $(CLOBBER_DEPS)
5077N/A
5077N/Alint: $(LINT_DEPS)
5077N/A
5077N/Amodlintlib: $(MODLINTLIB_DEPS)
5077N/A
5077N/Aclean.lint: $(CLEAN_LINT_DEPS)
5077N/A
5077N/Ainstall: $(INSTALL_DEPS)
5077N/A
5077N/A#
5077N/A# Include common targets.
5077N/A#
5077N/Ainclude $(UTSBASE)/intel/Makefile.targ
5077N/A