Print this page
10076 make usr/src/test smatch clean
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/test/os-tests/tests/sockfs/Makefile
+++ new/usr/src/test/os-tests/tests/sockfs/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
↓ 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 (c) 2012 by Delphix. All rights reserved.
14 14 # Copyright 2017 Gordon W. Ross
15 +# Copyright (c) 2018, Joyent, Inc.
15 16 #
16 17
17 18 include $(SRC)/cmd/Makefile.cmd
18 19 include $(SRC)/test/Makefile.com
19 20
20 21 PROG = conn dgram drop_priv nosignal sockpair
21 22
22 23 LINTS = $(PROGS:%=%.ln)
23 24
24 25 LDLIBS += -lsocket
25 26 CSTD = $(CSTD_GNU99)
26 27 CPPFLAGS += -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
27 28
29 +# needs work
30 +SMOFF += all_func_returns
31 +
28 32 nosignal := LDLIBS += -lnsl
29 33 nosignal.ln := LDLIBS += -lnsl
30 34
31 35 ROOTOPTPKG = $(ROOT)/opt/os-tests
32 36 TESTDIR = $(ROOTOPTPKG)/tests/sockfs
33 37
34 38 CMDS = $(PROG:%=$(TESTDIR)/%)
35 39 $(CMDS) := FILEMODE = 0555
36 40
37 41 all: $(PROG)
38 42
39 43 install: $(CMDS)
40 44
41 45 lint: $(LINTS)
42 46
43 47 clobber: clean
44 48 -$(RM) $(PROG)
45 49
46 50 clean:
47 51
48 52 $(CMDS): $(TESTDIR) $(PROG)
49 53
50 54 %.ln : %.c
51 55 $(LINT.c) $*.c $(UTILS) $(LDLIBS)
52 56
53 57 $(TESTDIR):
54 58 $(INS.dir)
55 59
56 60 $(TESTDIR)/%: %
57 61 $(INS.file)
↓ open down ↓ |
20 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX