annotate Makefile.am @ 148:ed2438a2d77a

* Makefile.am (check-local): New target to run test scripts.
author Mike Miller <mtmiller@octave.org>
date Tue, 05 Apr 2016 09:03:34 -0700
parents 8b9b31acf632
children 6d9b4f69da66
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
137
e803c9927dd9 build: Drop unused alternate build systems
Mike Miller <mtmiller@octave.org>
parents: 136
diff changeset
3 EXTRA_DIST = test/test.py test/exceptions.py \
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 \
132
386772f4e12d Clean up includes thanks to Octave header changes
Mike Miller <mtmiller@octave.org>
parents: 115
diff changeset
15 arrayobjectdefs.h octave_to_python.h exceptions.h \
0
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
138
8b9b31acf632 build: Apply silent rules to mkoctfile
Mike Miller <mtmiller@octave.org>
parents: 137
diff changeset
18 AM_V_MKOCTFILE = $(am__v_MKOCTFILE_$(V))
8b9b31acf632 build: Apply silent rules to mkoctfile
Mike Miller <mtmiller@octave.org>
parents: 137
diff changeset
19 am__v_MKOCTFILE_ = $(am__v_MKOCTFILE_$(AM_DEFAULT_VERBOSITY))
8b9b31acf632 build: Apply silent rules to mkoctfile
Mike Miller <mtmiller@octave.org>
parents: 137
diff changeset
20 am__v_MKOCTFILE_0 = @echo " MKOCTFIL" $@;
8b9b31acf632 build: Apply silent rules to mkoctfile
Mike Miller <mtmiller@octave.org>
parents: 137
diff changeset
21 am__v_MKOCTFILE_1 =
8b9b31acf632 build: Apply silent rules to mkoctfile
Mike Miller <mtmiller@octave.org>
parents: 137
diff changeset
22
115
00d19f71c9ca Initial implementation of py oct-file
Mike Miller <mtmiller@octave.org>
parents: 104
diff changeset
23 all-am: py.oct
00d19f71c9ca Initial implementation of py oct-file
Mike Miller <mtmiller@octave.org>
parents: 104
diff changeset
24
136
e247e53ef774 build: Correctly include and depend on local header files
Mike Miller <mtmiller@octave.org>
parents: 133
diff changeset
25 %.oct: %.cc arrayobjectdefs.h config.h exceptions.h octave_to_python.h python_to_octave.h
138
8b9b31acf632 build: Apply silent rules to mkoctfile
Mike Miller <mtmiller@octave.org>
parents: 137
diff changeset
26 $(AM_V_MKOCTFILE)$(MKOCTFILE) $(DEFS) $(DEFAULT_INCLUDES) $(_pytave_la_CPPFLAGS) $< exceptions.cc octave_to_python.cc python_to_octave.cc -l$(BOOST_PYTHON_LIB) $(PYTHON_LIBS) -o $@
115
00d19f71c9ca Initial implementation of py oct-file
Mike Miller <mtmiller@octave.org>
parents: 104
diff changeset
27
133
058a964ae1de build: Delete oct-files on clean
Mike Miller <mtmiller@octave.org>
parents: 132
diff changeset
28 CLEANFILES = *.oct
058a964ae1de build: Delete oct-files on clean
Mike Miller <mtmiller@octave.org>
parents: 132
diff changeset
29
115
00d19f71c9ca Initial implementation of py oct-file
Mike Miller <mtmiller@octave.org>
parents: 104
diff changeset
30 SUFFIXES = .oct
148
ed2438a2d77a * Makefile.am (check-local): New target to run test scripts.
Mike Miller <mtmiller@octave.org>
parents: 138
diff changeset
31
ed2438a2d77a * Makefile.am (check-local): New target to run test scripts.
Mike Miller <mtmiller@octave.org>
parents: 138
diff changeset
32 check-local:
ed2438a2d77a * Makefile.am (check-local): New target to run test scripts.
Mike Miller <mtmiller@octave.org>
parents: 138
diff changeset
33 PYTHONPATH="$$(pwd)/package:$$(pwd)/.libs" $(PYTHON) test/exceptions.py
ed2438a2d77a * Makefile.am (check-local): New target to run test scripts.
Mike Miller <mtmiller@octave.org>
parents: 138
diff changeset
34 PYTHONPATH="$$(pwd)/package:$$(pwd)/.libs" $(PYTHON) test/test.py