# Compile and link the 'timesync'
# TCP server program for Linux.
# Dec/2001, Rick Smereka
#
# Added 'clib' object files
# 'appinit.o' and 'datime.o'.
# May/2002, Rick Smereka
#
# Added modules 'logman.c' and 'sys_log.o'.
# 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/timesync timesync.c $DIRBASE/clib/tlogcode.o \
    $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/logman.c $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
