diff options
author | midipix <writeonce@midipix.org> | 2024-04-28 18:11:28 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-05-07 19:46:58 +0000 |
commit | e536db6d1fffb429033b7f0557bd3f123c2f0e86 (patch) | |
tree | 1d41767284265641cdf22fc43b5a5508c7a438e8 | |
parent | 1b64c0ca9f6438c5bb35f34a46344030b61b789a (diff) | |
download | treebnf-e536db6d1fffb429033b7f0557bd3f123c2f0e86.tar.bz2 treebnf-e536db6d1fffb429033b7f0557bd3f123c2f0e86.tar.xz |
project: created skeleton.
-rw-r--r-- | config.project | 73 | ||||
-rw-r--r-- | project/arch.mk | 0 | ||||
-rw-r--r-- | project/common.mk | 8 | ||||
-rw-r--r-- | project/depends.mk | 0 | ||||
-rw-r--r-- | project/extras.mk | 0 | ||||
-rw-r--r-- | project/headers.mk | 5 | ||||
-rw-r--r-- | project/osforce.mk | 0 | ||||
-rw-r--r-- | project/overrides.mk | 0 | ||||
-rw-r--r-- | project/tagver.mk | 5 | ||||
-rw-r--r-- | project/tree.mk | 5 | ||||
-rw-r--r-- | src/treebnf.c | 15 |
11 files changed, 111 insertions, 0 deletions
diff --git a/config.project b/config.project new file mode 100644 index 0000000..4799d69 --- /dev/null +++ b/config.project @@ -0,0 +1,73 @@ +# project +mb_package=treebnf +mb_require_out_of_tree=no +mb_require_source_dir=no +mb_custom_install_headers=no +mb_avoid_version=no + +# config +mb_all_static= +mb_all_shared= +mb_disable_frontend=no +mb_disable_static=no +mb_disable_shared=no + +# custom config step +mb_use_custom_cfgdefs=no +mb_use_custom_cfginit=no +mb_use_custom_cfgfini=no +mb_use_custom_cfgtest=no + +# advanced make options +mb_make= +mb_makefile= +mb_makemode= + +# pkgconfig +mb_pkgname='treebnf' +mb_pkgdesc='treebnf' +mb_pkgusrc= +mb_pkgrepo='https://git.foss21.org/tulips/treebnf' +mb_pkgpsrc= +mb_pkgdurl= +mb_pkgdefs= +mb_pkglibs= + +# ccenv +mb_ccenv_create_log= +mb_ccenv_skip_native= + +# compilation environment +mb_hosted= +mb_freestanding= + +# switches +mb_default_cflags_common="\$(_CFLAGS_std_c99) -D_XOPEN_SOURCE=700" +mb_default_cflags_common="$mb_default_cflags_common -I\$(SOURCE_DIR)/src/internal" +mb_default_cflags_common="$mb_default_cflags_common -I\$(SOURCE_DIR)/include" +mb_default_cflags_common="$mb_default_cflags_common -Ibuild" + +mb_default_cflags_debug= +mb_default_cflags_cmdline= +mb_default_cflags_config= +mb_default_cflags_sysroot= +mb_default_cflags_path= +mb_default_cflags_strict= +mb_default_cflags_util= +mb_default_cflags_last= +mb_default_cflags_once= + +mb_default_ldflags_common="-Llib" +mb_default_ldflags_debug= +mb_default_ldflags_cmdline= +mb_default_ldflags_config= +mb_default_ldflags_sysroot= +mb_default_ldflags_path= +mb_default_ldflags_strict= +mb_default_ldflags_util= +mb_default_ldflags_last= +mb_default_ldflags_once= + +# native +mb_default_native_cflags="\$(_NATIVE_CFLAGS_std_c99) -D_XOPEN_SOURCE=700" +mb_default_native_ldflags= diff --git a/project/arch.mk b/project/arch.mk new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/project/arch.mk diff --git a/project/common.mk b/project/common.mk new file mode 100644 index 0000000..0843a4c --- /dev/null +++ b/project/common.mk @@ -0,0 +1,8 @@ +API_SRCS = \ + +INTERNAL_SRCS = \ + +APP_SRCS = \ + src/treebnf.c + +COMMON_SRCS = $(API_SRCS) $(INTERNAL_SRCS) diff --git a/project/depends.mk b/project/depends.mk new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/project/depends.mk diff --git a/project/extras.mk b/project/extras.mk new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/project/extras.mk diff --git a/project/headers.mk b/project/headers.mk new file mode 100644 index 0000000..9d50ee3 --- /dev/null +++ b/project/headers.mk @@ -0,0 +1,5 @@ +API_HEADERS = \ + +INTERNAL_HEADERS = \ + +ALL_HEADERS = $(API_HEADERS) $(INTERNAL_HEADERS) diff --git a/project/osforce.mk b/project/osforce.mk new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/project/osforce.mk diff --git a/project/overrides.mk b/project/overrides.mk new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/project/overrides.mk diff --git a/project/tagver.mk b/project/tagver.mk new file mode 100644 index 0000000..12cae72 --- /dev/null +++ b/project/tagver.mk @@ -0,0 +1,5 @@ +VER_NAMESPACE = TBNF + +VER_MAJOR = 0 +VER_MINOR = 0 +VER_PATCH = 0 diff --git a/project/tree.mk b/project/tree.mk new file mode 100644 index 0000000..7d6d7e7 --- /dev/null +++ b/project/tree.mk @@ -0,0 +1,5 @@ +TREE_DIRS = src \ + +tree.tag: + mkdir -p $(TREE_DIRS) + touch tree.tag diff --git a/src/treebnf.c b/src/treebnf.c new file mode 100644 index 0000000..0b9862a --- /dev/null +++ b/src/treebnf.c @@ -0,0 +1,15 @@ +/**************************************************************/ +/* treebnf: a tree oriented bnf library */ +/* Copyright (C) 2024 SysDeer Technologies, LLC */ +/* Released under GPLv2 and GPLv3; see COPYING.TREEBNF. */ +/**************************************************************/ + +#define TBNF_UNUSED_PARAMETER(p) (void)p + +int main(int argc, char ** argv, char ** envp) +{ + TBNF_UNUSED_PARAMETER(argc); + TBNF_UNUSED_PARAMETER(argv); + TBNF_UNUSED_PARAMETER(envp); + return 0; +} |