# Generated automatically from Makefile.in by configure.
#
# Copyright (c) 1999,2000 WU-FTPD Development Group.
# All rights reserved.
# 
# Portions Copyright (c) 1980, 1985, 1988, 1989, 1990, 1991, 1993, 1994 
#    The Regents of the University of California.  
# Portions Copyright (c) 1993, 1994 Washington University in Saint Louis.  
# Portions Copyright (c) 1989 Massachusetts Institute of Technology.  
# Portions Copyright (c) 1998 Sendmail, Inc.
# Portions Copyright (c) 1983, 1995, 1996, 1997 Eric P. Allman.  
# Portions Copyright (c) 1996, 1998 Berkeley Software Design, Inc.  
# Portions Copyright (C) 1991, 1992, 1993, 1994, 1995 1996, 1997 
#    Free Software Foundation, Inc.  
# Portions Copyright (c) 1997 Stan Barber.  
# Portions Copyright (c) 1997 Kent Landfield.
# 
# Use and distribution of this software and its source code are governed by 
# the terms and conditions of the WU-FTPD Software License ("LICENSE").
# 
# If you did not receive a copy of the license, it may be obtained online at
# http://www.wu-ftpd.org/license.html.
# 
# $Id: Makefile.in,v 1.12 2000/07/01 17:42:15 wuftpd Exp $
#

prefix=/usr/local
exec_prefix=${prefix}
srcdir=.
mandir=${prefix}/man
INSTALL=/usr/bin/install -c -o root -g wheel
INSTALL_PROGRAM=install  -s -o root -g wheel -m 555
INSTALL_DATA=install  -o root -g wheel -m 444

all:
	(cd support ; $(MAKE) all)
	(cd util/privatepw ; $(MAKE) all)
	(cd src ; $(MAKE) all)
	if [ ! -d bin ]; then mkdir bin; fi
	rm -f bin/ftpd bin/ftpshut bin/ftpcount bin/ftpwho bin/ckconfig bin/ftprestart
	ln src/ftpd bin
	ln src/ftpshut bin
	ln src/ftpcount bin
	ln src/ftpcount bin/ftpwho
	ln src/ckconfig bin
	ln src/ftprestart bin
	size bin/ftpd bin/ftpshut bin/ftpcount bin/ftpwho bin/ckconfig bin/ftprestart
clean:
	(cd support ; $(MAKE) clean)
	(cd util/privatepw ; $(MAKE) clean)
	(cd src ; $(MAKE) clean)
	-rm -rf bin
distclean: clean
	(cd support ; $(MAKE) distclean)
	(cd util/privatepw ; $(MAKE) distclean)
	(cd src ; $(MAKE) distclean)
	-rm -f *~
	-rm -f src/*~
	-rm -f support/*~
	-rm -f doc/*~
	-rm -f util/*~
	-rm -f config.log config.status config.cache Makefile config.h
install: all
	@echo installing binaries.
	-@mkdir -p $(DESTDIR)/${exec_prefix}/sbin
	-@mkdir -p $(DESTDIR)/${exec_prefix}/bin
	-@mkdir -p $(DESTDIR)/$(mandir)/man8
	-@mkdir -p $(DESTDIR)/$(mandir)/man1
	-@mkdir -p $(DESTDIR)/$(mandir)/man5
	-@mkdir -p $(DESTDIR)//usr/local/etc
	install  -s -o root -g wheel -m 555 -o bin -g bin -m 755 bin/ftpd $(DESTDIR)/${exec_prefix}/libexec/ftpd
	install  -s -o root -g wheel -m 555 -o bin -g bin -m 755 bin/ftpshut $(DESTDIR)/${exec_prefix}/sbin/ftpshut
	install  -s -o root -g wheel -m 555 -o bin -g bin -m 755 bin/ftpcount $(DESTDIR)/${exec_prefix}/bin/ftpcount
	install  -s -o root -g wheel -m 555 -o bin -g bin -m 755 bin/ftpwho $(DESTDIR)/${exec_prefix}/bin/ftpwho
	install  -s -o root -g wheel -m 555 -o bin -g bin -m 755 bin/ckconfig $(DESTDIR)/${exec_prefix}/sbin/ckconfig
	install  -s -o root -g wheel -m 555 -o bin -g bin -m 755 bin/ftprestart $(DESTDIR)/${exec_prefix}/sbin/ftprestart
	install  -s -o root -g wheel -m 555 -o bin -g bin -m 755 util/privatepw/privatepw $(DESTDIR)/${exec_prefix}/sbin/privatepw
	@echo installing manpages.
	-@mkdir -p $(mandir)
	install  -o root -g wheel -m 444 -o bin -g bin -m 644 doc/ftpd.8 $(DESTDIR)/$(mandir)/man8/ftpd.8
	install  -o root -g wheel -m 444 -o bin -g bin -m 644 doc/ftpcount.1 $(DESTDIR)/$(mandir)/man1/ftpcount.1
	install  -o root -g wheel -m 444 -o bin -g bin -m 644 doc/ftpwho.1 $(DESTDIR)/$(mandir)/man1/ftpwho.1
	install  -o root -g wheel -m 444 -o bin -g bin -m 644 doc/ftpshut.8 $(DESTDIR)/$(mandir)/man8/ftpshut.8
	install  -o root -g wheel -m 444 -o bin -g bin -m 644 doc/ftpaccess.5 $(DESTDIR)/$(mandir)/man5/ftpaccess.5
	install  -o root -g wheel -m 444 -o bin -g bin -m 644 doc/ftphosts.5 $(DESTDIR)/$(mandir)/man5/ftphosts.5
	install  -o root -g wheel -m 444 -o bin -g bin -m 644 doc/ftpconversions.5 $(DESTDIR)/$(mandir)/man5/ftpconversions.5
	install  -o root -g wheel -m 444 -o bin -g bin -m 644 doc/ftpservers.5 $(DESTDIR)/$(mandir)/man5/ftpservers.5
	install  -o root -g wheel -m 444 -o bin -g bin -m 644 doc/xferlog.5 $(DESTDIR)/$(mandir)/man5/xferlog.5
	install  -o root -g wheel -m 444 -o bin -g bin -m 644 doc/ftprestart.8 $(DESTDIR)/$(mandir)/man8/ftprestart.8
	install  -o root -g wheel -m 444 -o bin -g bin -m 644 util/privatepw/privatepw.8 $(DESTDIR)/$(mandir)/man8/privatepw.8
	/usr/bin/install -c -o root -g wheel -c -o bin -g bin -m 644 doc/examples/ftpaccess $(DESTDIR)//usr/local/etc/ftpaccess.example
	/usr/bin/install -c -o root -g wheel -c -o bin -g bin -m 644 doc/examples/ftpconversions $(DESTDIR)//usr/local/etc/ftpconversions.example
	/usr/bin/install -c -o root -g wheel -c -o bin -g bin -m 644 doc/examples/ftpgroups $(DESTDIR)//usr/local/etc/ftpgroups.example
	/usr/bin/install -c -o root -g wheel -c -o bin -g bin -m 644 doc/examples/ftphosts $(DESTDIR)//usr/local/etc/ftphosts.example
	/usr/bin/install -c -o root -g wheel -c -o bin -g bin -m 644 doc/examples/ftpusers $(DESTDIR)//usr/local/etc/ftpusers.example


syntax highlighted by Code2HTML, v. 0.9.1