xref: /titanic_52/usr/src/lib/smbsrv/libsmb/Makefile.com (revision 6537f381d2d9e7b4e2f7b29c3e7a3f13be036f2e)
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#
22dc20a302Sas200622# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
23da6c28aaSamw# Use is subject to license terms.
24da6c28aaSamw#
25da6c28aaSamw# ident	"%Z%%M%	%I%	%E% SMI"
26da6c28aaSamw#
27da6c28aaSamw
28da6c28aaSamwLIBRARY= libsmb.a
29da6c28aaSamwVERS= .1
30da6c28aaSamw
31da6c28aaSamwOBJS_SHARED = 			\
32da6c28aaSamw	smb_common_door_decode.o 	\
33da6c28aaSamw	smb_match.o 		\
34da6c28aaSamw	smb_msgbuf.o		\
35da6c28aaSamw	smb_native.o		\
36da6c28aaSamw	smb_oem.o		\
37da6c28aaSamw	smb_opmlang.o		\
38da6c28aaSamw	smb_share_door_decode.o	\
39da6c28aaSamw	smb_sid.o		\
40da6c28aaSamw	smb_status_xlat.o	\
41da6c28aaSamw	smb_strcase.o		\
42da6c28aaSamw	smb_string.o 		\
43da6c28aaSamw	smb_token.o		\
44da6c28aaSamw	smb_token_xdr.o		\
45da6c28aaSamw	smb_utf8.o		\
46da6c28aaSamw	smb_xdr_utils.o
47da6c28aaSamw
48da6c28aaSamwOBJS_COMMON = 			\
49da6c28aaSamw	smb_api_door_calls.o	\
50da6c28aaSamw	smb_auth.o 		\
51da6c28aaSamw	smb_cfg.o		\
52da6c28aaSamw	smb_crypt.o		\
53da6c28aaSamw	smb_ctxbuf.o		\
54da6c28aaSamw	smb_domain.o		\
55da6c28aaSamw	smb_door_encdec.o	\
56da6c28aaSamw	smb_doorclnt.o		\
57da6c28aaSamw	smb_downcalls.o		\
58da6c28aaSamw	smb_ht.o		\
59da6c28aaSamw	smb_idmap.o		\
60da6c28aaSamw	smb_info.o		\
617b59d02dSjb150015	smb_list.o		\
62dc20a302Sas200622	smb_lgrp.o		\
63da6c28aaSamw	smb_mac.o		\
647b59d02dSjb150015	smb_nic.o		\
65*6537f381Sas200622	smb_nicmon.o		\
66da6c28aaSamw	smb_pwdutil.o		\
67da6c28aaSamw	smb_privilege.o		\
68da6c28aaSamw	smb_scfutil.o		\
69da6c28aaSamw	smb_util.o		\
70da6c28aaSamw	smb_wins.o		\
71da6c28aaSamw	smb_wksids.o
72da6c28aaSamw
73da6c28aaSamwOBJECTS=	$(OBJS_COMMON) $(OBJS_SHARED)
74da6c28aaSamw
75da6c28aaSamwinclude ../../../Makefile.lib
76da6c28aaSamwinclude ../../Makefile.lib
77da6c28aaSamw
78da6c28aaSamwINCS += -I$(SRC)/common/smbsrv
79da6c28aaSamw
8055bf511dSas200622LDLIBS +=	$(MACH_LDLIBS)
817b59d02dSjb150015LDLIBS +=	-lscf -lmd -lnsl -lpkcs11 -lc -lsocket -lresolv -lidmap
82da6c28aaSamwCPPFLAGS +=	$(INCS) -D_REENTRANT
83da6c28aaSamw
84da6c28aaSamwSRCS=   $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)	\
85da6c28aaSamw	$(OBJS_SHARED:%.o=$(SRC)/common/smbsrv/%.c)
86da6c28aaSamw
87da6c28aaSamwinclude ../../Makefile.targ
88da6c28aaSamwinclude ../../../Makefile.targ
89