xref: /titanic_44/usr/src/uts/common/smbsrv/Makefile (revision 0fb5f8a660edead5df89090707c18e2bac673f27)
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	"@(#)Makefile	1.6	08/08/07 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_fsops.h		\
72	smb_i18n.h		\
73	smb_idmap.h		\
74	smb_incl.h		\
75	smb_ioctl.h		\
76	smb_kproto.h		\
77	smb_kstat.h		\
78	smb_ktypes.h		\
79	smb_privilege.h		\
80	smb_share.h		\
81	smb_token.h		\
82	smb_vops.h		\
83	smb_xdr.h		\
84	smbfmt.h		\
85	smbinfo.h		\
86	smbtrans.h		\
87	string.h		\
88	svrapi.h		\
89	winioctl.h		\
90	winsvc.h		\
91	wintypes.h
92
93NDLHDRS= dssetup.ndl		\
94	eventlog.ndl		\
95	llsrpc.ndl		\
96	lsarpc.ndl		\
97	ndrtypes.ndl		\
98	netdfs.ndl		\
99	netlogon.ndl		\
100	rpcpdu.ndl		\
101	samrpc.ndl		\
102	spoolss.ndl		\
103	srvsvc.ndl		\
104	svcctl.ndl		\
105	winreg.ndl		\
106
107ROOTDIR= $(ROOT)/usr/include/smbsrv
108NDLDIR= $(ROOTDIR)/ndl
109ROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) $(NDLHDRS:%=$(ROOTDIR)/ndl/%)
110CHECKHDRS= $(HDRS:%.h=%.check)
111
112$(ROOTDIR)/%: %
113	$(INS.file)
114
115$(NDLDIR)/%: ndl/%
116	$(INS.file)
117
118$(ROOTDIR) $(NDLDIR):
119	$(INS.dir)
120
121.KEEP_STATE:
122
123.PARALLEL: $(CHECKHDRS)
124
125install_h: $(ROOTDIR) $(NDLDIR) $(ROOTHDRS)
126
127check: $(CHECKHDRS)
128