mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-31 09:32:11 +00:00
Don't create .dir files in installation directories. Switch to using
order-only dependancies for installation directories. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62746 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9817b24e74
commit
e50f34a8a7
@ -560,10 +560,8 @@ ObjectsBC := $(BaseNameSources:%=$(ObjDir)/%.bc)
|
|||||||
# in the file so they get built before dependencies
|
# in the file so they get built before dependencies
|
||||||
#---------------------------------------------------------
|
#---------------------------------------------------------
|
||||||
|
|
||||||
$(PROJ_bindir): $(PROJ_bindir)/.dir
|
$(PROJ_bindir) $(PROJ_libdir) $(PROJ_includedir) $(PROJ_etcdir):
|
||||||
$(PROJ_libdir): $(PROJ_libdir)/.dir
|
$(Verb) $(MKDIR) $@
|
||||||
$(PROJ_includedir): $(PROJ_includedir)/.dir
|
|
||||||
$(PROJ_etcdir): $(PROJ_etcdir)/.dir
|
|
||||||
|
|
||||||
# To create other directories, as needed, and timestamp their creation
|
# To create other directories, as needed, and timestamp their creation
|
||||||
%/.dir:
|
%/.dir:
|
||||||
@ -863,7 +861,7 @@ DestSharedLib = $(PROJ_libdir)/lib$(LIBRARYNAME)$(SHLIBEXT)
|
|||||||
|
|
||||||
install-local:: $(DestSharedLib)
|
install-local:: $(DestSharedLib)
|
||||||
|
|
||||||
$(DestSharedLib): $(PROJ_libdir) $(LibName.LA)
|
$(DestSharedLib): $(LibName.LA) | $(PROJ_libdir)
|
||||||
$(Echo) Installing $(BuildMode) Shared Library $(DestSharedLib)
|
$(Echo) Installing $(BuildMode) Shared Library $(DestSharedLib)
|
||||||
$(Verb) $(LTInstall) $(LibName.LA) $(DestSharedLib)
|
$(Verb) $(LTInstall) $(LibName.LA) $(DestSharedLib)
|
||||||
$(Verb) $(LIBTOOL) --finish $(PROJ_libdir)
|
$(Verb) $(LIBTOOL) --finish $(PROJ_libdir)
|
||||||
@ -930,7 +928,7 @@ uninstall-local::
|
|||||||
else
|
else
|
||||||
install-local:: $(DestBytecodeLib)
|
install-local:: $(DestBytecodeLib)
|
||||||
|
|
||||||
$(DestBytecodeLib): $(BytecodeDestDir) $(LibName.BCA)
|
$(DestBytecodeLib): $(LibName.BCA) | $(BytecodeDestDir)
|
||||||
$(Echo) Installing $(BuildMode) Bytecode Archive $(DestBytecodeLib)
|
$(Echo) Installing $(BuildMode) Bytecode Archive $(DestBytecodeLib)
|
||||||
$(Verb) $(DataInstall) $(LibName.BCA) $(DestBytecodeLib)
|
$(Verb) $(DataInstall) $(LibName.BCA) $(DestBytecodeLib)
|
||||||
|
|
||||||
@ -977,7 +975,7 @@ DestRelinkedLib = $(PROJ_libdir)/$(LIBRARYNAME).o
|
|||||||
|
|
||||||
install-local:: $(DestRelinkedLib)
|
install-local:: $(DestRelinkedLib)
|
||||||
|
|
||||||
$(DestRelinkedLib): $(PROJ_libdir) $(LibName.O)
|
$(DestRelinkedLib): $(LibName.O) | $(PROJ_libdir)
|
||||||
$(Echo) Installing $(BuildMode) Object Library $(DestRelinkedLib)
|
$(Echo) Installing $(BuildMode) Object Library $(DestRelinkedLib)
|
||||||
$(Verb) $(LTInstall) $(LibName.O) $(DestRelinkedLib)
|
$(Verb) $(LTInstall) $(LibName.O) $(DestRelinkedLib)
|
||||||
|
|
||||||
@ -1017,7 +1015,7 @@ DestArchiveLib := $(PROJ_libdir)/lib$(LIBRARYNAME).a
|
|||||||
|
|
||||||
install-local:: $(DestArchiveLib)
|
install-local:: $(DestArchiveLib)
|
||||||
|
|
||||||
$(DestArchiveLib): $(PROJ_libdir) $(LibName.A)
|
$(DestArchiveLib): $(LibName.A) | $(PROJ_libdir)
|
||||||
$(Echo) Installing $(BuildMode) Archive Library $(DestArchiveLib)
|
$(Echo) Installing $(BuildMode) Archive Library $(DestArchiveLib)
|
||||||
$(Verb) $(MKDIR) $(PROJ_libdir)
|
$(Verb) $(MKDIR) $(PROJ_libdir)
|
||||||
$(Verb) $(LTInstall) $(LibName.A) $(DestArchiveLib)
|
$(Verb) $(LTInstall) $(LibName.A) $(DestArchiveLib)
|
||||||
@ -1079,7 +1077,7 @@ DestTool = $(PROJ_bindir)/$(TOOLNAME)
|
|||||||
|
|
||||||
install-local:: $(DestTool)
|
install-local:: $(DestTool)
|
||||||
|
|
||||||
$(DestTool): $(PROJ_bindir) $(ToolBuildPath)
|
$(DestTool): $(ToolBuildPath) | $(PROJ_bindir)
|
||||||
$(Echo) Installing $(BuildMode) $(DestTool)
|
$(Echo) Installing $(BuildMode) $(DestTool)
|
||||||
$(Verb) $(ProgInstall) $(ToolBuildPath) $(DestTool)
|
$(Verb) $(ProgInstall) $(ToolBuildPath) $(DestTool)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user