Print this page
OS-5192 need faster clock_gettime
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>
Reviewed by: Ryan Zezeski <ryan@zinascii.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libc/Makefile.targ
          +++ new/usr/src/lib/libc/Makefile.targ
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
       24 +# Copyright 2016 Joyent, Inc.
  24   25  #
  25   26  #
  26   27  
  27   28  # libc build rules
  28   29  
  29   30  #
  30   31  # This first rule picks up optimized sources for libc variants.
  31   32  #
  32   33  pics/%.o: $(OPTIMIZED_LIBCBASE)/gen/%.s
  33   34          $(BUILD.s)
↓ open down ↓ 52 lines elided ↑ open up ↑
  86   87          $(POST_PROCESS_O)
  87   88  
  88   89  pics/%.o: $(LIBCBASE)/sys/%.s
  89   90          $(BUILD.s)
  90   91          $(POST_PROCESS_O)
  91   92  
  92   93  pics/%.o: $(LIBCBASE)/../$(MACH)/sys/%.s
  93   94          $(BUILD.s)
  94   95          $(POST_PROCESS_O)
  95   96  
       97 +pics/%.o: $(LIBCBASE)/../$(MACH)/sys/%.c
       98 +        $(COMPILE.c) -o $@ $<
       99 +        $(POST_PROCESS_O)
      100 +
  96  101  pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/sys/%.c
  97  102          $(COMPILE.c) -o $@ $<
  98  103          $(POST_PROCESS_O)
  99  104  
 100  105  pics/%.o: $(LIBCBASE)/../$(TARGET_ARCH)/sys/%.s
 101  106          $(BUILD.s)
 102  107          $(POST_PROCESS_O)
 103  108  
 104  109  # rules to build large file aware objects (xxx64.o from xxx.s or xxx.c)
 105  110  
↓ open down ↓ 202 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX