Lines Matching full:makefile
1 #===-- Makefile.rules - Common make rules for LLVM ---------*- Makefile -*--===#
33 # INITIALIZATION: Basic things the makefile needs
64 # We use llvm-build to generate all the data required by the Makefile based
67 # - We generate a file (a Makefile fragment) in the object root which contains
73 # - We generate the dependencies for the Makefile fragment, so that we will
80 LLVMBuildMakeFrag := $(PROJ_OBJ_ROOT)/Makefile.llvmbuild
89 # The rule to create the LLVMBuild Makefile fragment as well as the llvm-config
95 # We include a dependency on this Makefile to ensure that changes to the
97 $(LLVMBuildMakeFrag): $(PROJ_SRC_ROOT)/Makefile.rules \
98 $(PROJ_OBJ_ROOT)/Makefile.config
110 # Include the generated Makefile fragment.
121 # Clean the generated makefile fragment at the top-level.
131 SrcMakefiles := $(filter %Makefile %Makefile.tests,\
132 $(wildcard $(PROJ_SRC_DIR)/Makefile*))
136 MakefileConfigIn := $(strip $(wildcard $(PROJ_SRC_ROOT)/Makefile.config.in))
137 MakefileCommonIn := $(strip $(wildcard $(PROJ_SRC_ROOT)/Makefile.common.in))
138 MakefileConfig := $(PROJ_OBJ_ROOT)/Makefile.config
139 MakefileCommon := $(PROJ_OBJ_ROOT)/Makefile.common
204 # Make sure the configuration makefile is up to date
209 $(Verb) cd $(PROJ_OBJ_ROOT) ; $(ConfigStatusScript) Makefile.config
215 $(Verb) cd $(PROJ_OBJ_ROOT) ; $(ConfigStatusScript) Makefile.common
219 # If the Makefile in the source tree has been updated, copy it over into the
223 PROJ_MAKEFILE := $(PROJ_SRC_DIR)/Makefile
228 Makefile: $(PROJ_MAKEFILE) $(ExtraMakefiles)
229 $(Echo) "Updating Makefile"
233 # Copy the Makefile.* files unless we're in the root directory which avoids
234 # the copying of Makefile.config.in or other things that should be explicitly
236 $(PROJ_OBJ_DIR)/Makefile% : $(PROJ_MAKEFILE)%
238 *Makefile.rules) ;; \
420 # Support makefile variable to disable any kind of timestamp/non-deterministic
558 # Get "4" out of 10.4 for later pieces in the makefile.
750 # Makefile.config) transforms Unix paths into Windows paths.
835 if ([ ! -f $$dir/Makefile ] || \
836 command test $$dir/Makefile -ot $(PROJ_SRC_DIR)/$$dir/Makefile ); then \
838 $(CP) $(PROJ_SRC_DIR)/$$dir/Makefile $$dir/Makefile; \
858 if ([ ! -f $$dir/Makefile ] || \
859 command test $$dir/Makefile -ot $(PROJ_SRC_DIR)/$$dir/Makefile ); then \
861 $(CP) $(PROJ_SRC_DIR)/$$dir/Makefile $$dir/Makefile; \
871 PARALLEL_DIRS += $(foreach T,$(OPTIONAL_PARALLEL_DIRS),$(shell test -d $(PROJ_SRC_DIR)/$(T) -o -f $(T)/Makefile && echo "$(T)"))
896 if [ ! -f $$SD/Makefile ]; then \
900 if ([ ! -f $$DD/Makefile ] || \
901 command test $$DD/Makefile -ot \
902 $$SD/Makefile ); then \
904 $(CP) $$SD/Makefile $$DD/Makefile; \
921 if ([ ! -f $$dir/Makefile ] || \
922 command test $$dir/Makefile -ot $(PROJ_SRC_DIR)/$$dir/Makefile ); then \
924 $(CP) $(PROJ_SRC_DIR)/$$dir/Makefile $$dir/Makefile; \
1725 if test -f "$(PROJ_OBJ_ROOT)/test/Makefile" ; then \
1730 $(EchoCmd) No Makefile in test directory ; \
1741 if test -f "$(PROJ_OBJ_ROOT)/test/Makefile" ; then \
1745 $(EchoCmd) No Makefile in test directory ; \
1757 if test -f "$(PROJ_OBJ_ROOT)/unittests/Makefile" ; then \
1761 $(EchoCmd) No Makefile in unittests directory ; \
1781 ChangeLog INSTALL NEWS Makefile Makefile.common Makefile.rules \
1782 Makefile.config.in configure autoconf