aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--openssl/Makefile1
-rw-r--r--pow/Makefile12
-rw-r--r--pow/POW-0.7/setup.py2
4 files changed, 15 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 9d571805..7ac8619c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
# $Id$
-SUBDIRS = openssl rcynic tests
+SUBDIRS = openssl rcynic tests pow
all install clean:
@for i in ${SUBDIRS}; do echo "Making $@ in $$i"; (cd $$i && make $@); done
diff --git a/openssl/Makefile b/openssl/Makefile
index 6789308a..78764be9 100644
--- a/openssl/Makefile
+++ b/openssl/Makefile
@@ -13,6 +13,7 @@ openssl-${VERSION}/Makefile: openssl-${VERSION}/config
openssl-${VERSION}/config: openssl-${VERSION}.tar.gz
gzcat openssl-${VERSION}.tar.gz | tar -xf -
+ ln -s . openssl-${VERSION}/lib
touch $@
install:
diff --git a/pow/Makefile b/pow/Makefile
new file mode 100644
index 00000000..47c9b4c2
--- /dev/null
+++ b/pow/Makefile
@@ -0,0 +1,12 @@
+# $Id$
+
+VERSION = 0.7
+
+all:
+ cd POW-${VERSION}; python setup.py build
+
+clean:
+ rm -rf POW-${VERSION}/build
+
+install:
+ @echo Not attempting to install modified POW, if you want that, do it yourself
diff --git a/pow/POW-0.7/setup.py b/pow/POW-0.7/setup.py
index 9ba4efc4..96e55b43 100644
--- a/pow/POW-0.7/setup.py
+++ b/pow/POW-0.7/setup.py
@@ -13,7 +13,7 @@ oidinfo.dumpobjs('lib/_objects.py')
print 'writing oid module'
oidinfo.dumpoids('lib/_oids.py')
-library_dirs = [ "../openssl/openssl-0.9.8e" ]
+library_dirs = [ "../../openssl/openssl-0.9.8e" ]
include_dirs = [ library_dirs[0] + "include" ]
libraries = [ "ssl", "crypto" ]
define_macros= [ ("NO_RC5_32_12_16", 1) ]