# Makefile for the Linux IPSEC user-level code.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
# USA
#
# $Id: Makefile,v 0.5 1997/06/03 04:31:55 ji Rel $
#
# $Log: Makefile,v $
# Revision 0.5  1997/06/03 04:31:55  ji
# Added esp 3des-md5-96.
# Added transport mode configuration utility.
#
# Revision 0.4  1997/01/15 01:38:21  ji
# Changed to include setsa.c
#
# Revision 0.3  1996/11/20 14:51:32  ji
# Fixed problems with #include paths.
# Changed (incorrect) references to ipsp into ipsec.
#
#

CC=cc
CFLAGS=-O2 -g -I../linux/net/ipsec
ALL=tncfg
BINDIR=/usr/local/sbin

all: $(ALL)

install: $(ALL)
	[ -d $(BINDIR) ] || mkdir -p $(BINDIR)
	mv tncfg $(BINDIR)

tncfg: tncfg.o
	$(CC) $(DFLAGS) -o $@ $?

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

