#############################################################################
#	$RCSfile: Makefile.dist1,v $
#	$Revision: 0.12 $
#	$Author: marten $
#	$Date: 1993/08/02 12:59:46 $
#############################################################################
#
# Make changes for local environment below
#
#############################################################################

# You should change the definitions below to match your choice of
# directories for the executables/libraries

TOPDIR= /home/david/db.backup

LIBDIR= $(TOPDIR)/lib
BINDIR= $(TOPDIR)/bin

# This is the configuration file that will be opened when the environment
# variable $RIPEDBCNF is not set

DEFCONFIG= $(TOPDIR)/conf

# Where is your perl executable ?
#
# Note that perl5 is not supported yet!!!

PERL= /usr/local/bin/perl

#
# Which dbm to use ?!?
#
# USE_DBM is empty for perl 4 and might be set for perl 5
#         if one wants to use a specified dbm
#
# Note that perl5 is not supported yet!!!
#  

# USE_DBM= 'use DB_File;$USEDB="DB"'
USE_DBM=

#
# The SOCK_STREAM value is usual 1 but there are always some
# people that want to be diffent ... Slowaris needs this value to be 2
#

SOCKSTREAMVALUE=1

#
# The default whois port
#

WHOISPORT=43

#############################################################################
#
# YOU ARE NOT SUPPOSED TO MAKE CHANGES TO ANYTHING BELOW
#
#############################################################################

SRCDIR=	src
MFILE=	Makefile

MAKE=	make \
	LIBDIR=$(LIBDIR) BINDIR=$(BINDIR) \
	DEFCONFIG=$(DEFCONFIG) \
	PERL=$(PERL) \
	USE_DBM=$(USE_DBM) \
	SOCKSTREAMVALUE=$(SOCKSTREAMVALUE) WHOISPORT=$(WHOISPORT)
	

all:	$(SRCDIR)/$(MFILE) $(MFILE)
	-mkdir $(LIBDIR)
	(cd $(SRCDIR); $(MAKE) all)


install: $(SRCDIR)/$(MFILE) $(MFILE)
	-mkdir $(BINDIR)
	-mkdir $(LIBDIR)
	(cd $(SRCDIR); $(MAKE) install)


clean:	$(SRCDIR)/$(MFILE) $(MFILE)
	(cd $(SRCDIR); $(MAKE) clean)


uninstall: $(SRCDIR)/$(MFILE) $(MFILE)
	(cd $(SRCDIR); $(MAKE) uninstall)
