xref: /titanic_41/usr/src/uts/common/smbsrv/Makefile (revision b6805bf78d2bbbeeaea8909a05623587b42d58b3)
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#
24
25include ../../../Makefile.master
26
27HDRS=	alloc.h			\
28	cp_unicode.h		\
29	cp_usascii.h		\
30	hash_table.h		\
31	mac_cifs.h		\
32	mailslot.h		\
33	mbuf.h			\
34	msgbuf.h		\
35	ndr.h			\
36	netbios.h		\
37	netrauth.h		\
38	nmpipes.h		\
39	ntaccess.h		\
40	ntifs.h			\
41	ntlocale.h		\
42	smb_sid.h		\
43	smb.h			\
44	smb_door.h		\
45	smb_dfs.h		\
46	smb_fsops.h		\
47	smb_idmap.h		\
48	smb_inet.h		\
49	smb_ioctl.h		\
50	smb_kproto.h		\
51	smb_kstat.h		\
52	smb_ktypes.h		\
53	smb_privilege.h		\
54	smb_share.h		\
55	smb_token.h		\
56	smb_vops.h		\
57	smb_xdr.h		\
58	smbinfo.h		\
59	string.h		\
60	svrapi.h		\
61	winioctl.h		\
62	winsvc.h		\
63	wintypes.h
64
65NDLHDRS= dssetup.ndl		\
66	eventlog.ndl		\
67	llsrpc.ndl		\
68	lsarpc.ndl		\
69	msgsvc.ndl		\
70	ndrtypes.ndl		\
71	netdfs.ndl		\
72	netlogon.ndl		\
73	rpcpdu.ndl		\
74	samrpc.ndl		\
75	security.ndl		\
76	spoolss.ndl		\
77	srvsvc.ndl		\
78	svcctl.ndl		\
79	winreg.ndl		\
80
81ROOTDIR= $(ROOT)/usr/include/smbsrv
82NDLDIR= $(ROOTDIR)/ndl
83ROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) $(NDLHDRS:%=$(ROOTDIR)/ndl/%)
84CHECKHDRS= $(HDRS:%.h=%.check)
85
86$(ROOTDIR)/%: %
87	$(INS.file)
88
89$(NDLDIR)/%: ndl/%
90	$(INS.file)
91
92$(ROOTDIR) $(NDLDIR):
93	$(INS.dir)
94
95.KEEP_STATE:
96
97.PARALLEL: $(CHECKHDRS)
98
99install_h: $(ROOTDIR) $(NDLDIR) $(ROOTHDRS)
100
101check: $(CHECKHDRS)
102