Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/smbsrv/libmlsvc/Makefile.com
+++ new/usr/src/lib/smbsrv/libmlsvc/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 # Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
23 23 # Copyright 2014 Nexenta Systems, Inc. All rights reserved.
24 24 #
25 25 # Copyright (c) 2018, Joyent, Inc.
26 26
27 27 LIBRARY = libmlsvc.a
28 28 VERS = .1
29 29
30 30 OBJS_COMMON = \
31 31 dfs.o \
32 32 dssetup_clnt.o \
33 33 dssetup_svc.o \
34 34 eventlog_svc.o \
35 35 eventlog_log.o \
36 36 lsalib.o \
37 37 lsar_clnt.o \
38 38 lsar_svc.o \
39 39 mlsvc_client.o \
40 40 mlsvc_domain.o \
41 41 mlsvc_init.o \
42 42 mlsvc_netr.o \
43 43 mlsvc_util.o \
44 44 msgsvc_svc.o \
45 45 netdfs.o \
46 46 netr_auth.o \
47 47 netr_logon.o \
48 48 samlib.o \
49 49 samr_clnt.o \
50 50 samr_svc.o \
51 51 smb_autohome.o \
52 52 smb_logon.o \
53 53 smb_share.o \
54 54 smb_quota.o \
55 55 smbrdr_glue.o \
56 56 spoolss_svc.o \
57 57 srvsvc_clnt.o \
58 58 srvsvc_sd.o \
59 59 srvsvc_svc.o \
60 60 svcctl_scm.o \
61 61 svcctl_svc.o \
62 62 winreg_svc.o \
63 63 wkssvc_svc.o
64 64
65 65 # Automatically generated from .ndl files
66 66 NDLLIST = \
67 67 dssetup \
68 68 eventlog \
69 69 lsarpc \
70 70 msgsvc \
71 71 netdfs \
72 72 netlogon \
73 73 samrpc \
74 74 spoolss \
75 75 srvsvc \
76 76 svcctl \
77 77 winreg
78 78
79 79 OBJECTS= $(OBJS_COMMON) $(NDLLIST:%=%_ndr.o)
80 80
81 81 include ../../../Makefile.lib
82 82 include ../../Makefile.lib
83 83
84 84 INCS += -I$(SRC)/common/smbsrv
85 85 INCS += -I$(SRC)/uts/common/smbsrv/ndl
↓ open down ↓ |
85 lines elided |
↑ open up ↑ |
86 86
87 87 LDLIBS += $(MACH_LDLIBS)
88 88 LDLIBS += -lmlrpc -lsmb -lsmbns -lshare -lsmbfs -lnsl -lpkcs11 \
89 89 -lscf -lcmdutils -lsec -lavl -lnvpair -luutil -luuid -lgen -lzfs -lc
90 90
91 91 CPPFLAGS += $(INCS) -D_REENTRANT
92 92 CPPFLAGS += -Dsyslog=smb_syslog
93 93 $(ENABLE_SMB_PRINTING) CPPFLAGS += -DHAVE_CUPS
94 94
95 95 CERRWARN += -_gcc=-Wno-unused-function
96 -CERRWARN += -_gcc=-Wno-uninitialized
96 +CERRWARN += $(CNOWARN_UNINIT)
97 97
98 98 # not linted
99 99 SMATCH=off
100 100
101 101
102 102 SRCS= $(OBJS_COMMON:%.o=$(SRCDIR)/%.c)
103 103
104 104 include ../../Makefile.targ
105 105 include ../../../Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX