Print this page
10075 make usr/src/tools smatch clean
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/tools/mandoc/Makefile
+++ new/usr/src/tools/mandoc/Makefile
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 2017 Nexenta Systems, Inc.
14 14 # Copyright 2018 Joyent, Inc.
15 15 #
16 16
17 17 CMDDIR= $(SRC)/cmd/mandoc
18 18 LCDIR= $(SRC)/lib/libc/port
19 19
20 20 include $(SRC)/tools/Makefile.tools
21 21 include $(CMDDIR)/Makefile.common
22 22
↓ open down ↓ |
22 lines elided |
↑ open up ↑ |
23 23 OBJS += fts.o \
24 24 reallocarray.o \
25 25 recallocarray.o \
26 26 strtonum.o
27 27
28 28 CPPFLAGS += -_gcc=-nostdinc
29 29 CPPFLAGS += -I. -include fts.h
30 30 CPPFLAGS += -I$(NATIVE_ADJUNCT)/include
31 31 LDFLAGS += -L$(NATIVE_ADJUNCT)/lib -R$(NATIVE_ADJUNCT)/lib
32 32
33 +# 3rd party code
34 +SMATCH=off
35 +
33 36 .KEEP_STATE:
34 37
35 38 all: $(PROG)
36 39
37 40 install: all $(ROOTONBLDMACHPROG)
38 41
39 42 clean:
40 43 $(RM) $(PROG) $(OBJS)
41 44
42 45 $(PROG): $(OBJS)
43 46 $(LINK.c) $(OBJS) -o $@ $(LDLIBS)
44 47 $(POST_PROCESS)
45 48
46 49 %.o: $(CMDDIR)/%.c
47 50 $(COMPILE.c) -o $@ $<
48 51
49 52 %.o: $(LCDIR)/gen/%.c
50 53 $(COMPILE.c) -o $@ $<
51 54
52 55 include $(SRC)/tools/Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX