xref: /onnv-gate/usr/src/uts/sun4u/montecarlo/sys/Makefile (revision 10738:6cd5e5169fec)
10Sstevel@tonic-gate#
20Sstevel@tonic-gate# CDDL HEADER START
30Sstevel@tonic-gate#
40Sstevel@tonic-gate# The contents of this file are subject to the terms of the
51708Sstevel# Common Development and Distribution License (the "License").
61708Sstevel# You may not use this file except in compliance with the License.
70Sstevel@tonic-gate#
80Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
100Sstevel@tonic-gate# See the License for the specific language governing permissions
110Sstevel@tonic-gate# and limitations under the License.
120Sstevel@tonic-gate#
130Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
140Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
160Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
170Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
180Sstevel@tonic-gate#
190Sstevel@tonic-gate# CDDL HEADER END
200Sstevel@tonic-gate#
210Sstevel@tonic-gate#
2210207SJames.McPherson@Sun.COM# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
231708Sstevel# Use is subject to license terms.
240Sstevel@tonic-gate#
250Sstevel@tonic-gateUTSBASE	= ../../..
260Sstevel@tonic-gate
270Sstevel@tonic-gate#
280Sstevel@tonic-gate# include global definitions
290Sstevel@tonic-gate#
300Sstevel@tonic-gateinclude ../Makefile.montecarlo
310Sstevel@tonic-gate
320Sstevel@tonic-gate#
330Sstevel@tonic-gate# Override defaults.
340Sstevel@tonic-gate#
350Sstevel@tonic-gateFILEMODE	 = 644
360Sstevel@tonic-gate
371708SstevelHDRS= scsb_led.h
380Sstevel@tonic-gate
390Sstevel@tonic-gateROOTHDRS=	$(HDRS:%=$(USR_PSM_ISYS_DIR)/%)
400Sstevel@tonic-gate
410Sstevel@tonic-gateROOTDIR=	$(ROOT)/usr/share/src
420Sstevel@tonic-gateROOTDIRS=	$(ROOTDIR)/uts $(ROOTDIR)/uts/$(PLATFORM)
430Sstevel@tonic-gate
440Sstevel@tonic-gateCHECKHDRS=		$(HDRS:%.h=%.check)
450Sstevel@tonic-gate
460Sstevel@tonic-gate.KEEP_STATE:
470Sstevel@tonic-gate
480Sstevel@tonic-gate.PARALLEL: $(CHECKHDRS) $(ROOTHDRS)
490Sstevel@tonic-gate
500Sstevel@tonic-gateinstall_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) $(ROOTLINK)
510Sstevel@tonic-gate
520Sstevel@tonic-gatecheck:	$(CHECKHDRS)
530Sstevel@tonic-gate
540Sstevel@tonic-gate#
550Sstevel@tonic-gate# install rules
560Sstevel@tonic-gate#
571167Skupfer$(USR_PSM_ISYS_DIR)/%: % $(USR_PSM_ISYS_DIR)
581167Skupfer	$(INS.file)
591167Skupfer
600Sstevel@tonic-gate$(ROOTDIRS):
61*10738SJames.McPherson@Sun.COM	$(INS.dir)
620Sstevel@tonic-gate
630Sstevel@tonic-gateFRC:
640Sstevel@tonic-gate
650Sstevel@tonic-gateinclude ../Makefile.targ
66