[llvm-commits] CVS: llvm/Makefile.rules
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Dec 9 18:27:01 PST 2003
Changes in directory llvm:
Makefile.rules updated: 1.164 -> 1.165
---
Log message:
Add support for installing tool executables.
---
Diffs of the changes: (+4 -4)
Index: llvm/Makefile.rules
diff -u llvm/Makefile.rules:1.164 llvm/Makefile.rules:1.165
--- llvm/Makefile.rules:1.164 Sat Dec 6 14:59:45 2003
+++ llvm/Makefile.rules Tue Dec 9 18:26:28 2003
@@ -129,10 +129,6 @@
# Variables derived from configuration options...
#--------------------------------------------------------------------
-#BinInstDir=/usr/local/bin
-#LibInstDir=/usr/local/lib/xxx
-#DocInstDir=/usr/doc/xxx
-
BURG_OPTS = -I
ifdef ENABLE_PROFILING
@@ -683,6 +679,10 @@
@${ECHO} Linking $(TOOLNAME) profile executable
$(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
More information about the llvm-commits
mailing list