xref: /titanic_41/usr/src/lib/smbsrv/libmlsvc/Makefile.com (revision 7206bf49b1fe641544165ee97f63856da95e0868)
1da6c28aaSamw#
2da6c28aaSamw# CDDL HEADER START
3da6c28aaSamw#
4da6c28aaSamw# The contents of this file are subject to the terms of the
5da6c28aaSamw# Common Development and Distribution License (the "License").
6da6c28aaSamw# You may not use this file except in compliance with the License.
7da6c28aaSamw#
8da6c28aaSamw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9da6c28aaSamw# or http://www.opensolaris.org/os/licensing.
10da6c28aaSamw# See the License for the specific language governing permissions
11da6c28aaSamw# and limitations under the License.
12da6c28aaSamw#
13da6c28aaSamw# When distributing Covered Code, include this CDDL HEADER in each
14da6c28aaSamw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15da6c28aaSamw# If applicable, add the following below this CDDL HEADER, with the
16da6c28aaSamw# fields enclosed by brackets "[]" replaced with your own identifying
17da6c28aaSamw# information: Portions Copyright [yyyy] [name of copyright owner]
18da6c28aaSamw#
19da6c28aaSamw# CDDL HEADER END
20da6c28aaSamw#
21da6c28aaSamw#
22148c5f43SAlan Wright# Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
23*7206bf49SGordon Ross# Copyright 2014 Nexenta Systems, Inc.  All rights reserved.
24da6c28aaSamw#
25da6c28aaSamw
26da6c28aaSamwLIBRARY =	libmlsvc.a
27da6c28aaSamwVERS =		.1
28da6c28aaSamw
29da6c28aaSamwOBJS_COMMON =		\
309fb67ea3Safshin salek ardakani - Sun Microsystems - Irvine United States	dfs.o		\
312c1b14e5Sjose borrego	dssetup_clnt.o	\
322c1b14e5Sjose borrego	dssetup_svc.o	\
3389dc44ceSjose borrego	eventlog_svc.o	\
34148c5f43SAlan Wright	eventlog_log.o	\
35da6c28aaSamw	lsalib.o	\
36fe1c642dSBill Krier	lsar_clnt.o	\
37fe1c642dSBill Krier	lsar_svc.o	\
38da6c28aaSamw	mlsvc_client.o	\
398d7e4166Sjose borrego	mlsvc_domain.o	\
40da6c28aaSamw	mlsvc_init.o	\
41da6c28aaSamw	mlsvc_netr.o	\
42da6c28aaSamw	mlsvc_util.o	\
438d7e4166Sjose borrego	msgsvc_svc.o	\
44da6c28aaSamw	netdfs.o	\
45da6c28aaSamw	netr_auth.o	\
46da6c28aaSamw	netr_logon.o	\
47da6c28aaSamw	samlib.o	\
48fe1c642dSBill Krier	samr_clnt.o	\
49fe1c642dSBill Krier	samr_svc.o	\
503db3f65cSamw	smb_autohome.o	\
51b89a8333Snatalie li - Sun Microsystems - Irvine United States	smb_logon.o	\
523db3f65cSamw	smb_share.o	\
539fb67ea3Safshin salek ardakani - Sun Microsystems - Irvine United States	smb_quota.o	\
54ed9aabc7SGordon Ross	smbrdr_glue.o	\
558d7e4166Sjose borrego	spoolss_svc.o	\
5689dc44ceSjose borrego	srvsvc_clnt.o	\
5729bd2886SAlan Wright	srvsvc_sd.o	\
5889dc44ceSjose borrego	srvsvc_svc.o	\
59b89a8333Snatalie li - Sun Microsystems - Irvine United States	svcctl_scm.o	\
6089dc44ceSjose borrego	svcctl_svc.o	\
619fb67ea3Safshin salek ardakani - Sun Microsystems - Irvine United States	winreg_svc.o	\
629fb67ea3Safshin salek ardakani - Sun Microsystems - Irvine United States	wkssvc_svc.o
63da6c28aaSamw
64da6c28aaSamw# Automatically generated from .ndl files
65da6c28aaSamwNDLLIST =		\
66da6c28aaSamw	dssetup		\
67da6c28aaSamw	eventlog	\
68da6c28aaSamw	lsarpc		\
698d7e4166Sjose borrego	msgsvc		\
70da6c28aaSamw	netdfs		\
71da6c28aaSamw	netlogon	\
72da6c28aaSamw	samrpc		\
73da6c28aaSamw	spoolss		\
74da6c28aaSamw	srvsvc		\
75da6c28aaSamw	svcctl		\
76da6c28aaSamw	winreg
77da6c28aaSamw
78da6c28aaSamwOBJECTS=        $(OBJS_COMMON) $(NDLLIST:%=%_ndr.o)
79da6c28aaSamw
80da6c28aaSamwinclude ../../../Makefile.lib
81da6c28aaSamwinclude ../../Makefile.lib
82da6c28aaSamw
83da6c28aaSamwINCS += -I$(SRC)/common/smbsrv
84da6c28aaSamw
8555bf511dSas200622LDLIBS +=	$(MACH_LDLIBS)
86ed9aabc7SGordon RossLDLIBS += -lmlrpc -lsmb -lsmbns -lshare -lsmbfs -lresolv -lnsl -lpkcs11 \
87ed9aabc7SGordon Ross	-lscf -lcmdutils -lsec -lavl -lnvpair -luutil -luuid -lgen -lzfs -lc
88da6c28aaSamw
898d7e4166Sjose borregoCPPFLAGS += $(INCS) -D_REENTRANT
90*7206bf49SGordon RossCPPFLAGS += -Dsyslog=smb_syslog
9186d7016bSGordon Ross$(ENABLE_SMB_PRINTING) CPPFLAGS += -DHAVE_CUPS
928d7e4166Sjose borrego
937014882cSRichard LoweCERRWARN += -_gcc=-Wno-unused-function
947014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized
957014882cSRichard Lowe
963c112a2bSEric TaylorSRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)
97da6c28aaSamw
98da6c28aaSamwinclude ../../Makefile.targ
99da6c28aaSamwinclude ../../../Makefile.targ
100