1_spath= ${SRCTOP}/contrib/ofed/opensm/complib 2.PATH: ${_spath} 3 4SHLIBDIR?= /usr/lib 5LIB= osmcomp 6SHLIB_MAJOR= 3 7 8SRCS= \ 9cl_complib.c \ 10cl_dispatcher.c \ 11cl_event.c \ 12cl_event_wheel.c \ 13cl_list.c \ 14cl_log.c \ 15cl_map.c \ 16cl_nodenamemap.c \ 17cl_pool.c \ 18cl_ptr_vector.c \ 19cl_spinlock.c \ 20cl_statustext.c \ 21cl_thread.c \ 22cl_threadpool.c \ 23cl_timer.c \ 24cl_vector.c \ 25ib_statustext.c 26 27CFLAGS+= -I${_spath}/.. -DHAVE_CONFIG_H=1 28CFLAGS+= -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband 29LIBADD= pthread 30VERSION_MAP= ${_spath}/libosmcomp.map 31 32.include <bsd.lib.mk> 33