source: branches/branch-1.8/zoo-project/zoo-kernel/makefile.vc

Last change on this file was 979, checked in by djay, 4 years ago

Update branch and create tag for the 1.8.0 release

File size: 4.8 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:  $(PROGRAMNAME) zcfg2yaml
11
12version.h:
13        echo #define LOCALEDIR "c:/" > version.h
14        echo #define ZOO_VERSION "1.7.0" >> version.h
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
40zcfg2yaml.obj: zcfg2yaml.c
41        $(CPP) $(CFLAGS) /c zcfg2yaml.c
42
43service_internal.obj: service_internal.c service_internal.h
44        $(CPP) $(CFLAGS) /c service_internal.c
45
46server_internal.obj: server_internal.c server_internal.h
47        $(CPP) $(CFLAGS) /c server_internal.c
48
49caching.obj: caching.c caching.h
50        $(CPP) $(CFLAGS) /c caching.c
51
52service_json.obj: service_json.c service_json.h
53        $(CPP) $(CFLAGS) /c service_json.c
54
55request_parser.obj: request_parser.c request_parser.h
56        $(CPP) $(CFLAGS) /c request_parser.c
57
58response_print.obj: response_print.c response_print.h
59        $(CPP) $(CFLAGS) /c response_print.c
60
61service.obj: service.c service.h
62        $(CPP) $(CFLAGS) /c service.c
63
64sqlapi.obj: sqlapi.c sqlapi.h
65        $(CPP) $(CFLAGS) /c sqlapi.c
66
67service_internal_js.obj: service_internal_js.c service.h
68        $(CPP) /c $(CFLAGS) service_internal_js.c
69
70service_internal_java.obj: service_internal_java.c service.h
71        $(CPP) /c $(CFLAGS) service_internal_java.c
72
73service_internal_ruby.obj: service_internal_ruby.c service_internal_ruby.h service.h
74        $(CPP) /c $(CFLAGS) service_internal_ruby.c
75
76service_internal_mono.obj: service_internal_mono.c service_internal_mono.h service.h
77        $(CPP) /c $(MONO_CLAGS) $(CFLAGS) service_internal_mono.c
78
79service_internal_python.obj: service_internal_python.c service.h
80        $(CPP) /c $(CFLAGS) service_internal_python.c
81
82service_internal_ms.obj: service_internal_ms.c service.h
83        $(CPP) /c $(CFLAGS) service_internal_ms.c
84
85service_loader.obj: service_loader.c service.h
86        $(CPP) /c $(CFLAGS)  service_loader.c
87
88zoo_service_loader.obj: zoo_service_loader.c service.h
89        $(CPP) /c $(CFLAGS)  zoo_service_loader.c
90
91zoo_loader.obj: zoo_loader.c service.h
92        $(CPP) /EHsc /c $(CFLAGS) zoo_loader.c
93
94service_internal_php.obj: service_internal_php.c service_internal_php.h service.h
95        $(CPP) /c $(CFLAGS) $(PHP_CFLAGS) service_internal_php.c
96   
97service_callback.obj: service_callback.c service_callback.h service.h
98        $(CPP) /c $(CFLAGS) service_callback.c
99   
100service_internal_php7.obj: service_internal_php7.c service_internal_php.h service.h
101        $(CPP) /c $(CFLAGS) $(PHP_CFLAGS) service_internal_php7.c   
102
103$(LIBZOO_SERVICE): service_internal.obj service.obj sqlapi.obj
104        link /dll /out:$(LIBZOO_SERVICE) ./service.obj ./service_internal.obj ./sqlapi.obj $(LDFLAGS) /FORCE:MULTIPLE
105
106$(PROGRAMNAME): version.h $(LIBZOO_SERVICE) zoo_loader.obj zoo_service_loader.obj service_internal.obj $(PY_FILE) $(JAVA_FILE) $(MS_FILE) $(JS_FILE) $(MONO_FILE) $(RUBY_FILE) $(PHP_FILE) ulinet.obj lex.cr.obj lex.sr.obj service_conf.tab.obj main_conf_read.tab.obj request_parser.obj response_print.obj server_internal.obj caching.obj service_json.obj service_callback.obj
107        link zoo_loader.obj request_parser.obj response_print.obj server_internal.obj caching.obj service_json.obj service_callback.obj $(PY_FILE) $(JAVA_FILE) $(MS_FILE) $(JS_FILE) $(MONO_FILE) $(RUBY_FILE) $(PHP_FILE) ulinet.obj main_conf_read.tab.obj lex.cr.obj service_conf.tab.obj lex.sr.obj  zoo_service_loader.obj ./libzoo_service.lib /out:$(PROGRAMNAME) $(LDFLAGS) $(LDFLAGSCGI) $(JSONC_LIB) $(PTHREADS_LIB) $(XSLT_LIB)
108
109zcfg2yaml: version.h zcfg2yaml.obj zoo_service_loader.obj service_internal.obj caching.obj service_json.obj $(PY_FILE) $(JAVA_FILE) $(MS_FILE) $(JS_FILE) $(MONO_FILE) $(RUBY_FILE) ulinet.obj lex.cr.obj lex.sr.obj service_conf.tab.obj main_conf_read.tab.obj
110        link zcfg2yaml.obj server_internal.obj caching.obj service_json.obj $(PY_FILE) $(JAVA_FILE) $(MS_FILE) $(JS_FILE) $(MONO_FILE) $(RUBY_FILE) $(PHP_FILE) ulinet.obj response_print.obj main_conf_read.tab.obj lex.cr.obj service_conf.tab.obj lex.sr.obj ./libzoo_service.lib /out:zcfg2yaml.exe $(LDFLAGS) $(LDFLAGSCGI) $(JSONC_LIB)
111
112clean:
113        erase -f *.cgi *.obj *.tab.c* *.tab.h *.sr.c* lex.* *.lreg *.sibling *.lib *.dll
114
115embed-manifest: zoo_loader.cgi
116        mt.exe -manifest zoo_loader.cgi.manifest -outputresource:zoo_loader.cgi;
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