#Copyright 1987 by Rensselaer Polytechnic Institute
#
#Permission to use, copy, modify, and distribute this
#software and its documentation for any purpose and without
#fee is hereby granted, provided that the above copyright
#notice appear in all copies and that both that copyright
#notice and this permission notice appear in supporting
#documentation, and that the name of RPI not be used in
#advertising or publicity pertaining to distribution of the
#software without specific, written prior permission.
#RPI makes no representations about the suitability of
#this software for any purpose.  It is provided "as is"
#without express or implied warranty.
#
OBJS=		sgmplookup.o createreq.o query.o mquery.o srcroute.o find_cmd.o
O=		-O
CFLAGS=		$(O) -I../../h

sgmplookup: $(OBJS)
	cc $(CFLAGS) -o sgmplookup $(OBJS) -lsgmp -lresolv -lBSD

install: sgmplookup
	cp sgmplookup /usr/local/sgmplookup

clean:
	/bin/rm sgmplookup $(OBJS)

sgmplookup.o: sgmplookup.c

createreq.o: createreq.c

find_cmd.o: find_cmd.c

query.o: query.c

mquery.o: mquery.c
