Makefile revision 88447a05f537aabe9a1bc3d5313f22581ec992a7
1fdd2470b625a58b57d0b155e6caf8c4fc0afe8aAutomatic Updater# CDDL HEADER START
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# The contents of this file are subject to the terms of the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Common Development and Distribution License (the "License").
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You may not use this file except in compliance with the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# See the License for the specific language governing permissions
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# and limitations under the License.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# When distributing Covered Code, include this CDDL HEADER in each
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# If applicable, add the following below this CDDL HEADER, with the
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# fields enclosed by brackets "[]" replaced with your own identifying
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater# information: Portions Copyright [yyyy] [name of copyright owner]
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# CDDL HEADER END
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# Use is subject to license terms.
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# include global definitions
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updaterespcmd.h espreg.h espvar.h fascmd.h fasdma.h \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinCLOSED_SCSIAD = $(CLOSED)/uts/sun/sys/scsi/adapters
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein$(CLOSED_BUILD)ROOTHDRS += $(CLOSED_HDRS:%=$(ROOTDIR)/%)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinROOTSCSIADHDRS= $(SCSIADHDRS:%=$(ROOTDIR)/scsi/adapters/%)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(CLOSED_SCSIADHDRS:%=$(ROOTDIR)/scsi/adapters/%)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob AusteinROOTSCSITARGHDRS= $(SCSITARGHDRS:%=$(ROOTDIR)/scsi/targets/%)
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# install rules
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updater$(ROOTDIR)/scsi/adapters/%: scsi/adapters/%
f293a69bcd1c1dd7bdac8f4102fc2398b9e475c8Eric Luce# check files really don't exist
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(CLOSED_HDRS:%.h=$(CLOSED)/uts/sun/sys/%.check) \
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein $(CLOSED_SCSIADHDRS:%.h=$(CLOSED_SCSIAD)/%.check)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# headers which won't quite meet the standards...
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# devops.h has a macro where the formal parameters to the macro are greater
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# than 80 characters. cpp (or the equivalent built into acomp) does not allow
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# continuation line breaks in the formal parameter list. This could be fixed
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# by giving shorter names to the formal parameters, but the right fix is to
60e5e10f8d2e2b0c41e8abad38cacd867caa6ab2Rob Austein# fix cpp. (Also, /* CSTYLED */ doesn't seem to fix this.
ac93437301f55ed69bf85883a497a75598c628f9Automatic Updaterdevops.check := CSTYLE_TAIL = | grep -v "line > 80 characters" | true
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater.PARALLEL: $(CHECKHDRS) $(ROOTHDRS) $(ROOTAUDHDRS) $(ROOTAUDIMPLHDRS) \
9c6a5d1f22f972232d7a9fd5c5fa64f10bacbdffAutomatic Updater $(ROOTSCSIADHDRS) $(ROOTSCSITARGHDRS) $(ROOTXHDRS) \