1 | PROGRAMNAME=zoo_loader.cgi |
---|
2 | LIBZOO_SERVICE=libzoo_service.dll |
---|
3 | |
---|
4 | CC=cl $(CFLAGS) |
---|
5 | CPP=cl /TP $(CFLAGS) |
---|
6 | |
---|
7 | !IF DEFINED(MS_DIR) |
---|
8 | MS_BASE=$(MS_DIR) |
---|
9 | !INCLUDE $(MS_DIR)\nmake.opt |
---|
10 | !ENDIF |
---|
11 | |
---|
12 | !IFDEF JS_DIR |
---|
13 | JS_CFLAGS=-DXP_WIN -DUSE_JS -I$(JS_DIR) |
---|
14 | JS_LDFLAGS=$(JS_DIR)/mozjs185-1.0.lib |
---|
15 | JS_FILE=service_internal_js.obj |
---|
16 | !ENDIF |
---|
17 | |
---|
18 | !IFDEF MS_DIR |
---|
19 | MS_CFLAGS=-DUSE_MS -I$(MS_DIR) |
---|
20 | MS_LDFLAGS=$(MS_DIR)/mapserver_i.lib |
---|
21 | MS_FILE=service_internal_ms.obj |
---|
22 | !ENDIF |
---|
23 | |
---|
24 | !IFDEF JDK_DIR |
---|
25 | JAVA_CFLAGS=-DJAVA7 -DUSE_JAVA -I"$(JDK_DIR)\include" -I"$(JDK_DIR)\include\win32" |
---|
26 | JAVA_LDFLAGS="$(JDK_DIR)/lib/jvm.lib" |
---|
27 | JAVA_FILE=service_internal_java.obj |
---|
28 | !ENDIF |
---|
29 | |
---|
30 | !IFDEF PY_DIR |
---|
31 | PY_CFLAGS=-DUSE_PYTHON -I$(PY_DIR)\Include -I$(PY_DIR)\PC |
---|
32 | PY_LDFLAGS=$(PY_LIBRARY) |
---|
33 | PY_FILE=service_internal_python.obj |
---|
34 | !ENDIF |
---|
35 | |
---|
36 | !IFDEF RUBY_DIR |
---|
37 | ################################################################# |
---|
38 | #RUBY 1.8.7 |
---|
39 | ZRUBY_VERSION=1 |
---|
40 | RUBY_CFLAGS=-DZRUBY_VERSION=1 -DUSE_RUBY -I$(RUBY_DIR) |
---|
41 | RUBY_LDFLAGS="$(RUBY_DIR)/msvcr100-ruby18.lib" |
---|
42 | ################################################################# |
---|
43 | #RUBY 1.9.3 |
---|
44 | #ZRUBY_VERSION=2 |
---|
45 | #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 |
---|
46 | #RUBY_LDFLAGS="$(RUBY_DIR)/lib/msvcr100-ruby191.lib" |
---|
47 | #RUBY 2.1.0 |
---|
48 | #ZRUBY_VERSION=2 |
---|
49 | #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 |
---|
50 | #RUBY_LDFLAGS="$(RUBY_DIR)/lib/msvcr100-ruby210.lib" |
---|
51 | ################################################################# |
---|
52 | RUBY_FILE=service_internal_ruby.obj |
---|
53 | !IFDEF MS_DIR |
---|
54 | RUBY_CFLAGS=$(RUBY_CFLAGS) -DHAVE_ROUND |
---|
55 | !ENDIF |
---|
56 | !ENDIF |
---|
57 | |
---|
58 | !IFNDEF ZOOK_DIR |
---|
59 | ZOOK_DIR=. |
---|
60 | !ENDIF |
---|
61 | |
---|
62 | TROOT=$(ZOOK_DIR) |
---|
63 | TPATH=$(ZOOK_DIR)\..\..\..\tools |
---|
64 | LIBINTL_CPATH=$(ZOOK_DIR)\..\..\..\ |
---|
65 | PYTHON_CPATH=$(PY_DIR) |
---|
66 | |
---|
67 | !IFDEF DB |
---|
68 | DB_FLAGS=-DRELY_ON_DB |
---|
69 | !ENDIF |
---|
70 | |
---|
71 | CFLAGS= $(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) -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF |
---|
72 | |
---|
73 | LDFLAGSCGI=$(TROOT)/../../thirds/cgic206/libcgic.lib |
---|
74 | 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) /machine:i386 |
---|