summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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