2017-08-02 16:00:30 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2018-06-16 15:05:05 +00:00
|
|
|
_spath= ${SRCTOP}/contrib/ofed/opensm/complib
|
|
|
|
.PATH: ${_spath}
|
2017-08-02 16:00:30 +00:00
|
|
|
|
|
|
|
SHLIBDIR?= /usr/lib
|
|
|
|
LIB= osmcomp
|
|
|
|
SHLIB_MAJOR= 3
|
|
|
|
MK_PROFILE= no
|
|
|
|
|
|
|
|
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
|
|
|
|
|
2018-06-16 15:05:05 +00:00
|
|
|
CFLAGS+= -I${_spath}/.. -DHAVE_CONFIG_H=1
|
2017-12-05 08:25:17 +00:00
|
|
|
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
|
2017-11-13 12:36:36 +00:00
|
|
|
LIBADD= pthread
|
2018-06-16 15:05:05 +00:00
|
|
|
VERSION_MAP= ${_spath}/libosmcomp.map
|
2017-08-02 16:00:30 +00:00
|
|
|
|
|
|
|
.include <bsd.lib.mk>
|