Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix#
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# CDDL HEADER START
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix#
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# The contents of this file are subject to the terms of the
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# Common Development and Distribution License (the "License").
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# You may not use this file except in compliance with the License.
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix#
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# or http://www.opensolaris.org/os/licensing.
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# See the License for the specific language governing permissions
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# and limitations under the License.
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix#
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# When distributing Covered Code, include this CDDL HEADER in each
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
c4ae5c46c1d9c171f96e47e81f2f0f5f0e189547cilix# If applicable, add the following below this CDDL HEADER, with the
11f343b8117dbf56931f537820c2749a8232fec2Liam P. White# fields enclosed by brackets "[]" replaced with your own identifying
11f343b8117dbf56931f537820c2749a8232fec2Liam P. White# information: Portions Copyright [yyyy] [name of copyright owner]
11f343b8117dbf56931f537820c2749a8232fec2Liam P. White#
833612d1c1e43055c4428afa90dd2b112a439780cilix# CDDL HEADER END
833612d1c1e43055c4428afa90dd2b112a439780cilix#
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix#
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix# uts/sparc/pool/Makefile
07390c2aae073d28c5fa1a9ae5c4b3191d1399bfJon A. Cruz#
536ac52055722b168e4482f612302fa754dc4f72cilix# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix# Use is subject to license terms.
3616fc4f881e624b50093cef5f017751ddf51b07cilix#
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix#ident "%Z%%M% %I% %E% SMI"
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix#
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix# Path to the base of the uts directory tree (usually /usr/src/uts).
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix#
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilixUTSBASE = ../..
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilix
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix#
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix# Define the module and object file sets.
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix#
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixMODULE = pool
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixOBJECTS = $(DEVPOOL_OBJS:%=$(OBJS_DIR)/%)
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixLINTS = $(DEVPOOL_OBJS:%.o=$(LINTS_DIR)/%.ln)
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixROOTMODULE = $(USR_DRV_DIR)/$(MODULE)
1d882e9533b20c0e0783e9d17fcd3f5466fa422fcilixCONF_SRCDIR = $(UTSBASE)/common/io
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix#
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix# Include common rules.
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix#
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixinclude $(UTSBASE)/sparc/Makefile.sparc
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix#
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix# Define targets
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix#
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixALL_TARGET = $(BINARY) $(SRC_CONFILE)
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixLINT_TARGET = $(MODULE).lint
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix#
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix# lint pass one enforcement
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix#
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixCFLAGS += $(CCVERBOSE)
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix#
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix# For now, disable these lint checks; maintainers should endeavor
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix# to investigate and remove these for maximum lint coverage.
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix# Please do not carry these forward to new Makefiles.
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix#
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix#
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix# Default build targets.
c4ae5c46c1d9c171f96e47e81f2f0f5f0e189547cilix#
cd8e8082c747cc529d5bf595b4102e88224a1811Krzysztof Kosiński.KEEP_STATE:
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixdef: $(DEF_DEPS)
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixall: $(ALL_DEPS)
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixclean: $(CLEAN_DEPS)
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixclobber: $(CLOBBER_DEPS)
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixlint: $(LINT_DEPS)
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixmodlintlib: $(MODLINTLIB_DEPS)
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixclean.lint: $(CLEAN_LINT_DEPS)
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixinstall: $(INSTALL_DEPS)
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix#
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix# Include common targets.
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix#
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilixinclude $(UTSBASE)/sparc/Makefile.targ
4358ff6156766a315e38e72a5c3c83d6d5f7486bcilix