X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=lib%2FSupport%2FMakefile;h=39426aaaaceef8065f94357bc45f4c2603f18293;hb=b6cb6238b9c5243ec813a860ae153adda1acddff;hp=7a41c62b04e7a1846fda70ae7c2770ed43db62d8;hpb=6beedac106f5949496234349b754e8d48fccdda4;p=oota-llvm.git diff --git a/lib/Support/Makefile b/lib/Support/Makefile index 7a41c62b04e..39426aaaace 100644 --- a/lib/Support/Makefile +++ b/lib/Support/Makefile @@ -1,12 +1,23 @@ +##===- lib/Support/Makefile --------------------------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## + LEVEL = ../.. +LIBRARYNAME = LLVMSupport +BUILD_ARCHIVE = 1 -DIRS = +EXTRA_DIST = Unix Win32 README.txt -LIBRARYNAME = support +include $(LEVEL)/Makefile.common -## List source files in link order -Source = \ - ProgramOption.o \ - ProgramOptions.o +CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts)) +CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts)) -include $(LEVEL)/Makefile.common +ifdef LLVM_VERSION_INFO +CompileCommonOpts += -DLLVM_VERSION_INFO='"$(LLVM_VERSION_INFO)"' +endif