#!/bin/sh

# Copyright (c) 2000 Sendmail, Inc. and its suppliers.
#	All rights reserved.
#
# By using this file, you agree to the terms and conditions set
# forth in the LICENSE file which can be found at the top level of
# the sendmail distribution.
#
#

bldargs=$*
os=`uname`
case $os in
	CYGWIN_NT*)
		OBJDIR=`sh ../devtools/bin/Build -M`
		rm -rf ${OBJDIR}
		mkdir ${OBJDIR}
		cp -f Makefile.nt ${OBJDIR}/Makefile
		make -C ${OBJDIR}
		;;

	*)
		exec sh ../devtools/bin/Build $bldargs
		;;
esac
