source: trunk/zoo-project/zoo-kernel/makefile.vc @ 444

Last change on this file since 444 was 444, checked in by djay, 6 years ago

Fixing issue on Linux / Mac OS X about language gesture. Fixing strange issue in some services using MapServer? support on WIN32. Use the MapServer? nmake.opt to make sure to get all the definitions settled correctly.

File size: 2.4 KB
Line 
1# WIN32 Makefile tested using VC-9.0
2# Don't forget to set your PATH using the following command :
3# c:\Progam Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat
4# set PATH=%PATH%;$(TOOLS)
5# using value for TOOLS relative to your local installation
6#
7
8!IF DEFINED(MS_DIR)
9MS_BASE=$(MS_DIR)
10!INCLUDE $(MS_DIR)\nmake.opt
11!ENDIF
12!INCLUDE nmake.opt
13
14all:  zoo_loader.cgi
15
16main_conf_read.tab.c: main_conf_read.y service.h
17        bison -p cr -d main_conf_read.y
18
19main_conf_read.tab.obj: main_conf_read.tab.c service.h
20        $(CPP) /EHsc $(CFLAGS) main_conf_read.tab.c /c
21
22lex.cr.c: main_conf_read.y main_conf_read.l main_conf_read.tab.c service.h
23        flex -Pcr main_conf_read.l
24
25lex.cr.obj: lex.cr.c service.h
26        $(CPP) $(CFLAGS) /c lex.cr.c
27
28service_conf.tab.c: service_conf.y service.h
29        bison -p sr -d service_conf.y
30
31service_conf.tab.obj: service_conf.tab.c service.h
32        $(CPP) $(CFLAGS) service_conf.tab.c /c
33
34lex.sr.c: service_conf.y service_conf.l service_conf.tab.c service.h
35        flex -Psr service_conf.l
36
37lex.sr.obj: lex.sr.c service.h
38        $(CPP) $(CFLAGS) /c lex.sr.c
39
40service_internal.obj: service_internal.c
41        $(CPP) $(CFLAGS) /c service_internal.c
42
43service_internal_js.obj: service_internal_js.c service.h
44        $(CPP) /c $(CFLAGS) service_internal_js.c
45
46service_internal_java.obj: service_internal_java.c service.h
47        $(CPP) /c $(CFLAGS) service_internal_java.c
48
49service_internal_python.obj: service_internal_python.c service.h
50        $(CPP) /c $(CFLAGS) service_internal_python.c
51
52service_internal_ms.obj: service_internal_ms.c service.h
53        $(CPP) /c $(CFLAGS) service_internal_ms.c
54
55service_loader.obj: service_loader.c service.h
56        $(CPP) /c $(CFLAGS)  service_loader.c
57
58zoo_service_loader.obj: zoo_service_loader.c service.h
59        $(CPP) /c $(CFLAGS)  zoo_service_loader.c
60
61zoo_loader.obj: zoo_loader.c service.h
62        $(CPP) /EHsc /c $(CFLAGS) zoo_loader.c
63
64dirent.obj:
65        $(CPP) /EHsc /c $(CFLAGS) ..\..\thirds\dirent-win32\dirent.c
66
67zoo_loader.cgi: zoo_loader.obj zoo_service_loader.obj service_internal.obj $(PY_FILE) $(JAVA_FILE) $(MS_FILE) $(JS_FILE) ulinet.obj lex.cr.obj lex.sr.obj service_conf.tab.obj main_conf_read.tab.obj dirent.obj
68        link zoo_loader.obj dirent.obj service_internal.obj $(PY_FILE) $(JAVA_FILE) $(MS_FILE) $(JS_FILE) ulinet.obj main_conf_read.tab.obj lex.cr.obj service_conf.tab.obj lex.sr.obj  zoo_service_loader.obj /out:zoo_loader.cgi $(LDFLAGS) $(LDFLAGSCGI)
69
70clean:
71        erase -f *.cgi *.obj *.tab.c* *.tab.h *.sr.c* lex.* *.lreg *.sibling
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