use Value* constructor of CallSite to create potentially improper site, and test...
[oota-llvm.git] / lib / System / Makefile
index 043947ddadabef6b1c9bfa12873756c16da764e1..bb013b9f1f1624762aa590cce6d5985e187d2b50 100644 (file)
@@ -1,15 +1,25 @@
 ##===- lib/System/Makefile ---------------------------------*- Makefile -*-===##
-# 
+#
 #                     The LLVM Compiler Infrastructure
 #
-# This file was developed by Reid Spencer and is distributed under the 
-# University of Illinois Open Source License. See LICENSE.TXT for details.
-# 
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
 ##===----------------------------------------------------------------------===##
+
 LEVEL = ../..
 LIBRARYNAME = LLVMSystem
 BUILD_ARCHIVE = 1
+REQUIRES_RTTI = 1
+include $(LEVEL)/Makefile.config
 
-EXTRA_DIST = Unix Win32
+ifeq ($(HOST_OS),MingW)
+  REQUIRES_EH := 1
+endif
+
+EXTRA_DIST = Unix Win32 README.txt
 
 include $(LEVEL)/Makefile.common
+
+CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
+CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))