forked from Mellanox/libvma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
49 lines (34 loc) · 893 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
48
49
SUBDIRS := src tools
DIST_SUBDIRS := src tests tools
noinst_SCRIPTS = \
$(wildcard contrib/scripts/*)
EXTRA_DIST = \
build \
contrib \
debian \
install.sh \
journal.txt \
README.txt \
VMA_VERSION
.PHONY: tests
mydocdir = $(if $(docdir),$(docdir),${datadir}/doc/$(distdir))
mydoc_DATA = README.txt journal.txt VMA_VERSION
install-exec-hook:
$(top_srcdir)/config/install-sh -m 755 -d $(DESTDIR)/$(sysconfdir)/init.d
cp $(top_builddir)/contrib/scripts/vma.init $(DESTDIR)/$(sysconfdir)/init.d/vma
chmod 755 $(DESTDIR)/$(sysconfdir)/init.d/vma
uninstall-hook:
rm -rf $(DESTDIR)/$(sysconfdir)/init.d
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
rpmspec: build/libvma.spec
debian: debian/changelog