tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject cvs commit: jakarta-tomcat-connectors/jk/native Makefile.tmpl Makefile.libdir
Date Tue, 06 Aug 2002 12:51:44 GMT
jfclere     2002/08/06 05:51:44

  Added:       jk/native Makefile.tmpl Makefile.libdir
  Log:
  These 2 files are needed to allow static linking of mod_jk (with apache).
  
  Revision  Changes    Path
  1.1                  jakarta-tomcat-connectors/jk/native/Makefile.tmpl
  
  Index: Makefile.tmpl
  ===================================================================
  ##
  ## Apache 1.3 Makefile template for mod_jk
  ##
  
  LIB=mod_jk.$(LIBEXT)
  
  JKINCLUDES=$(INCLUDES) -I./common
  
  # standard targets
  all: lib
  lib: $(LIB)
  	echo "Building $(LIB)"
  
  JKOBJS=apache-1.3/mod_jk.o \
  common/jk_ajp12_worker.o \
  common/jk_ajp13.o         common/jk_ajp13_worker.o    common/jk_ajp14.o \
  common/jk_ajp14_worker.o  common/jk_ajp_common.o      common/jk_connect.o \
  common/jk_context.o       common/jk_lb_worker.o       common/jk_map.o \
  common/jk_md5.o           common/jk_msg_buff.o        common/jk_pool.o \
  common/jk_sockbuf.o       common/jk_uri_worker_map.o  common/jk_util.o \
  common/jk_worker.o \
  
  # static
  mod_jk.a: libjk.a
  libjk.a: $(JKOBJS)
  	rm -f $@
  	ar cr $@ $(JKOBJS)
  	$(RANLIB) $@
  
  # dynamic
  mod_jk.so: $(JKOBJS)
  	rm -f $@
  	$(LD_SHLIB) $(LDFLAGS_SHLIB) -o $@ $(JKOBJS) $(LIBS)
  
  clean:
  	rm -f $(JKOBJS) $(LIB)
  
  distclean: clean
  	-rm -f Makefile
  
  depend:
  	echo "No depend"
  
  .SUFFIXES: .o
  
  .c.o:
  	$(CC) -c $(JKINCLUDES) $(CFLAGS) $< -o $@
  
  
  
  1.1                  jakarta-tomcat-connectors/jk/native/Makefile.libdir
  
  Index: Makefile.libdir
  ===================================================================
  For Configure... Because we need LIBEXT ;-)
  
  
  

--
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