xref: /titanic_50/usr/src/uts/common/smbsrv/Makefile (revision a23420cf95f05ac67f2c299116a3225581e519d1)
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 2010 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	lmerr.h			\
33	mac_cifs.h		\
34	mailslot.h		\
35	mbuf.h			\
36	msgbuf.h		\
37	ndr.h			\
38	netbios.h		\
39	netrauth.h		\
40	nmpipes.h		\
41	ntaccess.h		\
42	nterror.h		\
43	ntifs.h			\
44	ntlocale.h		\
45	smb_sid.h		\
46	ntstatus.h		\
47	smb.h			\
48	smb_door.h		\
49	smb_dfs.h		\
50	smb_fsops.h		\
51	smb_idmap.h		\
52	smb_inet.h		\
53	smb_ioctl.h		\
54	smb_kproto.h		\
55	smb_kstat.h		\
56	smb_ktypes.h		\
57	smb_privilege.h		\
58	smb_share.h		\
59	smb_token.h		\
60	smb_vops.h		\
61	smb_xdr.h		\
62	smbinfo.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	spoolss.ndl		\
80	srvsvc.ndl		\
81	svcctl.ndl		\
82	winreg.ndl		\
83
84ROOTDIR= $(ROOT)/usr/include/smbsrv
85NDLDIR= $(ROOTDIR)/ndl
86ROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) $(NDLHDRS:%=$(ROOTDIR)/ndl/%)
87CHECKHDRS= $(HDRS:%.h=%.check)
88
89$(ROOTDIR)/%: %
90	$(INS.file)
91
92$(NDLDIR)/%: ndl/%
93	$(INS.file)
94
95$(ROOTDIR) $(NDLDIR):
96	$(INS.dir)
97
98.KEEP_STATE:
99
100.PARALLEL: $(CHECKHDRS)
101
102install_h: $(ROOTDIR) $(NDLDIR) $(ROOTHDRS)
103
104check: $(CHECKHDRS)
105