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


1.2
date	2010.10.11.17.22.16;	author dim;	state dead;
branches;
next	1.1;

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


desc
@@


1.2
log
@SVN rev 213695 on 2010-10-11 17:22:16Z by dim

Remove more unneeded files and directories from contrib/llvm.  This
still allows us to build tblgen and clang, and further reduces the
footprint in the tree.

Approved by:	rpaulo (mentor)
@
text
@GXX := llvm-g++-4.2
CLANGXX := clang++

all: one

test.cc: gen.cc
	g++ gen.cc -o gen
	./gen >test.cc

test-gcc.sum: test.cc
	time $(GXX) test.cc -o test-gcc.s -S
	$(GXX) test-gcc.s -o test-gcc
	./test-gcc >test-gcc.sum

test-clang.sum: test.cc
	time $(CLANGXX) test.cc -o test-clang.s -S
	$(CLANGXX) test-clang.s -o test-clang
	./test-clang >test-clang.sum

one: test-gcc.sum test-clang.sum
	cmp test-gcc.sum test-clang.sum

clean:
	rm -f gen test-gcc test-clang test.cc test-gcc.sum test-clang.sum test-gcc.s test-clang.s
@


1.1
log
@SVN rev 208954 on 2010-06-09 17:59:52Z by rdivacky

Import LLVM/clang from vendor stripped of docs/ test/ website/ www/ examples/
in llvm/ and/or llvm/contrib/clang/ respectively.

Approved by:	ed (mentor)
Approved by:	core
@
text
@@

