Project

Profile

Help

Revision 74287d98

Added by O'Neil Delpratt over 4 years ago

Saxon/C update

View differences:

latest9.8/hec/Saxon.C.API/Makefile
1
srcdir = /home/ond1/work/svn/latest9.8/Saxon.C.API
2
builddir = /home/ond1/work/svn/latest9.8/Saxon.C.API
3
top_srcdir = /home/ond1/work/svn/latest9.8/Saxon.C.API
4
top_builddir = /home/ond1/work/svn/latest9.8/Saxon.C.API
1
srcdir = /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API
2
builddir = /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API
3
top_srcdir = /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API
4
top_builddir = /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API
5 5
EGREP = /bin/grep -E
6 6
SED = /bin/sed
7 7
CONFIGURE_COMMAND = './configure' '--enable-saxon'
......
12 12
RE2C = exit 0;
13 13
AWK = nawk
14 14
SAXON_SHARED_LIBADD = -lstdc++ -ldl
15
shared_objects_saxon = php5_saxon.lo SaxonProcessor.lo XQueryProcessor.lo XsltProcessor.lo XPathProcessor.lo SchemaValidator.lo XdmValue.lo XdmItem.lo XdmNode.lo XdmAtomicValue.lo SaxonCGlue.lo SaxonCProcessor.lo SaxonCXPath.lo
15
shared_objects_saxon = php7_saxon.lo SaxonProcessor.lo XQueryProcessor.lo XsltProcessor.lo XPathProcessor.lo SchemaValidator.lo XdmValue.lo XdmItem.lo XdmNode.lo XdmAtomicValue.lo SaxonCGlue.lo SaxonCProcessor.lo SaxonCXPath.lo
16 16
PHP_PECL_EXTENSION = saxon
17 17
PHP_MODULES = $(phplibdir)/saxon.la
18 18
PHP_ZEND_EX =
......
22 22
exec_prefix = $(prefix)
23 23
libdir = ${exec_prefix}/lib
24 24
prefix = /usr
25
phplibdir = /home/ond1/work/svn/latest9.8/Saxon.C.API/modules
26
phpincludedir = /usr/include/php5
25
phplibdir = /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/modules
26
phpincludedir = /usr/include/php/20170718
27 27
CC = cc
28 28
CFLAGS = -g -O2
29 29
CFLAGS_CLEAN = $(CFLAGS)
......
32 32
CXX = g++
33 33
CXXFLAGS = -g -O2
34 34
CXXFLAGS_CLEAN = $(CXXFLAGS)
35
EXTENSION_DIR = /usr/lib/php5/20121212
36
PHP_EXECUTABLE = /usr/bin/php
35
EXTENSION_DIR = /usr/lib/php/20170718
36
PHP_EXECUTABLE = /usr/bin/php7.2
37 37
EXTRA_LDFLAGS =
38 38
EXTRA_LIBS =
39
INCLUDES = -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib
39
INCLUDES = -I/usr/include/php/20170718 -I/usr/include/php/20170718/main -I/usr/include/php/20170718/TSRM -I/usr/include/php/20170718/Zend -I/usr/include/php/20170718/ext -I/usr/include/php/20170718/ext/date/lib -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
40 40
LFLAGS =
41 41
LDFLAGS =
42 42
SHARED_LIBTOOL =
......
164 164

  
165 165
distclean: clean
166 166
	rm -f Makefile config.cache config.log config.status Makefile.objects Makefile.fragments libtool main/php_config.h main/internal_functions_cli.c main/internal_functions.c stamp-h sapi/apache/libphp$(PHP_MAJOR_VERSION).module sapi/apache_hooks/libphp$(PHP_MAJOR_VERSION).module buildmk.stamp Zend/zend_dtrace_gen.h Zend/zend_dtrace_gen.h.bak Zend/zend_config.h TSRM/tsrm_config.h
167
	rm -f php5.spec main/build-defs.h scripts/phpize
168
	rm -f ext/date/lib/timelib_config.h ext/mbstring/oniguruma/config.h ext/mbstring/libmbfl/config.h ext/mysqlnd/php_mysqlnd_config.h
167
	rm -f php7.spec main/build-defs.h scripts/phpize
168
	rm -f ext/date/lib/timelib_config.h ext/mbstring/oniguruma/config.h ext/mbstring/libmbfl/config.h ext/oci8/oci8_dtrace_gen.h ext/oci8/oci8_dtrace_gen.h.bak
