mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
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
This commit is contained in:
parent
f0db7a98ae
commit
44cb1b3e07
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user