From 291a2e0b6a37ffcc3325388c5fdad63d8f185130 Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Mon, 22 Jun 2015 20:18:27 -0400 Subject: Convert from Cryptlib to libhal. Compiles, not yet tested otherwise. --- GNUmakefile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'GNUmakefile') 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 $^ -- cgit v1.2.3