Makefile revision 22eb7cb54d8a6bcf6fe2674cb4b1f0cf2d85cfb6
303N/A#
303N/A# CDDL HEADER START
303N/A#
303N/A# The contents of this file are subject to the terms of the
303N/A# Common Development and Distribution License (the "License").
303N/A# You may not use this file except in compliance with the License.
303N/A#
303N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
303N/A# or http://www.opensolaris.org/os/licensing.
303N/A# See the License for the specific language governing permissions
303N/A# and limitations under the License.
303N/A#
303N/A# When distributing Covered Code, include this CDDL HEADER in each
303N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
303N/A# If applicable, add the following below this CDDL HEADER, with the
303N/A# fields enclosed by brackets "[]" replaced with your own identifying
303N/A# information: Portions Copyright [yyyy] [name of copyright owner]
303N/A#
303N/A# CDDL HEADER END
303N/A#
844N/A#
303N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
303N/A# Use is subject to license terms.
303N/A#
303N/A#ident "%Z%%M% %I% %E% SMI"
303N/A#
303N/A# This makefile drives the production of the Realtek
303N/A# Gigabit Ethernet (RGE) driver module in sparc systems
303N/A#
303N/A
303N/A#
844N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
844N/A#
303N/AUTSBASE = ../..
303N/A
303N/A#
303N/A# Define the module and object file sets.
303N/A#
303N/AMODULE = rge
303N/AOBJECTS = $(RGE_OBJS:%=$(OBJS_DIR)/%)
303N/ALINTS = $(RGE_OBJS:%.o=$(LINTS_DIR)/%.ln)
303N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
303N/A
303N/A#
303N/A# Include common rules.
303N/A#
303N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
303N/A
303N/A#
303N/A# Define targets
303N/A#
303N/AALL_TARGET = $(BINARY)
303N/ALINT_TARGET = $(MODULE).lint
303N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
303N/A
303N/A#
303N/A# lint pass one enforcement
303N/A#
303N/ACFLAGS += $(CCVERBOSE)
303N/A
303N/A#
303N/A# Turn on doubleword alignment for 64 bit registers
303N/A#
303N/ACFLAGS += -dalign
303N/A
303N/A#
303N/A# Driver depends on MAC & IP
303N/A#
303N/ALDFLAGS += -dy -N misc/mac -N drv/ip
303N/A
303N/A#
303N/A# For now, disable these lint checks; maintainers should endeavor
303N/A# to investigate and remove these for maximum lint coverage.
303N/A# Please do not carry these forward to new Makefiles.
303N/A#
303N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
303N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
303N/ALINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
303N/A
303N/A#
303N/A# Default build targets.
303N/A#
303N/A.KEEP_STATE:
303N/A
303N/Adef: $(DEF_DEPS)
303N/A
303N/Aall: $(ALL_DEPS)
303N/A
303N/Aclean: $(CLEAN_DEPS)
303N/A
303N/Aclobber: $(CLOBBER_DEPS)
303N/A
303N/Alint: $(LINT_DEPS)
303N/A
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sparc/Makefile.targ