#
#  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/lib/RCS/Makefile,v 1.4 1996/03/27 03:25:32 rick Exp $"

include	../Makefile.config

CFLAGS= -I.. $(COPT)
LIB=	../libfwall.a

# source for UDP based syslog(3)
SYSLOG=	syslog.o

#source for strerror if needed
STRERROR=	strerror.o

#source for inet_aton if needed
#INETADDR=	inet_addr.o

OBJS=	config.o daemon.o pname.o nama.o mapu.o mapg.o conn.o hnam.o \
	mktemp.o rand.o enargv.o alldi.o lock.o urg.o $(SYSLOG) $(SYSVOBJ) \
	getp.o getenv.o setenv.o $(STRERROR) $(INETADDR)


all:	$(LIB)
$(LIB): $(OBJS)
	ar rcv $@ $(OBJS)
	$(RANLIB) $@

clean:
	rm -f $(LIB) *.o

install:	all
