xref: /onnv-gate/usr/src/uts/sparc/asm/Makefile (revision 713:c30b3a99e7aa)
1*713Swesolows#
2*713Swesolows# CDDL HEADER START
3*713Swesolows#
4*713Swesolows# The contents of this file are subject to the terms of the
5*713Swesolows# Common Development and Distribution License (the "License").
6*713Swesolows# You may not use this file except in compliance with the License.
7*713Swesolows#
8*713Swesolows# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*713Swesolows# or http://www.opensolaris.org/os/licensing.
10*713Swesolows# See the License for the specific language governing permissions
11*713Swesolows# and limitations under the License.
12*713Swesolows#
13*713Swesolows# When distributing Covered Code, include this CDDL HEADER in each
14*713Swesolows# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*713Swesolows# If applicable, add the following below this CDDL HEADER, with the
16*713Swesolows# fields enclosed by brackets "[]" replaced with your own identifying
17*713Swesolows# information: Portions Copyright [yyyy] [name of copyright owner]
18*713Swesolows#
19*713Swesolows# CDDL HEADER END
20*713Swesolows#
21*713Swesolows
22*713Swesolows#
23*713Swesolows# Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
24*713Swesolows# Use is subject to license terms.
25*713Swesolows#
26*713Swesolows# ident	"%Z%%M%	%I%	%E% SMI"
27*713Swesolows#
28*713Swesolows
29*713Swesolows# include global definitions
30*713Swesolowsinclude ../../../Makefile.master
31*713Swesolows
32*713SwesolowsHDRS	=			\
33*713Swesolows	flush.h			\
34*713Swesolows	sunddi.h		\
35*713Swesolows	thread.h
36*713Swesolows
37*713SwesolowsROOTDIR=	$(ROOT)/usr/include/asm
38*713SwesolowsROOTDIRS=	$(ROOTDIR)
39*713Swesolows
40*713SwesolowsROOTHDRS= $(HDRS:%=$(ROOTDIR)/%)
41*713Swesolows
42*713SwesolowsCHECKHDRS= $(HDRS:%.h=%.check)
43*713Swesolows
44*713Swesolows# install rules
45*713Swesolows$(ROOTDIR)/%: %
46*713Swesolows	$(INS.file)
47*713Swesolows
48*713Swesolows.KEEP_STATE:
49*713Swesolows
50*713Swesolows.PARALLEL: $(CHECKHDRS) $(ROOTHDRS)
51*713Swesolows
52*713Swesolowsinstall_h: $(ROOTDIRS) .WAIT $(ROOTHDRS)
53*713Swesolows
54*713Swesolows$(ROOTDIRS):
55*713Swesolows	$(INS.dir)
56*713Swesolows
57*713Swesolowscheck:	$(CHECKHDRS)
58