Makefile revision f4b3ec61df05330d25f55a36b975b4d7519fdeb1
0N/A#
0N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
0N/A# CDDL HEADER END
0N/A#
0N/A#
0N/A#
0N/A# uts/intel/neti/Makefile
0N/A#
0N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
0N/A#
0N/A#ident "%Z%%M% %I% %E% SMI"
0N/A#
0N/A# This makefile drives the production of the neti driver kernel module.
0N/A#
0N/A# INTEL implementation architecture dependent
0N/A#
233N/A
233N/A#
233N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
233N/A#
233N/AUTSBASE = ../..
233N/A
233N/A#
233N/A# Define the module and object file sets.
233N/A#
233N/AMODULE = neti
233N/AOBJECTS = $(NETI_OBJS:%=$(OBJS_DIR)/%)
233N/ALINTS = $(NETI_OBJS:%.o=$(LINTS_DIR)/%.ln)
712N/AROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
233N/A
233N/A#
564N/A# Include common rules.
0N/A#
0N/Ainclude $(UTSBASE)/intel/Makefile.intel
0N/A
0N/A#
712N/A# Define targets
0N/A#
0N/AALL_TARGET = $(BINARY)
0N/ALINT_TARGET = $(MODULE).lint
0N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK)
0N/A
233N/ALDFLAGS += -dy -Nmisc/hook
233N/A
0N/A#
114N/A# Default build targets.
114N/A#
114N/A.KEEP_STATE:
114N/A
114N/Adef: $(DEF_DEPS)
114N/A
0N/Aall: $(ALL_DEPS)
0N/A
0N/Aclean: $(CLEAN_DEPS)
0N/A
0N/Aclobber: $(CLOBBER_DEPS)
0N/A
0N/Alint: $(LINT_DEPS)
567N/A
567N/Amodlintlib: $(MODLINTLIB_DEPS)
567N/A
567N/Aclean.lint: $(CLEAN_LINT_DEPS)
712N/A
712N/Ainstall: $(INSTALL_DEPS)
712N/A
712N/Asis_check: sis_check.obj
712N/Asis_check.obj: $(ALL_DEPS)
712N/A @$(GREP) -v '#' $(MODULE).objt-symbols.obj64 |$(GREP) . |$(SORT) -u \
675N/A > $(MODULE).symbols.tmp
675N/A @$(NM) obj64/$(MODULE) |$(GREP) OBJT |$(GREP) -v UNDEF | \
712N/A $(CUT) -d'|' -f8 |$(GREP) -v '^___const_' |$(SORT) -u \
675N/A > $(MODULE).symbols.tmp.new
567N/A -@$(DIFF) $(MODULE).symbols.tmp $(MODULE).symbols.tmp.new
0N/A
422N/A#
712N/A# Include common targets.
422N/A#
0N/Ainclude $(UTSBASE)/intel/Makefile.targ
422N/A