xref: /illumos-gate/usr/src/uts/common/smb/Makefile (revision adee6784)
1148c5f43SAlan Wright#
2148c5f43SAlan Wright# CDDL HEADER START
3148c5f43SAlan Wright#
4148c5f43SAlan Wright# The contents of this file are subject to the terms of the
5148c5f43SAlan Wright# Common Development and Distribution License (the "License").
6148c5f43SAlan Wright# You may not use this file except in compliance with the License.
7148c5f43SAlan Wright#
8148c5f43SAlan Wright# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9148c5f43SAlan Wright# or http://www.opensolaris.org/os/licensing.
10148c5f43SAlan Wright# See the License for the specific language governing permissions
11148c5f43SAlan Wright# and limitations under the License.
12148c5f43SAlan Wright#
13148c5f43SAlan Wright# When distributing Covered Code, include this CDDL HEADER in each
14148c5f43SAlan Wright# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15148c5f43SAlan Wright# If applicable, add the following below this CDDL HEADER, with the
16148c5f43SAlan Wright# fields enclosed by brackets "[]" replaced with your own identifying
17148c5f43SAlan Wright# information: Portions Copyright [yyyy] [name of copyright owner]
18148c5f43SAlan Wright#
19148c5f43SAlan Wright# CDDL HEADER END
20148c5f43SAlan Wright#
21148c5f43SAlan Wright
22148c5f43SAlan Wright#
23148c5f43SAlan Wright# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
24*adee6784SGordon Ross# Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
25148c5f43SAlan Wright#
26148c5f43SAlan Wright
27148c5f43SAlan Wrightinclude ../../../Makefile.master
28148c5f43SAlan Wright
29148c5f43SAlan WrightHDRS=	\
30148c5f43SAlan Wright	doserror.h		\
31148c5f43SAlan Wright	lmerr.h			\
32*adee6784SGordon Ross	ntaccess.h		\
33148c5f43SAlan Wright	nterror.h		\
343299f39fSGordon Ross	ntstatus.h		\
35*adee6784SGordon Ross	winioctl.h		\
363299f39fSGordon Ross	wintypes.h
37148c5f43SAlan Wright
38148c5f43SAlan Wright
39148c5f43SAlan WrightROOTDIR= $(ROOT)/usr/include/smb
40148c5f43SAlan WrightROOTHDRS= $(HDRS:%=$(ROOTDIR)/%)
41148c5f43SAlan WrightCHECKHDRS= $(HDRS:%.h=%.check)
42148c5f43SAlan Wright
43148c5f43SAlan Wright$(ROOTDIR)/%: %
44148c5f43SAlan Wright	$(INS.file)
45148c5f43SAlan Wright
46148c5f43SAlan Wright$(ROOTDIR):
47148c5f43SAlan Wright	$(INS.dir)
48148c5f43SAlan Wright
49148c5f43SAlan Wright.KEEP_STATE:
50148c5f43SAlan Wright
51148c5f43SAlan Wright.PARALLEL: $(CHECKHDRS)
52148c5f43SAlan Wright
53148c5f43SAlan Wrightinstall_h: $(ROOTDIR) $(ROOTHDRS)
54148c5f43SAlan Wright
55148c5f43SAlan Wrightcheck: $(CHECKHDRS)
56