commit aa3b445510b741b81dbed6d6ca7a6f5cf8088e8b
parent 11431f3299d4624ae4539e934cb745be06557703
Author: Kyle Milz <kyle@getaddrinfo.net>
Date: Wed, 30 Mar 2016 20:14:17 -0600
add install targets for most things
Diffstat:
4 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/instrument/Jamfile b/instrument/Jamfile
@@ -1,11 +1,12 @@
SubDir TOP instrument ;
SUBDIRC++FLAGS = -std=c++11 `llvm-config --cxxflags` ;
+LINKFLAGS on scv_instrument = `llvm-config --ldflags` ;
+LINKLIBS on scv_instrument += `llvm-config --libs bitreader mcparser transformutils option --system-libs` ;
Main scv_instrument : main.cc
instrument_action.cc
rewrite_ast_visitor.cc ;
-LINKFLAGS on scv_instrument = `llvm-config --ldflags` ;
-
-LINKLIBS on scv_instrument += `llvm-config --libs bitreader mcparser transformutils option --system-libs` ;
+InstallBin $(PREFIX)/bin : scv_instrument ;
+InstallMan $(PREFIX)/man : scv_instrument.1 ;
diff --git a/lib/Jamfile b/lib/Jamfile
@@ -3,5 +3,6 @@ SubDir TOP lib ;
SubDirCcFlags -pthread -fpic -DPIC ;
Main libscv.$(SHLIB_SUF) : runtime.c ;
+InstallLib $(PREFIX)/lib : libscv.$(SHLIB_SUF) ;
LINKFLAGS on libscv.$(SHLIB_SUF) += -shared -fpic -pthread ;
diff --git a/viewer/Jamfile b/viewer/Jamfile
@@ -21,4 +21,7 @@ Main scv_viewer :
LinkLibraries scv_viewer : libglyphy ;
+InstallBin $(PREFIX)/bin : scv_viewer ;
+InstallMan $(PREFIX)/man : scv_viewer.1 ;
+
SubInclude TOP viewer glyphy ;
diff --git a/wrap/Jamfile b/wrap/Jamfile
@@ -1,3 +1,4 @@
SubDir TOP wrap ;
-#Shell $(TOP)/wrap/scv_wrap : wrap.sh ;
+InstallBin $(PREFIX)/bin : scv_wrap ;
+InstallMan $(PREFIX)/man : scv_wrap.1 ;