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