xref: /illumos-gate/usr/src/uts/common/smbsrv/Makefile (revision 1160dcf7)
1da6c28aaSamw#
2da6c28aaSamw# CDDL HEADER START
3da6c28aaSamw#
4da6c28aaSamw# The contents of this file are subject to the terms of the
5da6c28aaSamw# Common Development and Distribution License (the "License").
6da6c28aaSamw# You may not use this file except in compliance with the License.
7da6c28aaSamw#
8da6c28aaSamw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9da6c28aaSamw# or http://www.opensolaris.org/os/licensing.
10da6c28aaSamw# See the License for the specific language governing permissions
11da6c28aaSamw# and limitations under the License.
12da6c28aaSamw#
13da6c28aaSamw# When distributing Covered Code, include this CDDL HEADER in each
14da6c28aaSamw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15da6c28aaSamw# If applicable, add the following below this CDDL HEADER, with the
16da6c28aaSamw# fields enclosed by brackets "[]" replaced with your own identifying
17da6c28aaSamw# information: Portions Copyright [yyyy] [name of copyright owner]
18da6c28aaSamw#
19da6c28aaSamw# CDDL HEADER END
20da6c28aaSamw#
21da6c28aaSamw#
22148c5f43SAlan Wright# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
23adee6784SGordon Ross# Copyright 2018 Nexenta Systems, Inc.  All rights reserved.
24148c5f43SAlan Wright#
25da6c28aaSamw
26da6c28aaSamwinclude ../../../Makefile.master
27da6c28aaSamw
28da6c28aaSamwHDRS=	alloc.h			\
29da6c28aaSamw	cp_unicode.h		\
30da6c28aaSamw	cp_usascii.h		\
31da6c28aaSamw	hash_table.h		\
32da6c28aaSamw	mac_cifs.h		\
33da6c28aaSamw	mailslot.h		\
34da6c28aaSamw	mbuf.h			\
35da6c28aaSamw	msgbuf.h		\
36da6c28aaSamw	netbios.h		\
37da6c28aaSamw	netrauth.h		\
38da6c28aaSamw	nmpipes.h		\
39da6c28aaSamw	ntifs.h			\
40da6c28aaSamw	ntlocale.h		\
416537f381Sas	smb_sid.h		\
42da6c28aaSamw	smb.h			\
439fb67ea3Safshin salek ardakani - Sun Microsystems - Irvine United States	smb_door.h		\
449fb67ea3Safshin salek ardakani - Sun Microsystems - Irvine United States	smb_dfs.h		\
45da6c28aaSamw	smb_fsops.h		\
46da6c28aaSamw	smb_idmap.h		\
477f667e74Sjose borrego	smb_inet.h		\
48da6c28aaSamw	smb_ioctl.h		\
49*1160dcf7SMatt Barden	smb_kcrypt.h		\
50da6c28aaSamw	smb_kproto.h		\
516537f381Sas	smb_kstat.h		\
52faa1795aSjb	smb_ktypes.h		\
5394047d49SGordon Ross	smb_oplock.h		\
54da6c28aaSamw	smb_privilege.h		\
553db3f65cSamw	smb_share.h		\
56da6c28aaSamw	smb_token.h		\
57da6c28aaSamw	smb_vops.h		\
58da6c28aaSamw	smb_xdr.h		\
59da6c28aaSamw	smbinfo.h		\
60a90cf9f2SGordon Ross	smb2.h			\
61a90cf9f2SGordon Ross	smb2_kproto.h		\
62da6c28aaSamw	string.h		\
63da6c28aaSamw	svrapi.h		\
643299f39fSGordon Ross	winsvc.h
65da6c28aaSamw
66da6c28aaSamwNDLHDRS= dssetup.ndl		\
67da6c28aaSamw	eventlog.ndl		\
68da6c28aaSamw	llsrpc.ndl		\
69da6c28aaSamw	lsarpc.ndl		\
708d7e4166Sjose borrego	msgsvc.ndl		\
71da6c28aaSamw	netdfs.ndl		\
72da6c28aaSamw	netlogon.ndl		\
73da6c28aaSamw	samrpc.ndl		\
74cb174861Sjoyce mcintosh	security.ndl		\
75da6c28aaSamw	spoolss.ndl		\
76da6c28aaSamw	srvsvc.ndl		\
77da6c28aaSamw	svcctl.ndl		\
78da6c28aaSamw	winreg.ndl		\
79da6c28aaSamw
80da6c28aaSamwROOTDIR= $(ROOT)/usr/include/smbsrv
81da6c28aaSamwNDLDIR= $(ROOTDIR)/ndl
82da6c28aaSamwROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) $(NDLHDRS:%=$(ROOTDIR)/ndl/%)
83da6c28aaSamwCHECKHDRS= $(HDRS:%.h=%.check)
84da6c28aaSamw
85da6c28aaSamw$(ROOTDIR)/%: %
86da6c28aaSamw	$(INS.file)
87da6c28aaSamw
88da6c28aaSamw$(NDLDIR)/%: ndl/%
89da6c28aaSamw	$(INS.file)
90da6c28aaSamw
91da6c28aaSamw$(ROOTDIR) $(NDLDIR):
92da6c28aaSamw	$(INS.dir)
93da6c28aaSamw
94da6c28aaSamw.KEEP_STATE:
95da6c28aaSamw
96da6c28aaSamw.PARALLEL: $(CHECKHDRS)
97da6c28aaSamw
98da6c28aaSamwinstall_h: $(ROOTDIR) $(NDLDIR) $(ROOTHDRS)
99da6c28aaSamw
100da6c28aaSamwcheck: $(CHECKHDRS)
101