Print this page
13175 Add support for IP_RECVTOS
13182 CMSG_ macros should have man pages
Change-ID: I784aa36cfd3c17e3cccbf1fd329fa7e69b663ef9
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
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
↓ open down ↓ |
11 lines elided |
↑ open up ↑ |
12 12 #
13 13 # Copyright (c) 2012 by Delphix. All rights reserved.
14 14 # Copyright 2017 Gordon W. Ross
15 15 # Copyright (c) 2018, Joyent, Inc.
16 16 # Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
17 17 #
18 18
19 19 include $(SRC)/cmd/Makefile.cmd
20 20 include $(SRC)/test/Makefile.com
21 21
22 +# These test programs are built as both 32- and 64-bit variants
23 +PROGDA = rights recvmsg
24 +
22 25 PROG = conn dgram drop_priv nosignal sockpair \
23 - rights.32 rights.64
26 + $(PROGDA:%=%.32) $(PROGDA:%=%.64)
24 27
25 28 LDLIBS += -lsocket
26 29 LDLIBS64 += -lsocket
27 30
28 31 CSTD = $(CSTD_GNU99)
29 32 CPPFLAGS += -D_XOPEN_SOURCE=600 -D__EXTENSIONS__
30 33
31 34 # needs work
32 35 SMOFF += all_func_returns
33 36
34 37 nosignal := LDLIBS += -lnsl
35 38 rights.32 := LDLIBS += -lproc
36 39 rights.64 := LDLIBS64 += -lproc
37 40
38 41 ROOTOPTPKG = $(ROOT)/opt/os-tests
39 42 TESTDIR = $(ROOTOPTPKG)/tests/sockfs
40 43
41 44 CMDS = $(PROG:%=$(TESTDIR)/%)
42 45 $(CMDS) := FILEMODE = 0555
43 46
44 47 all: $(PROG)
45 48
46 49 install: $(CMDS)
47 50
48 51 clobber: clean
49 52 -$(RM) $(PROG)
50 53
51 54 clean:
52 55
53 56 $(CMDS): $(TESTDIR) $(PROG)
54 57
55 58 $(TESTDIR):
56 59 $(INS.dir)
57 60
58 61 $(TESTDIR)/%: %
59 62 $(INS.file)
60 63
61 64 %.64: %.c
62 65 $(LINK64.c) -o $@ $< $(LDLIBS64)
63 66 $(POST_PROCESS)
64 67
65 68 %.32: %.c
66 69 $(LINK.c) -o $@ $< $(LDLIBS)
67 70 $(POST_PROCESS)
↓ open down ↓ |
34 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX