Print this page
OS-3643 lx brand: add USDT provider to lx_brand.so.1
OS-3644 lx brand: ptrace_init() never called

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/Makefile.targ
          +++ new/usr/src/lib/Makefile.targ
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13  # When distributing Covered Code, include this CDDL HEADER in each
  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 (c) 1989, 2010, Oracle and/or its affiliates. All rights reserved.
       23 +# Copyright (c) 2014, Joyent, Inc.
  23   24  #
  24   25  
  25   26  #
  26   27  # included to define local library targets
  27   28  #
  28   29  
  29   30  # conditional assignment of default permissions for the installed
  30   31  # DYNLIB/DYNLIBCCC.  Set here and in Makefile.mach, instead of Makefile.lib,
  31   32  # because ROOTLIBDIR may be changed in the including makefile after it has
  32   33  # included Makefile.lib.
↓ open down ↓ 50 lines elided ↑ open up ↑
  83   84  
  84   85  objs pics:
  85   86          -@mkdir -p $@
  86   87  
  87   88  $(LIBRARY): objs .WAIT $$(OBJS)
  88   89          $(BUILD.AR)
  89   90          $(POST_PROCESS_A)
  90   91  
  91   92  $(DYNLIB): $$(MAPFILES)
  92   93  
  93      -$(DYNLIB): pics .WAIT $$(PICS) $$(ALTPICS) $$(EXTPICS)
       94 +$(DYNLIB): pics $(USDT_HEADERS) .WAIT $$(PICS) $$(ALTPICS) $$(EXTPICS) .WAIT $(USDT_PICS)
  94   95          $(BUILD.SO)
  95   96          $(POST_PROCESS_SO)
  96   97  
  97   98  $(DYNLIBCCC): pics .WAIT $$(PICS) $$(ALTPICS) $$(EXTPICS)
  98   99          $(BUILDCCC.SO)
  99  100          $(POST_PROCESS_SO)
 100  101  
 101  102  $(LINTLIB): $$(SRCS) 
 102  103          $(LINT.c) -o $(LIBNAME) $(SRCS) > $(LINTOUT) 2>&1 
 103  104  
 104  105  lintcheck: $$(SRCS)
 105  106          $(LINT.c) $(LINTCHECKFLAGS) $(SRCS) $(LDLIBS)
 106  107  
 107  108  clobber: clean
 108  109          -$(RM) $(CLOBBERTARGFILES)
 109  110  
 110  111  clean:
 111      -        -$(RM) $(OBJS)
      112 +        -$(RM) $(OBJS) $(USDT_HEADERS) $(USDT_PICS)
 112  113          -$(RM) $(PICS) $(DUPLICATE_SRC) $(LINTOUT) $(LINTLIB) $(CLEANFILES)
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX