Resurrect the install-bytecode target for installing just the bytecode
authorReid Spencer <rspencer@reidspencer.com>
Fri, 3 Dec 2004 20:08:48 +0000 (20:08 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Fri, 3 Dec 2004 20:08:48 +0000 (20:08 +0000)
libraries to the CFE.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18462 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index da98cc042fa785bdc7e07429e6dc6cb5e971ab6c..b76394ca34137700f0844cc63f18ceb036039bd9 100644 (file)
 #--------------------------------------------------------------------
 # 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)