Print this page
8548 want memset_s(3C)
Reviewed by: Robert Mustacchi <rm@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/test/libc-tests/tests/Makefile
          +++ new/usr/src/test/libc-tests/tests/Makefile
↓ open down ↓ 30 lines elided ↑ open up ↑
  31   31          wctype
  32   32  
  33   33  PROGS = \
  34   34          aligned_alloc \
  35   35          c11_threads \
  36   36          c11_tss \
  37   37          call_once \
  38   38          endian \
  39   39          env-7076 \
  40   40          fnmatch \
       41 +        memset_s \
  41   42          printf-9511 \
  42   43          psignal-5097 \
  43   44          quick_exit_order \
  44   45          quick_exit_status \
       46 +        set_constraint_handler_s \
  45   47          strcoll-strxfrm-6907 \
  46   48          timespec_get \
  47   49          wcsncasecmp \
  48   50          wcsncasecmp-7344 \
  49   51          wcsncasecmp-7350
  50   52  
  51   53  SCRIPTS = \
  52   54          quick_exit \
  53   55          psignal
  54   56  
  55   57  CPPFLAGS += -D_REENTRANT
  56   58  
  57   59  PROGS32 = $(PROGS:%=%.32)
  58   60  PROGS64 = \
  59   61          $(PROGS:%=%.64) \
  60   62          printf-6961.64
  61   63  
  62   64  aligned_alloc.32 :=     LDLIBS += -lproc
  63   65  aligned_alloc.64 :=     LDLIBS64 += -lproc
  64   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 +
  65   72  ROOTOPTDIR = $(ROOT)/opt/libc-tests/tests
  66   73  ROOTOPTPROGS = $(PROGS32:%=$(ROOTOPTDIR)/%) \
  67   74          $(PROGS64:%=$(ROOTOPTDIR)/%) \
  68   75          $(SCRIPTS:%=$(ROOTOPTDIR)/%)
  69   76  
  70   77  include $(SRC)/cmd/Makefile.cmd
  71   78  
  72   79  all     :=      TARGET = all
  73   80  install :=      TARGET = install
  74   81  clean   :=      TARGET = clean
↓ open down ↓ 37 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX