head	1.23;
access;
symbols
	perseant-exfatfs-base-20250801:1.23
	perseant-exfatfs-base-20240630:1.23
	perseant-exfatfs:1.23.0.36
	perseant-exfatfs-base:1.23
	cjep_sun2x:1.23.0.34
	cjep_sun2x-base:1.23
	cjep_staticlib_x-base1:1.23
	cjep_staticlib_x:1.23.0.32
	cjep_staticlib_x-base:1.23
	phil-wifi-20200421:1.23
	phil-wifi-20200411:1.23
	phil-wifi-20200406:1.23
	pgoyette-compat-merge-20190127:1.23
	pgoyette-compat-20190127:1.23
	pgoyette-compat-20190118:1.23
	pgoyette-compat-1226:1.23
	pgoyette-compat-1126:1.23
	pgoyette-compat-1020:1.23
	pgoyette-compat-0930:1.23
	pgoyette-compat-0906:1.23
	pgoyette-compat-0728:1.23
	pgoyette-compat-0625:1.23
	pgoyette-compat-0521:1.23
	pgoyette-compat-0502:1.23
	pgoyette-compat-0422:1.23
	pgoyette-compat-0415:1.23
	pgoyette-compat-0407:1.23
	pgoyette-compat-0330:1.23
	pgoyette-compat-0322:1.23
	pgoyette-compat-0315:1.23
	pgoyette-compat:1.23.0.30
	pgoyette-compat-base:1.23
	perseant-stdc-iso10646:1.23.0.28
	perseant-stdc-iso10646-base:1.23
	prg-localcount2-base3:1.23
	prg-localcount2-base2:1.23
	prg-localcount2-base1:1.23
	prg-localcount2:1.23.0.26
	prg-localcount2-base:1.23
	pgoyette-localcount-20170426:1.23
	bouyer-socketcan-base1:1.23
	pgoyette-localcount-20170320:1.23
	bouyer-socketcan:1.23.0.24
	bouyer-socketcan-base:1.23
	pgoyette-localcount-20170107:1.23
	pgoyette-localcount-20161104:1.23
	localcount-20160914:1.23
	pgoyette-localcount-20160806:1.23
	pgoyette-localcount-20160726:1.23
	pgoyette-localcount:1.23.0.22
	pgoyette-localcount-base:1.23
	netbsd-5-2-3-RELEASE:1.23
	netbsd-5-1-5-RELEASE:1.23
	yamt-pagecache-base9:1.23
	yamt-pagecache-tag8:1.23
	tls-earlyentropy:1.23.0.18
	tls-earlyentropy-base:1.23
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.23
	riastradh-drm2-base3:1.23
	netbsd-5-2-2-RELEASE:1.23
	netbsd-5-1-4-RELEASE:1.23
	netbsd-5-2-1-RELEASE:1.23
	netbsd-5-1-3-RELEASE:1.23
	agc-symver:1.23.0.20
	agc-symver-base:1.23
	tls-maxphys-base:1.23
	yamt-pagecache-base8:1.23
	netbsd-5-2:1.23.0.16
	yamt-pagecache-base7:1.23
	netbsd-5-2-RELEASE:1.23
	netbsd-5-2-RC1:1.23
	yamt-pagecache-base6:1.23
	yamt-pagecache-base5:1.23
	yamt-pagecache-base4:1.23
	netbsd-5-1-2-RELEASE:1.23
	netbsd-5-1-1-RELEASE:1.23
	yamt-pagecache-base3:1.23
	yamt-pagecache-base2:1.23
	yamt-pagecache:1.23.0.14
	yamt-pagecache-base:1.23
	bouyer-quota2-nbase:1.23
	bouyer-quota2:1.23.0.12
	bouyer-quota2-base:1.23
	matt-nb5-pq3:1.23.0.10
	matt-nb5-pq3-base:1.23
	netbsd-5-1:1.23.0.8
	netbsd-5-1-RELEASE:1.23
	netbsd-5-1-RC4:1.23
	netbsd-5-1-RC3:1.23
	netbsd-5-1-RC2:1.23
	netbsd-5-1-RC1:1.23
	netbsd-5-0-2-RELEASE:1.23
	netbsd-5-0-1-RELEASE:1.23
	jym-xensuspend-nbase:1.23
	netbsd-5-0:1.23.0.6
	netbsd-5-0-RELEASE:1.23
	netbsd-5-0-RC4:1.23
	netbsd-5-0-RC3:1.23
	netbsd-5-0-RC2:1.23
	jym-xensuspend:1.23.0.4
	jym-xensuspend-base:1.23
	netbsd-5-0-RC1:1.23
	netbsd-5:1.23.0.2
	netbsd-5-base:1.23
	matt-mips64-base2:1.22
	matt-mips64:1.21.0.14
	netbsd-4-0-1-RELEASE:1.20
	wrstuden-revivesa-base-3:1.22
	wrstuden-revivesa-base-2:1.22
	wrstuden-fixsa-newbase:1.20
	wrstuden-revivesa-base-1:1.22
	yamt-pf42-base4:1.22
	yamt-pf42-base3:1.22
	hpcarm-cleanup-nbase:1.21
	yamt-pf42-baseX:1.21
	yamt-pf42-base2:1.21
	wrstuden-revivesa:1.21.0.12
	wrstuden-revivesa-base:1.22
	yamt-pf42:1.21.0.10
	yamt-pf42-base:1.21
	keiichi-mipv6-nbase:1.21
	keiichi-mipv6:1.21.0.8
	keiichi-mipv6-base:1.21
	matt-armv6-nbase:1.21
	matt-armv6-prevmlocking:1.21
	wrstuden-fixsa-base-1:1.20
	netbsd-4-0:1.20.0.6
	netbsd-4-0-RELEASE:1.20
	cube-autoconf:1.21.0.6
	cube-autoconf-base:1.21
	netbsd-4-0-RC5:1.20
	netbsd-4-0-RC4:1.20
	netbsd-4-0-RC3:1.20
	netbsd-4-0-RC2:1.20
	netbsd-4-0-RC1:1.20
	matt-armv6:1.21.0.4
	matt-armv6-base:1.21
	matt-mips64-base:1.21
	hpcarm-cleanup:1.21.0.2
	hpcarm-cleanup-base:1.21
	netbsd-3-1-1-RELEASE:1.19
	netbsd-3-0-3-RELEASE:1.19
	wrstuden-fixsa:1.20.0.4
	wrstuden-fixsa-base:1.20
	abandoned-netbsd-4-base:1.19
	abandoned-netbsd-4:1.19.0.12
	netbsd-3-1:1.19.0.14
	netbsd-3-1-RELEASE:1.19
	netbsd-3-0-2-RELEASE:1.19
	netbsd-3-1-RC4:1.19
	netbsd-3-1-RC3:1.19
	netbsd-3-1-RC2:1.19
	netbsd-3-1-RC1:1.19
	netbsd-4:1.20.0.2
	netbsd-4-base:1.20
	netbsd-3-0-1-RELEASE:1.19
	netbsd-3-0:1.19.0.10
	netbsd-3-0-RELEASE:1.19
	netbsd-3-0-RC6:1.19
	netbsd-3-0-RC5:1.19
	netbsd-3-0-RC4:1.19
	netbsd-3-0-RC3:1.19
	netbsd-3-0-RC2:1.19
	netbsd-3-0-RC1:1.19
	netbsd-2-0-3-RELEASE:1.19
	netbsd-2-1:1.19.0.8
	netbsd-2-1-RELEASE:1.19
	netbsd-2-1-RC6:1.19
	netbsd-2-1-RC5:1.19
	netbsd-2-1-RC4:1.19
	netbsd-2-1-RC3:1.19
	netbsd-2-1-RC2:1.19
	netbsd-2-1-RC1:1.19
	netbsd-2-0-2-RELEASE:1.19
	netbsd-3:1.19.0.6
	netbsd-3-base:1.19
	netbsd-2-0-1-RELEASE:1.19
	netbsd-2:1.19.0.4
	netbsd-2-base:1.19
	netbsd-2-0-RELEASE:1.19
	netbsd-2-0-RC5:1.19
	netbsd-2-0-RC4:1.19
	netbsd-2-0-RC3:1.19
	netbsd-2-0-RC2:1.19
	netbsd-2-0-RC1:1.19
	netbsd-2-0:1.19.0.2
	netbsd-2-0-base:1.19
	netbsd-1-6-PATCH002-RELEASE:1.17
	netbsd-1-6-PATCH002:1.17
	netbsd-1-6-PATCH002-RC4:1.17
	netbsd-1-6-PATCH002-RC3:1.17
	netbsd-1-6-PATCH002-RC2:1.17
	netbsd-1-6-PATCH002-RC1:1.17
	netbsd-1-6-PATCH001:1.17
	netbsd-1-6-PATCH001-RELEASE:1.17
	netbsd-1-6-PATCH001-RC3:1.17
	netbsd-1-6-PATCH001-RC2:1.17
	netbsd-1-6-PATCH001-RC1:1.17
	fvdl_fs64_base:1.18
	netbsd-1-6-RELEASE:1.17
	netbsd-1-6-RC3:1.17
	netbsd-1-6-RC2:1.17
	netbsd-1-6-RC1:1.17
	netbsd-1-6:1.17.0.2
	netbsd-1-6-base:1.17
	netbsd-1-5-PATCH003:1.13
	netbsd-1-5-PATCH002:1.13
	netbsd-1-5-PATCH001:1.13
	am-utils-6-0-4:1.1.1.7
	TNF:1.1.1
	netbsd-1-5-RELEASE:1.13
	netbsd-1-5-BETA2:1.13
	netbsd-1-5-BETA:1.13
	netbsd-1-4-PATCH003:1.13
	netbsd-1-5-ALPHA2:1.13
	netbsd-1-5:1.13.0.10
	netbsd-1-5-base:1.13
	minoura-xpg4dl-base:1.13
	minoura-xpg4dl:1.13.0.8
	netbsd-1-4-PATCH002:1.13
	wrstuden-devbsize-19991221:1.13
	wrstuden-devbsize:1.13.0.6
	wrstuden-devbsize-base:1.13
	comdex-fall-1999:1.13.0.4
	comdex-fall-1999-base:1.13
	am_utils_6_0_1s11:1.1.1.6
	netbsd-1-4-PATCH001:1.13
	netbsd-1-4-RELEASE:1.13
	netbsd-1-4:1.13.0.2
	netbsd-1-4-base:1.13
	am_utils_6_0_1s3:1.1.1.6
	netbsd-1-3-PATCH003:1.6.2.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.6.2.1
	netbsd-1-3-PATCH003-CANDIDATE1:1.6.2.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.6.2.1
	am_utils_6_0a16:1.1.1.5
	netbsd-1-3-PATCH002:1.6.2.1
	netbsd-1-3-PATCH001:1.6.2.1
	netbsd-1-3-RELEASE:1.6.2.1
	netbsd-1-3-BETA:1.6.2.1
	am_utils_6_0a13:1.1.1.4
	netbsd-1-3:1.6.0.2
	netbsd-1-3-base:1.6
	am_utils_6_0a12:1.1.1.3
	am_utils_6_0a11:1.1.1.2
	am_utils_6_0a8:1.1.1.1
	EZK:1.1.1;
locks; strict;
comment	@# @;


1.23
date	2008.10.28.14.09.34;	author christos;	state dead;
branches;
next	1.22;

1.22
date	2008.05.22.14.48.15;	author lukem;	state Exp;
branches;
next	1.21;

1.21
date	2007.05.28.12.06.33;	author tls;	state Exp;
branches
	1.21.10.1
	1.21.12.1;
next	1.20;

1.20
date	2006.10.08.17.52.29;	author peter;	state Exp;
branches;
next	1.19;

1.19
date	2003.04.11.22.47.32;	author thorpej;	state Exp;
branches
	1.19.6.1;
next	1.18;

1.18
date	2002.09.18.03.54.26;	author lukem;	state Exp;
branches;
next	1.17;

1.17
date	2002.03.22.18.10.25;	author thorpej;	state Exp;
branches;
next	1.16;

1.16
date	2001.01.07.08.00.57;	author enami;	state Exp;
branches;
next	1.15;

1.15
date	2000.11.21.02.03.26;	author wiz;	state Exp;
branches;
next	1.14;

1.14
date	2000.11.20.00.24.41;	author wiz;	state Exp;
branches;
next	1.13;

1.13
date	99.02.13.02.54.58;	author lukem;	state Exp;
branches;
next	1.12;

1.12
date	99.02.01.19.05.09;	author christos;	state Exp;
branches;
next	1.11;

