view Makefile.am @ 137:e803c9927dd9

build: Drop unused alternate build systems * configure.ac: Drop substitutions for Jamfile, project-root.jam, and setup.py. * Makefile.am (EXTRA_DIST): Remove project-root.jam from the list. * .hgignore: Remove Jamfile, project-root.jam, and setup.py. * Jamfile.in, project-root.jam.in, setup.py.in: Delete.
author Mike Miller <mtmiller@octave.org>
date Mon, 04 Apr 2016 15:59:32 -0700
parents e247e53ef774
children 8b9b31acf632
line wrap: on
line source

ACLOCAL_AMFLAGS = -I m4
EXTRA_lib_LTLIBRARIES = _pytave.la
EXTRA_DIST = test/test.py test/exceptions.py \
package/__init__.py package/pytave.py
EXTRA_libdir = @PYTAVE_MODULE_INSTALL_PATH@

_pytave_la_CPPFLAGS = @OCTAVE_CPPFLAGS@ @PYTHON_CPPFLAGS@ -I@NUMPY_INCLUDEDIR@

# Having -module in LDFLAGS lets us use a non-standard library name 
# (e.g. _pytave instead of libpytave)
_pytave_la_LDFLAGS = -module -L@OCTAVE_LIBRARYDIR@ @OCTAVE_LIBS@  \
-l@BOOST_PYTHON_LIB@ -R @PYTAVE_OCTAVE_RPATH@

_pytave_la_SOURCES = octave_to_python.cc pytave.cc python_to_octave.cc \
arrayobjectdefs.h octave_to_python.h exceptions.h   \
exceptions.cc python_to_octave.h config.h

all-am: py.oct

%.oct: %.cc arrayobjectdefs.h config.h exceptions.h octave_to_python.h python_to_octave.h
	$(MKOCTFILE) $(DEFS) $(DEFAULT_INCLUDES) $(_pytave_la_CPPFLAGS) $< exceptions.cc octave_to_python.cc python_to_octave.cc -l$(BOOST_PYTHON_LIB) $(PYTHON_LIBS) -o $@

CLEANFILES = *.oct

SUFFIXES = .oct