169 169
	rm -f scripts/man1/phpize.1 scripts/php-config scripts/man1/php-config.1 sapi/cli/php.1 sapi/cgi/php-cgi.1 ext/phar/phar.1 ext/phar/phar.phar.1
170 170
	rm -f sapi/fpm/php-fpm.conf sapi/fpm/init.d.php-fpm sapi/fpm/php-fpm.service sapi/fpm/php-fpm.8 sapi/fpm/status.html
171 171
	rm -f ext/iconv/php_have_bsd_iconv.h ext/iconv/php_have_glibc_iconv.h ext/iconv/php_have_ibm_iconv.h ext/iconv/php_have_iconv.h ext/iconv/php_have_libiconv.h ext/iconv/php_iconv_aliased_libiconv.h ext/iconv/php_iconv_supports_errno.h ext/iconv/php_php_iconv_h_path.h ext/iconv/php_php_iconv_impl.h
......
175 175
	fi
176 176
	$(EGREP) define'.*include/php' $(top_srcdir)/configure | $(SED) 's/.*>//'|xargs rm -f
177 177

  
178
.PHONY: all clean install distclean test
178
prof-gen:
179
	CCACHE_DISABLE=1 $(MAKE) PROF_FLAGS=-fprofile-generate all
180

  
181
prof-clean:
182
	find . -name \*.lo -o -name \*.o | xargs rm -f
183
	find . -name \*.la -o -name \*.a | xargs rm -f 
184
	find . -name \*.so | xargs rm -f
