~ubuntu-branches/ubuntu/gutsy/lasso/gutsy

« back to all changes in this revision

Viewing changes to python/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2004-09-13 09:26:34 UTC
  • Revision ID: james.westby@ubuntu.com-20040913092634-01vdfl8j9cp94exa
Tags: upstream-0.4.1
ImportĀ upstreamĀ versionĀ 0.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
INCLUDES = -I$(top_srcdir)
 
2
 
 
3
pythondir= $(PY_SITE_PACKAGES)
 
4
python_DATA = lasso.py
 
5
python_LTLIBRARIES = _lasso.la
 
6
 
 
7
_lasso_la_SOURCES = lasso_wrap.c
 
8
_lasso_la_CFLAGS = $(LASSO_CFLAGS) -DSWIG_COBJECT_TYPES $(PY_CFLAGS)
 
9
_lasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS)
 
10
if DARWIN
 
11
_lasso_la_LDFLAGS = -no-undefined -module -avoid-version -Wl,-F. -Wl,-F. -bundle -framework Python 
 
12
else
 
13
if MINGW
 
14
_lasso_la_LDFLAGS = -no-undefined -module -avoid-version -Wl,--add-stdcall-alias
 
15
else
 
16
_lasso_la_LDFLAGS = -no-undefined -module -avoid-version
 
17
endif
 
18
endif
 
19
lasso_wrap.c lasso.py: $(top_srcdir)/swig/Lasso.i
 
20
        $(SWIG) -v -python -module lasso -o lasso_wrap.c $<
 
21
 
 
22
SWIG_OUTPUTS = lasso_wrap.c lasso.py
 
23
 
 
24
# In distribution, swig generated files are present.
 
25
EXTRA_DIST = $(SWIG_OUTPUTS)
 
26
 
 
27
# Maintainer clean the swig generated files, because he/she maintains them.
 
28
MAINTAINERCLEANFILES = $(SWIG_OUTPUTS)