Makefile revision ba2e4443695ee6a6f420a35cd4fc3d3346d22932
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# CDDL HEADER START
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# The contents of this file are subject to the terms of the
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# Common Development and Distribution License (the "License").
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# You may not use this file except in compliance with the License.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# or http://www.opensolaris.org/os/licensing.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# See the License for the specific language governing permissions
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# and limitations under the License.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# When distributing Covered Code, include this CDDL HEADER in each
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# If applicable, add the following below this CDDL HEADER, with the
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# fields enclosed by brackets "[]" replaced with your own identifying
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# information: Portions Copyright [yyyy] [name of copyright owner]
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# CDDL HEADER END
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# Use is subject to license terms.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#ident "%Z%%M% %I% %E% SMI"
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# This makefile drives the production of the mac_ether MAC-Type plugin
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# kernel module.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# Path to the base of the uts directory tree (usually /usr/src/uts).
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebUTSBASE = ../..
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# Define the module and object file sets.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebMODULE = mac_ether
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebOBJECTS = $(MAC_ETHER_OBJS:%=$(OBJS_DIR)/%)
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebLINTS = $(MAC_ETHER_OBJS:%.o=$(LINTS_DIR)/%.ln)
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE)
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# Include common rules.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebinclude $(UTSBASE)/intel/Makefile.intel
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# Define targets
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebALL_TARGET = $(BINARY)
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebLINT_TARGET = $(MODULE).lint
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# Overrides.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebCFLAGS += $(CCVERBOSE)
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebLDFLAGS += -dy -N misc/mac
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# Default build targets.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb.KEEP_STATE:
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebdef: $(DEF_DEPS)
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seball: $(ALL_DEPS)
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebclean: $(CLEAN_DEPS)
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebclobber: $(CLOBBER_DEPS)
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seblint: $(LINT_DEPS)
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebmodlintlib: $(MODLINTLIB_DEPS)
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebclean.lint: $(CLEAN_LINT_DEPS)
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebinstall: $(INSTALL_DEPS)
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb# Include common targets.
ba2e4443695ee6a6f420a35cd4fc3d3346d22932seb#
ba2e4443695ee6a6f420a35cd4fc3d3346d22932sebinclude $(UTSBASE)/intel/Makefile.targ