diff options
| author | 张智皓 <[email protected]> | 2023-08-04 03:18:29 +0000 |
|---|---|---|
| committer | 张智皓 <[email protected]> | 2023-08-04 03:18:29 +0000 |
| commit | 6471b9246f6edc05e43d5990a9d08cea6824fe20 (patch) | |
| tree | 113778d0a44aeb3208b3b7c718cf539a61f0a820 | |
| parent | ef06d0d83b04edc91943e30ea5c51b16c84bef16 (diff) | |
上传新文件
| -rw-r--r-- | userlib/Makefile.am | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/userlib/Makefile.am b/userlib/Makefile.am new file mode 100644 index 0000000..ca75bb9 --- /dev/null +++ b/userlib/Makefile.am @@ -0,0 +1,25 @@ + +lib_LTLIBRARIES = src/libsiw.la + +AM_CFLAGS = -g -Wall -D_GNU_SOURCE +AM_CFLAGS += -I../common + +if HAVE_LD_VERSION_SCRIPT + siw_version_script = -Wl,--version-script=$(srcdir)/src/siw.map +else + siw_version_script = +endif + +src_libsiw_la_SOURCES = src/siw_verbs.c src/siw.c src/siw_uverbs.c + +src_libsiw_la_LDFLAGS = -avoid-version -release @IBV_DEVICE_LIBRARY_EXTENSION@ \ + $(siw_version_script) + +siwconfdir = $(sysconfdir)/libibverbs.d +siwconf_DATA = siw.driver + +EXTRA_DIST = src/siw.h src/siw_abi.h src/siw.map libsiw.spec.in \ + siw.driver + +dist-hook: libsiw.spec + cp libsiw.spec $(distdir) |
