diff options
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 12 |
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 $^ |