Makefile revision 4a06b59fda34f7303b88d67fdeb46ddd0b74ddf0
1516N/A#
49N/A# CDDL HEADER START
49N/A#
49N/A# The contents of this file are subject to the terms of the
49N/A# Common Development and Distribution License (the "License").
49N/A# You may not use this file except in compliance with the License.
49N/A#
49N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
49N/A# or http://www.opensolaris.org/os/licensing.
49N/A# See the License for the specific language governing permissions
49N/A# and limitations under the License.
49N/A#
49N/A# When distributing Covered Code, include this CDDL HEADER in each
49N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
49N/A# If applicable, add the following below this CDDL HEADER, with the
49N/A# fields enclosed by brackets "[]" replaced with your own identifying
49N/A# information: Portions Copyright [yyyy] [name of copyright owner]
49N/A#
49N/A# CDDL HEADER END
49N/A#
49N/A#
49N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
49N/A# Use is subject to license terms.
873N/A#
49N/A#ident "%Z%%M% %I% %E% SMI"
49N/A#
49N/A# This makefile drives the production of the Broadcom BCM57xx
49N/A# Gigabit Ethernet (BGE) driver module in intel systems
49N/A#
49N/A
342N/A#
51N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
873N/A#
873N/AUTSBASE = ../..
95N/A
873N/A#
873N/A# Define the module and object file sets.
873N/A#
873N/AMODULE = bge
873N/AOBJECTS = $(BGE_OBJS:%=$(OBJS_DIR)/%)
51N/ALINTS = $(BGE_OBJS:%.o=$(LINTS_DIR)/%.ln)
289N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
1231N/ACONF_SRCDIR = $(UTSBASE)/common/io/bge
1281N/A
51N/A#
49N/A# Include common rules.
49N/A#
49N/Ainclude $(UTSBASE)/intel/Makefile.intel
49N/A
49N/A#
49N/A# Define targets
49N/A#
49N/AALL_TARGET = $(BINARY)
49N/ALINT_TARGET = $(MODULE).lint
72N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
51N/A
72N/A#
72N/A# Overrides
51N/A#
72N/A#
72N/A# For now, disable these lint checks; maintainers should endeavor
72N/A# to investigate and remove these for maximum lint coverage.
72N/A# Please do not carry these forward to new Makefiles.
72N/A#
72N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
51N/A
281N/A
315N/A#
315N/A# Driver depends on MAC
315N/A#
315N/ALDFLAGS += -dy -N misc/mac
315N/A
281N/A#
315N/A# Default build targets.
315N/A#
281N/A.KEEP_STATE:
315N/A
315N/Adef: $(DEF_DEPS)
315N/A
315N/Aall: $(ALL_DEPS)
315N/A
315N/Aclean: $(CLEAN_DEPS)
315N/A
315N/Aclobber: $(CLOBBER_DEPS)
315N/A
315N/Alint: $(LINT_DEPS)
315N/A
315N/Amodlintlib: $(MODLINTLIB_DEPS)
1423N/A
1423N/Aclean.lint: $(CLEAN_LINT_DEPS)
315N/A
315N/Ainstall: $(INSTALL_DEPS)
315N/A
315N/A#
315N/A# Include common targets.
281N/A#
49N/Ainclude $(UTSBASE)/intel/Makefile.targ
49N/A