# Compile and link the 'dumsocks'
# TCP server program for Linux.
# Dec/99, Rick Smereka
#
# Added 'sconnect', Feb/2000
# Rick Smereka
#
# Modified to use environment
# vars. Apr/2000, Rick Smereka
#
# Added 'clib' object file
# 'ip.o'. Jul/2000,
# Rick Smereka
#
# Added IPC variable. Dec/2001,
# Rick Smereka
#
# Added 'clib' files 'appinit.o'
# and 'datime.o'. May/2002,
# Rick Smereka
#
# Added modules 'sys_log.o',
# 'slogcode.o' and 'logman.c'.
# Added define 'HASYSLOG'.
# Dec/2004, Rick Smereka
#
. include.generic
. include.linux
#
cd $DIRBASE/source
$COMP $DEFS="$PLAT" $MULTI $IPC $HASYSLOG -I$DIRBASE/include \
    -o$DIRBASE/bin/dumsocks \
    dumsocks.c $DIRBASE/clib/fio.o $DIRBASE/clib/ip.o \
    $DIRBASE/clib/parse.o $DIRBASE/clib/logger.o \
    $DIRBASE/clib/ipcsrv.o $DIRBASE/clib/ipcomm.o \
    $DIRBASE/clib/appinit.o $DIRBASE/clib/datime.o \
    $DIRBASE/clib/sys_log.o $DIRBASE/clib/logman.c \
    $DIRBASE/clib/slogcode.o \
    $DIRBASE/socloc/sloc.o $DIRBASE/socloc/slconfig.o \
    $DIRBASE/socloc/sliocode.o $DIRBASE/socloc/sconnect.o
