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