mirror of
https://github.com/php/php-src.git
synced 2026-04-21 15:08:16 +02:00
d9f52fe0a7
Examples on how to test: ./configure --with-xml static ./configure --with-xml=/opt static ./configure --with-xml=shared shared ./configure --with-xml=shared,/opt shared The difference between these two is that when the extension is shared, it is not merged into libphpext.a. The shared extension is currently always built. I can't find a way to do just one or the other with automake/libtool, if someone has a clever idea, please come forward. :-) "make install" installs the .so (as well as a lot of other cruft) in $prefix/lib/php.
13 lines
294 B
Makefile
13 lines
294 B
Makefile
# $Id$
|
|
|
|
phplibdir=$(libdir)/php
|
|
|
|
SRC=xml.c
|
|
INCLUDES=@INCLUDES@ @XML_INCLUDE@ -I@top_srcdir@ -I@top_srcdir@/libzend
|
|
noinst_LIBRARIES=libphpext_xml.a
|
|
phplib_LTLIBRARIES=libphpext_xml.la
|
|
libphpext_xml_a_SOURCES=$(SRC)
|
|
libphpext_xml_la_SOURCES=$(SRC)
|
|
libphpext_xml_la_LIBADD=@XML_LIBS@
|
|
EXTRA_LIBS=
|