xref: /titanic_44/usr/src/uts/common/smbsrv/Makefile (revision edcc07547a39d6570197493a9836083bd6b2a197)
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 2007 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_privilege.h		\
81	smb_svc_sm.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	smbvar.h		\
90	string.h		\
91	svrapi.h		\
92	winioctl.h		\
93	winsvc.h		\
94	wintypes.h
95
96NDLHDRS= dssetup.ndl		\
97	eventlog.ndl		\
98	llsrpc.ndl		\
99	lsarpc.ndl		\
100	ndrtypes.ndl		\
101	netdfs.ndl		\
102	netlogon.ndl		\
103	rpcpdu.ndl		\
104	samrpc.ndl		\
105	spoolss.ndl		\
106	srvsvc.ndl		\
107	svcctl.ndl		\
108	winreg.ndl		\
109
110ROOTDIR= $(ROOT)/usr/include/smbsrv
111NDLDIR= $(ROOTDIR)/ndl
112ROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) $(NDLHDRS:%=$(ROOTDIR)/ndl/%)
113CHECKHDRS= $(HDRS:%.h=%.check)
114
115$(ROOTDIR)/%: %
116	$(INS.file)
117
118$(NDLDIR)/%: ndl/%
119	$(INS.file)
120
121$(ROOTDIR) $(NDLDIR):
122	$(INS.dir)
123
124.KEEP_STATE:
125
126.PARALLEL: $(CHECKHDRS)
127
128install_h: $(ROOTDIR) $(NDLDIR) $(ROOTHDRS)
129
130check: $(CHECKHDRS)
131