Print this page
XXX Remove nawk(1)


  63 
  64 all: $(GENERATED) .WAIT $(SUBDIRS)
  65 
  66 install: all .WAIT $(SUBDIRS)
  67 
  68 clean clobber: $(SUBDIRS)
  69         $(RM) $(GENERATED)
  70 
  71 lint: $(SUBDIRS)
  72 
  73 # still need to implement cstyle check of term.h
  74 # do this when we go through and make this library cstyle clean.
  75 check: $(HDRS)
  76 
  77 install_h: $(ROOTHDRS)
  78 
  79 $(SUBDIRS):     $(GENERATED)
  80         @cd $@; pwd; $(MAKE) $(TARGET)
  81 
  82 # derived C files
  83 # mknames.awk defines functions so needs nawk
  84 $(NAMES) : src/libc/xcurses/mknames.awk src/libc/xcurses/caps
  85         $(RM) $(NAMES)
  86         cd src/libc/xcurses; $(NAWK) -f mknames.awk caps
  87 
  88 h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps
  89         $(RM) $@
  90         cd src/libc/xcurses; $(NAWK) -f mkterm.awk caps > term.h
  91         $(MV) src/libc/xcurses/term.h h/term.h
  92 
  93 src/libc/xcurses/keyindex.c : src/libc/xcurses/mkkey.awk src/libc/xcurses/caps
  94         $(RM) $@
  95         cd src/libc/xcurses; $(NAWK) -f mkkey.awk caps > keyindex.c


  63 
  64 all: $(GENERATED) .WAIT $(SUBDIRS)
  65 
  66 install: all .WAIT $(SUBDIRS)
  67 
  68 clean clobber: $(SUBDIRS)
  69         $(RM) $(GENERATED)
  70 
  71 lint: $(SUBDIRS)
  72 
  73 # still need to implement cstyle check of term.h
  74 # do this when we go through and make this library cstyle clean.
  75 check: $(HDRS)
  76 
  77 install_h: $(ROOTHDRS)
  78 
  79 $(SUBDIRS):     $(GENERATED)
  80         @cd $@; pwd; $(MAKE) $(TARGET)
  81 
  82 # derived C files

  83 $(NAMES) : src/libc/xcurses/mknames.awk src/libc/xcurses/caps
  84         $(RM) $(NAMES)
  85         cd src/libc/xcurses; $(AWK) -f mknames.awk caps
  86 
  87 h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps
  88         $(RM) $@
  89         cd src/libc/xcurses; $(AWK) -f mkterm.awk caps > term.h
  90         $(MV) src/libc/xcurses/term.h h/term.h
  91 
  92 src/libc/xcurses/keyindex.c : src/libc/xcurses/mkkey.awk src/libc/xcurses/caps
  93         $(RM) $@
  94         cd src/libc/xcurses; $(AWK) -f mkkey.awk caps > keyindex.c