Created
April 24, 2011 12:24
-
-
Save flavius/939516 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/bin/sh /home/flav/phpmeta/libtool --mode=compile cc -I. -I/home/flav/phpmeta -DPHP_ATOM_INC -I/home/flav/phpmeta/include -I/home/flav/phpmeta/main -I/home/flav/phpmeta -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /home/flav/phpmeta/meta.c -o meta.lo | |
mkdir .libs | |
cc -I. -I/home/flav/phpmeta -DPHP_ATOM_INC -I/home/flav/phpmeta/include -I/home/flav/phpmeta/main -I/home/flav/phpmeta -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /home/flav/phpmeta/meta.c -fPIC -DPIC -o .libs/meta.o | |
/bin/sh /home/flav/phpmeta/libtool --mode=compile cc -I. -I/home/flav/phpmeta -DPHP_ATOM_INC -I/home/flav/phpmeta/include -I/home/flav/phpmeta/main -I/home/flav/phpmeta -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /home/flav/phpmeta/php_scanner.c -o php_scanner.lo | |
cc -I. -I/home/flav/phpmeta -DPHP_ATOM_INC -I/home/flav/phpmeta/include -I/home/flav/phpmeta/main -I/home/flav/phpmeta -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /home/flav/phpmeta/php_scanner.c -fPIC -DPIC -o .libs/php_scanner.o | |
/bin/sh /home/flav/phpmeta/libtool --mode=compile cc -I. -I/home/flav/phpmeta -DPHP_ATOM_INC -I/home/flav/phpmeta/include -I/home/flav/phpmeta/main -I/home/flav/phpmeta -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /home/flav/phpmeta/php_parser.c -o php_parser.lo | |
cc -I. -I/home/flav/phpmeta -DPHP_ATOM_INC -I/home/flav/phpmeta/include -I/home/flav/phpmeta/main -I/home/flav/phpmeta -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -c /home/flav/phpmeta/php_parser.c -fPIC -DPIC -o .libs/php_parser.o | |
/bin/sh /home/flav/phpmeta/libtool --mode=link cc -DPHP_ATOM_INC -I/home/flav/phpmeta/include -I/home/flav/phpmeta/main -I/home/flav/phpmeta -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O0 -o meta.la -export-dynamic -avoid-version -prefer-pic -module -rpath /home/flav/phpmeta/modules meta.lo php_scanner.lo php_parser.lo | |
cc -shared .libs/meta.o .libs/php_scanner.o .libs/php_parser.o -Wl,-soname -Wl,meta.so -o .libs/meta.so | |
creating meta.la | |
(cd .libs && rm -f meta.la && ln -s ../meta.la meta.la) | |
/bin/sh /home/flav/phpmeta/libtool --mode=install cp ./meta.la /home/flav/phpmeta/modules | |
cp ./.libs/meta.so /home/flav/phpmeta/modules/meta.so | |
cp ./.libs/meta.lai /home/flav/phpmeta/modules/meta.la | |
PATH="$PATH:/sbin" ldconfig -n /home/flav/phpmeta/modules | |
---------------------------------------------------------------------- | |
Libraries have been installed in: | |
/home/flav/phpmeta/modules | |
If you ever happen to want to link against installed libraries | |
in a given directory, LIBDIR, you must either use libtool, and | |
specify the full pathname of the library, or use the `-LLIBDIR' | |
flag during linking and do at least one of the following: | |
- add LIBDIR to the `LD_LIBRARY_PATH' environment variable | |
during execution | |
- add LIBDIR to the `LD_RUN_PATH' environment variable | |
during linking | |
- use the `-Wl,--rpath -Wl,LIBDIR' linker flag | |
- have your system administrator add LIBDIR to `/etc/ld.so.conf' | |
See any operating system documentation about shared libraries for | |
more information, such as the ld(1) and ld.so(8) manual pages. | |
---------------------------------------------------------------------- | |
Build complete. | |
Don't forget to run 'make test'. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PHP_ARG_ENABLE(meta, | |
[Whether to enable the "meta" extension], | |
[ --enable-meta Enable "meta" extension support]) | |
if test $PHP_META != "no"; then | |
PHP_SUBST(META_SHARED_LIBADD) | |
PHP_NEW_EXTENSION(meta, meta.c php_scanner.c php_parser.c, $ext_shared) | |
dnl we need an empty line | |
PHP_ADD_MAKEFILE_FRAGMENT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RE2C_FLAGS=-g --no-generation-date --case-inverted -cbdF | |
$(srcdir)/php_scanner.c: $(srcdir)/php_scanner.re $(srcdir)/php_parser.h | |
$(RE2C) $(RE2C_FLAGS) -t php_scanner_defs.h -o php_scanner.c php_scanner.re | |
$(srcdir)/php_parser.c $(srcdir)/php_parser.h: $(srcdir)/lemon $(srcdir)/php_parser.y | |
@(cd $(srcdir); ./lemon php_parser.y) | |
$(srcdir)/lemon: | |
$(CC) lemon.c -o lemon | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment