X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=tools%2Fllvmc%2FMakefile;h=7c03e2a74f7c6b2f97161a0cf1e1103c5ac79899;hb=a75ce9f5d2236d93c117e861e60e6f3f748c9555;hp=0839bc0daa126629ca5868ba8255e8ee0d623edc;hpb=bf714df962e8d387f530d40d1f040863db8009e8;p=oota-llvm.git diff --git a/tools/llvmc/Makefile b/tools/llvmc/Makefile index 0839bc0daa1..7c03e2a74f7 100644 --- a/tools/llvmc/Makefile +++ b/tools/llvmc/Makefile @@ -1,22 +1,18 @@ ##===- tools/llvmc/Makefile --------------------------------*- Makefile -*-===## -# +# # The LLVM Compiler Infrastructure # -# This file was developed by the LLVM research group 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 = ../.. -TOOLNAME = llvmc -USEDLIBS = LLVMBCReader LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a -CONFIG_FILES = c cpp ll st -EXTRA_DIST = c cpp ll st -include $(LEVEL)/Makefile.common +DIRS = src + +ifeq ($(BUILD_EXAMPLES),1) + OPTIONAL_DIRS += examples +endif -install:: - @$(ECHO) Installing additional C++ configuration clones - $(Verb)$(INSTALL) $(BUILD_OBJ_DIR)/cpp $(sysconfdir)/cc - $(Verb)$(INSTALL) $(BUILD_OBJ_DIR)/cpp $(sysconfdir)/c++ - $(Verb)$(INSTALL) $(BUILD_OBJ_DIR)/cpp $(sysconfdir)/cxx - $(Verb)$(INSTALL) $(BUILD_OBJ_DIR)/cpp $(sysconfdir)/C +include $(LEVEL)/Makefile.common