#
#  Copyright (c) 1996, Trusted Information Systems, Incorporated
#  All rights reserved.
# 
#  Redistribution and use are governed by the terms detailed in the
#  license document ("LICENSE") included with the toolkit.
#

#
#	Author: Kelly Djahandari, Trusted Information Systems, Inc.
#

include	../Makefile.config

CFLAGS= -I.. $(COPT) -g -DBINDDEBUG -DBINDDEBUGPORT=6565
#CFLAGS= -I.. $(COPT)

all:	mbone-gw

mbone-gw: mbone-gw.o ../libauth.a ../libfwall.a
	$(CC) $(LDFL) -o $@ mbone-gw.o ../libauth.a ../libfwall.a $(AUXLIB)

clean:
	rm -f mbone-gw *.o

install:	all
	if [ -f $(DEST)/mbone-gw ]; then \
		mv $(DEST)/mbone-gw $(DEST)/mbone-gw.old; \
	fi
	$(CP) mbone-gw $(DEST)
	chmod 755 $(DEST)/mbone-gw
