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