Print this page
XXX Remove nawk(1)

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libxcurses/Makefile
          +++ new/usr/src/lib/libxcurses/Makefile
↓ open down ↓ 64 lines elided ↑ open up ↑
  65   65  lint: $(SUBDIRS)
  66   66  
  67   67  # still need to implement cstyle check of term.h
  68   68  # do this when we go through and make this library cstyle clean.
  69   69  check: $(HDRS)
  70   70  
  71   71  $(SUBDIRS):     $(GENERATED)
  72   72          @cd $@; pwd; $(MAKE) $(TARGET)
  73   73  
  74   74  # derived C files
  75      -# mknames.awk defines functions so needs nawk
  76   75  $(NAMES) : src/libc/xcurses/mknames.awk src/libc/xcurses/caps
  77   76          $(RM) $(NAMES)
  78      -        cd src/libc/xcurses; $(NAWK) -f mknames.awk caps
       77 +        cd src/libc/xcurses; $(AWK) -f mknames.awk caps
  79   78  
  80   79  h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps
  81   80          $(RM) $@
  82      -        cd src/libc/xcurses; $(NAWK) -f mkterm.awk caps > term.h
       81 +        cd src/libc/xcurses; $(AWK) -f mkterm.awk caps > term.h
  83   82          $(MV) src/libc/xcurses/term.h h/term.h
  84   83  
  85   84  src/libc/xcurses/keyindex.c : src/libc/xcurses/mkkey.awk src/libc/xcurses/caps
  86   85          $(RM) $@
  87      -        cd src/libc/xcurses; $(NAWK) -f mkkey.awk caps > keyindex.c
       86 +        cd src/libc/xcurses; $(AWK) -f mkkey.awk caps > keyindex.c
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX