diff options
-rw-r--r-- | examples/libsmbclient/wscript_build | 107 |
1 files changed, 23 insertions, 84 deletions
diff --git a/examples/libsmbclient/wscript_build b/examples/libsmbclient/wscript_build index f9ab3dc6af3..84e03f394a5 100644 --- a/examples/libsmbclient/wscript_build +++ b/examples/libsmbclient/wscript_build @@ -1,86 +1,25 @@ #!/usr/bin/env python -bld.SAMBA_BINARY('testsmbc', - source='testsmbc.c', - deps='smbclient', - install=False) - -bld.SAMBA_BINARY('testacl', - source='testacl.c', - deps='smbclient', - install=False) - -bld.SAMBA_BINARY('testacl2', - source='testacl2.c', - deps='smbclient', - install=False) - -bld.SAMBA_BINARY('testacl3', - source='testacl3.c', - deps='smbclient', - install=False) - -bld.SAMBA_BINARY('testbrowse', - source='testbrowse.c', - deps='smbclient', - install=False) - -bld.SAMBA_BINARY('testbrowse2', - source='testbrowse2.c', - deps='smbclient', - install=False) - -bld.SAMBA_BINARY('teststat', - source='teststat.c', - deps='smbclient', - install=False) - -bld.SAMBA_BINARY('teststat2', - source='teststat2.c', - deps='smbclient', - install=False) - -bld.SAMBA_BINARY('teststat3', - source='teststat3.c', - deps='smbclient', - install=False) - -bld.SAMBA_BINARY('teststatvfs', - source='teststatvfs.c', - deps='smbclient', - install=False) - -bld.SAMBA_BINARY('testfstatvfs', - source='testfstatvfs.c', - deps='smbclient', - install=False) - -bld.SAMBA_BINARY('testtruncate', - source='testtruncate.c', - deps='smbclient', - install=False) - -bld.SAMBA_BINARY('testchmod', - source='testchmod.c', - deps='smbclient', - install=False) - -bld.SAMBA_BINARY('testutime', - source='testutime.c', - deps='smbclient', - install=False) - -bld.SAMBA_BINARY('testread', - source='testread.c', - deps='smbclient', - install=False) - -bld.SAMBA_BINARY('testwrite', - source='testwrite.c', - deps='smbclient', - install=False) - -bld.SAMBA_BINARY('testctx', - source='testctx.c', - deps='smbclient', - install=False) +names = ['testsmbc', + 'testacl', + 'testacl2', + 'testacl3', + 'testbrowse', + 'testbrowse2', + 'teststat', + 'teststat2', + 'teststat3', + 'teststatvfs', + 'testfstatvfs', + 'testtruncate', + 'testchmod', + 'testutime', + 'testread', + 'testwrite', + 'testctx'] + +for name in names: + bld.SAMBA_BINARY(name, + source='%s.c' % name, + deps='smbclient', + install=False) |