source: branches/branch-1.2/zoo-kernel/makefile.vc @ 177

Last change on this file since 177 was 1, checked in by djay, 15 years ago

Initial ZOO SVN Repository Import.

File size: 2.8 KB
Line 
1GEODIR=c:/OSGeo4W
2DESTDIR=c:/OSGeo4W
3TPATH=..\..\..\tools
4TOOLS=$(TPATH)\bin
5CFLAGS=/EHa /nologo /MT /W3 /GX /O2 /D_CRT_SECURE_NO_WARNINGS /DWIN32 $(CJFLAGS) -I./ -I..\thirds\dirent-win32 -IC:\OSGeo4W\apps\Python25\include -I$(GEODIR)/include -I$(TPATH)\include -DLINUX_FREE_ISSUE #-DDEBUG
6CC=cl $(CFLAGS)
7CPP=cl /TP $(CFLAGS)
8
9all:  service_loader
10
11service_loader: service.h lex.sr.obj service_conf.tab.obj service_conf.y service_internal_python.obj service_loader.obj main_conf_read.tab.obj lex.cr.obj service_internal.obj
12        cl $(CFLAGS) lex.sr.obj service_conf.tab.obj main_conf_read.tab.obj lex.cr.obj service_internal.obj service_internal_python.obj service_loader.obj -o service_loader -ldl `python-config --libs` `xml2-config --libs` -lfl -lcurl
13
14main_conf_read.tab.c: main_conf_read.y service.h
15        $(TOOLS)\bison -p cr -d main_conf_read.y
16
17main_conf_read.tab.obj: main_conf_read.tab.c service.h
18        $(CPP) /EHsc $(CFLAGS) main_conf_read.tab.c /c
19
20lex.cr.c: main_conf_read.y main_conf_read.l main_conf_read.tab.c service.h
21        $(TOOLS)\flex -Pcr main_conf_read.l
22
23lex.cr.obj: lex.cr.c service.h
24        $(CPP) $(CFLAGS) /c lex.cr.c
25
26service_conf.tab.c: service_conf.y service.h
27        $(TOOLS)\bison -p sr -d service_conf.y
28
29service_conf.tab.obj: service_conf.tab.c service.h
30        $(CPP) $(CFLAGS) service_conf.tab.c /c
31
32lex.sr.c: service_conf.y service_conf.l service_conf.tab.c service.h
33        $(TOOLS)\flex -Psr service_conf.l
34
35lex.sr.obj: lex.sr.c service.h
36        $(CPP) $(CFLAGS) /c lex.sr.c
37
38service_internal.obj: service_internal.c
39        $(CPP) $(CFLAGS) /c service_internal.c
40
41service_internal_python.obj: service_internal_python.c service.h
42        $(CPP) /c $(CFLAGS) service_internal_python.c
43
44service_internal_java.obj: service_internal_java.c service.h
45        $(CPP) /c $(CFLAGS) $(CJFLAGS) service_internal_java.c
46
47service_loader.obj: service_loader.c service.h
48        $(CPP) /c $(CFLAGS)  service_loader.c
49
50zoo_service_loader.obj: zoo_service_loader.c service.h
51        $(CPP) /c $(CFLAGS)  zoo_service_loader.c
52
53zoo_loader.obj: zoo_loader.c service.h
54        $(CPP) /EHsc /c $(CFLAGS) zoo_loader.c
55
56zoo_loader.cgi: zoo_loader.obj zoo_service_loader.obj service_internal.obj service_internal_python.obj ulinet.obj lex.cr.obj lex.sr.obj service_conf.tab.obj main_conf_read.tab.obj dirent.obj
57        link zoo_loader.obj dirent.obj service_internal.obj service_internal_python.obj 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  $(GEODIR)/lib/libfcgi.lib $(GEODIR)/lib/libcurl_imp.lib  $(GEODIR)/apps/Python25/libs/python25.lib $(GEODIR)/lib/libxml2.lib $(GEODIR)/lib/libcgic.lib $(GEODIR)/lib/gdal_i.lib $(TOOLS)\..\lib\libeay32.dll.a $(TOOLS)\..\lib\libcrypto.a $(TOOLS)\..\lib\libssl32.dll.a /machine:i386
58
59clean:
60        erase -f *.obj *.tab.c* *.tab.h *.sr.c* lex.* *.lreg *.sibling
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