185
	rm -f libphp$(PHP_MAJOR_VERSION).la $(SAPI_CLI_PATH) $(SAPI_CGI_PATH) $(SAPI_MILTER_PATH) $(SAPI_LITESPEED_PATH) $(SAPI_FPM_PATH) $(OVERALL_TARGET) modules/* libs/*
186

  
187
prof-use:
188
	CCACHE_DISABLE=1 $(MAKE) PROF_FLAGS=-fprofile-use all
189

  
190

  
191
.PHONY: all clean install distclean test prof-gen prof-clean prof-use
179 192
.NOEXPORT:
180
php5_saxon.lo: /home/ond1/work/svn/latest9.8/Saxon.C.API/php5_saxon.cpp
181
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/svn/latest9.8/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/svn/latest9.8/Saxon.C.API/php5_saxon.cpp -o php5_saxon.lo 
182
SaxonProcessor.lo: /home/ond1/work/svn/latest9.8/Saxon.C.API/SaxonProcessor.cpp
183
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/svn/latest9.8/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/svn/latest9.8/Saxon.C.API/SaxonProcessor.cpp -o SaxonProcessor.lo 
184
XQueryProcessor.lo: /home/ond1/work/svn/latest9.8/Saxon.C.API/XQueryProcessor.cpp
185
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/svn/latest9.8/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/svn/latest9.8/Saxon.C.API/XQueryProcessor.cpp -o XQueryProcessor.lo 
186
XsltProcessor.lo: /home/ond1/work/svn/latest9.8/Saxon.C.API/XsltProcessor.cpp
187
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/svn/latest9.8/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/svn/latest9.8/Saxon.C.API/XsltProcessor.cpp -o XsltProcessor.lo 
188
XPathProcessor.lo: /home/ond1/work/svn/latest9.8/Saxon.C.API/XPathProcessor.cpp
189
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/svn/latest9.8/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/svn/latest9.8/Saxon.C.API/XPathProcessor.cpp -o XPathProcessor.lo 
190
SchemaValidator.lo: /home/ond1/work/svn/latest9.8/Saxon.C.API/SchemaValidator.cpp
191
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/svn/latest9.8/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/svn/latest9.8/Saxon.C.API/SchemaValidator.cpp -o SchemaValidator.lo 
192
XdmValue.lo: /home/ond1/work/svn/latest9.8/Saxon.C.API/XdmValue.cpp
193
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/svn/latest9.8/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/svn/latest9.8/Saxon.C.API/XdmValue.cpp -o XdmValue.lo 
194
XdmItem.lo: /home/ond1/work/svn/latest9.8/Saxon.C.API/XdmItem.cpp
195
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/svn/latest9.8/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/svn/latest9.8/Saxon.C.API/XdmItem.cpp -o XdmItem.lo 
196
XdmNode.lo: /home/ond1/work/svn/latest9.8/Saxon.C.API/XdmNode.cpp
197
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/svn/latest9.8/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/svn/latest9.8/Saxon.C.API/XdmNode.cpp -o XdmNode.lo 
198
XdmAtomicValue.lo: /home/ond1/work/svn/latest9.8/Saxon.C.API/XdmAtomicValue.cpp
199
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/svn/latest9.8/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/svn/latest9.8/Saxon.C.API/XdmAtomicValue.cpp -o XdmAtomicValue.lo 
200
SaxonCGlue.lo: /home/ond1/work/svn/latest9.8/Saxon.C.API/SaxonCGlue.c
201
	$(LIBTOOL) --mode=compile $(CC)  -I. -I/home/ond1/work/svn/latest9.8/Saxon.C.API $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS)  -c /home/ond1/work/svn/latest9.8/Saxon.C.API/SaxonCGlue.c -o SaxonCGlue.lo 
202
SaxonCProcessor.lo: /home/ond1/work/svn/latest9.8/Saxon.C.API/SaxonCProcessor.c
203
	$(LIBTOOL) --mode=compile $(CC)  -I. -I/home/ond1/work/svn/latest9.8/Saxon.C.API $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS)  -c /home/ond1/work/svn/latest9.8/Saxon.C.API/SaxonCProcessor.c -o SaxonCProcessor.lo 
204
SaxonCXPath.lo: /home/ond1/work/svn/latest9.8/Saxon.C.API/SaxonCXPath.c
205
	$(LIBTOOL) --mode=compile $(CC)  -I. -I/home/ond1/work/svn/latest9.8/Saxon.C.API $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS)  -c /home/ond1/work/svn/latest9.8/Saxon.C.API/SaxonCXPath.c -o SaxonCXPath.lo 
193
php7_saxon.lo: /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/php7_saxon.cpp
194
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/php7_saxon.cpp -o php7_saxon.lo 
195
SaxonProcessor.lo: /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/SaxonProcessor.cpp
196
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/SaxonProcessor.cpp -o SaxonProcessor.lo 
197
XQueryProcessor.lo: /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/XQueryProcessor.cpp
198
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/XQueryProcessor.cpp -o XQueryProcessor.lo 
199
XsltProcessor.lo: /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/XsltProcessor.cpp
200
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/XsltProcessor.cpp -o XsltProcessor.lo 
201
XPathProcessor.lo: /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/XPathProcessor.cpp
202
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/XPathProcessor.cpp -o XPathProcessor.lo 
203
SchemaValidator.lo: /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/SchemaValidator.cpp
204
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/SchemaValidator.cpp -o SchemaValidator.lo 
205
XdmValue.lo: /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/XdmValue.cpp
206
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/XdmValue.cpp -o XdmValue.lo 
207
XdmItem.lo: /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/XdmItem.cpp
208
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/XdmItem.cpp -o XdmItem.lo 
209
XdmNode.lo: /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/XdmNode.cpp
210
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/XdmNode.cpp -o XdmNode.lo 
211
XdmAtomicValue.lo: /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/XdmAtomicValue.cpp
212
	$(LIBTOOL) --mode=compile $(CXX)  -I. -I/home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API $(COMMON_FLAGS) $(CXXFLAGS_CLEAN) $(EXTRA_CXXFLAGS)  -c /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/XdmAtomicValue.cpp -o XdmAtomicValue.lo 
213
SaxonCGlue.lo: /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/SaxonCGlue.c
214
	$(LIBTOOL) --mode=compile $(CC)  -I. -I/home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS)  -c /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/SaxonCGlue.c -o SaxonCGlue.lo 
215
SaxonCProcessor.lo: /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/SaxonCProcessor.c
216
	$(LIBTOOL) --mode=compile $(CC)  -I. -I/home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS)  -c /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/SaxonCProcessor.c -o SaxonCProcessor.lo 
217
SaxonCXPath.lo: /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/SaxonCXPath.c
218
	$(LIBTOOL) --mode=compile $(CC)  -I. -I/home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API $(COMMON_FLAGS) $(CFLAGS_CLEAN) $(EXTRA_CFLAGS)  -c /home/ond1/work/new-svn/latest9.8-hec/hec/Saxon.C.API/SaxonCXPath.c -o SaxonCXPath.lo 
206 219
$(phplibdir)/saxon.la: ./saxon.la
207 220
	$(LIBTOOL) --mode=install cp ./saxon.la $(phplibdir)
208 221

  

Also available in: Unified diff