aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-10-09 18:08:17 +0000
committerlloyd <[email protected]>2009-10-09 18:08:17 +0000
commita62f8baf340cdb977fdab8f29cfa71340c07c0e9 (patch)
treeaa4ede95258d38b2c05f46b9fbf1f6ca9573cad7
parent997e6c97b8ace857d00f9fd57f621ba9323c75df (diff)
Move boost.python example scripts to doc/python
-rwxr-xr-xdoc/python/nisttest.py (renamed from wrappers/boost-python/nisttest.py)0
-rw-r--r--doc/python/results.txt (renamed from wrappers/boost-python/results.txt)0
-rwxr-xr-xdoc/python/rng_test.py (renamed from wrappers/boost-python/rng_test.py)0
-rw-r--r--wrappers/boost-python/Makefile34
4 files changed, 0 insertions, 34 deletions
diff --git a/wrappers/boost-python/nisttest.py b/doc/python/nisttest.py
index 3ea8fda0f..3ea8fda0f 100755
--- a/wrappers/boost-python/nisttest.py
+++ b/doc/python/nisttest.py
diff --git a/wrappers/boost-python/results.txt b/doc/python/results.txt
index 7a3824001..7a3824001 100644
--- a/wrappers/boost-python/results.txt
+++ b/doc/python/results.txt
diff --git a/wrappers/boost-python/rng_test.py b/doc/python/rng_test.py
index 06c79b84e..06c79b84e 100755
--- a/wrappers/boost-python/rng_test.py
+++ b/doc/python/rng_test.py
diff --git a/wrappers/boost-python/Makefile b/wrappers/boost-python/Makefile
deleted file mode 100644
index 2d2c38e58..000000000
--- a/wrappers/boost-python/Makefile
+++ /dev/null
@@ -1,34 +0,0 @@
-CXX = g++
-LANG_FLAGS = -fPIC -Wall -Wno-unused -ftemplate-depth-255
-OPT_FLAGS = -g -Os
-
-PYTHON_ROOT = /usr/lib/python2.6/config
-PYTHON_INC = -I/usr/include/python2.6
-PYTHON_DEF = -DBOOST_PYTHON_DYNAMIC_LIB -DBOOST_PYTHON_SOURCE
-
-WRAPPER_CFLAGS = $(shell botan-config --cflags)
-SHARED_CFLAGS = $(LANG_FLAGS) $(OPT_FLAGS) $(PYTHON_INC)
-
-BOOST_CFLAGS = $(PYTHON_DEF) $(SHARED_CFLAGS)
-
-WRAP_OBJS = build/python/core.o build/python/filter.o build/python/pk.o build/python/x509.o
-
-all: botan/_botan.so
-
-build/python/core.o: src/wrap/python/core.cpp
- $(CXX) -Isrc/wrap/python $(SHARED_CFLAGS) $(WRAPPER_CFLAGS) -c $< -o $@
-
-build/python/filter.o: src/wrap/python/filter.cpp
- $(CXX) -Isrc/wrap/python $(SHARED_CFLAGS) $(WRAPPER_CFLAGS) -c $< -o $@
-
-build/python/pk.o: src/wrap/python/pk.cpp
- $(CXX) -Isrc/wrap/python $(SHARED_CFLAGS) $(WRAPPER_CFLAGS) -c $< -o $@
-
-build/python/x509.o: src/wrap/python/x509.cpp
- $(CXX) -Isrc/wrap/python $(SHARED_CFLAGS) $(WRAPPER_CFLAGS) -c $< -o $@
-
-botan/_botan.so: $(WRAP_OBJS)
- $(CXX) -shared -o $@ $(shell botan-config --libs) -L$(PYTHON_ROOT) $(WRAP_OBJS) -lboost_python -Wl,-rpath-link,. -Wl,-soname,$@
-
-clean:
- rm -f $(WRAP_OBJS) botan/_botan.so botan/*.pyc