head	1.11;
access;
symbols
	perseant-exfatfs-base-20250801:1.11
	perseant-exfatfs-base-20240630:1.11
	cjep_sun2x:1.11.0.44
	cjep_sun2x-base:1.11
	cjep_staticlib_x-base1:1.11
	cjep_staticlib_x:1.11.0.42
	cjep_staticlib_x-base:1.11
	phil-wifi-20200421:1.11
	phil-wifi-20200411:1.11
	phil-wifi-20200406:1.11
	pgoyette-compat-merge-20190127:1.11
	pgoyette-compat-20190127:1.11
	pgoyette-compat-20190118:1.11
	pgoyette-compat-1226:1.11
	pgoyette-compat-1126:1.11
	pgoyette-compat-1020:1.11
	pgoyette-compat-0930:1.11
	pgoyette-compat-0906:1.11
	pgoyette-compat-0728:1.11
	pgoyette-compat-0625:1.11
	pgoyette-compat-0521:1.11
	pgoyette-compat-0502:1.11
	pgoyette-compat-0422:1.11
	pgoyette-compat-0415:1.11
	pgoyette-compat-0407:1.11
	pgoyette-compat-0330:1.11
	pgoyette-compat-0322:1.11
	pgoyette-compat-0315:1.11
	pgoyette-compat:1.11.0.40
	pgoyette-compat-base:1.11
	perseant-stdc-iso10646:1.11.0.38
	perseant-stdc-iso10646-base:1.11
	prg-localcount2-base3:1.11
	prg-localcount2-base2:1.11
	prg-localcount2-base1:1.11
	prg-localcount2:1.11.0.36
	prg-localcount2-base:1.11
	pgoyette-localcount-20170426:1.11
	bouyer-socketcan-base1:1.11
	pgoyette-localcount-20170320:1.11
	bouyer-socketcan:1.11.0.34
	bouyer-socketcan-base:1.11
	pgoyette-localcount-20170107:1.11
	pgoyette-localcount-20161104:1.11
	localcount-20160914:1.11
	pgoyette-localcount-20160806:1.11
	pgoyette-localcount-20160726:1.11
	pgoyette-localcount:1.11.0.32
	pgoyette-localcount-base:1.11
	netbsd-5-2-3-RELEASE:1.11
	netbsd-5-1-5-RELEASE:1.11
	yamt-pagecache-base9:1.11
	yamt-pagecache-tag8:1.11
	tls-earlyentropy:1.11.0.28
	tls-earlyentropy-base:1.11
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.11
	riastradh-drm2-base3:1.11
	netbsd-5-2-2-RELEASE:1.11
	netbsd-5-1-4-RELEASE:1.11
	netbsd-5-2-1-RELEASE:1.11
	netbsd-5-1-3-RELEASE:1.11
	agc-symver:1.11.0.30
	agc-symver-base:1.11
	tls-maxphys-base:1.11
	yamt-pagecache-base8:1.11
	netbsd-5-2:1.11.0.26
	yamt-pagecache-base7:1.11
	netbsd-5-2-RELEASE:1.11
	netbsd-5-2-RC1:1.11
	yamt-pagecache-base6:1.11
	yamt-pagecache-base5:1.11
	yamt-pagecache-base4:1.11
	netbsd-5-1-2-RELEASE:1.11
	netbsd-5-1-1-RELEASE:1.11
	yamt-pagecache-base3:1.11
	yamt-pagecache-base2:1.11
	yamt-pagecache:1.11.0.24
	yamt-pagecache-base:1.11
	bouyer-quota2-nbase:1.11
	bouyer-quota2:1.11.0.22
	bouyer-quota2-base:1.11
	matt-nb5-pq3:1.11.0.20
	matt-nb5-pq3-base:1.11
	netbsd-5-1:1.11.0.18
	netbsd-5-1-RELEASE:1.11
	netbsd-5-1-RC4:1.11
	netbsd-5-1-RC3:1.11
	netbsd-5-1-RC2:1.11
	netbsd-5-1-RC1:1.11
	netbsd-5-0-2-RELEASE:1.11
	netbsd-5-0-1-RELEASE:1.11
	jym-xensuspend-nbase:1.11
	netbsd-5-0:1.11.0.16
	netbsd-5-0-RELEASE:1.11
	netbsd-5-0-RC4:1.11
	netbsd-5-0-RC3:1.11
	netbsd-5-0-RC2:1.11
	jym-xensuspend:1.11.0.14
	jym-xensuspend-base:1.11
	netbsd-5-0-RC1:1.11
	netbsd-5:1.11.0.12
	netbsd-5-base:1.11
	mjf-devfs2:1.11.0.10
	mjf-devfs2-base:1.11
	yamt-pf42-base4:1.11
	yamt-pf42-base3:1.11
	hpcarm-cleanup-nbase:1.11
	yamt-pf42-base2:1.11
	yamt-pf42:1.11.0.8
	yamt-pf42-base:1.11
	keiichi-mipv6:1.11.0.6
	keiichi-mipv6-base:1.11
	cube-autoconf:1.11.0.4
	cube-autoconf-base:1.11
	hpcarm-cleanup:1.11.0.2
	hpcarm-cleanup-base:1.11
	netbsd-3-1-1-RELEASE:1.10
	netbsd-3-0-3-RELEASE:1.10
	abandoned-netbsd-4-base:1.10
	abandoned-netbsd-4:1.10.0.12
	netbsd-3-1:1.10.0.14
	netbsd-3-1-RELEASE:1.10
	netbsd-3-0-2-RELEASE:1.10
	netbsd-3-1-RC4:1.10
	netbsd-3-1-RC3:1.10
	netbsd-3-1-RC2:1.10
	netbsd-3-1-RC1:1.10
	netbsd-3-0-1-RELEASE:1.10
	netbsd-3-0:1.10.0.10
	netbsd-3-0-RELEASE:1.10
	netbsd-3-0-RC6:1.10
	netbsd-3-0-RC5:1.10
	netbsd-3-0-RC4:1.10
	netbsd-3-0-RC3:1.10
	netbsd-3-0-RC2:1.10
	netbsd-3-0-RC1:1.10
	netbsd-2-0-3-RELEASE:1.10
	netbsd-2-1:1.10.0.8
	netbsd-2-1-RELEASE:1.10
	netbsd-2-1-RC6:1.10
	netbsd-2-1-RC5:1.10
	netbsd-2-1-RC4:1.10
	netbsd-2-1-RC3:1.10
	netbsd-2-1-RC2:1.10
	netbsd-2-1-RC1:1.10
	netbsd-2-0-2-RELEASE:1.10
	netbsd-3:1.10.0.6
	netbsd-3-base:1.10
	netbsd-2-0-1-RELEASE:1.10
	netbsd-2:1.10.0.4
	netbsd-2-base:1.10
	netbsd-2-0-RELEASE:1.10
	netbsd-2-0-RC5:1.10
	netbsd-2-0-RC4:1.10
	netbsd-2-0-RC3:1.10
	netbsd-2-0-RC2:1.10
	netbsd-2-0-RC1:1.10
	netbsd-2-0:1.10.0.2
	netbsd-2-0-base:1.10;
