Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
f743002678eb67b99bbc29fee116b65d9530fec0wrowe#
80833bb9a1bf25dcf19e814438a4b311d2e1f4cffuankg# CDDL HEADER START
92108a6c4fd7ca6e9acc94d2485920436763e491sf#
40d570cf1420f497bcac59045d4ce477f0b5d891minfrin# The contents of this file are subject to the terms of the
40d570cf1420f497bcac59045d4ce477f0b5d891minfrin# Common Development and Distribution License (the "License").
40d570cf1420f497bcac59045d4ce477f0b5d891minfrin# You may not use this file except in compliance with the License.
edab53cc0be707fa71968a95c696b19f0e6c4736minfrin#
edab53cc0be707fa71968a95c696b19f0e6c4736minfrin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
edab53cc0be707fa71968a95c696b19f0e6c4736minfrin# or http://www.opensolaris.org/os/licensing.
806e9ba570ef48df4bfd8364e2f4d57381388a11minfrin# See the License for the specific language governing permissions
806e9ba570ef48df4bfd8364e2f4d57381388a11minfrin# and limitations under the License.
806e9ba570ef48df4bfd8364e2f4d57381388a11minfrin#
806e9ba570ef48df4bfd8364e2f4d57381388a11minfrin# When distributing Covered Code, include this CDDL HEADER in each
806e9ba570ef48df4bfd8364e2f4d57381388a11minfrin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0754dde4b645ccd88fdb6c2961c0bdd7b213bdbaminfrin# If applicable, add the following below this CDDL HEADER, with the
0754dde4b645ccd88fdb6c2961c0bdd7b213bdbaminfrin# fields enclosed by brackets "[]" replaced with your own identifying
0754dde4b645ccd88fdb6c2961c0bdd7b213bdbaminfrin# information: Portions Copyright [yyyy] [name of copyright owner]
a4273e3e513ce8f5e1311c320cbd334cc382950eminfrin#
a4273e3e513ce8f5e1311c320cbd334cc382950eminfrin# CDDL HEADER END
a4273e3e513ce8f5e1311c320cbd334cc382950eminfrin#
d3e0a61e1bcc497f2efd7af41a5a9d77090ecc1cminfrin#
a4273e3e513ce8f5e1311c320cbd334cc382950eminfrin# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
d3e0a61e1bcc497f2efd7af41a5a9d77090ecc1cminfrin# Use is subject to license terms.
d3e0a61e1bcc497f2efd7af41a5a9d77090ecc1cminfrin#
1aac1c71105133d669960501bdf2274e63561054minfrin
1aac1c71105133d669960501bdf2274e63561054minfrin#
1aac1c71105133d669960501bdf2274e63561054minfrin# This makefile drives the production of the rds driver
2c487ac43b583db869e743772a7a10b278aa2bcfminfrin# kernel module.
2c487ac43b583db869e743772a7a10b278aa2bcfminfrin#
2c487ac43b583db869e743772a7a10b278aa2bcfminfrin# sparc architecture dependent
2c487ac43b583db869e743772a7a10b278aa2bcfminfrin#
2c487ac43b583db869e743772a7a10b278aa2bcfminfrin
dbf5f584c62fe6030d81121fdddeb7588b78b867sf#
dbf5f584c62fe6030d81121fdddeb7588b78b867sf# Path to the base of the uts directory tree (usually /usr/src/uts).
15320dc646e41d3eb38736978500349c4d66dc0dsf#
15320dc646e41d3eb38736978500349c4d66dc0dsfUTSBASE = ../..
691db92094897494d6c31326108da20088bc175etrawick
691db92094897494d6c31326108da20088bc175etrawick#
691db92094897494d6c31326108da20088bc175etrawick# Define the module and object file sets.
92108a6c4fd7ca6e9acc94d2485920436763e491sf#
92108a6c4fd7ca6e9acc94d2485920436763e491sfMODULE = rds
684e0cfc200f66287a93bbd1708d1dd8a92a7eefcovenerOBJECTS = $(RDS_OBJS:%=$(OBJS_DIR)/%)
684e0cfc200f66287a93bbd1708d1dd8a92a7eefcovenerLINTS = $(RDS_OBJS:%.o=$(LINTS_DIR)/%.ln)
684e0cfc200f66287a93bbd1708d1dd8a92a7eefcovenerROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
5c43d2fb853f84497b5ece2d414ef9484aa87e5fsfCONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/rds
05a5a9c3e16f21566e1b61f4bd68025ce1b741ccjoes
05a5a9c3e16f21566e1b61f4bd68025ce1b741ccjoes#
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq# Include common rules.
26c5829347f6a355c00f1ba0301d575056b69536niq#
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niqinclude $(UTSBASE)/sparc/Makefile.sparc
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq#
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq# Define targets
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niq#
ef82e8fa164e0a1f8b813f7deb6b7ead96018c94niqALL_TARGET = $(BINARY) $(SRC_CONFILE)
413ee814748f37be168ff12407fa6dba0ceeabe6trawickLINT_TARGET = $(MODULE).lint
c12917da693bae4028a1d5a5e8224bceed8c739dsfINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
c12917da693bae4028a1d5a5e8224bceed8c739dsf
eeb7898b9c087040d44550f8a6b1a257783c9f0ahumbedooh#
eeb7898b9c087040d44550f8a6b1a257783c9f0ahumbedooh# lint pass one enforcement and OS version
7705103518c61f7cdcd4041fe871cb45114f31a5rpluem#
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsfCFLAGS += $(CCVERBOSE)
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsfCERRWARN += -_gcc=-Wno-uninitialized
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsf
eafcc0ebf263d0ba69855b6e10958c4c1a2361bdsfLDFLAGS += -dy -Nfs/sockfs -Ndrv/ip
d7ffd2da16d58b1a0de212e4d56f7aebb72bef26sf
d7ffd2da16d58b1a0de212e4d56f7aebb72bef26sf#
d7ffd2da16d58b1a0de212e4d56f7aebb72bef26sf# Default build targets.
4576c1a9ef54cd1e5555ee07d016a7f559f80338sf#
4576c1a9ef54cd1e5555ee07d016a7f559f80338sf.KEEP_STATE:
4576c1a9ef54cd1e5555ee07d016a7f559f80338sf
9811aed12bbc71783d2e544ccb5fecd193843eadsfdef: $(DEF_DEPS)
9811aed12bbc71783d2e544ccb5fecd193843eadsf
9811aed12bbc71783d2e544ccb5fecd193843eadsfall: $(ALL_DEPS)
d58a822aff1dfda25384d3d009f88f1883c95436kbrand
d58a822aff1dfda25384d3d009f88f1883c95436kbrandclean: $(CLEAN_DEPS)
d58a822aff1dfda25384d3d009f88f1883c95436kbrand
e02ff627c1e63137247e20493f6ef44b3bb1a095sfclobber: $(CLOBBER_DEPS)
e02ff627c1e63137247e20493f6ef44b3bb1a095sf
e02ff627c1e63137247e20493f6ef44b3bb1a095sflint: $(LINT_DEPS)
1366443dc565c33e7b449ae428bbfc4c86f33935drh
1366443dc565c33e7b449ae428bbfc4c86f33935drhmodlintlib: $(MODLINTLIB_DEPS) lint64
88fac54d9d64f85bbdab5d7010816f4377f95bd7rjung
88fac54d9d64f85bbdab5d7010816f4377f95bd7rjungclean.lint: $(CLEAN_LINT_DEPS)
bd3f5647b96d378d9c75c954e3f13582af32c643sf
bd3f5647b96d378d9c75c954e3f13582af32c643sfinstall: $(INSTALL_DEPS)
bd3f5647b96d378d9c75c954e3f13582af32c643sf
bd3f5647b96d378d9c75c954e3f13582af32c643sf$(ROOTLINK): $(ROOT_STRMOD_DIR) $(ROOTMODULE)
bd3f5647b96d378d9c75c954e3f13582af32c643sf -$(RM) $@; ln $(ROOTMODULE) $@
2a7beea91d46beb41f043a84eaad060047ee04aafabien
2a7beea91d46beb41f043a84eaad060047ee04aafabien#
2a7beea91d46beb41f043a84eaad060047ee04aafabien# Include common targets.
2a7beea91d46beb41f043a84eaad060047ee04aafabien#
584a85dd4047e38d3ed3a29b6662fcc9d100ae4csfinclude $(UTSBASE)/sparc/Makefile.targ
584a85dd4047e38d3ed3a29b6662fcc9d100ae4csf