View | Details | Raw Unified | Return to bug 664 | Differences between
and this patch

Collapse All | Expand All

(-)b/libunbound/python/Makefile (-6 / +2 lines)
 Lines 48-64   help: Link Here 
48
#../../.libs/libunbound.so.0:	../../Makefile
48
#../../.libs/libunbound.so.0:	../../Makefile
49
	#$(MAKE) -C ../..
49
	#$(MAKE) -C ../..
50
50
51
#../../ldns-src/lib/libldns.so:	../../ldns-src/Makefile
52
	#$(MAKE) -C ../../ldns-src
53
54
clean:
51
clean:
55
	rm -rdf examples/unbound
52
	rm -rdf examples/unbound
56
	rm -f _unbound.so libunbound_wrap.o
53
	rm -f _unbound.so libunbound_wrap.o
57
	$(MAKE) -C ../.. clean
54
	$(MAKE) -C ../.. clean
58
55
59
testenv: ../../.libs/libunbound.so.2 ../../ldns-src/lib/libldns.so ../../.libs/_unbound.so
56
testenv: ../../.libs/libunbound.so.2 ../../.libs/_unbound.so
60
	rm -rdf examples/unbound
57
	rm -rdf examples/unbound
61
	cd examples && mkdir unbound && ln -s ../../unbound.py unbound/__init__.py && ln -s ../../_unbound.so unbound/_unbound.so && ln -s ../../../../.libs/libunbound.so.2 unbound/libunbound.so.2 && ln -s ../../../../ldns-src/lib/libldns.so.1 unbound/libldns.so.1 && ls -la
58
	cd examples && mkdir unbound && ln -s ../../unbound.py unbound/__init__.py && ln -s ../../_unbound.so unbound/_unbound.so && ln -s ../../../../.libs/libunbound.so.2 unbound/libunbound.so.2 && ls -la
62
	cd examples && if test -f ../../../.libs/_unbound.so; then cp ../../../.libs/_unbound.so . ; fi
59
	cd examples && if test -f ../../../.libs/_unbound.so; then cp ../../../.libs/_unbound.so . ; fi
63
	@echo "Run a script by typing ./script_name.py"
60
	@echo "Run a script by typing ./script_name.py"
64
	cd examples && LD_LIBRARY_PATH=unbound bash
61
	cd examples && LD_LIBRARY_PATH=unbound bash
65
- 

Return to bug 664