costin      01/10/25 16:34:35

  Modified:    jk/native/scripts/build rules.mk
  Log:
  Again, I hope I'm not braking too much in the build system.
  
  Use VPATH to resolve the dep between foo.lo PWD/../common/foo.c, this way
  you can compile files with Apache2.0 settings and Apache1.3 settings
  without mixing one with the other.
  
  Well, I think that's how it worked before, but somehow libtool got
  confused at one point when trying to link the .lo files from ../common.
  
  This eliminates the touch hack.
  
  Revision  Changes    Path
  1.2       +4 -2      jakarta-tomcat-connectors/jk/native/scripts/build/rules.mk
  
  Index: rules.mk
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/jk/native/scripts/build/rules.mk,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- rules.mk  2001/06/05 10:27:58     1.1
  +++ rules.mk  2001/10/25 23:34:35     1.2
  @@ -5,9 +5,10 @@
   LIBTOOL      = libtool
   
   # Compile commands
  -
  +VPATH=.:../common
   COMPILE      = $(CC) $(CFLAGS)
  -LT_COMPILE   = $(LIBTOOL) --mode=compile $(COMPILE) -c $< && touch $@
  +LT_COMPILE   = $(LIBTOOL) --mode=compile $(COMPILE) -c $< 
  +# && touch $@
   
   # Implicit rules for creating outputs from input files
   
  @@ -28,3 +29,4 @@
   
   .c.slo:
        $(SH_COMPILE)
  +
  
  
  


Reply via email to