tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From p...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/webapp/apache-1.3 Makefile.in
Date Wed, 01 May 2002 21:24:04 GMT
pier        02/05/01 14:24:04

  Modified:    webapp/apache-1.3 Makefile.in
  Log:
  New makefile for Apache 1.3.
  
  Revision  Changes    Path
  1.25      +34 -14    jakarta-tomcat-connectors/webapp/apache-1.3/Makefile.in
  
  Index: Makefile.in
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-connectors/webapp/apache-1.3/Makefile.in,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- Makefile.in	1 May 2002 00:37:16 -0000	1.24
  +++ Makefile.in	1 May 2002 21:24:04 -0000	1.25
  @@ -56,30 +56,50 @@
   # ========================================================================= #
   
   # @author  Pier Fumagalli <mailto:pier@betaversion.org>
  -# @version $Id: Makefile.in,v 1.24 2002/05/01 00:37:16 pier Exp $
  +# @version $Id: Makefile.in,v 1.25 2002/05/01 21:24:04 pier Exp $
   
  -LOCAL_INCLUDES = -I$(SRC_DIR)/include
  -LOCAL_TGT_DIR = $(TGT_DIR)/apache-1.3
  -LOCAL_SRC_DIR = $(SRC_DIR)/apache-1.3
  +LOCAL_TGT_DIR = @TGT_DIR@/apache-1.3
  +LOCAL_SRC_DIR = @SRC_DIR@/apache-1.3
   include @TGT_DIR@/Makedefs
   
  -OBJ =	mod_webapp.o
  -LIB =	mod_webapp.so
  +SOURCE = mod_webapp.c
  +OBJECT = mod_webapp.o
  +TARGET = libwebapp.so
   
   .PHONY: build clean
   
  -build: $(LIB)
  +build: $(TARGET)
   
   clean:
  -	rm -f $(OBJ)
  -	rm -f $(LIB)
  -
  -$(LIB): $(LOCAL_SRC_DIR)/mod_webapp.c
  +	rm -f $(TARGET)
  +	rm -f $(OBJECT)
  +	@if test -h $(SOURCE) ; then \
  +	  echo rm -f $(SOURCE) ; \
  +	  rm -f $(SOURCE) ; \
  +	fi
  +
  +$(SOURCE): $(LOCAL_SRC_DIR)/$(SOURCE)
  +	ln -s $< $@
  +	  
  +$(TARGET): $(SOURCE)
   	$(APXS) -c -o $@ \
   	  $(INCLUDES) $(LOCAL_INCLUDES) \
   	  -Wc,"$(CPPFLAGS) $(CFLAGS)" \
   	  -Wl,"$(LDFLAGS) $(LIBS)" \
  -	  $(TGT_DIR)/libwebapp.a \
  -	  $(TGT_DIR)/libapr.a \
  -	  $<
  +	  -L$(OBJ_DIR) -lapr \
  +	  $(OBJ_DIR)/*.o $<
   
  +# +++ EXPERIMENTAL +++ LIBTOOL COMPILE, APXS LINK +++
  +# SOURCE = mod_webapp.c
  +# OBJECT = mod_webapp.lo
  +# TARGET = libwebapp.so
  +# 
  +# $(OBJECT): $(LOCAL_SRC_DIR)/$(SOURCE)
  +# 	$(LIBTOOL) --mode=compile \
  +# 	  $(CC) -c $< -o $@ \
  +# 	    $(INCLUDES) $(EXTRA_INCLUDES) \
  +# 	    $(CPPFLAGS) $(EXTRA_CPPFLAGS) \
  +# 	    $(CFLAGS) $(EXTRA_CFLAGS)
  +# 
  +# $(TARGET): $(OBJECT)
  +# 	$(APXS) -c -o $@ -L$(OBJ_DIR) -lapr $< $(OBJ_DIR)/*.o
  
  
  

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message