source: trunk/zoo-project/zoo-kernel/nmake.opt @ 364

Last change on this file since 364 was 364, checked in by djay, 10 years ago

Update to make ZOO-Kernel able to compile and run from Windows Platforms. A special thanks to Espen Messel, Knut Landmark and Benrd Härtwig for providing many patches that I can successfully apply on the SVN source tree and to Farkas for continuing requesting for ZOO-Kernel to run on Windows platforms privately and through the ZOO-Discuss mailing list.

  • Property svn:executable set to *
File size: 1.7 KB
Line 
1LIBINTL_CPATH=..\..\..\
2PYTHON_CPATH=..\..\..\Python-2.7.3
3TPATH=..\..\..\tools
4#GEODIR=c:/OSGeo4W
5#DESTDIR=c:/OSGeo4W
6TOOLS=$(TPATH)\bin
7
8CC=cl $(CFLAGS)
9CPP=cl /TP $(CFLAGS)
10
11!IFDEF JS_DIR
12JS_CFLAGS=-DXP_WIN -DUSE_JS -I$(JS_DIR)
13JS_LDFLAGS=$(JS_DIR)/mozjs185-1.0.lib
14JS_FILE=service_internal_js.obj
15!ENDIF
16
17!IFDEF MS_DIR
18MS_CFLAGS=-DUSE_MS -I$(MS_DIR)
19MS_LDFLAGS=$(MS_DIR)/mapserver_i.lib
20MS_FILE=service_internal_ms.obj
21!ENDIF
22
23!IFDEF JDK_DIR
24JAVA_CFLAGS=-DJAVA7 -DUSE_JAVA -I"$(JDK_DIR)\include" -I"$(JDK_DIR)\include\win32"
25JAVA_LDFLAGS="$(JDK_DIR)/lib/jvm.lib"
26JAVA_FILE=service_internal_java.obj
27!ENDIF
28
29!IFDEF PY_DIR
30PY_CFLAGS=-DUSE_PYTHON -I$(PY_DIR)\Include -I$(PY_DIR)\PC
31PY_LDFLAGS=$(PY_LIBRARY)
32PY_FILE=service_internal_python.obj
33!ENDIF
34
35!IFNDEF ZOOK_DIR
36ZOOK_DIR=.
37!ENDIF
38
39CFLAGS=-SPOST_DEBUG $(CFLAGS1) /nologo /MD /W3 /EHsc /O2 /D_CRT_SECURE_NO_WARNINGS /DWIN32 $(CJFLAGS) -I$(ZOOK_DIR) -I./ $(JAVA_CFLAGS) -I$(TROOT)..\..\thirds\dirent-win32 -I$(INTL_DIR) -I$(CURL_DIR)\include -I$(XML2_DIR)\include -I$(GDAL_DIR)\port $(JS_CFLAGS) -I$(GDAL_DIR)\ogr -I$(GDAL_DIR)\gcore -I$(GD_DIR) -I$(ICONV_DIR) -I$(TROOT)..\..\thirds\include -I$(TROOT)..\..\thirds\cgic206 -I$(PYTHON_CPATH)\include -I$(SSL_DIR)/inc32 -I$(FCGI_DIR)\include $(PY_CFLAGS) -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF
40
41LDFLAGS=$(FCGI_LIBRARY) $(CURL_LIBRARY) $(PY_LDFLAGS) $(XML2_LIBRARY) $(TROOT)../../thirds/cgic206/libcgic.lib $(SSL_DIR)/out32dll/libeay32.lib $(JAVA_LDFLAGS) $(SSL_DIR)/out32dll/ssleay32.lib $(MS_LDFLAGS) $(INTL_DIR)/intl.lib $(XML2_DIR)/win32/bin.msvc/libxml2.lib $(GDAL_DIR)/gdal_i.lib $(CURL_DIR)/lib/libcurl.lib $(JS_LDFLAGS) /machine:i386
Note: See TracBrowser for help on using the repository browser.

Search

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png