#===-- Makefile.rules - Common make rules for LLVM ---------*- 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 included by all of the LLVM makefiles. For details on how to use# it properly, please see the document MakefileGuide.html in the docs directory.##===-----------------------------------------------------------------------====################################################################################# TARGETS: Define standard targets that can be invoked#################################################################################--------------------------------------------------------------------# Define the various target sets#--------------------------------------------------------------------RecursiveTargets:=allcleanclean-allinstalluninstallinstall-bytecode
LocalTargets:=all-localclean-localclean-all-localcheck-local\install-localprintvarsuninstall-local\install-bytecode-local
TopLevelTargets:=checkdistdist-checkdist-cleantagsdist-gzipdist-bzip2\dist-zip
UserTargets:=$(RecursiveTargets)$(LocalTargets)$(TopLevelTargets)InternalTargets:=preconditionsdistdirdist-hook
################################################################################# INITIALIZATION: Basic things the makefile needs#################################################################################--------------------------------------------------------------------# Set the VPATH so that we can find source files.#--------------------------------------------------------------------VPATH=$(BUILD_SRC_DIR)#--------------------------------------------------------------------# Reset the list of suffixes we know how to build#--------------------------------------------------------------------.SUFFIXES:.SUFFIXES:.c .cpp .h .hpp .y .l .lo .o .a .bc .td .ps .dot.SUFFIXES:$(SHLIBEXT)$(SUFFIXES)#--------------------------------------------------------------------# Mark all of these targets as phony to avoid implicit rule search#--------------------------------------------------------------------.PHONY:$(UserTargets)$(InternalTargets)#--------------------------------------------------------------------# Make sure all the user-target rules are double colon rules and # they are defined first.#--------------------------------------------------------------------$(UserTargets)::################################################################################# PRECONDITIONS: that which must be built/checked first################################################################################SrcMakefiles