#! /bin/sh
# File:       build
# Purpose:    Compiles and links rays-filter.c with sendmail libraries
# Written by: R. Butler <butlerra@sbu.ac.uk>
# Date:       29-Jun-2000
#
# Copyright (C) 2000 South Bank University, London.
# (Please see the full copyright notice in 'copyright.txt')
#
# SRCDIR is the root directory of the sendmail source tree.
# OBJDIR is the platform-specific 'obj.*' directory created when 
#        you build sendmail.

SRCDIR=/usr/local/src/sendmail/sendmail-8.11.0
OBJDIR=obj.OSF1.V4.0.alpha

cc  -g -I$SRCDIR/sendmail -I$SRCDIR/include -o $1 \
   $1.c \
   $SRCDIR/$OBJDIR/libmilter/libmilter.a \
   $SRCDIR/$OBJDIR/libsmutil/libsmutil.a \
   -pthread

