Print this page
13111 Want futimes() and lutimes() functions
Change-ID: I3be82d4242255a4100f8c35db373eb9140402fc4
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/test/libc-tests/tests/Makefile
+++ new/usr/src/test/libc-tests/tests/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.
↓ open down ↓ |
5 lines elided |
↑ open up ↑ |
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 2015 Garrett D'Amore <garrett@damore.org>
15 15 # Copyright 2019 Joyent, Inc.
16 +# Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
16 17 #
17 18
18 19 SUBDIRS = \
19 20 catopen \
20 21 fpround \
21 22 i18n \
22 23 newlocale \
23 24 nl_langinfo \
24 25 priv_gettext \
25 26 random \
26 27 regex \
27 28 select \
28 29 stdio \
29 30 strerror \
30 31 symbols \
31 32 threads \
32 33 wcsrtombs \
33 34 wctype
34 35
35 36 PROGS = \
36 37 aligned_alloc \
37 38 c11_threads \
38 39 c11_tss \
39 40 call_once \
40 41 endian \
41 42 env-7076 \
42 43 fnmatch \
43 44 memset_s \
44 45 posix_memalign \
↓ open down ↓ |
19 lines elided |
↑ open up ↑ |
45 46 printf-9511 \
46 47 psignal-5097 \
47 48 quick_exit_order \
48 49 quick_exit_status \
49 50 set_constraint_handler_s \
50 51 strcoll-strxfrm-6907 \
51 52 timespec_get \
52 53 wcsncasecmp \
53 54 wcsncasecmp-7344 \
54 55 wcsncasecmp-7350 \
55 - uchar
56 + uchar \
57 + utimes
56 58
57 59 SCRIPTS = \
58 60 quick_exit \
59 61 psignal
60 62
61 63 CPPFLAGS += -D_REENTRANT
62 64
63 65 PROGS32 = $(PROGS:%=%.32)
64 66 PROGS64 = \
65 67 $(PROGS:%=%.64) \
66 68 printf-6961.64
67 69
68 70 aligned_alloc.32 := LDLIBS += -lproc
69 71 aligned_alloc.64 := LDLIBS64 += -lproc
70 72 posix_memalign.32 := LDLIBS += -lproc
71 73 posix_memalign.64 := LDLIBS64 += -lproc
72 74
73 75 memset_s.32 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
74 76 memset_s.64 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
75 77 set_constraint_handler_s.32 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
76 78 set_constraint_handler_s.64 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
77 79
78 80 ROOTOPTDIR = $(ROOT)/opt/libc-tests/tests
79 81 ROOTOPTPROGS = $(PROGS32:%=$(ROOTOPTDIR)/%) \
80 82 $(PROGS64:%=$(ROOTOPTDIR)/%) \
81 83 $(SCRIPTS:%=$(ROOTOPTDIR)/%)
82 84
83 85 include $(SRC)/cmd/Makefile.cmd
84 86
85 87 all := TARGET = all
86 88 install := TARGET = install
87 89 clean := TARGET = clean
88 90 clobber := TARGET = clobber
89 91 lint := TARGET = lint
90 92
91 93 .KEEP_STATE:
92 94
93 95 install: $(SUBDIRS) $(ROOTOPTPROGS)
94 96
95 97 all: $(SUBDIRS) $(PROGS32) $(PROGS64)
96 98
97 99 clean lint: $(SUBDIRS)
98 100
99 101 $(ROOTOPTPROGS): $(PROGS32) $(PROGS64) $(ROOTOPTDIR)
100 102
101 103 $(ROOTOPTDIR):
102 104 $(INS.dir)
103 105
104 106 $(ROOTOPTDIR)/%: %
105 107 $(INS.file)
106 108
107 109 $(ROOTOPTDIR)/%: %.ksh
108 110 $(INS.rename)
109 111
110 112 %.64: %.c
111 113 $(LINK64.c) -o $@ $< $(LDLIBS64)
112 114 $(POST_PROCESS)
113 115
114 116 %.32: %.c
115 117 $(LINK.c) -o $@ $< $(LDLIBS)
116 118 $(POST_PROCESS)
117 119
118 120 clobber: $(SUBDIRS)
119 121 $(RM) $(PROGS32) $(PROGS64)
120 122
121 123 $(SUBDIRS): FRC
122 124 @cd $@; pwd; $(MAKE) $(TARGET)
123 125
124 126 FRC:
↓ open down ↓ |
59 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX