aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2017-04-14 15:22:25 -0400
committerRob Austein <sra@hactrn.net>2017-04-14 15:22:25 -0400
commitce8ba928172071dc89cc1fc0520f840211bbfa0d (patch)
treeae1279914e28ff889565b1fd36d803bd9ac0d66e /Makefile
parent81ae5e07be01c0aacc332eb82db2f0ff452ced3d (diff)
Python interface API will need to be cryptech.py11 for installation.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 4669c3b..954380e 100644
--- a/Makefile
+++ b/Makefile
@@ -138,10 +138,10 @@ ifndef OBJCOPY
OBJCOPY := objcopy
endif
-all: ${SONAME} p11util py11/attribute_map.py
+all: ${SONAME} p11util cryptech/py11/attribute_map.py
clean:
- rm -rf *.o ${SONAME}* p11util attributes.h py11/*.pyc
+ rm -rf *.o ${SONAME}* p11util attributes.h cryptech/*.pyc cryptech/py11/*.pyc
${MAKE} -C libtfm $@
${MAKE} -C libhal $@
@@ -159,8 +159,8 @@ ${LIBHAL_BLD}/libhal.a: .FORCE ${LIBTFM_BLD}/libtfm.a
attributes.h: attributes.yaml scripts/build-attributes Makefile
python scripts/build-attributes attributes.yaml attributes.h
-py11/attribute_map.py: attributes.yaml scripts/build-py11-attributes Makefile
- python scripts/build-py11-attributes attributes.yaml py11/attribute_map.py
+cryptech/py11/attribute_map.py: attributes.yaml scripts/build-py11-attributes Makefile
+ python scripts/build-py11-attributes attributes.yaml $@
pkcs11.o: pkcs11.c attributes.h ${LIBS}
${CC} ${CFLAGS} -c $<
@@ -190,7 +190,7 @@ tags: TAGS
TAGS: *.[ch]
etags $^
-# Basic testing, via the Python unittest library and our py11 interface code
+# Basic testing, via the Python unittest library and our cryptech.py11 interface code
test: all
python unit_tests.py