forked from SoftRoCE/librxe-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
36 lines (28 loc) · 835 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
AM_CFLAGS = -g -Wall -D_GNU_SOURCE
rxe_version_script = @RXE_VERSION_SCRIPT@
RXE_SOURCES = src/rxe.c
if HAVE_IBV_DEVICE_LIBRARY_EXTENSION
lib_LTLIBRARIES = src/librxe.la
src_librxe_la_SOURCES = $(RXE_SOURCES)
src_librxe_la_LDFLAGS = -avoid-version -release @IBV_DEVICE_LIBRARY_EXTENSION@ \
$(rxe_version_script)
rxeconfdir = $(sysconfdir)/libibverbs.d
rxeconf_DATA = rxe.driver
else
rxelibdir = $(libdir)/infiniband
rxelib_LTLIBRARIES = src/rxe.la
src_rxe_la_SOURCES = $(RXE_SOURCES)
src_rxe_la_LDFLAGS = -avoid-version -module $(rxe_version_script)
endif
dist_man_MANS = man/rxe.7 \
man/rxe_cfg.8
dist_bin_SCRIPTS = rxe_cfg
EXTRA_DIST = \
src/rxe.h \
src/rxe-abi.h \
src/rxe_queue.h \
src/rxe.map \
librxe.spec.in \
rxe.driver
dist-hook: librxe.spec
cp librxe.spec $(distdir)