xref: /titanic_51/usr/src/lib/smbsrv/libmlsvc/Makefile.com (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#pragma ident	"%Z%%M%	%I%	%E% SMI"
26*da6c28aaSamw#
27*da6c28aaSamw
28*da6c28aaSamwLIBRARY =	libmlsvc.a
29*da6c28aaSamwVERS =		.1
30*da6c28aaSamw
31*da6c28aaSamwOBJS_COMMON =		\
32*da6c28aaSamw	lsalib.o	\
33*da6c28aaSamw	lsar_lookup.o	\
34*da6c28aaSamw	lsar_open.o	\
35*da6c28aaSamw	mlsvc_client.o	\
36*da6c28aaSamw	mlsvc_dssetup.o	\
37*da6c28aaSamw	mlsvc_handle.o	\
38*da6c28aaSamw	mlsvc_init.o	\
39*da6c28aaSamw	mlsvc_logr.o	\
40*da6c28aaSamw	mlsvc_lsa.o	\
41*da6c28aaSamw	mlsvc_netr.o	\
42*da6c28aaSamw	mlsvc_sam.o	\
43*da6c28aaSamw	mlsvc_srvsvc.o	\
44*da6c28aaSamw	mlsvc_svcctl.o	\
45*da6c28aaSamw	mlsvc_util.o	\
46*da6c28aaSamw	mlsvc_winreg.o	\
47*da6c28aaSamw	mlsvc_wkssvc.o	\
48*da6c28aaSamw	netdfs.o	\
49*da6c28aaSamw	netr_auth.o	\
50*da6c28aaSamw	netr_logon.o	\
51*da6c28aaSamw	samlib.o	\
52*da6c28aaSamw	samr_open.o	\
53*da6c28aaSamw	samr_lookup.o	\
54*da6c28aaSamw	secdb.o	\
55*da6c28aaSamw	srvsvc_client.o	\
56*da6c28aaSamw	lmshare.o	\
57*da6c28aaSamw	smb_share_util.o \
58*da6c28aaSamw	smb_autohome.o
59*da6c28aaSamw
60*da6c28aaSamw# Automatically generated from .ndl files
61*da6c28aaSamwNDLLIST =		\
62*da6c28aaSamw	dssetup		\
63*da6c28aaSamw	eventlog	\
64*da6c28aaSamw	lsarpc		\
65*da6c28aaSamw	netdfs		\
66*da6c28aaSamw	netlogon	\
67*da6c28aaSamw	samrpc		\
68*da6c28aaSamw	spoolss		\
69*da6c28aaSamw	srvsvc		\
70*da6c28aaSamw	svcctl		\
71*da6c28aaSamw	winreg
72*da6c28aaSamw
73*da6c28aaSamwOBJECTS=        $(OBJS_COMMON) $(NDLLIST:%=%_ndr.o)
74*da6c28aaSamw
75*da6c28aaSamwinclude ../../../Makefile.lib
76*da6c28aaSamwinclude ../../Makefile.lib
77*da6c28aaSamw
78*da6c28aaSamwINCS += -I$(SRC)/common/smbsrv
79*da6c28aaSamw
80*da6c28aaSamwLDLIBS += -lmlrpc -lsmbrdr -lsmb -lsmbns -lshare -lnsl -lc
81*da6c28aaSamw
82*da6c28aaSamwSRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)        	\
83*da6c28aaSamw        $(OBJS_SHARED:%.o=$(SRC)/common/smbsrv/%.c)
84*da6c28aaSamw
85*da6c28aaSamwinclude ../../Makefile.targ
86*da6c28aaSamwinclude ../../../Makefile.targ
87