/[escript]/trunk/tools/mmio/src/SConscript
ViewVC logotype

Contents of /trunk/tools/mmio/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 225 - (show annotations)
Fri Nov 25 01:22:34 2005 UTC (13 years, 8 months ago) by jgs
File size: 407 byte(s)
pass in correct options to archiver for static libraries
1 Import('*')
2
3 import os
4 import string
5
6 mmio_path = str(esysroot) + '/tools/mmio/inc'
7
8 cpp_path = [mmio_path]
9
10 lib = 'mmio'
11 sources = ['mmio.c']
12
13 mmio_env = Environment(ENV = os.environ)
14
15 mmio_env.Replace(CC = cc)
16 mmio_env.Replace(CCFLAGS = cc_flags)
17 mmio_env.Replace(ARFLAGS = ar_flags)
18 mmio_env.Replace(CPPPATH = cpp_path)
19
20 mmio_lib = mmio_env.StaticLibrary(lib, sources)
21 mmio_env.Install(libdir, mmio_lib)

  ViewVC Help
Powered by ViewVC 1.1.26