1f4a2713aSLionel Sambuc##===- examples/PrintFunctionNames/Makefile ----------------*- Makefile -*-===## 2f4a2713aSLionel Sambuc# 3f4a2713aSLionel Sambuc# The LLVM Compiler Infrastructure 4f4a2713aSLionel Sambuc# 5f4a2713aSLionel Sambuc# This file is distributed under the University of Illinois Open Source 6f4a2713aSLionel Sambuc# License. See LICENSE.TXT for details. 7f4a2713aSLionel Sambuc# 8f4a2713aSLionel Sambuc##===----------------------------------------------------------------------===## 9f4a2713aSLionel Sambuc 10f4a2713aSLionel SambucCLANG_LEVEL := ../.. 11f4a2713aSLionel SambucLIBRARYNAME = PrintFunctionNames 12f4a2713aSLionel Sambuc 13f4a2713aSLionel Sambuc# If we don't need RTTI or EH, there's no reason to export anything 14f4a2713aSLionel Sambuc# from the plugin. 15f4a2713aSLionel Sambucifneq ($(REQUIRES_RTTI), 1) 16f4a2713aSLionel Sambucifneq ($(REQUIRES_EH), 1) 17f4a2713aSLionel SambucEXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/PrintFunctionNames.exports 18f4a2713aSLionel Sambucendif 19f4a2713aSLionel Sambucendif 20f4a2713aSLionel Sambuc 21f4a2713aSLionel SambucLINK_LIBS_IN_SHARED = 0 22*0a6a1f1dSLionel SambucLOADABLE_MODULE = 1 23f4a2713aSLionel Sambuc 24f4a2713aSLionel Sambucinclude $(CLANG_LEVEL)/Makefile 25f4a2713aSLionel Sambuc 26f4a2713aSLionel Sambucifeq ($(OS),Darwin) 27f4a2713aSLionel Sambuc LDFLAGS=-Wl,-undefined,dynamic_lookup 28f4a2713aSLionel Sambucendif 29