# mkf file for building extension openalext. # NOTE: This file was originally written by the extension builder, but will not # be overwritten (unless --force is specified) and is intended to be modified. display_name "Extensions/openalext" includepath source/h includepath h defines { #Define the verbose channel to be off by default (but controllable by icf) IW_TRACE_CHANNEL_OPENALEXT_VERBOSE=2 #This macro indicates that this extension is being built S3E_EXT_OPENALEXT } #This command re-generates the relevant source files from the s4e when #the mkb is run extension { ("$MARMALADE_ROOT/s3e/edk/builder") "edk_build openalext.s4e" } #include the extension builder subproject subproject "$MARMALADE_ROOT/s3e/edk" if {{defined I3D_OS_IPHONE}} { files { ["source"] (use_first_found, source/iphone, source/generic) openalext_platform.mm #Add any iphone-specific files here } } if {{defined I3D_OS_WINDOWS}} { files { ["source"] (use_first_found, source/windows, source/generic) openalext_platform.cpp #Add any windows-specific files here } } if {{defined S3E_ANDROID}} { files { ["source"] (use_first_found, source/android, source/generic) openalext_platform.cpp #Add any android-specific files here } } if {{defined I3D_OS_OSX}} { files { ["source"] (use_first_found, source/osx, source/generic) openalext_platform.mm #Add any osx-specific files here } } if {{defined I3D_OS_LINUX and not defined S3E_ANDROID}} { files { ["source"] (use_first_found, source/linux, source/generic) openalext_platform.cpp #Add any linux-specific files here } } if {{defined I3D_OS_WP8}} { files { ["h"] (source/wp8) openalext_shim.h ["source"] (use_first_found, source/wp8, source/generic) openalext_platform.cpp openalext_shim.cpp #Add any wp8-specific files here } } files { # Add any platform-independent files here # Note that if the file exists in the platform-specific directory # it will be taken from there instead of 'generic' openalext_register.cpp openalext.cpp ["h"] (source/h) openalext_internal.h openalext_autodefs.h ["docs"] (interface) openalext.defines.txt [] (.) openalext.s4e }