head	1.16;
access;
symbols
	netbsd-11-0-RC4:1.16
	netbsd-11-0-RC3:1.16
	netbsd-11-0-RC2:1.16
	netbsd-11-0-RC1:1.16
	perseant-exfatfs-base-20250801:1.16
	netbsd-11:1.16.0.16
	netbsd-11-base:1.16
	netbsd-10-1-RELEASE:1.16
	perseant-exfatfs-base-20240630:1.16
	perseant-exfatfs:1.16.0.14
	perseant-exfatfs-base:1.16
	netbsd-8-3-RELEASE:1.15
	netbsd-9-4-RELEASE:1.16
	netbsd-10-0-RELEASE:1.16
	netbsd-10-0-RC6:1.16
	netbsd-10-0-RC5:1.16
	netbsd-10-0-RC4:1.16
	netbsd-10-0-RC3:1.16
	netbsd-10-0-RC2:1.16
	netbsd-10-0-RC1:1.16
	netbsd-10:1.16.0.12
	netbsd-10-base:1.16
	netbsd-9-3-RELEASE:1.16
	cjep_sun2x-base1:1.16
	cjep_sun2x:1.16.0.10
	cjep_sun2x-base:1.16
	cjep_staticlib_x-base1:1.16
	netbsd-9-2-RELEASE:1.16
	cjep_staticlib_x:1.16.0.8
	cjep_staticlib_x-base:1.16
	netbsd-9-1-RELEASE:1.16
	phil-wifi-20200421:1.16
	phil-wifi-20200411:1.16
	is-mlppp:1.16.0.6
	is-mlppp-base:1.16
	phil-wifi-20200406:1.16
	netbsd-8-2-RELEASE:1.15
	netbsd-9-0-RELEASE:1.16
	netbsd-9-0-RC2:1.16
	netbsd-9-0-RC1:1.16
	phil-wifi-20191119:1.16
	netbsd-9:1.16.0.4
	netbsd-9-base:1.16
	phil-wifi-20190609:1.16
	netbsd-8-1-RELEASE:1.15
	netbsd-8-1-RC1:1.15
	pgoyette-compat-merge-20190127:1.15.74.1
	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
	netbsd-7-2-RELEASE:1.15
	pgoyette-compat-0728:1.16
	netbsd-8-0-RELEASE:1.15
	phil-wifi:1.16.0.2
	phil-wifi-base:1.16
	pgoyette-compat-0625:1.15
	netbsd-8-0-RC2:1.15
	pgoyette-compat-0521:1.15
	pgoyette-compat-0502:1.15
	pgoyette-compat-0422:1.15
	netbsd-8-0-RC1:1.15
	pgoyette-compat-0415:1.15
	pgoyette-compat-0407:1.15
	pgoyette-compat-0330:1.15
	pgoyette-compat-0322:1.15
	pgoyette-compat-0315:1.15
	netbsd-7-1-2-RELEASE:1.15
	pgoyette-compat:1.15.0.74
	pgoyette-compat-base:1.15
	netbsd-7-1-1-RELEASE:1.15
	matt-nb8-mediatek:1.15.0.72
	matt-nb8-mediatek-base:1.15
	perseant-stdc-iso10646:1.15.0.70
	perseant-stdc-iso10646-base:1.15
	netbsd-8:1.15.0.68
	netbsd-8-base:1.15
	prg-localcount2-base3:1.15
	prg-localcount2-base2:1.15
	prg-localcount2-base1:1.15
	prg-localcount2:1.15.0.66
	prg-localcount2-base:1.15
	pgoyette-localcount-20170426:1.15
	bouyer-socketcan-base1:1.15
	pgoyette-localcount-20170320:1.15
	netbsd-7-1:1.15.0.64
	netbsd-7-1-RELEASE:1.15
	netbsd-7-1-RC2:1.15
	netbsd-7-nhusb-base-20170116:1.15
	bouyer-socketcan:1.15.0.62
	bouyer-socketcan-base:1.15
	pgoyette-localcount-20170107:1.15
	netbsd-7-1-RC1:1.15
	pgoyette-localcount-20161104:1.15
	netbsd-7-0-2-RELEASE:1.15
	localcount-20160914:1.15
	netbsd-7-nhusb:1.15.0.60
	netbsd-7-nhusb-base:1.15
	pgoyette-localcount-20160806:1.15
	pgoyette-localcount-20160726:1.15
	pgoyette-localcount:1.15.0.58
	pgoyette-localcount-base:1.15
	netbsd-7-0-1-RELEASE:1.15
	netbsd-7-0:1.15.0.56
	netbsd-7-0-RELEASE:1.15
	netbsd-7-0-RC3:1.15
	netbsd-7-0-RC2:1.15
	netbsd-7-0-RC1:1.15
	netbsd-5-2-3-RELEASE:1.15
	netbsd-5-1-5-RELEASE:1.15
	netbsd-6-0-6-RELEASE:1.15
	netbsd-6-1-5-RELEASE:1.15
	netbsd-7:1.15.0.54
	netbsd-7-base:1.15
	yamt-pagecache-base9:1.15
	yamt-pagecache-tag8:1.15
	netbsd-6-1-4-RELEASE:1.15
	netbsd-6-0-5-RELEASE:1.15
	tls-earlyentropy:1.15.0.52
	tls-earlyentropy-base:1.15
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.15
	riastradh-drm2-base3:1.15
	netbsd-6-1-3-RELEASE:1.15
	netbsd-6-0-4-RELEASE:1.15
	netbsd-5-2-2-RELEASE:1.15
	netbsd-5-1-4-RELEASE:1.15
	netbsd-6-1-2-RELEASE:1.15
	netbsd-6-0-3-RELEASE:1.15
	netbsd-5-2-1-RELEASE:1.15
	netbsd-5-1-3-RELEASE:1.15
	netbsd-6-1-1-RELEASE:1.15
	riastradh-drm2-base2:1.15
	riastradh-drm2-base1:1.15
	riastradh-drm2:1.15.0.46
	riastradh-drm2-base:1.15
	netbsd-6-1:1.15.0.50
	netbsd-6-0-2-RELEASE:1.15
	netbsd-6-1-RELEASE:1.15
	netbsd-6-1-RC4:1.15
	netbsd-6-1-RC3:1.15
	agc-symver:1.15.0.48
	agc-symver-base:1.15
	netbsd-6-1-RC2:1.15
	netbsd-6-1-RC1:1.15
	yamt-pagecache-base8:1.15
	netbsd-5-2:1.15.0.44
	netbsd-6-0-1-RELEASE:1.15
	yamt-pagecache-base7:1.15
	netbsd-5-2-RELEASE:1.15
	netbsd-5-2-RC1:1.15
	matt-nb6-plus-nbase:1.15
	yamt-pagecache-base6:1.15
	netbsd-6-0:1.15.0.42
	netbsd-6-0-RELEASE:1.15
	netbsd-6-0-RC2:1.15
	tls-maxphys:1.15.0.40
	tls-maxphys-base:1.15
	matt-nb6-plus:1.15.0.38
	matt-nb6-plus-base:1.15
	netbsd-6-0-RC1:1.15
	yamt-pagecache-base5:1.15
	yamt-pagecache-base4:1.15
	netbsd-6:1.15.0.36
	netbsd-6-base:1.15
	netbsd-5-1-2-RELEASE:1.15
	netbsd-5-1-1-RELEASE:1.15
	yamt-pagecache-base3:1.15
	yamt-pagecache-base2:1.15
	yamt-pagecache:1.15.0.34
	yamt-pagecache-base:1.15
	cherry-xenmp:1.15.0.32
	cherry-xenmp-base:1.15
	bouyer-quota2-nbase:1.15
	bouyer-quota2:1.15.0.30
	bouyer-quota2-base:1.15
	matt-mips64-premerge-20101231:1.15
	matt-nb5-mips64-premerge-20101231:1.15
	matt-nb5-pq3:1.15.0.28
	matt-nb5-pq3-base:1.15
	netbsd-5-1:1.15.0.26
	netbsd-5-1-RELEASE:1.15
	netbsd-5-1-RC4:1.15
	matt-nb5-mips64-k15:1.15
	netbsd-5-1-RC3:1.15
	netbsd-5-1-RC2:1.15
	netbsd-5-1-RC1:1.15
	netbsd-5-0-2-RELEASE:1.15
	matt-nb5-mips64-premerge-20091211:1.15
	matt-premerge-20091211:1.15
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.15
	matt-nb4-mips64-k7-u2a-k9b:1.15
	matt-nb5-mips64-u1-k1-k5:1.15
	matt-nb5-mips64:1.15.0.24
	netbsd-5-0-1-RELEASE:1.15
	jym-xensuspend-nbase:1.15
	netbsd-5-0:1.15.0.22
	netbsd-5-0-RELEASE:1.15
	netbsd-5-0-RC4:1.15
	netbsd-5-0-RC3:1.15
	netbsd-5-0-RC2:1.15
	jym-xensuspend:1.15.0.20
	jym-xensuspend-base:1.15
	netbsd-5-0-RC1:1.15
	netbsd-5:1.15.0.18
	netbsd-5-base:1.15
	matt-mips64-base2:1.15
	matt-mips64:1.15.0.16
	mjf-devfs2:1.15.0.14
	mjf-devfs2-base:1.15
	netbsd-4-0-1-RELEASE:1.14
	wrstuden-revivesa-base-3:1.15
	wrstuden-revivesa-base-2:1.15
	wrstuden-fixsa-newbase:1.14
	wrstuden-revivesa-base-1:1.15
	yamt-pf42-base4:1.15
	yamt-pf42-base3:1.15
	hpcarm-cleanup-nbase:1.15
	yamt-pf42-baseX:1.15
	yamt-pf42-base2:1.15
	wrstuden-revivesa:1.15.0.12
	wrstuden-revivesa-base:1.15
	yamt-pf42:1.15.0.10
	yamt-pf42-base:1.15
	keiichi-mipv6-nbase:1.15
	keiichi-mipv6:1.15.0.8
	keiichi-mipv6-base:1.15
	matt-armv6-nbase:1.15
	matt-armv6-prevmlocking:1.15
	wrstuden-fixsa-base-1:1.14
	netbsd-4-0:1.14.0.22
	netbsd-4-0-RELEASE:1.14
	cube-autoconf:1.15.0.6
	cube-autoconf-base:1.15
	netbsd-4-0-RC5:1.14
	netbsd-4-0-RC4:1.14
	netbsd-4-0-RC3:1.14
	netbsd-4-0-RC2:1.14
	netbsd-4-0-RC1:1.14
	matt-armv6:1.15.0.4
	matt-armv6-base:1.15
	matt-mips64-base:1.15
	hpcarm-cleanup:1.15.0.2
	hpcarm-cleanup-base:1.15
	netbsd-3-1-1-RELEASE:1.14
	netbsd-3-0-3-RELEASE:1.14
	wrstuden-fixsa:1.14.0.20
	wrstuden-fixsa-base:1.14
	abandoned-netbsd-4-base:1.14
	abandoned-netbsd-4:1.14.0.14
	netbsd-3-1:1.14.0.16
	netbsd-3-1-RELEASE:1.14
	netbsd-3-0-2-RELEASE:1.14
	netbsd-3-1-RC4:1.14
	netbsd-3-1-RC3:1.14
	netbsd-3-1-RC2:1.14
	netbsd-3-1-RC1:1.14
	netbsd-4:1.14.0.18
	netbsd-4-base:1.14
	chap-midi-nbase:1.14
	netbsd-3-0-1-RELEASE:1.14
	chap-midi:1.14.0.12
	chap-midi-base:1.14
	netbsd-3-0:1.14.0.10
	netbsd-3-0-RELEASE:1.14
	netbsd-3-0-RC6:1.14
	netbsd-3-0-RC5:1.14
	netbsd-3-0-RC4:1.14
	netbsd-3-0-RC3:1.14
	netbsd-3-0-RC2:1.14
	netbsd-3-0-RC1:1.14
	netbsd-2-0-3-RELEASE:1.14
	netbsd-2-1:1.14.0.8
	netbsd-2-1-RELEASE:1.14
	netbsd-2-1-RC6:1.14
	netbsd-2-1-RC5:1.14
	netbsd-2-1-RC4:1.14
	netbsd-2-1-RC3:1.14
	netbsd-2-1-RC2:1.14
	netbsd-2-1-RC1:1.14
	netbsd-2-0-2-RELEASE:1.14
	netbsd-3:1.14.0.6
	netbsd-3-base:1.14
	netbsd-2-0-1-RELEASE:1.14
	netbsd-2:1.14.0.4
	netbsd-2-base:1.14
	netbsd-2-0-RELEASE:1.14
	netbsd-2-0-RC5:1.14
	netbsd-2-0-RC4:1.14
	netbsd-2-0-RC3:1.14
	netbsd-2-0-RC2:1.14
	netbsd-2-0-RC1:1.14
	netbsd-2-0:1.14.0.2
	netbsd-2-0-base:1.14
	netbsd-1-6-PATCH002-RELEASE:1.11.2.1
	netbsd-1-6-PATCH002:1.11.2.1
	netbsd-1-6-PATCH002-RC4:1.11.2.1
	netbsd-1-6-PATCH002-RC3:1.11.2.1
	netbsd-1-6-PATCH002-RC2:1.11.2.1
	netbsd-1-6-PATCH002-RC1:1.11.2.1
	netbsd-1-6-PATCH001:1.11
	netbsd-1-6-PATCH001-RELEASE:1.11
	netbsd-1-6-PATCH001-RC3:1.11
	netbsd-1-6-PATCH001-RC2:1.11
	netbsd-1-6-PATCH001-RC1:1.11
	fvdl_fs64_base:1.12
	netbsd-1-6-RELEASE:1.11
	netbsd-1-6-RC3:1.11
	netbsd-1-6-RC2:1.11
	netbsd-1-6-RC1:1.11
	netbsd-1-6:1.11.0.2
	netbsd-1-6-base:1.11
	netbsd-1-5-PATCH003:1.10
	netbsd-1-5-PATCH002:1.10
	netbsd-1-5-PATCH001:1.10
	netbsd-1-5-RELEASE:1.10
	netbsd-1-5-BETA2:1.10
	netbsd-1-5-BETA:1.10
	netbsd-1-4-PATCH003:1.10
	netbsd-1-5-ALPHA2:1.10
	netbsd-1-5:1.10.0.10
	netbsd-1-5-base:1.10
	minoura-xpg4dl-base:1.10
	minoura-xpg4dl:1.10.0.8
	netbsd-1-4-PATCH002:1.10
	wrstuden-devbsize-19991221:1.10
	wrstuden-devbsize:1.10.0.6
	wrstuden-devbsize-base:1.10
	comdex-fall-1999:1.10.0.4
	comdex-fall-1999-base:1.10
	netbsd-1-4-PATCH001:1.10
	netbsd-1-4-RELEASE:1.10
	netbsd-1-4:1.10.0.2
	netbsd-1-4-base:1.10
	netbsd-1-3-PATCH003:1.9.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.9.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.9.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.9.2.1
	netbsd-1-3-PATCH002:1.9.2.1
	netbsd-1-3-PATCH001:1.9.2.1
	netbsd-1-3-RELEASE:1.9.2.1
	netbsd-1-3-BETA:1.9.2.1
	netbsd-1-3:1.9.0.2
	netbsd-1-3-base:1.9
	netbsd-1-2-PATCH001:1.6
	lite-2:1.1.1.2
	netbsd-1-2-RELEASE:1.6
	netbsd-1-2-BETA:1.6
	netbsd-1-2:1.6.0.4
	netbsd-1-2-base:1.6
	netbsd-1-1-PATCH001:1.5
	netbsd-1-1-RELEASE:1.5
	netbsd-1-1:1.5.0.2
	netbsd-1-1-base:1.5
	lite-1:1.1.1.2
	CSRG:1.1.1
	netbsd-1-0-PATCH06:1.3
	netbsd-1-0-PATCH05:1.3
	netbsd-1-0-PATCH04:1.3
	netbsd-1-0-PATCH03:1.3
	netbsd-1-0-PATCH02:1.3
	netbsd-1-0-PATCH1:1.3
	netbsd-1-0-PATCH0:1.3
	netbsd-1-0-RELEASE:1.3
	netbsd-1-0:1.3.0.2
	netbsd-1-0-base:1.3
	netbsd-0-9-RELEASE:1.2
	netbsd-0-9-BETA:1.2
	netbsd-0-9-ALPHA2:1.2
	netbsd-0-9-ALPHA:1.2
	netbsd-0-9:1.2.0.2
	netbsd-0-9-base:1.2
	netbsd-0-8:1.1.1.1
	netbsd-alpha-1:1.1.1.1
	patchkit-0-2-2:1.1.1.1
	WFJ-386bsd-01:1.1.1.1
	WFJ-920714:1.1.1;
locks; strict;
comment	@# @;


1.16
date	2018.06.25.18.05.25;	author kamil;	state Exp;
branches;
next	1.15;
commitid	BjuMJ6Aw6sQDPGHA;

1.15
date	2007.05.28.12.06.25;	author tls;	state Exp;
branches
	1.15.74.1;
next	1.14;

1.14
date	2003.07.22.12.25.57;	author lukem;	state Exp;
branches;
next	1.13;

1.13
date	2003.04.05.20.32.26;	author bouyer;	state Exp;
branches;
next	1.12;

1.12
date	2002.09.18.14.00.35;	author lukem;	state Exp;
branches;
next	1.11;

1.11
date	2002.03.22.18.10.22;	author thorpej;	state Exp;
branches
	1.11.2.1;
next	1.10;

1.10
date	97.10.24.09.00.22;	author lukem;	state Exp;
branches;
next	1.9;

1.9
date	97.07.22.11.38.33;	author mrg;	state Exp;
branches
	1.9.2.1;
next	1.8;

1.8
date	97.05.08.21.11.37;	author gwr;	state Exp;
branches;
next	1.7;

1.7
date	97.05.06.20.45.30;	author gwr;	state Exp;
branches;
next	1.6;

1.6
date	96.05.15.21.50.39;	author jtc;	state Exp;
branches;
next	1.5;

1.5
date	95.03.26.04.55.22;	author glass;	state Exp;
branches;
next	1.4;

1.4
date	95.01.07.23.14.32;	author mycroft;	state Exp;
branches;
next	1.3;

1.3
date	93.07.31.15.25.07;	author mycroft;	state Exp;
branches;
next	1.2;

1.2
date	93.06.11.00.34.38;	author brezak;	state Exp;
branches;
next	1.1;

1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches
	1.1.1.1;
next	;

1.15.74.1
date	2018.07.28.04.38.13;	author pgoyette;	state Exp;
branches;
next	;
commitid	1UP1xAIUxv1ZgRLA;

1.11.2.1
date	2003.06.16.13.17.48;	author grant;	state Exp;
branches;
next	;

1.9.2.1
date	97.11.08.10.36.39;	author lukem;	state Exp;
branches;
next	;

1.1.1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	95.03.26.04.19.14;	author glass;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Specify SANITIZER_RENAME_SYMBOL in chpass

Rename local versions of getpwent getpwnam getpwnam_r getpwuid getpwuid_r
(all of the symbols are namespaced) in order to remove symbol clash with
libc.

This program uses code directly from libc.
@
text
@#	$NetBSD: Makefile,v 1.15 2007/05/28 12:06:25 tls Exp $
#	@@(#)Makefile	8.2 (Berkeley) 4/2/94

.include <bsd.own.mk>

USE_FORT?= yes	# setuid
PROG=	chpass
SRCS=	chpass.c edit.c field.c table.c util.c
BINOWN=	root
BINMODE=4555
.PATH:	${NETBSDSRCDIR}/lib/libc/gen
LINKS=	${BINDIR}/chpass ${BINDIR}/chfn ${BINDIR}/chpass ${BINDIR}/chsh
MLINKS=	chpass.1 chfn.1 chpass.1 chsh.1

CPPFLAGS+=-I${NETBSDSRCDIR}/lib/libc/include

.if (${USE_YP} != "no")
SRCS+=	pw_yp.c
CPPFLAGS+=-DYP
DPADD+=	${LIBRPCSVC}
LDADD+=	-lrpcsvc
.else
SRCS+=	getpwent.c
CPPFLAGS.getpwent.c=-UYP
SANITIZER_RENAME_SYMBOL+=	__getpwent50
SANITIZER_RENAME_SYMBOL+=	__getpwnam50
SANITIZER_RENAME_SYMBOL+=	__getpwnam_r50
SANITIZER_RENAME_SYMBOL+=	__getpwuid50
SANITIZER_RENAME_SYMBOL+=	__getpwuid_r50
.endif

DPADD+= ${LIBUTIL}
LDADD+= -lutil

.include <bsd.prog.mk>
@


1.15
log
@Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 2003/07/22 12:25:57 lukem Exp $
d25 5
@


1.15.74.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 2018/06/25 18:05:25 kamil Exp $
a24 5
SANITIZER_RENAME_SYMBOL+=	__getpwent50
SANITIZER_RENAME_SYMBOL+=	__getpwnam50
SANITIZER_RENAME_SYMBOL+=	__getpwnam_r50
SANITIZER_RENAME_SYMBOL+=	__getpwuid50
SANITIZER_RENAME_SYMBOL+=	__getpwuid_r50
@


1.14
log
@use CPPFLAGS.getpwent.c=...  to set file-specific cpp flags
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 2003/04/05 20:32:26 bouyer Exp $
d6 1
@


1.13
log
@Build custom getpwent.o only if USE_YP==no. Otherwise, chpass will not
get the current passwd entry from NIS. Problem reported by Stephen M. Jone
on tech-net.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.12 2002/09/18 14:00:35 lukem Exp $
d22 2
a23 1
SRCS+= getpwent.c
a29 3

getpwent.o: getpwent.c
	${COMPILE.c} -UYP ${.IMPSRC}
@


1.12
log
@makefile delint. use NETBSDSRCDIR as appropriate
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2002/03/22 18:10:22 thorpej Exp $
d7 1
a7 1
SRCS=	chpass.c edit.c field.c table.c util.c getpwent.c
d21 2
@


1.11
log
@Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

	* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
	  of the infratsructure (libraries, support programs, etc.)

	* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
	  building of support for using the corresponding API
	  in various libraries/programs that can use it.

As discussed on tech-toolchain.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 1997/10/24 09:00:22 lukem Exp $
d10 1
a10 1
.PATH:	${.CURDIR}/../../lib/libc/gen
d14 1
a14 1
CPPFLAGS+=-I${.CURDIR}/../../lib/libc/include
@


1.11.2.1
log
@Pull up revision 1.13 (requested by bouyer in ticket #1245):

Build custom getpwent.o only if USE_YP==no. Otherwise, chpass will not
get the current passwd entry from NIS. Problem reported by Stephen M. Jone
on tech-net.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.11 2002/03/22 18:10:22 thorpej Exp $
d7 1
a7 1
SRCS=	chpass.c edit.c field.c table.c util.c
a20 2
.else
SRCS+= getpwent.c
@


1.10
log
@use CPPFLAGS instead of CFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 1997/07/22 11:38:33 mrg Exp $
d4 2
d7 1
a7 1
SRCS=	chpass.c edit.c field.c pw_yp.c table.c util.c getpwent.c
d13 12
a24 3
CPPFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/include
DPADD+= ${LIBRPCSVC} ${LIBUTIL}
LDADD+= -lrpcsvc -lutil
@


1.9
log
@find "namespace.h" ...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 1997/05/08 21:11:37 gwr Exp $
d11 1
a11 1
CFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/include
@


1.9.2.1
log
@sync with trunk (approved by thorpej)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.10 1997/10/24 09:00:22 lukem Exp $
d11 1
a11 1
CPPFLAGS+=-DYP -I${.CURDIR}/../../lib/libc/include
@


1.8
log
@Back out the .PATH.c changes.  The .depend problem (and others)
will be fixed using the new .NOPATH make feature instead.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 1997/05/06 20:45:30 gwr Exp $
d11 1
a11 1
CFLAGS+=-DYP
@


1.7
log
@Use .PATH.c: ...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 1996/05/15 21:50:39 jtc Exp $
d8 1
a8 1
.PATH.c: ${.CURDIR}/../../lib/libc/gen
@


1.6
log
@Updated to use new password file functions in libutil.
From Greg Hudson <ghudson@@MIT.EDU>.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 1995/03/26 04:55:22 glass Exp $
d8 1
a8 1
.PATH:	${.CURDIR}/../../lib/libc/gen
@


1.5
log
@merged with 4.4Lite
@
text
@d1 1
a1 1
#	$NetBSD$
d5 1
a5 1
SRCS=	chpass.c edit.c field.c pw_copy.c pw_scan.c pw_util.c pw_yp.c table.c util.c getpwent.c
d8 1
a8 3
.PATH:	${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../usr.sbin/vipw \
	${.CURDIR}/../../lib/libc/gen
CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../usr.sbin/vipw
d12 2
a13 2
DPADD+= ${LIBRPCSVC}
LDADD+= -lrpcsvc
@


1.4
log
@Patch from Giles Lean to make compilation flags more consistent.
@
text
@d1 2
a2 2
#	from: @@(#)Makefile	5.5 (Berkeley) 2/19/91
#	$Id: Makefile,v 1.3 1993/07/31 15:25:07 mycroft Exp $
d10 1
@


1.3
log
@Add RCS indentifiers.
@
text
@d2 1
a2 1
#	$Id: $
d19 1
a19 1
	${CC} ${CFLAGS} -UYP -c ${.IMPSRC}
@


1.2
log
@Add YP support.
@
text
@d1 2
a2 1
#	@@(#)Makefile	5.5 (Berkeley) 2/19/91
@


1.1
log
@Initial revision
@
text
@d4 1
a4 1
SRCS=	chpass.c edit.c field.c pw_copy.c pw_scan.c pw_util.c table.c util.c
d7 2
a8 1
.PATH:	${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../usr.sbin/vipw
d11 3
d16 3
@


1.1.1.1
log
@initial import of 386bsd-0.1 sources
@
text
@@


1.1.1.2
log
@Import from 4.4Lite
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.2 (Berkeley) 4/2/94
a7 1
CFLAGS+=-I${.CURDIR}/../../usr.sbin/pwd_mkdb -I${.CURDIR}/../../usr.sbin/vipw
a9 3

afterinstall:
	chflags schg /usr/bin/chpass
@
