From da20d860b28d7b3c1085964b784f58772c7ba263 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 20 May 2018 21:59:12 +0000 Subject: driver & output: error info vector, error strings: initial implementation. --- project/common.mk | 6 ++++++ project/headers.mk | 2 ++ project/tree.mk | 1 + 3 files changed, 9 insertions(+) (limited to 'project') diff --git a/project/common.mk b/project/common.mk index c1491b3..1be73a6 100644 --- a/project/common.mk +++ b/project/common.mk @@ -5,9 +5,14 @@ DRIVER_SRCS = \ INTERNAL_SRCS = \ src/internal/nolibc/ntux_compiler.c \ + src/internal/ntux_errinfo_impl.c \ src/internal/ntux_memfn_impl.c \ src/internal/ntux_nolibc_impl.c \ src/internal/ntux_ntaio_impl.c \ + src/internal/ntux_strerr_impl.c \ + +OUTPUT_SRCS = \ + src/output/ntux_output_error.c \ APP_SRCS = \ src/ntux.c @@ -15,3 +20,4 @@ APP_SRCS = \ COMMON_SRCS = \ $(DRIVER_SRCS) \ $(INTERNAL_SRCS) \ + $(OUTPUT_SRCS) \ diff --git a/project/headers.mk b/project/headers.mk index c47901c..05d9d25 100644 --- a/project/headers.mk +++ b/project/headers.mk @@ -5,8 +5,10 @@ API_HEADERS = \ INTERNAL_HEADERS = \ $(SOURCE_DIR)/src/internal/argv/argv.h \ $(SOURCE_DIR)/src/internal/$(PACKAGE)_driver_impl.h \ + $(SOURCE_DIR)/src/internal/$(PACKAGE)_errinfo_impl.h \ $(SOURCE_DIR)/src/internal/$(PACKAGE)_init_impl.h \ $(SOURCE_DIR)/src/internal/$(PACKAGE)_memfn_impl.h \ $(SOURCE_DIR)/src/internal/$(PACKAGE)_nolibc_impl.h \ + $(SOURCE_DIR)/src/internal/$(PACKAGE)_strerr_impl.h \ ALL_HEADERS = $(API_HEADERS) $(INTERNAL_HEADERS) diff --git a/project/tree.mk b/project/tree.mk index 2a78989..9f0d99e 100644 --- a/project/tree.mk +++ b/project/tree.mk @@ -5,5 +5,6 @@ tree.tag: mkdir -p src/internal mkdir -p src/internal/nolibc mkdir -p src/logic + mkdir -p src/output mkdir -p src/skin touch tree.tag -- cgit v1.2.3