# $Id: Makefile,v 1.1 2002/02/14 02:16:32 thockin Exp $
# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.

include ../../../dynamic.mk

COMPONENTS = ../../server.a

TESTS = conftest1

test: $(TESTS)
	./conftest1 testconf > conftest1.out 2>&1
	diff -u conftest1.out conftest1.expected

$(TESTS): %: %.c $(COMPONENTS)
	$(CC) -o $@ $(CFLAGS) $^ $(LIBS) -lcommon

clean:
	$(RM) $(TESTS) conftest1.out

