]> git.lyx.org Git - lyx.git/blob - src/support/SConscript
Scons: various fixes from Enrico (aspell, aikasurus etc), and correct handling of...
[lyx.git] / src / support / SConscript
1 # vi:filetype=python:expandtab:tabstop=2:shiftwidth=2
2
3 # file SConscript
4 #
5 # This file is part of LyX, the document processor.
6 # Licence details can be found in the file COPYING.
7
8 # \author Bo Peng
9 # Full author contact details are available in file CREDITS.
10
11 Import('env')
12
13 print "Entering src/supports"
14
15 env.Append(CPPPATH = ['.'])
16
17 env['SUBST_KEYS'] = ['LYX_DIR', 'LOCALEDIR', 'TOP_SRCDIR', 'PROGRAM_SUFFIX']
18 env.substFile('package.C', 'package.C.in')
19
20 supports = env.StaticLibrary(
21   target = '$LOCALLIBPATH/supports',
22   source = Split('''
23     FileMonitor.C 
24     abort.C 
25     chdir.C 
26     convert.C 
27     copy.C 
28     environment.C 
29     filefilterlist.C 
30     filename.C 
31     filetools.C 
32     forkedcall.C 
33     forkedcallqueue.C 
34     forkedcontr.C 
35     fs_extras.C 
36     getcwd.C 
37     kill.C 
38     lstrings.C 
39     lyxtime.C 
40     lyxsum.C 
41     mkdir.C 
42     os.C 
43     path.C 
44     package.C 
45     rename.C 
46     socktools.C 
47     systemcall.C 
48     tempname.C 
49     userinfo.C 
50     unlink.C
51   ''')
52 )
53
54 # return the library
55 Return('supports')
56