head	1.4;
access;
symbols
	netbsd-11-0-RC4:1.3
	netbsd-11-0-RC3:1.3
	netbsd-11-0-RC2:1.3
	netbsd-11-0-RC1:1.3
	perseant-exfatfs-base-20250801:1.3
	netbsd-11:1.3.0.30
	netbsd-11-base:1.3
	netbsd-10-1-RELEASE:1.3
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.28
	perseant-exfatfs-base:1.3
	netbsd-8-3-RELEASE:1.3
	netbsd-9-4-RELEASE:1.3
	netbsd-10-0-RELEASE:1.3
	netbsd-10-0-RC6:1.3
	netbsd-10-0-RC5:1.3
	netbsd-10-0-RC4:1.3
	netbsd-10-0-RC3:1.3
	netbsd-10-0-RC2:1.3
	netbsd-10-0-RC1:1.3
	netbsd-10:1.3.0.26
	netbsd-10-base:1.3
	netbsd-9-3-RELEASE:1.3
	cjep_sun2x-base1:1.3
	cjep_sun2x:1.3.0.24
	cjep_sun2x-base:1.3
	cjep_staticlib_x-base1:1.3
	netbsd-9-2-RELEASE:1.3
	cjep_staticlib_x:1.3.0.22
	cjep_staticlib_x-base:1.3
	netbsd-9-1-RELEASE:1.3
	phil-wifi-20200421:1.3
	phil-wifi-20200411:1.3
	is-mlppp:1.3.0.20
	is-mlppp-base:1.3
	phil-wifi-20200406:1.3
	netbsd-8-2-RELEASE:1.3
	netbsd-9-0-RELEASE:1.3
	netbsd-9-0-RC2:1.3
	netbsd-9-0-RC1:1.3
	phil-wifi-20191119:1.3
	netbsd-9:1.3.0.18
	netbsd-9-base:1.3
	phil-wifi-20190609:1.3
	netbsd-8-1-RELEASE:1.3
	netbsd-8-1-RC1:1.3
	pgoyette-compat-merge-20190127:1.3
	pgoyette-compat-20190127:1.3
	pgoyette-compat-20190118:1.3
	pgoyette-compat-1226:1.3
	pgoyette-compat-1126:1.3
	pgoyette-compat-1020:1.3
	pgoyette-compat-0930:1.3
	pgoyette-compat-0906:1.3
	netbsd-7-2-RELEASE:1.2
	pgoyette-compat-0728:1.3
	netbsd-8-0-RELEASE:1.3
	phil-wifi:1.3.0.16
	phil-wifi-base:1.3
	pgoyette-compat-0625:1.3
	netbsd-8-0-RC2:1.3
	pgoyette-compat-0521:1.3
	pgoyette-compat-0502:1.3
	pgoyette-compat-0422:1.3
	netbsd-8-0-RC1:1.3
	pgoyette-compat-0415:1.3
	pgoyette-compat-0407:1.3
	pgoyette-compat-0330:1.3
	pgoyette-compat-0322:1.3
	pgoyette-compat-0315:1.3
	netbsd-7-1-2-RELEASE:1.2
	pgoyette-compat:1.3.0.14
	pgoyette-compat-base:1.3
	netbsd-7-1-1-RELEASE:1.2
	matt-nb8-mediatek:1.3.0.12
	matt-nb8-mediatek-base:1.3
	perseant-stdc-iso10646:1.3.0.10
	perseant-stdc-iso10646-base:1.3
	netbsd-8:1.3.0.8
	netbsd-8-base:1.3
	prg-localcount2-base3:1.3
	prg-localcount2-base2:1.3
	prg-localcount2-base1:1.3
	prg-localcount2:1.3.0.6
	prg-localcount2-base:1.3
	pgoyette-localcount-20170426:1.3
	bouyer-socketcan-base1:1.3
	pgoyette-localcount-20170320:1.3
	netbsd-7-1:1.2.0.10
	netbsd-7-1-RELEASE:1.2
	netbsd-7-1-RC2:1.2
	netbsd-7-nhusb-base-20170116:1.2
	bouyer-socketcan:1.3.0.4
	bouyer-socketcan-base:1.3
	pgoyette-localcount-20170107:1.3
	netbsd-7-1-RC1:1.2
	pgoyette-localcount-20161104:1.3
	netbsd-7-0-2-RELEASE:1.2
	localcount-20160914:1.3
	netbsd-7-nhusb:1.2.0.8
	netbsd-7-nhusb-base:1.2
	pgoyette-localcount-20160806:1.3
	pgoyette-localcount-20160726:1.3
	pgoyette-localcount:1.3.0.2
	pgoyette-localcount-base:1.3
	netbsd-7-0-1-RELEASE:1.2
	netbsd-7-0:1.2.0.6
	netbsd-7-0-RELEASE:1.2
	gcc-4-8-5-pre-gcc-old-import:1.2
	netbsd-7-0-RC3:1.2
	netbsd-7-0-RC2:1.2
	netbsd-7-0-RC1:1.2
	tls-maxphys-base:1.2
	tls-maxphys:1.2.0.4
	netbsd-7:1.2.0.2
	netbsd-7-base:1.2
	yamt-pagecache:1.1.0.4
	yamt-pagecache-base9:1.1
	tls-earlyentropy:1.1.0.2
	tls-earlyentropy-base:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1
	riastradh-drm2-base3:1.1;
locks; strict;
comment	@# @;


1.4
date	2026.01.18.08.07.06;	author mrg;	state Exp;
branches;
next	1.3;
commitid	nUAeUhrdIRxJFQqG;

1.3
date	2016.03.16.05.42.07;	author mrg;	state Exp;
branches;
next	1.2;
commitid	4M1glPuH4m18rPYy;

1.2
date	2014.06.01.20.24.45;	author mrg;	state Exp;
branches
	1.2.4.1;
next	1.1;
commitid	6z7l582ka0DflRCx;

1.1
date	2014.03.01.10.00.31;	author mrg;	state Exp;
branches
	1.1.2.1
	1.1.4.1;
next	;
commitid	ls1VzPCZSNtqQYqx;

1.2.4.1
date	2014.06.01.20.24.45;	author tls;	state dead;
branches;
next	1.2.4.2;
commitid	jTnpym9Qu0o4R1Nx;

1.2.4.2
date	2014.08.19.23.56.37;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.1.2.1
date	2014.08.10.07.10.49;	author tls;	state Exp;
branches;
next	;
commitid	3hJZAsnr6L0lHMLx;

1.1.4.1
date	2014.03.01.10.00.31;	author yamt;	state dead;
branches;
next	1.1.4.2;
commitid	v7BzuaTHWIjEuyBx;

1.1.4.2
date	2014.05.22.16.53.14;	author yamt;	state Exp;
branches;
next	;
commitid	v7BzuaTHWIjEuyBx;


desc
@@


1.4
log
@add most of the build infrastructure for libgfortran.

on a few platforms this also needs libquadmath.  libgfortran.spec is
unfortunately MD because of the libquadmath part.

adjust libbacktrace to allow it to be built into libgfortran directly.

NFC intended here for normal builds.
@
text
@#	$NetBSD: Makefile,v 1.3 2016/03/16 05:42:07 mrg Exp $

LIBISPRIVATE=   yes

LIB=	backtrace

.include "Makefile.sources"

SRCS=	${BACKTRACE_SRCS}

.for _s in ${BACKTRACE_SRCS}
CPPFLAGS.${_s}+=	${BACKTRACE_CPPFLAGS}
.endfor

.include <bsd.lib.mk>

.PATH: ${GCCDIST}/libbacktrace
@


1.3
log
@spell $NetBSD$ with the trailing $.
@
text
@d1 1
a1 1
#	$NetBSD$
d5 1
a5 1
.include <bsd.init.mk>
d7 1
a7 1
LIB=		backtrace
d9 1
a9 2
DIST=		${GCCDIST}
GNUHOSTDIST=    ${DIST}
d11 3
a13 5
SRCS=		dwarf.c elf.c fileline.c mmap.c mmapio.c nounwind.c \
		posix.c print.c state.c
		
CPPFLAGS+=	-I${DIST}/include -I${DIST}/libgcc
CPPFLAGS+=	-I${.CURDIR}/arch/${GCC_MACHINE_ARCH}
d17 1
a17 1
.PATH: ${DIST}/libbacktrace
@


1.2
log
@catch up with GCC_SUBDIR changes for new-to-gcc 4.8 directories.
@
text
@d1 1
a1 1
#	$NetBSD
@


1.2.4.1
log
@file Makefile was added on branch tls-maxphys on 2014-08-19 23:56:37 +0000
@
text
@d1 20
@


1.2.4.2
log
@Rebase to HEAD as of a few days ago.
@
text
@a0 20
#	$NetBSD

LIBISPRIVATE=   yes

.include <bsd.init.mk>

LIB=		backtrace

DIST=		${GCCDIST}
GNUHOSTDIST=    ${DIST}

SRCS=		dwarf.c elf.c fileline.c mmap.c mmapio.c nounwind.c \
		posix.c print.c state.c
		
CPPFLAGS+=	-I${DIST}/include -I${DIST}/libgcc
CPPFLAGS+=	-I${.CURDIR}/arch/${GCC_MACHINE_ARCH}

.include <bsd.lib.mk>

.PATH: ${DIST}/libbacktrace
@


1.1
log
@merge GCC 4.8 build.
@
text
@a2 3
DIST=		${NETBSDSRCDIR}/external/gpl3/gcc/dist
GNUHOSTDIST=    ${DIST}

d5 1
a5 1
.include <bsd.own.mk>
d9 3
@


1.1.2.1
log
@Rebase.
@
text
@d3 3
d8 1
a8 1
.include <bsd.init.mk>
a11 3
DIST=		${GCCDIST}
GNUHOSTDIST=    ${DIST}

@


1.1.4.1
log
@file Makefile was added on branch yamt-pagecache on 2014-05-22 16:53:14 +0000
@
text
@d1 20
@


1.1.4.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@a0 20
#	$NetBSD

DIST=		${NETBSDSRCDIR}/external/gpl3/gcc/dist
GNUHOSTDIST=    ${DIST}

LIBISPRIVATE=   yes

.include <bsd.own.mk>

LIB=		backtrace

SRCS=		dwarf.c elf.c fileline.c mmap.c mmapio.c nounwind.c \
		posix.c print.c state.c
		
CPPFLAGS+=	-I${DIST}/include -I${DIST}/libgcc
CPPFLAGS+=	-I${.CURDIR}/arch/${GCC_MACHINE_ARCH}

.include <bsd.lib.mk>

.PATH: ${DIST}/libbacktrace
@


