head	1.5;
access;
symbols
	netbsd-11-0-RC4:1.5
	netbsd-11-0-RC3:1.5
	netbsd-11-0-RC2:1.5
	netbsd-11-0-RC1:1.5
	perseant-exfatfs-base-20250801:1.5
	netbsd-11:1.5.0.2
	netbsd-11-base:1.5
	netbsd-10-1-RELEASE:1.4
	perseant-exfatfs-base-20240630:1.4
	perseant-exfatfs:1.4.0.46
	perseant-exfatfs-base:1.4
	netbsd-8-3-RELEASE:1.4
	netbsd-9-4-RELEASE:1.4
	netbsd-10-0-RELEASE:1.4
	netbsd-10-0-RC6:1.4
	netbsd-10-0-RC5:1.4
	netbsd-10-0-RC4:1.4
	netbsd-10-0-RC3:1.4
	netbsd-10-0-RC2:1.4
	netbsd-10-0-RC1:1.4
	netbsd-10:1.4.0.44
	netbsd-10-base:1.4
	netbsd-9-3-RELEASE:1.4
	cjep_sun2x-base1:1.4
	cjep_sun2x:1.4.0.42
	cjep_sun2x-base:1.4
	cjep_staticlib_x-base1:1.4
	netbsd-9-2-RELEASE:1.4
	cjep_staticlib_x:1.4.0.40
	cjep_staticlib_x-base:1.4
	netbsd-9-1-RELEASE:1.4
	phil-wifi-20200421:1.4
	phil-wifi-20200411:1.4
	is-mlppp:1.4.0.38
	is-mlppp-base:1.4
	phil-wifi-20200406:1.4
	netbsd-8-2-RELEASE:1.4
	netbsd-9-0-RELEASE:1.4
	netbsd-9-0-RC2:1.4
	netbsd-9-0-RC1:1.4
	phil-wifi-20191119:1.4
	netbsd-9:1.4.0.36
	netbsd-9-base:1.4
	phil-wifi-20190609:1.4
	netbsd-8-1-RELEASE:1.4
	netbsd-8-1-RC1:1.4
	pgoyette-compat-merge-20190127:1.4
	pgoyette-compat-20190127:1.4
	pgoyette-compat-20190118:1.4
	pgoyette-compat-1226:1.4
	pgoyette-compat-1126:1.4
	pgoyette-compat-1020:1.4
	pgoyette-compat-0930:1.4
	pgoyette-compat-0906:1.4
	netbsd-7-2-RELEASE:1.4
	pgoyette-compat-0728:1.4
	netbsd-8-0-RELEASE:1.4
	phil-wifi:1.4.0.34
	phil-wifi-base:1.4
	pgoyette-compat-0625:1.4
	netbsd-8-0-RC2:1.4
	pgoyette-compat-0521:1.4
	pgoyette-compat-0502:1.4
	pgoyette-compat-0422:1.4
	netbsd-8-0-RC1:1.4
	pgoyette-compat-0415:1.4
	pgoyette-compat-0407:1.4
	pgoyette-compat-0330:1.4
	pgoyette-compat-0322:1.4
	pgoyette-compat-0315:1.4
	netbsd-7-1-2-RELEASE:1.4
	pgoyette-compat:1.4.0.32
	pgoyette-compat-base:1.4
	netbsd-7-1-1-RELEASE:1.4
	matt-nb8-mediatek:1.4.0.30
	matt-nb8-mediatek-base:1.4
	perseant-stdc-iso10646:1.4.0.28
	perseant-stdc-iso10646-base:1.4
	netbsd-8:1.4.0.26
	netbsd-8-base:1.4
	prg-localcount2-base3:1.4
	prg-localcount2-base2:1.4
	prg-localcount2-base1:1.4
	prg-localcount2:1.4.0.24
	prg-localcount2-base:1.4
	pgoyette-localcount-20170426:1.4
	bouyer-socketcan-base1:1.4
	pgoyette-localcount-20170320:1.4
	netbsd-7-1:1.4.0.22
	netbsd-7-1-RELEASE:1.4
	netbsd-7-1-RC2:1.4
	netbsd-7-nhusb-base-20170116:1.4
	bouyer-socketcan:1.4.0.20
	bouyer-socketcan-base:1.4
	pgoyette-localcount-20170107:1.4
	netbsd-7-1-RC1:1.4
	pgoyette-localcount-20161104:1.4
	netbsd-7-0-2-RELEASE:1.4
	localcount-20160914:1.4
	netbsd-7-nhusb:1.4.0.18
	netbsd-7-nhusb-base:1.4
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.16
	pgoyette-localcount-base:1.4
	netbsd-7-0-1-RELEASE:1.4
	netbsd-7-0:1.4.0.14
	netbsd-7-0-RELEASE:1.4
	netbsd-7-0-RC3:1.4
	netbsd-7-0-RC2:1.4
	netbsd-7-0-RC1:1.4
	netbsd-5-2-3-RELEASE:1.1
	netbsd-5-1-5-RELEASE:1.1
	netbsd-6-0-6-RELEASE:1.3
	netbsd-6-1-5-RELEASE:1.3
	netbsd-7:1.4.0.12
	netbsd-7-base:1.4
	yamt-pagecache-base9:1.4
	yamt-pagecache-tag8:1.3.2.1
	netbsd-6-1-4-RELEASE:1.3
	netbsd-6-0-5-RELEASE:1.3
	tls-earlyentropy:1.4.0.10
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4
	riastradh-drm2-base3:1.4
	netbsd-6-1-3-RELEASE:1.3
	netbsd-6-0-4-RELEASE:1.3
	netbsd-5-2-2-RELEASE:1.1
	netbsd-5-1-4-RELEASE:1.1
	netbsd-6-1-2-RELEASE:1.3
	netbsd-6-0-3-RELEASE:1.3
	netbsd-5-2-1-RELEASE:1.1
	netbsd-5-1-3-RELEASE:1.1
	netbsd-6-1-1-RELEASE:1.3
	riastradh-drm2-base2:1.4
	riastradh-drm2-base1:1.4
	riastradh-drm2:1.4.0.4
	riastradh-drm2-base:1.4
	netbsd-6-1:1.3.0.10
	netbsd-6-0-2-RELEASE:1.3
	netbsd-6-1-RELEASE:1.3
	khorben-n900:1.4.0.8
	netbsd-6-1-RC4:1.3
	netbsd-6-1-RC3:1.3
	agc-symver:1.4.0.6
	agc-symver-base:1.4
	netbsd-6-1-RC2:1.3
	netbsd-6-1-RC1:1.3
	yamt-pagecache-base8:1.4
	netbsd-5-2:1.1.0.2
	netbsd-6-0-1-RELEASE:1.3
	yamt-pagecache-base7:1.4
	netbsd-5-2-RELEASE:1.1
	netbsd-5-2-RC1:1.1
	matt-nb6-plus-nbase:1.3
	yamt-pagecache-base6:1.4
	netbsd-6-0:1.3.0.8
	netbsd-6-0-RELEASE:1.3
	netbsd-6-0-RC2:1.3
	tls-maxphys:1.4.0.2
	tls-maxphys-base:1.4
	matt-nb6-plus:1.3.0.6
	matt-nb6-plus-base:1.3
	netbsd-6-0-RC1:1.3
	yamt-pagecache-base5:1.3
	yamt-pagecache-base4:1.3
	netbsd-6:1.3.0.4
	netbsd-6-base:1.3
	netbsd-5-1-2-RELEASE:1.1
	netbsd-5-1-1-RELEASE:1.1
	yamt-pagecache-base3:1.3
	yamt-pagecache-base2:1.3
	yamt-pagecache:1.3.0.2
	yamt-pagecache-base:1.3
	cherry-xenmp:1.2.0.4
	cherry-xenmp-base:1.2
	bouyer-quota2-nbase:1.2
	bouyer-quota2:1.2.0.2
	bouyer-quota2-base:1.2
	matt-mips64-premerge-20101231:1.2
	matt-nb5-mips64-premerge-20101231:1.1
	matt-nb5-pq3:1.1.0.16
	matt-nb5-pq3-base:1.1
	netbsd-5-1:1.1.0.14
	netbsd-5-1-RELEASE:1.1
	netbsd-5-1-RC4:1.1
	matt-nb5-mips64-k15:1.1
	netbsd-5-1-RC3:1.1
	netbsd-5-1-RC2:1.1
	netbsd-5-1-RC1:1.1
	netbsd-5-0-2-RELEASE:1.1
	matt-nb5-mips64-premerge-20091211:1.1
	matt-premerge-20091211:1.1
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1
	matt-nb4-mips64-k7-u2a-k9b:1.1
	matt-nb5-mips64-u1-k1-k5:1.1
	matt-nb5-mips64:1.1.0.12
	netbsd-5-0-1-RELEASE:1.1
	jym-xensuspend-nbase:1.1
	netbsd-5-0:1.1.0.10
	netbsd-5-0-RELEASE:1.1
	netbsd-5-0-RC4:1.1
	netbsd-5-0-RC3:1.1
	netbsd-5-0-RC2:1.1
	jym-xensuspend:1.1.0.8
	jym-xensuspend-base:1.1
	netbsd-5-0-RC1:1.1
	haad-dm-base:1.1
	haad-dm-base2:1.1
	haad-nbase2:1.1
	netbsd-5:1.1.0.6
	netbsd-5-base:1.1
	matt-mips64-base2:1.1
	haad-dm:1.1.0.4
	haad-dm-base1:1.1;
locks; strict;
comment	@# @;


1.5
date	2025.01.11.23.00.02;	author mrg;	state Exp;
branches;
next	1.4;
commitid	7OrmzX0jlImAz7FF;

1.4
date	2012.08.10.16.10.29;	author joerg;	state Exp;
branches
	1.4.46.1;
next	1.3;

1.3
date	2011.06.20.07.43.57;	author mrg;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2010.02.08.07.56.38;	author plunky;	state Exp;
branches
	1.2.4.1;
next	1.1;

1.1
date	2008.09.19.21.38.41;	author christos;	state Exp;
branches
	1.1.4.1;
next	;

1.4.46.1
date	2025.08.02.05.20.50;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;

1.3.2.1
date	2012.10.30.18.49.13;	author yamt;	state Exp;
branches;
next	;

1.2.4.1
date	2011.06.23.14.18.27;	author cherry;	state Exp;
branches;
next	;

1.1.4.1
date	2008.09.19.21.38.41;	author haad;	state dead;
branches;
next	1.1.4.2;

1.1.4.2
date	2008.10.19.22.39.48;	author haad;	state Exp;
branches;
next	;


desc
@@


1.5
log
@objects and .d files also depend upon config_local.h.

with this, and the libzstd move in src/lib/Makefile, it no longer
fails if you try to do this:

  % cd src/compat
  % nbmake-foo BOOTSTRAP_SUBDIRS=../../../lib clean
  % nbmake-foo BOOTSTRAP_SUBDIRS=../../../lib depend

as reported by uwe@@.
@
text
@#	$NetBSD: Makefile,v 1.4 2012/08/10 16:10:29 joerg Exp $

NOLINKLIB=	# defined

.include <bsd.own.mk>

LIB=	amu

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

.include "${.CURDIR}/../../Makefile.inc"

DIST=	${IDIST}/libamu
.PATH:	${DIST} ${IDIST}/conf/mtab ${IDIST}/conf/transp ${IDIST}/conf/umount

SRCS=	hasmntopt.c misc_rpc.c mount_fs.c mtab.c mtab_bsd.c \
	nfs_prot_xdr.c strutil.c transp_sockets.c ualarm.c umount_bsd44.c \
	wire.c xdr_func.c xutil.c

# XXX
.if defined(HAVE_GCC) || defined(HAVE_LLVM)
COPTS.xdr_func.c+=	-fno-strict-aliasing
.endif

# some host specific compile time settings amd wants to have compiled in
config_local.h: mkconf
	${_MKTARGET_CREATE}
	rm -f ${.TARGET}
	${HOST_SH} ${.ALLSRC} \
	    `${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh` > ${.TARGET}

CLEANFILES+=	config_local.h

.include <bsd.lib.mk>

${SRCS} ${OBJS}: config_local.h
@


1.4
log
@Decouple Clang from HAVE_GCC.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2011/06/20 07:43:57 mrg Exp $
d36 1
a36 1
${SRCS}: config_local.h
@


1.4.46.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2025/01/11 23:00:02 mrg Exp $
d36 1
a36 1
${SRCS} ${OBJS}: config_local.h
@


1.3
log
@remove most of the remaining HAVE_GCC tests that are always true in
the modern world.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2010/02/08 07:56:38 plunky Exp $
d21 1
a21 1
.if defined(HAVE_GCC)
@


1.3.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2011/06/20 07:43:57 mrg Exp $
d21 1
a21 1
.if defined(HAVE_GCC) || defined(HAVE_LLVM)
@


1.2
log
@use

.if defined(HAVE_GCC) && ${HAVE_GCC} == 4

rather than

.if ${HAVE_GCC} == 4

as HAVE_GCC may be undefined
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2008/09/19 21:38:41 christos Exp $
d21 1
a21 1
.if defined(HAVE_GCC) && ${HAVE_GCC} == 4
@


1.2.4.1
log
@Catchup with rmind-uvmplock merge.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2011/06/20 07:43:57 mrg Exp $
d21 1
a21 1
.if defined(HAVE_GCC)
@


1.1
log
@resolve issues and add build glue
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2006/05/11 09:08:09 mrg Exp $
d21 1
a21 1
.if ${HAVE_GCC} == 4
@


1.1.4.1
log
@file Makefile was added on branch haad-dm on 2008-10-19 22:39:48 +0000
@
text
@d1 36
@


1.1.4.2
log
@Sync with HEAD.
@
text
@a0 36
#	$NetBSD: Makefile,v 1.1 2008/09/19 21:38:41 christos Exp $

NOLINKLIB=	# defined

.include <bsd.own.mk>

LIB=	amu

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

.include "${.CURDIR}/../../Makefile.inc"

DIST=	${IDIST}/libamu
.PATH:	${DIST} ${IDIST}/conf/mtab ${IDIST}/conf/transp ${IDIST}/conf/umount

SRCS=	hasmntopt.c misc_rpc.c mount_fs.c mtab.c mtab_bsd.c \
	nfs_prot_xdr.c strutil.c transp_sockets.c ualarm.c umount_bsd44.c \
	wire.c xdr_func.c xutil.c

# XXX
.if ${HAVE_GCC} == 4
COPTS.xdr_func.c+=	-fno-strict-aliasing
.endif

# some host specific compile time settings amd wants to have compiled in
config_local.h: mkconf
	${_MKTARGET_CREATE}
	rm -f ${.TARGET}
	${HOST_SH} ${.ALLSRC} \
	    `${HOST_SH} ${NETBSDSRCDIR}/sys/conf/osrelease.sh` > ${.TARGET}

CLEANFILES+=	config_local.h

.include <bsd.lib.mk>

${SRCS}: config_local.h
@
