Print this page
XXX Remove nawk(1)


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


  55 
  56 LIBS=           $(DYNLIB) $(LINTLIB)
  57 
  58 all: $(GENERATED) .WAIT $(SUBDIRS)
  59 
  60 install: all .WAIT $(SUBDIRS)
  61 
  62 clean clobber: $(SUBDIRS)
  63         $(RM) $(GENERATED)
  64 
  65 lint: $(SUBDIRS)
  66 
  67 # still need to implement cstyle check of term.h
  68 # do this when we go through and make this library cstyle clean.
  69 check: $(HDRS)
  70 
  71 $(SUBDIRS):     $(GENERATED)
  72         @cd $@; pwd; $(MAKE) $(TARGET)
  73 
  74 # derived C files

  75 $(NAMES) : src/libc/xcurses/mknames.awk src/libc/xcurses/caps
  76         $(RM) $(NAMES)
  77         cd src/libc/xcurses; $(AWK) -f mknames.awk caps
  78 
  79 h/term.h : src/libc/xcurses/mkterm.awk src/libc/xcurses/caps
  80         $(RM) $@
  81         cd src/libc/xcurses; $(AWK) -f mkterm.awk caps > term.h
  82         $(MV) src/libc/xcurses/term.h h/term.h
  83 
  84 src/libc/xcurses/keyindex.c : src/libc/xcurses/mkkey.awk src/libc/xcurses/caps
  85         $(RM) $@
  86         cd src/libc/xcurses; $(AWK) -f mkkey.awk caps > keyindex.c