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