From 44cb1b3e074edff7a063379feca293c117a93274 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 3 Dec 2004 20:08:48 +0000 Subject: [PATCH] Resurrect the install-bytecode target for installing just the bytecode libraries to the CFE. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18462 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.rules | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/Makefile.rules b/Makefile.rules index da98cc042fa..b76394ca341 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -19,9 +19,10 @@ #-------------------------------------------------------------------- # Define the various target sets #-------------------------------------------------------------------- -RecursiveTargets := all clean clean-all check install uninstall +RecursiveTargets := all clean clean-all check install uninstall install-bytecode LocalTargets := all-local clean-local clean-all-local check-local \ - install-local printvars uninstall-local + install-local printvars uninstall-local \ + install-bytecode-local TopLevelTargets := dist dist-check dist-clean tags dist-gzip dist-bzip2 \ dist-zip UserTargets := $(RecursiveTargets) $(LocalTargets) $(TopLevelTargets) @@ -59,7 +60,7 @@ $(UserTargets):: # PRECONDITIONS: that which must be built/checked first ################################################################################ -SrcMakefiles := $(filter %Makefile %Makefile.tests %Makefile.JIT,\ +SrcMakefiles := $(filter %Makefile %Makefile.tests,\ $(wildcard $(BUILD_SRC_DIR)/Makefile*)) ObjMakefiles := $(subst $(BUILD_SRC_DIR),$(BUILD_OBJ_DIR),$(SrcMakefiles)) ConfigureScript := $(LLVM_SRC_ROOT)/configure @@ -137,6 +138,7 @@ install:: install-local uninstall:: uninstall-local check-local:: all-local install-local:: all-local +install-bytecode:: install-bytecode-local ############################################################################### # VARIABLES: Set up various variables based on configuration data @@ -388,14 +390,14 @@ ifdef PARALLEL_DIRS SubDirs += $(PARALLEL_DIRS) -# Unfortunately, this list must be maintained if new -# recursive targets are added. +# Unfortunately, this list must be maintained if new recursive targets are added all :: $(addsuffix /.makeall ,$(PARALLEL_DIRS)) clean :: $(addsuffix /.makeclean ,$(PARALLEL_DIRS)) clean-all:: $(addsuffix /.makeclean-all,$(PARALLEL_DIRS)) check :: $(addsuffix /.makecheck ,$(PARALLEL_DIRS)) install :: $(addsuffix /.makeinstall ,$(PARALLEL_DIRS)) uninstall:: $(addsuffix /.makeuninstall,$(PARALLEL_DIRS)) +install-bytecode :: $(addsuffix /.makeinstall-bytecode,$(PARALLEL_DIRS)) Parallel_Targets := $(foreach T,$(RecursiveTargets),%/.make$(T)) @@ -539,7 +541,7 @@ endif DestBytecodeLib = $(bytecode_libdir)/lib$(LIBRARYNAME).a -install-bytecode: $(DestBytecodeLib) +install-bytecode-local:: $(DestBytecodeLib) install-local:: $(DestBytecodeLib) -- 2.34.1