#
# 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=@prefix@
exec_prefix=@exec_prefix@
srcdir=@srcdir@
mandir=@mandir@
INSTALL=@INSTALL@
INSTALL_PROGRAM=@INSTALL_PROGRAM@
INSTALL_DATA=@INSTALL_DATA@
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
@CPLN@ src/ftpd bin
@CPLN@ src/ftpshut bin
@CPLN@ src/ftpcount bin
@CPLN@ src/ftpcount bin/ftpwho
@CPLN@ src/ckconfig bin
@CPLN@ 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)/@sbindir@
-@mkdir -p $(DESTDIR)/@bindir@
-@mkdir -p $(DESTDIR)/$(mandir)/man8
-@mkdir -p $(DESTDIR)/$(mandir)/man1
-@mkdir -p $(DESTDIR)/$(mandir)/man5
-@mkdir -p $(DESTDIR)/@ETCDIR@
@INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpd $(DESTDIR)/@libexecdir@/ftpd
@INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpshut $(DESTDIR)/@sbindir@/ftpshut
@INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpcount $(DESTDIR)/@bindir@/ftpcount
@INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftpwho $(DESTDIR)/@bindir@/ftpwho
@INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ckconfig $(DESTDIR)/@sbindir@/ckconfig
@INSTALL_PROGRAM@ -o bin -g bin -m 755 bin/ftprestart $(DESTDIR)/@sbindir@/ftprestart
@INSTALL_PROGRAM@ -o bin -g bin -m 755 util/privatepw/privatepw $(DESTDIR)/@sbindir@/privatepw
@echo installing manpages.
-@mkdir -p $(mandir)
@INSTALL_DATA@ -o bin -g bin -m 644 doc/ftpd.8 $(DESTDIR)/$(mandir)/man8/ftpd.8
@INSTALL_DATA@ -o bin -g bin -m 644 doc/ftpcount.1 $(DESTDIR)/$(mandir)/man1/ftpcount.1
@INSTALL_DATA@ -o bin -g bin -m 644 doc/ftpwho.1 $(DESTDIR)/$(mandir)/man1/ftpwho.1
@INSTALL_DATA@ -o bin -g bin -m 644 doc/ftpshut.8 $(DESTDIR)/$(mandir)/man8/ftpshut.8
@INSTALL_DATA@ -o bin -g bin -m 644 doc/ftpaccess.5 $(DESTDIR)/$(mandir)/man5/ftpaccess.5
@INSTALL_DATA@ -o bin -g bin -m 644 doc/ftphosts.5 $(DESTDIR)/$(mandir)/man5/ftphosts.5
@INSTALL_DATA@ -o bin -g bin -m 644 doc/ftpconversions.5 $(DESTDIR)/$(mandir)/man5/ftpconversions.5
@INSTALL_DATA@ -o bin -g bin -m 644 doc/ftpservers.5 $(DESTDIR)/$(mandir)/man5/ftpservers.5
@INSTALL_DATA@ -o bin -g bin -m 644 doc/xferlog.5 $(DESTDIR)/$(mandir)/man5/xferlog.5
@INSTALL_DATA@ -o bin -g bin -m 644 doc/ftprestart.8 $(DESTDIR)/$(mandir)/man8/ftprestart.8
@INSTALL_DATA@ -o bin -g bin -m 644 util/privatepw/privatepw.8 $(DESTDIR)/$(mandir)/man8/privatepw.8
@INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpaccess $(DESTDIR)/@ETCDIR@/ftpaccess.example
@INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpconversions $(DESTDIR)/@ETCDIR@/ftpconversions.example
@INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpgroups $(DESTDIR)/@ETCDIR@/ftpgroups.example
@INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftphosts $(DESTDIR)/@ETCDIR@/ftphosts.example
@INSTALL@ -c -o bin -g bin -m 644 doc/examples/ftpusers $(DESTDIR)/@ETCDIR@/ftpusers.example
syntax highlighted by Code2HTML, v. 0.9.1