Print this page
11506 smatch resync
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/boot/sys/boot/libstand/Makefile.com
+++ new/usr/src/boot/sys/boot/libstand/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.
↓ open down ↓ |
3 lines elided |
↑ open up ↑ |
4 4 # You may only use this file in accordance with the terms of version
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 +# Copyright 2019 Joyent, Inc.
14 15 #
15 16
16 17 include $(SRC)/Makefile.master
17 18 include $(SRC)/boot/sys/boot/Makefile.inc
18 19
19 20 CPPFLAGS += -I../../../../include -I$(SASRC)
20 21 CPPFLAGS += -I../../.. -I. -I$(SRC)/common/bzip2
21 22
22 23 $(LIBRARY): $(SRCS) $(OBJS)
23 24 $(AR) $(ARFLAGS) $@ $(OBJS)
24 25
25 26 include $(SASRC)/Makefile.inc
26 27 include $(ZFSSRC)/Makefile.inc
27 28
28 29 CPPFLAGS += -I$(SRC)/uts/common
29 30
31 +# needs work
32 +printf.o := SMOFF += 64bit_shift
33 +
34 +# too hairy
35 +_inflate.o := SMATCH=off
36 +
37 +# 64-bit smatch false positive :/
38 +SMOFF += uninitialized
39 +
30 40 clean: clobber
31 41 clobber:
32 42 $(RM) $(CLEANFILES) $(OBJS) machine $(LIBRARY)
33 43
34 44 machine:
35 45 $(RM) machine
36 46 $(SYMLINK) ../../../$(MACHINE)/include machine
37 47
38 48 x86:
39 49 $(RM) x86
40 50 $(SYMLINK) ../../../x86/include x86
41 51
42 52 %.o: $(SASRC)/%.c
43 53 $(COMPILE.c) $<
44 54
45 55 %.o: $(LIBSRC)/libc/net/%.c
46 56 $(COMPILE.c) $<
47 57
48 58 %.o: $(LIBSRC)/libc/string/%.c
49 59 $(COMPILE.c) $<
50 60
51 61 %.o: $(LIBSRC)/libc/uuid/%.c
52 62 $(COMPILE.c) $<
53 63
54 64 %.o: $(ZLIB)/%.c
55 65 $(COMPILE.c) $<
↓ open down ↓ |
16 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX