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 | |
---|
15 | include $(top_srcdir)/Makefile.common |
---|
16 | |
---|
17 | BUILT_SOURCES = $(srcdir)/libvtcross_wrap.cpp |
---|
18 | SWIG_SOURCES = libvtcross.i |
---|
19 | |
---|
20 | INCLUDES = -I$(top_srcdir)/src/include |
---|
21 | |
---|
22 | pkgpython_PYTHON = cross.py __init__.py |
---|
23 | pkgpyexec_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 $@ $< |
---|