Makefile revision f4b3ec61df05330d25f55a36b975b4d7519fdeb1
6fe48fb46e53ffc37542853a1edb74cb481b7d94Automatic Updater# CDDL HEADER START
7a42357217528037bdfedcb17eeebfe96ae4266aAutomatic Updater# The contents of this file are subject to the terms of the
1167fc7904c5f0a472f8df207ac46dd52c7f1ec8Automatic Updater# Common Development and Distribution License (the "License").
0c39b3ed9409ecb277d5e32fa763a4e4d6598df8Automatic Updater# You may not use this file except in compliance with the License.
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fe84edc17e0d582cf7b4270f8df9d4742a107b1cAutomatic Updater# or http://www.opensolaris.org/os/licensing.
79b273c187a4aa1016a62181983dfdd0521681aeMark Andrews# See the License for the specific language governing permissions
3349f0044fda807e1fd6681c833d3593a22dad86Tinderbox User# and limitations under the License.
b253dcf9668f95e141bce9556dc88e30d3305a1dTinderbox User# 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
bbde8dc56605130058a1540609264fa109da3b63Automatic Updater# fields enclosed by brackets "[]" replaced with your own identifying
bbde8dc56605130058a1540609264fa109da3b63Automatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic Updater# CDDL HEADER END
a01aa536188bb3535dfc1107a623e6355a8e6b7cMark Andrews# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
89623368b8f662d458d9964b923050f33c5f75b0Tinderbox User# Use is subject to license terms.
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater#ident "%Z%%M% %I% %E% SMI"
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# This makefile drives the production of the keysock driver
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# kernel module.
f2770f6b39a9b2a98afb7a11ed105f73f1570c1eAutomatic Updater# intel implementation architecture dependent
710bce1a85c96e85ca1a90471382055acd29d51fTinderbox User# Path to the base of the uts directory tree (usually /usr/src/uts).
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Define the module and object file sets.
e130ab53e992670e2a2ecf043976ac09f21358d1Automatic UpdaterLINTS = $(KEYSOCK_OBJS:%.o=$(LINTS_DIR)/%.ln)
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Include common rules.
9513a2a6670951f5cf5477fcfec9f933fcaff628Automatic Updater# Define targets
eabc9c3c07cd956d3c436bd7614cb162dabdda76Mark AndrewsINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOTLINK) $(ROOT_CONFFILE)
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Linkage dependencies
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# For now, disable these lint checks; maintainers should endeavor
930f6069e5aa157cf6987cdafd412f5757a5a558Automatic Updater# to investigate and remove these for maximum lint coverage.
80faf1588895fd26490f82f95a7a1b771df1c324Automatic Updater# Please do not carry these forward to new Makefiles.
91216cff91b34c9ff6e846dc23f248219cafe660Andreas Gustafsson# Default build targets.
24bf1e02f03577db0feb50b80238c4150c96d05dAutomatic Updater @$(GREP) -v '#' $(MODULE).objt-symbols.obj64 |$(GREP) . |$(SORT) -u \
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews @$(NM) obj64/$(MODULE) |$(GREP) OBJT |$(GREP) -v UNDEF | \
78f3ed4bc2fcd3d270bfd599804f3b27a1db4d91Mark Andrews $(CUT) -d'|' -f8 |$(SORT) -u > $(MODULE).symbols.tmp.new
a308b69ac66fadf66863484f301314d6e6a3f1d2Automatic Updater -@$(DIFF) $(MODULE).symbols.tmp $(MODULE).symbols.tmp.new
c651f15b30f1dae5cc2f00878fb5da5b3a35a468Mark Andrews# Include common targets.