diff options
author | Rob Austein <sra@hactrn.net> | 2016-06-27 20:32:41 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-06-27 20:32:41 -0400 |
commit | f13948ea98afb9cb1e8ea0f7a15554621c1fe08a (patch) | |
tree | 3926b6cc5b2f1247f202dc117c75b136503b7e00 /libhal/Makefile | |
parent | 3118c1384c46140269033ea63faa6ebca9a3af5a (diff) |
Apparently sw/pkcs11 somehow missed the great ${foo_LIB} => ${foo_SRC}, ${foo_BLD} Makefile cleanup.
Diffstat (limited to 'libhal/Makefile')
-rw-r--r-- | libhal/Makefile | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/libhal/Makefile b/libhal/Makefile index 82fc389..9274dd9 100644 --- a/libhal/Makefile +++ b/libhal/Makefile @@ -2,14 +2,12 @@ ifndef CRYPTECH_ROOT CRYPTECH_ROOT := $(abspath ../../..) endif -TFMDIR := $(abspath ../libtfm) +LIBHAL_SRC ?= ${CRYPTECH_ROOT}/sw/libhal +LIBTFM_BLD ?= $(abspath ../libtfm) -INC = ${CRYPTECH_ROOT}/sw/libhal/hal.h -LIB = ../libhal.a +CFLAGS += -I${LIBHAL_SRC} -CFLAGS += -I${CRYPTECH_ROOT}/sw/libhal +vpath %.c ${LIBHAL_SRC} +vpath %.h ${LIBHAL_SRC}:${LIBTFM_BLD} -vpath %.c ${CRYPTECH_ROOT}/sw/libhal -vpath %.h ${CRYPTECH_ROOT}/sw/libhal:${LIBTFM_DIR} - -include ${CRYPTECH_ROOT}/sw/libhal/Makefile +include ${LIBHAL_SRC}/Makefile |