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