1# 2# CDDL HEADER START 3# 4# The contents of this file are subject to the terms of the 5# Common Development and Distribution License (the "License"). 6# You may not use this file except in compliance with the License. 7# 8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9# or http://www.opensolaris.org/os/licensing. 10# See the License for the specific language governing permissions 11# and limitations under the License. 12# 13# When distributing Covered Code, include this CDDL HEADER in each 14# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15# If applicable, add the following below this CDDL HEADER, with the 16# fields enclosed by brackets "[]" replaced with your own identifying 17# information: Portions Copyright [yyyy] [name of copyright owner] 18# 19# CDDL HEADER END 20# 21# 22# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23# Use is subject to license terms. 24# 25# ident "%Z%%M% %I% %E% SMI" 26# 27# uts/sun4u/opl/sys/Makefile 28# 29 30 31UTSBASE = ../../.. 32 33# 34# include global definitions 35# 36include ../Makefile.opl 37 38# 39# Override defaults. 40# 41FILEMODE = 644 42OWNER = bin 43GROUP = bin 44 45HDRS= opl_hwdesc.h 46 47CHKHDRS= dm2s.h \ 48 drmach.h \ 49 fiomp.h \ 50 mc-opl.h \ 51 oplkm.h \ 52 oplkm_msg.h 53 54OPLMSUHDRS= oplmsu.h \ 55 oplmsu_proto.h 56 57PCICMUHDRS= pcicmu.h \ 58 pcmu_cb.h \ 59 pcmu_counters.h \ 60 pcmu_ecc.h \ 61 pcmu_err.h \ 62 pcmu_ib.h \ 63 pcmu_pbm.h \ 64 pcmu_types.h \ 65 pcmu_util.h 66 67SCFDHDRS= opcioif.h \ 68 scfdscpif.h \ 69 scfostoescf.h 70 71NGDRHDRS= $(UTSBASE)/sun4u/ngdr/sys/dr.h \ 72 $(UTSBASE)/sun4u/ngdr/sys/dr_util.h 73 74ROOTHDRS= $(HDRS:%=$(USR_OPL_ISYS_DIR)/%) 75 76ROOTDIR= $(ROOT)/usr/share/src 77ROOTDIRS= $(ROOTDIR)/uts $(ROOTDIR)/uts/$(PLATFORM) 78 79CHECKHDRS= $(HDRS:%.h=%.check) \ 80 $(CHKHDRS:%.h=%.check) \ 81 $(OPLMSUHDRS:%.h=oplmsu/%.check) \ 82 $(PCICMUHDRS:%.h=pcicmu/%.check) \ 83 $(SCFDHDRS:%.h=scfd/%.check) \ 84 $(NGDRHDRS:%.h=%.check) 85 86.KEEP_STATE: 87 88.PARALLEL: $(CHECKHDRS) $(ROOTHDRS) 89 90install_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) $(ROOTLINK) 91 92check: $(CHECKHDRS) 93 94# 95# install rules 96# 97$(USR_OPL_ISYS_DIR)/%: % $(USR_OPL_ISYS_DIR) 98 $(INS.file) 99 100$(ROOTDIRS): 101 $(INS.dir.bin.bin) 102 103FRC: 104 105include ../Makefile.targ 106