diff options
Diffstat (limited to 'lib/ofed/complib/Makefile')
| -rw-r--r-- | lib/ofed/complib/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/ofed/complib/Makefile b/lib/ofed/complib/Makefile new file mode 100644 index 000000000000..43019e6ba5e0 --- /dev/null +++ b/lib/ofed/complib/Makefile @@ -0,0 +1,32 @@ +_spath= ${SRCTOP}/contrib/ofed/opensm/complib +.PATH: ${_spath} + +SHLIBDIR?= /usr/lib +LIB= osmcomp +SHLIB_MAJOR= 3 + +SRCS= \ +cl_complib.c \ +cl_dispatcher.c \ +cl_event.c \ +cl_event_wheel.c \ +cl_list.c \ +cl_log.c \ +cl_map.c \ +cl_nodenamemap.c \ +cl_pool.c \ +cl_ptr_vector.c \ +cl_spinlock.c \ +cl_statustext.c \ +cl_thread.c \ +cl_threadpool.c \ +cl_timer.c \ +cl_vector.c \ +ib_statustext.c + +CFLAGS+= -I${_spath}/.. -DHAVE_CONFIG_H=1 +CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband +LIBADD= pthread +VERSION_MAP= ${_spath}/libosmcomp.map + +.include <bsd.lib.mk> |
