Yzena
/
Yc
2
1
Fork 0
C Utils for Yzena https://docs.yzena.com/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

643 lines
19 KiB

/**
* ***** BEGIN LICENSE BLOCK *****
*
* Copyright 2017-2022 Yzena Tech
*
* Licensed under the Yzena Viral User License, Version 0.1 (the "Yzena Viral
* User License" or "YVUL"), the GNU Affero General Public License (the "GNU
* AGPL"), Version 3.0, and the Server Side Public License (the "SSPL"),
* Version 1. You may not use this file except in compliance with all of those
* licenses.
*
* You may obtain a copy of the Yzena Viral User License at
*
* https://yzena.com/yzena-viral-user-license/
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the Yzena Viral User License is distributed under the
* following disclaimer:
*
* As far as the law allows, this software comes as is, without any
* warranty or condition, and no contributor will be liable to anyone for
* any damages related to this software or this license, under any kind of
* legal claim.
*
* You may obtain a copy of the GNU Affero General Public License at
*
* https://www.gnu.org/licenses/agpl-3.0.html
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the GNU Affero General Public License is distributed under
* the following disclaimer:
*
* This software is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
* General Public License for more details.
*
* You may obtain a copy of the Server Side Public License at
*
* https://www.mongodb.com/licensing/server-side-public-license
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the Server Side Public License is distributed under the
* following disclaimer:
*
* This software is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the Server
* Side Public License for more details.
*
* ****** END LICENSE BLOCK ******
*
* *****************************************************************
*
* ******* BEGIN FILE DESCRIPTION *******
*
* Main build script file.
*
* ******** END FILE DESCRIPTION ********
*/
target #all: "libyc.a", "src/main.o", "src/rig/main.o", "src/rig/rig.o",
"src/rig/db.o", "src/rig/target.o", "src/rig/build.o"
{
$ clang -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_DARWIN_C_SOURCE
-Iinclude/ -o rig src/main.o src/rig/main.o src/rig/rig.o src/rig/db.o
src/rig/target.o src/rig/build.o libyc.a -lpthread;
$ ln -sf ./rig rigc;
}
target #clean
{
$ rm -rf include/ src/ ./libyc.a ./rig ./rigc;
}
target "src/rmain.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/main.o src/main.c;
}
target "src/rig/main.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/rig/main.o src/rig/main.c;
}
target "src/rig/rig.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/rig/rig.o src/rig/rig.c;
}
target "src/rig/db.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/rig/db.o src/rig/db.c;
}
target "src/rig/target.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/rig/target.o src/rig/target.c;
}
target "src/rig/build.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/rig/build.o src/rig/build.c;
}
semaphore :=
if platform.os == "Mac OSX"
{
target "src/concurrency/os/posix/semaphore_darwin.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/concurrency/os/posix/semaphore_darwin.o
src/concurrency/os/posix/semaphore_darwin.c;
}
"src/concurrency/os/posix/semaphore_darwin.o";
}
else
{
target "src/concurrency/os/posix/semaphore.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/concurrency/os/posix/semaphore.o
src/concurrency/os/posix/semaphore.c;
}
"src/concurrency/os/posix/semaphore.o";
};
// When regenerating the list of files, delete everything past this line.
target "src/arith.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/arith.o src/arith.c;
}
target "src/assert.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/assert.o src/assert.c;
}
target "src/concurrency/atomics.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/concurrency/atomics.o src/concurrency/atomics.c;
}
target "src/concurrency/condvar.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/concurrency/condvar.o src/concurrency/condvar.c;
}
target "src/concurrency/mutex.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/concurrency/mutex.o src/concurrency/mutex.c;
}
target "src/concurrency/os/posix/atomics.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/concurrency/os/posix/atomics.o src/concurrency/os/posix/atomics.c;
}
target "src/concurrency/os/posix/condvar.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/concurrency/os/posix/condvar.o src/concurrency/os/posix/condvar.c;
}
target "src/concurrency/os/posix/mutex.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/concurrency/os/posix/mutex.o src/concurrency/os/posix/mutex.c;
}
target "src/concurrency/os/posix/rwlock.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/concurrency/os/posix/rwlock.o src/concurrency/os/posix/rwlock.c;
}
target "src/concurrency/os/posix/strucon.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/concurrency/os/posix/strucon.o src/concurrency/os/posix/strucon.c;
}
target "src/concurrency/os/posix/threadset.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/concurrency/os/posix/threadset.o src/concurrency/os/posix/threadset.c;
}
target "src/concurrency/rwlock.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/concurrency/rwlock.o src/concurrency/rwlock.c;
}
target "src/concurrency/semaphore.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/concurrency/semaphore.o src/concurrency/semaphore.c;
}
target "src/concurrency/strucon.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/concurrency/strucon.o src/concurrency/strucon.c;
}
target "src/concurrency/threadset.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/concurrency/threadset.o src/concurrency/threadset.c;
}
target "src/container/imap.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/container/imap.o src/container/imap.c;
}
target "src/container/list.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/container/list.o src/container/list.c;
}
target "src/container/map.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/container/map.o src/container/map.c;
}
target "src/container/nvector.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/container/nvector.o src/container/nvector.c;
}
target "src/container/smap.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/container/smap.o src/container/smap.c;
}
target "src/container/stack.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/container/stack.o src/container/stack.c;
}
target "src/container/svector.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/container/svector.o src/container/svector.c;
}
target "src/container/tree.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/container/tree.o src/container/tree.c;
}
target "src/container/vec.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/container/vec.o src/container/vec.c;
}
target "src/container/vector.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/container/vector.o src/container/vector.c;
}
target "src/gaml/gaml.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/gaml/gaml.o src/gaml/gaml.c;
}
target "src/gaml/lex.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/gaml/lex.o src/gaml/lex.c;
}
target "src/gaml/parse.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/gaml/parse.o src/gaml/parse.c;
}
target "src/io/bareio.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/io/bareio.o src/io/bareio.c;
}
target "src/io/dir.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/io/dir.o src/io/dir.c;
}
target "src/io/dirent.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/io/dirent.o src/io/dirent.c;
}
target "src/io/file.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/io/file.o src/io/file.c;
}
target "src/io/fs.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/io/fs.o src/io/fs.c;
}
target "src/io/io.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/io/io.o src/io/io.c;
}
target "src/io/os/posix/bareio.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/io/os/posix/bareio.o src/io/os/posix/bareio.c;
}
target "src/io/os/posix/dir.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/io/os/posix/dir.o src/io/os/posix/dir.c;
}
target "src/io/os/posix/file.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/io/os/posix/file.o src/io/os/posix/file.c;
}
target "src/io/os/posix/fs.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/io/os/posix/fs.o src/io/os/posix/fs.c;
}
target "src/io/os/posix/io.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/io/os/posix/io.o src/io/os/posix/io.c;
}
target "src/io/path.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/io/path.o src/io/path.c;
}
target "src/pool/mappool.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/pool/mappool.o src/pool/mappool.c;
}
target "src/pool/os/posix/alloc.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/pool/os/posix/alloc.o src/pool/os/posix/alloc.c;
}
target "src/pool/setpool.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/pool/setpool.o src/pool/setpool.c;
}
target "src/pool/stackpool.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/pool/stackpool.o src/pool/stackpool.c;
}
target "src/str/os/posix/str.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/str/os/posix/str.o src/str/os/posix/str.c;
}
target "src/str/str.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/str/str.o src/str/str.c;
}
target "src/str/string.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/str/string.o src/str/string.c;
}
target "src/sys/multiplex.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/sys/multiplex.o src/sys/multiplex.c;
}
target "src/sys/os/posix/multiplex.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/sys/os/posix/multiplex.o src/sys/os/posix/multiplex.c;
}
target "src/sys/os/posix/proc.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/sys/os/posix/proc.o src/sys/os/posix/proc.c;
}
target "src/sys/os/posix/sys.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/sys/os/posix/sys.o src/sys/os/posix/sys.c;
}
target "src/sys/proc.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/sys/proc.o src/sys/proc.c;
}
target "src/sys/sys.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/sys/sys.o src/sys/sys.c;
}
target "src/util/hash.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/util/hash.o src/util/hash.c;
}
target "src/util/opt.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/util/opt.o src/util/opt.c;
}
target "src/util/types.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/util/types.o src/util/types.c;
}
target "src/yao/lex.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/yao/lex.o src/yao/lex.c;
}
target "src/yao/parse.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/yao/parse.o src/yao/parse.c;
}
target "src/yao/program.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/yao/program.o src/yao/program.c;
}
target "src/yao/yao.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/yao/yao.o src/yao/yao.c;
}
target "src/yc.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/yc.o src/yc.c;
}
target "src/yvm/yvm.o": "include/", "src/"
{
$ clang -Wall -D_BSD_SOURCE -D_GNU_SOURCE -D_DEFAULT_SOURCE
-D_DARWIN_C_SOURCE -Iinclude/ -g -c -o
src/yvm/yvm.o src/yvm/yvm.c;
}
target "libyc.a": semaphore,
"src/arith.o",
"src/assert.o",
"src/concurrency/atomics.o",
"src/concurrency/condvar.o",
"src/concurrency/mutex.o",
"src/concurrency/os/posix/atomics.o",
"src/concurrency/os/posix/condvar.o",
"src/concurrency/os/posix/mutex.o",
"src/concurrency/os/posix/rwlock.o",
"src/concurrency/os/posix/strucon.o",
"src/concurrency/os/posix/threadset.o",
"src/concurrency/rwlock.o",
"src/concurrency/semaphore.o",
"src/concurrency/strucon.o",
"src/concurrency/threadset.o",
"src/container/imap.o",
"src/container/list.o",
"src/container/map.o",
"src/container/nvector.o",
"src/container/smap.o",
"src/container/stack.o",
"src/container/svector.o",
"src/container/tree.o",
"src/container/vec.o",
"src/container/vector.o",
"src/gaml/gaml.o",
"src/gaml/lex.o",
"src/gaml/parse.o",
"src/io/bareio.o",
"src/io/dir.o",
"src/io/dirent.o",
"src/io/file.o",
"src/io/fs.o",
"src/io/io.o",
"src/io/os/posix/bareio.o",
"src/io/os/posix/dir.o",
"src/io/os/posix/file.o",
"src/io/os/posix/fs.o",
"src/io/os/posix/io.o",
"src/io/path.o",
"src/pool/mappool.o",
"src/pool/os/posix/alloc.o",
"src/pool/setpool.o",
"src/pool/stackpool.o",
"src/str/os/posix/str.o",
"src/str/str.o",
"src/str/string.o",
"src/sys/multiplex.o",
"src/sys/os/posix/multiplex.o",
"src/sys/os/posix/proc.o",
"src/sys/os/posix/sys.o",
"src/sys/proc.o",
"src/sys/sys.o",
"src/util/hash.o",
"src/util/opt.o",
"src/util/types.o",
"src/yao/lex.o",
"src/yao/parse.o",
"src/yao/program.o",
"src/yao/yao.o",
"src/yc.o",
"src/yvm/yvm.o"
{
$ ar -r -cu libyc.a @inputs;
}