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


1.4
date	2010.10.11.17.22.16;	author dim;	state dead;
branches;
next	1.3;

1.3
date	2010.09.20.16.43.17;	author dim;	state Exp;
branches;
next	1.2;

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

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


desc
@@


1.4
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
@CLANG_LEVEL := ../../..
TD_SRC_DIR = $(PROJ_SRC_DIR)/../Basic
BUILT_SOURCES = Attrs.inc AttrImpl.inc StmtNodes.inc DeclNodes.inc

TABLEGEN_INC_FILES_COMMON = 1

include $(CLANG_LEVEL)/Makefile

$(ObjDir)/Attrs.inc.tmp : $(TD_SRC_DIR)/Attr.td $(TBLGEN) \
                              $(ObjDir)/.dir
	$(Echo) "Building Clang attribute classes with tblgen"
	$(Verb) $(TableGen) -gen-clang-attr-classes -o $(call SYSPATH, $@@) \
		-I $(PROJ_SRC_DIR)/../../ $<

$(ObjDir)/AttrImpl.inc.tmp : $(TD_SRC_DIR)/Attr.td $(TBLGEN) \
                              $(ObjDir)/.dir
	$(Echo) "Building Clang attribute implementations with tblgen"
	$(Verb) $(TableGen) -gen-clang-attr-impl -o $(call SYSPATH, $@@) \
		-I $(PROJ_SRC_DIR)/../../ $<

$(ObjDir)/StmtNodes.inc.tmp : $(TD_SRC_DIR)/StmtNodes.td $(TBLGEN) \
                              $(ObjDir)/.dir
	$(Echo) "Building Clang statement node tables with tblgen"
	$(Verb) $(TableGen) -gen-clang-stmt-nodes -o $(call SYSPATH, $@@) $<

$(ObjDir)/DeclNodes.inc.tmp : $(TD_SRC_DIR)/DeclNodes.td $(TBLGEN) \
                              $(ObjDir)/.dir
	$(Echo) "Building Clang declaration node tables with tblgen"
	$(Verb) $(TableGen) -gen-clang-decl-nodes -o $(call SYSPATH, $@@) $<
@


1.3
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
@@


1.2
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
@d3 1
a3 1
BUILT_SOURCES = Attrs.inc StmtNodes.inc DeclNodes.inc
d15 6
@


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
@d1 3
a3 2
LEVEL = ../../../../..
BUILT_SOURCES = StmtNodes.inc
d7 1
a7 1
include $(LEVEL)/Makefile.common
d9 5
a13 1
INPUT_TDS = $(PROJ_SRC_DIR)/StmtNodes.td
d15 2
a16 1
$(ObjDir)/StmtNodes.inc.tmp : StmtNodes.td $(TBLGEN) $(ObjDir)/.dir
d20 4
@

