6 env
= Environment(CPPPATH
= Split(prefix
+ '/src /usr/include /usr/local/include . ../../pd/src ../../src src'), CPPDEFINES
=['PD','UNIX'], SHLIBPREFIX
= '', SHLIBSUFFIX
= '.pd_linux', CCFLAGS
= '-pipe -O2 -g')
10 if conf
.CheckCHeader('locale.h'):
11 env
.Append(CPPDEFINES
='HAVE_LOCALE_H')
13 external
= env
.SharedLibrary('plugin~',glob
.glob('*.c'))
14 env
.Alias('install', env
.Install(os
.path
.join(prefix
, 'extra'), external
))
15 env
.Alias('install', env
.Install(os
.path
.join(prefix
, 'doc/5.reference'),'plugin~-help.pd'))