#
#  Copyright (c) 1993, Trusted Information Systems, Incorporated
#  All rights reserved.
#

#
#	Author: Marcus J. Ranum, Trusted Information Systems, Inc.
#
# RcsId: "$Header: /usr/home/rick/fwtk2.0/fwtk/tools/server/login-sh/RCS/Makefile,v 1.2 1996/09/07 03:54:36 rick Exp $"

include ../../../Makefile.config

CFLAGS= -I../../.. $(COPT)
FWLIB=	../../../libfwall.a
AUTHLIB=	../../../libauth.a

all:	login-sh

login-sh:	login-sh.o $(FWLIB) $(AUTHLIB)
	$(CC) $(LDFL) -o $@ login-sh.o $(SETENV) $(AUTHLIB) $(FWLIB) $(AUXLIB)
	chmod 755 $@

clean:
	rm -f login-sh *.o

install:	all
	$(CP) login-sh $(DEST)
	chmod 755 $(DEST)/login-sh
