Makefile revision bb25c06cca41ca78e5fb87fbb8e81d55beb18c95
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER START
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# The contents of this file are subject to the terms of the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Common Development and Distribution License (the "License").
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You may not use this file except in compliance with the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# or http://www.opensolaris.org/os/licensing.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# See the License for the specific language governing permissions
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# and limitations under the License.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# When distributing Covered Code, include this CDDL HEADER in each
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# If applicable, add the following below this CDDL HEADER, with the
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# fields enclosed by brackets "[]" replaced with your own identifying
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# information: Portions Copyright [yyyy] [name of copyright owner]
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# CDDL HEADER END
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
cb174861876aea6950a7ab4ce944aff84b1914cdjoyce mcintosh# uts/intel/dadk/Makefile
5fd03bc0f2e00e7ba02316c2e08f45d52aab15dbGordon Ross#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Use is subject to license terms.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
bbf6f00c25b6a2bed23c35eac6d62998ecdb338cJordan Brown#ident "%Z%%M% %I% %E% SMI"
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
dc20a3024900c47dd2ee44b9707e6df38f7d62a5as# This makefile drives the production of the dadk "misc"
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# kernel module.
b1352070d318187b41b088da3533692976f3f225Alan Wright#
b1352070d318187b41b088da3533692976f3f225Alan Wright# intel architecture dependent
b1352070d318187b41b088da3533692976f3f225Alan Wright#
b1352070d318187b41b088da3533692976f3f225Alan Wright
b1352070d318187b41b088da3533692976f3f225Alan Wright#
b1352070d318187b41b088da3533692976f3f225Alan Wright# Path to the base of the uts directory tree (usually /usr/src/uts).
b1352070d318187b41b088da3533692976f3f225Alan Wright#
b1352070d318187b41b088da3533692976f3f225Alan WrightUTSBASE = ../..
b1352070d318187b41b088da3533692976f3f225Alan Wright
b1352070d318187b41b088da3533692976f3f225Alan Wright#
b1352070d318187b41b088da3533692976f3f225Alan Wright# Define the module and object file sets.
b1352070d318187b41b088da3533692976f3f225Alan Wright#
b1352070d318187b41b088da3533692976f3f225Alan WrightMODULE = dadk
bbf6f00c25b6a2bed23c35eac6d62998ecdb338cJordan BrownOBJECTS = $(DADK_OBJS:%=$(OBJS_DIR)/%)
bbf6f00c25b6a2bed23c35eac6d62998ecdb338cJordan BrownLINTS = $(DADK_OBJS:%.o=$(LINTS_DIR)/%.ln)
bbf6f00c25b6a2bed23c35eac6d62998ecdb338cJordan BrownROOTMODULE = $(ROOT_MISC_DIR)/$(MODULE)
bbf6f00c25b6a2bed23c35eac6d62998ecdb338cJordan Brown
bbf6f00c25b6a2bed23c35eac6d62998ecdb338cJordan Brown#
bbf6f00c25b6a2bed23c35eac6d62998ecdb338cJordan Brown# Include common rules.
b1352070d318187b41b088da3533692976f3f225Alan Wright#
bbf6f00c25b6a2bed23c35eac6d62998ecdb338cJordan Browninclude $(UTSBASE)/intel/Makefile.intel
037cac007b685e7ea79f6ef7e8e62bfd342a4d56joyce mcintosh
b1352070d318187b41b088da3533692976f3f225Alan Wright#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Define targets
bbf6f00c25b6a2bed23c35eac6d62998ecdb338cJordan Brown#
bbf6f00c25b6a2bed23c35eac6d62998ecdb338cJordan BrownALL_TARGET = $(BINARY)
bbf6f00c25b6a2bed23c35eac6d62998ecdb338cJordan BrownLINT_TARGET = $(MODULE).lint
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Overrides.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwDEBUG_FLGS =
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwDEBUG_DEFS += $(DEBUG_FLGS)
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwLDFLAGS += -dy -Nmisc/gda
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# For now, disable these lint checks; maintainers should endeavor
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# to investigate and remove these for maximum lint coverage.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw# Please do not carry these forward to new Makefiles.
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
bbf6f00c25b6a2bed23c35eac6d62998ecdb338cJordan Brown
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amw#
7b59d02d2a384be9a08087b14defadd214b3c1ddjb# Default build targets.
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb#
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb.KEEP_STATE:
b89a8333f5e1f75ec0c269b22524bd2eccb972banatalie li - Sun Microsystems - Irvine United States
b89a8333f5e1f75ec0c269b22524bd2eccb972banatalie li - Sun Microsystems - Irvine United Statesdef: $(DEF_DEPS)
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb
faa1795a28a5c712eed6d0a3f84d98c368a316c6jball: $(ALL_DEPS)
eb1d736b1c19f6abeee90c921a9320b67fedd016afshin salek ardakani - Sun Microsystems - Irvine United States
eb1d736b1c19f6abeee90c921a9320b67fedd016afshin salek ardakani - Sun Microsystems - Irvine United Statesclean: $(CLEAN_DEPS)
eb1d736b1c19f6abeee90c921a9320b67fedd016afshin salek ardakani - Sun Microsystems - Irvine United States
faa1795a28a5c712eed6d0a3f84d98c368a316c6jbclobber: $(CLOBBER_DEPS)
eb1d736b1c19f6abeee90c921a9320b67fedd016afshin salek ardakani - Sun Microsystems - Irvine United States
faa1795a28a5c712eed6d0a3f84d98c368a316c6jblint: $(LINT_DEPS)
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb
faa1795a28a5c712eed6d0a3f84d98c368a316c6jbmodlintlib: $(MODLINTLIB_DEPS)
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb
faa1795a28a5c712eed6d0a3f84d98c368a316c6jbclean.lint: $(CLEAN_LINT_DEPS)
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb
faa1795a28a5c712eed6d0a3f84d98c368a316c6jbinstall: $(INSTALL_DEPS)
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb#
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb# Include common targets.
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb#
faa1795a28a5c712eed6d0a3f84d98c368a316c6jbinclude $(UTSBASE)/intel/Makefile.targ
faa1795a28a5c712eed6d0a3f84d98c368a316c6jb