OLD | NEW |
(Empty) | |
| 1 ##===- examples/PrintFunctionNames/Makefile ----------------*- Makefile -*-===## |
| 2 # |
| 3 # The LLVM Compiler Infrastructure |
| 4 # |
| 5 # This file is distributed under the University of Illinois Open Source |
| 6 # License. See LICENSE.TXT for details. |
| 7 # |
| 8 ##===----------------------------------------------------------------------===## |
| 9 |
| 10 CLANG_LEVEL := ../.. |
| 11 LIBRARYNAME = TaskToBind |
| 12 |
| 13 # If we don't need RTTI or EH, there's no reason to export anything |
| 14 # from the plugin. |
| 15 ifneq ($(REQUIRES_RTTI), 1) |
| 16 ifneq ($(REQUIRES_EH), 1) |
| 17 EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/TaskToBind.exports |
| 18 endif |
| 19 endif |
| 20 |
| 21 LINK_LIBS_IN_SHARED = 0 |
| 22 SHARED_LIBRARY = 1 |
| 23 |
| 24 include $(CLANG_LEVEL)/Makefile |
| 25 |
| 26 CXXFLAGS+=-g |
| 27 ifeq ($(OS),Darwin) |
| 28 LDFLAGS=-Wl,-undefined,dynamic_lookup |
| 29 endif |
OLD | NEW |