Makefile revision f4b3ec61df05330d25f55a36b975b4d7519fdeb1
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
18920d790825d96ca3943aa2dcb6eb80dc611c5fTinderbox User# The contents of this file are subject to the terms of the
a5636b773fa05a272b6876afd99309c0b3090e2fMark Andrews# Common Development and Distribution License (the "License").
e9e4257668ff6c4e583b0c0db2508650b0b677b8Tinderbox User# You may not use this file except in compliance with the License.
c57668a2fbbe558c1bd21652813616f2f517c469Tinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
137fdbc214e99c4cbe57551e9e14f2015c2e42aeTinderbox User# See the License for the specific language governing permissions
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User# and limitations under the License.
02b47c5d62e1e827743684c28a08e871da454a2dMark Andrews# When distributing Covered Code, include this CDDL HEADER in each
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# If applicable, add the following below this CDDL HEADER, with the
e20309353e6246485c521278131d3fced73d7957Tinderbox User# fields enclosed by brackets "[]" replaced with your own identifying
e20309353e6246485c521278131d3fced73d7957Tinderbox User# information: Portions Copyright [yyyy] [name of copyright owner]
a7c412f37cc73d0332887a746e81220cbf09dd00Mark Andrews# CDDL HEADER END
e20309353e6246485c521278131d3fced73d7957Tinderbox User# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
e20309353e6246485c521278131d3fced73d7957Tinderbox User# Use is subject to license terms.
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews#ident "%Z%%M% %I% %E% SMI"
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# This makefile drives the production of the rts IP driver
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# sparc architecture dependent
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Path to the base of the uts directory tree (usually /usr/src/uts).
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# Define the module and object file sets.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Extra for $(MODULE).check target
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Need to remove ipddi.o since it has non-static defines for _init etc.
dc238a06bffa79de141ee7655765e2df91498a8aTinderbox UserEXTRA_CHECK_OBJS = $(IP_CHECK_OBJS:%=../ip/$(OBJS_DIR)/%)
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# Include common rules.
cdfc81e048bd34c1d628380247bda6b80a89e20eAutomatic Updater# Define targets
0eb371ca0dab50ae3462e98794a6126198c52f4bMark AndrewsINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews# lint pass one enforcement
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark Andrews# depends on tun
b886b04d8d2b085cbf3e1bf4442dee87f43ba5e4Tinderbox User# For now, disable these lint checks; maintainers should endeavor
e20309353e6246485c521278131d3fced73d7957Tinderbox User# to investigate and remove these for maximum lint coverage.
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Please do not carry these forward to new Makefiles.
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater# Default build targets.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson @$(GREP) -v '#' $(MODULE).objt-symbols.obj64 |$(GREP) . |$(SORT) -u \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews @$(NM) obj64/$(MODULE) |$(GREP) OBJT |$(GREP) -v UNDEF | \
0eb371ca0dab50ae3462e98794a6126198c52f4bMark Andrews $(CUT) -d'|' -f8 |$(GREP) -v '^___const_' |$(SORT) -u \
28a5dd720187fddb16055a0f64b63a7b66f29f64Mark Andrews -@$(DIFF) $(MODULE).symbols.tmp $(MODULE).symbols.tmp.new
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User# Include common targets.