xref: /titanic_41/usr/src/uts/common/smbsrv/Makefile (revision 9fb67ea305c66b6a297583b9b0db6796b0dfe497)
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#
22*9fb67ea3Safshin salek ardakani - Sun Microsystems - Irvine United States# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
23da6c28aaSamw# Use is subject to license terms.
24da6c28aaSamw
25da6c28aaSamwinclude ../../../Makefile.master
26da6c28aaSamw
27da6c28aaSamwHDRS=	alloc.h			\
28da6c28aaSamw	cp_unicode.h		\
29da6c28aaSamw	cp_usascii.h		\
30da6c28aaSamw	doserror.h		\
31da6c28aaSamw	hash_table.h		\
32da6c28aaSamw	lmerr.h			\
33da6c28aaSamw	mac_cifs.h		\
34da6c28aaSamw	mailslot.h		\
35da6c28aaSamw	mbuf.h			\
36da6c28aaSamw	msgbuf.h		\
37da6c28aaSamw	ndr.h			\
38da6c28aaSamw	netbios.h		\
39da6c28aaSamw	netrauth.h		\
40da6c28aaSamw	nmpipes.h		\
41da6c28aaSamw	ntaccess.h		\
42da6c28aaSamw	nterror.h		\
43da6c28aaSamw	ntifs.h			\
44da6c28aaSamw	ntlocale.h		\
456537f381Sas200622	smb_sid.h		\
46da6c28aaSamw	ntstatus.h		\
47da6c28aaSamw	smb.h			\
48*9fb67ea3Safshin salek ardakani - Sun Microsystems - Irvine United States	smb_door.h		\
49*9fb67ea3Safshin salek ardakani - Sun Microsystems - Irvine United States	smb_dfs.h		\
50da6c28aaSamw	smb_fsops.h		\
51da6c28aaSamw	smb_idmap.h		\
527f667e74Sjose borrego	smb_inet.h		\
53da6c28aaSamw	smb_ioctl.h		\
54da6c28aaSamw	smb_kproto.h		\
556537f381Sas200622	smb_kstat.h		\
56faa1795aSjb150015	smb_ktypes.h		\
57da6c28aaSamw	smb_privilege.h		\
583db3f65cSamw	smb_share.h		\
59da6c28aaSamw	smb_token.h		\
60da6c28aaSamw	smb_vops.h		\
61da6c28aaSamw	smb_xdr.h		\
62da6c28aaSamw	smbinfo.h		\
63da6c28aaSamw	string.h		\
64da6c28aaSamw	svrapi.h		\
65da6c28aaSamw	winioctl.h		\
66da6c28aaSamw	winsvc.h		\
67da6c28aaSamw	wintypes.h
68da6c28aaSamw
69da6c28aaSamwNDLHDRS= dssetup.ndl		\
70da6c28aaSamw	eventlog.ndl		\
71da6c28aaSamw	llsrpc.ndl		\
72da6c28aaSamw	lsarpc.ndl		\
738d7e4166Sjose borrego	msgsvc.ndl		\
74da6c28aaSamw	ndrtypes.ndl		\
75da6c28aaSamw	netdfs.ndl		\
76da6c28aaSamw	netlogon.ndl		\
77da6c28aaSamw	rpcpdu.ndl		\
78da6c28aaSamw	samrpc.ndl		\
79da6c28aaSamw	spoolss.ndl		\
80da6c28aaSamw	srvsvc.ndl		\
81da6c28aaSamw	svcctl.ndl		\
82da6c28aaSamw	winreg.ndl		\
83da6c28aaSamw
84da6c28aaSamwROOTDIR= $(ROOT)/usr/include/smbsrv
85da6c28aaSamwNDLDIR= $(ROOTDIR)/ndl
86da6c28aaSamwROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) $(NDLHDRS:%=$(ROOTDIR)/ndl/%)
87da6c28aaSamwCHECKHDRS= $(HDRS:%.h=%.check)
88da6c28aaSamw
89da6c28aaSamw$(ROOTDIR)/%: %
90da6c28aaSamw	$(INS.file)
91da6c28aaSamw
92da6c28aaSamw$(NDLDIR)/%: ndl/%
93da6c28aaSamw	$(INS.file)
94da6c28aaSamw
95da6c28aaSamw$(ROOTDIR) $(NDLDIR):
96da6c28aaSamw	$(INS.dir)
97da6c28aaSamw
98da6c28aaSamw.KEEP_STATE:
99da6c28aaSamw
100da6c28aaSamw.PARALLEL: $(CHECKHDRS)
101da6c28aaSamw
102da6c28aaSamwinstall_h: $(ROOTDIR) $(NDLDIR) $(ROOTHDRS)
103da6c28aaSamw
104da6c28aaSamwcheck: $(CHECKHDRS)
105