source: trunk/zoo-project/zoo-kernel/Makefile.in @ 459

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

Initial introduction of Value and Range in AllowedValues?, update zcfg documentation. Return valid Status code when returning ExceptionRepport?.

File size: 4.5 KB
Line 
1include ZOOMakefile.opts
2
3OS:=$(shell uname -s)
4ifeq ($(OS),Darwin)
5        MACOS_LD_FLAGS=-lintl -framework SystemConfiguration -framework CoreFoundation
6        MACOS_CFLAGS=-arch $(shell uname -m)
7endif
8
9JAVACFLAGS=@JAVA_CPPFLAGS@
10JAVALDFLAGS=@JAVA_LDFLAGS@
11JAVA_ENABLED=@JAVA_ENABLED@
12JAVA_FILE=@JAVA_FILE@
13
14CFLAGS=-fpic ${MACOS_CFLAGS} ${MS_CFLAGS} -I../../thirds/cgic206 -I. -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF
15LDFLAGS=-lcurl -L../../thirds/cgic206 -lcgic ${GDAL_LIBS} ${XML2LDFLAGS} ${PYTHONLDFLAGS} ${PERLLDFLAGS}  ${PHPLDFLAGS} ${JAVALDFLAGS} ${JSLDFLAGS} -lfcgi -lcrypto ${MS_LDFLAGS} ${MACOS_LD_FLAGS}
16
17PHPCFLAGS=@PHP_CPPFLAGS@
18PHPLDFLAGS=@PHP_LDFLAGS@
19PHP_ENABLED=@PHP_ENABLED@
20PHP_FILE=@PHP_FILE@
21
22
23PERLCFLAGS=@PERL_CPPFLAGS@
24PERLLDFLAGS=@PERL_LDFLAGS@
25PERL_ENABLED=@PERL_ENABLED@
26PERL_FILE=@PERL_FILE@
27
28
29all: zoo_loader.cgi
30
31main_conf_read.tab.c: main_conf_read.y service.h
32        bison -p cr -d main_conf_read.y
33
34main_conf_read.tab.o: main_conf_read.tab.c service.h
35        g++ ${CFLAGS} -c main_conf_read.tab.c
36
37lex.cr.c: main_conf_read.y main_conf_read.l main_conf_read.tab.c service.h
38        flex -P cr --header-file main_conf_read.l
39
40lex.cr.o: lex.cr.c service.h
41        g++ ${CFLAGS} -c lex.cr.c
42
43service_conf.tab.c: service_conf.y service.h
44        bison -p sr -d service_conf.y
45
46service_conf.tab.o: service_conf.tab.c service.h
47        g++ ${CFLAGS} -c service_conf.tab.c
48
49lex.sr.c: service_conf.y service_conf.l service_conf.tab.c service.h
50        flex -P sr --header-file service_conf.l
51
52lex.sr.o: lex.sr.c service.h
53        g++ ${CFLAGS} -c lex.sr.c
54
55ulinet.o: ulinet.c
56        gcc -fPIC ${XML2CFLAGS} ${CFLAGS} ${JSCFLAGS} ${JS_ENABLED} -c ulinet.c
57
58service_internal.o: service_internal.c service.h
59        gcc ${JS_ENABLED} ${JSCFLAGS} ${XML2CFLAGS} ${CFLAGS} -fPIC -c service_internal.c
60
61service_internal_ms.o: service_internal_ms.c
62        gcc ${JS_ENABLED} ${JSCFLAGS} ${XML2CFLAGS} ${CFLAGS} -fPIC -c service_internal_ms.c
63
64service_internal_python.o: service_internal_python.c service.h
65        g++ ${XML2CFLAGS} ${PYTHONCFLAGS} ${CFLAGS} -c service_internal_python.c
66
67service_internal_php.o: service_internal_php.c service.h
68        g++ -c ${XML2CFLAGS} ${PHPCFLAGS} ${CFLAGS}  ${PHP_ENABLED} service_internal_php.c
69
70service_internal_perl.o: service_internal_perl.c service.h
71        gcc -c ${XML2CFLAGS} ${PERLCFLAGS} ${CFLAGS}  ${PERL_ENABLED} service_internal_perl.c
72
73service_internal_java.o: service_internal_java.c service.h
74        gcc -c ${XML2CFLAGS} ${JAVACFLAGS} ${CFLAGS} ${JAVA_ENABLED} service_internal_java.c
75
76service_internal_js.o: service_internal_js.c service_internal_js.h
77        gcc ${XML2CFLAGS} ${JSCFLAGS} ${CFLAGS} ${JS_ENABLED} -c service_internal_js.c
78
79service_internal_ruby.o: service_internal_ruby.c service_internal_ruby.h
80        g++ ${XML2CFLAGS} ${RUBYCFLAGS} ${CFLAGS} ${JSCFLAGS} ${JS_ENABLED} -c service_internal_ruby.c
81
82service_loader.o: service_loader.c service.h
83        g++ -c ${XML2CFLAGS} ${PYTHONCFLAGS} ${CFLAGS} service_loader.c
84
85zoo_service_loader.o: zoo_service_loader.c service.h
86        g++ -g -O2 ${XML2CFLAGS} ${CFLAGS} ${PYTHONCFLAGS} ${JAVACFLAGS} ${JSCFLAGS} ${PERLCFLAGS} ${PHPCFLAGS} ${PYTHON_ENABLED} ${JS_ENABLED} ${PHP_ENABLED} ${PERL_ENABLED} ${JAVA_ENABLED} -c zoo_service_loader.c  -fno-common -DPIC -o zoo_service_loader.o
87
88zoo_loader.cgi: zoo_loader.c zoo_service_loader.o  ulinet.o service.h lex.sr.o service_conf.tab.o service_conf.y ulinet.o main_conf_read.tab.o lex.cr.o service_internal.o ${MS_FILE} ${PYTHON_FILE} ${PHP_FILE} ${JAVA_FILE} ${JS_FILE} ${PERL_FILE} ${RUBY_FILE}
89        g++ -g -O2 ${JSCFLAGS} ${PHPCFLAGS}  ${PERLCFLAGS} ${RUBYCFLAGS}  ${JAVACFLAGS} ${XML2CFLAGS} ${PYTHONCFLAGS} ${CFLAGS} -c zoo_loader.c  -fno-common -DPIC -o zoo_loader.o
90        g++  ${JSCFLAGS} ${GDAL_CFLAGS} ${XML2CFLAGS} ${PHPCFLAGS} ${PERLCFLAGS} ${JAVACFLAGS} ${PYTHONCFLAGS} ${CFLAGS} zoo_loader.o zoo_service_loader.o service_internal.o ${MS_FILE} ${PYTHON_FILE}  ${PERL_FILE} ${PHP_FILE}  ${JS_FILE} ${JAVA_FILE} ulinet.o lex.cr.o lex.sr.o service_conf.tab.o main_conf_read.tab.o -o zoo_loader.cgi ${LDFLAGS}
91
92install:
93        @echo "##############################################################################"
94        @echo "# This won't install anything !!!                                            #"
95        @echo "#                                                                            #"
96        @echo "# Please copy the zoo_loader.cgi and its companion main.cfg into your cgbin  #"
97        @echo "# directory.                                                                 #"
98        @echo "##############################################################################"
99
100clean:
101        rm -f *.o *.zo *.eo *.tab.c *.tab.h *.sr.c* service_loader lex.* *.lreg *.sibling service_loader.dSYM
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