head	1.16;
access;
symbols
	perseant-exfatfs-base-20250801:1.16
	perseant-exfatfs-base-20240630:1.16
	perseant-exfatfs:1.16.0.48
	perseant-exfatfs-base:1.16
	cjep_sun2x:1.16.0.46
	cjep_sun2x-base:1.16
	cjep_staticlib_x-base1:1.16
	cjep_staticlib_x:1.16.0.44
	cjep_staticlib_x-base:1.16
	phil-wifi-20200421:1.16
	phil-wifi-20200411:1.16
	phil-wifi-20200406:1.16
	pgoyette-compat-merge-20190127:1.16
	pgoyette-compat-20190127:1.16
	pgoyette-compat-20190118:1.16
	pgoyette-compat-1226:1.16
	pgoyette-compat-1126:1.16
	pgoyette-compat-1020:1.16
	pgoyette-compat-0930:1.16
	pgoyette-compat-0906:1.16
	pgoyette-compat-0728:1.16
	pgoyette-compat-0625:1.16
	pgoyette-compat-0521:1.16
	pgoyette-compat-0502:1.16
	pgoyette-compat-0422:1.16
	pgoyette-compat-0415:1.16
	pgoyette-compat-0407:1.16
	pgoyette-compat-0330:1.16
	pgoyette-compat-0322:1.16
	pgoyette-compat-0315:1.16
	pgoyette-compat:1.16.0.42
	pgoyette-compat-base:1.16
	perseant-stdc-iso10646:1.16.0.40
	perseant-stdc-iso10646-base:1.16
	prg-localcount2-base3:1.16
	prg-localcount2-base2:1.16
	prg-localcount2-base1:1.16
	prg-localcount2:1.16.0.38
	prg-localcount2-base:1.16
	pgoyette-localcount-20170426:1.16
	bouyer-socketcan-base1:1.16
	pgoyette-localcount-20170320:1.16
	bouyer-socketcan:1.16.0.36
	bouyer-socketcan-base:1.16
	pgoyette-localcount-20170107:1.16
	pgoyette-localcount-20161104:1.16
	localcount-20160914:1.16
	pgoyette-localcount-20160806:1.16
	pgoyette-localcount-20160726:1.16
	pgoyette-localcount:1.16.0.34
	pgoyette-localcount-base:1.16
	netbsd-5-2-3-RELEASE:1.16
	netbsd-5-1-5-RELEASE:1.16
	yamt-pagecache-base9:1.16
	yamt-pagecache-tag8:1.16
	tls-earlyentropy:1.16.0.30
	tls-earlyentropy-base:1.16
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.16
	riastradh-drm2-base3:1.16
	netbsd-5-2-2-RELEASE:1.16
	netbsd-5-1-4-RELEASE:1.16
	netbsd-5-2-1-RELEASE:1.16
	netbsd-5-1-3-RELEASE:1.16
	agc-symver:1.16.0.32
	agc-symver-base:1.16
	tls-maxphys-base:1.16
	yamt-pagecache-base8:1.16
	netbsd-5-2:1.16.0.28
	yamt-pagecache-base7:1.16
	netbsd-5-2-RELEASE:1.16
	netbsd-5-2-RC1:1.16
	yamt-pagecache-base6:1.16
	yamt-pagecache-base5:1.16
	yamt-pagecache-base4:1.16
	netbsd-5-1-2-RELEASE:1.16
	netbsd-5-1-1-RELEASE:1.16
	yamt-pagecache-base3:1.16
	yamt-pagecache-base2:1.16
	yamt-pagecache:1.16.0.26
	yamt-pagecache-base:1.16
	bouyer-quota2-nbase:1.16
	bouyer-quota2:1.16.0.24
	bouyer-quota2-base:1.16
	matt-nb5-pq3:1.16.0.22
	matt-nb5-pq3-base:1.16
	netbsd-5-1:1.16.0.20
	netbsd-5-1-RELEASE:1.16
	netbsd-5-1-RC4:1.16
	netbsd-5-1-RC3:1.16
	netbsd-5-1-RC2:1.16
	netbsd-5-1-RC1:1.16
	netbsd-5-0-2-RELEASE:1.16
	netbsd-5-0-1-RELEASE:1.16
	jym-xensuspend-nbase:1.16
	netbsd-5-0:1.16.0.18
	netbsd-5-0-RELEASE:1.16
	netbsd-5-0-RC4:1.16
	netbsd-5-0-RC3:1.16
	netbsd-5-0-RC2:1.16
	jym-xensuspend:1.16.0.16
	jym-xensuspend-base:1.16
	netbsd-5-0-RC1:1.16
	netbsd-5:1.16.0.14
	netbsd-5-base:1.16
	yamt-pf42-base4:1.16
	yamt-pf42-base3:1.16
	hpcarm-cleanup-nbase:1.16
	yamt-pf42-base2:1.16
	yamt-pf42:1.16.0.12
	yamt-pf42-base:1.16
	mjf-devfs2:1.16.0.10
	mjf-devfs2-base:1.16
	keiichi-mipv6:1.16.0.8
	keiichi-mipv6-base:1.16
	mjf-devfs:1.16.0.6
	mjf-devfs-base:1.16
	cube-autoconf:1.16.0.4
	cube-autoconf-base:1.16
	hpcarm-cleanup:1.16.0.2
	hpcarm-cleanup-base:1.16
	netbsd-1-6-PATCH002-RELEASE:1.13.2.2
	netbsd-1-6-PATCH002:1.13.2.2
	netbsd-1-6-PATCH002-RC4:1.13.2.2
	netbsd-1-6-PATCH002-RC3:1.13.2.2
	netbsd-1-6-PATCH002-RC2:1.13.2.2
	netbsd-1-6-PATCH002-RC1:1.13.2.2
	netbsd-1-6-PATCH001:1.13.2.2
	netbsd-1-6-PATCH001-RELEASE:1.13.2.2
	netbsd-1-6-PATCH001-RC3:1.13.2.2
	netbsd-1-6-PATCH001-RC2:1.13.2.2
	netbsd-1-6-PATCH001-RC1:1.13.2.2
	netbsd-1-6-RELEASE:1.13
	netbsd-1-6-RC3:1.13
	netbsd-1-6-RC2:1.13
	netbsd-1-6-RC1:1.13
	netbsd-1-6:1.13.0.2
	netbsd-1-6-base:1.13
	netbsd-1-5-PATCH003:1.9.4.2
	netbsd-1-5-PATCH002:1.9.4.2
	netbsd-1-5-PATCH001:1.9.4.1
	netbsd-1-5-RELEASE:1.9.4.1
	netbsd-1-5-BETA2:1.9.4.1
	netbsd-1-5-BETA:1.9.4.1
	netbsd-1-4-PATCH003:1.3.2.1
	netbsd-1-5-ALPHA2:1.9
	netbsd-1-5:1.9.0.4
	netbsd-1-5-base:1.9
	minoura-xpg4dl:1.9.0.2
	minoura-xpg4dl-base:1.9
	netbsd-1-4-PATCH002:1.3.2.1
	wrstuden-devbsize-19991221:1.6
	wrstuden-devbsize:1.6.0.4
	wrstuden-devbsize-base:1.6
	comdex-fall-1999:1.6.0.2
	comdex-fall-1999-base:1.6
	netbsd-1-4-PATCH001:1.3.2.1
	netbsd-1-4-RELEASE:1.3
	netbsd-1-4:1.3.0.2
	netbsd-1-4-base:1.3
	netbsd-1-3-PATCH003:1.1.2.2
	netbsd-1-3-PATCH003-CANDIDATE2:1.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.1
	netbsd-1-3-PATCH002:1.1
	netbsd-1-3-PATCH001:1.1
	netbsd-1-3-RELEASE:1.1
	netbsd-1-3-BETA:1.1
	netbsd-1-3:1.1.0.2;
locks; strict;
comment	@# @;


1.16
date	2002.10.17.06.38.24;	author lukem;	state dead;
branches;
next	1.15;

1.15
date	2002.10.17.02.05.39;	author lukem;	state Exp;
branches;
next	1.14;

1.14
date	2002.06.18.02.02.21;	author itojun;	state Exp;
branches;
next	1.13;

1.13
date	2001.12.12.00.05.12;	author tv;	state Exp;
branches
	1.13.2.1;
next	1.12;

1.12
date	2001.10.05.01.17.30;	author jmc;	state Exp;
branches;
next	1.11;

1.11
date	2001.08.20.12.19.45;	author martin;	state Exp;
branches;
next	1.10;

1.10
date	2000.09.05.15.49.28;	author minoura;	state Exp;
branches;
next	1.9;

1.9
date	2000.05.18.01.10.27;	author matt;	state Exp;
branches
	1.9.4.1;
next	1.8;

1.8
date	2000.05.18.00.43.07;	author matt;	state Exp;
branches;
next	1.7;

1.7
date	2000.05.04.03.27.09;	author itojun;	state Exp;
branches;
next	1.6;

1.6
date	99.06.25.01.07.56;	author cgd;	state Exp;
branches;
next	1.5;

1.5
date	99.06.21.01.19.36;	author cgd;	state Exp;
branches;
next	1.4;

