1 #
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
6 #
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
10 #
11
12 #
13 # Copyright (c) 2012 by Delphix. All rights reserved.
14 # Copyright 2015 Garrett D'Amore <garrett@damore.org>
15 # Copyright 2019 Joyent, Inc.
16 #
17
18 SUBDIRS = \
19 catopen \
20 fpround \
21 i18n \
22 newlocale \
23 nl_langinfo \
24 priv_gettext \
25 random \
26 regex \
27 select \
28 stdio \
29 strerror \
30 symbols \
31 threads \
32 wcsrtombs \
33 wctype
34
35 PROGS = \
36 aligned_alloc \
37 c11_threads \
38 c11_tss \
39 call_once \
40 endian \
41 env-7076 \
42 fnmatch \
43 memset_s \
44 posix_memalign \
45 printf-9511 \
46 psignal-5097 \
47 quick_exit_order \
48 quick_exit_status \
49 set_constraint_handler_s \
50 strcoll-strxfrm-6907 \
51 timespec_get \
52 wcsncasecmp \
53 wcsncasecmp-7344 \
54 wcsncasecmp-7350 \
55 uchar
56
57 SCRIPTS = \
58 quick_exit \
59 psignal
60
61 CPPFLAGS += -D_REENTRANT
62
63 PROGS32 = $(PROGS:%=%.32)
64 PROGS64 = \
65 $(PROGS:%=%.64) \
66 printf-6961.64
67
68 aligned_alloc.32 := LDLIBS += -lproc
69 aligned_alloc.64 := LDLIBS64 += -lproc
70 posix_memalign.32 := LDLIBS += -lproc
71 posix_memalign.64 := LDLIBS64 += -lproc
72
73 memset_s.32 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
74 memset_s.64 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
75 set_constraint_handler_s.32 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
|
1 #
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
6 #
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
10 #
11
12 #
13 # Copyright (c) 2012 by Delphix. All rights reserved.
14 # Copyright 2015 Garrett D'Amore <garrett@damore.org>
15 # Copyright 2019 Joyent, Inc.
16 # Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
17 #
18
19 SUBDIRS = \
20 catopen \
21 fpround \
22 i18n \
23 newlocale \
24 nl_langinfo \
25 priv_gettext \
26 random \
27 regex \
28 select \
29 stdio \
30 strerror \
31 symbols \
32 threads \
33 wcsrtombs \
34 wctype
35
36 PROGS = \
37 aligned_alloc \
38 c11_threads \
39 c11_tss \
40 call_once \
41 endian \
42 env-7076 \
43 fnmatch \
44 memset_s \
45 posix_memalign \
46 printf-9511 \
47 psignal-5097 \
48 quick_exit_order \
49 quick_exit_status \
50 set_constraint_handler_s \
51 strcoll-strxfrm-6907 \
52 timespec_get \
53 wcsncasecmp \
54 wcsncasecmp-7344 \
55 wcsncasecmp-7350 \
56 uchar \
57 utimes
58
59 SCRIPTS = \
60 quick_exit \
61 psignal
62
63 CPPFLAGS += -D_REENTRANT
64
65 PROGS32 = $(PROGS:%=%.32)
66 PROGS64 = \
67 $(PROGS:%=%.64) \
68 printf-6961.64
69
70 aligned_alloc.32 := LDLIBS += -lproc
71 aligned_alloc.64 := LDLIBS64 += -lproc
72 posix_memalign.32 := LDLIBS += -lproc
73 posix_memalign.64 := LDLIBS64 += -lproc
74
75 memset_s.32 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
76 memset_s.64 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
77 set_constraint_handler_s.32 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
|