Read Makefile.config before using LLVMGCC.
[oota-llvm.git] / runtime / libprofile / Makefile
1 ##===- runtime/libprofile/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 LEVEL = ../..
11 include $(LEVEL)/Makefile.config
12
13 ifneq ($(wildcard $(LLVMGCC)),)
14 BYTECODE_LIBRARY = 1
15 endif
16 SHARED_LIBRARY = 1
17 LOADABLE_MODULE = 1
18 LIBRARYNAME = profile_rt
19 EXTRA_DIST = exported_symbols.lst
20 EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/exported_symbols.lst
21
22 include $(LEVEL)/Makefile.common