mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-05 13:09:10 +00:00
Add support for installing tool executables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10351 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5339ada5ab
commit
44909cf54a
@ -129,10 +129,6 @@ prdirs::
|
|||||||
# Variables derived from configuration options...
|
# Variables derived from configuration options...
|
||||||
#--------------------------------------------------------------------
|
#--------------------------------------------------------------------
|
||||||
|
|
||||||
#BinInstDir=/usr/local/bin
|
|
||||||
#LibInstDir=/usr/local/lib/xxx
|
|
||||||
#DocInstDir=/usr/doc/xxx
|
|
||||||
|
|
||||||
BURG_OPTS = -I
|
BURG_OPTS = -I
|
||||||
|
|
||||||
ifdef ENABLE_PROFILING
|
ifdef ENABLE_PROFILING
|
||||||
@ -684,6 +680,10 @@ $(TOOLEXENAME_P): $(ObjectsP) $(USED_LIB_PATHS_P) $(DESTTOOLPROFILE)/.dir
|
|||||||
$(VERB) $(LinkP) -o $@ $(ObjectsP) $(LIB_OPTS_P) $(LINK_OPTS) $(LIBS)
|
$(VERB) $(LinkP) -o $@ $(ObjectsP) $(LIB_OPTS_P) $(LINK_OPTS) $(LIBS)
|
||||||
@${ECHO} ======= Finished building $(TOOLNAME) profile executable =======
|
@${ECHO} ======= Finished building $(TOOLNAME) profile executable =======
|
||||||
|
|
||||||
|
install:: $(TOOLEXENAMES)
|
||||||
|
$(MKDIR) $(bindir)
|
||||||
|
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) -c -m 0755 $(TOOLEXENAMES) $(bindir)/$(TOOLNAME)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user