head	1.28;
access;
symbols
	netbsd-11-0-RC4:1.28
	netbsd-11-0-RC3:1.28
	netbsd-11-0-RC2:1.28
	netbsd-11-0-RC1:1.28
	perseant-exfatfs-base-20250801:1.28
	netbsd-11:1.28.0.4
	netbsd-11-base:1.28
	netbsd-10-1-RELEASE:1.27
	perseant-exfatfs-base-20240630:1.28
	perseant-exfatfs:1.28.0.2
	perseant-exfatfs-base:1.28
	netbsd-8-3-RELEASE:1.26
	netbsd-9-4-RELEASE:1.26
	netbsd-10-0-RELEASE:1.27
	netbsd-10-0-RC6:1.27
	netbsd-10-0-RC5:1.27
	netbsd-10-0-RC4:1.27
	netbsd-10-0-RC3:1.27
	netbsd-10-0-RC2:1.27
	netbsd-10-0-RC1:1.27
	netbsd-10:1.27.0.8
	netbsd-10-base:1.27
	netbsd-9-3-RELEASE:1.26
	cjep_sun2x-base1:1.27
	cjep_sun2x:1.27.0.6
	cjep_sun2x-base:1.27
	cjep_staticlib_x-base1:1.27
	netbsd-9-2-RELEASE:1.26
	cjep_staticlib_x:1.27.0.4
	cjep_staticlib_x-base:1.27
	netbsd-9-1-RELEASE:1.26
	phil-wifi-20200421:1.27
	phil-wifi-20200411:1.27
	is-mlppp:1.27.0.2
	is-mlppp-base:1.27
	phil-wifi-20200406:1.27
	netbsd-8-2-RELEASE:1.26
	netbsd-9-0-RELEASE:1.26
	netbsd-9-0-RC2:1.26
	netbsd-9-0-RC1:1.26
	phil-wifi-20191119:1.27
	netbsd-9:1.26.0.44
	netbsd-9-base:1.26
	phil-wifi-20190609:1.26
	netbsd-8-1-RELEASE:1.26
	netbsd-8-1-RC1:1.26
	pgoyette-compat-merge-20190127:1.26
	pgoyette-compat-20190127:1.26
	pgoyette-compat-20190118:1.26
	pgoyette-compat-1226:1.26
	pgoyette-compat-1126:1.26
	pgoyette-compat-1020:1.26
	pgoyette-compat-0930:1.26
	pgoyette-compat-0906:1.26
	netbsd-7-2-RELEASE:1.26
	pgoyette-compat-0728:1.26
	netbsd-8-0-RELEASE:1.26
	phil-wifi:1.26.0.42
	phil-wifi-base:1.26
	pgoyette-compat-0625:1.26
	netbsd-8-0-RC2:1.26
	pgoyette-compat-0521:1.26
	pgoyette-compat-0502:1.26
	pgoyette-compat-0422:1.26
	netbsd-8-0-RC1:1.26
	pgoyette-compat-0415:1.26
	pgoyette-compat-0407:1.26
	pgoyette-compat-0330:1.26
	pgoyette-compat-0322:1.26
	pgoyette-compat-0315:1.26
	netbsd-7-1-2-RELEASE:1.26
	pgoyette-compat:1.26.0.40
	pgoyette-compat-base:1.26
	netbsd-7-1-1-RELEASE:1.26
	matt-nb8-mediatek:1.26.0.38
	matt-nb8-mediatek-base:1.26
	perseant-stdc-iso10646:1.26.0.36
	perseant-stdc-iso10646-base:1.26
	netbsd-8:1.26.0.34
	netbsd-8-base:1.26
	prg-localcount2-base3:1.26
	prg-localcount2-base2:1.26
	prg-localcount2-base1:1.26
	prg-localcount2:1.26.0.32
	prg-localcount2-base:1.26
	pgoyette-localcount-20170426:1.26
	bouyer-socketcan-base1:1.26
	pgoyette-localcount-20170320:1.26
	netbsd-7-1:1.26.0.30
	netbsd-7-1-RELEASE:1.26
	netbsd-7-1-RC2:1.26
	netbsd-7-nhusb-base-20170116:1.26
	bouyer-socketcan:1.26.0.28
	bouyer-socketcan-base:1.26
	pgoyette-localcount-20170107:1.26
	netbsd-7-1-RC1:1.26
	pgoyette-localcount-20161104:1.26
	netbsd-7-0-2-RELEASE:1.26
	localcount-20160914:1.26
	netbsd-7-nhusb:1.26.0.26
	netbsd-7-nhusb-base:1.26
	pgoyette-localcount-20160806:1.26
	pgoyette-localcount-20160726:1.26
	pgoyette-localcount:1.26.0.24
	pgoyette-localcount-base:1.26
	netbsd-7-0-1-RELEASE:1.26
	netbsd-7-0:1.26.0.22
	netbsd-7-0-RELEASE:1.26
	netbsd-7-0-RC3:1.26
	netbsd-7-0-RC2:1.26
	netbsd-7-0-RC1:1.26
	netbsd-5-2-3-RELEASE:1.24
	netbsd-5-1-5-RELEASE:1.24
	netbsd-6-0-6-RELEASE:1.26
	netbsd-6-1-5-RELEASE:1.26
	netbsd-7:1.26.0.20
	netbsd-7-base:1.26
	yamt-pagecache-base9:1.26
	yamt-pagecache-tag8:1.26
	netbsd-6-1-4-RELEASE:1.26
	netbsd-6-0-5-RELEASE:1.26
	tls-earlyentropy:1.26.0.18
	tls-earlyentropy-base:1.26
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.26
	riastradh-drm2-base3:1.26
	netbsd-6-1-3-RELEASE:1.26
	netbsd-6-0-4-RELEASE:1.26
	netbsd-5-2-2-RELEASE:1.24
	netbsd-5-1-4-RELEASE:1.24
	netbsd-6-1-2-RELEASE:1.26
	netbsd-6-0-3-RELEASE:1.26
	netbsd-5-2-1-RELEASE:1.24
	netbsd-5-1-3-RELEASE:1.24
	netbsd-6-1-1-RELEASE:1.26
	riastradh-drm2-base2:1.26
	riastradh-drm2-base1:1.26
	riastradh-drm2:1.26.0.12
	riastradh-drm2-base:1.26
	netbsd-6-1:1.26.0.16
	netbsd-6-0-2-RELEASE:1.26
	netbsd-6-1-RELEASE:1.26
	netbsd-6-1-RC4:1.26
	netbsd-6-1-RC3:1.26
	agc-symver:1.26.0.14
	agc-symver-base:1.26
	netbsd-6-1-RC2:1.26
	netbsd-6-1-RC1:1.26
	yamt-pagecache-base8:1.26
	netbsd-5-2:1.24.0.18
	netbsd-6-0-1-RELEASE:1.26
	yamt-pagecache-base7:1.26
	netbsd-5-2-RELEASE:1.24
	netbsd-5-2-RC1:1.24
	matt-nb6-plus-nbase:1.26
	yamt-pagecache-base6:1.26
	netbsd-6-0:1.26.0.10
	netbsd-6-0-RELEASE:1.26
	netbsd-6-0-RC2:1.26
	tls-maxphys:1.26.0.8
	tls-maxphys-base:1.26
	matt-nb6-plus:1.26.0.6
	matt-nb6-plus-base:1.26
	netbsd-6-0-RC1:1.26
	yamt-pagecache-base5:1.26
	yamt-pagecache-base4:1.26
	netbsd-6:1.26.0.4
	netbsd-6-base:1.26
	netbsd-5-1-2-RELEASE:1.24
	netbsd-5-1-1-RELEASE:1.24
	yamt-pagecache-base3:1.26
	yamt-pagecache-base2:1.26
	yamt-pagecache:1.26.0.2
	yamt-pagecache-base:1.26
	cherry-xenmp:1.24.0.16
	cherry-xenmp-base:1.24
	bouyer-quota2-nbase:1.24
	bouyer-quota2:1.24.0.14
	bouyer-quota2-base:1.24
	matt-mips64-premerge-20101231:1.24
	matt-nb5-mips64-premerge-20101231:1.24
	matt-nb5-pq3:1.24.0.12
	matt-nb5-pq3-base:1.24
	netbsd-5-1:1.24.0.10
	netbsd-5-1-RELEASE:1.24
	netbsd-5-1-RC4:1.24
	matt-nb5-mips64-k15:1.24
	netbsd-5-1-RC3:1.24
	netbsd-5-1-RC2:1.24
	netbsd-5-1-RC1:1.24
	netbsd-5-0-2-RELEASE:1.24
	matt-nb5-mips64-premerge-20091211:1.24
	matt-premerge-20091211:1.24
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.24
	matt-nb4-mips64-k7-u2a-k9b:1.24
	matt-nb5-mips64-u1-k1-k5:1.24
	matt-nb5-mips64:1.24.0.8
	netbsd-5-0-1-RELEASE:1.24
	jym-xensuspend-nbase:1.24
	netbsd-5-0:1.24.0.6
	netbsd-5-0-RELEASE:1.24
	netbsd-5-0-RC4:1.24
	netbsd-5-0-RC3:1.24
	netbsd-5-0-RC2:1.24
	jym-xensuspend:1.24.0.4
	jym-xensuspend-base:1.24
	netbsd-5-0-RC1:1.24
	netbsd-5:1.24.0.2
	netbsd-5-base:1.24
	matt-mips64-base2:1.24
	matt-mips64:1.23.0.26
	netbsd-4-0-1-RELEASE:1.23
	wrstuden-revivesa-base-3:1.24
	wrstuden-revivesa-base-2:1.24
	wrstuden-fixsa-newbase:1.23
	wrstuden-revivesa-base-1:1.23
	yamt-pf42-base4:1.23
	yamt-pf42-base3:1.23
	hpcarm-cleanup-nbase:1.23
	yamt-pf42-baseX:1.23
	yamt-pf42-base2:1.23
	wrstuden-revivesa:1.23.0.24
	wrstuden-revivesa-base:1.23
	yamt-pf42:1.23.0.22
	yamt-pf42-base:1.23
	mjf-devfs2:1.23.0.20
	mjf-devfs2-base:1.24
	keiichi-mipv6:1.23.0.18
	keiichi-mipv6-base:1.23
	matt-armv6-nbase:1.23
	matt-armv6-prevmlocking:1.23
	wrstuden-fixsa-base-1:1.23
	netbsd-4-0:1.23.0.16
	netbsd-4-0-RELEASE:1.23
	cube-autoconf:1.23.0.14
	cube-autoconf-base:1.23
	mjf-devfs:1.23.0.12
	mjf-devfs-base:1.23
	netbsd-4-0-RC5:1.23
	netbsd-4-0-RC4:1.23
	netbsd-4-0-RC3:1.23
	netbsd-4-0-RC2:1.23
	netbsd-4-0-RC1:1.23
	matt-armv6:1.23.0.10
	matt-armv6-base:1.23
	matt-mips64-base:1.23
	hpcarm-cleanup:1.23.0.8
	hpcarm-cleanup-base:1.23
	netbsd-3-1-1-RELEASE:1.22
	netbsd-3-0-3-RELEASE:1.22
	wrstuden-fixsa:1.23.0.6
	wrstuden-fixsa-base:1.23
	abandoned-netbsd-4-base:1.23
	abandoned-netbsd-4:1.23.0.2
	netbsd-3-1:1.22.0.12
	netbsd-3-1-RELEASE:1.22
	netbsd-3-0-2-RELEASE:1.22
	netbsd-3-1-RC4:1.22
	netbsd-3-1-RC3:1.22
	netbsd-3-1-RC2:1.22
	netbsd-3-1-RC1:1.22
	netbsd-4:1.23.0.4
	netbsd-4-base:1.23
	netbsd-3-0-1-RELEASE:1.22
	netbsd-3-0:1.22.0.10
	netbsd-3-0-RELEASE:1.22
	netbsd-3-0-RC6:1.22
	netbsd-3-0-RC5:1.22
	netbsd-3-0-RC4:1.22
	netbsd-3-0-RC3:1.22
	netbsd-3-0-RC2:1.22
	netbsd-3-0-RC1:1.22
	netbsd-2-0-3-RELEASE:1.22
	netbsd-2-1:1.22.0.8
	netbsd-2-1-RELEASE:1.22
	netbsd-2-1-RC6:1.22
	netbsd-2-1-RC5:1.22
	netbsd-2-1-RC4:1.22
	netbsd-2-1-RC3:1.22
	netbsd-2-1-RC2:1.22
	netbsd-2-1-RC1:1.22
	netbsd-2-0-2-RELEASE:1.22
	netbsd-3:1.22.0.6
	netbsd-3-base:1.22
	netbsd-2-0-1-RELEASE:1.22
	netbsd-2:1.22.0.4
	netbsd-2-base:1.22
	netbsd-2-0-RELEASE:1.22
	netbsd-2-0-RC5:1.22
	netbsd-2-0-RC4:1.22
	netbsd-2-0-RC3:1.22
	netbsd-2-0-RC2:1.22
	netbsd-2-0-RC1:1.22
	netbsd-2-0:1.22.0.2
	netbsd-2-0-base:1.22
	netbsd-1-6-PATCH002-RELEASE:1.21
	netbsd-1-6-PATCH002:1.21
	netbsd-1-6-PATCH002-RC4:1.21
	netbsd-1-6-PATCH002-RC3:1.21
	netbsd-1-6-PATCH002-RC2:1.21
	netbsd-1-6-PATCH002-RC1:1.21
	netbsd-1-6-PATCH001:1.21
	netbsd-1-6-PATCH001-RELEASE:1.21
	netbsd-1-6-PATCH001-RC3:1.21
	netbsd-1-6-PATCH001-RC2:1.21
	netbsd-1-6-PATCH001-RC1:1.21
	fvdl_fs64_base:1.22
	netbsd-1-6-RELEASE:1.21
	netbsd-1-6-RC3:1.21
	netbsd-1-6-RC2:1.21
	netbsd-1-6-RC1:1.21
	netbsd-1-6:1.21.0.2
	netbsd-1-6-base:1.21
	netbsd-1-5-PATCH003:1.19
	netbsd-1-5-PATCH002:1.19
	netbsd-1-5-PATCH001:1.19
	netbsd-1-5-RELEASE:1.19
	netbsd-1-5-BETA2:1.19
	netbsd-1-5-BETA:1.19
	netbsd-1-4-PATCH003:1.19
	netbsd-1-5-ALPHA2:1.19
	netbsd-1-5:1.19.0.12
	netbsd-1-5-base:1.19
	minoura-xpg4dl:1.19.0.10
	minoura-xpg4dl-base:1.19
	netbsd-1-4-PATCH002:1.19
	wrstuden-devbsize-19991221:1.19
	wrstuden-devbsize:1.19.0.8
	wrstuden-devbsize-base:1.19
	comdex-fall-1999:1.19.0.6
	comdex-fall-1999-base:1.19
	netbsd-1-4-PATCH001:1.19
	netbsd-1-4-RELEASE:1.19
	netbsd-1-4:1.19.0.4
	netbsd-1-4-base:1.19
	netbsd-1-3-PATCH003:1.19
	netbsd-1-3-PATCH003-CANDIDATE2:1.19
	netbsd-1-3-PATCH003-CANDIDATE1:1.19
	netbsd-1-3-PATCH003-CANDIDATE0:1.19
	netbsd-1-3-PATCH002:1.19
	netbsd-1-3-PATCH001:1.19
	netbsd-1-3-RELEASE:1.19
	netbsd-1-3-BETA:1.19
	netbsd-1-3:1.19.0.2
	netbsd-1-3-base:1.19
	lite-2:1.1.1.2
	netbsd-1-2-PATCH001:1.14
	netbsd-1-2-RELEASE:1.14
	netbsd-1-2-BETA:1.14
	netbsd-1-2:1.14.0.6
	netbsd-1-2-base:1.14
	netbsd-1-1-PATCH001:1.14
	netbsd-1-1-RELEASE:1.14
	netbsd-1-1:1.14.0.2
	netbsd-1-1-base:1.14
	netbsd-1-0-PATCH06:1.12
	netbsd-1-0-PATCH05:1.12
	netbsd-1-0-PATCH04:1.12
	netbsd-1-0-PATCH03:1.12
	netbsd-1-0-PATCH02:1.12
	netbsd-1-0-PATCH1:1.12
	netbsd-1-0-PATCH0:1.12
	netbsd-1-0-RELEASE:1.12
	netbsd-1-0:1.12.0.2
	netbsd-1-0-base:1.12
	lite-1:1.1.1.2
	CSRG:1.1.1
	netbsd-0-9-RELEASE:1.5
	netbsd-0-9-BETA:1.5
	netbsd-0-9-ALPHA2:1.5
	netbsd-0-9-ALPHA:1.5
	netbsd-0-9:1.5.0.2
	netbsd-0-9-base:1.5
	netbsd-0-8:1.2
	netbsd-alpha-1:1.2
	patchkit-0-2-2:1.1.1.1
	WFJ-386bsd-01:1.1.1.1
	WFJ-920714:1.1.1;
