aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-06-22 20:18:27 -0400
committerRob Austein <sra@hactrn.net>2015-06-22 20:18:27 -0400
commit291a2e0b6a37ffcc3325388c5fdad63d8f185130 (patch)
tree831bceb929d07d3a826fb3012930e9c848769405 /GNUmakefile
parent67d2f799fb76197d78bbf8ab6d76557f09f30114 (diff)
Convert from Cryptlib to libhal. Compiles, not yet tested otherwise.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 9277e8f..e73c757 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -28,15 +28,11 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Change this to "../cryptlib/build" when this code moves to sw/pkcs11/.
-#
-#CRYPTLIB_DIR = ../cryptlib/build
-CRYPTLIB_DIR = ../../../sw/cryptlib/build
-
+LIBHAL_DIR = ../libhal
SQLITE3_DIR = ../sqlite3
-CFLAGS += -g -I${CRYPTLIB_DIR} -I${SQLITE3_DIR} -fPIC -DENABLE_CRYPTLIB_DEVICE=0 -Wall
-LIBS := ${CRYPTLIB_DIR}/libcl.a ${SQLITE3_DIR}/libsqlite3.a
+CFLAGS += -g3 -fPIC -Wall -std=c99 -I${LIBHAL_DIR} -I${SQLITE3_DIR}
+LIBS := ${LIBHAL_DIR}/libhal.a ${SQLITE3_DIR}/libsqlite3.a
all: libpkcs11.so
@@ -63,5 +59,5 @@ libpkcs11.so: pkcs11.so
tags: TAGS
-TAGS: *.[ch] ${CRYPTLIB_DIR}/cryptlib.h ${SQLITE3_DIR}/sqlite3.h
+TAGS: *.[ch]
etags $^