commit ed6eee18dcf39b05d3a649552b6054f262faeb7d
parent 3c4d4b6b072d61cf115835e5604f04b2fe488fd0
Author: ukai <ukai>
Date: Thu, 13 Mar 2003 15:29:42 +0000
[w3m-dev 03821] fix for pmake
* Makefile.in: use $(srcdir)/... instead of $<
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat:
2 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,8 @@
+2003-03-14 Fumitoshi UKAI <ukai@debian.or.jp>
+
+ * [w3m-dev 03821] fix for pmake
+ * Makefile.in: use $(srcdir)/... instead of $<
+
2003-03-13 Dai Sato <satodai@dog.intcul.tohoku.ac.jp>
* etc.c: treatment for "%7E" is added to expandName()
diff --git a/Makefile.in b/Makefile.in
@@ -114,7 +114,7 @@ $(ALIB): $(ALIBOBJS)
$(OBJS): fm.h funcname1.h
tagtable.c: tagtable.tab mktable$(EXT) html.h
- ./mktable$(EXT) 100 $< > $@
+ ./mktable$(EXT) 100 $(srcdir)/tagtable.tab > $@
func.o: funcname.c functable.c funcname1.h
keybind.o: funcname2.h
@@ -122,16 +122,16 @@ keybind_lynx.o: funcname2.h
parsetagx.o: html.c
funcname.c: funcname.tab
- sort $< | $(AWK) -f $(top_srcdir)/funcname0.awk > $@
+ sort $(srcdir)/funcname.tab | $(AWK) -f $(top_srcdir)/funcname0.awk > $@
funcname1.h: funcname.tab
- sort $< | $(AWK) -f $(top_srcdir)/funcname1.awk > $@
+ sort $(srcdir)/funcname.tab | $(AWK) -f $(top_srcdir)/funcname1.awk > $@
funcname2.h: funcname.tab
- sort $< | $(AWK) -f $(top_srcdir)/funcname2.awk > $@
+ sort $(srcdir)/funcname.tab | $(AWK) -f $(top_srcdir)/funcname2.awk > $@
functable.c: funcname.tab mktable$(EXT)
- sort $< | $(AWK) -f $(top_srcdir)/functable.awk > functable.tab
+ sort $(srcdir)/funcname.tab | $(AWK) -f $(top_srcdir)/functable.awk > functable.tab
./mktable$(EXT) 100 functable.tab > $@
-rm -f functable.tab
@@ -148,13 +148,13 @@ $(INFLATE): inflate.o
$(CC) $(CFLAGS) -o $(INFLATE) inflate.o $(LDFLAGS) $(LIBS) -lz
inflate.o: inflate.c
- $(CC) $(CFLAGS) -o $@ -c $<
+ $(CC) $(CFLAGS) -o $@ -c $(srcdir)/inflate.c
$(IMGDISPLAY): w3mimgdisplay.o $(IMGOBJS)
$(CC) $(CFLAGS) -o $(IMGDISPLAY) w3mimgdisplay.o $(IMGOBJS) $(LDFLAGS) $(LIBS) $(IMGLDFLAGS)
w3mimgdisplay.o: w3mimgdisplay.c
- $(CC) $(CFLAGS) $(IMGCFLAGS) -c $<
+ $(CC) $(CFLAGS) $(IMGCFLAGS) -o $@ -c $(srcdir)/w3mimgdisplay.c
w3mimg/w3mimg.o: w3mimg/w3mimg.c
-@$(MKDIR) w3mimg