# Compile and link the 'socloc'
# TCP server program.
# 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' object files
# 'appinit.o' and 'datime.o'.
# May/2002, Rick Smereka
#
# Removed 'sloc' object file
# and added 'slocsrv' object file.
# May/2003, Rick Smereka
#
# Added module 'logman.c' which is not
# directly used but needed for linking.
# Dec/2004, Rick Smereka
#
. include.generic
. include.linux
#
cd $DIRBASE/source
$COMP $DEFS="$PLAT" $MULTI $IPC -I$DIRBASE/include -o$DIRBASE/bin/socloc \
    socloc.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/datime.o $DIRBASE/clib/appinit.o \
    $DIRBASE/clib/logman.c \
    $DIRBASE/socloc/slocsrv.o $DIRBASE/socloc/slconfig.o \
    $DIRBASE/socloc/sliocode.o $DIRBASE/socloc/sconnect.o
