diff options
Diffstat (limited to 'project')
-rw-r--r-- | project/common.mk | 8 | ||||
-rw-r--r-- | project/extras.mk | 6 | ||||
-rw-r--r-- | project/headers.mk | 6 | ||||
-rw-r--r-- | project/tagver.mk | 2 | ||||
-rw-r--r-- | project/tree.mk | 6 |
5 files changed, 26 insertions, 2 deletions
diff --git a/project/common.mk b/project/common.mk index 4b72987..204f473 100644 --- a/project/common.mk +++ b/project/common.mk @@ -1,7 +1,15 @@ API_SRCS = \ + src/driver/tpax_amain.c \ + src/driver/tpax_driver_ctx.c \ + src/driver/tpax_unit_ctx.c \ + src/output/tpax_output_error.c \ + src/skin/tpax_skin_default.c \ INTERNAL_SRCS = \ + src/internal/$(PACKAGE)_dprintf_impl.c \ + src/internal/$(PACKAGE)_errinfo_impl.c \ APP_SRCS = \ + src/tpax.c COMMON_SRCS = $(API_SRCS) $(INTERNAL_SRCS) diff --git a/project/extras.mk b/project/extras.mk index e69de29..f07c781 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -0,0 +1,6 @@ +CFLAGS_SHARED_ATTR += -DTPAX_PRE_ALPHA -DTPAX_EXPORT +CFLAGS_STATIC_ATTR += -DTPAX_PRE_ALPHA -DTPAX_STATIC +CFLAGS_APP_ATTR += -DTPAX_APP + +src/driver/tpax_driver_ctx.o: version.tag +src/driver/tpax_driver_ctx.lo: version.tag diff --git a/project/headers.mk b/project/headers.mk index e7c0af7..2427d74 100644 --- a/project/headers.mk +++ b/project/headers.mk @@ -1,6 +1,12 @@ API_HEADERS = \ + $(SOURCE_DIR)/include/$(PACKAGE)/tpax.h \ + $(SOURCE_DIR)/include/$(PACKAGE)/tpax_api.h \ INTERNAL_HEADERS = \ $(SOURCE_DIR)/src/internal/argv/argv.h \ + $(SOURCE_DIR)/src/internal/tpax_dprintf_impl.h \ + $(SOURCE_DIR)/src/internal/tpax_driver_impl.h \ + $(SOURCE_DIR)/src/internal/tpax_errinfo_impl.h \ + $(SOURCE_DIR)/src/internal/tpax_readlink_impl.h \ ALL_HEADERS = $(API_HEADERS) $(INTERNAL_HEADERS) diff --git a/project/tagver.mk b/project/tagver.mk index 6a5d8d6..fdc4cec 100644 --- a/project/tagver.mk +++ b/project/tagver.mk @@ -1,4 +1,4 @@ -VER_NAMESPACE = +VER_NAMESPACE = TPAX VER_MAJOR = 0 VER_MINOR = 0 diff --git a/project/tree.mk b/project/tree.mk index ed9e1f8..e78a86d 100644 --- a/project/tree.mk +++ b/project/tree.mk @@ -1,4 +1,8 @@ -TREE_DIRS = bin src lib +TREE_DIRS = bin lib src \ + src/driver \ + src/internal \ + src/output \ + src/skin \ tree.tag: mkdir -p $(TREE_DIRS) |