locks; strict;
comment	@# @;


1.11
date	2006.11.20.17.08.42;	author skrll;	state dead;
branches;
next	1.10;

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

1.9
date	2003.11.16.16.29.04;	author lukem;	state Exp;
branches;
next	1.8;

1.8
date	2003.09.26.06.55.48;	author tron;	state Exp;
branches;
next	1.7;

1.7
date	2003.09.26.06.53.30;	author tron;	state Exp;
branches;
next	1.6;

1.6
date	2003.09.23.09.04.41;	author matt;	state Exp;
branches;
next	1.5;

1.5
date	2003.08.19.01.13.25;	author uwe;	state Exp;
branches;
next	1.4;

1.4
date	2003.08.01.17.03.45;	author lukem;	state Exp;
branches;
next	1.3;

1.3
date	2003.07.29.23.35.25;	author uwe;	state Exp;
branches;
next	1.2;

1.2
date	2003.07.25.17.19.24;	author mrg;	state Exp;
branches;
next	1.1;

1.1
date	2003.07.25.16.32.34;	author mrg;	state Exp;
branches;
next	;


desc
@@


1.11
log
@Delete more gcc3 stuff.
@
text
@#	$NetBSD: Makefile,v 1.10 2003/11/16 22:49:48 lukem Exp $

PROG=		f771
SRCS=		${G_F77_OBJS:.o=.c} main.c

CPPFLAGS+=	-I${DIST}/gcc/f -I.
HOST_CPPFLAGS+=	-I${GCCARCH} -I${BACKENDOBJ} -DUSE_HCONFIG= \
		${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*}

.for f in 1t 2t fo io nq op ot
DPSRCS+=	str-${f}.h
.endfor

fini: fini.lo
	${_MKTARGET_LINK}
	${HOST_LINK.c} -o ${.TARGET} ${.ALLSRC} ${HOSTLIBIBERTY}
CLEANFILES+=	fini fini.lo

.include "../Makefile.backend"

.for f in 1t 2t fo io nq op ot
CLEANFILES+=	str-${f}.h str-${f}.j

str-${f}.h str-${f}.j: str-${f}.fin fini
	${_MKTARGET_CREATE}
	./fini ${>:M*.fin} str-${f}.j str-${f}.h
.endfor

CLEANFILES+=	main.c

main.c: ${DIST}/gcc/main.c
	rm -f main.c
	ln -s $> main.c

.PATH: ${DIST}/gcc/f ${DIST}/libiberty ${G_out_file:H}
@


1.10
log
@add fini.lo to CLEANFILES
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.9 2003/11/16 16:29:04 lukem Exp $
@


1.9
log
@support MAKEVERBOSE
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2003/09/26 06:55:48 tron Exp $
d17 1
a17 1
CLEANFILES+=	fini
@


1.8
log
@Move inclusion of "Makefile.backend" a bit further up again to fix
build failures.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2003/09/23 09:04:41 matt Exp $
d14 3
a16 2
fini: fini.c
	${HOST_LINK.c} -o $@@ $> ${HOSTLIBIBERTY}
d25 1
@


1.7
log
@Include "Makefile.backend" at the end so that "CLEANFILES" definitions
are not ignored.
@
text
@d18 2
a33 2

.include "../Makefile.backend"
@


1.6
log
@Add a .PATH dependency on the target's gcc config directory.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2003/08/19 01:13:25 uwe Exp $
a13 2
.include "../Makefile.backend"

d32 2
@


1.5
log
@Add -I${BACKENDOBJ} to HOST_CPPFLAGS so that `fini' host program can
find auto-build.h.

Fixes PR/22497.
Ok by mrg@@.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2003/08/01 17:03:45 lukem Exp $
d33 1
a33 1
.PATH: ${DIST}/gcc/f ${DIST}/libiberty
@


1.4
log
@Rework how dependency generation is performed:

* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2003/07/29 23:35:25 uwe Exp $
d7 1
a7 1
HOST_CPPFLAGS+=	-I${GCCARCH} -DUSE_HCONFIG= \
@


1.3
log
@Adapt to bsd.dep.mk changes.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2003/07/25 17:19:24 mrg Exp $
d10 4
a24 2

${OBJS} ${DEPENDSRCS}: str-${f}.h
@


1.2
log
@clean up and fix a couple of build-from-cleandir problems
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2003/07/25 16:32:34 mrg Exp $
d10 2
d22 1
a22 1
${OBJS} .depend: str-${f}.h
a25 2

.include "../Makefile.backend"
@


1.1
log
@new reach-over infrastructure (largely based on GCC2.95 one) that (mostly)
works.  sparc & i386 support is included here.  libstdc++-v3 does not yet
properly build for some strange reasons (that may be due to broken netbsd
header files, it's not yet clear) but i have been able to compile, link and
run both i386 & sparc hello.c.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2001/11/08 00:13:53 simonb Exp $
d10 2
a11 4
.include "../Makefile.backend"

fini: fini.c safe-ctype.c my-xmalloc.c
	${HOST_LINK.c} -o $@@ $>
d24 3
@

