target = "xmmsutils"

source = ["strlist.c"]
if platform == 'win32':
	source.append('utils_win32.c')
else:
	source.append('utils_unix.c')

shared = False
static = True
install = False

def config(env):
	env.pkgconfig("glib-2.0 >= 2.6.0", fail=True)
	if env.platform != 'win32':
		env.Append(CCFLAGS=["-fPIC"])
		env.Append(CPPFLAGS=['-DUSERCONFDIR=\\"'+env.userconfpath+'\\"'])
