#
#  Copyright (c) 1993, 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: Marcus J. Ranum, Trusted Information Systems, Inc.
#
# RcsId: "$Header: /usr/users/rick/fwtk/fwtk/smap/RCS/Makefile,v 1.2 1996/03/26 21:05:03 rick Exp $"

include	../Makefile.config

CFLAGS= -I.. $(COPT)

all: smap

smap: smap.o arpadate.o ../libfwall.a
	$(CC) $(LDFL) -o $@ smap.o arpadate.o ../libfwall.a $(AUXLIB)

clean:
	rm -f smap smap.o arpadate.o core

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