[mapserver-commits] r7253 - trunk/mapserver/mapscript/java

svn at osgeo.org svn at osgeo.org
Thu Jan 10 09:48:36 EST 2008


Author: unicoletti
Date: 2008-01-10 09:48:35 -0500 (Thu, 10 Jan 2008)
New Revision: 7253

Modified:
   trunk/mapserver/mapscript/java/Makefile.in
Log:
#2461: java mapscript add support for MAC OS X

Modified: trunk/mapserver/mapscript/java/Makefile.in
===================================================================
--- trunk/mapserver/mapscript/java/Makefile.in	2008-01-10 14:37:00 UTC (rev 7252)
+++ trunk/mapserver/mapscript/java/Makefile.in	2008-01-10 14:48:35 UTC (rev 7253)
@@ -197,6 +197,9 @@
 
 LDFLAGS= $(RUNPATHS) -L../.. -lmapserver $(SUP_LIBS) $(STATIC_LIBS)
 
+LIBMAPSCRIPT_SHARED= libmapscript. at SO_EXT@
+LD_SHARED= @LD_SHARED@
+
 # END OF CONFIGURE----
 
 #
@@ -234,7 +237,7 @@
 
 mapscript_so: mapscript_wrap.c
 	$(CC) -fpic -c $(CCFLAGS) $(JAVA_INCLUDE) -fno-strict-aliasing mapscript_wrap.c
-	$(CC) -fpic -shared mapscript_wrap.o -o libmapscript.so $(LDFLAGS)
+	$(LD_SHARED) -fpic mapscript_wrap.o -o $(LIBMAPSCRIPT_SHARED) $(LDFLAGS)
 
 mapscript_java: mapscript_wrap.c
 	$(JAVAC) edu/umn/gis/mapscript/*.java
@@ -246,7 +249,7 @@
 	$(JAR) cf mapscript.jar edu
 
 clean:
-	rm -rf edu *.o *.c *.so *.java *.jar *.png
+	rm -rf edu *.o *.c *. at SO_EXT@ *.java *.jar *.png
 	rm -rf examples/*.class
 	rm -rf tests/threadtest/*.class
 



More information about the mapserver-commits mailing list