xref: /titanic_50/usr/src/lib/smbsrv/libmlsvc/Makefile.com (revision 6ea3c0609e50782557505b88bb391b786bca32c9)
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 (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
23#
24
25LIBRARY =	libmlsvc.a
26VERS =		.1
27
28OBJS_COMMON =		\
29	dfs.o		\
30	dssetup_clnt.o	\
31	dssetup_svc.o	\
32	eventlog_svc.o	\
33	eventlog_log.o	\
34	lsalib.o	\
35	lsar_clnt.o	\
36	lsar_svc.o	\
37	mlsvc_client.o	\
38	mlsvc_domain.o	\
39	mlsvc_init.o	\
40	mlsvc_netr.o	\
41	mlsvc_util.o	\
42	msgsvc_svc.o	\
43	netdfs.o	\
44	netr_auth.o	\
45	netr_logon.o	\
46	samlib.o	\
47	samr_clnt.o	\
48	samr_svc.o	\
49	smb_autohome.o	\
50	smb_logon.o	\
51	smb_share.o	\
52	smb_quota.o	\
53	spoolss_svc.o	\
54	srvsvc_clnt.o	\
55	srvsvc_sd.o	\
56	srvsvc_svc.o	\
57	svcctl_scm.o	\
58	svcctl_svc.o	\
59	winreg_svc.o	\
60	wkssvc_svc.o
61
62# Automatically generated from .ndl files
63NDLLIST =		\
64	dssetup		\
65	eventlog	\
66	lsarpc		\
67	msgsvc		\
68	netdfs		\
69	netlogon	\
70	samrpc		\
71	spoolss		\
72	srvsvc		\
73	svcctl		\
74	winreg
75
76OBJECTS=        $(OBJS_COMMON) $(NDLLIST:%=%_ndr.o)
77
78include ../../../Makefile.lib
79include ../../Makefile.lib
80
81INCS += -I$(SRC)/common/smbsrv
82
83LDLIBS +=	$(MACH_LDLIBS)
84LDLIBS += -lmlrpc -lsmbrdr -lsmb -lsmbns -lshare -lresolv -lnsl -lpkcs11 -lscf	\
85	-lavl -lcmdutils -lnvpair -lsec -luutil -luuid -lgen -lzfs -lc
86
87CPPFLAGS += $(INCS) -D_REENTRANT
88
89SRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)
90
91include ../../Makefile.targ
92include ../../../Makefile.targ
93