diff options
Diffstat (limited to 'project')
-rw-r--r-- | project/common.mk | 9 | ||||
-rw-r--r-- | project/extras.mk | 8 | ||||
-rw-r--r-- | project/headers.mk | 8 | ||||
-rw-r--r-- | project/tree.mk | 6 |
4 files changed, 30 insertions, 1 deletions
diff --git a/project/common.mk b/project/common.mk index 0843a4c..7a77195 100644 --- a/project/common.mk +++ b/project/common.mk @@ -1,6 +1,15 @@ API_SRCS = \ + src/driver/tbnf_amain.c \ + src/driver/tbnf_driver_ctx.c \ + src/driver/tbnf_map_input.c \ + src/driver/tbnf_unit_ctx.c \ + src/output/tbnf_output_error.c \ + src/skin/tbnf_skin_default.c \ INTERNAL_SRCS = \ + src/internal/$(PACKAGE)_dprintf_impl.c \ + src/internal/$(PACKAGE)_errinfo_impl.c \ + src/internal/$(PACKAGE)_tmpfile_impl.c \ APP_SRCS = \ src/treebnf.c diff --git a/project/extras.mk b/project/extras.mk index e69de29..64725b0 100644 --- a/project/extras.mk +++ b/project/extras.mk @@ -0,0 +1,8 @@ +CFLAGS_SHARED_ATTR += -DTBNF_PRE_ALPHA -DTBNF_EXPORT +CFLAGS_STATIC_ATTR += -DTBNF_PRE_ALPHA -DTBNF_STATIC +CFLAGS_APP_ATTR += -DTBNF_APP + +CFLAGS_CONFIG += $(CFLAGS_ATTR_VISIBILITY_HIDDEN) + +src/driver/tbnf_driver_ctx.o: version.tag +src/driver/tbnf_driver_ctx.lo: version.tag diff --git a/project/headers.mk b/project/headers.mk index 9d50ee3..c5ae8b6 100644 --- a/project/headers.mk +++ b/project/headers.mk @@ -1,5 +1,13 @@ API_HEADERS = \ + $(SOURCE_DIR)/include/$(PACKAGE)/treebnf.h \ + $(SOURCE_DIR)/include/$(PACKAGE)/treebnf_api.h \ INTERNAL_HEADERS = \ + $(SOURCE_DIR)/src/internal/argv/argv.h \ + $(SOURCE_DIR)/src/internal/$(PACKAGE)_dprintf_impl.h \ + $(SOURCE_DIR)/src/internal/$(PACKAGE)_driver_impl.h \ + $(SOURCE_DIR)/src/internal/$(PACKAGE)_errinfo_impl.h \ + $(SOURCE_DIR)/src/internal/$(PACKAGE)_tmpfile_impl.h \ + $(SOURCE_DIR)/src/internal/$(PACKAGE)_visibility_impl.h \ ALL_HEADERS = $(API_HEADERS) $(INTERNAL_HEADERS) diff --git a/project/tree.mk b/project/tree.mk index 7d6d7e7..f3ae848 100644 --- a/project/tree.mk +++ b/project/tree.mk @@ -1,4 +1,8 @@ -TREE_DIRS = src \ +TREE_DIRS = src \ + src/driver \ + src/output \ + src/skin \ + src/internal \ tree.tag: mkdir -p $(TREE_DIRS) |