xref: /illumos-gate/usr/src/uts/common/smbsrv/Makefile (revision 48633f182599946aebd63dccdc852ad722b57d0e)
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	cifs.h			\
29	codepage.h		\
30	cp_cyrillic.h		\
31	cp_latin1.h		\
32	cp_latin2.h		\
33	cp_latin3.h		\
34	cp_latin4.h		\
35	cp_latin5.h		\
36	cp_latin6.h		\
37	cp_unicode.h		\
38	cp_usascii.h		\
39	ctype.h			\
40	doserror.h		\
41	hash_table.h		\
42	lm.h			\
43	lmdfs.h			\
44	lmerr.h			\
45	mac_cifs.h		\
46	mailslot.h		\
47	mbuf.h			\
48	msgbuf.h		\
49	ndr.h			\
50	netbios.h		\
51	netrauth.h		\
52	nmpipes.h		\
53	ntaccess.h		\
54	nterror.h		\
55	ntifs.h			\
56	ntlocale.h		\
57	smb_sid.h		\
58	ntstatus.h		\
59	oem.h			\
60	smb.h			\
61	smb_common_door.h	\
62	smb_door_svc.h		\
63	smb_fsops.h		\
64	smb_i18n.h		\
65	smb_idmap.h		\
66	smb_incl.h		\
67	smb_inet.h		\
68	smb_ioctl.h		\
69	smb_kproto.h		\
70	smb_kstat.h		\
71	smb_ktypes.h		\
72	smb_privilege.h		\
73	smb_share.h		\
74	smb_token.h		\
75	smb_vops.h		\
76	smb_xdr.h		\
77	smbfmt.h		\
78	smbinfo.h		\
79	string.h		\
80	svrapi.h		\
81	winioctl.h		\
82	winsvc.h		\
83	wintypes.h
84
85NDLHDRS= dssetup.ndl		\
86	eventlog.ndl		\
87	llsrpc.ndl		\
88	lsarpc.ndl		\
89	msgsvc.ndl		\
90	ndrtypes.ndl		\
91	netdfs.ndl		\
92	netlogon.ndl		\
93	rpcpdu.ndl		\
94	samrpc.ndl		\
95	spoolss.ndl		\
96	srvsvc.ndl		\
97	svcctl.ndl		\
98	winreg.ndl		\
99
100ROOTDIR= $(ROOT)/usr/include/smbsrv
101NDLDIR= $(ROOTDIR)/ndl
102ROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) $(NDLHDRS:%=$(ROOTDIR)/ndl/%)
103CHECKHDRS= $(HDRS:%.h=%.check)
104
105$(ROOTDIR)/%: %
106	$(INS.file)
107
108$(NDLDIR)/%: ndl/%
109	$(INS.file)
110
111$(ROOTDIR) $(NDLDIR):
112	$(INS.dir)
113
114.KEEP_STATE:
115
116.PARALLEL: $(CHECKHDRS)
117
118install_h: $(ROOTDIR) $(NDLDIR) $(ROOTHDRS)
119
120check: $(CHECKHDRS)
121