Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# CDDL HEADER START
6736c640e65e06990ef33af71ee81fac4df4ff5fjim#
7025945569c7fbb49f2e64e0d26f861d22a54675jorton# The contents of this file are subject to the terms of the
7025945569c7fbb49f2e64e0d26f861d22a54675jorton# Common Development and Distribution License (the "License").
7025945569c7fbb49f2e64e0d26f861d22a54675jorton# You may not use this file except in compliance with the License.
7025945569c7fbb49f2e64e0d26f861d22a54675jorton#
e20c6ecbd465cd7dabb44acea6afafc7925f3a03sf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12b987b969f03ef98d9175a53d849ab62f5684fecovener# or http://www.opensolaris.org/os/licensing.
12b987b969f03ef98d9175a53d849ab62f5684fecovener# See the License for the specific language governing permissions
4c21a9f062e187b87c9cec726023f0fc086008f2sf# and limitations under the License.
4c21a9f062e187b87c9cec726023f0fc086008f2sf#
4c21a9f062e187b87c9cec726023f0fc086008f2sf# When distributing Covered Code, include this CDDL HEADER in each
4c21a9f062e187b87c9cec726023f0fc086008f2sf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e20c6ecbd465cd7dabb44acea6afafc7925f3a03sf# If applicable, add the following below this CDDL HEADER, with the
e20c6ecbd465cd7dabb44acea6afafc7925f3a03sf# fields enclosed by brackets "[]" replaced with your own identifying
7025945569c7fbb49f2e64e0d26f861d22a54675jorton# information: Portions Copyright [yyyy] [name of copyright owner]
f5b3f41700a107b9df2b3c5a1cc3e5ea775fd8fesf#
f5b3f41700a107b9df2b3c5a1cc3e5ea775fd8fesf# CDDL HEADER END
f5b3f41700a107b9df2b3c5a1cc3e5ea775fd8fesf#
ec7851f543720a66e94295707116b4bc91961030sf
ec7851f543720a66e94295707116b4bc91961030sf#
ec7851f543720a66e94295707116b4bc91961030sf# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
ef056d09d39412b9f7d9b71f48ff3d00222833f6humbedooh# Use is subject to license terms.
ef056d09d39412b9f7d9b71f48ff3d00222833f6humbedooh#
ef056d09d39412b9f7d9b71f48ff3d00222833f6humbedooh
304257c2b0d71c1e4cf3c5c819bb6b60e7c82d51sf#
304257c2b0d71c1e4cf3c5c819bb6b60e7c82d51sf# This makefile drives the production of the scosmb miscellaneous module.
304257c2b0d71c1e4cf3c5c819bb6b60e7c82d51sf#
304257c2b0d71c1e4cf3c5c819bb6b60e7c82d51sf# sun4u starcat implementation architecture dependent
a9383516f09ba627694a14d533f55628426f5418jorton#
a9383516f09ba627694a14d533f55628426f5418jorton
a9383516f09ba627694a14d533f55628426f5418jorton#
099c357f282d4aebf2b32264f7dce6ffc0497c37sf# Path to the base of the uts directory tree (usually /usr/src/uts).
099c357f282d4aebf2b32264f7dce6ffc0497c37sf#
099c357f282d4aebf2b32264f7dce6ffc0497c37sfUTSBASE = ../../..
099c357f282d4aebf2b32264f7dce6ffc0497c37sf
7e51e049b88b11a1f0d9203f3b70b0a5de06f56ejorton#
7e51e049b88b11a1f0d9203f3b70b0a5de06f56ejorton# Define the module and object file sets.
7e51e049b88b11a1f0d9203f3b70b0a5de06f56ejorton#
d9b079a6dd66d36313be56f859c8c61153146527sfMODULE = scosmb
d9b079a6dd66d36313be56f859c8c61153146527sfOBJECTS = $(SCOSMB_OBJS:%=$(OBJS_DIR)/%)
d9b079a6dd66d36313be56f859c8c61153146527sfLINTS = $(SCOSMB_OBJS:%.o=$(LINTS_DIR)/%.ln)
50f8c80eb4d3989ebf3f1341aeef4d2d302af162sfROOTMODULE = $(ROOT_STARCAT_MISC_DIR)/$(MODULE)
50f8c80eb4d3989ebf3f1341aeef4d2d302af162sf
4bb0a88a01fb7b494bb02a8b881b5eab0308bda6sf#
50f8c80eb4d3989ebf3f1341aeef4d2d302af162sf# Include common rules.
295ba2e25e562ee52c7bf96808cf9d486ebfb325sf#
295ba2e25e562ee52c7bf96808cf9d486ebfb325sfinclude $(UTSBASE)/sun4u/starcat/Makefile.starcat
295ba2e25e562ee52c7bf96808cf9d486ebfb325sf
3104923cb51cf5826c97368d1f0d5202c352cd4fsf#
3104923cb51cf5826c97368d1f0d5202c352cd4fsf# Define targets
7b395e4e878c28a4784919cfd2e704ddd14a3390jorton#
7b395e4e878c28a4784919cfd2e704ddd14a3390jortonALL_TARGET = $(BINARY)
7b395e4e878c28a4784919cfd2e704ddd14a3390jortonLINT_TARGET = $(MODULE).lint
7b395e4e878c28a4784919cfd2e704ddd14a3390jortonINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
536e48c08d674acac5d44929318f2ad928edc361jorton
536e48c08d674acac5d44929318f2ad928edc361jorton#
e81785da447b469da66f218b3f0244aab507958djorton# lint pass one enforcement
e81785da447b469da66f218b3f0244aab507958djorton#
424b4e796cde9df955948c354cb4df6080a92d4esfCFLAGS += $(CCVERBOSE)
424b4e796cde9df955948c354cb4df6080a92d4esfCERRWARN += -_gcc=-Wno-unused-variable
424b4e796cde9df955948c354cb4df6080a92d4esfCERRWARN += -_gcc=-Wno-uninitialized
5cc1d035c9293c4d64b2344b5eac35edd1bd4537rpluem
5cc1d035c9293c4d64b2344b5eac35edd1bd4537rpluem#
5cc1d035c9293c4d64b2344b5eac35edd1bd4537rpluem# module dependencies
5cc1d035c9293c4d64b2344b5eac35edd1bd4537rpluem#
3e4e54d4e3fc0123c63d57aa84ac7ad7a8c73ff8jortonLDFLAGS += -dy -Nmisc/mboxsc
3e4e54d4e3fc0123c63d57aa84ac7ad7a8c73ff8jorton
3e4e54d4e3fc0123c63d57aa84ac7ad7a8c73ff8jorton#
00f53c09b10014571b639d5e9df993fb188220a6sf# Default build targets.
00f53c09b10014571b639d5e9df993fb188220a6sf#
00f53c09b10014571b639d5e9df993fb188220a6sf.KEEP_STATE:
00f53c09b10014571b639d5e9df993fb188220a6sf
459eaf0826f995b73a0dc066f59ea10d2824e72dsfdef: $(DEF_DEPS)
459eaf0826f995b73a0dc066f59ea10d2824e72dsf
459eaf0826f995b73a0dc066f59ea10d2824e72dsfall: $(ALL_DEPS)
459eaf0826f995b73a0dc066f59ea10d2824e72dsf
53e9b27aba029b18be814df40bcf6f0428771d1efuankgclean: $(CLEAN_DEPS)
53e9b27aba029b18be814df40bcf6f0428771d1efuankg
53e9b27aba029b18be814df40bcf6f0428771d1efuankgclobber: $(CLOBBER_DEPS)
53e9b27aba029b18be814df40bcf6f0428771d1efuankg
53e9b27aba029b18be814df40bcf6f0428771d1efuankglint: $(LINT_DEPS)
21da42a6b8f551ef603bd06356d3bf71d6d0c21dsf
21da42a6b8f551ef603bd06356d3bf71d6d0c21dsfmodlintlib: $(MODLINTLIB_DEPS)
21da42a6b8f551ef603bd06356d3bf71d6d0c21dsf
2876a591f17b0c6ed0cf28da929643965e67c953sfclean.lint: $(CLEAN_LINT_DEPS)
2876a591f17b0c6ed0cf28da929643965e67c953sf
2876a591f17b0c6ed0cf28da929643965e67c953sfinstall: $(INSTALL_DEPS)
2876a591f17b0c6ed0cf28da929643965e67c953sf
38eb64d29a17648e108852de42f23335aecaa8f8sf#
976f49eaf81ffe917272e4f1834115dec06962b0sf# Include common targets.
38eb64d29a17648e108852de42f23335aecaa8f8sf#
5a1f28ac93914b4bae892c69ac4b3e670bc10da8ndinclude $(UTSBASE)/sun4u/starcat/Makefile.targ
5a1f28ac93914b4bae892c69ac4b3e670bc10da8nd