annotate Makefile.am @ 115:00d19f71c9ca

Initial implementation of py oct-file * py.cc: Initial implementation of py oct function. * ax_octave.m4: Find and export path to mkoctfile. * Makefile.am (.cc.oct): Custom rule to build py.oct. (all-am): Depend on py.oct. * .hgignore: Include py.oct in the ignore list.
author Mike Miller <mtmiller@octave.org>
date Sun, 20 Sep 2015 15:12:47 +0200
parents 6450086b1934
children 386772f4e12d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
4da14cce0890 First launchpad.net check in.
David Grundberg <c04dgg@cs.umu.se>
parents:
diff changeset
1 ACLOCAL_AMFLAGS = -I m4
4da14cce0890 First launchpad.net check in.
David Grundberg <c04dgg@cs.umu.se>
parents:
diff changeset
2 EXTRA_lib_LTLIBRARIES = _pytave.la
98
7ccdec6d2207 Change build to make distribution tarball.
David Grundberg <individ@acc.umu.se>
parents: 83
diff changeset
3 EXTRA_DIST = test/test.py test/exceptions.py project-root.jam \
0
4da14cce0890 First launchpad.net check in.
David Grundberg <c04dgg@cs.umu.se>
parents:
diff changeset
4 package/__init__.py package/pytave.py
4da14cce0890 First launchpad.net check in.
David Grundberg <c04dgg@cs.umu.se>
parents:
diff changeset
5 EXTRA_libdir = @PYTAVE_MODULE_INSTALL_PATH@
4da14cce0890 First launchpad.net check in.
David Grundberg <c04dgg@cs.umu.se>
parents:
diff changeset
6
83
8145ecfecfb9 Configuration changes. Detect numpy in ./configure.
David Grundberg <c04dgg@cs.umu.se>
parents: 29
diff changeset
7 _pytave_la_CPPFLAGS = @OCTAVE_CPPFLAGS@ @PYTHON_CPPFLAGS@ -I@NUMPY_INCLUDEDIR@
0
4da14cce0890 First launchpad.net check in.
David Grundberg <c04dgg@cs.umu.se>
parents:
diff changeset
8
4da14cce0890 First launchpad.net check in.
David Grundberg <c04dgg@cs.umu.se>
parents:
diff changeset
9 # Having -module in LDFLAGS lets us use a non-standard library name
4da14cce0890 First launchpad.net check in.
David Grundberg <c04dgg@cs.umu.se>
parents:
diff changeset
10 # (e.g. _pytave instead of libpytave)
104
6450086b1934 build: Fix values used for OCTAVE_CPPFLAGS and OCTAVE_LIBS
Mike Miller <mtmiller@octave.org>
parents: 98
diff changeset
11 _pytave_la_LDFLAGS = -module -L@OCTAVE_LIBRARYDIR@ @OCTAVE_LIBS@ \
6450086b1934 build: Fix values used for OCTAVE_CPPFLAGS and OCTAVE_LIBS
Mike Miller <mtmiller@octave.org>
parents: 98
diff changeset
12 -l@BOOST_PYTHON_LIB@ -R @PYTAVE_OCTAVE_RPATH@
0
4da14cce0890 First launchpad.net check in.
David Grundberg <c04dgg@cs.umu.se>
parents:
diff changeset
13
4da14cce0890 First launchpad.net check in.
David Grundberg <c04dgg@cs.umu.se>
parents:
diff changeset
14 _pytave_la_SOURCES = octave_to_python.cc pytave.cc python_to_octave.cc \
4da14cce0890 First launchpad.net check in.
David Grundberg <c04dgg@cs.umu.se>
parents:
diff changeset
15 arrayobjectdefs.h octave_to_python.h pytavedefs.h exceptions.h \
4da14cce0890 First launchpad.net check in.
David Grundberg <c04dgg@cs.umu.se>
parents:
diff changeset
16 exceptions.cc python_to_octave.h config.h
115
00d19f71c9ca Initial implementation of py oct-file
Mike Miller <mtmiller@octave.org>
parents: 104
diff changeset
17
00d19f71c9ca Initial implementation of py oct-file
Mike Miller <mtmiller@octave.org>
parents: 104
diff changeset
18 all-am: py.oct
00d19f71c9ca Initial implementation of py oct-file
Mike Miller <mtmiller@octave.org>
parents: 104
diff changeset
19
00d19f71c9ca Initial implementation of py oct-file
Mike Miller <mtmiller@octave.org>
parents: 104
diff changeset
20 .cc.oct:
00d19f71c9ca Initial implementation of py oct-file
Mike Miller <mtmiller@octave.org>
parents: 104
diff changeset
21 $(MKOCTFILE) $(DEFS) $(_pytave_la_CPPFLAGS) $< exceptions.cc octave_to_python.cc python_to_octave.cc -l$(BOOST_PYTHON_LIB) $(PYTHON_LIBS) -o $@
00d19f71c9ca Initial implementation of py oct-file
Mike Miller <mtmiller@octave.org>
parents: 104
diff changeset
22
00d19f71c9ca Initial implementation of py oct-file
Mike Miller <mtmiller@octave.org>
parents: 104
diff changeset
23 SUFFIXES = .oct