Makefile revision 22eb7cb54d8a6bcf6fe2674cb4b1f0cf2d85cfb6
213N/A#
213N/A# CDDL HEADER START
213N/A#
213N/A# The contents of this file are subject to the terms of the
213N/A# Common Development and Distribution License (the "License").
213N/A# You may not use this file except in compliance with the License.
213N/A#
213N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
213N/A# or http://www.opensolaris.org/os/licensing.
213N/A# See the License for the specific language governing permissions
213N/A# and limitations under the License.
213N/A#
213N/A# When distributing Covered Code, include this CDDL HEADER in each
213N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
213N/A# If applicable, add the following below this CDDL HEADER, with the
213N/A# fields enclosed by brackets "[]" replaced with your own identifying
213N/A# information: Portions Copyright [yyyy] [name of copyright owner]
213N/A#
213N/A# CDDL HEADER END
213N/A#
213N/A#
213N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2899N/A# Use is subject to license terms.
213N/A#
213N/A#ident "%Z%%M% %I% %E% SMI"
213N/A#
213N/A#
213N/A# This makefile drives the production of the mac_ether MAC-Type plugin
1768N/A# kernel module.
213N/A#
213N/A
844N/A#
1768N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
213N/A#
1768N/AUTSBASE = ../..
1258N/A
213N/A#
2899N/A# Define the module and object file sets.
2899N/A#
213N/AMODULE = mac_ether
213N/AOBJECTS = $(MAC_ETHER_OBJS:%=$(OBJS_DIR)/%)
213N/ALINTS = $(MAC_ETHER_OBJS:%.o=$(LINTS_DIR)/%.ln)
213N/AROOTMODULE = $(ROOT_MAC_DIR)/$(MODULE)
213N/A
213N/A#
213N/A# Include common rules.
1768N/A#
1768N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
1768N/A
1768N/A#
213N/A# Define targets
1768N/A#
1768N/AALL_TARGET = $(BINARY)
1768N/ALINT_TARGET = $(MODULE).lint
1768N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
1768N/A
1768N/A#
1768N/A# Overrides.
213N/A#
1768N/ACFLAGS += $(CCVERBOSE)
1768N/ALDFLAGS += -dy -N misc/mac
1768N/A
1768N/A#
1768N/A# Default build targets.
1768N/A#
213N/A.KEEP_STATE:
1422N/A
1422N/Adef: $(DEF_DEPS)
1422N/A
213N/Aall: $(ALL_DEPS)
1768N/A
213N/Aclean: $(CLEAN_DEPS)
1768N/A
213N/Aclobber: $(CLOBBER_DEPS)
213N/A
213N/Alint: $(LINT_DEPS)
213N/A
213N/Amodlintlib: $(MODLINTLIB_DEPS)
213N/A
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sparc/Makefile.targ