root/vtcross/trunk/src/libvtcross/swig/Makefile.am @ 439

Revision 439, 1.2 KB (checked in by bhilburn, 15 years ago)

Fixed local includes. In order for autofoo installs to work, the
install breaks.

Line 
1# Copyright 2009 Virginia Polytechnic Institute and State University 
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15include $(top_srcdir)/Makefile.common
16
17BUILT_SOURCES = $(srcdir)/libvtcross_wrap.cpp
18SWIG_SOURCES = libvtcross.i
19
20INCLUDES = -I$(top_srcdir)/src/include
21
22pkgpython_PYTHON = cross.py __init__.py
23pkgpyexec_LTLIBRARIES = _cross.la
24
25_cross_la_SOURCES = libvtcross_wrap.cpp $(SWIG_SOURCES)
26_cross_la_CPPFLAGS = $(SWIG_PYTHON_CPPFLAGS) -I$(top_srcdir)/src/libvtcross
27_cross_la_LDFLAGS = -module -avoid-version
28_cross_la_LIBADD = $(CROSS_LA) $(CROSS_SOCKETCOMM_LA)
29
30$(srcdir)/libvtcross_wrap.cpp : $(SWIG_SOURCES)
31        $(SWIG) $(SWIG_PYTHON_OPT) $(INCLUDES) -o $@ $<
Note: See TracBrowser for help on using the browser.