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