diff options
author | Rob Austein <sra@hactrn.net> | 2016-06-25 00:22:11 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-06-25 00:22:11 -0400 |
commit | aa90cb43b370ee219e1e14ad774b662a53178727 (patch) | |
tree | 7f2452ccf228ff39e14d612613ec8fbd22fe11e2 /libraries/libhal | |
parent | 41d765504350626b9c886c0e92f768184b457a54 (diff) |
Finish unwinding subrepository hairball: VPATH setup.
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 |