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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/Makefile.cmd
          +++ new/usr/src/cmd/Makefile.cmd
↓ 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 2017 RackTop Systems.
  23   24  #
  24   25  # Definitions common to command source.
  25   26  #
  26   27  # include global definitions; SRC should be defined in the shell.
  27   28  # SRC is needed until RFE 1026993 is implemented.
  28   29  
  29   30  include $(SRC)/Makefile.master
  30   31  
  31   32  LN=             ln
  32   33  SH=             sh
↓ open down ↓ 83 lines elided ↑ open up ↑
 116  117  ROOTAUDIOSAMP=  $(ROOTSHAUDIO)/samples
 117  118  ROOTAUDIOSAMPAU=$(ROOTAUDIOSAMP)/au
 118  119  
 119  120  ISAEXEC=        $(ROOT)/usr/lib/isaexec
 120  121  PLATEXEC=       $(ROOT)/usr/lib/platexec
 121  122  
 122  123  LDLIBS =        $(LDLIBS.cmd)
 123  124  
 124  125  LDFLAGS.cmd = \
 125  126          $(BDIRECT) $(ENVLDFLAGS1) $(ENVLDFLAGS2) $(ENVLDFLAGS3) \
 126      -        $(MAPFILE.NES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%)
      127 +        $(MAPFILE.NES:%=-M%) $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%) \
      128 +        $(ZASSERTDEFLIB)
 127  129  
 128  130  LDFLAGS =       $(LDFLAGS.cmd)
 129  131  
 130  132  LINTFLAGS=      -axsm
 131  133  LINTFLAGS64=    -axsm -m64
 132  134  LINTOUT=        lint.out
 133  135  
 134  136  KRB5PROG=       $(PROG:%=$(KRB5BIN)/%)
 135  137  KRB5SBINPROG=   $(PROG:%=$(KRB5SBIN)/%)
 136  138  KRB5LIBPROG=    $(PROG:%=$(KRB5LIB)/%)
↓ open down ↓ 374 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX