Print this page
Rich's feedback

Split Close
Expand all
Collapse all
          --- old/usr/src/test/util-tests/tests/demangle/Makefile
          +++ new/usr/src/test/util-tests/tests/demangle/Makefile
↓ open down ↓ 2 lines elided ↑ open up ↑
   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.
   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      -# Copyright 2017 Jason King.
       13 +# Copyright 2018 Jason King.
  14   14  #
  15   15  
  16   16  include $(SRC)/Makefile.master
  17   17  include $(SRC)/cmd/Makefile.cmd
  18   18  include $(SRC)/test/Makefile.com
  19   19  
  20   20  ROOTBINDIR = $(ROOTOPTPKG)/bin
  21   21  
  22   22  PROG = gcc-libstdc++ llvm-stdcxxabi afl-fast
  23   23  
  24   24  ROOTOPTPKG = $(ROOT)/opt/util-tests
  25   25  TESTDIR = $(ROOTOPTPKG)/tests/demangle
  26   26  
  27   27  CMDS = $(PROG:%=$(TESTDIR)/%)
  28   28  $(CMDS) := FILEMODE = 0555
  29   29  
  30   30  OBJS = $(PROG:%=%.o)
  31   31  SRCS = $(OBJS:%.o=%.c)
  32   32  
  33      -C99MODE= $(C99_ENABLE)
       33 +CSTD = $(CSTD_GNU99)
  34   34  
  35      -LDLIBS += -lsysdemangle
       35 +LDLIBS += -ldemangle-sys
  36   36  
  37   37  all: $(PROG)
  38   38  
  39   39  gcc-libstdc++: gcc-libstdc++.o
  40   40          $(LINK.c) -o $@ gcc-libstdc++.o $(LDLIBS)
  41   41          $(POST_PROCESS)
  42   42  
  43   43  llvm-stdcxxabi: llvm-stdcxxabi.o
  44   44          $(LINK.c) -o $@ llvm-stdcxxabi.o $(LDLIBS)
  45   45          $(POST_PROCESS)
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX