xref: /titanic_51/usr/src/uts/common/smbsrv/Makefile (revision a563a037ee1e9e7c39304f3775eb7327ab86b914)
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	lmshare.h		\
49	lmshare_door.h		\
50	lsalib.h		\
51	mac_cifs.h		\
52	mailslot.h		\
53	mbuf.h			\
54	mlrpc.h			\
55	mlsvc.h			\
56	mlsvc_util.h		\
57	msgbuf.h		\
58	ndr.h			\
59	netbios.h		\
60	netrauth.h		\
61	nmpipes.h		\
62	ntaccess.h		\
63	nterror.h		\
64	ntifs.h			\
65	ntlocale.h		\
66	ntsid.h			\
67	ntstatus.h		\
68	oem.h			\
69	samlib.h		\
70	smb.h			\
71	smb_common_door.h	\
72	smb_door_svc.h		\
73	smb_fsd.h		\
74	smb_fsops.h		\
75	smb_i18n.h		\
76	smb_idmap.h		\
77	smb_incl.h		\
78	smb_ioctl.h		\
79	smb_kproto.h		\
80	smb_ktypes.h		\
81	smb_privilege.h		\
82	smb_token.h		\
83	smb_vops.h		\
84	smb_winpipe.h		\
85	smb_xdr.h		\
86	smbfmt.h		\
87	smbinfo.h		\
88	smbtrans.h		\
89	string.h		\
90	svrapi.h		\
91	winioctl.h		\
92	winsvc.h		\
93	wintypes.h
94
95NDLHDRS= dssetup.ndl		\
96	eventlog.ndl		\
97	llsrpc.ndl		\
98	lsarpc.ndl		\
99	ndrtypes.ndl		\
100	netdfs.ndl		\
101	netlogon.ndl		\
102	rpcpdu.ndl		\
103	samrpc.ndl		\
104	spoolss.ndl		\
105	srvsvc.ndl		\
106	svcctl.ndl		\
107	winreg.ndl		\
108
109ROOTDIR= $(ROOT)/usr/include/smbsrv
110NDLDIR= $(ROOTDIR)/ndl
111ROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) $(NDLHDRS:%=$(ROOTDIR)/ndl/%)
112CHECKHDRS= $(HDRS:%.h=%.check)
113
114$(ROOTDIR)/%: %
115	$(INS.file)
116
117$(NDLDIR)/%: ndl/%
118	$(INS.file)
119
120$(ROOTDIR) $(NDLDIR):
121	$(INS.dir)
122
123.KEEP_STATE:
124
125.PARALLEL: $(CHECKHDRS)
126
127install_h: $(ROOTDIR) $(NDLDIR) $(ROOTHDRS)
128
129check: $(CHECKHDRS)
130