aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-07-11 10:44:20 -0400
committerJack Lloyd <[email protected]>2015-07-11 10:44:20 -0400
commitce7245ab98cd7cd336ff6273bf2a93743d263e06 (patch)
tree8b558c2d41dfae23371e46457afead8aed8dc558 /src
parentcaeb53721d1ed0efc386017a4482c104cc09946c (diff)
Remove dead code (Boost.Python makefile, unused configure.py functions)
Diffstat (limited to 'src')
-rw-r--r--src/build-data/makefile/python.in26
1 files changed, 0 insertions, 26 deletions
diff --git a/src/build-data/makefile/python.in b/src/build-data/makefile/python.in
deleted file mode 100644
index f6e49ee75..000000000
--- a/src/build-data/makefile/python.in
+++ /dev/null
@@ -1,26 +0,0 @@
-
-# Build commands for Python wrapper
-PYTHON_ROOT = /usr/lib/python%{python_version}/config
-PYTHON_INC = -I/usr/include/python%{python_version}
-PYTHON_SITE_PACKAGE_DIR = /usr/lib/python%{python_version}/site-packages/
-
-PYTHON_FLAGS = -I%{python_dir} -fPIC -ftemplate-depth-255 $(WARN_FLAGS) $(PYTHON_INC) $(CFLAGS)
-
-BOTAN_PYTHON_MODDIR = %{python_obj_dir}
-
-PYTHON_OBJS = %{python_objs}
-
-python: $(BOTAN_PYTHON_MODDIR)/_botan.so
-
-PYTHON_FLAGS = $(LANG_FLAGS) $(WARN_FLAGS) $(SO_OBJ_FLAGS) -Os -ftemplate-depth=255 $(PYTHON_INC) -Wno-error
-
-%{python_build_cmds}
-
-$(BOTAN_PYTHON_MODDIR)/_botan.so: $(PYTHON_OBJS)
- cp %{python_dir}/*.py $(BOTAN_PYTHON_MODDIR)
- $(CXX) -shared -Wl,-soname,$@ $(PYTHON_OBJS) -L. -L$(PYTHON_ROOT) $(LDFLAGS) -lbotan-$(BRANCH) -lboost_python-%{python_version} -o $@
-
-install_python:
- mkdir -p $(PYTHON_SITE_PACKAGE_DIR)/botan
- cp $(BOTAN_PYTHON_MODDIR)/_botan.so $(BOTAN_PYTHON_MODDIR)/*.py $(PYTHON_SITE_PACKAGE_DIR)/botan
- chmod -R u=rwX,go=rX $(PYTHON_SITE_PACKAGE_DIR)/botan