Print this page
8411 Build should warn when linking against libraries outside proto area

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libuutil/Makefile.com
          +++ new/usr/src/lib/libuutil/Makefile.com
↓ 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) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
       23 +# Copyright 2017 RackTop Systems.
  23   24  #
  24   25  
  25   26  LIBRARY =       libuutil.a
  26   27  VERS =          .1
  27   28  
  28   29  OBJECTS = \
  29   30          avl.o \
  30   31          uu_alloc.o \
  31   32          uu_avl.o \
  32   33          uu_dprintf.o \
↓ open down ↓ 6 lines elided ↑ open up ↑
  39   40          uu_strtoint.o
  40   41  
  41   42  include ../../Makefile.lib
  42   43  include ../../Makefile.rootfs
  43   44  
  44   45  LIBS =          $(DYNLIB) $(LINTLIB)
  45   46  
  46   47  $(NOT_NATIVE)NATIVE_BUILD = $(POUND_SIGN)
  47   48  $(NATIVE_BUILD)VERS =
  48   49  $(NATIVE_BUILD)LIBS = $(DYNLIB)
       50 +$(NATIVE_BUILD)$(DYNLIB) := ZASSERTDEFLIB=
  49   51  
  50   52  SRCS =  \
  51   53          ../../../common/avl/avl.c \
  52   54          ../common/uu_alloc.c \
  53   55          ../common/uu_avl.c \
  54   56          ../common/uu_dprintf.c \
  55   57          ../common/uu_ident.c \
  56   58          ../common/uu_list.c \
  57   59          ../common/uu_misc.c \
  58   60          ../common/uu_open.c \
↓ open down ↓ 42 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX