You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dg...@locus.apache.org on 2000/06/10 03:10:11 UTC
cvs commit: apache-2.0/src/main Makefile.in
dgaudet 00/06/09 18:10:11
Modified: src/main Makefile.in
Log:
fix dependencies. (what is a .lo anyway? i tried making the .o depend
on the .h which is how dependencies usually work, but the other rules
didn't work out right unless i used a .lo ... i suppose this only matters
to folks building with -j N)
Revision Changes Path
1.11 +2 -2 apache-2.0/src/main/Makefile.in
Index: Makefile.in
===================================================================
RCS file: /home/cvs/apache-2.0/src/main/Makefile.in,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Makefile.in 2000/05/25 20:51:23 1.10
+++ Makefile.in 2000/06/10 01:10:10 1.11
@@ -26,5 +26,5 @@
test_char.h: gen_test_char
./gen_test_char > test_char.h
-$(srcdir)/util_uri.c: uri_delims.h
-$(srcdir)/util.c: test_char.h
+util_uri.o: uri_delims.h
+util.o: test_char.h
Re: $(srcdir) in makefiles (was: Re: cvs commit: apache-2.0/src/main
Makefile.in)
Posted by Sascha Schumann <sa...@schumann.cx>.
On Fri, 9 Jun 2000, Greg Stein wrote:
> Hmm. That $(srcdir) stuff is in there for shadow builds, I think.
Right.
> (imo, I think it would be a pain in the ass to always insert $(srcdir), so
> I'd prefer to see it go...)
Most makes have a limited VPATH functionality. That is, they
support VPATH only for implicit rules.
When you want to specify a file which is located in $srcdir
as a dependency or target in an explicit rule, you have to
manually insert $(srcdir).
> > fix dependencies. (what is a .lo anyway? i tried making the .o depend
> > on the .h which is how dependencies usually work, but the other rules
> > didn't work out right unless i used a .lo ... i suppose this only matters
> > to folks building with -j N)
Nope, it affects everyone (in theory, the files the targets
depend on hardly change). Since the build is libtool based,
all libtool objects use the suffix lo.
- Sascha
$(srcdir) in makefiles (was: Re: cvs commit: apache-2.0/src/main Makefile.in)
Posted by Greg Stein <gs...@lyra.org>.
Hmm. That $(srcdir) stuff is in there for shadow builds, I think.
I'm just a dumb monkey, though. Somebody who worked on that stuff is going
to have to comment...
Cheers,
-g
(imo, I think it would be a pain in the ass to always insert $(srcdir), so
I'd prefer to see it go...)
On Sat, Jun 10, 2000 at 01:10:11AM -0000, dgaudet@locus.apache.org wrote:
> dgaudet 00/06/09 18:10:11
>
> Modified: src/main Makefile.in
> Log:
> fix dependencies. (what is a .lo anyway? i tried making the .o depend
> on the .h which is how dependencies usually work, but the other rules
> didn't work out right unless i used a .lo ... i suppose this only matters
> to folks building with -j N)
>
> Revision Changes Path
> 1.11 +2 -2 apache-2.0/src/main/Makefile.in
>
> Index: Makefile.in
> ===================================================================
> RCS file: /home/cvs/apache-2.0/src/main/Makefile.in,v
> retrieving revision 1.10
> retrieving revision 1.11
> diff -u -r1.10 -r1.11
> --- Makefile.in 2000/05/25 20:51:23 1.10
> +++ Makefile.in 2000/06/10 01:10:10 1.11
> @@ -26,5 +26,5 @@
> test_char.h: gen_test_char
> ./gen_test_char > test_char.h
>
> -$(srcdir)/util_uri.c: uri_delims.h
> -$(srcdir)/util.c: test_char.h
> +util_uri.o: uri_delims.h
> +util.o: test_char.h
>
>
>
--
Greg Stein, http://www.lyra.org/