Print this page
10080 smatch Makefile changes for usr/src/cmd
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/ficl/Makefile.com
+++ new/usr/src/cmd/ficl/Makefile.com
1 1 #
2 2 # This file and its contents are supplied under the terms of the
3 3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 4 # You may only use this file in accordance with the terms of version
↓ open down ↓ |
4 lines elided |
↑ open up ↑ |
5 5 # 1.0 of the CDDL.
6 6 #
7 7 # A full copy of the text of the CDDL should have accompanied this
8 8 # source. A copy of the CDDL is also available via the Internet at
9 9 # http://www.illumos.org/license/CDDL.
10 10 #
11 11
12 12 #
13 13 # Copyright 2016 Toomas Soome <tsoome@me.com>
14 14 #
15 +# Copyright (c) 2018, Joyent, Inc.
15 16
16 17 PROG= ficl-sys
17 18 OBJS= main.o
18 19 SRCS= main.c
19 20
20 21 include ../../Makefile.cmd
21 22 include ../../Makefile.ctf
22 23
23 24 LDLIBS += -lficl-sys -ltecla -lumem
24 25 CPPFLAGS += -D_FILE_OFFSET_BITS=64 -I$(SRC)/common/ficl
25 26
27 +SMOFF += all_func_returns
28 +
26 29 .KEEP_STATE:
27 30
28 31 all: $(PROG)
29 32
30 33 $(PROG): $(OBJS)
31 34 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
32 35 $(POST_PROCESS)
33 36
34 37 clean:
35 38 $(RM) $(OBJS)
36 39
37 40 include ../../Makefile.targ
38 41
39 42 %.o: $(SRC)/common/ficl/%.c
40 43 $(COMPILE.c) $(OUTPUT_OPTION) $< $(CTFCONVERT_HOOK)
41 44 $(POST_PROCESS_O)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX