Print this page
3328 smbutil view does't work with Win2008 and later
requires 1575 untangle libmlrpc ...
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/libsmbfs/Makefile.com
+++ new/usr/src/lib/libsmbfs/Makefile.com
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 24 # Use is subject to license terms.
25 25 # Copyright 2015 Igor Kozhukhov <ikozhukhov@gmail.com>
26 26 #
27 27 # Copyright 2013 Nexenta Systems, Inc. All rights reserved.
28 28 #
29 29
30 30 #
31 31 # lib/libsmbfs/Makefile.com
32 32 #
33 33
34 34 LIBRARY= libsmbfs.a
35 35 VERS= .1
36 36
37 37 # leaving out: kiconv.o
38 38
39 39 OBJ_LIB=\
40 40 acl_api.o \
41 41 acl_print.o \
42 42 charsets.o \
43 43 cfopt.o \
44 44 connect.o \
45 45 crypt.o \
46 46 ctx.o \
47 47 derparse.o \
48 48 file.o \
49 49 findvc.o \
50 50 getaddr.o \
51 51 iod_cl.o \
↓ open down ↓ |
51 lines elided |
↑ open up ↑ |
52 52 iod_wk.o \
53 53 keychain.o \
54 54 krb5ssp.o \
55 55 mbuf.o \
56 56 nb.o \
57 57 nb_name.o \
58 58 nb_net.o \
59 59 nb_ssn.o \
60 60 nbns_rq.o \
61 61 negprot.o \
62 - netshareenum.o \
63 62 newvc.o \
64 63 nls.o \
65 64 ntlm.o \
66 65 ntlmssp.o \
67 66 print.o \
68 67 rap.o \
69 68 rcfile.o \
70 69 rq.o \
71 70 signing.o \
72 71 spnego.o \
73 72 spnegoparse.o \
74 73 ssnsetup.o \
75 74 ssp.o \
76 75 subr.o \
77 76 ui-sun.o \
78 77 utf_str.o
79 78
80 79 OBJ_CMN= smbfs_ntacl.o
81 80
82 81 OBJECTS= $(OBJ_LIB) $(OBJ_CMN)
83 82
84 83 include $(SRC)/lib/Makefile.lib
85 84
86 85 LIBS = $(DYNLIB) $(LINTLIB)
87 86
88 87 SRCDIR= ../smb
89 88 CMNDIR= $(SRC)/common/smbclnt
90 89
91 90 SRCS= $(OBJ_LIB:%.o=$(SRCDIR)/%.c) \
92 91 $(OBJ_CMN:%.o=$(CMNDIR)/%.c)
93 92
94 93 $(LINTLIB) := SRCS = $(SRCDIR)/$(LINTSRC)
95 94
96 95 CSTD= $(CSTD_GNU99)
97 96
98 97 LDLIBS += -lsocket -lnsl -lc -lmd -lpkcs11 -lkrb5 -lsec -lidmap
99 98
100 99 # normal warnings...
101 100 CFLAGS += $(CCVERBOSE)
102 101
103 102 CERRWARN += -_gcc=-Wno-uninitialized
104 103 CERRWARN += -_gcc=-Wno-unused-variable
105 104
106 105 CPPFLAGS += -D__EXTENSIONS__ -D_REENTRANT -DMIA \
107 106 -I$(SRCDIR) -I.. -I../netsmb \
108 107 -I$(SRC)/uts/common \
109 108 -I$(SRC)/common/smbclnt
110 109
111 110 # Debugging
112 111 ${NOT_RELEASE_BUILD} CPPFLAGS += -DDEBUG
113 112
114 113 # uncomment these for dbx debugging
115 114 #COPTFLAG = -g
116 115 #CTF_FLAGS =
117 116 #CTFCONVERT_O=
118 117 #CTFMERGE_LIB=
119 118
120 119 # Filter out the less important lint.
121 120 # See lgrep.awk
122 121 LGREP = $(AWK) -f $(SRCDIR)/lgrep.awk
123 122 LTAIL += 2>&1 | $(LGREP)
124 123
125 124 all: $(LIBS)
126 125
127 126 lint: lintcheck_t
128 127
129 128 include ../../Makefile.targ
130 129
131 130 lintcheck_t: $$(SRCS)
132 131 $(LINT.c) $(LINTCHECKFLAGS) $(SRCS) $(LDLIBS) $(LTAIL)
133 132
134 133 objs/%.o pics/%.o: $(CMNDIR)/%.c
135 134 $(COMPILE.c) -o $@ $<
136 135 $(POST_PROCESS_O)
137 136
138 137 .KEEP_STATE:
↓ open down ↓ |
66 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX