forked from KolibriOS/kolibrios
SDL_mixer added to autobuild
git-svn-id: svn://kolibrios.org@9792 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
22b894fdba
commit
17728ab831
23
contrib/sdk/sources/SDL_mixer-1.2.12/Tupfile.lua
Executable file
23
contrib/sdk/sources/SDL_mixer-1.2.12/Tupfile.lua
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
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 .. " -DOGG_MUSIC"
|
||||||
|
|
||||||
|
INCLUDES = INCLUDES .. " -I../newlib/libc/include/ -I../SDL-1.2.2_newlib/include -I../libogg-1.3.5/include -I.. -I../libvorbis-1.3.7/include "
|
||||||
|
|
||||||
|
compile_gcc{
|
||||||
|
"effect_stereoreverse.c",
|
||||||
|
"effect_position.c",
|
||||||
|
"effects_internal.c",
|
||||||
|
"music.c",
|
||||||
|
"mixer.c",
|
||||||
|
"load_ogg.c",
|
||||||
|
"music_ogg.c",
|
||||||
|
"dynamic_ogg.c",
|
||||||
|
"wavestream.c",
|
||||||
|
"load_aiff.c",
|
||||||
|
"load_voc.c",
|
||||||
|
}
|
||||||
|
tup.rule(OBJS, "kos32-ar rcs %o %f", {"../../lib/libSDL_mixer.a", "../../lib/<libSDL_mixer>"})
|
Loading…
Reference in New Issue
Block a user