Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/cmd/mandoc/Makefile.common
+++ new/usr/src/cmd/mandoc/Makefile.common
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
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 2014 Garrett D'Amore <garrett@damore.org>
14 14 # Copyright 2017 Nexenta Systems, Inc.
15 15 # Copyright 2018, Joyent, Inc.
16 16 #
17 17
18 18 PROG= mandoc
19 19
20 20 OBJS= arch.o \
21 21 att.o \
22 22 chars.o \
23 23 dba.o \
24 24 dba_array.o \
25 25 dba_read.o \
26 26 dba_write.o \
27 27 dbm.o \
28 28 dbm_map.o \
29 29 eqn.o \
30 30 eqn_html.o \
31 31 eqn_term.o \
32 32 html.o \
33 33 lib.o \
34 34 main.o \
35 35 man.o \
36 36 manpath.o \
37 37 man_html.o \
38 38 man_macro.o \
39 39 man_term.o \
40 40 man_validate.o \
41 41 mandoc.o \
42 42 mandoc_aux.o \
43 43 mandoc_msg.o \
44 44 mandoc_ohash.o \
45 45 mandoc_xr.o \
46 46 mandocdb.o \
47 47 mansearch.o \
48 48 mdoc.o \
49 49 mdoc_argv.o \
50 50 mdoc_html.o \
51 51 mdoc_macro.o \
52 52 mdoc_man.o \
53 53 mdoc_markdown.o \
54 54 mdoc_state.o \
55 55 mdoc_term.o \
56 56 mdoc_validate.o \
57 57 msec.o \
58 58 out.o \
59 59 read.o \
60 60 roff.o \
61 61 roff_html.o \
62 62 roff_term.o \
63 63 roff_validate.o \
64 64 preconv.o \
65 65 st.o \
66 66 tag.o \
67 67 tbl.o \
68 68 tbl_data.o \
69 69 tbl_html.o \
70 70 tbl_layout.o \
71 71 tbl_opts.o \
↓ open down ↓ |
71 lines elided |
↑ open up ↑ |
72 72 tbl_term.o \
73 73 term.o \
74 74 term_ascii.o \
75 75 term_ps.o \
76 76 term_tab.o \
77 77 tree.o
78 78
79 79 OBJS += compat_ohash.o
80 80
81 81 # XXX gcc 4.4.4 false positive
82 -roff.o := CERRWARN += -_gcc=-Wno-uninitialized
82 +roff.o := CERRWARN += $(CNOWARN_UNINIT)
83 83
84 84 # not linted
85 85 SMATCH=off
86 86
87 87 CFLAGS += $(CC_VERBOSE)
88 88 CSTD= $(CSTD_GNU99)
89 89
90 90 CPPFLAGS += -DOSNAME="\"illumos\"" -D_FILE_OFFSET_BITS=64
91 91
92 92 LDLIBS += -lz
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX