125cf1a30Sjl139090# 225cf1a30Sjl139090# CDDL HEADER START 325cf1a30Sjl139090# 425cf1a30Sjl139090# The contents of this file are subject to the terms of the 525cf1a30Sjl139090# Common Development and Distribution License (the "License"). 625cf1a30Sjl139090# You may not use this file except in compliance with the License. 725cf1a30Sjl139090# 825cf1a30Sjl139090# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 925cf1a30Sjl139090# or http://www.opensolaris.org/os/licensing. 1025cf1a30Sjl139090# See the License for the specific language governing permissions 1125cf1a30Sjl139090# and limitations under the License. 1225cf1a30Sjl139090# 1325cf1a30Sjl139090# When distributing Covered Code, include this CDDL HEADER in each 1425cf1a30Sjl139090# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1525cf1a30Sjl139090# If applicable, add the following below this CDDL HEADER, with the 1625cf1a30Sjl139090# fields enclosed by brackets "[]" replaced with your own identifying 1725cf1a30Sjl139090# information: Portions Copyright [yyyy] [name of copyright owner] 1825cf1a30Sjl139090# 1925cf1a30Sjl139090# CDDL HEADER END 2025cf1a30Sjl139090# 2125cf1a30Sjl139090# 22*24fe0b3bSjmcp# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 2325cf1a30Sjl139090# Use is subject to license terms. 2425cf1a30Sjl139090# 2525cf1a30Sjl139090# uts/sun4u/opl/sys/Makefile 2625cf1a30Sjl139090# 2725cf1a30Sjl139090 2825cf1a30Sjl139090 2925cf1a30Sjl139090UTSBASE = ../../.. 3025cf1a30Sjl139090 3125cf1a30Sjl139090# 3225cf1a30Sjl139090# include global definitions 3325cf1a30Sjl139090# 3425cf1a30Sjl139090include ../Makefile.opl 3525cf1a30Sjl139090 3625cf1a30Sjl139090# 3725cf1a30Sjl139090# Override defaults. 3825cf1a30Sjl139090# 3925cf1a30Sjl139090FILEMODE = 644 4025cf1a30Sjl139090 4125cf1a30Sjl139090HDRS= opl_hwdesc.h 4225cf1a30Sjl139090 4325cf1a30Sjl139090CHKHDRS= dm2s.h \ 4425cf1a30Sjl139090 drmach.h \ 4525cf1a30Sjl139090 fiomp.h \ 4625cf1a30Sjl139090 mc-opl.h \ 4725cf1a30Sjl139090 oplkm.h \ 4825cf1a30Sjl139090 oplkm_msg.h 4925cf1a30Sjl139090 5025cf1a30Sjl139090OPLMSUHDRS= oplmsu.h \ 5125cf1a30Sjl139090 oplmsu_proto.h 5225cf1a30Sjl139090 5325cf1a30Sjl139090PCICMUHDRS= pcicmu.h \ 5425cf1a30Sjl139090 pcmu_cb.h \ 5525cf1a30Sjl139090 pcmu_counters.h \ 5625cf1a30Sjl139090 pcmu_ecc.h \ 5725cf1a30Sjl139090 pcmu_err.h \ 5825cf1a30Sjl139090 pcmu_ib.h \ 5925cf1a30Sjl139090 pcmu_pbm.h \ 6025cf1a30Sjl139090 pcmu_types.h \ 6125cf1a30Sjl139090 pcmu_util.h 6225cf1a30Sjl139090 637b77b017SjimandSCFDHDRS= opcioif.h \ 6425cf1a30Sjl139090 scfdscpif.h \ 657b77b017Sjimand scfostoescf.h 6625cf1a30Sjl139090 6725cf1a30Sjl139090NGDRHDRS= $(UTSBASE)/sun4u/ngdr/sys/dr.h \ 6825cf1a30Sjl139090 $(UTSBASE)/sun4u/ngdr/sys/dr_util.h 6925cf1a30Sjl139090 7025cf1a30Sjl139090ROOTHDRS= $(HDRS:%=$(USR_OPL_ISYS_DIR)/%) 7125cf1a30Sjl139090 7225cf1a30Sjl139090ROOTDIR= $(ROOT)/usr/share/src 7325cf1a30Sjl139090ROOTDIRS= $(ROOTDIR)/uts $(ROOTDIR)/uts/$(PLATFORM) 7425cf1a30Sjl139090 7525cf1a30Sjl139090CHECKHDRS= $(HDRS:%.h=%.check) \ 7625cf1a30Sjl139090 $(CHKHDRS:%.h=%.check) \ 7725cf1a30Sjl139090 $(OPLMSUHDRS:%.h=oplmsu/%.check) \ 7825cf1a30Sjl139090 $(PCICMUHDRS:%.h=pcicmu/%.check) \ 7925cf1a30Sjl139090 $(SCFDHDRS:%.h=scfd/%.check) \ 8025cf1a30Sjl139090 $(NGDRHDRS:%.h=%.check) 8125cf1a30Sjl139090 8225cf1a30Sjl139090.KEEP_STATE: 8325cf1a30Sjl139090 8425cf1a30Sjl139090.PARALLEL: $(CHECKHDRS) $(ROOTHDRS) 8525cf1a30Sjl139090 8625cf1a30Sjl139090install_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) $(ROOTLINK) 8725cf1a30Sjl139090 8825cf1a30Sjl139090check: $(CHECKHDRS) 8925cf1a30Sjl139090 9025cf1a30Sjl139090# 9125cf1a30Sjl139090# install rules 9225cf1a30Sjl139090# 9325cf1a30Sjl139090$(USR_OPL_ISYS_DIR)/%: % $(USR_OPL_ISYS_DIR) 9425cf1a30Sjl139090 $(INS.file) 9525cf1a30Sjl139090 9625cf1a30Sjl139090FRC: 9725cf1a30Sjl139090 9825cf1a30Sjl139090include ../Makefile.targ 99