xref: /titanic_52/usr/src/uts/common/smbsrv/Makefile (revision 69112edd987c28fa551d4f8d9362a84a45365f17)
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 2009 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24
25include ../../../Makefile.master
26
27HDRS=	alloc.h			\
28	cp_unicode.h		\
29	cp_usascii.h		\
30	doserror.h		\
31	hash_table.h		\
32	lmdfs.h			\
33	lmerr.h			\
34	mac_cifs.h		\
35	mailslot.h		\
36	mbuf.h			\
37	msgbuf.h		\
38	ndr.h			\
39	netbios.h		\
40	netrauth.h		\
41	nmpipes.h		\
42	ntaccess.h		\
43	nterror.h		\
44	ntifs.h			\
45	ntlocale.h		\
46	smb_sid.h		\
47	ntstatus.h		\
48	smb.h			\
49	smb_common_door.h	\
50	smb_door_svc.h		\
51	smb_fsops.h		\
52	smb_idmap.h		\
53	smb_inet.h		\
54	smb_ioctl.h		\
55	smb_kproto.h		\
56	smb_kstat.h		\
57	smb_ktypes.h		\
58	smb_privilege.h		\
59	smb_share.h		\
60	smb_token.h		\
61	smb_vops.h		\
62	smb_xdr.h		\
63	smbinfo.h		\
64	string.h		\
65	svrapi.h		\
66	winioctl.h		\
67	winsvc.h		\
68	wintypes.h
69
70NDLHDRS= dssetup.ndl		\
71	eventlog.ndl		\
72	llsrpc.ndl		\
73	lsarpc.ndl		\
74	msgsvc.ndl		\
75	ndrtypes.ndl		\
76	netdfs.ndl		\
77	netlogon.ndl		\
78	rpcpdu.ndl		\
79	samrpc.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