Author: fuankg
Date: Sun Oct 24 12:33:00 2010
New Revision: 1026775

URL: http://svn.apache.org/viewvc?rev=1026775&view=rev
Log:
Updated NetWare makefiles.

Modified:
    tomcat/jk/trunk/native/apache-1.3/NWGNUmakefile.mak
    tomcat/jk/trunk/native/apache-2.0/NWGNUmakefile

Modified: tomcat/jk/trunk/native/apache-1.3/NWGNUmakefile.mak
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-1.3/NWGNUmakefile.mak?rev=1026775&r1=1026774&r2=1026775&view=diff
==============================================================================
--- tomcat/jk/trunk/native/apache-1.3/NWGNUmakefile.mak (original)
+++ tomcat/jk/trunk/native/apache-1.3/NWGNUmakefile.mak Sun Oct 24 12:33:00 2010
@@ -16,7 +16,7 @@
 #
 
 #
-# Makefile for mod_jk (NetWare version - gnu make)
+# NetWare Makefile for mod_jk (uses build system of Apache 1.3.x - gnu make)
 # created by Guenter Knauf <fua...@apache.org>
 #
 
@@ -24,9 +24,8 @@
 # Make sure all needed macro's are defined
 #
 
-# Edit the path below to point to the base of your NetWare Java SDK.
-ifndef JAVA_HOME
-JAVA_HOME = c:/projects/sdks/java-nw
+ifneq "$(wildcard $(JAVA_HOME)/include/netware/jni_md.h)" 
"$(JAVA_HOME)/include/netware/jni_md.h"
+$(error JAVA_HOME does not point to a valid NetWare Java SDK!) 
 endif
 
 LDLIBS = -l"$(METROWERKS)/Novell Support/libraries/runtime/mwcrtl.lib"

Modified: tomcat/jk/trunk/native/apache-2.0/NWGNUmakefile
URL: 
http://svn.apache.org/viewvc/tomcat/jk/trunk/native/apache-2.0/NWGNUmakefile?rev=1026775&r1=1026774&r2=1026775&view=diff
==============================================================================
--- tomcat/jk/trunk/native/apache-2.0/NWGNUmakefile (original)
+++ tomcat/jk/trunk/native/apache-2.0/NWGNUmakefile Sun Oct 24 12:33:00 2010
@@ -16,13 +16,13 @@
 #
 
 #
-# Makefile for mod_jk (uses the build system of Apache2 - gnu make)
-# created by Guenter Knauf <efl...@gmx.net>
+# NetWare Makefile for mod_jk (uses build system of Apache 2.x - gnu make)
+# created by Guenter Knauf <fua...@apache.org>
 #
 
-#ifeq ($(strip $(JAVA_HOME)),)
-...@echo You must set the JAVA_HOME environment var pointing to the NetWare 
Java SDK!
-#endif
+ifneq "$(wildcard $(JAVA_HOME)/include/netware/jni_md.h)" 
"$(JAVA_HOME)/include/netware/jni_md.h"
+$(error JAVA_HOME does not point to a valid NetWare Java SDK!) 
+endif
 
 #
 # Declare the sub-directories to be built here



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to