Makefile revision cee0fb94c0d4227de0a00efc162fb2739844b641
337d121aa0049cbd0ae664f5d1c431d862f1d49ejim#
ec79b29695b183f794264bbb578c51e93d1f9b1emartin# CDDL HEADER START
6aa2272cc4af77e605ba2c4a4781f8567408b7e3pquerna#
ee508128c414648982d1cca7801f63b01a0a4f8aminfrin# The contents of this file are subject to the terms of the
111c8f806b790a72ad0244aae35252470662e10drpluem# Common Development and Distribution License (the "License").
111c8f806b790a72ad0244aae35252470662e10drpluem# You may not use this file except in compliance with the License.
111c8f806b790a72ad0244aae35252470662e10drpluem#
399d43256a3339482bfa6cb76eb72ce5b363ae7arpluem# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
399d43256a3339482bfa6cb76eb72ce5b363ae7arpluem# or http://www.opensolaris.org/os/licensing.
399d43256a3339482bfa6cb76eb72ce5b363ae7arpluem# See the License for the specific language governing permissions
399d43256a3339482bfa6cb76eb72ce5b363ae7arpluem# and limitations under the License.
37b35c7feec8216b5119c0c083990cfe4e400769rpluem#
37b35c7feec8216b5119c0c083990cfe4e400769rpluem# When distributing Covered Code, include this CDDL HEADER in each
37b35c7feec8216b5119c0c083990cfe4e400769rpluem# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
dd6199828976e6c7850ca6abd7a1ceba99e9ed16chrisd# If applicable, add the following below this CDDL HEADER, with the
dd6199828976e6c7850ca6abd7a1ceba99e9ed16chrisd# fields enclosed by brackets "[]" replaced with your own identifying
dd6199828976e6c7850ca6abd7a1ceba99e9ed16chrisd# information: Portions Copyright [yyyy] [name of copyright owner]
dd6199828976e6c7850ca6abd7a1ceba99e9ed16chrisd#
bc786d0dba3cefae135fb85ab303ddb2b229e43drpluem# CDDL HEADER END
bc786d0dba3cefae135fb85ab303ddb2b229e43drpluem#
bc786d0dba3cefae135fb85ab303ddb2b229e43drpluem
3ff68b9ee78262779dbedf791576d35fdd229f7brpluem#
3ff68b9ee78262779dbedf791576d35fdd229f7brpluem# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
3ff68b9ee78262779dbedf791576d35fdd229f7brpluem# Use is subject to license terms.
de0fed4fa6741aea09dbe28f03aa4c20e822ed5drpluem#
de0fed4fa6741aea09dbe28f03aa4c20e822ed5drpluem
de0fed4fa6741aea09dbe28f03aa4c20e822ed5drpluem
de0fed4fa6741aea09dbe28f03aa4c20e822ed5drpluem#
de0fed4fa6741aea09dbe28f03aa4c20e822ed5drpluem# Path to the base of the uts directory tree (usually /usr/src/uts).
38c37050250a232748df499cb74e2bec82cd791aminfrin#
38c37050250a232748df499cb74e2bec82cd791aminfrinUTSBASE = ../..
38c37050250a232748df499cb74e2bec82cd791aminfrin
38c37050250a232748df499cb74e2bec82cd791aminfrin#
38c37050250a232748df499cb74e2bec82cd791aminfrin# Define the module and object file sets.
38c37050250a232748df499cb74e2bec82cd791aminfrin#
38c37050250a232748df499cb74e2bec82cd791aminfrinMODULE = dda
38c37050250a232748df499cb74e2bec82cd791aminfrinOBJECTS = $(DDA_OBJS:%=$(OBJS_DIR)/%)
38c37050250a232748df499cb74e2bec82cd791aminfrinLINTS = $(DDA_OBJS:%.o=$(LINTS_DIR)/%.ln)
ab43b4a17b2ac31ccb1cf280be8c42a8a314cecbjortonROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
ab43b4a17b2ac31ccb1cf280be8c42a8a314cecbjortonCONF_SRCDIR = $(UTSBASE)/common/io/mms/dda
ab43b4a17b2ac31ccb1cf280be8c42a8a314cecbjorton
67139e2d50d1e11558d87f7042f61cb04bb0d1d2jim#
67139e2d50d1e11558d87f7042f61cb04bb0d1d2jim# Include common rules.
67139e2d50d1e11558d87f7042f61cb04bb0d1d2jim#
67139e2d50d1e11558d87f7042f61cb04bb0d1d2jiminclude $(UTSBASE)/sparc/Makefile.sparc
67139e2d50d1e11558d87f7042f61cb04bb0d1d2jim
a4ab95921be8ce5de50913cd6505d41b672eb375minfrin#
a4ab95921be8ce5de50913cd6505d41b672eb375minfrin# Define targets
a4ab95921be8ce5de50913cd6505d41b672eb375minfrin#
a4ab95921be8ce5de50913cd6505d41b672eb375minfrinALL_TARGET = $(BINARY) $(SRC_CONFILE)
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrinLINT_TARGET = $(MODULE).lint
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrinINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrin
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrin#
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrin# Overrides
50c06405bc48121db2913925549407fd3e79bcedmturk#
50c06405bc48121db2913925549407fd3e79bcedmturkLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
30db430cb6aaf0c9c3c1bfe1a6c7ddb7ef8a4efcjimLINTTAGS += -erroff=E_PTRDIFF_OVERFLOW
30db430cb6aaf0c9c3c1bfe1a6c7ddb7ef8a4efcjim
30db430cb6aaf0c9c3c1bfe1a6c7ddb7ef8a4efcjimCPPFLAGS += -I. -I$(SRC)/head
f613fc7bb7d9073d0e029aab629afd257927f3b7minfrin
f613fc7bb7d9073d0e029aab629afd257927f3b7minfrin#
f613fc7bb7d9073d0e029aab629afd257927f3b7minfrin# Default build targets.
973a0e8715651f0a56148d315100169453c4d89eminfrin#
973a0e8715651f0a56148d315100169453c4d89eminfrin.KEEP_STATE:
973a0e8715651f0a56148d315100169453c4d89eminfrin
973a0e8715651f0a56148d315100169453c4d89eminfrindef: $(DEF_DEPS)
973a0e8715651f0a56148d315100169453c4d89eminfrin
dec02391360e503cd3437d16bed765dc653b9de5minfrinall: $(ALL_DEPS)
dec02391360e503cd3437d16bed765dc653b9de5minfrin
dec02391360e503cd3437d16bed765dc653b9de5minfrinclean: $(CLEAN_DEPS)
dec02391360e503cd3437d16bed765dc653b9de5minfrin
dec02391360e503cd3437d16bed765dc653b9de5minfrinclobber: $(CLOBBER_DEPS)
722ed80e405b9d451cc89465ac2b0568f143a7a2minfrin
722ed80e405b9d451cc89465ac2b0568f143a7a2minfrinlint: $(LINT_DEPS)
722ed80e405b9d451cc89465ac2b0568f143a7a2minfrin
1b27a3a26f18191db7ecb4d536cb121ba9520a8eniqmodlintlib: $(MODLINTLIB_DEPS)
1b27a3a26f18191db7ecb4d536cb121ba9520a8eniq
acf74b3c26daa2c06515d25ae2bee028b344a1f0minfrinclean.lint: $(CLEAN_LINT_DEPS)
acf74b3c26daa2c06515d25ae2bee028b344a1f0minfrin
acf74b3c26daa2c06515d25ae2bee028b344a1f0minfrininstall: $(INSTALL_DEPS)
acf74b3c26daa2c06515d25ae2bee028b344a1f0minfrin
14ce3b0c1b20578aa5c6b8ebd2c8baf09d0deb55minfrin#
14ce3b0c1b20578aa5c6b8ebd2c8baf09d0deb55minfrin# Include common targets.
14ce3b0c1b20578aa5c6b8ebd2c8baf09d0deb55minfrin#
c7eeb0a294d58c75aee6ed86f73c6e1e8cf600a3rplueminclude $(UTSBASE)/sparc/Makefile.targ
c7eeb0a294d58c75aee6ed86f73c6e1e8cf600a3rpluem