Makefile revision da14cebe459d3275048785f25bd869cb09b5307f
2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License (the "License").
2N/A# You may not use this file except in compliance with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
814N/A#
2N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
2N/A# Use is subject to license terms.
2N/A#
2N/A#
23N/A# This makefile drives the production of the mac driver
23N/A# kernel module.
23N/A#
23N/A#
23N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
32N/A#
32N/AUTSBASE = ../..
32N/A
34N/A#
32N/A# Define the module and object file sets.
34N/A#
32N/AMODULE = mac
32N/AOBJECTS = $(MAC_OBJS:%=$(OBJS_DIR)/%)
58N/ALINTS = $(MAC_OBJS:%.o=$(LINTS_DIR)/%.ln)
32N/AROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
225N/A
225N/A#
225N/A# Include common rules.
225N/A#
225N/Ainclude $(UTSBASE)/intel/Makefile.intel
225N/A
225N/A#
225N/A# Define targets
225N/A#
225N/AALL_TARGET = $(BINARY)
2N/ALINT_TARGET = $(MODULE).lint
38N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
38N/A
38N/A#
38N/A# Overrides.
38N/A#
38N/ACFLAGS += $(CCVERBOSE)
38N/ALDFLAGS += -dy
83N/A
1273N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
83N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
99N/A
2N/A#
92N/A# Default build targets.
634N/A#
92N/A.KEEP_STATE:
634N/A
92N/Adef: $(DEF_DEPS)
2N/A
2N/Aall: $(ALL_DEPS)
313N/A
2N/Aclean: $(CLEAN_DEPS)
34N/A
2N/Aclobber: $(CLOBBER_DEPS)
313N/A
313N/Alint: $(LINT_DEPS)
1273N/A
1273N/Amodlintlib: $(MODLINTLIB_DEPS)
313N/A
34N/Aclean.lint: $(CLEAN_LINT_DEPS)
2N/A
313N/Ainstall: $(INSTALL_DEPS)
814N/A
53N/A#
34N/A# Include common targets.
814N/A#
70N/Ainclude $(UTSBASE)/intel/Makefile.targ
2N/A