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