source: branches/PublicaMundi_David-devel/zoo-project/zoo-kernel/Makefile.in @ 976

Last change on this file since 976 was 617, checked in by david, 10 years ago

commit of partial async queue process management

File size: 6.0 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=@DEB_DEF@  -fpic ${GLIB_CPPFLAGS} ${YAML_CFLAGS} ${MACOS_CFLAGS} ${MS_CFLAGS} -I../../thirds/cgic206 -I. -DLINUX_FREE_ISSUE #-DDEBUG #-DDEBUG_SERVICE_CONF
15LDFLAGS=  -lcurl -L../../thirds/cgic206 -lcgic ${GDAL_LIBS} ${XML2LDFLAGS} ${GLIB_LDFLAGS}  ${RABBITMQ_LDFLAGS} ${PYTHONLDFLAGS} ${PERLLDFLAGS}  ${PHPLDFLAGS} ${JAVALDFLAGS} ${JSLDFLAGS} -lfcgi -lcrypto ${MS_LDFLAGS} ${MACOS_LD_FLAGS} ${YAML_LDFLAGS} ${JSON_LDFLAGS} ${MYSQL_LDFLAGS}
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
28JSON_LDFLAGS=@JSON_LDFLAGS@
29JSON_CPPFLAGS=@JSON_CPPFLAGS@
30
31RABBITMQ_LDFLAGS=@RABBITMQ_LDFLAGS@
32RABBITMQ_CPPFLAGS=@RABBITMQ_CPPFLAGS@
33
34MYSQL_LDFLAGS=@MYSQL_LDFLAGS@
35MYSQL_CPPFLAGS=@MYSQL_CPPFLAGS@
36
37
38
39all: version.h zoo_loader.cgi ${YAML_FILE1}
40
41version.h:
42        echo "#define ZOO_VERSION \"`svnversion`\"" > version.h
43
44main_conf_read.tab.c: main_conf_read.y service.h
45        bison -p cr -d main_conf_read.y
46
47main_conf_read.tab.o: main_conf_read.tab.c service.h
48        g++ ${CFLAGS} -c main_conf_read.tab.c
49
50lex.cr.c: main_conf_read.y main_conf_read.l main_conf_read.tab.c service.h
51        flex -P cr --header-file main_conf_read.l
52
53lex.cr.o: lex.cr.c service.h
54        g++ ${CFLAGS} -c lex.cr.c
55
56service_conf.tab.c: service_conf.y service.h
57        bison -p sr -d service_conf.y
58
59service_conf.tab.o: service_conf.tab.c service.h
60        g++ ${CFLAGS} -c service_conf.tab.c
61
62lex.sr.c: service_conf.y service_conf.l service_conf.tab.c service.h
63        flex -P sr --header-file service_conf.l
64
65lex.sr.o: lex.sr.c service.h
66        g++ ${CFLAGS} -c lex.sr.c
67
68ulinet.o: ulinet.c
69        gcc -fPIC ${XML2CFLAGS} ${CFLAGS} ${JSCFLAGS} ${JS_ENABLED} -c ulinet.c
70
71service_zcfg.o: service_zcfg.c service.h
72        g++ ${GLIB_CPPFLAGS} ${XML2CFLAGS} -c service_zcfg.c
73
74zoo_json.o:     zoo_json.c service.h
75        g++ ${JSON_CPPFLAGS} ${XML2CFLAGS} -c zoo_json.c
76
77zoo_amqp.o: zoo_amqp.c
78        g++ ${CFLAGS} -c zoo_amqp.c
79
80zoo_sql.o: zoo_sql.c
81        g++ ${MYSQL_CPPFLAGS} -c zoo_sql.c
82
83
84service_internal.o: service_internal.c service.h
85        g++ ${GDAL_CFLAGS} ${JS_ENABLED} ${JSCFLAGS} ${XML2CFLAGS} ${CFLAGS} -fPIC -c service_internal.c
86
87service_yaml.o: service_yaml.c service.h
88        gcc ${YAML_CFLAGS} ${XML2CFLAGS} ${CFLAGS} -fPIC -c service_yaml.c
89
90service_internal_ms.o: service_internal_ms.c
91        gcc ${JS_ENABLED} ${JSCFLAGS} ${XML2CFLAGS} ${CFLAGS} -fPIC -c service_internal_ms.c
92
93service_internal_python.o: service_internal_python.c service.h
94        g++ ${XML2CFLAGS} ${PYTHONCFLAGS} ${CFLAGS} -c service_internal_python.c
95
96service_internal_php.o: service_internal_php.c service.h
97        g++ -c ${XML2CFLAGS} ${PHPCFLAGS} ${CFLAGS}  ${PHP_ENABLED} service_internal_php.c
98
99service_internal_perl.o: service_internal_perl.c service.h
100        gcc -c ${XML2CFLAGS} ${PERLCFLAGS} ${CFLAGS}  ${PERL_ENABLED} service_internal_perl.c
101
102service_internal_java.o: service_internal_java.c service.h
103        gcc -c ${XML2CFLAGS} ${JAVACFLAGS} ${CFLAGS} ${JAVA_ENABLED} service_internal_java.c
104
105service_internal_js.o: service_internal_js.c service_internal_js.h
106        gcc -fPIC ${XML2CFLAGS} ${JSCFLAGS} ${CFLAGS} ${JS_ENABLED} -c service_internal_js.c
107
108service_internal_ruby.o: service_internal_ruby.c service_internal_ruby.h
109        g++ ${XML2CFLAGS} ${RUBYCFLAGS} ${CFLAGS} ${JSCFLAGS} ${JS_ENABLED} -c service_internal_ruby.c
110
111service_loader.o: service_loader.c service.h
112        g++ -c ${XML2CFLAGS} ${PYTHONCFLAGS} ${CFLAGS} service_loader.c
113
114zoo_service_loader.o: zoo_service_loader.c service.h
115        g++ -g -O2 ${XML2CFLAGS} ${CFLAGS} ${PYTHONCFLAGS} ${JAVACFLAGS} ${JSCFLAGS} ${PERLCFLAGS} ${PHPCFLAGS} ${PYTHON_ENABLED} ${JS_ENABLED} ${PHP_ENABLED} ${PERL_ENABLED} ${JAVA_ENABLED} ${JSON_CPPFLAGS} -c zoo_service_loader.c  -fno-common -DPIC -o zoo_service_loader.o
116
117zoo_loader.cgi: version.h zoo_loader.c zoo_sql.o zoo_amqp.o zoo_json.o service_zcfg.o 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} ${YAML_FILE}
118        g++ -g -O2 ${JSCFLAGS} ${PHPCFLAGS}  ${PERLCFLAGS} ${RUBYCFLAGS}  ${JAVACFLAGS} ${XML2CFLAGS} ${PYTHONCFLAGS} ${CFLAGS}  ${JSON_CPPFLAGS} -c zoo_loader.c  -fno-common -DPIC -o zoo_loader.o
119        g++  ${JSCFLAGS} ${GDAL_CFLAGS} ${XML2CFLAGS} ${PHPCFLAGS} ${PERLCFLAGS} ${JAVACFLAGS} ${PYTHONCFLAGS} ${CFLAGS} zoo_sql.o zoo_amqp.o zoo_json.o zoo_loader.o service_zcfg.o zoo_service_loader.o service_internal.o ${MS_FILE} ${PYTHON_FILE}  ${PERL_FILE} ${PHP_FILE}  ${JS_FILE} ${JAVA_FILE} ${YAML_FILE} ulinet.o lex.cr.o lex.sr.o service_conf.tab.o main_conf_read.tab.o -o zoo_loader.cgi ${LDFLAGS}
120
121zcfg2yaml: zcfg2yaml.c  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} ${JS_FILE} ${RUBY_FILE}  ${YAML_FILE}
122        g++ -g -O2 ${JSCFLAGS} ${RUBYCFLAGS} ${XML2CFLAGS} ${CFLAGS} -c zcfg2yaml.c  -fno-common -DPIC -o zcfg2yaml.o
123        g++  ${JSCFLAGS} ${XML2CFLAGS} ${CFLAGS} zcfg2yaml.o service_internal.o ${MS_FILE} ${JS_FILE}  ulinet.o lex.cr.o lex.sr.o service_conf.tab.o main_conf_read.tab.o  ${YAML_FILE} -o zcfg2yaml ${LDFLAGS}
124
125install:
126        @echo "##############################################################################"
127        @echo "# This won't install anything !!!                                            #"
128        @echo "#                                                                            #"
129        @echo "# Please copy the zoo_loader.cgi and its companion main.cfg into your cgbin  #"
130        @echo "# directory.                                                                 #"
131        @echo "##############################################################################"
132
133clean:
134        rm -f version.h *.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

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