1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94
|
#############################################################
## ##
## Copyright (c) 2003-2011 by The University of Queensland ##
## Earth Systems Science Computational Centre (ESSCC) ##
## http://www.uq.edu.au/esscc ##
## ##
## Primary Business: Brisbane, Queensland, Australia ##
## Licensed under the Open Software License version 3.0 ##
## http://www.opensource.org/licenses/osl-3.0.php ##
## ##
#############################################################
##
include $(top_srcdir)/Config/Python.am
AM_CPPFLAGS += $(PYTHON_CPPFLAGS)
if VTK_ENABLED
HAVE_VTK_BOOLEAN=True
else
HAVE_VTK_BOOLEAN=False
endif
if POVRAY_ENABLED
HAVE_POVRAY_BOOLEAN=True
else
HAVE_POVRAY_BOOLEAN=False
endif
lsmutil_LTLIBRARIES = libFoundationPy.la FoundationPy.la
libFoundationPy_la_LDFLAGS = -shared
libFoundationPy_la_SOURCES = Vec3Py.cpp \
Vec3Py.h \
BoundingBoxPy.cpp \
BoundingBoxPy.h \
BoundingSpherePy.cpp \
BoundingSpherePy.h \
RngPy.cpp \
RngPy.h \
SetPy.cpp \
SetPy.h \
SetPy.hpp \
VectorPy.cpp \
VectorPy.h \
VectorPy.hpp \
QuaternionPy.cpp \
QuaternionPy.h
libFoundationPy_la_LIBADD = \
$(top_builddir)/Foundation/libFoundation.la \
$(top_builddir)/Python/BoostPythonUtil/libBoostPythonUtil.la \
$(BOOST_PYTHON_LIB)
FoundationPy_la_LDFLAGS = -module -shared -shrext $(PYTHON_DLL_EXT)
FoundationPy_la_SOURCES = ExportModuleUtil.cpp
FoundationPy_la_LIBADD = libFoundationPy.la
dist_lsmutil_PYTHON = \
__init__.py \
FileUtil.py \
OptParse.py \
PathSearcher.py \
Process.py
nodist_lsmutil_PYTHON = \
InstallInfo.py
CLEANFILES = InstallInfo.py
EXTRA_DIST=InstallInfo.tmpl
InstallInfo.py: InstallInfo.tmpl Makefile
$(PYTHON) -c 'import string,os;\
file("InstallInfo.py", "w").write(\
string.join(\
file(\
os.path.join("$(srcdir)", "InstallInfo.tmpl"),\
"r"\
).readlines(), "")\
%\
(\
"$(prefix)",\
"$(pythondir)",\
"$(PACKAGE_NAME)",\
"$(VERSION)",\
"$(PACKAGE_HOMEPAGE)",\
"$(pkgdatadir)",\
"$(POVRAY_EXE)",\
"$(HAVE_VTK_BOOLEAN)",\
"$(HAVE_POVRAY_BOOLEAN)"\
)\
)'
|