summaryrefslogtreecommitdiffstats
path: root/tools/clang/blink_gc_plugin/Makefile
blob: d6e7da9093faf302a91d34e0c986d82d7f2a68b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This file requires the clang build system, at least for now. So to use this
# Makefile, you should execute the following commands to copy this directory
# into a clang checkout:
#
#   cp -R <this directory> third_party/llvm/tools/clang/tools/chrome-plugin
#   cd third_party/llvm/tools/clang/tools/chrome-plugin
#   make

CLANG_LEVEL := ../..

# This line is read by update.sh and other scripts in tools/clang/scripts
LIBRARYNAME = BlinkGCPlugin_3

LINK_LIBS_IN_SHARED = 0
SHARED_LIBRARY = 1

include $(CLANG_LEVEL)/Makefile

ifeq ($(OS),Darwin)
  LDFLAGS=-Wl,-undefined,dynamic_lookup
endif