OLD | NEW |
1 # This file requires the clang build system, at least for now. So to use this | 1 # This file requires the clang build system, at least for now. So to use this |
2 # Makefile, you should execute the following commands to copy this directory | 2 # Makefile, you should execute the following commands to copy this directory |
3 # into a clang checkout: | 3 # into a clang checkout: |
4 # | 4 # |
5 # cp -R <this directory> third_party/llvm/tools/clang/tools/chrome-plugin | 5 # cp -R <this directory> third_party/llvm/tools/clang/tools/chrome-plugin |
6 # cd third_party/llvm/tools/clang/tools/chrome-plugin | 6 # cd third_party/llvm/tools/clang/tools/chrome-plugin |
7 # make | 7 # make |
8 | 8 |
9 CLANG_LEVEL := ../.. | 9 CLANG_LEVEL := ../.. |
10 LIBRARYNAME = FindBadConstructs | 10 LIBRARYNAME = FindBadConstructs |
11 | 11 |
12 LINK_LIBS_IN_SHARED = 0 | 12 LINK_LIBS_IN_SHARED = 0 |
13 SHARED_LIBRARY = 1 | 13 SHARED_LIBRARY = 1 |
14 | 14 |
15 include $(CLANG_LEVEL)/Makefile | 15 include $(CLANG_LEVEL)/Makefile |
16 | 16 |
17 ifeq ($(OS),Darwin) | 17 ifeq ($(OS),Darwin) |
18 LDFLAGS=-Wl,-undefined,dynamic_lookup | 18 LDFLAGS+=-Wl,-undefined,dynamic_lookup |
19 endif | 19 endif |
OLD | NEW |