1.4
date	99.05.19.04.17.50;	author gwr;	state Exp;
branches;
next	1.3;

1.3
date	99.02.13.02.54.19;	author lukem;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	98.08.02.03.17.21;	author lukem;	state Exp;
branches;
next	1.1;

1.1
date	97.11.17.01.35.57;	author cjs;	state Exp;
branches
	1.1.2.1;
next	;

1.13.2.1
date	2002.11.03.13.18.58;	author he;	state Exp;
branches;
next	1.13.2.2;

1.13.2.2
date	2003.02.10.06.06.21;	author jmc;	state Exp;
branches;
next	;

1.9.4.1
date	2000.09.07.01.36.31;	author minoura;	state Exp;
branches;
next	1.9.4.2;

1.9.4.2
date	2001.07.29.20.32.31;	author he;	state Exp;
branches;
next	;

1.3.2.1
date	99.06.25.01.21.52;	author cgd;	state Exp;
branches;
next	;

1.1.2.1
date	97.11.17.01.35.57;	author cgd;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	98.12.14.04.31.55;	author cgd;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Now that usr.bin/ftp/Makefile supports SMALLPROG and SMALLPROG_INET6,
we don't need distrib/utils/x_ftp anymore...
@
text
@# $NetBSD: Makefile,v 1.15 2002/10/17 02:05:39 lukem Exp $
# Build a smaller ftp (i.e. for boot media)

SRCDIR=		${.CURDIR}/../../../usr.bin/ftp

PROG=		ftp
NOMAN=		# defined

SRCS=		cmds.c cmdtab.c complete.c domacro.c fetch.c \
		ftp.c main.c ruserpass.c util.c

CPPFLAGS+=	-DNO_EDITCOMPLETE -DNO_ABOUT -I${SRCDIR}
.if defined(SMALLPROG_INET6)
CPPFLAGS+=	-DINET6
.endif

# Need -lutil for: fparseln
DPADD=		${LIBUTIL}
LDADD=		-lutil

.include <bsd.prog.mk>

.PATH:		${SRCDIR}
@


1.15
log
@Rework how SMALLPROG was being used and how INET6 support was enabled.
There's two variables added to Makefile.crunch:

    SMALLPROG		If 1, add SMALLPROG=1 to CRUNCHENV.  [default: 1]
			This can be used by various Makefiles to
			determine if a `small' version of the program
			is required.

    SMALLPROG_INET6	If 1 and SMALLPROG == 1, add SMALLPROG_INET6=1
			to CRUNCHENV.  [default: 0]
			This can be used by various Makefiles to
			determine if the `small' version has INET6
			support enabled.

