22 nl_langinfo \
23 priv_gettext \
24 random \
25 regex \
26 select \
27 strerror \
28 symbols \
29 threads \
30 wcsrtombs \
31 wctype
32
33 PROGS = \
34 aligned_alloc \
35 c11_threads \
36 c11_tss \
37 call_once \
38 endian \
39 env-7076 \
40 fnmatch \
41 memset_s \
42 printf-9511 \
43 psignal-5097 \
44 quick_exit_order \
45 quick_exit_status \
46 set_constraint_handler_s \
47 strcoll-strxfrm-6907 \
48 timespec_get \
49 wcsncasecmp \
50 wcsncasecmp-7344 \
51 wcsncasecmp-7350
52
53 SCRIPTS = \
54 quick_exit \
55 psignal
56
57 CPPFLAGS += -D_REENTRANT
58
59 # needs work
60 SMOFF += all_func_returns,snprintf_overflow
61
62 PROGS32 = $(PROGS:%=%.32)
63 PROGS64 = \
64 $(PROGS:%=%.64) \
65 printf-6961.64
66
67 aligned_alloc.32 := LDLIBS += -lproc
68 aligned_alloc.64 := LDLIBS64 += -lproc
69
70 memset_s.32 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
71 memset_s.64 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
72 set_constraint_handler_s.32 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
73 set_constraint_handler_s.64 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
74
75 ROOTOPTDIR = $(ROOT)/opt/libc-tests/tests
76 ROOTOPTPROGS = $(PROGS32:%=$(ROOTOPTDIR)/%) \
77 $(PROGS64:%=$(ROOTOPTDIR)/%) \
78 $(SCRIPTS:%=$(ROOTOPTDIR)/%)
79
80 include $(SRC)/cmd/Makefile.cmd
81
82 all := TARGET = all
83 install := TARGET = install
84 clean := TARGET = clean
85 clobber := TARGET = clobber
86 lint := TARGET = lint
87
88 .KEEP_STATE:
|
22 nl_langinfo \
23 priv_gettext \
24 random \
25 regex \
26 select \
27 strerror \
28 symbols \
29 threads \
30 wcsrtombs \
31 wctype
32
33 PROGS = \
34 aligned_alloc \
35 c11_threads \
36 c11_tss \
37 call_once \
38 endian \
39 env-7076 \
40 fnmatch \
41 memset_s \
42 posix_memalign \
43 printf-9511 \
44 psignal-5097 \
45 quick_exit_order \
46 quick_exit_status \
47 set_constraint_handler_s \
48 strcoll-strxfrm-6907 \
49 timespec_get \
50 wcsncasecmp \
51 wcsncasecmp-7344 \
52 wcsncasecmp-7350
53
54 SCRIPTS = \
55 quick_exit \
56 psignal
57
58 CPPFLAGS += -D_REENTRANT
59
60 # needs work
61 SMOFF += all_func_returns,snprintf_overflow
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
76 set_constraint_handler_s.64 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
77
78 ROOTOPTDIR = $(ROOT)/opt/libc-tests/tests
79 ROOTOPTPROGS = $(PROGS32:%=$(ROOTOPTDIR)/%) \
80 $(PROGS64:%=$(ROOTOPTDIR)/%) \
81 $(SCRIPTS:%=$(ROOTOPTDIR)/%)
82
83 include $(SRC)/cmd/Makefile.cmd
84
85 all := TARGET = all
86 install := TARGET = install
87 clean := TARGET = clean
88 clobber := TARGET = clobber
89 lint := TARGET = lint
90
91 .KEEP_STATE:
|