diff options
author | thegeorg <thegeorg@yandex-team.com> | 2024-06-21 11:28:24 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2024-06-21 11:52:22 +0300 |
commit | 8fd47d685a4b91a0476ad64ee6d956078904b33f (patch) | |
tree | f677a61df45cc4e68814fcbda738c2dbdd6474ca /contrib/tools/bison/ya.make | |
parent | 424c5c935fddd2da90f5c6760011ae0e681f9d56 (diff) | |
download | ydb-8fd47d685a4b91a0476ad64ee6d956078904b33f.tar.gz |
Put contrib/tools/bison under yamaker
fc8958be3a17b5e88f21aad92b3ed2b1630d4ad8
Diffstat (limited to 'contrib/tools/bison/ya.make')
-rw-r--r-- | contrib/tools/bison/ya.make | 40 |
1 files changed, 23 insertions, 17 deletions
diff --git a/contrib/tools/bison/ya.make b/contrib/tools/bison/ya.make index a7b647cc94..6f8aa959ae 100644 --- a/contrib/tools/bison/ya.make +++ b/contrib/tools/bison/ya.make @@ -1,6 +1,6 @@ -PROGRAM() +# Generated by devtools/yamaker from nixpkgs 22.11. -VERSION(3.0) +PROGRAM(bison) LICENSE( GPL-3.0-only AND @@ -8,19 +8,31 @@ LICENSE( GPL-3.0-or-later WITH Bison-exception-2.2 ) -ORIGINAL_SOURCE(git://git.sv.gnu.org/bison) - LICENSE_TEXTS(.yandex_meta/licenses.list.txt) -IF (NOT MUSL) - NO_RUNTIME() -ENDIF() +VERSION(3.0) + +ORIGINAL_SOURCE(mirror://gnu/bison/bison-3.0.tar.gz) + +PEERDIR( + contrib/tools/bison/lib +) + +ADDINCL( + contrib/tools/bison + contrib/tools/bison/lib +) NO_COMPILER_WARNINGS() -ADDINCLSELF() +NO_RUNTIME() + +CFLAGS( + -DBISON_DATA_DIR=contrib/tools/bison/data +) SRCS( + arcadia_root.cpp.in src/AnnotationList.c src/InadequacyList.c src/LR0.c @@ -57,16 +69,10 @@ SRCS( src/symtab.c src/tables.c src/uniqstr.c - arcadia_root.cpp.in ) -CFLAGS( - -Daccept=bison_accept - -DBISON_DATA_DIR="contrib/tools/bison/data" -) +END() -PEERDIR( - contrib/tools/bison/lib +RECURSE( + lib ) - -END() |