diff options
Diffstat (limited to 'libraries/libhal')
-rw-r--r-- | libraries/libhal/GNUmakefile | 14 | ||||
-rw-r--r-- | libraries/libhal/tests/GNUmakefile | 10 | ||||
-rw-r--r-- | libraries/libhal/utils/GNUmakefile | 10 |
3 files changed, 34 insertions, 0 deletions
diff --git a/libraries/libhal/GNUmakefile b/libraries/libhal/GNUmakefile new file mode 100644 index 0000000..03b1636 --- /dev/null +++ b/libraries/libhal/GNUmakefile @@ -0,0 +1,14 @@ +ifndef CRYPTECH_ROOT + CRYPTECH_ROOT := $(abspath ../../../..) +endif + +REPO := ${CRYPTECH_ROOT}/sw/libhal + +TFMDIR := $(abspath ../libtfm) + +CFLAGS += -I${REPO} + +vpath %.c ${REPO} +vpath %.h ${REPO}:${LIBTFM_DIR} + +include ${CRYPTECH_ROOT}/sw/libhal/GNUmakefile diff --git a/libraries/libhal/tests/GNUmakefile b/libraries/libhal/tests/GNUmakefile new file mode 100644 index 0000000..1d7449a --- /dev/null +++ b/libraries/libhal/tests/GNUmakefile @@ -0,0 +1,10 @@ +ifndef CRYPTECH_ROOT + CRYPTECH_ROOT := $(abspath ../../../../..) +endif + +TFMDIR := $(abspath ../../libtfm) + +vpath %.c ${CRYPTECH_ROOT}/sw/libhal/tests +vpath %.h ${CRYPTECH_ROOT}/sw/libhal/tests:${LIBTFM_DIR} + +include ${CRYPTECH_ROOT}/sw/libhal/tests/GNUmakefile diff --git a/libraries/libhal/utils/GNUmakefile b/libraries/libhal/utils/GNUmakefile new file mode 100644 index 0000000..9d38efd --- /dev/null +++ b/libraries/libhal/utils/GNUmakefile @@ -0,0 +1,10 @@ +ifndef CRYPTECH_ROOT + CRYPTECH_ROOT := $(abspath ../../../../..) +endif + +TFMDIR := $(abspath ../../libtfm) + +vpath %.c ${CRYPTECH_ROOT}/sw/libhal/utils +vpath %.h ${CRYPTECH_ROOT}/sw/libhal/utils:${LIBTFM_DIR} + +include ${CRYPTECH_ROOT}/sw/libhal/utils/GNUmakefile |