Print this page
3731 Update nawk to version 20121220

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/awk/Makefile
          +++ new/usr/src/cmd/awk/Makefile
↓ open down ↓ 21 lines elided ↑ open up ↑
  22   22  #
  23   23  #
  24   24  # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  25   25  # Use is subject to license terms.
  26   26  #
  27   27  
  28   28  # NOTE: awk is oawk.
  29   29  
  30   30  PROG= nawk
  31   31  
  32      -OBJ1= b.o lib.o main.o parse.o proctab.o run.o tran.o
  33      -OBJ2= awk.g.o awk.lx.o
       32 +OBJ1= b.o lex.o lib.o main.o parse.o proctab.o run.o tran.o
       33 +OBJ2= awk.g.o
  34   34  OBJS= $(OBJ2) $(OBJ1)
  35   35  SRCS= $(OBJ1:%.o=%.c)
  36   36  
  37   37  include ../Makefile.cmd
  38   38  
  39      -CERRWARN += -_gcc=-Wno-implicit-function-declaration
  40      -CERRWARN += -_gcc=-Wno-unused-label
  41      -CERRWARN += -_gcc=-Wno-parentheses
  42      -CERRWARN += -_gcc=-Wno-unused-variable
  43      -CERRWARN += -_gcc=-Wno-uninitialized
  44      -
  45   39  #
  46   40  # Message catalog
  47   41  #
  48   42  POFILES= $(OBJS:%.o=%.po)
  49   43  POFILE= awk.po
  50   44  XGETFLAGS += -a -x awk.xcl
  51   45  #
  52   46  
  53   47  CPPFLAGS += -D_FILE_OFFSET_BITS=64
  54   48  YFLAGS += -d
↓ open down ↓ 23 lines elided ↑ open up ↑
  78   72  
  79   73  maketab: maketab.c
  80   74          $(NATIVECC) -O maketab.c -o $@ $(LDLIBS)
  81   75  
  82   76  install: all $(ROOTPROG) $(ROOTLINK)
  83   77  
  84   78  clean:
  85   79          $(RM) $(OBJS) $(CLEANFILES)
  86   80  
  87   81  lint: awk.g.c lint_SRCS
       82 +        $(LINT.c) awk.g.c $(LDLIBS)
       83 +        $(LINT.c) maketab.c $(LDLIBS)
  88   84  
  89   85  awk.g.c + y.tab.h: awk.g.y
  90   86  
  91   87  awk.g.o: awk.g.c
  92   88  
  93      -awk.lx.c: awk.lx.l
  94      -
  95   89  proctab.o: proctab.c
  96   90          $(COMPILE.c) proctab.c
  97   91          $(POST_PROCESS_O)
  98   92  
  99   93  include ../Makefile.targ
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX