head	1.3;
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.12
	netbsd-11-base:1.3
	netbsd-10-1-RELEASE:1.3
	perseant-exfatfs-base-20240630:1.3
	perseant-exfatfs:1.3.0.10
	perseant-exfatfs-base:1.3
	netbsd-8-3-RELEASE:1.2
	netbsd-9-4-RELEASE:1.2
	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.8
	netbsd-10-base:1.3
	netbsd-9-3-RELEASE:1.2
	cjep_sun2x-base1:1.3
	cjep_sun2x:1.3.0.6
	cjep_sun2x-base:1.3
	cjep_staticlib_x-base1:1.3
	netbsd-9-2-RELEASE:1.2
	cjep_staticlib_x:1.3.0.4
	cjep_staticlib_x-base:1.3
	netbsd-9-1-RELEASE:1.2
	phil-wifi-20200421:1.3
	phil-wifi-20200411:1.3
	is-mlppp:1.3.0.2
	is-mlppp-base:1.3
	phil-wifi-20200406:1.3
	netbsd-8-2-RELEASE:1.2
	netbsd-9-0-RELEASE:1.2
	netbsd-9-0-RC2:1.2
	netbsd-9-0-RC1:1.2
	phil-wifi-20191119:1.3
	netbsd-9:1.2.0.46
	netbsd-9-base:1.2
	phil-wifi-20190609:1.2
	netbsd-8-1-RELEASE:1.2
	netbsd-8-1-RC1:1.2
	pgoyette-compat-merge-20190127:1.2
	pgoyette-compat-20190127:1.2
	pgoyette-compat-20190118:1.2
	pgoyette-compat-1226:1.2
	pgoyette-compat-1126:1.2
	pgoyette-compat-1020:1.2
	pgoyette-compat-0930:1.2
	pgoyette-compat-0906:1.2
	netbsd-7-2-RELEASE:1.2
	pgoyette-compat-0728:1.2
	netbsd-8-0-RELEASE:1.2
	phil-wifi:1.2.0.44
	phil-wifi-base:1.2
	pgoyette-compat-0625:1.2
	netbsd-8-0-RC2:1.2
	pgoyette-compat-0521:1.2
	pgoyette-compat-0502:1.2
	pgoyette-compat-0422:1.2
	netbsd-8-0-RC1:1.2
	pgoyette-compat-0415:1.2
	pgoyette-compat-0407:1.2
	pgoyette-compat-0330:1.2
	pgoyette-compat-0322:1.2
	pgoyette-compat-0315:1.2
	netbsd-7-1-2-RELEASE:1.2
	pgoyette-compat:1.2.0.42
	pgoyette-compat-base:1.2
	netbsd-7-1-1-RELEASE:1.2
	matt-nb8-mediatek:1.2.0.40
	matt-nb8-mediatek-base:1.2
	perseant-stdc-iso10646:1.2.0.38
	perseant-stdc-iso10646-base:1.2
	netbsd-8:1.2.0.36
	netbsd-8-base:1.2
	prg-localcount2-base3:1.2
	prg-localcount2-base2:1.2
	prg-localcount2-base1:1.2
	prg-localcount2:1.2.0.34
	prg-localcount2-base:1.2
	pgoyette-localcount-20170426:1.2
	bouyer-socketcan-base1:1.2
	pgoyette-localcount-20170320:1.2
	netbsd-7-1:1.2.0.32
	netbsd-7-1-RELEASE:1.2
	netbsd-7-1-RC2:1.2
	netbsd-7-nhusb-base-20170116:1.2
	bouyer-socketcan:1.2.0.30
	bouyer-socketcan-base:1.2
	pgoyette-localcount-20170107:1.2
	netbsd-7-1-RC1:1.2
	pgoyette-localcount-20161104:1.2
	netbsd-7-0-2-RELEASE:1.2
	localcount-20160914:1.2
	netbsd-7-nhusb:1.2.0.28
	netbsd-7-nhusb-base:1.2
	pgoyette-localcount-20160806:1.2
	pgoyette-localcount-20160726:1.2
	pgoyette-localcount:1.2.0.26
	pgoyette-localcount-base:1.2
	netbsd-7-0-1-RELEASE:1.2
	netbsd-7-0:1.2.0.24
	netbsd-7-0-RELEASE:1.2
	netbsd-7-0-RC3:1.2
	netbsd-7-0-RC2:1.2
	netbsd-7-0-RC1:1.2
	netbsd-6-0-6-RELEASE:1.2
	netbsd-6-1-5-RELEASE:1.2
	netbsd-7:1.2.0.22
	netbsd-7-base:1.2
	yamt-pagecache-base9:1.2
	yamt-pagecache-tag8:1.2
	netbsd-6-1-4-RELEASE:1.2
	netbsd-6-0-5-RELEASE:1.2
	tls-earlyentropy:1.2.0.20
	tls-earlyentropy-base:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base3:1.2
	netbsd-6-1-3-RELEASE:1.2
	netbsd-6-0-4-RELEASE:1.2
	netbsd-6-1-2-RELEASE:1.2
	netbsd-6-0-3-RELEASE:1.2
	netbsd-6-1-1-RELEASE:1.2
	riastradh-drm2-base2:1.2
	riastradh-drm2-base1:1.2
	riastradh-drm2:1.2.0.14
	riastradh-drm2-base:1.2
	netbsd-6-1:1.2.0.18
	netbsd-6-0-2-RELEASE:1.2
	netbsd-6-1-RELEASE:1.2
	netbsd-6-1-RC4:1.2
	netbsd-6-1-RC3:1.2
	agc-symver:1.2.0.16
	agc-symver-base:1.2
	netbsd-6-1-RC2:1.2
	netbsd-6-1-RC1:1.2
	yamt-pagecache-base8:1.2
	netbsd-6-0-1-RELEASE:1.2
	yamt-pagecache-base7:1.2
	matt-nb6-plus-nbase:1.2
	yamt-pagecache-base6:1.2
	netbsd-6-0:1.2.0.12
	netbsd-6-0-RELEASE:1.2
	netbsd-6-0-RC2:1.2
	tls-maxphys:1.2.0.10
	tls-maxphys-base:1.2
	matt-nb6-plus:1.2.0.8
	matt-nb6-plus-base:1.2
	netbsd-6-0-RC1:1.2
	yamt-pagecache-base5:1.2
	yamt-pagecache-base4:1.2
	netbsd-6:1.2.0.6
	netbsd-6-base:1.2
	yamt-pagecache-base3:1.2
	yamt-pagecache-base2:1.2
	yamt-pagecache:1.2.0.4
	yamt-pagecache-base:1.2
	cherry-xenmp:1.2.0.2
	cherry-xenmp-base:1.2
	bouyer-quota2:1.1.0.2
	bouyer-quota2-base:1.1
	bouyer-quota2-nbase:1.1;
locks; strict;
comment	@# @;


1.3
date	2019.11.11.22.45.27;	author joerg;	state Exp;
branches;
next	1.2;
commitid	IMynySmLyNzibuKB;

1.2
date	2011.03.18.23.32.04;	author joerg;	state Exp;
branches
	1.2.44.1;
next	1.1;

1.1
date	2011.02.06.01.14.11;	author joerg;	state Exp;
branches
	1.1.2.1;
next	;

1.2.44.1
date	2020.04.13.08.05.35;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.1.2.1
date	2011.02.06.01.14.11;	author bouyer;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2011.03.06.15.07.57;	author bouyer;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Update LLVM to 10.0.0git (01f3a59fb3e2542fce74c768718f594d0debd0da)
@
text
@#	$NetBSD: Makefile,v 1.2 2011/03/18 23:32:04 joerg Exp $

HOSTPROGNAME=	${MACHINE_GNU_PLATFORM}-clang
HOSTPROG_CXX=	${MACHINE_GNU_PLATFORM}-clang
HOST_SRCDIR=	external/apache2/llvm/bin/clang

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

install.host: ${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang++
install.host: ${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang-cpp

${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang++:
	${_MKTARGET_INSTALL}
	mkdir -p ${HOST_BINDIR}
	${HOST_INSTALL_SYMLINK} ${HOSTPROGNAME} ${.TARGET}

${HOST_BINDIR}/${MACHINE_GNU_PLATFORM}-clang-cpp:
	${_MKTARGET_INSTALL}
	mkdir -p ${HOST_BINDIR}
	${HOST_INSTALL_SYMLINK} ${HOSTPROGNAME} ${.TARGET}
@


1.2
log
@Update LLVM snapshot. This allows deriving the target from the binary
name, provides a proper CPP mode and fixes a number of compat issues
in the integrated assembler.

Build the toolchain compiler optimized and without assertions now.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2011/02/06 01:14:11 joerg Exp $
d5 1
a5 1
HOST_SRCDIR=	external/bsd/llvm/bin/clang
@


1.2.44.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
d5 1
a5 1
HOST_SRCDIR=	external/apache2/llvm/bin/clang
@


1.1
log
@Add LLVM and clang build system.  It is enabled by MKLLVM=yes.
Upstream sources can be fetched by running "make checkout" in
src/external/bsd/llvm, they will be properly imported once the
integration and missing features are sorted out.
@
text
@d1 1
a1 1
#	$NetBSD$
d3 2
a4 2
HOSTPROGNAME=	${_TOOL_PREFIX}clang
HOSTPROG_CXX=	${_TOOL_PREFIX}clang
d9 2
a10 1
install.host: ${HOST_BINDIR}/${_TOOL_PREFIX}clang++ ${HOST_BINDIR}/${_TOOL_PREFIX}clang-cpp
d12 1
a12 1
${HOST_BINDIR}/${_TOOL_PREFIX}clang++:
d17 1
a17 1
${HOST_BINDIR}/${_TOOL_PREFIX}clang-cpp:
d20 1
a20 2
	printf '#!/bin/sh\nexec ${HOST_BINDIR}/${_TOOL_PREFIX}clang -x c -E "$$@@"' > ${.TARGET}
	chmod a+x ${.TARGET}
@


1.1.2.1
log
@file Makefile was added on branch bouyer-quota2 on 2011-03-06 15:07:57 +0000
@
text
@d1 20
@


1.1.2.2
log
@Sync with HEAD
@
text
@a0 20
#	$NetBSD: Makefile,v 1.1 2011/02/06 01:14:11 joerg Exp $

HOSTPROGNAME=	${_TOOL_PREFIX}clang
HOSTPROG_CXX=	${_TOOL_PREFIX}clang
HOST_SRCDIR=	external/bsd/llvm/bin/clang

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

install.host: ${HOST_BINDIR}/${_TOOL_PREFIX}clang++ ${HOST_BINDIR}/${_TOOL_PREFIX}clang-cpp

${HOST_BINDIR}/${_TOOL_PREFIX}clang++:
	${_MKTARGET_INSTALL}
	mkdir -p ${HOST_BINDIR}
	${HOST_INSTALL_SYMLINK} ${HOSTPROGNAME} ${.TARGET}

${HOST_BINDIR}/${_TOOL_PREFIX}clang-cpp:
	${_MKTARGET_INSTALL}
	mkdir -p ${HOST_BINDIR}
	printf '#!/bin/sh\nexec ${HOST_BINDIR}/${_TOOL_PREFIX}clang -x c -E "$$@@"' > ${.TARGET}
	chmod a+x ${.TARGET}
@


