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> LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \ | 5 # make LLVM_SRC_PATH=<path> LIBCXX_INSTALL_PATH=<path> CLANG_PATH=<path> \ |
6 # PNACL_BIN_PATH=<path> ... | 6 # PNACL_BIN_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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 SRCS += IceConverter.cpp \ | 203 SRCS += IceConverter.cpp \ |
204 IceTypeConverter.cpp | 204 IceTypeConverter.cpp |
205 endif | 205 endif |
206 | 206 |
207 OBJS=$(patsubst %.cpp, $(OBJDIR)/%.o, $(SRCS)) | 207 OBJS=$(patsubst %.cpp, $(OBJDIR)/%.o, $(SRCS)) |
208 SB_OBJS=$(patsubst %.cpp, $(SB_OBJDIR)/%.o, $(SRCS)) | 208 SB_OBJS=$(patsubst %.cpp, $(SB_OBJDIR)/%.o, $(SRCS)) |
209 | 209 |
210 UNITTEST_SRCS = \ | 210 UNITTEST_SRCS = \ |
211 BitcodeMunge.cpp \ | 211 BitcodeMunge.cpp \ |
212 IceELFSectionTest.cpp \ | 212 IceELFSectionTest.cpp \ |
213 » IceParseInstsTest.cpp | 213 » IceParseInstsTest.cpp \ |
| 214 » IceParseTypesTest.cpp |
214 | 215 |
215 UNITTEST_OBJS = $(patsubst %.cpp, $(OBJDIR)/unittest/%.o, $(UNITTEST_SRCS)) | 216 UNITTEST_OBJS = $(patsubst %.cpp, $(OBJDIR)/unittest/%.o, $(UNITTEST_SRCS)) |
216 UNITTEST_LIB_OBJS = $(filter-out $(OBJDIR)/main.o,$(OBJS)) | 217 UNITTEST_LIB_OBJS = $(filter-out $(OBJDIR)/main.o,$(OBJS)) |
217 | 218 |
218 # Keep all the first target so it's the default. | 219 # Keep all the first target so it's the default. |
219 all: $(OBJDIR)/pnacl-sz make_symlink runtime | 220 all: $(OBJDIR)/pnacl-sz make_symlink runtime |
220 | 221 |
221 ifdef TSAN | 222 ifdef TSAN |
222 sb: | 223 sb: |
223 @echo "Skipping pnacl-sz.*.nexe: TSAN isn't supported under NaCl." | 224 @echo "Skipping pnacl-sz.*.nexe: TSAN isn't supported under NaCl." |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
336 bloat: make_symlink | 337 bloat: make_symlink |
337 nm -C -S -l pnacl-sz | \ | 338 nm -C -S -l pnacl-sz | \ |
338 bloat/bloat.py --nm-output=/dev/stdin syms > build/pnacl-sz.bloat.json | 339 bloat/bloat.py --nm-output=/dev/stdin syms > build/pnacl-sz.bloat.json |
339 @echo See Subzero size breakdown in bloat/pnacl-sz.bloat.html | 340 @echo See Subzero size breakdown in bloat/pnacl-sz.bloat.html |
340 | 341 |
341 clean: | 342 clean: |
342 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json | 343 rm -rf pnacl-sz *.o $(OBJDIR) $(SB_OBJDIR) build/pnacl-sz.bloat.json |
343 | 344 |
344 clean-all: clean | 345 clean-all: clean |
345 rm -rf build/ | 346 rm -rf build/ |
OLD | NEW |