1.11
date	98.09.27.16.28.54;	author christos;	state Exp;
branches;
next	1.10;

1.10
date	98.08.08.22.33.27;	author christos;	state Exp;
branches;
next	1.9;

1.9
date	98.04.12.20.45.05;	author tv;	state Exp;
branches;
next	1.8;

1.8
date	97.10.26.00.24.43;	author christos;	state Exp;
branches;
next	1.7;

1.7
date	97.10.23.06.27.34;	author lukem;	state Exp;
branches;
next	1.6;

1.6
date	97.10.18.06.42.28;	author lukem;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	97.09.26.16.59.42;	author christos;	state Exp;
branches;
next	1.4;

1.4
date	97.09.22.22.09.51;	author christos;	state Exp;
branches;
next	1.3;

1.3
date	97.07.25.00.29.21;	author christos;	state Exp;
branches;
next	1.2;

1.2
date	94.06.13.19.47.14;	author mycroft;	state dead;
branches;
next	1.1;

1.1
date	93.11.27.21.39.18;	author mycroft;	state Exp;
branches
	1.1.1.1;
next	;

1.21.10.1
date	2008.06.04.02.05.59;	author yamt;	state Exp;
branches;
next	;

1.21.12.1
date	2008.06.23.04.32.12;	author wrstuden;	state Exp;
branches;
next	;

1.19.6.1
date	2007.02.24.12.17.33;	author bouyer;	state Exp;
branches;
next	;

1.6.2.1
date	97.11.08.15.11.09;	author lukem;	state Exp;
branches;
next	;

1.1.1.1
date	97.07.24.21.20.04;	author christos;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	97.09.22.21.11.15;	author christos;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	97.09.26.16.05.52;	author christos;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	97.10.26.00.02.14;	author christos;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	98.08.08.22.05.22;	author christos;	state Exp;
branches;
next	1.1.1.6;

1.1.1.6
date	99.02.01.18.45.39;	author christos;	state Exp;
branches;
next	1.1.1.7;

1.1.1.7
date	2000.11.20.00.16.16;	author wiz;	state Exp;
branches;
next	;


desc
@@


1.23
log
@moved to external long time ago.
@
text
@#	$NetBSD: Makefile.inc,v 1.22 2008/05/22 14:48:15 lukem Exp $

WARNS?=	1

.include <bsd.own.mk>

USE_FORT?=yes

IDIST=	${NETBSDSRCDIR}/dist/am-utils

LIBAMUOBJDIR!=cd ${.CURDIR}/../libamu && ${PRINTOBJDIR}

CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/../include -I${IDIST}/libamu \
	-I${IDIST}/include -I${LIBAMUOBJDIR}

.if (${USE_HESIOD} != "no")
CPPFLAGS+=-DHAVE_MAP_HESIOD=1
.endif

