diff options
author | Brian Gaeke <gaeke@uiuc.edu> | 2003-12-10 00:26:28 +0000 |
---|---|---|
committer | Brian Gaeke <gaeke@uiuc.edu> | 2003-12-10 00:26:28 +0000 |
commit | 44909cf54aaf9290d68c1e02405ac51272e99737 (patch) | |
tree | 261b9526006af4a7fbf15651a06a65320f3ed1b0 | |
parent | 5339ada5ab06da024b19d6497aa8f1d74233d4a0 (diff) | |
download | external_llvm-44909cf54aaf9290d68c1e02405ac51272e99737.zip external_llvm-44909cf54aaf9290d68c1e02405ac51272e99737.tar.gz external_llvm-44909cf54aaf9290d68c1e02405ac51272e99737.tar.bz2 |
Add support for installing tool executables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10351 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Makefile.rules | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.rules b/Makefile.rules index fb28ff2..132536d 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -129,10 +129,6 @@ prdirs:: # Variables derived from configuration options... #-------------------------------------------------------------------- -#BinInstDir=/usr/local/bin -#LibInstDir=/usr/local/lib/xxx -#DocInstDir=/usr/doc/xxx - BURG_OPTS = -I 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) @${ECHO} ======= Finished building $(TOOLNAME) profile executable ======= +install:: $(TOOLEXENAMES) + $(MKDIR) $(bindir) + $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) -c -m 0755 $(TOOLEXENAMES) $(bindir)/$(TOOLNAME) + endif |