From 22b894fdba5a335a20d0d8440830c24c2a000a6c Mon Sep 17 00:00:00 2001 From: turbocat Date: Tue, 26 Apr 2022 09:18:26 +0000 Subject: [PATCH] Added libogg to autobuild git-svn-id: svn://kolibrios.org@9791 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/sdk/sources/libogg-1.3.5/Tupfile.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 contrib/sdk/sources/libogg-1.3.5/Tupfile.lua diff --git a/contrib/sdk/sources/libogg-1.3.5/Tupfile.lua b/contrib/sdk/sources/libogg-1.3.5/Tupfile.lua new file mode 100755 index 0000000000..dd6fa58933 --- /dev/null +++ b/contrib/sdk/sources/libogg-1.3.5/Tupfile.lua @@ -0,0 +1,10 @@ +if tup.getconfig("NO_GCC") ~= "" then return end +HELPERDIR = (tup.getconfig("HELPERDIR") == "") and "../../../../programs" or tup.getconfig("HELPERDIR") +tup.include(HELPERDIR .. "/use_gcc.lua") +tup.include(HELPERDIR .. "/use_newlib.lua") + +CFLAGS = CFLAGS_OPTIMIZE_SPEED +INCLUDES = INCLUDES .. " -Iinclude " + +compile_gcc{"src/bitwise.c", "src/framing.c"} +tup.rule(OBJS, "kos32-ar rcs %o %f", {"../../lib/libogg.a", "../../lib/"})