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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/oawk/Makefile
          +++ new/usr/src/cmd/oawk/Makefile
↓ open down ↓ 15 lines elided ↑ open up ↑
  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   23  # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  24   24  # Use is subject to license terms.
  25   25  #
       26 +# Copyright 2017 RackTop Systems.
       27 +#
  26   28  
  27   29  include         ../Makefile.cmd
  28   30  
  29   31  PROG =          oawk
  30   32  LINKPROG =      awk
  31   33  
  32   34  SRCS =          b.c lib.c main.c parse.c run.c tran.c
  33   35  
  34   36  #TXTS =         README EXPLAIN
  35   37  
↓ open down ↓ 7 lines elided ↑ open up ↑
  43   45  POFILE=         oawk.po
  44   46  XGETFLAGS +=    -a -x oawk.xcl
  45   47  
  46   48  NATIVEDIR =     native
  47   49  MAKEPRCTAB =    $(NATIVEDIR)/makeprctab
  48   50  
  49   51  NATIVEOBJS =    $(NATIVEDIR)/makeprctab.o $(NATIVEDIR)/tmptoken.o
  50   52  $(MAKEPRCTAB) :=        CC = $(NATIVECC)
  51   53  $(MAKEPRCTAB) :=        POST_PROCESS=
  52   54  $(MAKEPRCTAB) :=        POST_PROCESS_O=
       55 +$(MAKEPRCTAB) :=        ZASSERTDEFLIB=
  53   56  
  54   57  CLEANFILES =    proctab.c y.tab.h y.tab.c awk.h awk.g.c         \
  55   58                  tmptoken.c awk.lx.c $(NATIVEOBJS) $(MAKEPRCTAB) \
  56   59                  temp
  57   60  
  58   61  YFLAGS =        -d
  59   62  XLDLIBS5CC +=   -lm 
  60   63  LDLIBS +=       -lm
  61   64  CPPFLAGS =      -I. $(CPPFLAGS.master)
  62   65  CPPFLAGS +=     -D_FILE_OFFSET_BITS=64
↓ open down ↓ 61 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX