xref: /titanic_50/usr/src/uts/common/smbsrv/Makefile (revision e3ffd6e13f33aa6f350ad293275d238d628ffaa5)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#
22# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
23# Copyright 2015 Nexenta Systems, Inc.  All rights reserved.
24#
25
26include ../../../Makefile.master
27
28HDRS=	alloc.h			\
29	cp_unicode.h		\
30	cp_usascii.h		\
31	hash_table.h		\
32	mac_cifs.h		\
33	mailslot.h		\
34	mbuf.h			\
35	msgbuf.h		\
36	ndr.h			\
37	netbios.h		\
38	netrauth.h		\
39	nmpipes.h		\
40	ntaccess.h		\
41	ntifs.h			\
42	ntlocale.h		\
43	smb_sid.h		\
44	smb.h			\
45	smb_door.h		\
46	smb_dfs.h		\
47	smb_fsops.h		\
48	smb_idmap.h		\
49	smb_inet.h		\
50	smb_ioctl.h		\
51	smb_kproto.h		\
52	smb_kstat.h		\
53	smb_ktypes.h		\
54	smb_privilege.h		\
55	smb_share.h		\
56	smb_signing.h		\
57	smb_token.h		\
58	smb_vops.h		\
59	smb_xdr.h		\
60	smbinfo.h		\
61	smb2.h			\
62	smb2_kproto.h		\
63	string.h		\
64	svrapi.h		\
65	winioctl.h		\
66	winsvc.h		\
67	wintypes.h
68
69NDLHDRS= dssetup.ndl		\
70	eventlog.ndl		\
71	llsrpc.ndl		\
72	lsarpc.ndl		\
73	msgsvc.ndl		\
74	ndrtypes.ndl		\
75	netdfs.ndl		\
76	netlogon.ndl		\
77	rpcpdu.ndl		\
78	samrpc.ndl		\
79	security.ndl		\
80	spoolss.ndl		\
81	srvsvc.ndl		\
82	svcctl.ndl		\
83	winreg.ndl		\
84
85ROOTDIR= $(ROOT)/usr/include/smbsrv
86NDLDIR= $(ROOTDIR)/ndl
87ROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) $(NDLHDRS:%=$(ROOTDIR)/ndl/%)
88CHECKHDRS= $(HDRS:%.h=%.check)
89
90$(ROOTDIR)/%: %
91	$(INS.file)
92
93$(NDLDIR)/%: ndl/%
94	$(INS.file)
95
96$(ROOTDIR) $(NDLDIR):
97	$(INS.dir)
98
99.KEEP_STATE:
100
101.PARALLEL: $(CHECKHDRS)
102
103install_h: $(ROOTDIR) $(NDLDIR) $(ROOTHDRS)
104
105check: $(CHECKHDRS)
106