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

Last change on this file since 582 was 582, checked in by knut, 6 years ago

Added option to specify other program name than zoo_loader.cgi (WIN32 version).

  • Property svn:executable set to *
File size: 2.7 KB
Line 
1PROGRAMNAME=zoo_loader.cgi
2
3CC=cl $(CFLAGS)
4CPP=cl /TP $(CFLAGS)
5
6!IF DEFINED(MS_DIR)
7MS_BASE=$(MS_DIR)
8!INCLUDE $(MS_DIR)\nmake.opt
9!ENDIF
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!IFDEF RUBY_DIR
36#################################################################
37#RUBY 1.8.7
38ZRUBY_VERSION=1
39RUBY_CFLAGS=-DZRUBY_VERSION=1 -DUSE_RUBY -I$(RUBY_DIR)
40RUBY_LDFLAGS="$(RUBY_DIR)/msvcr100-ruby18.lib"
41#################################################################
42#RUBY 1.9.3
43#ZRUBY_VERSION=2
44#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
45#RUBY_LDFLAGS="$(RUBY_DIR)/lib/msvcr100-ruby191.lib"
46#RUBY 2.1.0
47#ZRUBY_VERSION=2
48#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
49#RUBY_LDFLAGS="$(RUBY_DIR)/lib/msvcr100-ruby210.lib"
50#################################################################
51RUBY_FILE=service_internal_ruby.obj
52!IFDEF MS_DIR
53RUBY_CFLAGS=$(RUBY_CFLAGS) -DHAVE_ROUND
54!ENDIF
55!ENDIF
56
57!IFNDEF ZOOK_DIR
58ZOOK_DIR=.
59!ENDIF
60
61TROOT=$(ZOOK_DIR)
62TPATH=$(ZOOK_DIR)\..\..\..\tools
63LIBINTL_CPATH=$(ZOOK_DIR)\..\..\..\
64PYTHON_CPATH=$(PY_DIR)
65
66CFLAGS= $(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) -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF
67
68LDFLAGSCGI=$(TROOT)/../../thirds/cgic206/libcgic.lib
69LDFLAGS=$(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) /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