diff options
author | Frederic Peters <fpeters@entrouvert.com> | 2008-04-29 12:06:00 +0000 |
---|---|---|
committer | Frederic Peters <fpeters@entrouvert.com> | 2008-04-29 12:06:00 +0000 |
commit | 21f30edd6477e9d9ec0b4f5bba5010204d6c99e6 (patch) | |
tree | 0b1422f6a5c597b18f04fa636f0220b3a975da6f /bindings/php5 | |
parent | 5511b8b29d461e53008fd4f1b1ae548ff8d425cb (diff) | |
download | lasso-21f30edd6477e9d9ec0b4f5bba5010204d6c99e6.tar.gz lasso-21f30edd6477e9d9ec0b4f5bba5010204d6c99e6.tar.xz lasso-21f30edd6477e9d9ec0b4f5bba5010204d6c99e6.zip |
[project @ fpeters@0d.be-20071120151830-wdnobbexiv300ibb]
fixed some make distcheck issues (still remaining is access to test data when
srcdir != builddir)
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-11-20 16:18:30.814000+01:00
Diffstat (limited to 'bindings/php5')
-rw-r--r-- | bindings/php5/Makefile.am | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/bindings/php5/Makefile.am b/bindings/php5/Makefile.am index 0313a5d5..f82b0825 100644 --- a/bindings/php5/Makefile.am +++ b/bindings/php5/Makefile.am @@ -6,10 +6,14 @@ INCLUDES = -I$(top_srcdir) \ php_extension_LTLIBRARIES = lasso.la php_extensiondir = ${prefix}@PHP5_UNPREFIXED_EXTENSION_DIR@ -lasso_la_CFLAGS = $(LASSO_CORE_CFLAGS) -I$(top_srcdir) -I$(top_builddir) $(PHP4_INCLUDES) +nodist_php_extension_DATA = lasso.php + +lasso_la_CFLAGS = $(LASSO_CORE_CFLAGS) -I$(top_srcdir) -I$(top_builddir) $(PHP5_INCLUDES) lasso_la_LDFLAGS = -export-dynamic -prefer-pic -module -avoid-version -lasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) $(PHP4_LDFLAGS) -lasso_la_SOURCES = _lasso.c +lasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) $(PHP5_LDFLAGS) +nodist_lasso_la_SOURCES = _lasso.c + +BUILT_SOURCES = _lasso.c _lasso.c: $(PYTHON) $(top_srcdir)/bindings/bindings.py -l php5 --src-dir=$(top_srcdir)/lasso/ @@ -17,4 +21,6 @@ _lasso.c: doc: phpdoc -o HTML:frames:earthli -f lasso.php -t docs +.PHONY: doc + endif |