lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev .c.i suffix rule enhanced patch


From: pg
Subject: lynx-dev .c.i suffix rule enhanced patch
Date: Fri, 5 Mar 1999 08:44:05 -0700 (MST)

In a recent note, address@hidden said:

> Date: Fri, 5 Mar 1999 07:55:10 -0700 (MST)
> 
> In a recent note, address@hidden said:
> > Can you get a .i file?  (The src/makefile has a suffix rule for this).
> 
> Thanks. I wasn't aware of this.  But the suffix rule is slightly broken.
> Patch (poorly tested) attached.
> 
Let me be more thorough;  I find three instances of this deficiency.

Revised patch attached.  (still poorly tested).

Thanks,
gil
============================================================================
* add $(srcdir) path to .c.i suffix rule in makefile.in - PG

%%% Created Fri Mar  5 08:27:56 MST 1999 by target lynx.patch. %%%
diff -bru orig/lynx2-8-2/WWW/Library/unix/makefile.in 
lynx2-8-2/WWW/Library/unix/makefile.in
--- orig/lynx2-8-2/WWW/Library/unix/makefile.in Thu Dec 24 04:27:23 1998
+++ lynx2-8-2/WWW/Library/unix/makefile.in      Fri Mar  5 08:24:56 1999
@@ -66,7 +66,7 @@
 
 .c.i:
 @RULE_CC@
-       @address@hidden(CPP) -C $(CPPOPTS) $*.c >$@
+       @address@hidden(CPP) -C $(CPPOPTS) $(srcdir)/$*.c >$@
 
 depend :
        makedepend -fmakefile -- $(CFLAGS) -- $(CFILES)
diff -bru orig/lynx2-8-2/src/chrtrans/makefile.in 
lynx2-8-2/src/chrtrans/makefile.in
--- orig/lynx2-8-2/src/chrtrans/makefile.in     Thu Mar  4 03:39:45 1999
+++ lynx2-8-2/src/chrtrans/makefile.in  Fri Mar  5 08:26:34 1999
@@ -105,7 +104,7 @@
 
 .c.i:
 @RULE_CC@
-       @address@hidden(CPP) -C $(CPP_OPTS) $*.c >$@
+       @address@hidden(CPP) -C $(CPP_OPTS) $(srcdir)/$*.c >$@
 
 .tbl.h:
        ./makeuctb$x $(srcdir)/$*.tbl > $@
diff -bru orig/lynx2-8-2/src/makefile.in lynx2-8-2/src/makefile.in
--- orig/lynx2-8-2/src/makefile.in      Wed Feb 17 07:29:33 1999
+++ lynx2-8-2/src/makefile.in   Fri Mar  5 07:32:27 1999
@@ -79,7 +79,7 @@
 
 .c.i:
 @RULE_CC@
-       @address@hidden(CPP) -C $(CPP_OPTS) $*.c >$@
+       @address@hidden(CPP) -C $(CPP_OPTS) $(srcdir)/$*.c >$@
 
 lynx$x:   message do_chartrans_stuff $(top_builddir)/LYHelp.h $(OBJS) $(WWWLIB)
        @echo "Linking and creating Lynx executable"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]