.if (${USE_LDAP} != "no")
CPPFLAGS+=-DHAVE_MAP_LDAP=1 -DHAVE_LBER_H=1 -DHAVE_LDAP_H -DHAVE_LDAP_OPEN=1
CPPFLAGS+=-DLDAP_DEPRECATED=1	# OpenLDAP 2.2 deprecated ldap_unbind()
.endif

.if (${USE_YP} != "no")
CPPFLAGS+=-DHAVE_MAP_NIS=1
.endif

.if !defined(LIB) || empty(LIB)
LDADD+=	-L${LIBAMUOBJDIR} -lamu
.if ${MKPICLIB} == "no"
DPADD+=	${LIBAMUOBJDIR}/libamu.a
.else
DPADD+=	${LIBAMUOBJDIR}/libamu_pic.a
.endif
.endif

.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif
@


1.22
log
@Compile in LDAP if ${USE_LDAP} != "no".
XXX: untested.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.21 2007/05/28 12:06:33 tls Exp $
@


1.21
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.inc,v 1.20 2006/10/08 17:52:29 peter Exp $
d20 5
@


1.21.12.1
log
@Sync w/ -current. 34 merge conflicts to follow.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.21 2007/05/28 12:06:33 tls Exp $
a19 5
.if (${USE_LDAP} != "no")
CPPFLAGS+=-DHAVE_MAP_LDAP=1 -DHAVE_LBER_H=1 -DHAVE_LDAP_H -DHAVE_LDAP_OPEN=1
CPPFLAGS+=-DLDAP_DEPRECATED=1	# OpenLDAP 2.2 deprecated ldap_unbind()
.endif

@


1.21.10.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.21 2007/05/28 12:06:33 tls Exp $
a19 5
.if (${USE_LDAP} != "no")
CPPFLAGS+=-DHAVE_MAP_LDAP=1 -DHAVE_LBER_H=1 -DHAVE_LDAP_H -DHAVE_LDAP_OPEN=1
CPPFLAGS+=-DLDAP_DEPRECATED=1	# OpenLDAP 2.2 deprecated ldap_unbind()
.endif

@


1.20
log
@WFORMAT is no more...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.19 2003/04/11 22:47:32 thorpej Exp $
d7 2
@


1.19
log
@Use MKPICLIB to determine if we should have a dependency on the .a or
_pic.a version of the library.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.18 2002/09/18 03:54:26 lukem Exp $
a3 1
WFORMAT=2
@


