Makefile revision 112f9fc1e25dcac8b980e034e763f96fb9736261
0N/A#
3261N/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.
2362N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2362N/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#
2362N/A#
2362N/A# uts/sparc/arp/Makefile
2362N/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 arp driver kernel module.
0N/A#
0N/A# sparc architecture dependent
2080N/A#
0N/A
0N/A#
0N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
0N/A#
0N/AUTSBASE = ../..
0N/A
0N/A#
0N/A# Define the module and object file sets.
0N/A#
0N/AMODULE = arp
0N/AOBJECTS = $(ARP_OBJS:%=$(OBJS_DIR)/%)
0N/ALINTS = $(ARP_OBJS:%.o=$(LINTS_DIR)/%.ln)
0N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
0N/AROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE)
0N/ACONF_SRCDIR = $(UTSBASE)/common/inet/arp
0N/A
0N/A#
0N/A# Extra for $(MODULE).check target
0N/A#
0N/A# Need to remove ipddi.o since it has non-static defines for _init etc.
0N/AIP_CHECK_OBJS = $(IP_OBJS:ipddi.o=ip.o)
0N/AEXTRA_CHECK_OBJS = $(IP_CHECK_OBJS:%=../ip/$(OBJS_DIR)/%)
0N/A
0N/A#
0N/A# Include common rules.
0N/A#
0N/Ainclude $(UTSBASE)/sparc/Makefile.sparc
0N/A
893N/A#
893N/A# Define targets
893N/A#
893N/AALL_TARGET = $(BINARY) $(SRC_CONFFILE)
893N/ALINT_TARGET = $(MODULE).lint
893N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
893N/A
893N/A#
893N/A# lint pass one enforcement
893N/A#
893N/ACFLAGS += $(CCVERBOSE)
893N/A
893N/A#
893N/A# depends on ip
893N/A#
893N/ALDFLAGS += -dy -Ndrv/ip -Ndrv/hook -Nmisc/neti
893N/A
893N/A#
893N/A# For now, disable these lint checks; maintainers should endeavor
893N/A# to investigate and remove these for maximum lint coverage.
893N/A# Please do not carry these forward to new Makefiles.
893N/A#
893N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
893N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
893N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
893N/A
893N/A#
893N/A# Default build targets.
893N/A#
893N/A.KEEP_STATE:
893N/A
893N/Adef: $(DEF_DEPS)
893N/A
893N/Aall: $(ALL_DEPS) $(SISCHECK_DEPS)
893N/A
0N/Aclean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
0N/A
0N/Aclobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
0N/A
524N/Alint: $(LINT_DEPS)
893N/A
893N/Amodlintlib: $(MODLINTLIB_DEPS)
893N/A
893N/Aclean.lint: $(CLEAN_LINT_DEPS)
893N/A
893N/Ainstall: $(INSTALL_DEPS) $(SISCHECK_DEPS)
893N/A
893N/A$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
893N/A -$(RM) $@; ln $(ROOTMODULE) $@
893N/A
0N/A#
0N/A# Include common targets.
0N/A#
0N/Ainclude $(UTSBASE)/sparc/Makefile.targ
893N/A