OLD | NEW |
1 # The following variables will likely need to be modified, depending on where | 1 # The following variables will likely need to be modified, depending on where |
2 # and how you built LLVM & Clang. They can be overridden in a command-line | 2 # and how you built LLVM & Clang. They can be overridden in a command-line |
3 # invocation of make, like: | 3 # invocation of make, like: |
4 # | 4 # |
5 # make LLVM_SRC_PATH=<path> LLVM_BIN_PATH=<path> \ | 5 # make LLVM_SRC_PATH=<path> LLVM_BIN_PATH=<path> \ |
6 # LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> ... | 6 # LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> ... |
7 # | 7 # |
8 | 8 |
9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This | 9 # LLVM_SRC_PATH is the path to the root of the checked out source code. This |
10 # directory should contain the configure script, the include/ and lib/ | 10 # directory should contain the configure script, the include/ and lib/ |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 PNaClTranslator.cpp | 113 PNaClTranslator.cpp |
114 | 114 |
115 ifndef MINIMAL | 115 ifndef MINIMAL |
116 SRCS += IceConverter.cpp \ | 116 SRCS += IceConverter.cpp \ |
117 IceTypeConverter.cpp | 117 IceTypeConverter.cpp |
118 endif | 118 endif |
119 | 119 |
120 OBJS=$(patsubst %.cpp, $(OBJDIR)/%.o, $(SRCS)) | 120 OBJS=$(patsubst %.cpp, $(OBJDIR)/%.o, $(SRCS)) |
121 | 121 |
122 UNITTEST_SRCS = \ | 122 UNITTEST_SRCS = \ |
123 » IceELFSectionTest.cpp | 123 » BitcodeMunge.cpp \ |
| 124 » IceELFSectionTest.cpp \ |
| 125 » IceParseInstsTest.cpp |
124 | 126 |
125 UNITTEST_OBJS = $(patsubst %.cpp, $(OBJDIR)/unittest/%.o, $(UNITTEST_SRCS)) | 127 UNITTEST_OBJS = $(patsubst %.cpp, $(OBJDIR)/unittest/%.o, $(UNITTEST_SRCS)) |
126 UNITTEST_LIB_OBJS = $(filter-out $(OBJDIR)/llvm2ice.o,$(OBJS)) | 128 UNITTEST_LIB_OBJS = $(filter-out $(OBJDIR)/llvm2ice.o,$(OBJS)) |
127 | 129 |
128 # Keep all the first target so it's the default. | 130 # Keep all the first target so it's the default. |
129 all: $(OBJDIR)/llvm2ice make_symlink | 131 all: $(OBJDIR)/llvm2ice make_symlink |
130 | 132 |
131 # Creates symbolic link so that testing is easier. Also runs | 133 # Creates symbolic link so that testing is easier. Also runs |
132 # llvm2ice to verify that the defines flags have valid values, | 134 # llvm2ice to verify that the defines flags have valid values, |
133 # as well as describe the corresponding build attributes. | 135 # as well as describe the corresponding build attributes. |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 endif | 204 endif |
203 format-diff: | 205 format-diff: |
204 git diff -U0 `git merge-base HEAD master` | \ | 206 git diff -U0 `git merge-base HEAD master` | \ |
205 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i | 207 $(CLANG_FORMAT_DIFF) -p1 -style=LLVM -i |
206 | 208 |
207 clean: | 209 clean: |
208 rm -rf llvm2ice *.o $(OBJDIR) | 210 rm -rf llvm2ice *.o $(OBJDIR) |
209 | 211 |
210 clean-all: clean | 212 clean-all: clean |
211 rm -rf build/ | 213 rm -rf build/ |
OLD | NEW |