xref: /titanic_41/usr/src/uts/common/smbsrv/Makefile (revision da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0)
1*da6c28aaSamw#
2*da6c28aaSamw# CDDL HEADER START
3*da6c28aaSamw#
4*da6c28aaSamw# The contents of this file are subject to the terms of the
5*da6c28aaSamw# Common Development and Distribution License (the "License").
6*da6c28aaSamw# You may not use this file except in compliance with the License.
7*da6c28aaSamw#
8*da6c28aaSamw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*da6c28aaSamw# or http://www.opensolaris.org/os/licensing.
10*da6c28aaSamw# See the License for the specific language governing permissions
11*da6c28aaSamw# and limitations under the License.
12*da6c28aaSamw#
13*da6c28aaSamw# When distributing Covered Code, include this CDDL HEADER in each
14*da6c28aaSamw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*da6c28aaSamw# If applicable, add the following below this CDDL HEADER, with the
16*da6c28aaSamw# fields enclosed by brackets "[]" replaced with your own identifying
17*da6c28aaSamw# information: Portions Copyright [yyyy] [name of copyright owner]
18*da6c28aaSamw#
19*da6c28aaSamw# CDDL HEADER END
20*da6c28aaSamw#
21*da6c28aaSamw#
22*da6c28aaSamw# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23*da6c28aaSamw# Use is subject to license terms.
24*da6c28aaSamw#
25*da6c28aaSamw# ident	"%Z%%M%	%I%	%E% SMI"
26*da6c28aaSamw
27*da6c28aaSamwinclude ../../../Makefile.master
28*da6c28aaSamw
29*da6c28aaSamwHDRS=	alloc.h			\
30*da6c28aaSamw	cifs.h			\
31*da6c28aaSamw	codepage.h		\
32*da6c28aaSamw	cp_cyrillic.h		\
33*da6c28aaSamw	cp_latin1.h		\
34*da6c28aaSamw	cp_latin2.h		\
35*da6c28aaSamw	cp_latin3.h		\
36*da6c28aaSamw	cp_latin4.h		\
37*da6c28aaSamw	cp_latin5.h		\
38*da6c28aaSamw	cp_latin6.h		\
39*da6c28aaSamw	cp_unicode.h		\
40*da6c28aaSamw	cp_usascii.h		\
41*da6c28aaSamw	crypt.h			\
42*da6c28aaSamw	ctype.h			\
43*da6c28aaSamw	doserror.h		\
44*da6c28aaSamw	hash_table.h		\
45*da6c28aaSamw	lm.h			\
46*da6c28aaSamw	lmdfs.h			\
47*da6c28aaSamw	lmerr.h			\
48*da6c28aaSamw	lmshare.h		\
49*da6c28aaSamw	lmshare_door.h		\
50*da6c28aaSamw	lsalib.h		\
51*da6c28aaSamw	mac_cifs.h		\
52*da6c28aaSamw	mailslot.h		\
53*da6c28aaSamw	mbuf.h			\
54*da6c28aaSamw	mlrpc.h			\
55*da6c28aaSamw	mlsvc.h			\
56*da6c28aaSamw	mlsvc_util.h		\
57*da6c28aaSamw	msgbuf.h		\
58*da6c28aaSamw	ndr.h			\
59*da6c28aaSamw	netbios.h		\
60*da6c28aaSamw	netrauth.h		\
61*da6c28aaSamw	nmpipes.h		\
62*da6c28aaSamw	ntaccess.h		\
63*da6c28aaSamw	nterror.h		\
64*da6c28aaSamw	ntifs.h			\
65*da6c28aaSamw	ntlocale.h		\
66*da6c28aaSamw	ntsid.h			\
67*da6c28aaSamw	ntstatus.h		\
68*da6c28aaSamw	oem.h			\
69*da6c28aaSamw	samlib.h		\
70*da6c28aaSamw	smb.h			\
71*da6c28aaSamw	smb_common_door.h	\
72*da6c28aaSamw	smb_door_svc.h		\
73*da6c28aaSamw	smb_fsd.h		\
74*da6c28aaSamw	smb_fsops.h		\
75*da6c28aaSamw	smb_i18n.h		\
76*da6c28aaSamw	smb_idmap.h		\
77*da6c28aaSamw	smb_incl.h		\
78*da6c28aaSamw	smb_ioctl.h		\
79*da6c28aaSamw	smb_kproto.h		\
80*da6c28aaSamw	smb_privilege.h		\
81*da6c28aaSamw	smb_secdesc.h		\
82*da6c28aaSamw	smb_svc_sm.h		\
83*da6c28aaSamw	smb_token.h		\
84*da6c28aaSamw	smb_vops.h		\
85*da6c28aaSamw	smb_winpipe.h		\
86*da6c28aaSamw	smb_xdr.h		\
87*da6c28aaSamw	smbfmt.h		\
88*da6c28aaSamw	smbinfo.h		\
89*da6c28aaSamw	smbtrans.h		\
90*da6c28aaSamw	smbvar.h		\
91*da6c28aaSamw	string.h		\
92*da6c28aaSamw	svrapi.h		\
93*da6c28aaSamw	winioctl.h		\
94*da6c28aaSamw	winsvc.h		\
95*da6c28aaSamw	wintypes.h
96*da6c28aaSamw
97*da6c28aaSamwNDLHDRS= dssetup.ndl		\
98*da6c28aaSamw	eventlog.ndl		\
99*da6c28aaSamw	llsrpc.ndl		\
100*da6c28aaSamw	lsarpc.ndl		\
101*da6c28aaSamw	ndrtypes.ndl		\
102*da6c28aaSamw	netdfs.ndl		\
103*da6c28aaSamw	netlogon.ndl		\
104*da6c28aaSamw	rpcpdu.ndl		\
105*da6c28aaSamw	samrpc.ndl		\
106*da6c28aaSamw	spoolss.ndl		\
107*da6c28aaSamw	srvsvc.ndl		\
108*da6c28aaSamw	svcctl.ndl		\
109*da6c28aaSamw	winreg.ndl		\
110*da6c28aaSamw
111*da6c28aaSamwROOTDIR= $(ROOT)/usr/include/smbsrv
112*da6c28aaSamwNDLDIR= $(ROOTDIR)/ndl
113*da6c28aaSamwROOTHDRS= $(HDRS:%=$(ROOTDIR)/%) $(NDLHDRS:%=$(ROOTDIR)/ndl/%)
114*da6c28aaSamwCHECKHDRS= $(HDRS:%.h=%.check)
115*da6c28aaSamw
116*da6c28aaSamw$(ROOTDIR)/%: %
117*da6c28aaSamw	$(INS.file)
118*da6c28aaSamw
119*da6c28aaSamw$(NDLDIR)/%: ndl/%
120*da6c28aaSamw	$(INS.file)
121*da6c28aaSamw
122*da6c28aaSamw$(ROOTDIR) $(NDLDIR):
123*da6c28aaSamw	$(INS.dir)
124*da6c28aaSamw
125*da6c28aaSamw.KEEP_STATE:
126*da6c28aaSamw
127*da6c28aaSamw.PARALLEL: $(CHECKHDRS)
128*da6c28aaSamw
129*da6c28aaSamwinstall_h: $(ROOTDIR) $(NDLDIR) $(ROOTHDRS)
130*da6c28aaSamw
131*da6c28aaSamwcheck: $(CHECKHDRS)
132