Makefile revision 297a64e7779d7bd7140d1f3f2fa5db171aa21569
6a67d144095c31bbafed93cec1619590157335eajvergara# CDDL HEADER START
6a67d144095c31bbafed93cec1619590157335eajvergara# The contents of this file are subject to the terms of the
6a67d144095c31bbafed93cec1619590157335eajvergara# Common Development and Distribution License (the "License").
6a67d144095c31bbafed93cec1619590157335eajvergara# You may not use this file except in compliance with the License.
6a67d144095c31bbafed93cec1619590157335eajvergara# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# See the License for the specific language governing permissions
6a67d144095c31bbafed93cec1619590157335eajvergara# and limitations under the License.
6a67d144095c31bbafed93cec1619590157335eajvergara# When distributing Covered Code, include this CDDL HEADER in each
6a67d144095c31bbafed93cec1619590157335eajvergara# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# If applicable, add the following below this CDDL HEADER, with the
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# fields enclosed by brackets "[]" replaced with your own identifying
8cf870d281dc8c242f083d14dfef05f24aa5fceeJnRouvignac# information: Portions Copyright [yyyy] [name of copyright owner]
6a67d144095c31bbafed93cec1619590157335eajvergara# CDDL HEADER END
6a67d144095c31bbafed93cec1619590157335eajvergara# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
65e99be301d5a19db33f25841f671756e8dbb9b5ludovicp# Use is subject to license terms.
6a67d144095c31bbafed93cec1619590157335eajvergara#ident "%Z%%M% %I% %E% SMI"
6a67d144095c31bbafed93cec1619590157335eajvergara# include global definitions
6a67d144095c31bbafed93cec1619590157335eajvergara$(CLOSED_BUILD)ROOTHDRS += $(CLOSED_HDRS:%=$(ROOTDIR)/%)
2401d3c2af505789c7c3b860a43e973f27731243jvergaraROOTSCSIADHDRS= $(SCSIADHDRS:%=$(ROOTDIR)/scsi/adapters/%)
6a67d144095c31bbafed93cec1619590157335eajvergaraROOTSCSITARGHDRS= $(SCSITARGHDRS:%=$(ROOTDIR)/scsi/targets/%)
6a67d144095c31bbafed93cec1619590157335eajvergara# install rules
6a67d144095c31bbafed93cec1619590157335eajvergara# check files really don't exist
2401d3c2af505789c7c3b860a43e973f27731243jvergara# headers which won't quite meet the standards...
2401d3c2af505789c7c3b860a43e973f27731243jvergara# devops.h has a macro where the formal parameters to the macro are greater
2401d3c2af505789c7c3b860a43e973f27731243jvergara# than 80 characters. cpp (or the equivalent built into acomp) does not allow
2401d3c2af505789c7c3b860a43e973f27731243jvergara# continuation line breaks in the formal parameter list. This could be fixed
2401d3c2af505789c7c3b860a43e973f27731243jvergara# by giving shorter names to the formal parameters, but the right fix is to
2401d3c2af505789c7c3b860a43e973f27731243jvergara# fix cpp. (Also, /* CSTYLED */ doesn't seem to fix this.
2401d3c2af505789c7c3b860a43e973f27731243jvergaradevops.check := CSTYLE_TAIL = | grep -v "line > 80 characters" | true
2401d3c2af505789c7c3b860a43e973f27731243jvergara.PARALLEL: $(CHECKHDRS) $(ROOTHDRS) $(ROOTAUDHDRS) $(ROOTAUDIMPLHDRS) \
2401d3c2af505789c7c3b860a43e973f27731243jvergara $(ROOTSCSIADHDRS) $(ROOTSCSITARGHDRS) $(ROOTXHDRS) \