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

Last change on this file since 465 was 465, checked in by djay, 7 years ago

Add the optional YAML ZCFG support #4 and the zcfg2yaml converter. Return error messages that enable the service provider to quickly identify the root cause of errors due to configuration file syntax #90. Fix logic in addMapToMap #91. Enable multiple range definition using default and supported blocks. Add the lastest revision number in version.h (available from Python ZOO-API as zoo.VERSION).

File size: 2.7 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!INCLUDE nmake.opt
9
10all:  zoo_loader.cgi
11
12version.h:
13        svnversion -q -c -n . > version_0.h
14        set /p VERS=<version_0.h
15        rm version_0.h
16        echo #define ZOO_VERSION "%VERS%" > version.h
17
18main_conf_read.tab.c: main_conf_read.y service.h
19        bison -p cr -d main_conf_read.y
20
21main_conf_read.tab.obj: main_conf_read.tab.c service.h
22        $(CPP) /EHsc $(CFLAGS) main_conf_read.tab.c /c
23
24lex.cr.c: main_conf_read.y main_conf_read.l main_conf_read.tab.c service.h
25        flex -Pcr main_conf_read.l
26
27lex.cr.obj: lex.cr.c service.h
28        $(CPP) $(CFLAGS) /c lex.cr.c
29
30service_conf.tab.c: service_conf.y service.h
31        bison -p sr -d service_conf.y
32
33service_conf.tab.obj: service_conf.tab.c service.h
34        $(CPP) $(CFLAGS) service_conf.tab.c /c
35
36lex.sr.c: service_conf.y service_conf.l service_conf.tab.c service.h
37        flex -Psr service_conf.l
38
39lex.sr.obj: lex.sr.c service.h
40        $(CPP) $(CFLAGS) /c lex.sr.c
41
42service_internal.obj: service_internal.c
43        $(CPP) $(CFLAGS) /c service_internal.c
44
45service_internal_js.obj: service_internal_js.c service.h
46        $(CPP) /c $(CFLAGS) service_internal_js.c
47
48service_internal_java.obj: service_internal_java.c service.h
49        $(CPP) /c $(CFLAGS) service_internal_java.c
50
51service_internal_ruby.obj: service_internal_ruby.c service_internal_ruby.h service.h
52        $(CPP) /c $(CFLAGS) service_internal_ruby.c
53
54service_internal_python.obj: service_internal_python.c service.h
55        $(CPP) /c $(CFLAGS) service_internal_python.c
56
57service_internal_ms.obj: service_internal_ms.c service.h
58        $(CPP) /c $(CFLAGS) service_internal_ms.c
59
60service_loader.obj: service_loader.c service.h
61        $(CPP) /c $(CFLAGS)  service_loader.c
62
63zoo_service_loader.obj: zoo_service_loader.c service.h
64        $(CPP) /c $(CFLAGS)  zoo_service_loader.c
65
66zoo_loader.obj: zoo_loader.c service.h
67        $(CPP) /EHsc /c $(CFLAGS) zoo_loader.c
68
69dirent.obj:
70        $(CPP) /EHsc /c $(CFLAGS) ..\..\thirds\dirent-win32\dirent.c
71
72zoo_loader.cgi: zoo_loader.obj zoo_service_loader.obj service_internal.obj $(PY_FILE) $(JAVA_FILE) $(MS_FILE) $(JS_FILE) $(RUBY_FILE) ulinet.obj lex.cr.obj lex.sr.obj service_conf.tab.obj main_conf_read.tab.obj dirent.obj
73        link zoo_loader.obj dirent.obj service_internal.obj $(PY_FILE) $(JAVA_FILE) $(MS_FILE) $(JS_FILE) $(RUBY_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)
74
75clean:
76        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