# Compile and link the 'dumsockc'
# client program for Linux.
# Feb/2000, Rick Smereka
#
# Modified to use environment
# vars. Apr/2000
#
# Added new 'clib' object file 'ip.o'.
# Jul/2000, Rick Smereka
#
# Added IPC variable. Dec/2001,
# Rick Smereka
#
# Added 'clib' object file 'datime.o'.
# May/2002, Rick Smereka
#
# Added modules 'logman.o', 'appinit.o'
# 'sys_log.o' and 'slogcode.o'. May/2004, Rick Smereka
#
# Changed 'logman.o' to 'logman.c' and 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/dumsockc dumsockc.c $DIRBASE/clib/fio.o \
    $DIRBASE/clib/ip.o \
    $DIRBASE/clib/parse.o $DIRBASE/clib/logger.o \
    $DIRBASE/clib/ipclient.o $DIRBASE/clib/ipcomm.o \
    $DIRBASE/clib/datime.o $DIRBASE/clib/logman.c \
    $DIRBASE/clib/appinit.o $DIRBASE/clib/sys_log.o \
    $DIRBASE/clib/slogcode.o \
    $DIRBASE/socloc/sloc.o $DIRBASE/socloc/slconfig.o \
    $DIRBASE/socloc/sliocode.o $DIRBASE/socloc/sconnect.o
