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

Last change on this file was 917, checked in by djay, 19 months ago

Merge prototype-v0 branch in trunk

  • Property svn:executable set to *
File size: 4.5 KB
RevLine 
[712]1PROGRAMNAME=zoo_loader.cgi
2LIBZOO_SERVICE=libzoo_service.dll
3
4CC=cl $(CFLAGS)
5CPP=cl /TP $(CFLAGS)
6
7#PY_DIR=C:/"Program Files (x86)"/Python3.3
8#PY_LIB=$(PY_DIR)/libs/python33.lib
9
10#PHP_DIR=C:\php-sdk\phpdev\vc12\x86\php-5.5.10-src
11#PHP_LIB=$(PHP_DIR)\Release_TS\php5embed.lib
[788]12#PHP7_DIR=C:\php-sdk\phpdev\vc14\x64\php-7.0.9-src
[712]13
[757]14#!IF DEFINED(MS_DIR)
15#MS_BASE=$(MS_DIR)
16#!INCLUDE $(MS_DIR)\nmake.opt
17#!ENDIF
[712]18
19!IFDEF JS_DIR
[757]20JS_CFLAGS=-DXP_WIN -DUSE_JS -I$(JS_DIR) -I$(JS_DIR)/dist/include
[712]21JS_LDFLAGS=$(JS_DIR)/mozjs185-1.0.lib
22JS_FILE=service_internal_js.obj
23!ENDIF
24
[757]25!IFDEF JS_CFG
26#!INCLUDE $(JS_CFG)
27#JS_CFLAGS=-DXP_WIN -DUSE_JS $(JS_CONFIG_CFLAGS)
28#JS_LDFLAGS=$(JS_CONFIG_LDFLAGS)
29JS_CFLAGS=-DXP_WIN -DUSE_JS -include c:/mozilla-build/msys/local/include/mozjs-24/js/RequiredDefines.h -Ic:/mozilla-build/msys/local/include/mozjs-24 -IC:/mozilla-build/msys/local/include
30JS_LDFLAGS=c:/mozilla-build/msys/local/lib/mozjs-24.lib  kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib psapi.lib
31JS_FILE=service_internal_js.obj
32!ENDIF
33
[712]34!IFDEF MS_DIR
[757]35MS_CFLAGS=-DUSE_MS -DHAVE_STRCASECMP -DHAVE_STRNCASECMP -I$(MS_DIR)/include
36MS_LDFLAGS=$(MS_DIR)/lib/mapserver_i.lib
[712]37MS_FILE=service_internal_ms.obj
38!ENDIF
39
40!IFDEF JDK_DIR
41JAVA_CFLAGS=-DJAVA7 -DUSE_JAVA -I"$(JDK_DIR)\include" -I"$(JDK_DIR)\include\win32"
42JAVA_LDFLAGS="$(JDK_DIR)/lib/jvm.lib"
43JAVA_FILE=service_internal_java.obj
44!ENDIF
45
46!IFDEF PY_DIR
47PY_CFLAGS=-DUSE_PYTHON -I$(PY_DIR)\Include -I$(PY_DIR)\PC
48PY_LDFLAGS=$(PY_LIBRARY)
49PY_FILE=service_internal_python.obj
50!ENDIF
51
52!IFDEF PHP_DIR
53PHP_LIB=$(PHP_DIR)\Release_TS\php5embed.lib
54PHP_CURL_LIB=$(PHP_DIR)\Release_TS\php_curl.lib
55PHP_SRC=$(PHP_DIR)
56PHP_LDFLAGS=$(PHP_LIB) $(PHP_CURL_LIB)
57PHP_FILE=service_internal_php.obj
58PHP_CFLAGS=-I$(PHP_SRC) -I$(PHP_SRC)\Zend -I$(PHP_SRC)\TSRM /DPHP_WIN32 /DZEND_WIN32 /DWIN32 /D_USE_32BIT_TIME_T /DZTS /DUSE_PHP
[788]59!ELSE IFDEF PHP7_DIR
60PHP_LIB=$(PHP7_DIR)\x64\Release_TS\php7embed.lib
61PHP_CURL_LIB=
62PHP_LDFLAGS=$(PHP_LIB) $(PHP_CURL_LIB)
63PHP_FILE=service_internal_php7.obj
64PHP_CFLAGS=-I$(PHP7_DIR) -I$(PHP7_DIR)\Zend -I$(PHP7_DIR)\TSRM /DPHP_WIN32 /DZEND_WIN32 /DWIN32 /DZTS /DUSE_PHP # /D_USE_32BIT_TIME_T
[712]65!ENDIF
66
67!IFDEF RUBY_DIR
68#################################################################
69#RUBY 1.8.7
70ZRUBY_VERSION=1
71RUBY_CFLAGS=-DZRUBY_VERSION=1 -DUSE_RUBY -I$(RUBY_DIR)
72RUBY_LDFLAGS="$(RUBY_DIR)/msvcr100-ruby18.lib"
73#################################################################
74#RUBY 1.9.3
75#ZRUBY_VERSION=2
76#RUBY_CFLAGS=-DZRUBY_VERSION=2 -DUSE_RUBY -I$(RUBY_DIR)/include/ruby-1.9.1/ -I$(RUBY_DIR)/include/ruby-1.9.1/i386-mswin32_100
77#RUBY_LDFLAGS="$(RUBY_DIR)/lib/msvcr100-ruby191.lib"
78#RUBY 2.1.0
79#ZRUBY_VERSION=2
80#RUBY_CFLAGS=-DZRUBY_VERSION=2 -DUSE_RUBY -I$(RUBY_DIR)/include/ruby-2.1.0/ -I$(RUBY_DIR)/include/ruby-2.1.0/i386-mswin32_100
81#RUBY_LDFLAGS="$(RUBY_DIR)/lib/msvcr100-ruby210.lib"
82#################################################################
83RUBY_FILE=service_internal_ruby.obj
84!IFDEF MS_DIR
85RUBY_CFLAGS=$(RUBY_CFLAGS) -DHAVE_ROUND
86!ENDIF
87!ENDIF
88
[917]89!IFDEF MONO_DIR
90MONO_CFLAGS=-DUSE_MONO -I"$(MONO_DIR)"\msvc -I"$(MONO_DIR)"\msvc\include -I"$(MONO_DIR)"
91MONO_LDFLAGS=/LIBPATH:"$(MONO_DIR)/msvc/build/sgen/x64/lib/Release" mono-2.0-sgen.lib
92MONO_FILE=service_internal_mono.obj
93!ENDIF
94
[712]95!IFNDEF ZOOK_DIR
96ZOOK_DIR=.
97!ENDIF
98
99TROOT=$(ZOOK_DIR)
100TPATH=$(ZOOK_DIR)\..\..\..\tools
101LIBINTL_CPATH=$(ZOOK_DIR)\..\..\..\
102PYTHON_CPATH=$(PY_DIR)
103
104!IFDEF DB
105DB_FLAGS=-DRELY_ON_DB
106!ENDIF
107
[917]108!IFDEF WIN32_DEBUG
109WIN32_DBG=-DWIN32_DEBUG
110!ENDIF
[712]111
[917]112CFLAGS=$(MONO_CFLAGS) $(WIN32_DBG) $(DB_FLAGS) $(MS_DEFS) $(INCLUDES) $(CFLAGS1) /nologo /MD /W3 /EHsc /Ox /D_CRT_SECURE_NO_WARNINGS /DWIN32 /DPROGRAMNAME=\"$(PROGRAMNAME)\" $(CJFLAGS) -I$(ZOOK_DIR) $(RUBY_CFLAGS) -I./ $(JAVA_CFLAGS) $(MS_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) $(PHP_CFLAGS) -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF
113
[712]114LDFLAGSCGI=$(TROOT)/../../thirds/cgic206/libcgic.lib
[917]115LDFLAGS=$(MONO_LDFLAGS) $(FCGI_DIR)/libfcgi/Release/libfcgi.lib $(CURL_LIBRARY) $(PY_LDFLAGS) $(XML2_LIBRARY) $(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) $(RUBY_LDFLAGS) $(PHP_LDFLAGS) /machine:i386
Note: See TracBrowser for help on using the repository browser.

Search

Context Navigation

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