You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by jf...@apache.org on 2001/06/08 14:30:09 UTC

cvs commit: jakarta-tomcat-connectors/jk/src/native/apache-2.0 Makefile.apxs.in

jfclere     01/06/08 05:30:09

  Added:       jk/src/native/apache-2.0 Makefile.apxs.in
  Log:
  Allow configure to build a Makefile that works with apxs for all platform.
  
  Revision  Changes    Path
  1.1                  jakarta-tomcat-connectors/jk/src/native/apache-2.0/Makefile.apxs.in
  
  Index: Makefile.apxs.in
  ===================================================================
  ## configure should make the Makefile out of this file.
  
  APXS=@APXS@
  OS=@OS@
  JAVA_HOME=@JAVA_HOME@
  APXSLDFLAGS=@APXSLDFLAGS@
  APXSCFLAGS=@APXSCFLAGS@
  
  JK=../common
  JK_INCL=-DUSE_APACHE_MD5 -I ${JK}
  JAVA_INCL=-I ${JAVA_HOME}/include -I ${JAVA_HOME}/include/${OS}
  JAVA_LIB=-L ${JAVA_HOME}/jre/lib/${ARCH} -L ${JAVA_HOME}/lib/${ARCH}/native_threads
  
  ## read the object (.c) from the list file.
  OEXT=.c
  include ../apache-1.3/list.mk
  
  all: mod_jk.so
  
  mod_jk.so: 
  	$(APXS)  -c -o $@ -Wc,"${APXSCFLAGS} ${JK_INCL}" "${JAVA_INCL}" "${APXSLDFLAGS}" mod_jk.c ${APACHE_OBJECTS} 
  
  clean:
  	rm -f *.o *.so *.lo *.la *.slo
  	rm -rf .libs