Don't try to build .bc version of libprofile if LLVMGCC isn't available.
[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 ifneq ($(wildcard $(LLVMGCC)),)
12 BYTECODE_LIBRARY = 1
13 endif
14 SHARED_LIBRARY = 1
15 LOADABLE_MODULE = 1
16 LIBRARYNAME = profile_rt
17 EXTRA_DIST = exported_symbols.lst
18 EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/exported_symbols.lst
19
20 include $(LEVEL)/Makefile.common