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