#
# standalone iv old make makefile
#
ivsa : astsa testiv
include astsa.omk
CC = cc
CFLAGS = $(IVSA_CFLAGS)
IVSA_CFLAGS = $(ASTSA_CFLAGS) -DUSAGE_LICENSE='"[-author?Glenn Fowler <gsf@research.att.com>][-author?Phong Vo <kpv@research.att.com>][-copyright?Copyright (c) 2000-'`date +%Y`' AT&T Intellectual Property][-license?http://www.eclipse.org/org/documents/epl-v10.html][--catalog?dssip_t]"'
$(CC) $(CFLAGS) -o testiv $?
libivsa.a : \
ar cr libivsa.a $?
test : testiv
@cmp -s iv-ip4.out iv-ip4.tmp || { echo 'test ip4 FAILED -- >: expected <: got'; diff iv-ip4.tmp iv-ip4.out; }
@cmp -s iv-ip6.out iv-ip6.tmp || { echo 'test ip6 FAILED -- >: expected <: got'; diff iv-ip6.tmp iv-ip6.out; }
clobber : iv_clobber
iv_clobber :
rm -f testiv iv-ip4.tmp iv-ip6.tmp