2187N/A#
2187N/A# CDDL HEADER START
2187N/A#
2187N/A# The contents of this file are subject to the terms of the
2187N/A# Common Development and Distribution License (the "License").
2187N/A# You may not use this file except in compliance with the License.
2187N/A#
2187N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2187N/A# or http://www.opensolaris.org/os/licensing.
2187N/A# See the License for the specific language governing permissions
2187N/A# and limitations under the License.
2187N/A#
2187N/A# When distributing Covered Code, include this CDDL HEADER in each
2187N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2187N/A# If applicable, add the following below this CDDL HEADER, with the
2187N/A# fields enclosed by brackets "[]" replaced with your own identifying
2187N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2187N/A#
2187N/A# CDDL HEADER END
2187N/A#
2187N/A#
2187N/A# uts/intel/rts/Makefile
2187N/A#
2187N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
5085N/A# Use is subject to license terms.
5707N/A#
2187N/A# This makefile drives the production of the rts IP driver
2187N/A#
2187N/A# intel implementation architecture dependent
2187N/A#
5236N/A
2754N/A#
2187N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
2187N/A#
2520N/AUTSBASE = ../..
2625N/A
4289N/A#
4289N/A# Define the module and object file sets.
2187N/A#
2520N/AMODULE = rts
2187N/AOBJECTS = $(RTS_OBJS:%=$(OBJS_DIR)/%)
2488N/ALINTS = $(RTS_OBJS:%.o=$(LINTS_DIR)/%.ln)
2187N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
2187N/AROOTLINK = $(ROOT_SOCK_DIR)/$(MODULE)
2520N/ACONF_SRCDIR = $(UTSBASE)/common/inet/ip
2754N/A
2488N/A#
2520N/A# Extra for $(MODULE).check target
2520N/A#
5236N/A# Need to remove ipddi.o since it has non-static defines for _init etc.
2614N/AIP_CHECK_OBJS = $(IP_OBJS:ipddi.o=ip.o)
2658N/AEXTRA_CHECK_OBJS = $(IP_CHECK_OBJS:%=../ip/$(OBJS_DIR)/%)
2187N/A
2488N/A#
3853N/A# Include common rules.
2187N/A#
2187N/Ainclude $(UTSBASE)/intel/Makefile.intel
2520N/A
2604N/A#
2604N/A# Define targets
2604N/A#
2488N/AALL_TARGET = $(BINARY) $(SRC_CONFFILE)
2187N/ALINT_TARGET = $(MODULE).lint
2187N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
2187N/A
2187N/A#
2187N/A# depends on ip and sockfs
2187N/A#
2187N/ALDFLAGS += -dy -Ndrv/ip -Nfs/sockfs
2187N/A
2554N/A#
2554N/A# For now, disable these lint checks; maintainers should endeavor
2554N/A# to investigate and remove these for maximum lint coverage.
2554N/A# Please do not carry these forward to new Makefiles.
2554N/A#
5236N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
2554N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
5236N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
5236N/A
5236N/A#
5236N/A# Default build targets.
2976N/A#
5236N/A.KEEP_STATE:
5236N/A
5236N/Adef: $(DEF_DEPS)
5236N/A
2976N/Aall: $(ALL_DEPS) $(SISCHECK_DEPS)
2976N/A
2604N/Aclean: $(CLEAN_DEPS) $(SISCLEAN_DEPS)
2604N/A
2604N/Aclobber: $(CLOBBER_DEPS) $(SISCLEAN_DEPS)
2604N/A
4495N/Alint: $(LINT_DEPS)
2520N/A
5236N/Amodlintlib: $(MODLINTLIB_DEPS)
2658N/A
5236N/Aclean.lint: $(CLEAN_LINT_DEPS)
2976N/A
4495N/Ainstall: $(INSTALL_DEPS) $(SISCHECK_DEPS)
2976N/A
3853N/A$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOT_SOCK_DIR) $(ROOTMODULE)
5707N/A -$(RM) $@; ln $(ROOTMODULE) $@
3853N/A
2520N/A#
2520N/A# Include common targets.
2520N/A#
2520N/Ainclude $(UTSBASE)/intel/Makefile.targ
2520N/A