aboutsummaryrefslogtreecommitdiff
path: root/pow/Makefile
blob: 96e37de3ffb07d6ece6bf8bc8d841839c88bc56c (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
# $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
	touch $@

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

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

test: all
	cp -p POW-${VERSION}/test/test.py POW-${VERSION}/build/lib.*/.
	cd POW-${VERSION}/build/lib.*/. && python test.py