xref: /freebsd/lib/ofed/complib/Makefile (revision 3750ccefb8629a08890bfbae894dd6bc6a7483b4)
1*f39bffc6SKonstantin Belousov_spath=	${SRCTOP}/contrib/ofed/opensm/complib
2*f39bffc6SKonstantin Belousov.PATH: ${_spath}
3*f39bffc6SKonstantin Belousov
4*f39bffc6SKonstantin BelousovSHLIBDIR?=	/usr/lib
5*f39bffc6SKonstantin BelousovLIB=		osmcomp
6*f39bffc6SKonstantin BelousovSHLIB_MAJOR=    3
7*f39bffc6SKonstantin Belousov
8*f39bffc6SKonstantin BelousovSRCS= \
9*f39bffc6SKonstantin Belousovcl_complib.c \
10*f39bffc6SKonstantin Belousovcl_dispatcher.c \
11*f39bffc6SKonstantin Belousovcl_event.c \
12*f39bffc6SKonstantin Belousovcl_event_wheel.c \
13*f39bffc6SKonstantin Belousovcl_list.c \
14*f39bffc6SKonstantin Belousovcl_log.c \
15*f39bffc6SKonstantin Belousovcl_map.c \
16*f39bffc6SKonstantin Belousovcl_nodenamemap.c \
17*f39bffc6SKonstantin Belousovcl_pool.c \
18*f39bffc6SKonstantin Belousovcl_ptr_vector.c \
19*f39bffc6SKonstantin Belousovcl_spinlock.c \
20*f39bffc6SKonstantin Belousovcl_statustext.c \
21*f39bffc6SKonstantin Belousovcl_thread.c \
22*f39bffc6SKonstantin Belousovcl_threadpool.c \
23*f39bffc6SKonstantin Belousovcl_timer.c \
24*f39bffc6SKonstantin Belousovcl_vector.c \
25*f39bffc6SKonstantin Belousovib_statustext.c
26*f39bffc6SKonstantin Belousov
27*f39bffc6SKonstantin BelousovCFLAGS+=	-I${_spath}/.. -DHAVE_CONFIG_H=1
28*f39bffc6SKonstantin BelousovCFLAGS+=	-I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/infiniband
29*f39bffc6SKonstantin BelousovLIBADD=		pthread
30*f39bffc6SKonstantin BelousovVERSION_MAP=	${_spath}/libosmcomp.map
31*f39bffc6SKonstantin Belousov
32*f39bffc6SKonstantin Belousov.include <bsd.lib.mk>
33