xref: /titanic_41/usr/src/lib/smbsrv/libmlsvc/Makefile.com (revision 89dc44ce9705974a8bc4a39f1e878a0491a5be61)
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#
22*89dc44ceSjose borrego# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23da6c28aaSamw# Use is subject to license terms.
24da6c28aaSamw#
25da6c28aaSamw#
26da6c28aaSamw
27da6c28aaSamwLIBRARY =	libmlsvc.a
28da6c28aaSamwVERS =		.1
29da6c28aaSamw
30da6c28aaSamwOBJS_COMMON =		\
312c1b14e5Sjose borrego	dssetup_clnt.o	\
322c1b14e5Sjose borrego	dssetup_svc.o	\
33*89dc44ceSjose borrego	eventlog_svc.o	\
34*89dc44ceSjose borrego	eventlog_syslog.o	\
35da6c28aaSamw	lsalib.o	\
36da6c28aaSamw	lsar_lookup.o	\
37da6c28aaSamw	lsar_open.o	\
38da6c28aaSamw	mlsvc_client.o	\
398d7e4166Sjose borrego	mlsvc_domain.o	\
40da6c28aaSamw	mlsvc_init.o	\
41da6c28aaSamw	mlsvc_lsa.o	\
42da6c28aaSamw	mlsvc_netr.o	\
43da6c28aaSamw	mlsvc_sam.o	\
44da6c28aaSamw	mlsvc_util.o	\
45da6c28aaSamw	mlsvc_wkssvc.o	\
468d7e4166Sjose borrego	msgsvc_svc.o	\
47da6c28aaSamw	netdfs.o	\
48da6c28aaSamw	netr_auth.o	\
49da6c28aaSamw	netr_logon.o	\
50da6c28aaSamw	samlib.o	\
51da6c28aaSamw	samr_open.o	\
52da6c28aaSamw	samr_lookup.o	\
533db3f65cSamw	smb_autohome.o	\
54b89a8333Snatalie li - Sun Microsystems - Irvine United States	smb_logon.o	\
553db3f65cSamw	smb_share.o	\
568d7e4166Sjose borrego	spoolss_svc.o	\
57*89dc44ceSjose borrego	srvsvc_clnt.o	\
58*89dc44ceSjose borrego	srvsvc_svc.o	\
59b89a8333Snatalie li - Sun Microsystems - Irvine United States	svcctl_scm.o	\
60*89dc44ceSjose borrego	svcctl_svc.o	\
61*89dc44ceSjose borrego	winreg_svc.o
62da6c28aaSamw
63da6c28aaSamw# Automatically generated from .ndl files
64da6c28aaSamwNDLLIST =		\
65da6c28aaSamw	dssetup		\
66da6c28aaSamw	eventlog	\
67da6c28aaSamw	lsarpc		\
688d7e4166Sjose borrego	msgsvc		\
69da6c28aaSamw	netdfs		\
70da6c28aaSamw	netlogon	\
71da6c28aaSamw	samrpc		\
72da6c28aaSamw	spoolss		\
73da6c28aaSamw	srvsvc		\
74da6c28aaSamw	svcctl		\
75da6c28aaSamw	winreg
76da6c28aaSamw
77da6c28aaSamwOBJECTS=        $(OBJS_COMMON) $(NDLLIST:%=%_ndr.o)
78da6c28aaSamw
79da6c28aaSamwinclude ../../../Makefile.lib
80da6c28aaSamwinclude ../../Makefile.lib
81da6c28aaSamw
82da6c28aaSamwINCS += -I$(SRC)/common/smbsrv
83da6c28aaSamw
8455bf511dSas200622LDLIBS +=	$(MACH_LDLIBS)
858d7e4166Sjose borregoLDLIBS += -lmlrpc -lsmbrdr -lsmb -lsmbns -lshare -lresolv -lnsl -lpkcs11 -lscf	\
86b89a8333Snatalie li - Sun Microsystems - Irvine United States	-luutil -lc
87da6c28aaSamw
888d7e4166Sjose borregoCPPFLAGS += $(INCS) -D_REENTRANT
898d7e4166Sjose borrego
90da6c28aaSamwSRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)        	\
91da6c28aaSamw        $(OBJS_SHARED:%.o=$(SRC)/common/smbsrv/%.c)
92da6c28aaSamw
93da6c28aaSamwinclude ../../Makefile.targ
94da6c28aaSamwinclude ../../../Makefile.targ
95