## main build script for simple cache system
#

Import('*')

try:
    env_libgcache
except NameError:
    env_libgcache = Environment()

env_libgcache.Append(LIBS='glib2-0')
env_libgcache.Append(CFLAGS=['-pthread','--std=c99'])

static_libgcache = env_libgcache.StaticLibrary("libgsimplecache", [Glob("*.c")])
SO_gsimplecache = env_libgcache.SharedObject(target="gsimplecacheOS.os", source =[Glob("*.c")])

Return('static_libgcache', 'SO_gsimplecache')
