# Copyright 2009 Virginia Polytechnic Institute and State University # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. include $(top_srcdir)/Makefile.common BUILT_SOURCES = $(srcdir)/libvtcross_wrap.cpp SWIG_SOURCES = libvtcross.i INCLUDES = -I$(top_srcdir)/src/include pkgpython_PYTHON = cross.py __init__.py pkgpyexec_LTLIBRARIES = _cross.la _cross_la_SOURCES = libvtcross_wrap.cpp $(SWIG_SOURCES) _cross_la_CPPFLAGS = $(SWIG_PYTHON_CPPFLAGS) -I$(top_srcdir)/src/libvtcross _cross_la_LDFLAGS = -module -avoid-version _cross_la_LIBADD = $(CROSS_LA) $(CROSS_SOCKETCOMM_LA) $(srcdir)/libvtcross_wrap.cpp : $(SWIG_SOURCES) $(SWIG) $(SWIG_PYTHON_OPT) $(INCLUDES) -o $@ $<