SHUFP* are two address code.
[oota-llvm.git] / lib / Target / SparcV9 / Makefile
1 ##===- lib/Target/SparcV9/Makefile -------------------------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file was developed by the LLVM research group and is distributed under
6 # the University of Illinois Open Source License. See LICENSE.TXT for details.
7
8 ##===----------------------------------------------------------------------===##
9 LEVEL = ../../..
10 LIBRARYNAME = LLVMSparcV9
11 PARALLEL_DIRS = InstrSched LiveVar ModuloScheduling RegAlloc
12
13 TARGET = SparcV9
14
15 BUILT_SOURCES = \
16   SparcV9GenCodeEmitter.inc \
17   SparcV9.burm.cpp 
18
19 include $(LEVEL)/Makefile.common
20
21 SparcV9.burg.in1 : $(PROJ_SRC_DIR)/SparcV9.burg.in
22         $(Echo) Pre-processing SparcV9.burg.in
23         $(Verb) $(CXX) -E $(CPP.Flags) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/Ydefine/#define/' > $@
24
25 SparcV9.burm : SparcV9.burg.in1
26         $(Echo) Pre-processing SparcV9.burg.in
27         $(Verb) $(CXX) -E $(CPP.Flags) -x c++ $< | $(SED) '/^#/d' | $(SED) 's/^Xinclude/#include/' | $(SED) 's/^Xdefine/#define/' > $@
28
29 SparcV9.burm.cpp: SparcV9.burm
30         $(Echo) "Burging `basename $<`"
31         $(Verb) $(BURG) -I $< -o $@
32
33 clean::
34         $(Verb) $(RM) -f SparcV9.burg.in1 SparcV9.burm SparcV9.burm.cpp
35