1.19.6.1
log
@Apply patch to the following files (requested by tron in ticket #1665):
	dist/am-utils/AUTHORS				patch
	dist/am-utils/BUGS				patch
	dist/am-utils/ChangeLog				patch
	dist/am-utils/INSTALL				patch
	dist/am-utils/Makefile.am			patch
	dist/am-utils/Makefile.in			patch
	dist/am-utils/NEWS				patch
	dist/am-utils/README.attrcache			new file
	dist/am-utils/README.autofs			patch
	dist/am-utils/acinclude.m4			patch
	dist/am-utils/aclocal.m4			patch
	dist/am-utils/amd/Makefile.am			patch
	dist/am-utils/amd/am_ops.c			patch
	dist/am-utils/amd/amd.8				patch
	dist/am-utils/amd/amd.c				patch
	dist/am-utils/amd/amd.h				patch
	dist/am-utils/amd/amfs_auto.c			patch
	dist/am-utils/amd/amfs_direct.c			patch
	dist/am-utils/amd/amfs_error.c			patch
	dist/am-utils/amd/amfs_generic.c		patch
	dist/am-utils/amd/amfs_host.c			patch
	dist/am-utils/amd/amfs_link.c			patch
	dist/am-utils/amd/amfs_linkx.c			patch
	dist/am-utils/amd/amfs_nfsl.c			patch
	dist/am-utils/amd/amfs_nfsx.c			patch
	dist/am-utils/amd/amfs_program.c		patch
	dist/am-utils/amd/amfs_root.c			patch
	dist/am-utils/amd/amfs_toplvl.c			patch
	dist/am-utils/amd/amfs_union.c			patch
	dist/am-utils/amd/amq_subr.c			patch
	dist/am-utils/amd/amq_svc.c			patch
	dist/am-utils/amd/autil.c			patch
	dist/am-utils/amd/clock.c			patch
	dist/am-utils/amd/conf.c			patch
	dist/am-utils/amd/conf_parse.y			patch
	dist/am-utils/amd/conf_tok.l			patch
	dist/am-utils/amd/get_args.c			patch
	dist/am-utils/amd/info_exec.c			patch
	dist/am-utils/amd/info_file.c			patch
	dist/am-utils/amd/info_hesiod.c			patch
	dist/am-utils/amd/info_ldap.c			patch
	dist/am-utils/amd/info_ndbm.c			patch
	dist/am-utils/amd/info_nis.c			patch
	dist/am-utils/amd/info_nisplus.c		patch
	dist/am-utils/amd/info_passwd.c			patch
	dist/am-utils/amd/info_union.c			patch
	dist/am-utils/amd/map.c				patch
	dist/am-utils/amd/mapc.c			patch
	dist/am-utils/amd/mntfs.c			patch
	dist/am-utils/amd/nfs_prot_svc.c		patch
	dist/am-utils/amd/nfs_start.c			patch
	dist/am-utils/amd/nfs_subr.c			patch
	dist/am-utils/amd/ops_TEMPLATE.c		patch
	dist/am-utils/amd/ops_cachefs.c			patch
	dist/am-utils/amd/ops_cdfs.c			patch
	dist/am-utils/amd/ops_efs.c			patch
	dist/am-utils/amd/ops_lofs.c			patch
	dist/am-utils/amd/ops_mfs.c			patch
	dist/am-utils/amd/ops_nfs.c			patch
	dist/am-utils/amd/ops_nfs3.c			patch
	dist/am-utils/amd/ops_nullfs.c			patch
	dist/am-utils/amd/ops_pcfs.c			patch
	dist/am-utils/amd/ops_tfs.c			patch
	dist/am-utils/amd/ops_tmpfs.c			patch
	dist/am-utils/amd/ops_ufs.c			patch
	dist/am-utils/amd/ops_umapfs.c			patch
	dist/am-utils/amd/ops_unionfs.c			patch
	dist/am-utils/amd/ops_xfs.c			patch
	dist/am-utils/amd/opts.c			patch
	dist/am-utils/amd/readdir.c			patch
	dist/am-utils/amd/restart.c			patch
	dist/am-utils/amd/rpc_fwd.c			patch
	dist/am-utils/amd/sched.c			patch
	dist/am-utils/amd/srvr_amfs_auto.c		patch
	dist/am-utils/amd/srvr_nfs.c			patch
	dist/am-utils/amd2netbsd			patch
	dist/am-utils/amq/amq.8				patch
	dist/am-utils/amq/amq.c				patch
	dist/am-utils/amq/amq.h				patch
	dist/am-utils/amq/amq_clnt.c			patch
	dist/am-utils/amq/amq_xdr.c			patch
	dist/am-utils/amq/pawd.1			patch
	dist/am-utils/amq/pawd.c			patch
	dist/am-utils/buildall				patch
	dist/am-utils/conf/autofs/autofs_default.c	patch
	dist/am-utils/conf/autofs/autofs_default.h	patch
	dist/am-utils/conf/autofs/autofs_linux.c	patch
	dist/am-utils/conf/autofs/autofs_linux.h	patch
	dist/am-utils/conf/autofs/autofs_solaris_v1.c	patch
	dist/am-utils/conf/autofs/autofs_solaris_v1.h	patch
	dist/am-utils/conf/autofs/autofs_solaris_v2_v3.c patch
	dist/am-utils/conf/autofs/autofs_solaris_v2_v3.h patch
	dist/am-utils/conf/checkmount/checkmount_aix.c	patch
	dist/am-utils/conf/checkmount/checkmount_bsd44.c patch
	dist/am-utils/conf/checkmount/checkmount_default.c patch
	dist/am-utils/conf/checkmount/checkmount_osf.c	patch
	dist/am-utils/conf/checkmount/checkmount_svr4.c patch
	dist/am-utils/conf/checkmount/checkmount_ultrix.c patch
	dist/am-utils/conf/hn_dref/hn_dref_isc3.h	patch
	dist/am-utils/conf/hn_dref/hn_dref_linux.h	patch
	dist/am-utils/conf/mount/mount_aix.c		patch
	dist/am-utils/conf/mount/mount_aix3.c		new file
	dist/am-utils/conf/mount/mount_bsdi3.c		patch
	dist/am-utils/conf/mount/mount_default.c	patch
	dist/am-utils/conf/mount/mount_hpux.c		patch
	dist/am-utils/conf/mount/mount_irix5.c		patch
	dist/am-utils/conf/mount/mount_irix6.c		patch
	dist/am-utils/conf/mount/mount_isc3.c		patch
	dist/am-utils/conf/mount/mount_linux.c		patch
	dist/am-utils/conf/mount/mount_mach3.c		patch
	dist/am-utils/conf/mount/mount_stellix.c	patch
	dist/am-utils/conf/mount/mount_svr4.c		patch
	dist/am-utils/conf/mtab/mtab_aix.c		patch
	dist/am-utils/conf/mtab/mtab_bsd.c		patch
	dist/am-utils/conf/mtab/mtab_file.c		patch
	dist/am-utils/conf/mtab/mtab_isc3.c		patch
	dist/am-utils/conf/mtab/mtab_linux.c		new file
	dist/am-utils/conf/mtab/mtab_mach3.c		patch
	dist/am-utils/conf/mtab/mtab_osf.c		patch
	dist/am-utils/conf/mtab/mtab_svr4.c		patch
	dist/am-utils/conf/mtab/mtab_ultrix.c		patch
	dist/am-utils/conf/nfs_prot/nfs_prot_aix3.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_aix4.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_aix4_2.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_aix4_3.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_aix5_1.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_aix5_2.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_bsdi2.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_bsdi3.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_darwin.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_default.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_freebsd2.h patch
	dist/am-utils/conf/nfs_prot/nfs_prot_freebsd3.h patch
	dist/am-utils/conf/nfs_prot/nfs_prot_hpux.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_hpux11.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_irix5.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_irix6.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_linux.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_ncr2.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_netbsd.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_netbsd1_3.h patch
	dist/am-utils/conf/nfs_prot/nfs_prot_netbsd1_4.h patch
	dist/am-utils/conf/nfs_prot/nfs_prot_nextstep.h patch
	dist/am-utils/conf/nfs_prot/nfs_prot_openbsd.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_osf2.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_osf4.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_osf5.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_sunos3.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_sunos4.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_3.h patch
	dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_4.h patch
	dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_5.h patch
	dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_6.h patch
	dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_7.h patch
	dist/am-utils/conf/nfs_prot/nfs_prot_sunos5_8.h patch
	dist/am-utils/conf/nfs_prot/nfs_prot_svr4.h	patch
	dist/am-utils/conf/nfs_prot/nfs_prot_ultrix.h	patch
	dist/am-utils/conf/transp/transp_sockets.c	patch
	dist/am-utils/conf/transp/transp_tli.c		patch
	dist/am-utils/conf/umount/umount_aix.c		new file
	dist/am-utils/conf/umount/umount_bsd44.c	patch
	dist/am-utils/conf/umount/umount_default.c	patch
	dist/am-utils/conf/umount/umount_linux.c	patch
	dist/am-utils/conf/umount/umount_osf.c		patch
	dist/am-utils/config.guess			patch
	dist/am-utils/config.guess.long			patch
	dist/am-utils/config.h.in			patch
	dist/am-utils/config.sub			patch
	dist/am-utils/configure				patch
	dist/am-utils/configure.in			patch
	dist/am-utils/doc/Makefile.am			patch
	dist/am-utils/doc/am-utils.texi			patch
	dist/am-utils/doc/texinfo.tex			patch
	dist/am-utils/fixmount/fixmount.8		patch
	dist/am-utils/fixmount/fixmount.c		patch
	dist/am-utils/fsinfo/fsi_analyze.c		patch
	dist/am-utils/fsinfo/fsi_data.h			patch
	dist/am-utils/fsinfo/fsi_dict.c			patch
	dist/am-utils/fsinfo/fsi_gram.y			patch
	dist/am-utils/fsinfo/fsi_lex.l			patch
	dist/am-utils/fsinfo/fsi_util.c			patch
	dist/am-utils/fsinfo/fsinfo.8			patch
	dist/am-utils/fsinfo/fsinfo.c			patch
	dist/am-utils/fsinfo/fsinfo.h			patch
	dist/am-utils/fsinfo/wr_atab.c			patch
	dist/am-utils/fsinfo/wr_bparam.c		patch
	dist/am-utils/fsinfo/wr_dumpset.c		patch
	dist/am-utils/fsinfo/wr_exportfs.c		patch
	dist/am-utils/fsinfo/wr_fstab.c			patch
	dist/am-utils/hlfsd/hlfsd.8			patch
	dist/am-utils/hlfsd/hlfsd.c			patch
	dist/am-utils/hlfsd/hlfsd.h			patch
	dist/am-utils/hlfsd/homedir.c			patch
	dist/am-utils/hlfsd/nfs_prot_svc.c		patch
	dist/am-utils/hlfsd/stubs.c			patch
	dist/am-utils/include/am_compat.h		patch
	dist/am-utils/include/am_defs.h			patch
	dist/am-utils/include/am_utils.h		patch
	dist/am-utils/include/am_xdr_func.h		patch
	dist/am-utils/include/amq_defs.h		patch
	dist/am-utils/include/mount_headers1.h		patch
	dist/am-utils/include/mount_headers2.h		patch
	dist/am-utils/ldap-id.ms			patch
	dist/am-utils/libamu/Makefile.am		patch
	dist/am-utils/libamu/amu.h			patch
	dist/am-utils/libamu/clnt_sperrno.c		patch
	dist/am-utils/libamu/hasmntopt.c		patch
	dist/am-utils/libamu/memcmp.c			patch
	dist/am-utils/libamu/misc_rpc.c			patch
	dist/am-utils/libamu/mount_fs.c			patch
	dist/am-utils/libamu/mtab.c			patch
	dist/am-utils/libamu/nfs_prot_xdr.c		patch
	dist/am-utils/libamu/strcasecmp.c		patch
	dist/am-utils/libamu/strdup.c			patch
	dist/am-utils/libamu/strerror.c			patch
	dist/am-utils/libamu/strlcat.c			new file
	dist/am-utils/libamu/strlcpy.c			patch
	dist/am-utils/libamu/strstr.c			patch
	dist/am-utils/libamu/strutil.c			new file
	dist/am-utils/libamu/ualarm.c			patch
	dist/am-utils/libamu/util.c			delete
	dist/am-utils/libamu/wire.c			patch
	dist/am-utils/libamu/xdr_func.c			patch
	dist/am-utils/libamu/xutil.c			patch
	dist/am-utils/ltmain.sh				patch
	dist/am-utils/m4/macros/check_checkmount_style.m4 patch
	dist/am-utils/m4/macros/check_extern.m4		patch
	dist/am-utils/m4/macros/check_mnttab_style.m4	patch
	dist/am-utils/m4/macros/check_mnttab_type.m4	patch
	dist/am-utils/m4/macros/check_mount_style.m4	patch
	dist/am-utils/m4/macros/check_nfs_fh_dref.m4	patch
	dist/am-utils/m4/macros/check_nfs_prot_headers.m4 patch
	dist/am-utils/m4/macros/check_nfs_sa_dref.m4	patch
	dist/am-utils/m4/macros/check_umount_style.m4	patch
	dist/am-utils/m4/macros/check_varargs_macros.m4 new file
	dist/am-utils/m4/macros/expand_run_string.m4	patch
	dist/am-utils/m4/macros/header_templates.m4	patch
	dist/am-utils/m4/macros/host_macros.m4		patch
	dist/am-utils/m4/macros/libtool.m4		new file
	dist/am-utils/m4/macros/os_cflags.m4		patch
	dist/am-utils/m4/macros/type_auth_create_gidlist.m4 patch
	dist/am-utils/m4/macros/type_pte_t.m4		new file
	dist/am-utils/m4/macros/type_recvfrom_fromlen.m4 patch
	dist/am-utils/m4/macros/type_rpcvers_t.m4	new file
	dist/am-utils/m4/macros/type_yp_order_outorder.m4 patch
	dist/am-utils/mk-amd-map/Makefile.am		patch
	dist/am-utils/mk-amd-map/mk-amd-map.8		patch
	dist/am-utils/mk-amd-map/mk-amd-map.c		patch
	dist/am-utils/scripts/Makefile.am		patch
	dist/am-utils/scripts/amd.conf-sample		patch
	dist/am-utils/scripts/amd.conf.5		patch
	dist/am-utils/scripts/automount2amd.8		patch
	dist/am-utils/scripts/test-attrcache.in		new file
	dist/am-utils/vers.m4				new file
	dist/am-utils/wire-test/wire-test.8		patch
	dist/am-utils/wire-test/wire-test.c		patch
	distrib/sets/lists/base/shl.elf			patch
	distrib/sets/lists/base/shl.mi			patch
	doc/3RDPARTY					patch
	usr.sbin/amd/Makefile.inc			patch
	usr.sbin/amd/amd/Makefile			patch
	usr.sbin/amd/amq/Makefile			patch
	usr.sbin/amd/doc/Makefile			patch
	usr.sbin/amd/include/amu_autofs_prot.h		patch
	usr.sbin/amd/include/amu_nfs_prot.h		patch
	usr.sbin/amd/include/config.h			patch
	usr.sbin/amd/libamu/Makefile			patch
	usr.sbin/amd/libamu/mkconf			patch
	usr.sbin/amd/libamu/shlib_version		patch
	usr.sbin/amd/pawd/Makefile			patch

Update am-utils to version 6.1.3. This should fix PR bin/35581.
[tron, ticket #1665]
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.20 2006/10/08 17:52:29 peter Exp $
d4 1
@


1.18
log
@use NETBSDSRCDIR as appropriate
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.17 2002/03/22 18:10:25 thorpej Exp $
d25 1
a25 1
.if ${MKPIC} == "no"
@


1.17
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.inc,v 1.16 2001/01/07 08:00:57 enami Exp $
d8 1
a8 1
IDIST=	${.CURDIR}/../../../dist/am-utils
@


1.16
log
@Use PRINTOBJDIR.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.15 2000/11/21 02:03:26 wiz Exp $
d14 8
@


1.15
log
@Since amd compiles with WAUDIT=2, include it in Makefile.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.14 2000/11/20 00:24:41 wiz Exp $
d6 2
d10 1
a10 2
LIBAMUOBJDIR!=cd ${.CURDIR}/../libamu; \
	printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
a13 2

.include <bsd.own.mk>
@


1.14
log
@Replace old build structure with new reach-over one.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.1.1.7 2000/11/20 00:16:16 wiz Exp $
d4 1
@


1.13
log
@convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
@
text
@d1 11
a11 1
#	$NetBSD: Makefile.inc,v 1.12 1999/02/01 19:05:09 christos Exp $
a14 5
WARNS ?= 1
LIBAMU != cd ${.CURDIR}/../libamu;\
    printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
CPPFLAGS += -I${.CURDIR}/../include -I${.CURDIR} -I${LIBAMU} -I. -DHAVE_CONFIG_H
CPPFLAGS += -DDEBUG
d16 1
a16 1
LDADD += -L${LIBAMU} -lamu -lrpcsvc -ll
d18 1
a18 1
DPADD += ${LIBAMU}/libamu.a
d20 1
a20 1
DPADD += ${LIBAMU}/libamu_pic.a
a21 1
DPADD += ${LIBRPCSVC} ${LIBL}
@


1.12
log
@Resolve corn-flakes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.1.1.6 1999/02/01 18:45:39 christos Exp $
d12 1
a12 1
.if defined(NOPIC)
@


1.11
log
@Don't add LDADD dependencies in the libamu build.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.10 1998/08/08 22:33:27 christos Exp $
d9 1
@


1.10
log
@Resolve corn-flakes and remove obsolete files
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.1.1.5 1998/08/08 22:05:22 christos Exp $
d9 1
d17 1
@


1.9
log
@PIC systems no longer build libamu.a; depend them on libamu_pic.a.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.8 1997/10/26 00:24:43 christos Exp $
@


1.8
log
@Resolve RCSID conflicts; hopefully this is the last time :-)
@
text
@d1 4
a4 1
#	$NetBSD: $
d10 6
a15 1
DPADD += ${LIBAMU}/libamu.a ${LIBRPCSVC} ${LIBL}
@


1.7
log
@use CPPFLAGS instead of CFLAGS
@
text
@d1 2
a2 1
#	$NetBSD: Makefile.inc,v 1.6 1997/10/18 06:42:28 lukem Exp $
@


1.6
log
@enable WARNS=1 by default, but disable in unclean 3rd party code
@
text
@d1 1
a1 1
#	$NetBSD: Makefile.inc,v 1.5 1997/09/26 16:59:42 christos Exp $
d4 1
a4 1
CFLAGS += -I${.CURDIR}/../include -I${.CURDIR} -I${LIBAMU} -I. -DHAVE_CONFIG_H
@


1.6.2.1
log
@sync with trunk (approved by thorpej)
@
text
@d1 1
a1 2
#	$NetBSD: Makefile.inc,v 1.8 1997/10/26 00:24:43 christos Exp $
WARNS ?= 1
d4 1
a4 1
CPPFLAGS += -I${.CURDIR}/../include -I${.CURDIR} -I${LIBAMU} -I. -DHAVE_CONFIG_H
@


1.5
log
@Resolve conflicts; Damned RCSid's... I should fix the amd2netbsd script
to strip them.
@
text
@d1 1
a1 2
#	$NetBSD: Makefile.inc,v 1.1.1.3 1997/09/26 16:05:52 christos Exp $
WARNS ?= 1
d7 4
a10 1
BINDIR = /usr/sbin
@


1.4
log
@Resolve conflicts.
@
text
@d1 2
a2 1
#	$NetBSD: Makefile.inc,v 1.1.1.2 1997/09/22 21:11:15 christos Exp $
@


1.3
log
@Restore from death.
@
text
@d1 1
a1 1
#	$NetBSD: $
d5 2
a6 2
LDADD += -L${LIBAMU} -lamu -lrpcsvc
DPADD += ${LIBAMU}/libamu.a
@


1.2
log
@Clean up deleted files.
@
text
@d1 7
a7 3
#	$Id: Makefile.inc,v 1.1 1993/11/27 21:39:18 mycroft Exp mycroft $

OS = bsd44
@


1.1
log
@Define OS once in Makefile.inc, and fold the trivial changes into os-bsd44.h
rather than having a separate .h file.
@
text
@d1 1
a1 1
#	$Id: $
@


1.1.1.1
log
@Import of Erez Zadok's am-utils
@
text
@d1 3
a3 7
#	$NetBSD: $
LIBAMU != cd ${.CURDIR}/../libamu;\
    printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-
CFLAGS += -I${.CURDIR}/../include -I${.CURDIR} -I${LIBAMU} -I. -DHAVE_CONFIG_H
LDADD += -L${LIBAMU} -lamu -lrpcsvc
DPADD += ${LIBAMU}/libamu.a
BINDIR = /usr/sbin
@


1.1.1.2
log
@Import am-utils-6.0a11
@
text
@d5 2
a6 2
LDADD += -L${LIBAMU} -lamu -lrpcsvc -ll
DPADD += ${LIBAMU}/libamu.a ${LIBRPCSVC} ${LIBL}
@


1.1.1.3
log
@Import am-utils-6.0a12
@
text
@a1 1
WARNS ?= 1
@


1.1.1.4
log
@New version from Erez
@
text
@d5 1
a5 1
CPPFLAGS += -I${.CURDIR}/../include -I${.CURDIR} -I${LIBAMU} -I. -DHAVE_CONFIG_H
d8 1
a8 4

.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
.endif
@


1.1.1.5
log
@Import a16, with some local fixes...
@
text
@a1 3

.include <bsd.own.mk>

d7 1
a7 6
.if defined(NOPIC)
DPADD += ${LIBAMU}/libamu.a
.else
DPADD += ${LIBAMU}/libamu_pic.a
.endif
DPADD += ${LIBRPCSVC} ${LIBL}
@


1.1.1.6
log
@Import am-utils-6.0.1s3
@
text
@a8 2
CPPFLAGS += -DDEBUG
.if !defined(LIB) || empty(LIB)
a15 1
.endif
@


1.1.1.7
log
@Import of amd reach-over Makefiles for using the sources in dist/am-utils.
@
text
@d1 1
a1 11
#	$NetBSD$

WARNS?=	1

IDIST=	${.CURDIR}/../../../dist/am-utils

LIBAMUOBJDIR!=cd ${.CURDIR}/../libamu; \
	printf "xxx: .MAKE\n\t@@echo \$${.OBJDIR}\n" | ${MAKE} -s -f-

CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/../include -I${IDIST}/libamu \
	-I${IDIST}/include -I${LIBAMUOBJDIR}
d5 5
d11 3
a13 3
LDADD+=	-L${LIBAMUOBJDIR} -lamu
.if ${MKPIC} == "no"
DPADD+=	${LIBAMUOBJDIR}/libamu.a
d15 1
a15 1
DPADD+=	${LIBAMUOBJDIR}/libamu_pic.a
d17 1
@