locks; strict;
comment	@# @;


1.28
date	2023.06.03.09.09.13;	author lukem;	state Exp;
branches;
next	1.27;
commitid	aBaIRnuykonRStrE;

1.27
date	2019.10.13.07.28.13;	author mrg;	state Exp;
branches;
next	1.26;
commitid	vRNwN94v7NgB2GGB;

1.26
date	2011.08.06.20.46.42;	author dholland;	state Exp;
branches
	1.26.42.1;
next	1.25;

1.25
date	2011.06.20.07.44.00;	author mrg;	state Exp;
branches;
next	1.24;

1.24
date	2008.08.29.00.02.23;	author gmcgarry;	state Exp;
branches
	1.24.16.1;
next	1.23;

1.23
date	2006.05.11.23.16.29;	author mrg;	state Exp;
branches
	1.23.20.1
	1.23.24.1;
next	1.22;

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

1.21
date	2001.02.04.21.38.34;	author christos;	state Exp;
branches;
next	1.20;

1.20
date	2001.02.04.21.38.01;	author christos;	state Exp;
branches;
next	1.19;

1.19
date	97.10.10.19.52.10;	author christos;	state Exp;
branches;
next	1.18;

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

1.17
date	97.05.27.08.45.57;	author mrg;	state Exp;
branches;
next	1.16;

1.16
date	97.05.08.21.11.32;	author gwr;	state Exp;
branches;
next	1.15;

1.15
date	97.05.06.20.45.26;	author gwr;	state Exp;
branches;
next	1.14;

1.14
date	95.03.18.14.59.39;	author cgd;	state Exp;
branches;
next	1.13;

1.13
date	94.12.22.10.48.16;	author cgd;	state Exp;
branches;
next	1.12;

1.12
date	94.06.17.05.09.19;	author mycroft;	state Exp;
branches;
next	1.11;

1.11
date	94.06.08.19.33.32;	author mycroft;	state Exp;
branches;
next	1.10;

1.10
date	93.12.22.10.31.38;	author cgd;	state Exp;
branches;
next	1.9;

1.9
date	93.11.14.15.36.05;	author cgd;	state Exp;
branches;
next	1.8;

1.8
date	93.11.12.08.47.23;	author cgd;	state Exp;
branches;
next	1.7;

1.7
date	93.11.12.08.24.36;	author cgd;	state Exp;
branches;
next	1.6;

1.6
date	93.08.01.05.26.42;	author mycroft;	state Exp;
branches;
next	1.5;

1.5
date	93.07.18.19.17.22;	author mycroft;	state Exp;
branches;
next	1.4;

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

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

1.2
date	93.04.08.14.13.46;	author cgd;	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.26.42.1
date	2020.04.13.08.03.22;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.24.16.1
date	2011.06.23.14.18.44;	author cherry;	state Exp;
branches;
next	;

1.23.20.1
date	2008.09.28.11.17.14;	author mjf;	state Exp;
branches;
next	;

1.23.24.1
date	2008.09.18.04.28.29;	author wrstuden;	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	94.06.13.22.53.15;	author mycroft;	state Exp;
branches;
next	;


desc
@@


1.28
log
@bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
	GCC_NO_warning
to
	CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
@
text
@#	$NetBSD: Makefile,v 1.27 2019/10/13 07:28:13 mrg Exp $
#	@@(#)Makefile	8.1 (Berkeley) 6/5/93

.include <bsd.own.mk>

PROG=	restore
LINKS=	${BINDIR}/restore ${BINDIR}/rrestore
CPPFLAGS+=-DRRESTORE
SRCS=	main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c \
	dumprmt.c
MAN=	restore.8
MLINKS+=restore.8 rrestore.8
.PATH:	${NETBSDSRCDIR}/sbin/dump

COPTS.interactive.c+=	${CC_WNO_STRINGOP_TRUNCATION}
COPTS.dirs.c+=		${CC_WNO_STRINGOP_TRUNCATION}

.include <bsd.prog.mk>
@


1.27
log
@introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION    -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION  -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW    -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE   -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints.  many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 2011/08/06 20:46:42 dholland Exp $
d15 2
a16 2
COPTS.interactive.c+=	${GCC_NO_STRINGOP_TRUNCATION}
COPTS.dirs.c+=		${GCC_NO_STRINGOP_TRUNCATION}
@


1.26
log
@Add wrapper functions around hash algorithm operations to avoid
undefined behavior arising from illegal function casts. As a side
effect, no longer need -Wno-pointer-sign either.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2011/06/20 07:44:00 mrg Exp $
d15 3
@


1.26.42.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
a14 3
COPTS.interactive.c+=	${GCC_NO_STRINGOP_TRUNCATION}
COPTS.dirs.c+=		${GCC_NO_STRINGOP_TRUNCATION}

@


1.25
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.24 2008/08/29 00:02:23 gmcgarry Exp $
a14 4
.if defined(HAVE_GCC) || defined(HAVE_PCC)
COPTS.tape.c+=	-Wno-pointer-sign
.endif

@


1.24
log
@Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2006/05/11 23:16:29 mrg Exp $
d15 1
a15 1
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
@


1.24.16.1
log
@Catchup with rmind-uvmplock merge.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 2011/06/20 07:44:00 mrg Exp $
d15 1
a15 1
.if defined(HAVE_GCC) || defined(HAVE_PCC)
@


1.23
log
@sprinkle some -fno-strict-aliasing and -Wno-pointer-sign with GCC4.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 2002/08/19 10:17:00 lukem Exp $
d15 1
a15 1
.if ${HAVE_GCC} == 4
@


1.23.20.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
#	$NetBSD$
d15 1
a15 1
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
@


1.23.24.1
log
@Sync with wrstuden-revivesa-base-2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 2006/05/11 23:16:29 mrg Exp $
d15 1
a15 1
.if (defined(HAVE_GCC) && ${HAVE_GCC} == 4) || defined(HAVE_PCC)
@


1.22
log
@Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 2001/02/04 21:38:34 christos Exp $
d15 4
@


1.21
log
@revert previous change; not needed.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 2001/02/04 21:38:01 christos Exp $
d4 2
d13 1
a13 1
.PATH:	${.CURDIR}/../dump
@


1.20
log
@fix nested extern
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 1997/10/10 19:52:10 christos Exp $
d6 1
a6 1
CPPFLAGS+=-DRRESTORE -DRDUMP
@


1.19
log
@CFLAGS->CPPFLAGS
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 1997/06/30 09:47:27 lukem Exp $
d6 1
a6 1
CPPFLAGS+=-DRRESTORE
@


1.18
log
@There's no need to install restore(8) setgid tty.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 1997/05/27 08:45:57 mrg Exp $
d6 1
a6 1
CFLAGS+=-DRRESTORE
@


1.17
log
@remove the setuid bit.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 1997/05/08 21:11:32 gwr Exp $
a8 2
BINGRP=	tty
BINMODE=2555
@


1.16
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.15 1997/05/06 20:45:26 gwr Exp $
a8 1
BINOWN=	root
d10 1
a10 1
BINMODE=6555
@


1.15
log
@Use .PATH.c: ...
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 1995/03/18 14:59:39 cgd Exp $
d14 1
a14 1
.PATH.c: ${.CURDIR}/../dump
@


1.14
log
@convert to new RCS Id conventions; reduce my headache
@
text
@d1 1
a1 1
#	$NetBSD$
d14 1
a14 1
.PATH:	${.CURDIR}/../dump
@


1.13
log
@specify man pages the new way.
@
text
@d1 2
a2 2
#	from: @@(#)Makefile	8.1 (Berkeley) 6/5/93
#	$Id: Makefile,v 1.12 1994/06/17 05:09:19 mycroft Exp $
@


1.12
log
@Fix a couple of Makefile bogons.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.11 1994/06/08 19:33:32 mycroft Exp $
d12 1
a12 1
MAN8=	restore.0
@


1.11
log
@Update from 4.4-Lite, with local changes.
@
text
@d2 1
a2 1
#	$Id: $
a14 2

all: ${PROG} ${MAN8}
@


1.10
log
@new version from CSRG, via BSDI, with fixes
@
text
@d1 2
a2 2
#	from: @@(#)Makefile	5.13 (Berkeley) 3/16/92
#	$Id$
d15 2
@


1.9
log
@from Thomas Eberhardt <thomas@@mathematik.uni-Bremen.de>:
    Some reordering and modifications in the Makefiles for sh, dump,
    restore to get dependicies right.  The README in /usr/share/mk
    states that it's a Bad Thing(tm) to add something after
    .include <bsd.prog.mk>, but this seems the only way to get the
    dependencies right.
@
text
@d1 2
a2 2
#	from: @@(#)Makefile	5.10 (Berkeley) 5/11/90
#	$Id: Makefile,v 1.8 1993/11/12 08:47:23 cgd Exp $
d5 9
a13 4
SRCS=	main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c
ROBJS=	main.o interactive.o restore.o dirs.o symtab.o rtape.o utilities.o \
	dumprmt.o
MAN8=	restore.0 rrestore.0
a14 10
CLEANFILES+=dumprmt.o rtape.o rrestore

all: rrestore

rtape.o: tape.c ${LIBC}
	${CC} ${CFLAGS} -c -DRRESTORE ${.CURDIR}/tape.c -o ${.TARGET}

afterinstall:
	install ${COPY} ${STRIP} -o root -g ${BINGRP} -m 4755 rrestore \
	    ${DESTDIR}${BINDIR}
a16 3

rrestore: ${LIBCRT0} ${ROBJS} ${LIBC} ${DPADD}
	${CC} ${LDFLAGS} ${LDSTATIC} -o ${.TARGET} ${ROBJS} ${LDADD}
@


1.8
log
@oops; fix that last
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.7 1993/11/12 08:24:36 cgd Exp $
a13 3
rrestore: ${LIBCRT0} ${ROBJS} ${LIBC} ${DPADD}
	${CC} ${LDSTATIC} ${LDFLAGS} -o ${.TARGET} ${ROBJS} ${LDADD}

d22 3
@


1.7
log
@add LDSTATIC
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.6 1993/08/01 05:26:42 mycroft Exp $
d14 1
a14 1
rrestore: ${ROBJS} ${LIBC}
@


1.6
log
@Add RCS identifiers.
@
text
@d2 1
a2 1
#	$Id: $
d15 1
a15 1
	${CC} ${LDFLAGS} -o ${.TARGET} ${ROBJS} ${LDADD}
@


1.5
log
@Use ${COPY}, not -c for install.
@
text
@d1 2
a2 1
#	@@(#)Makefile	5.10 (Berkeley) 5/11/90
@


1.4
log
@Okay, so I was confused (but only a little).
@
text
@d20 1
a20 1
	install -c ${STRIP} -o root -g ${BINGRP} -m 4755 rrestore \
@


1.3
log
@Make rrestore target match normal program target.
(This should be in a separate directory, no?)
@
text
@d14 1
a14 1
	${CC} ${STRIP} ${CFLAGS} -o ${.TARGET} ${.CURDIR}/${ROBJS} ${LDADD}
@


1.2
log
@make it copy when installing
@
text
@d14 1
a14 1
	${CC} ${CFLAGS} -o ${.TARGET} ${ROBJS}
@


1.1
log
@Initial revision
@
text
@d20 1
a20 1
	install ${STRIP} -o root -g ${BINGRP} -m 4755 rrestore \
@


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


1.1.1.2
log
@Import 4.4-Lite version.
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.1 (Berkeley) 6/5/93
d4 4
a7 9
LINKS=	${BINDIR}/restore ${BINDIR}/rrestore
CFLAGS+=-DRRESTORE
SRCS=	main.c interactive.c restore.c dirs.c symtab.c tape.c utilities.c \
	dumprmt.c
BINOWN=	root
BINGRP=	tty
BINMODE=6555
MAN8=	restore.0
MLINKS+=restore.8 rrestore.8
d9 1
d11 11
a21 1
all: ${PROG} ${MAN8}
@
