Print this page
    
    
      
        | Split | 
	Close | 
      
      | Expand all | 
      | Collapse all | 
    
    
          --- old/usr/src/lib/brand/lx/librtld_db/Makefile.com
          +++ new/usr/src/lib/brand/lx/librtld_db/Makefile.com
   1    1  #
   2    2  # CDDL HEADER START
   3    3  #
   4    4  # The contents of this file are subject to the terms of the
   5    5  # Common Development and Distribution License (the "License").
   6    6  # You may not use this file except in compliance with the License.
   7    7  #
   8    8  # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9    9  # or http://www.opensolaris.org/os/licensing.
  10   10  # See the License for the specific language governing permissions
  11   11  # and limitations under the License.
  12   12  #
  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  #
  23   23  # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
  26   26  # ident "%Z%%M% %I%     %E% SMI"
  27   27  #
  28   28  
  29   29  LIBRARY =       lx_librtld_db.a
  30   30  VERS    =       .1
  31   31  COBJS   =       lx_librtld_db.o
  32   32  OBJECTS =       $(COBJS) $(COBJS64)
  33   33  
  34   34  include $(SRC)/lib/Makefile.lib
  35   35  include ../../Makefile.lx
  36   36  
  37   37  CSRCS =       $(COBJS:%o=../common/%c)
  38   38  SRCS  =       $(CSRCS)
  39   39  
  40   40  SRCDIR =        ../common
  41   41  UTSBASE =       $(SRC)/uts
  42   42  
  43   43  #
  44   44  # ATTENTION:
  45   45  #       Librtl_db brand plugin libraries should NOT directly invoke any
  46   46  #       libproc.so interfaces or be linked against libproc.  If a librtl_db
  47   47  #       brand plugin library uses libproc.so interfaces then it may break
  48   48  #       any other librtld_db consumers (like mdb) that tries to attach
  49   49  #       to a branded process.  The only safe interfaces that the a librtld_db
  50   50  #       brand plugin library can use to access a target process are the
  51   51  #       proc_service(3PROC) apis.
  52   52  #
  53   53  DYNFLAGS +=     $(VERSREF) -M../common/mapfile-vers
  54   54  LIBS =          $(DYNLIB)
  55   55  LDLIBS +=       -lc -lrtld_db
  56   56  CFLAGS +=       $(CCVERBOSE)
  57   57  CPPFLAGS +=     -D_REENTRANT -I../ -I$(UTSBASE)/common/brand/lx \
  58   58                          -I$(SRC)/cmd/sgs/librtld_db/common \
  59   59                          -I$(SRC)/cmd/sgs/include \
  60   60                          -I$(SRC)/cmd/sgs/include/$(MACH)
  61   61  
  62   62  ROOTLIBDIR =    $(ROOT)/usr/lib/brand/lx
  63   63  ROOTLIBDIR64 =  $(ROOT)/usr/lib/brand/lx/$(MACH64)
  64   64  
  65   65  #
  66   66  # The top level Makefiles define define TEXT_DOMAIN.  But librtld_db.so.1
  67   67  # isn't internationalized and this library won't be either.  The only
  68   68  # messages that this library can generate are messages used for debugging
  69   69  # the operation of the library itself.
  70   70  #
  71   71  DTEXTDOM =
  72   72  
  73   73  .KEEP_STATE:
  74   74  
  75   75  all: $(LIBS)
  76   76  
  77   77  lint: lintcheck
  78   78  
  79   79  pics/%64.o:     ../common/%.c
  80   80                  $(COMPILE.c) -D_ELF64 $(PICFLAGS) -o $@ $<
  81   81                  $(POST_PROCESS_O)
  82   82  
  83   83  include $(SRC)/lib/Makefile.targ
  
    | 
      ↓ open down ↓ | 
    83 lines elided | 
    
      ↑ open up ↑ | 
  
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX