-
Notifications
You must be signed in to change notification settings - Fork 153
/
Makefile.am
48 lines (34 loc) · 952 Bytes
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
SUBDIRS := src tools docs/man
DIST_SUBDIRS := src tests tools docs/man
noinst_SCRIPTS = \
$(wildcard contrib/scripts/*)
EXTRA_DIST = \
contrib \
debian \
LICENSE \
CHANGES \
README
.PHONY: tests
mydocdir = $(if $(docdir),$(docdir),${datadir}/doc/$(distdir))
mydoc_DATA = README CHANGES
install-exec-hook:
if command -v systemctl >/dev/null 2>&1; then \
mkdir -p $(DESTDIR)$(prefix)/lib/systemd/system/; \
cp $(top_builddir)/contrib/scripts/vma.service $(DESTDIR)$(prefix)/lib/systemd/system/vma.service; \
chmod 644 $(DESTDIR)$(prefix)/lib/systemd/system/vma.service; \
fi
uninstall-hook:
if command -v systemctl >/dev/null 2>&1; then \
rm -rf $(DESTDIR)$(prefix)/lib/systemd/system/vma.service; \
fi
install-all: install
uninstall-all: uninstall
tests:
$(MAKE)
$(MAKE) -C tests/gtest
$(MAKE) -C tests/latency_test
$(MAKE) -C tests/throughput_test
$(MAKE) -C tests/pps_test
demo:
$(MAKE)
$(MAKE) -C src/vma/infra