summaryrefslogtreecommitdiffstats
path: root/bindings/php5
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2008-04-29 12:03:17 +0000
committerFrederic Peters <fpeters@entrouvert.com>2008-04-29 12:03:17 +0000
commit44f6e18fe39608468e0338116d36ddc8776dce74 (patch)
tree28edd1e34282152ad66d9b9292e038a0d8b2723a /bindings/php5
parent236ff838e7cd77a611a57603d0ba5b2c9c0fba3c (diff)
downloadlasso-44f6e18fe39608468e0338116d36ddc8776dce74.tar.gz
lasso-44f6e18fe39608468e0338116d36ddc8776dce74.tar.xz
lasso-44f6e18fe39608468e0338116d36ddc8776dce74.zip
[project @ fpeters@0d.be-20071028140359-qhawdgrwjhk97y32]
added Makefile.am files; to integrate within lasso build tree (under a bindings/ directory), this also requires to add those three lines to configure.ac AC_OUTPUT: bindings/Makefile bindings/python/Makefile bindings/php5/Makefile also changed generation script to output files in the current directory Original author: Frederic Peters <fpeters@0d.be> Date: 2007-10-28 15:03:59.480000+01:00
Diffstat (limited to 'bindings/php5')
-rw-r--r--bindings/php5/Makefile.am17
1 files changed, 17 insertions, 0 deletions
diff --git a/bindings/php5/Makefile.am b/bindings/php5/Makefile.am
new file mode 100644
index 00000000..16de1232
--- /dev/null
+++ b/bindings/php5/Makefile.am
@@ -0,0 +1,17 @@
+if PHP5_ENABLED
+INCLUDES = -I$(top_srcdir) \
+ -I$(top_builddir) \
+ $(SASL_CFLAGS)
+
+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)
+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.c:
+ $(PYTHON) $(top_srcdir)/bindings/bindings.py -l php5 --src-dir=$(top_srcdir)/lasso/
+
+endif