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