Print this page
10063 basic support for smatch
10153 checkpaths shouldn't check packaging exceptions
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/bnu/Makefile.inc
+++ new/usr/src/cmd/bnu/Makefile.inc
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 2007 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 +# Copyright (c) 2018, Joyent, Inc.
26 +#
25 27
26 28 SRCS = account.c anlwrk.c bnuconvert.c callers.c \
27 29 chremdir.c cntrl.c conn.c cpmv.c ct.c \
28 30 cu.c dial.c dio.c dkbreak.c \
29 31 dkdial.c dkerr.c dkminor.c dtnamer.c eio.c \
30 32 expfile.c fio.c gename.c getargs.c getopt.c getprm.c \
31 33 getpwinfo.c gio.c gnamef.c gnxseq.c grades.c \
32 34 gtcfile.c gwd.c imsg.c in.uucpd.c interface.c limits.c \
33 35 line.c logent.c mailst.c perfstat.c \
34 36 permission.c pk0.c pk1.c pkdefs.c security.c \
35 37 setmode.c shio.c statlog.c stoa.c strpbrk.c \
36 38 strsave.c sysfiles.c systat.c ulockf.c unknown.c \
37 39 utility.c uucheck.c uucico.c uucleanup.c uucp.c \
38 40 uucpdefs.c uucpname.c uudecode.c uuencode.c \
↓ open down ↓ |
4 lines elided |
↑ open up ↑ |
39 41 uuglist.c uuname.c uusched.c uustat.c uux.c \
40 42 uuxqt.c versys.c xio.c xqt.c
41 43
42 44 CERRWARN += -_gcc=-Wno-parentheses
43 45 CERRWARN += -_gcc=-Wno-char-subscripts
44 46 CERRWARN += -_gcc=-Wno-unused-variable
45 47 CERRWARN += -_gcc=-Wno-uninitialized
46 48 CERRWARN += -_gcc=-Wno-extra
47 49 CERRWARN += -_gcc=-Wno-implicit-function-declaration
48 50
51 +# "parse error: parsing (arg (9223372034707292160-0,2-s32max) == 2)"
52 +SMATCH = off
53 +
49 54 TLILIB = -lnsl -lsocket
50 55 PAMLIB = -lpam
51 56
52 57 # use this if you don't have strpbrk/getopt in libc
53 58 # STRPBRK = strpbrk.o
54 59 # GETOPT = getopt.o
55 60
56 61 PROTOCOLOBJS = dio.o eio.o gio.o xio.o fio.o
57 62
58 63 OTHEROBJS = utility.o cpmv.o expfile.o gename.o getpwinfo.o \
59 64 ulockf.o xqt.o logent.o gnamef.o systat.o \
60 65 sysfiles.o strsave.o $(GETOPT)
61 66
62 67 uucp \
63 68 uucp.cat := POBJS = uucpdefs.o uucp.o gwd.o permission.o getargs.o \
64 69 getprm.o uucpname.o versys.o gtcfile.o grades.o \
65 70 $(STRPBRK) chremdir.o mailst.o $(OTHEROBJS)
66 71
67 72 uux \
68 73 uux.cat := POBJS = uucpdefs.o uux.o mailst.o gwd.o permission.o \
69 74 getargs.o getprm.o uucpname.o versys.o gtcfile.o \
70 75 grades.o chremdir.o $(STRPBRK) $(OTHEROBJS)
71 76
72 77 uuxqt \
73 78 uuxqt.cat := POBJS = uucpdefs.o uuxqt.o mailst.o getprm.o uucpname.o \
74 79 permission.o getargs.o gtcfile.o grades.o \
75 80 $(STRPBRK) shio.o chremdir.o account.o \
76 81 perfstat.o statlog.o security.o limits.o \
77 82 $(OTHEROBJS)
78 83
79 84 uucico \
80 85 uucico.cat := POBJS = uucpdefs.o uucico.o conn.o callers.o cntrl.o \
81 86 pk0.o pk1.o anlwrk.o permission.o getargs.o \
82 87 gnxseq.o pkdefs.o imsg.o gtcfile.o grades.o \
83 88 mailst.o uucpname.o line.o chremdir.o \
84 89 interface.o statlog.o stoa.o \
85 90 perfstat.o account.o security.o limits.o \
86 91 $(STRPBRK) $(PROTOCOLOBJS) $(OTHEROBJS) \
87 92 versys.o setmode.o
88 93 uucico:= PLIBS = $(TLILIB) -lgen
89 94
90 95 uuname \
91 96 uuname.cat := POBJS = uuname.o uucpname.o uucpdefs.o getpwinfo.o \
92 97 sysfiles.o strsave.o getargs.o
93 98
94 99 uustat \
95 100 uustat.cat := POBJS = uustat.o gnamef.o expfile.o uucpdefs.o \
96 101 getpwinfo.o ulockf.o getargs.o utility.o \
97 102 uucpname.o versys.o strsave.o sysfiles.o \
98 103 cpmv.o mailst.o permission.o $(STRPBRK) \
99 104 $(GETOPT)
100 105
101 106 uusched \
102 107 uusched.cat := POBJS = uusched.o gnamef.o expfile.o uucpdefs.o \
103 108 getpwinfo.o ulockf.o systat.o getargs.o \
104 109 utility.o limits.o permission.o uucpname.o \
105 110 $(GETOPT)
106 111
107 112 uucleanup \
108 113 uucleanup.cat := POBJS = uucleanup.o gnamef.o expfile.o uucpdefs.o \
109 114 getpwinfo.o uucpname.o ulockf.o getargs.o \
110 115 cpmv.o utility.o $(GETOPT)
111 116
112 117 uuglist \
113 118 uuglist.cat := POBJS = grades.o cpmv.o getargs.o getpwinfo.o strsave.o \
114 119 uuglist.o uucpdefs.o expfile.o uucpname.o $(GETOPT)
115 120
116 121 bnuconvert \
117 122 bnuconvert.cat := POBJS = bnuconvert.o uucpdefs.o grades.o strsave.o \
118 123 getpwinfo.o getargs.o cpmv.o chremdir.o \
119 124 expfile.o gename.o gnamef.o gtcfile.o logent.o \
120 125 systat.o ulockf.o utility.o uucpname.o $(GETOPT)
121 126
122 127 remote.unknown \
123 128 remote.unknown.cat := POBJS = unknown.o
124 129
125 130 cu \
126 131 cu.cat := POBJS = cu.o callers.o getargs.o line.o uucpdefs.o \
127 132 ulockf.o conn.o interface.o strsave.o \
128 133 sysfiles.o stoa.o setmode.o
129 134 cu:= PLIBS = $(TLILIB) -lgen
130 135
131 136 ct \
132 137 ct.cat := POBJS = ct.o callers.o getargs.o line.o uucpdefs.o \
133 138 ulockf.o conn.o interface.o sysfiles.o \
134 139 strsave.o stoa.o setmode.o
135 140 ct:= PLIBS = $(TLILIB) -lgen
136 141
137 142 uudecode \
138 143 uudecode.cat := POBJS = uudecode.o common.o
139 144
140 145 uuencode \
141 146 uuencode.cat := POBJS = uuencode.o
142 147
143 148 uucheck \
144 149 uucheck.cat := POBJS = uucheck.o uucpname.o getargs.o $(GETOPT)
145 150
146 151 in.uucpd \
147 152 in.uucpd.cat := POBJS = in.uucpd.o
148 153 in.uucpd:= PLIBS = $(TLILIB) $(PAMLIB)
↓ open down ↓ |
90 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX