head	1.6;
access;
symbols;
locks; strict;
comment	@# @;


1.6
date	2011.02.20.19.33.47;	author dim;	state dead;
branches;
next	1.5;

1.5
date	2010.09.20.16.43.17;	author dim;	state Exp;
branches;
next	1.4;

1.4
date	2010.07.22.19.09.34;	author rpaulo;	state Exp;
branches;
next	1.3;

1.3
date	2010.07.20.17.16.57;	author ed;	state Exp;
branches;
next	1.2;

1.2
date	2010.06.15.17.08.03;	author ed;	state Exp;
branches;
next	1.1;

1.1
date	2010.06.09.19.32.20;	author rdivacky;	state Exp;
branches;
next	;


desc
@@


1.6
log
@SVN rev 218893 on 2011-02-20 19:33:47Z by dim

Upgrade our copy of llvm/clang to r126079, from upstream's trunk.

This contains many improvements, primarily better C++ support, an
integrated assembler for x86 and support for -pg.
@
text
@# $FreeBSD: src/lib/clang/libllvmsystem/Makefile,v 1.5 2010/09/20 16:43:17 dim Exp $

LIB=	llvmsystem

SRCDIR=	lib/System
SRCS=	Atomic.cpp \
	DynamicLibrary.cpp \
	Errno.cpp \
	Host.cpp \
	Memory.cpp \
	Mutex.cpp \
	Path.cpp \
	Process.cpp \
	Program.cpp \
	RWMutex.cpp \
	SearchForAddressOfSpecialSymbol.cpp \
	Signals.cpp \
	ThreadLocal.cpp \
	Threading.cpp \
	TimeValue.cpp \
	Valgrind.cpp
LLVM_REQUIRES_RTTI=

.include "../clang.lib.mk"
@


1.5
log
@SVN rev 212904 on 2010-09-20 16:43:17Z by dim

Upgrade our Clang in base to r114020, from upstream's release_28 branch.

Approved-by:	rpaulo (mentor)
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.4
log
@SVN rev 210388 on 2010-07-22 19:09:34Z by rpaulo

Build clang libraries by default with -fno-exceptions and with
-fno-rtti. The clang libaries that really use exceptions and virtual
functions can enable LLVM_REQUIRES_EH and LLVM_REQUIRES_RTTI
respectively. This saves space on the resulting binaries and follows
what's being done upstream.

Submitted by:	Dimitry Andric <dimitry at andric.com>
@
text
@d6 1
a6 3
SRCS=	Alarm.cpp \
	Atomic.cpp \
	Disassembler.cpp \
a9 1
	IncludeFile.cpp \
@


1.3
log
@SVN rev 210299 on 2010-07-20 17:16:57Z by ed

Upgrade our Clang in base to r108428.

This commit merges the latest LLVM sources from the vendor space. It
also updates the build glue to match the new sources. Clang's version
number is changed to match LLVM's, which means /usr/include/clang/2.0
has been renamed to /usr/include/clang/2.8.

Obtained from:	projects/clangbsd
@
text
@d25 1
@


1.2
log
@SVN rev 209205 on 2010-06-15 17:08:03Z by ed

Remove unneeded files from the build.

I used the following command to determine which source files were
unneeded:

| for i in `find lib/clang -name '*.o'`
| do
| 	MATCHES="`(nm -g --defined-only $i; nm -g --defined-only \
| 		usr.bin/clang/clang/clang) | sed -e 's/.* //' | \
| 		sort | uniq -d | wc -l`"
| 	[ $MATCHES -eq 0 ] && echo "$i: unneeded"
| done

This should slightly improve the build times.
@
text
@d6 19
a24 4
SRCS=	Atomic.cpp DynamicLibrary.cpp Errno.cpp Host.cpp Memory.cpp \
	Mutex.cpp Path.cpp Process.cpp Program.cpp RWMutex.cpp \
	SearchForAddressOfSpecialSymbol.cpp Signals.cpp \
	ThreadLocal.cpp Threading.cpp TimeValue.cpp Valgrind.cpp
@


1.1
log
@SVN rev 208963 on 2010-06-09 19:32:20Z by rdivacky

Import the build makefiles for clang/LLVM.

Approved by:	ed (mentor)
@
text
@d6 2
a7 3
SRCS=	Alarm.cpp Atomic.cpp Disassembler.cpp DynamicLibrary.cpp \
	Errno.cpp Host.cpp IncludeFile.cpp Memory.cpp Mutex.cpp \
	Path.cpp Process.cpp Program.cpp RWMutex.cpp \
@

