#    MynahSA SConstruct file
#    Copyright (C) 2006 Mynah-Software Ltd. All Rights Reserved.
#
#    This program is free software; you can redistribute it and/or modify
#    it under the terms of the GNU General Public License, version 2 
#    as published by the Free Software Foundation.
#
#    This program is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#
#    You should have received a copy of the GNU General Public License along
#    with this program; if not, write to the Free Software Foundation, Inc.,
#    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.


# ping SConscript file

Import('env')

server_src = ['server.cpp',
              'pingrequestresponsehandler.cpp',
              'requestping.cpp',
              'responseping.cpp',
              'pingstreamconstructor.cpp']

client_src = ['client.cpp',
              'requestping.cpp',
              'responseping.cpp',
              'pingstreamconstructor.cpp']

tcpclient_src = ['tcpclient.cpp',
                 'requestping.cpp',
                 'responseping.cpp',
                 'pingtcpstreamconstructor.cpp']

tcpserver_src = ['tcpserver.cpp',
                 'pingrequestresponsehandler.cpp',
                 'requestping.cpp',
                 'responseping.cpp',
                 'pingtcpstreamconstructor.cpp']

env.Program('server',
            source=server_src)
            
env.Program('client',
            source=client_src)
            
env.Program('tcpclient',
            source=tcpclient_src)
            
env.Program('tcpserver',
            source=tcpserver_src)