xref: /titanic_50/usr/src/uts/common/smbsrv/Makefile (revision 09cb82ca24006b806e9f17e2135eef96364facfe)
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 2008 Sun Microsystems, Inc.  All rights reserved.
23# Use is subject to license terms.
24#
25# ident	"%Z%%M%	%I%	%E% SMI"
26
27include ../../../Makefile.master
28
29HDRS=	alloc.h			\
30	cifs.h			\
31	codepage.h		\
32	cp_cyrillic.h		\
33	cp_latin1.h		\
34	cp_latin2.h		\
35	cp_latin3.h		\
36	cp_latin4.h		\
37	cp_latin5.h		\
38	cp_latin6.h		\
39	cp_unicode.h		\
40	cp_usascii.h		\
41	crypt.h			\
42	ctype.h			\
43	doserror.h		\
44	hash_table.h		\
45	lm.h			\
46	lmdfs.h			\
47	lmerr.h			\
48	lsalib.h		\
49	mac_cifs.h		\
50	mailslot.h		\
51	mbuf.h			\
52	mlrpc.h			\
53	mlsvc.h			\
54	mlsvc_util.h		\
55	msgbuf.h		\
56	ndr.h			\
57	netbios.h		\
58	netrauth.h		\
59	nmpipes.h		\
60	ntaccess.h		\
61	nterror.h		\
62	ntifs.h			\
63	ntlocale.h		\
64	smb_sid.h		\
65	ntstatus.h		\
66	oem.h			\
67	samlib.h		\
68	smb.h			\
69	smb_common_door.h	\
70	smb_door_svc.h		\
71	smb_fsd.h		\
72	smb_fsops.h		\
73	smb_i18n.h		\
74	smb_idmap.h		\
75	smb_incl.h		\
76	smb_ioctl.h		\
77	smb_kproto.h		\
78	smb_kstat.h		\
79	smb_ktypes.h		\
80	smb_privilege.h		\
81	smb_share.h		\
82	smb_token.h		\
83	smb_vops.h		\
84	smb_xdr.h		\
85	smbfmt.h		\
86	smbinfo.h		\
87	smbtrans.h		\
88	string.h		\
89	svrapi.h		\
90	winioctl.h		\
91	winsvc.h		\
92	wintypes.h
93
94NDLHDRS= dssetup.ndl		\
95	eventlog.ndl		\
96	llsrpc.ndl		\
97	lsarpc.ndl		\
98	ndrtypes.ndl		\
99	netdfs.ndl		\
100	netlogon.ndl		\
101	rpcpdu.ndl		\
102	samrpc.ndl		\
103	spoolss.ndl		\
104	srvsvc.ndl		\
105	svcctl.ndl		\
106	winreg.ndl		\
107
108ROOTDIR= $(ROOT)/usr/include/smbsrv
109NDLDIR= $(ROOTDIR)/ndl
110ROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) $(NDLHDRS:%=$(ROOTDIR)/ndl/%)
111CHECKHDRS= $(HDRS:%.h=%.check)
112
113$(ROOTDIR)/%: %
114	$(INS.file)
115
116$(NDLDIR)/%: ndl/%
117	$(INS.file)
118
119$(ROOTDIR) $(NDLDIR):
120	$(INS.dir)
121
122.KEEP_STATE:
123
124.PARALLEL: $(CHECKHDRS)
125
126install_h: $(ROOTDIR) $(NDLDIR) $(ROOTHDRS)
127
128check: $(CHECKHDRS)
129