diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-09-26 20:45:53 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2003-09-26 20:45:53 +0000 |
commit | 28bc34868006fa97ce4c8ef0198c2eb3af4208da (patch) | |
tree | 24f4be7c0845895ddcb2b78ebc6c07bcadb27833 /Makefile.in | |
parent | add comments (diff) | |
download | w3m-28bc34868006fa97ce4c8ef0198c2eb3af4208da.tar.gz w3m-28bc34868006fa97ce4c8ef0198c2eb3af4208da.zip |
* funcname.tab: generated from DEFUN
* main.c menu.c: use DEFUN
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index 0e369c6..6fe0bd4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -61,6 +61,7 @@ IMGLDFLAGS = @IMGX11LDFLAGS@ @IMGFBLDFLAGS@ CC0 = @CC@ CC = @POSUBST@ $(CC0) +CPP = @CPP@ RANLIB=@RANLIB@ AWK = @AWK@ PERL = @PERL@ @@ -138,17 +139,21 @@ keybind.o: funcname2.h keybind_lynx.o: funcname2.h parsetagx.o: html.c +funcname.tab: main.c menu.c + (echo '#define DEFUN(x,y,z) x y'; grep -h '^DEFUN' $^) | $(CPP) - | \ + awk '$$1 ~ /^[_A-Za-z]/ { for (i=2;i<=NF;i++) { print $$i, $$1} }' > $@ + funcname.c: funcname.tab - sort $(srcdir)/funcname.tab | $(AWK) -f $(top_srcdir)/funcname0.awk > $@ + sort funcname.tab | $(AWK) -f $(top_srcdir)/funcname0.awk > $@ funcname1.h: funcname.tab - sort $(srcdir)/funcname.tab | $(AWK) -f $(top_srcdir)/funcname1.awk > $@ + sort funcname.tab | $(AWK) -f $(top_srcdir)/funcname1.awk > $@ funcname2.h: funcname.tab - sort $(srcdir)/funcname.tab | $(AWK) -f $(top_srcdir)/funcname2.awk > $@ + sort funcname.tab | $(AWK) -f $(top_srcdir)/funcname2.awk > $@ functable.c: funcname.tab mktable$(EXT) - sort $(srcdir)/funcname.tab | $(AWK) -f $(top_srcdir)/functable.awk > functable.tab + sort funcname.tab | $(AWK) -f $(top_srcdir)/functable.awk > functable.tab ./mktable$(EXT) 100 functable.tab > $@ -rm -f functable.tab @@ -260,6 +265,7 @@ uninstall: clean: sweep -$(RM) -f *.o *.a $(TARGETS) mktable$(EXT) + -$(RM) -f funcname.tab -$(RM) -f funcname.c funcname1.h funcname2.h tagtable.c functable.c -for dir in w3mimg libwc; \ do \ |