aboutsummaryrefslogtreecommitdiff
path: root/pow/Makefile
blob: 6b58d9dab4da5ed8ddde3ed84217eb01b1b5ba2c (plain) (blame)
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
# $Id$

VERSION = 0.7
STAMP	= POW-${VERSION}/build/.timestamp

SOURCES = POW-${VERSION}/lib/__init__.py	\
	  POW-${VERSION}/lib/_der.py		\
	  POW-${VERSION}/lib/_simpledb.py	\
	  POW-${VERSION}/lib/pkix.py		\
	  POW-${VERSION}/setup.py		\
	  POW-${VERSION}/cfgparse.py		\
	  POW-${VERSION}/dumpasn1.cfg		\
	  POW-${VERSION}/POW.c

all: ${STAMP}

${STAMP}: ${SOURCES}
	cd POW-${VERSION}; python setup.py build
	ln -sf POW-${VERSION}/build/lib.* buildlib
	touch $@

clean:
	rm -rf POW-${VERSION}/build buildlib

install:
	@echo Not attempting to install modified POW, if you want that, do it yourself

# Doesn't really work at the moment
#
#test: all
#	cp -p POW-${VERSION}/test/test.py POW-${VERSION}/build/lib.*/.
#	cd POW-${VERSION}/build/lib.*/. && python test.py

test:
	@true