summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Bütow <pbuetow@mimecast.com>2018-03-01 11:21:26 +0000
committerPaul Bütow <pbuetow@mimecast.com>2018-03-01 11:21:26 +0000
commit56f8cdff9aaa9bf00c5dc9441a7569374f2cbafb (patch)
treeb5b440b504b9879e241733fa38d19089fb3377b2 /Makefile
initial commit0.1
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..427e7bb
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,19 @@
+DESTDIR=/opt/ioreplay
+all:
+ $(MAKE) -C systemtap
+ $(MAKE) -C ioreplay
+install:
+ $(MAKE) -C systemtap install
+ $(MAKE) -C ioreplay install
+uninstall:
+ test ! -z $(DESTDIR) && test -d $(DESTDIR) && rm -Rfv $(DESTDIR) || exit 0
+deinstall: uninstall
+clean:
+ $(MAKE) -C ioreplay clean
+ $(MAKE) -C systemtap clean
+astyle:
+ $(MAKE) -C ioreplay astyle
+loc:
+ wc -l ./systemtap/src/*.stp ./ioreplay/src/*.{h,c} ./ioreplay/src/*/*.{h,c} | tail -n 1
+doxygen:
+ doxygen ./docs/doxygen.conf