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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/lp/filter/postscript/font/Makefile
          +++ new/usr/src/cmd/lp/filter/postscript/font/Makefile
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13  #
  14   14  # When distributing Covered Code, include this CDDL HEADER in each
  15   15  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16   16  # If applicable, add the following below this CDDL HEADER, with the
  17   17  # fields enclosed by brackets "[]" replaced with your own identifying
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  #
  23      -# ident "%Z%%M% %I%     %E% SMI"
  24      -#
  25   23  # Copyright 1989-2002 Sun Microsystems, Inc.  All rights reserved.
  26   24  # Use is subject to license terms.
  27   25  #
       26 +# Copyright 2017 RackTop Systems.
       27 +#
  28   28  # cmd/lp/filter/postscript/font/Makefile
  29   29  #
  30   30  
  31   31  include                 ../../../Makefile.lp
  32   32  
  33   33  PROG =                  makedev
  34   34  
  35   35  SRCS =                  makedev.c
  36   36  
  37   37  OBJS =                  $(SRCS:%.c=%.o)
↓ open down ↓ 6 lines elided ↑ open up ↑
  44   44  
  45   45  CPPFLAGS =              -I$(COMMONDIR) $(CPPFLAGS.master)
  46   46  
  47   47  POFILE =        lp_filter_postscript_font.po
  48   48  
  49   49  NATIVEDIR =             native
  50   50  NATIVEPROG =            $(NATIVEDIR)/$(PROG)
  51   51  $(NATIVEPROG) :=        CC=$(NATIVECC)
  52   52  $(NATIVEPROG) :=        LDLIBS=
  53   53  $(NATIVEPROG) :=        CPPFLAGS.master=
       54 +$(NATIVEPROG) :=        ZASSERTDEFLIB=
  54   55  
  55   56  .KEEP_STATE:
  56   57  
  57   58  all :                   $(PROG) $(NATIVEPROG) $(SUBDIRS)
  58   59  
  59   60  install :               $(PROG) $(ROOTLIBFONTPROG) $(SUBDIRS)
  60   61  
  61   62  clean :                 $(SUBDIRS)
  62   63                          $(RM) $(OBJS)
  63   64  
↓ open down ↓ 28 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX