# %%% copyright-cmetz-96
# This software is Copyright 1996-1997 by Craig Metz, All Rights Reserved.
# The Inner Net License Version 2 applies to this software.
# You should have received a copy of the license with this software. If
# you didn't get a copy, you may request one from <license@inner.net>.
#

ifndef CONFIG_DIR
CONFIG_DIR=/usr/inet6/lib/
endif

include $(CONFIG_DIR)GNUmakefile.inc

CFLAGS+=$(DINET6) $(DIPSEC)

all install:
	if [ ! -f Makefile.autoconf ]; then sh ./configure --prefix=$(DESTDIR) --sbindir=$(DESTDIR)$(USR_SBINDIR); fi
	$(MAKE) -f Makefile.autoconf XCFLAGS="$(CFLAGS)" XLIBS="$(LOADLIBES)" $@

clean distclean:
	if [ -f Makefile.autoconf ]; then $(MAKE) -f Makefile.autoconf $@; fi
