1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Add support for installing tool executables.

llvm-svn: 10351
This commit is contained in:
Brian Gaeke 2003-12-10 00:26:28 +00:00
parent 3c20ce69e7
commit 3304361220

View File

@ -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