~ubuntu-branches/ubuntu/hardy/lasso/hardy

« back to all changes in this revision

Viewing changes to php5/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2007-07-31 21:35:26 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070731213526-oc6jw5mprcd5tjyy
Tags: 2.0.0-1ubuntu1
* Merge from debian unstable. Remaining changes:
  + debian/control:
    - Modify Maintainer value to match DebianMaintainerField spec.
* debian/rules:
  + Add CC=gcc-4.2 to the configure call else configure won't find jni.h
    from libgcj8-dev.
* configure{,.ac}:
  + Add missing quotes around the value for PHP[45]_LIBS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
SWIG_OUTPUTS = lasso_wrap.c php_lasso.h lasso.php
 
2
 
 
3
php_extension_LTLIBRARIES = lasso.la
 
4
lasso_la_CFLAGS = $(LASSO_CORE_CFLAGS) -I$(top_srcdir) -I$(top_builddir) $(PHP5_INCLUDES)
 
5
lasso_la_LDFLAGS = -export-dynamic -prefer-pic -module -avoid-version
 
6
lasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) $(PHP5_LDFLAGS)
 
7
lasso_la_SOURCES = lasso_wrap.c
 
8
 
 
9
php_extensiondir = ${prefix}@PHP5_UNPREFIXED_EXTENSION_DIR@
 
10
 
 
11
SWIG_I_FILES=$(shell find $(top_srcdir)/swig/ -name '*.[ih]')
 
12
lasso_wrap.c php_lasso.h lasso.php: $(SWIG_I_FILES)
 
13
        $(SWIG) -v -php5 -module lasso -o lasso_wrap.c $(top_srcdir)/swig/Lasso.i
 
14
 
 
15
test-php: lasso.la lasso.php
 
16
        $(PHP5) -d extension_dir=.libs $(srcdir)/lasso.php
 
17
 
 
18
MAINTAINERCLEANFILES = $(SWIG_OUTPUTS)
 
19
EXTRA_DIST = $(SWIG_OUTPUTS)
 
20