source: win32/libtalloc-2.0.1/SConstruct @ 269

Last change on this file since 269 was 195, checked in by tim, 15 years ago

removed talloc from mainline build tree, opting instead to depend upon libtalloc-dev

win32 builds depend up on modified libtalloc stored outside of trunk

miscellaneous other build fixes

File size: 530 bytes
Line 
1
2env = Environment()
3env['platform']='cygwin'
4env['CC']='i586-mingw32msvc-gcc'
5env['CFLAGS']='-D__CLEANUP_C -O3 -finline-functions -DHAVE_CONFIG_H -Wall'
6env['CPPPATH']=['include']
7
8talloc_o = env.Object('src/talloc.c')
9
10env.Command(['src/libtalloc.o'], 'src/talloc.o',
11            'i586-mingw32msvc-dlltool --export-all-symbols --dllname libtalloc.dll -e $TARGET -l lib/libtalloc.dll.a $SOURCE')
12env.Command('bin/libtalloc.dll', ['src/talloc.o','src/libtalloc.o'],
13            'i586-mingw32msvc-gcc --shared -o $TARGET $SOURCE')
Note: See TracBrowser for help on using the repository browser.