You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by hg...@apache.org on 2002/05/24 09:18:31 UTC

cvs commit: jakarta-tomcat-connectors/jk/native2/common list.mk

hgomez      02/05/24 00:18:31

  Added:       jk/native2/common list.mk
  Log:
  list.mk contains list of modules to be built,
  COMMON_OBJECTS and COMMON_APR_OBJECTS.
  Like this we could build jk2 for Apache 1.3 with/without APR
  
  Revision  Changes    Path
  1.1                  jakarta-tomcat-connectors/jk/native2/common/list.mk
  
  Index: list.mk
  ===================================================================
  ## Object needed for mod_jk for Apache
  COMMON_OBJECTS= \
  ${JK}jk_channel_jni${OEXT}\
  ${JK}jk_channel_socket${OEXT}\
  ${JK}jk_channel_un${OEXT}\
  ${JK}jk_config${OEXT}\
  ${JK}jk_endpoint${OEXT}\
  ${JK}jk_env${OEXT}\
  ${JK}jk_handler_logon${OEXT}\
  ${JK}jk_handler_response${OEXT}\
  ${JK}jk_logger_file${OEXT}\
  ${JK}jk_map${OEXT}\
  ${JK}jk_md5${OEXT}\
  ${JK}jk_msg_ajp${OEXT}\
  ${JK}jk_mutex${OEXT}\
  ${JK}jk_nwmain${OEXT}\
  ${JK}jk_objCache${OEXT}\
  ${JK}jk_pool${OEXT}\
  ${JK}jk_registry${OEXT}\
  ${JK}jk_requtil${OEXT}\
  ${JK}jk_shm${OEXT}\
  ${JK}jk_uriEnv${OEXT}\
  ${JK}jk_uriMap${OEXT}\
  ${JK}jk_vm_default${OEXT}\
  ${JK}jk_worker_ajp13${OEXT}\
  ${JK}jk_workerEnv${OEXT}\
  ${JK}jk_worker_jni${OEXT}\
  ${JK}jk_worker_lb${OEXT}\
  ${JK}jk_worker_run${OEXT}\
  ${JK}jk_worker_status${OEXT}
  
  COMMON_APR_OBJECTS= \
  ${JK}jk_channel_apr_socket${OEXT} \
  ${JK}jk_pool_apr${OEXT}
  
  
  

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common list.mk

Posted by co...@covalent.net.
On Fri, 24 May 2002, jean-frederic clere wrote:

> > I did that to get rid of the conditional compilation of files and 
> > simplify the makefiles, all files must be compiled.
> 
> 
> Sure if jk_channel_jni.o is not linked in mod_jk2.so jk2_channel_jni_factory is 
> unresolved!

If HAVE_JNI is undefined, a dummy factory will be linked in ( that will 
just mark the component as disabled ).

This also allows the config system to maintain the configuration for the 
component.

Costin


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common list.mk

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
costinm@covalent.net wrote:
> On Fri, 24 May 2002, jean-frederic clere wrote:
> 
> 
>>>  ${JK}jk_channel_jni${OEXT}\
>>
>>That would require to have J2SE to compile mod_jk2.
> 
> 
> No, it has an 
> 
> #ifdef HAVE_JNI
>   // jni-specific code
> 
> #else
>  // empty factory
> #endif
> 
> I did that to get rid of the conditional compilation of files and 
> simplify the makefiles, all files must be compiled.


Sure if jk_channel_jni.o is not linked in mod_jk2.so jk2_channel_jni_factory is 
unresolved!
Sorry Henri my comment was a very bad one.

> 
> Based on HAS_APR and HAVE_JNI some sections of code will not 
> be compiled.
> 
> Costin
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common list.mk

Posted by co...@covalent.net.
On Fri, 24 May 2002, jean-frederic clere wrote:

> >   ${JK}jk_channel_jni${OEXT}\
> 
> That would require to have J2SE to compile mod_jk2.

No, it has an 

#ifdef HAVE_JNI
  // jni-specific code

#else
 // empty factory
#endif

I did that to get rid of the conditional compilation of files and 
simplify the makefiles, all files must be compiled.

Based on HAS_APR and HAVE_JNI some sections of code will not 
be compiled.

Costin



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: cvs commit: jakarta-tomcat-connectors/jk/native2/common list.mk

Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
hgomez@apache.org wrote:
> 
> hgomez      02/05/24 00:18:31
> 
>   Added:       jk/native2/common list.mk
>   Log:
>   list.mk contains list of modules to be built,
>   COMMON_OBJECTS and COMMON_APR_OBJECTS.
>   Like this we could build jk2 for Apache 1.3 with/without APR
> 
>   Revision  Changes    Path
>   1.1                  jakarta-tomcat-connectors/jk/native2/common/list.mk
> 
>   Index: list.mk
>   ===================================================================
>   ## Object needed for mod_jk for Apache
>   COMMON_OBJECTS= \
>   ${JK}jk_channel_jni${OEXT}\

That would require to have J2SE to compile mod_jk2.

>   ${JK}jk_channel_socket${OEXT}\
>   ${JK}jk_channel_un${OEXT}\
>   ${JK}jk_config${OEXT}\
>   ${JK}jk_endpoint${OEXT}\
>   ${JK}jk_env${OEXT}\
>   ${JK}jk_handler_logon${OEXT}\
>   ${JK}jk_handler_response${OEXT}\
>   ${JK}jk_logger_file${OEXT}\
>   ${JK}jk_map${OEXT}\
>   ${JK}jk_md5${OEXT}\
>   ${JK}jk_msg_ajp${OEXT}\
>   ${JK}jk_mutex${OEXT}\
>   ${JK}jk_nwmain${OEXT}\
>   ${JK}jk_objCache${OEXT}\
>   ${JK}jk_pool${OEXT}\
>   ${JK}jk_registry${OEXT}\
>   ${JK}jk_requtil${OEXT}\
>   ${JK}jk_shm${OEXT}\
>   ${JK}jk_uriEnv${OEXT}\
>   ${JK}jk_uriMap${OEXT}\
>   ${JK}jk_vm_default${OEXT}\
>   ${JK}jk_worker_ajp13${OEXT}\
>   ${JK}jk_workerEnv${OEXT}\
>   ${JK}jk_worker_jni${OEXT}\
>   ${JK}jk_worker_lb${OEXT}\
>   ${JK}jk_worker_run${OEXT}\
>   ${JK}jk_worker_status${OEXT}
> 
>   COMMON_APR_OBJECTS= \
>   ${JK}jk_channel_apr_socket${OEXT} \
>   ${JK}jk_pool_apr${OEXT}
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>