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