21 newlocale \
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 printf-9511 \
42 psignal-5097 \
43 quick_exit_order \
44 quick_exit_status \
45 strcoll-strxfrm-6907 \
46 timespec_get \
47 wcsncasecmp \
48 wcsncasecmp-7344 \
49 wcsncasecmp-7350
50
51 SCRIPTS = \
52 quick_exit \
53 psignal
54
55 CPPFLAGS += -D_REENTRANT
56
57 PROGS32 = $(PROGS:%=%.32)
58 PROGS64 = \
59 $(PROGS:%=%.64) \
60 printf-6961.64
61
62 aligned_alloc.32 := LDLIBS += -lproc
63 aligned_alloc.64 := LDLIBS64 += -lproc
64
65 ROOTOPTDIR = $(ROOT)/opt/libc-tests/tests
66 ROOTOPTPROGS = $(PROGS32:%=$(ROOTOPTDIR)/%) \
67 $(PROGS64:%=$(ROOTOPTDIR)/%) \
68 $(SCRIPTS:%=$(ROOTOPTDIR)/%)
69
70 include $(SRC)/cmd/Makefile.cmd
71
72 all := TARGET = all
73 install := TARGET = install
74 clean := TARGET = clean
75 clobber := TARGET = clobber
76 lint := TARGET = lint
77
78 .KEEP_STATE:
79
80 install: $(SUBDIRS) $(ROOTOPTPROGS)
81
82 all: $(SUBDIRS) $(PROGS32) $(PROGS64)
83
84 clean lint: $(SUBDIRS)
|
21 newlocale \
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 PROGS32 = $(PROGS:%=%.32)
60 PROGS64 = \
61 $(PROGS:%=%.64) \
62 printf-6961.64
63
64 aligned_alloc.32 := LDLIBS += -lproc
65 aligned_alloc.64 := LDLIBS64 += -lproc
66
67 memset_s.32 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
68 memset_s.64 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
69 set_constraint_handler_s.32 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
70 set_constraint_handler_s.64 := CPPFLAGS += -D__STDC_WANT_LIB_EXT1__=1
71
72 ROOTOPTDIR = $(ROOT)/opt/libc-tests/tests
73 ROOTOPTPROGS = $(PROGS32:%=$(ROOTOPTDIR)/%) \
74 $(PROGS64:%=$(ROOTOPTDIR)/%) \
75 $(SCRIPTS:%=$(ROOTOPTDIR)/%)
76
77 include $(SRC)/cmd/Makefile.cmd
78
79 all := TARGET = all
80 install := TARGET = install
81 clean := TARGET = clean
82 clobber := TARGET = clobber
83 lint := TARGET = lint
84
85 .KEEP_STATE:
86
87 install: $(SUBDIRS) $(ROOTOPTPROGS)
88
89 all: $(SUBDIRS) $(PROGS32) $(PROGS64)
90
91 clean lint: $(SUBDIRS)
|