Makefile revision 61679b0b6826b0ae7e3f751acd91412fcfa45d1e
213N/A#
213N/A# CDDL HEADER START
213N/A#
213N/A# The contents of this file are subject to the terms of the
213N/A# Common Development and Distribution License (the "License").
213N/A# You may not use this file except in compliance with the License.
213N/A#
213N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
213N/A# or http://www.opensolaris.org/os/licensing.
213N/A# See the License for the specific language governing permissions
213N/A# and limitations under the License.
213N/A#
213N/A# When distributing Covered Code, include this CDDL HEADER in each
213N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
213N/A# If applicable, add the following below this CDDL HEADER, with the
213N/A# fields enclosed by brackets "[]" replaced with your own identifying
213N/A# information: Portions Copyright [yyyy] [name of copyright owner]
213N/A#
213N/A# CDDL HEADER END
213N/A#
213N/A#
213N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
844N/A# Use is subject to license terms.
213N/A#
213N/A#ident "%Z%%M% %I% %E% SMI"
213N/A#
213N/A
213N/Ainclude ../../../Makefile.master
213N/A
213N/AHDRS= \
213N/A archsystm.h \
844N/A asm_linkage.h \
844N/A cmpregs.h \
213N/A cpu.h \
213N/A ddi_isa.h \
213N/A fasttrap_isa.h \
213N/A frame.h \
213N/A fsr.h \
213N/A inline.h \
213N/A kdi_machimpl.h \
213N/A machlock.h \
213N/A machsig.h \
213N/A machtypes.h \
213N/A old_procfs.h \
213N/A pcb.h \
213N/A procfs_isa.h \
213N/A psw.h \
213N/A reg.h \
213N/A regset.h \
213N/A spl.h \
213N/A stack.h \
213N/A stat_impl.h \
213N/A synch32.h \
213N/A trap.h \
213N/A ucontext.h \
213N/A utrap.h \
213N/A vmparam.h \
213N/A sysconfig_impl.h
213N/A
213N/AFPUHDRS= \
213N/A fpu_simulator.h \
213N/A fpusystm.h \
213N/A globals.h \
ieee.h
FMCPUHDRS= \
UltraSPARC-II.h \
UltraSPARC-III.h \
UltraSPARC-T1.h \
SPARC64-VI.h
ROOTDIR= $(ROOT)/usr/include/sys
ROOTDIRS= \
$(ROOTDIR) \
$(ROOTDIR)/fm/cpu \
$(ROOTDIR)/fpu
ROOTHDRS= $(HDRS:%=$(ROOTDIR)/%)
ROOTFPUHDRS= $(FPUHDRS:%=$(ROOTDIR)/fpu/%)
ROOTFMCPUHDRS= $(FMCPUHDRS:%=$(ROOTDIR)/fm/cpu/%)
fpu/%.check: fpu/%.h
$(DOT_H_CHECK)
fm/cpu/%.check: fm/cpu/%.h
$(DOT_H_CHECK)
CHECKHDRS= \
$(HDRS:%.h=%.check) \
$(FPUHDRS:%.h=fpu/%.check) \
$(FMCPUHDRS:%.h=fm/cpu/%.check)
# install rules
$(ROOTDIR)/%: %
$(INS.file)
$(ROOTDIR)/fpu/%: fpu/%
$(INS.file)
$(ROOTDIR)/fm/cpu/%: fm/cpu/%
$(INS.file)
.KEEP_STATE:
.PARALLEL: $(CHECKHDRS) $(ROOTHDRS) $(ROOTFPUHDRS) $(ROOTFMCPUHDRS)
install_h: $(ROOTDIRS) .WAIT $(ROOTHDRS) $(ROOTFPUHDRS) $(ROOTFMCPUHDRS)
$(ROOTDIRS):
$(INS.dir)
check: $(CHECKHDRS)