Print this page
XXX Remove nawk(1)

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