Print this page
XXX Remove nawk(1)
*** 70,87 ****
$(SUBDIRS): $(GENERATED)
@cd $@; pwd; $(MAKE) $(TARGET)
# derived C files
- # mknames.awk defines functions so needs nawk
$(NAMES) : src/libc/xcurses/mknames.awk src/libc/xcurses/caps
$(RM) $(NAMES)
! cd src/libc/xcurses; $(NAWK) -f mknames.awk caps
h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps
$(RM) $@
! cd src/libc/xcurses; $(NAWK) -f mkterm.awk caps > term.h
$(MV) src/libc/xcurses/term.h h/term.h
src/libc/xcurses/keyindex.c : src/libc/xcurses/mkkey.awk src/libc/xcurses/caps
$(RM) $@
! cd src/libc/xcurses; $(NAWK) -f mkkey.awk caps > keyindex.c
--- 70,86 ----
$(SUBDIRS): $(GENERATED)
@cd $@; pwd; $(MAKE) $(TARGET)
# derived C files
$(NAMES) : src/libc/xcurses/mknames.awk src/libc/xcurses/caps
$(RM) $(NAMES)
! cd src/libc/xcurses; $(AWK) -f mknames.awk caps
h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps
$(RM) $@
! cd src/libc/xcurses; $(AWK) -f mkterm.awk caps > term.h
$(MV) src/libc/xcurses/term.h h/term.h
src/libc/xcurses/keyindex.c : src/libc/xcurses/mkkey.awk src/libc/xcurses/caps
$(RM) $@
! cd src/libc/xcurses; $(AWK) -f mkkey.awk caps > keyindex.c