Makefile revision f4b3ec61df05330d25f55a36b975b4d7519fdeb1
0N/A#
0N/A# CDDL HEADER START
1610N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
919N/A# You may not use this file except in compliance with the License.
919N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# uts/intel/rts/Makefile
0N/A#
0N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
0N/A# Use is subject to license terms.
1494N/A#
0N/A# ident "%Z%%M% %I% %E% SMI"
1494N/A#
1494N/A# This makefile drives the production of the rts IP driver
1418N/A#
922N/A# intel implementation architecture dependent
922N/A#
0N/A
1097N/A#
1097N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
1097N/A#
1097N/AUTSBASE = ../..
1097N/A
1097N/A#
1097N/A# Define the module and object file sets.
1097N/A#
922N/AMODULE = rts
1466N/AOBJECTS = $(RTS_OBJS:%=$(OBJS_DIR)/%)
0N/ALINTS = $(RTS_OBJS:%.o=$(LINTS_DIR)/%.ln)
922N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
922N/AROOTLINK = $(ROOT_STRMOD_DIR)/$(MODULE)
935N/ACONF_SRCDIR = $(UTSBASE)/common/inet/ip
0N/A
1466N/A#
1466N/A# Extra for $(MODULE).check target
822N/A#
1466N/A# Need to remove ipddi.o since it has non-static defines for _init etc.
1466N/AIP_CHECK_OBJS = $(IP_OBJS:ipddi.o=ip.o)
493N/AEXTRA_CHECK_OBJS = $(IP_CHECK_OBJS:%=../ip/$(OBJS_DIR)/%)
1466N/A
493N/A#
922N/A# Include common rules.
922N/A#
922N/Ainclude $(UTSBASE)/intel/Makefile.intel
493N/A
1466N/A#
493N/A# Define targets
1466N/A#
922N/AALL_TARGET = $(BINARY) $(SRC_CONFFILE)
922N/ALINT_TARGET = $(MODULE).lint
493N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
922N/A
922N/A#
922N/A# depends on ip
493N/A#
922N/ALDFLAGS += -dy -Ndrv/ip
0N/A
922N/A#
922N/A# For now, disable these lint checks; maintainers should endeavor
922N/A# to investigate and remove these for maximum lint coverage.
493N/A# Please do not carry these forward to new Makefiles.
922N/A#
922N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
355N/ALINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
970N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
970N/A
0N/A#
922N/A# Default build targets.
922N/A#
922N/A.KEEP_STATE:
493N/A
963N/Adef: $(DEF_DEPS)
963N/A
963N/Aall: $(ALL_DEPS)
493N/A
0N/Aclean: $(CLEAN_DEPS)
922N/A
922N/Aclobber: $(CLOBBER_DEPS)
922N/A
493N/Alint: $(LINT_DEPS)
922N/A
922N/Amodlintlib: $(MODLINTLIB_DEPS)
922N/A
493N/Aclean.lint: $(CLEAN_LINT_DEPS)
493N/A
493N/Ainstall: $(INSTALL_DEPS)
493N/A
493N/A$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
493N/A -$(RM) $@; ln $(ROOTMODULE) $@
911N/A
1003N/Asis_check: sis_check.obj
911N/Asis_check.obj: $(ALL_DEPS)
911N/A @$(GREP) -v '#' $(MODULE).objt-symbols.obj64 |$(GREP) . |$(SORT) -u \
1088N/A > $(MODULE).symbols.tmp
493N/A @$(NM) obj64/$(MODULE) |$(GREP) OBJT |$(GREP) -v UNDEF | \
493N/A $(CUT) -d'|' -f8 |$(SORT) -u > $(MODULE).symbols.tmp.new
493N/A -@$(DIFF) $(MODULE).symbols.tmp $(MODULE).symbols.tmp.new
705N/A
493N/A#
911N/A# Include common targets.
911N/A#
911N/Ainclude $(UTSBASE)/intel/Makefile.targ
1061N/A