xref: /titanic_41/usr/src/uts/common/smb/Makefile (revision 148c5f43199ca0b43fc8e3b643aab11cd66ea327)
1*148c5f43SAlan Wright#
2*148c5f43SAlan Wright# CDDL HEADER START
3*148c5f43SAlan Wright#
4*148c5f43SAlan Wright# The contents of this file are subject to the terms of the
5*148c5f43SAlan Wright# Common Development and Distribution License (the "License").
6*148c5f43SAlan Wright# You may not use this file except in compliance with the License.
7*148c5f43SAlan Wright#
8*148c5f43SAlan Wright# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*148c5f43SAlan Wright# or http://www.opensolaris.org/os/licensing.
10*148c5f43SAlan Wright# See the License for the specific language governing permissions
11*148c5f43SAlan Wright# and limitations under the License.
12*148c5f43SAlan Wright#
13*148c5f43SAlan Wright# When distributing Covered Code, include this CDDL HEADER in each
14*148c5f43SAlan Wright# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*148c5f43SAlan Wright# If applicable, add the following below this CDDL HEADER, with the
16*148c5f43SAlan Wright# fields enclosed by brackets "[]" replaced with your own identifying
17*148c5f43SAlan Wright# information: Portions Copyright [yyyy] [name of copyright owner]
18*148c5f43SAlan Wright#
19*148c5f43SAlan Wright# CDDL HEADER END
20*148c5f43SAlan Wright#
21*148c5f43SAlan Wright
22*148c5f43SAlan Wright#
23*148c5f43SAlan Wright# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24*148c5f43SAlan Wright#
25*148c5f43SAlan Wright
26*148c5f43SAlan Wrightinclude ../../../Makefile.master
27*148c5f43SAlan Wright
28*148c5f43SAlan WrightHDRS=	\
29*148c5f43SAlan Wright	doserror.h		\
30*148c5f43SAlan Wright	lmerr.h			\
31*148c5f43SAlan Wright	nterror.h		\
32*148c5f43SAlan Wright	ntstatus.h
33*148c5f43SAlan Wright
34*148c5f43SAlan Wright
35*148c5f43SAlan WrightROOTDIR= $(ROOT)/usr/include/smb
36*148c5f43SAlan WrightROOTHDRS= $(HDRS:%=$(ROOTDIR)/%)
37*148c5f43SAlan WrightCHECKHDRS= $(HDRS:%.h=%.check)
38*148c5f43SAlan Wright
39*148c5f43SAlan Wright$(ROOTDIR)/%: %
40*148c5f43SAlan Wright	$(INS.file)
41*148c5f43SAlan Wright
42*148c5f43SAlan Wright$(ROOTDIR):
43*148c5f43SAlan Wright	$(INS.dir)
44*148c5f43SAlan Wright
45*148c5f43SAlan Wright.KEEP_STATE:
46*148c5f43SAlan Wright
47*148c5f43SAlan Wright.PARALLEL: $(CHECKHDRS)
48*148c5f43SAlan Wright
49*148c5f43SAlan Wrightinstall_h: $(ROOTDIR) $(ROOTHDRS)
50*148c5f43SAlan Wright
51*148c5f43SAlan Wrightcheck: $(CHECKHDRS)
52