Makefile revision 5c1d0199d69216ebefa9ed86940778f6d215a97f
905N/A#
905N/A# CDDL HEADER START
905N/A#
905N/A# The contents of this file are subject to the terms of the
905N/A# Common Development and Distribution License (the "License").
905N/A# You may not use this file except in compliance with the License.
905N/A#
905N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
905N/A# or http://www.opensolaris.org/os/licensing.
905N/A# See the License for the specific language governing permissions
905N/A# and limitations under the License.
905N/A#
905N/A# When distributing Covered Code, include this CDDL HEADER in each
905N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
905N/A# If applicable, add the following below this CDDL HEADER, with the
905N/A# fields enclosed by brackets "[]" replaced with your own identifying
905N/A# information: Portions Copyright [yyyy] [name of copyright owner]
905N/A#
905N/A# CDDL HEADER END
905N/A#
1326N/A#
905N/A# uts/intel/dmfe/Makefile
905N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
905N/A# Use is subject to license terms.
905N/A#
905N/A#ident "%Z%%M% %I% %E% SMI"
905N/A#
905N/A# This makefile drives the production of the dmfe driver module.
905N/A#
905N/A
905N/A#
1326N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
905N/A#
905N/AUTSBASE = ../..
905N/A
905N/A#
905N/A# Define the module and object file sets.
2232N/A#
2232N/AMODULE = dmfe
2232N/AOBJECTS = $(DMFE_OBJS:%=$(OBJS_DIR)/%)
2232N/ALINTS = $(DMFE_OBJS:%.o=$(LINTS_DIR)/%.ln)
2232N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
905N/ACONF_SRCDIR = $(UTSBASE)/common/io/dmfe
905N/A
905N/A#
905N/A# Include common rules.
1601N/A#
1601N/Ainclude $(UTSBASE)/intel/Makefile.intel
1601N/A
1601N/A#
1601N/A# Define targets
905N/A#
905N/AALL_TARGET = $(BINARY) $(SRC_CONFFILE)
905N/ALINT_TARGET = $(MODULE).lint
905N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
905N/A
905N/A#
905N/A# lint pass one enforcement
1601N/A#
905N/ACFLAGS += $(CCVERBOSE)
1601N/A
1601N/A#
905N/A# extra link arguments
1601N/A#
1601N/ALDFLAGS += -dy -N misc/mac -N drv/ip
1601N/A
905N/A#
905N/A# For now, disable these lint checks; maintainers should endeavor
905N/A# to investigate and remove these for maximum lint coverage.
905N/A# Please do not carry these forward to new Makefiles.
905N/A#
905N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
LINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
LINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