Redid addition of Euro symbol for size 14, since kerning information was
[AROS.git] / SConstruct
blob2c8dc8d6a1e166f54fbbe26af135a86ace2f15d0
1 # Experimental SConstruct file for SCons build system
2 # Take care about paths which only exists on my PC
4 # Get default environment
5 env = Environment()
7 # Where the fake compiler and FlexCat resides
8 tooldir = '/home/mazze/projects/aros-linux-i386-dbg/bin/linux-x86_64/tools'
10 # Some more variables. "#" means directory from where SCons was started
11 platform = 'i386'
12 arosdir = '#' + platform + '/bin/' + platform + '/AROS'
13 gendir = '#' + platform + '/bin/' + platform + '/gen'
15 # Clone the default environment
16 targetEnv = env.Clone()
18 # Add a builder for source files from *.cd files by FlexCat
19 targetEnv['FLEXCAT_SD'] = tooldir + '/C_h_orig.sd'
21 def locale_h_generator(source, target, env, for_signature):
22 return 'FlexCat %s %s=%s' % (source[0], target[0], env['FLEXCAT_SD'])
24 bld = Builder(generator = locale_h_generator)
25 targetEnv.Append(BUILDERS = {'Locale_H' : bld})
27 # Set tool search path
28 targetEnv['ENV']['PATH'] = ['/bin','/usr/bin', tooldir]
30 # Tools and settings
31 targetEnv.Replace(CC = 'i386-linux-aros-gcc')
32 targetEnv.Replace(CXX = '') # Doesn't exist as fake compiler
33 targetEnv.Replace(AR = 'i386-linux-aros-ar')
34 targetEnv.Replace(AS = 'i386-linux-aros-as')
35 targetEnv.Replace(RANLIB = 'i386-linux-aros-ranlib')
37 # SCons needs to know where includes and libs are (for dependency checking)
38 targetEnv.Replace(CPPPATH = '/home/mazze/projects/aros-linux-i386-dbg/bin/linux-i386/AROS/Development/include')
39 targetEnv.Replace(LIBPATH = '/home/mazze/projects/aros-linux-i386-dbg/bin/linux-i386/AROS/Development/lib')
41 # Default CFLAGS and LIBS
42 targetEnv.Replace(CCFLAGS = '-Wall -Wno-pointer-sign')
43 targetEnv.Replace(LIBS = ['arosc', 'arossupport', 'amiga'])
45 # Export environment and some variables to sub SConscript files
46 Export('targetEnv', 'platform', 'arosdir', 'gendir')
48 # Call sub SConscript files
49 SConscript([
50 'workbench/tools/ScreenGrabber/SConscript',
51 'workbench/tools/commodities/SConscript'
55 # print targetEnv.Dump()