Changeset 195
- Timestamp:
- 05/02/10 14:40:47 (15 years ago)
- Files:
-
- 12 added
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
SConstruct
r191 r195 4 4 libpthreads_path='win32/libpthreads/' 5 5 libpthread_name='pthreadGC2' 6 libtalloc_path='win32/libtalloc/' 6 7 7 8 source_targets=('reglookup-trunk.tar.gz',) … … 29 30 rm -rf .release && mkdir -p .release/%s 30 31 cp %s/src/*.exe .release/%s 31 cp win32/libiconv/bin/*.dll win32/libpthreads/bin/*.dll .release/%s32 cp win32/libiconv/bin/*.dll win32/libpthreads/bin/*.dll win32/libtalloc/bin/*.dll .release/%s 32 33 cd .release && zip -r %s.zip %s 33 34 mv .release/%s.zip . && rm -rf .release … … 54 55 env['CPPPATH']=[input_prefix+'include', 55 56 libiconv_path+'include', 56 libpthreads_path+'include'] 57 libpthreads_path+'include', 58 libtalloc_path+'include'] 57 59 env['LIBPATH']=[input_prefix+'lib', 58 60 libiconv_path+'lib', 59 libpthreads_path+'lib'] 60 env['LIBS']=['m', libpthread_name, 'iconv', 'regfi'] 61 libpthreads_path+'lib', 62 libtalloc_path+'lib'] 63 env['LIBS']=['m', libpthread_name, 'iconv', 'regfi', 'talloc'] 61 64 62 65 63 66 # Libraries 64 67 lib_src = [input_prefix+'lib/regfi.c', 65 input_prefix+'lib/talloc.c',66 68 input_prefix+'lib/winsec.c', 67 69 input_prefix+'lib/range_list.c', … … 72 74 extra_obj=['%s/lib/lib%s.a' % (libpthreads_path, libpthread_name), 73 75 libiconv_path+'/lib/libiconv.dll.a', 74 input_prefix+'lib/libregfi.a'] 76 libtalloc_path+'/lib/libtalloc.dll.a', 77 input_prefix+'lib/libregfi.a',] 75 78 76 79 # Executables … … 100 103 101 104 102 for target in source_targets: 103 env.Release(target, Dir(version2input(target2version(target)))) 104 105 for target in win32_targets: 105 for target in COMMAND_LINE_TARGETS: 106 106 env.Release(target, Dir(version2input(target2version(target)))) 107 107 -
trunk/SConstruct
r194 r195 4 4 5 5 lib_src = ['lib/regfi.c', 6 'lib/talloc.c',7 6 'lib/winsec.c', 8 7 'lib/range_list.c', … … 13 12 CPPPATH=['include', '/usr/local/include'], 14 13 LIBPATH=['lib', '/usr/local/lib'], 15 LIBS=['m', 'pthread', 'regfi' ])14 LIBS=['m', 'pthread', 'regfi', 'talloc']) 16 15 17 16
Note: See TracChangeset
for help on using the changeset viewer.