Last change
on this file since 276 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
|
Rev | Line | |
---|
[195] | 1 | |
---|
| 2 | env = Environment() |
---|
| 3 | env['platform']='cygwin' |
---|
| 4 | env['CC']='i586-mingw32msvc-gcc' |
---|
| 5 | env['CFLAGS']='-D__CLEANUP_C -O3 -finline-functions -DHAVE_CONFIG_H -Wall' |
---|
| 6 | env['CPPPATH']=['include'] |
---|
| 7 | |
---|
| 8 | talloc_o = env.Object('src/talloc.c') |
---|
| 9 | |
---|
| 10 | env.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') |
---|
| 12 | env.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.