xref: /titanic_41/usr/src/uts/sun4u/sunfire/sys/Makefile (revision 48bc00d6814e04ff3edb32cafe7d1bc580baff68)
129949e86Sstevel#
229949e86Sstevel# CDDL HEADER START
329949e86Sstevel#
429949e86Sstevel# The contents of this file are subject to the terms of the
529949e86Sstevel# Common Development and Distribution License (the "License").
629949e86Sstevel# You may not use this file except in compliance with the License.
729949e86Sstevel#
829949e86Sstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
929949e86Sstevel# or http://www.opensolaris.org/os/licensing.
1029949e86Sstevel# See the License for the specific language governing permissions
1129949e86Sstevel# and limitations under the License.
1229949e86Sstevel#
1329949e86Sstevel# When distributing Covered Code, include this CDDL HEADER in each
1429949e86Sstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1529949e86Sstevel# If applicable, add the following below this CDDL HEADER, with the
1629949e86Sstevel# fields enclosed by brackets "[]" replaced with your own identifying
1729949e86Sstevel# information: Portions Copyright [yyyy] [name of copyright owner]
1829949e86Sstevel#
1929949e86Sstevel# CDDL HEADER END
2029949e86Sstevel#
2129949e86Sstevel
2229949e86Sstevel#
2324fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
2429949e86Sstevel# Use is subject to license terms.
2529949e86Sstevel#
2629949e86Sstevel
2729949e86SstevelUTSBASE	  = ../../..
2829949e86Sstevel
2929949e86Sstevel#
3029949e86Sstevel# include global definitions
3129949e86Sstevel#
3229949e86Sstevelinclude ../Makefile.sunfire
3329949e86Sstevel
3429949e86Sstevel#
3529949e86Sstevel# Override defaults.
3629949e86Sstevel#
3729949e86SstevelFILEMODE	 = 644
3829949e86Sstevel
3903831d35SstevelHDRS=			ac.h environ.h fhc.h simmstat.h sysctrl.h sram.h
4029949e86Sstevel
4129949e86SstevelROOTHDRS=		$(HDRS:%=$(USR_SUNFIRE_ISYS_DIR)/%)
4229949e86Sstevel
4329949e86SstevelROOTDIR=		$(ROOT)/usr/share/src
4429949e86SstevelROOTDIRS=		$(ROOTDIR)/uts $(ROOTDIR)/uts/$(PLATFORM)
4529949e86Sstevel
4629949e86SstevelCHECKHDRS=		$(HDRS:%.h=%.check)
4729949e86Sstevel
4829949e86Sstevel.KEEP_STATE:
4929949e86Sstevel
5029949e86Sstevel.PARALLEL: $(CHECKHDRS) $(ROOTHDRS)
5129949e86Sstevel
5229949e86Sstevelinstall_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) $(ROOTLINK)
5329949e86Sstevel
5429949e86Sstevelcheck:	$(CHECKHDRS)
5529949e86Sstevel
5629949e86Sstevel#
5729949e86Sstevel# install rules
5829949e86Sstevel#
5929949e86Sstevel$(USR_SUNFIRE_ISYS_DIR)/%:	% $(USR_SUNFIRE_ISYS_DIR)
6029949e86Sstevel	$(INS.file)
6129949e86Sstevel
6229949e86Sstevel$(ROOTDIRS):
63*48bc00d6Sjmcp	$(INS.dir)
6429949e86Sstevel
6529949e86SstevelFRC:
6629949e86Sstevel
6729949e86Sstevelinclude ../Makefile.targ
68