Only enable SMALLPROG_INET6 for programs on the ramdisks that have INET6 in
the appropriate kernel, and cleanup INET6 setting.
(Note: this means that sysinst won't get INET6 support if the kernel
it's running on doesn't have it).

This change saves a fair bit of space on various install images
(including i386 ramdisk-{ps2,small,tiny}) that didn't have INET6 in
the kernel but were unconditionally getting INET6 support in their tools.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2002/06/18 02:02:21 itojun Exp $
@


1.14
log
@make macppc install floppy IPv6 ready
(we have two floppies anyways, and there's plenty of space in 2nd floppy)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2001/12/12 00:05:12 tv Exp $
d13 1
a13 1
.if (${MACHINE} == "i386" || ${MACHINE} == "hpcmips" || ${MACHINE} == "x68k" || ${MACHINE} == "macppc")
@


1.13
log
@Major readability cleanup; nuke redundancies; MKfoo=no -> NOfoo=.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2001/10/05 01:17:30 jmc Exp $
d13 1
a13 1
.if (${MACHINE} == "i386" || ${MACHINE} == "hpcmips" || ${MACHINE} == "x68k")
@


1.13.2.1
log
@Pull up revision 1.14 (requested by itojun in ticket #347):
  Make macppc install floppy IPv6-ready.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2001/12/12 00:05:12 tv Exp $
d13 1
a13 1
.if (${MACHINE} == "i386" || ${MACHINE} == "hpcmips" || ${MACHINE} == "x68k" || ${MACHINE} == "macppc")
@


1.13.2.2
log
@Hand patch to include progresscar.c (requested by grant in ticket #1115)
 Separate progress reporting into a utility set of routines. Use
 these to provide a standalone progress binary and integrate support
 for this into sysinst.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13.2.1 2002/11/03 13:18:58 he Exp $
d10 1
a10 1
		ftp.c main.c ruserpass.c util.c progressbar.c
@


1.12
log
@Change all COPTS+=-Os to DBG=-Os as that var actually controls the optimization
levels
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2001/08/20 12:19:45 martin Exp $
d4 1
a4 2
PROG=	ftp
MKMAN=	no
d6 2
a7 5
# Need -lutil for: fparseln
DPADD= ${LIBUTIL}
LDADD= -lutil

SRCDIR= ${.CURDIR}/../../../usr.bin/ftp
d9 2
a10 2
SRCS=	cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c ruserpass.c \
	util.c
d12 1
a12 1
CPPFLAGS+= -DNO_EDITCOMPLETE -DNO_ABOUT -I${SRCDIR}
d14 1
a14 1
CPPFLAGS+= -DINET6
a15 4
.if ${MACHINE_ARCH} != "sparc64"
DBG= -Os
.endif
LDSTATIC?=-static
d17 3
a19 1
all: ${PROG}
d23 1
a23 1
.PATH:  ${SRCDIR}
@


1.11
log
@Drop ``-Os'' on sparc64 due to toolchain issues.

The same change has already been applied on the 1.5 branch. The problems
(i.e. ifconfig not showing IP addresses) have been verified to still exist
with the new toolchain.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2000/09/05 15:49:28 minoura Exp $
d21 1
a21 1
COPTS+= -Os
@


1.10
log
@Enable INET6 on x68k.
Use ${MACHINE} instead of ${MACHINE_ARCH}, since the installer is
built per-${MACHINE} based.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2000/05/18 01:10:27 matt Exp $
d20 1
d22 1
@


1.9
log
@Part II.  Link everything -static since that's what want for crunchgen
later on.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2000/05/18 00:43:07 matt Exp $
d17 1
a17 1
.if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "hpcmips")
@


1.9.4.1
log
@Pullup rev.1.10; reviewed by shin, approved by thorpej.
Enable INET6 on x68k.
Use ${MACHINE} instead of ${MACHINE_ARCH}, since the installer is
built per-${MACHINE} based.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2000/05/18 01:10:27 matt Exp $
d17 1
a17 1
.if (${MACHINE} == "i386" || ${MACHINE} == "hpcmips" || ${MACHINE} == "x68k")
@


1.9.4.2
log
@Apply patch (requested by martin):
  Drop ``-Os'' on sparc64 due to toolchain issues.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9.4.1 2000/09/07 01:36:31 minoura Exp $
a19 1
.if ${MACHINE_ARCH} != "sparc64"
a20 1
.endif
@


1.8
log
@Compile things with -Os.  I wonder if compiling -Mno-pic for mips and vax
would shrink them even more?
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2000/05/04 03:27:09 itojun Exp $
d21 1
@


1.7
log
@make -DINET6 conditional with MACHINE_ARCH.
checked after a comment from "Simon J. Gerraty" <sjg@@quick.com.au>
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 1999/06/25 01:07:56 cgd Exp $
d20 1
@


1.6
log
@use -DNO_EDITCOMPLETE -DNO_ABOUT rather than -DSMALL.  The latter excludes
the progress meter code, which isn't particularly large and which is _very_
useful when downloading distribution sets from a not-local network.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 1999/06/21 01:19:36 cgd Exp $
d17 3
@


1.5
log
@dependencies on BSDSRCDIR should be _removed_, not introduced.  Use
paths relative to ${.CURDIR} instead.  Using BSDSRCDIR here means that
it's impossible to compile these programs out of the source tree they're
a part of, unless that sort tree happens to be the one at BSDSRCDIR.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 1999/05/19 04:17:50 gwr Exp $
d16 1
a16 1
CPPFLAGS+= -DSMALL -I${SRCDIR}
@


1.4
log
@Things in distrib/utils need to know BSDSRCDIR anway,
so we might as well use it.  Lots simpler.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1999/02/13 02:54:19 lukem Exp $
d11 1
a11 1
SRCDIR= ${BSDSRCDIR}/usr.bin/ftp
@


1.3
log
@convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1998/08/02 03:17:21 lukem Exp $
d11 1
a11 1
SRCDIR= ${.CURDIR}/../../../usr.bin/ftp
@


1.3.2.1
log
@pull up revs 1.4-1.6 from trunk. (cgd)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1999/02/13 02:54:19 lukem Exp $
d16 1
a16 1
CPPFLAGS+= -DNO_EDITCOMPLETE -DNO_ABOUT -I${SRCDIR}
@


1.2
log
@link with -lutil for fparseln(). noted by jim bernard in bin/5895
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 1997/11/17 01:35:57 cjs Exp $
d5 1
a5 1
NOMAN=	
@


1.1
log
@Add -DSMALL versions of ftp and sh for install disks.
@
text
@d1 1
a1 1
# $NetBSD$
d6 4
@


1.1.2.1
log
@file Makefile was added on branch netbsd-1-3 on 1998-12-14 04:31:55 +0000
@
text
@d1 18
@


1.1.2.2
log
@needs fparseln.c, to match main ftp Makefile
@
text
@a0 18
# $NetBSD: Makefile,v 1.1.2.1 1998/12/14 04:31:55 cgd Exp $
# Build a smaller ftp (i.e. for boot media)

PROG=	ftp
NOMAN=	

SRCDIR= ${.CURDIR}/../../../usr.bin/ftp

SRCS=	cmds.c cmdtab.c complete.c domacro.c fetch.c ftp.c main.c ruserpass.c \
	util.c fparseln.c

CPPFLAGS+= -DSMALL -I${SRCDIR}

all: ${PROG}

.include <bsd.prog.mk>

.PATH:  ${SRCDIR}
@
